SftTokenRole enum
Contains all possible SFT token roles
Values
- create → const SftTokenRole
-
Allows creating new SFTs
const SftTokenRole('ESDTRoleNFTCreate')
- burn → const SftTokenRole
-
Allows burning SFT quantities
const SftTokenRole('ESDTRoleNFTBurn')
- addQuantity → const SftTokenRole
-
Allows adding quantity to existing SFTs
const SftTokenRole('ESDTRoleNFTAddQuantity')
- transfer → const SftTokenRole
-
Restricts transfers to addresses with this role
const SftTokenRole('ESDTTransferRole')
- update → const SftTokenRole
-
Allows updating SFT metadata
const SftTokenRole('ESDTRoleNFTUpdate')
- modifyRoyalties → const SftTokenRole
-
Allows modifying SFT royalties
const SftTokenRole('ESDTRoleModifyRoyalties')
- setNewUri → const SftTokenRole
-
Allows setting new URIs for SFTs
const SftTokenRole('ESDTRoleSetNewURI')
- modifyCreator → const SftTokenRole
-
Allows modifying the SFT creator
const SftTokenRole('ESDTRoleModifyCreator')
- recreate → const SftTokenRole
-
Allows recreating SFTs with new attributes
const SftTokenRole('ESDTRoleNFTRecreate')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
SftTokenRole> - A constant List of the values in this enum, in order of their declaration.