Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

Move path
0x2eb9…8371::nft
Functions
32 public, 2 entry
Structs
2
Friend modules
None
nft

Bytecode132 lines

The on-chain disassembly. Offsets are instruction numbers within each function.

// Move bytecode v6
module 2eb9ca4e75a9ffc321ff76d4c290af8b8d72b6e43f376fd4abb79571c3b18371.nft {
use 0000000000000000000000000000000000000000000000000000000000000001::string;
use 0000000000000000000000000000000000000000000000000000000000000002::display;
use 0000000000000000000000000000000000000000000000000000000000000002::object;
use 0000000000000000000000000000000000000000000000000000000000000002::package;
use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
 
struct Hero has store, key {
id: UID
}
 
struct NFT has drop {
dummy_field: bool
}
 
init(Arg0: NFT, Arg1: &mut TxContext) {
L2: loc0: Display<Hero>
L3: loc1: vector<String>
L4: loc2: Publisher
L5: loc3: vector<String>
B0:
0LdConst[0](vector<u8>: "nam..)
1Call string::utf8(vector<u8>): String
2LdConst[1](vector<u8>: "ima..)
3Call string::utf8(vector<u8>): String
4LdConst[2](vector<u8>: "des..)
5Call string::utf8(vector<u8>): String
6LdConst[3](vector<u8>: "lin..)
7Call string::utf8(vector<u8>): String
8LdConst[4](vector<u8>: "cre..)
9Call string::utf8(vector<u8>): String
10VecPack(6, 5)
11StLoc[3](loc1: vector<String>)
12LdConst[5](vector<u8>: "XGR..)
13Call string::utf8(vector<u8>): String
14LdConst[6](vector<u8>: "htt..)
15Call string::utf8(vector<u8>): String
16LdConst[7](vector<u8>: "A g..)
17Call string::utf8(vector<u8>): String
18LdConst[8](vector<u8>: "xgr..)
19Call string::utf8(vector<u8>): String
20LdConst[9](vector<u8>: "xgr..)
21Call string::utf8(vector<u8>): String
22VecPack(6, 5)
23StLoc[5](loc3: vector<String>)
24MoveLoc[0](Arg0: NFT)
25CopyLoc[1](Arg1: &mut TxContext)
26Call package::claim<NFT>(NFT, &mut TxContext): Publisher
27StLoc[4](loc2: Publisher)
28ImmBorrowLoc[4](loc2: Publisher)
29MoveLoc[3](loc1: vector<String>)
30MoveLoc[5](loc3: vector<String>)
31CopyLoc[1](Arg1: &mut TxContext)
32Call display::new_with_fields<Hero>(&Publisher, vector<String>, vector<String>, &mut TxContext): Display<Hero>
33StLoc[2](loc0: Display<Hero>)
34MutBorrowLoc[2](loc0: Display<Hero>)
35Call display::update_version<Hero>(&mut Display<Hero>)
36MoveLoc[4](loc2: Publisher)
37CopyLoc[1](Arg1: &mut TxContext)
38FreezeRef
39Call tx_context::sender(&TxContext): address
40Call transfer::public_transfer<Publisher>(Publisher, address)
41MoveLoc[2](loc0: Display<Hero>)
42MoveLoc[1](Arg1: &mut TxContext)
43FreezeRef
44Call tx_context::sender(&TxContext): address
45Call transfer::public_transfer<Display<Hero>>(Display<Hero>, address)
46Ret
}
 
entry public mint(Arg0: address, Arg1: &mut TxContext) {
B0:
0MoveLoc[1](Arg1: &mut TxContext)
1Call object::new(&mut TxContext): UID
2Pack[0](Hero)
3MoveLoc[0](Arg0: address)
4Call transfer::transfer<Hero>(Hero, address)
5Ret
}
 
entry public MagmaFinance(Arg0: vector<address>, Arg1: &mut TxContext) {
L2: loc0: u64
L3: loc1: u64
B0:
0LdU64(0)
1StLoc[2](loc0: u64)
2ImmBorrowLoc[0](Arg0: vector<address>)
3VecLen(15)
4StLoc[3](loc1: u64)
B1:
5CopyLoc[2](loc0: u64)
6CopyLoc[3](loc1: u64)
7Lt
8BrFalse(23)
B2:
9Branch(10)
B3:
10CopyLoc[1](Arg1: &mut TxContext)
11Call object::new(&mut TxContext): UID
12Pack[0](Hero)
13ImmBorrowLoc[0](Arg0: vector<address>)
14CopyLoc[2](loc0: u64)
15VecImmBorrow(15)
16ReadRef
17Call transfer::transfer<Hero>(Hero, address)
18MoveLoc[2](loc0: u64)
19LdU64(1)
20Add
21StLoc[2](loc0: u64)
22Branch(5)
B4:
23MoveLoc[1](Arg1: &mut TxContext)
24Pop
25Ret
}
 
Constants [
0 => vector<u8>: "name" // interpreted as UTF8 string
1 => vector<u8>: "image_url" // interpreted as UTF8 string
2 => vector<u8>: "description" // interpreted as UTF8 string
3 => vector<u8>: "link" // interpreted as UTF8 string
4 => vector<u8>: "creator" // interpreted as UTF8 string
5 => vector<u8>: "XGROWL" // interpreted as UTF8 string
6 => vector<u8>: "https://ipfs.io/ipfs/QmQUkNoE3V2T8R6EbgV44EuJUJBCTwQ9TKmPS7tiHudyn1" // interpreted as UTF8 string
7 => vector<u8>: "A growth-oriented crypto platform focused on helping Sui-based projects and tokens gain traction. We provide promotion, visibility, and ecosystem support to drive adoption and long-term growth across the Sui network." // interpreted as UTF8 string
8 => vector<u8>: "xgrowl.cc" // interpreted as UTF8 string
9 => vector<u8>: "xgrowl LTD." // interpreted as UTF8 string
]
}