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

API

cia

Module0xae39…a78e
Move path
0xae39…a78e::cia
Functions
10 public, 0 entry
Structs
1
Friend modules
None
cia

Bytecode47 lines

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

// Move bytecode v6
module ae396c98e47720d3574ac9fbce375eed7fecdc5d73beebc2be2f6a337aeea78e.cia {
use 0000000000000000000000000000000000000000000000000000000000000001::option;
use 0000000000000000000000000000000000000000000000000000000000000002::coin;
use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
use 0000000000000000000000000000000000000000000000000000000000000002::url;
 
struct CIA has drop {
dummy_field: bool
}
 
init(Arg0: CIA, Arg1: &mut TxContext) {
L2: loc0: CoinMetadata<CIA>
B0:
0MoveLoc[0](Arg0: CIA)
1LdConst[0](u8: 6)
2LdConst[1](vector<u8>: "CIA..)
3LdConst[2](vector<u8>: "Cat..)
4LdConst[3](vector<u8>: "The..)
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<CIA>(CIA, u8, vector<u8>, vector<u8>, vector<u8>, Option<Url>, &mut TxContext): TreasuryCap<CIA> * CoinMetadata<CIA>
10StLoc[2](loc0: CoinMetadata<CIA>)
11CopyLoc[1](Arg1: &mut TxContext)
12FreezeRef
13Call tx_context::sender(&TxContext): address
14Call transfer::public_transfer<TreasuryCap<CIA>>(TreasuryCap<CIA>, address)
15MoveLoc[2](loc0: CoinMetadata<CIA>)
16MoveLoc[1](Arg1: &mut TxContext)
17FreezeRef
18Call tx_context::sender(&TxContext): address
19Call transfer::public_transfer<CoinMetadata<CIA>>(CoinMetadata<CIA>, address)
20Ret
}
 
Constants [
0 => u8: 6
1 => vector<u8>: "CIA" // interpreted as UTF8 string
2 => vector<u8>: "Cats In Atlantis" // interpreted as UTF8 string
3 => vector<u8>: "The secret of sui has been revealed along with Atlantis come join the CIA" // interpreted as UTF8 string
4 => vector<u8>: "https://ipfs.io/ipfs/bafybeiah6p3isz254kvexeta3vuzz3msaiskif3qhvv6hzz2ikkmcyy3ea" // interpreted as UTF8 string
]
}