Package::nft bytecode | tide- Move path
- 0x99d5…ea59::nft
- Functions
- 21 public, 1 entry
- Structs
- 2
- Friend modules
- None
nft
The on-chain disassembly. Offsets are bytecode positions within each function.
1// Move bytecode v7
2module 99d5d4bd8debf23cd4d4a9b31ec0cf04d121ef5d140f89033ffcbb36b387ea59.nft {
3use 0000000000000000000000000000000000000000000000000000000000000001::string;
4use 0000000000000000000000000000000000000000000000000000000000000002::display;
5use 0000000000000000000000000000000000000000000000000000000000000002::object;
6use 0000000000000000000000000000000000000000000000000000000000000002::package;
7use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
8use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
9
10struct NFT has drop {
11 dummy_field: bool
12}
13
14
struct MyNFT has store, key {
21init(Arg0: NFT, Arg1: &mut TxContext) {
22L2: loc0: Display<MyNFT>
23L3: loc1: vector<String>
25L5: loc3: vector<String>
281CopyLoc[1](Arg1: &mut TxContext)
292Call package::claim<NFT>(NFT, &mut TxContext): Publisher
303StLoc[4](loc2: Publisher)
314LdConst[0](vector<u8>: "nam..)
325Call string::utf8(vector<u8>): String
336LdConst[1](vector<u8>: "des..)
347Call string::utf8(vector<u8>): String
358LdConst[2](vector<u8>: "ima..)
369Call string::utf8(vector<u8>): String
3811StLoc[3](loc1: vector<String>)
3912LdConst[3](vector<u8>: "{na..)
4013Call string::utf8(vector<u8>): String
4114LdConst[4](vector<u8>: "{de..)
4215Call string::utf8(vector<u8>): String
4316LdConst[5](vector<u8>: "{im..)
4417Call string::utf8(vector<u8>): String
4619StLoc[5](loc3: vector<String>)
4720ImmBorrowLoc[4](loc2: Publisher)
4821MoveLoc[3](loc1: vector<String>)
4922MoveLoc[5](loc3: vector<String>)
5023CopyLoc[1](Arg1: &mut TxContext)
5124Call display::new_with_fields<MyNFT>(&Publisher, vector<String>, vector<String>, &mut TxContext): Display<MyNFT>
5225StLoc[2](loc0: Display<MyNFT>)
5326MutBorrowLoc[2](loc0: Display<MyNFT>)
5427Call display::update_version<MyNFT>(&mut Display<MyNFT>)
5528MoveLoc[4](loc2: Publisher)
5629CopyLoc[1](Arg1: &mut TxContext)
5831Call tx_context::sender(&TxContext): address
5932Call transfer::public_transfer<Publisher>(Publisher, address)
6033MoveLoc[2](loc0: Display<MyNFT>)
6134MoveLoc[1](Arg1: &mut TxContext)
6336Call tx_context::sender(&TxContext): address
6437Call transfer::public_transfer<Display<MyNFT>>(Display<MyNFT>, address)
68entry public mint(Arg0: String, Arg1: String, Arg2: String, Arg3: address, Arg4: &mut TxContext) {
700MoveLoc[4](Arg4: &mut TxContext)
711Call object::new(&mut TxContext): UID
722MoveLoc[0](Arg0: String)
733MoveLoc[1](Arg1: String)
744MoveLoc[2](Arg2: String)
766MoveLoc[3](Arg3: address)
777Call transfer::public_transfer<MyNFT>(MyNFT, address)
82 0 => vector<u8>: "name" // interpreted as UTF8 string
83 1 => vector<u8>: "description" // interpreted as UTF8 string
84 2 => vector<u8>: "image_url" // interpreted as UTF8 string
85 3 => vector<u8>: "{name}" // interpreted as UTF8 string
86 4 => vector<u8>: "{description}" // interpreted as UTF8 string
87 5 => vector<u8>: "{image_url}" // interpreted as UTF8 string