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

API

token_drop

Module0x324a…e4bd
Move path
0x324a…e4bd::token_drop
Functions
10 public, 0 entry
Structs
1
Friend modules
None
token_drop

Bytecode43 lines

The on-chain disassembly. Offsets are bytecode positions within each function.

// Move bytecode v6
module 324a2f262e024370aabd6421a8b7bb2255dcd88f962f3d19bfc273552239e4bd.token_drop {
use 0000000000000000000000000000000000000000000000000000000000000001::option;
use 0000000000000000000000000000000000000000000000000000000000000002::coin;
use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
use 0000000000000000000000000000000000000000000000000000000000000002::url;
 
struct TOKEN_DROP has drop {
dummy_field: bool
}
 
init(Arg0: TOKEN_DROP, Arg1: &mut TxContext) {
L2: loc0: CoinMetadata<TOKEN_DROP>
B0:
0MoveLoc[0](Arg0: TOKEN_DROP)
1LdU8(0)
2LdConst[0](vector<u8>: "NFT..)
3LdConst[1](vector<u8>: "Not..)
4LdConst[2](vector<u8>: "" /..)
5Call option::none<Url>(): Option<Url>
6CopyLoc[1](Arg1: &mut TxContext)
7Call coin::create_currency<TOKEN_DROP>(TOKEN_DROP, u8, vector<u8>, vector<u8>, vector<u8>, Option<Url>, &mut TxContext): TreasuryCap<TOKEN_DROP> * CoinMetadata<TOKEN_DROP>
8StLoc[2](loc0: CoinMetadata<TOKEN_DROP>)
9CopyLoc[1](Arg1: &mut TxContext)
10FreezeRef
11Call tx_context::sender(&TxContext): address
12Call transfer::public_transfer<TreasuryCap<TOKEN_DROP>>(TreasuryCap<TOKEN_DROP>, address)
13MoveLoc[2](loc0: CoinMetadata<TOKEN_DROP>)
14MoveLoc[1](Arg1: &mut TxContext)
15FreezeRef
16Call tx_context::sender(&TxContext): address
17Call transfer::public_transfer<CoinMetadata<TOKEN_DROP>>(CoinMetadata<TOKEN_DROP>, address)
18Ret
}
 
Constants [
0 => vector<u8>: "NFT" // interpreted as UTF8 string
1 => vector<u8>: "Notification" // interpreted as UTF8 string
2 => vector<u8>: "" // interpreted as UTF8 string
]
}