aaa
Module0xd976…eb2d
- Move path
- 0xd976…eb2d::aaa
- Functions
- 10 public, 0 entry
- Structs
- 1
- Friend modules
- None
aaa
Bytecode44 lines
The on-chain disassembly. Offsets are bytecode positions within each function.
// Move bytecode v6
module d976fda9a9786cda1a36dee360013d775a5e5f206f8e20f84fad3385e99eeb2d.aaa {
use 0000000000000000000000000000000000000000000000000000000000000001::option;
use 0000000000000000000000000000000000000000000000000000000000000002::coin;
use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
use 0000000000000000000000000000000000000000000000000000000000000002::url;
struct AAA has drop {
dummy_field: bool
}
init(Arg0: AAA, Arg1: &mut TxContext) {
L2: loc0: CoinMetadata<AAA>
B0:
0MoveLoc[0](Arg0: AAA)
1LdConst[0](u8: 6)
2LdConst[1](vector<u8>: "AAA..)
3LdConst[2](vector<u8>: "aaa..)
4LdConst[3](vector<u8>: "Can..)
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<AAA>(AAA, u8, vector<u8>, vector<u8>, vector<u8>, Option<Url>, &mut TxContext): TreasuryCap<AAA> * CoinMetadata<AAA>
10StLoc[2](loc0: CoinMetadata<AAA>)
11MoveLoc[1](Arg1: &mut TxContext)
12FreezeRef
13Call tx_context::sender(&TxContext): address
14Call transfer::public_transfer<TreasuryCap<AAA>>(TreasuryCap<AAA>, address)
15MoveLoc[2](loc0: CoinMetadata<AAA>)
16Call transfer::public_share_object<CoinMetadata<AAA>>(CoinMetadata<AAA>)
17Ret
}
Constants [
0 => u8: 6
1 => vector<u8>: "AAA" // interpreted as UTF8 string
2 => vector<u8>: "aaa cat" // interpreted as UTF8 string
3 => vector<u8>: "Can't stop won't stop (thinking about Sui)" // interpreted as UTF8 string
4 => vector<u8>: "https://api.movepump.com/uploads/IMG_4995_cfd6177d03.jpeg" // interpreted as UTF8 string
]
}