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

API

while

Module0xb123…06f3
Move path
0xb123…06f3::while
Functions
10 public, 0 entry
Structs
1
Friend modules
None
while

Bytecode47 lines

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

// Move bytecode v6
module b12347ace7b48ed771b12e22136294028ccadbe3cabd10bafa28ebdfd3a906f3.while {
use 0000000000000000000000000000000000000000000000000000000000000001::option;
use 0000000000000000000000000000000000000000000000000000000000000002::coin;
use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
use 0000000000000000000000000000000000000000000000000000000000000002::url;
 
struct WHILE has drop {
dummy_field: bool
}
 
init(Arg0: WHILE, Arg1: &mut TxContext) {
L2: loc0: CoinMetadata<WHILE>
B0:
0MoveLoc[0](Arg0: WHILE)
1LdConst[0](u8: 6)
2LdConst[1](vector<u8>: "Whi..)
3LdConst[2](vector<u8>: "Whi..)
4LdConst[3](vector<u8>: "Whi..)
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<WHILE>(WHILE, u8, vector<u8>, vector<u8>, vector<u8>, Option<Url>, &mut TxContext): TreasuryCap<WHILE> * CoinMetadata<WHILE>
10StLoc[2](loc0: CoinMetadata<WHILE>)
11CopyLoc[1](Arg1: &mut TxContext)
12FreezeRef
13Call tx_context::sender(&TxContext): address
14Call transfer::public_transfer<TreasuryCap<WHILE>>(TreasuryCap<WHILE>, address)
15MoveLoc[2](loc0: CoinMetadata<WHILE>)
16MoveLoc[1](Arg1: &mut TxContext)
17FreezeRef
18Call tx_context::sender(&TxContext): address
19Call transfer::public_transfer<CoinMetadata<WHILE>>(CoinMetadata<WHILE>, address)
20Ret
}
 
Constants [
0 => u8: 6
1 => vector<u8>: "While" // interpreted as UTF8 string
2 => vector<u8>: "While the infinite loop" // interpreted as UTF8 string
3 => vector<u8>: "While the infinite loop is a memecoin about programming Bugs" // interpreted as UTF8 string
4 => vector<u8>: "https://ipfs.io/ipfs/bafybeie4ebijiloi2leoc3mjdzlbdgpljcs4pucnrvoa7u277l3ybnvaca" // interpreted as UTF8 string
]
}