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

API

bob

Module0x5f3a…6cf6
Move path
0x5f3a…6cf6::bob
Functions
10 public, 0 entry
Structs
1
Friend modules
None
bob

Bytecode44 lines

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

// Move bytecode v6
module 5f3a18cdfd7ef0527a65ba5c07dbe0efe276507d4d1a4d1bebe87f5d40df6cf6.bob {
use 0000000000000000000000000000000000000000000000000000000000000001::option;
use 0000000000000000000000000000000000000000000000000000000000000002::coin;
use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
use 0000000000000000000000000000000000000000000000000000000000000002::url;
 
struct BOB has drop {
dummy_field: bool
}
 
init(Arg0: BOB, Arg1: &mut TxContext) {
L2: loc0: CoinMetadata<BOB>
B0:
0MoveLoc[0](Arg0: BOB)
1LdConst[0](u8: 6)
2LdConst[1](vector<u8>: "BOB..)
3LdConst[2](vector<u8>: "Bob..)
4LdConst[3](vector<u8>: "Hi ..)
5LdConst[4](vector<u8>: "htt..)
6Call url::new_unsafe_from_bytes(vector<u8>): Url
7Call option::some<Url>(Url): Option<Url>
8CopyLoc[1](Arg1: &mut TxContext)
9Call coin::create_currency<BOB>(BOB, u8, vector<u8>, vector<u8>, vector<u8>, Option<Url>, &mut TxContext): TreasuryCap<BOB> * CoinMetadata<BOB>
10StLoc[2](loc0: CoinMetadata<BOB>)
11MoveLoc[1](Arg1: &mut TxContext)
12FreezeRef
13Call tx_context::sender(&TxContext): address
14Call transfer::public_transfer<TreasuryCap<BOB>>(TreasuryCap<BOB>, address)
15MoveLoc[2](loc0: CoinMetadata<BOB>)
16Call transfer::public_share_object<CoinMetadata<BOB>>(CoinMetadata<BOB>)
17Ret
}
 
Constants [
0 => u8: 6
1 => vector<u8>: "BOB" // interpreted as UTF8 string
2 => vector<u8>: "Bob the blob" // interpreted as UTF8 string
3 => vector<u8>: "Hi my name is robert the Blob but you can call me bob i am From the deep SUIEA " // interpreted as UTF8 string
4 => vector<u8>: "https://api.movepump.com/uploads/photo_2024_10_01_20_47_00_8fc8fbd587.jpg" // interpreted as UTF8 string
]
}