Cip68Config
Extends: Resource
Description
Property Descriptions
minting_policy
minting_policy_source
token_name
- Setter:
@token_name_setter
The token name [b]body[/b] (i.e: the part of the token name that is not the CIP67 header).
token_name_as_hex
- Setter:
@token_name_as_hex_setter
- Getter:
@token_name_as_hex_getter
The token name, hex-encoded.
token_name_as_utf8
- Setter:
@token_name_as_utf8_setter
- Getter:
@token_name_as_utf8_getter
The token name, UTF-8 encoded.
name
The standard "name" field.
image
The standard "image" field. This should be a valid URI.
media_type
description
The standard "description" field.
file_details
An array of FileDetails.
non_standard_metadata
- Setter:
@non_standard_metadata_setter
This is [i]non-standard[/i], [i]optional[/i] CIP-25 metadata.[br][br]Use this for any additional fields you want to provide that are not required by the CIP25 standard. Any field names overlapping with standard field names (like "name" and "image") will be ignored. Keys of the dictionary should be [String]s, while values may be:[br][br]1. [String] (which will be converted [PackedByteArray])[br]2. [PackedByteArray][br]3. [int] (which will be converted to BigInt)[br]4. BigInt[br]5. [Array], [b]but only if its elements are valid values[/b].[br]6. [Dictionary], [b]but only if its keys and values are valid[/b].[br][br]Notably, you may not use neither [bool] nor [Constr]. If these conditions are too restrictive, take a look at [member Cip68ConfigPair.extra_plutus_data].
extra_plutus_data
fungible
- Setter:
@fungible_setter
initial_quantity
- Setter:
@initial_quantity_setter
- Getter:
@initial_quantity_getter
big_int_script
file_details_script
Method Descriptions
get_user_token_name
Get the CIP68 user token name
get_ref_token_name
Get the CIP68 reference token name
get_quantity
to_data
The flag only applies for serializing the [member Cip68ConfigPair.extra_plutus_data]. The CIP25 metadata follows its own rules for serialization.
make_user_asset_class
make_ref_asset_class
init_script
Load the minting policy from file or by querying the Provider. This must be performed in before most actions with this config will be possible.