token
Module0x9bc5…2f5b
- Move path
- 0x9bc5…2f5b::token
- Functions
- 177 public, 0 entry
- Structs
- 5
- Friend modules
- None
token
Functions17
- public fun buy_on_curve(curve::CurveBuyOrder<Apesui>,&Data,&mut Supply): (vector<Apesui>, curve::CurveBuyOrder<Apesui>)
- public fun decode_bitmap(u64,vector<vector<String>>): vector<String>
- public fun encode_bitmap(vector<String>,vector<vector<String>>): u64
- public fun sell_on_curve(vector<Apesui>,curve::CurveSellOrder<Apesui>,&mut Supply,&Data): (vector<UID>, curve::CurveSellOrder<Apesui>)
Structs5
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- Apesuistorekey
id UID number u64 image String attributes VecMap<String, String> - Datastorekey
id UID curve Option<ID> images Table<u64, String> labels vector<String> values vector<vector<String>> - ManagerCapstorekey
id UID - Supplystorekey
id UID bitmaps vector<vector<u64>> - TOKENdrop
dummy_field bool
Constants11
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 5 | u64 | Value | set_traitsdecode_bitmapencode_bitmap |
| 1 | 16 | u64 | Value | set_traitsdecode_bitmapencode_bitmap |
| 2 | 1000 | u64 | Value | mint |
| 3 | "name" // interpreted as UTF8 string | vector<u8> | Value | init |
| 4 | "APESUI #{number}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 5 | "description" // interpreted as UTF8 string | vector<u8> | Value | init |
| 6 | "APESUI GO TO SUI" // interpreted as UTF8 string | vector<u8> | Value | init |
| 7 | "image_url" // interpreted as UTF8 string | vector<u8> | Value | init |
| 8 | "ipfs://{image}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 9 | "attributes" // interpreted as UTF8 string | vector<u8> | Value | init |
| 10 | "{attributes}" // interpreted as UTF8 string | vector<u8> | Value | init |