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

API

admin

Module0x94c1…56fa
Move path
0x94c1…56fa::admin
Functions
10 public, 0 entry
Structs
1
Friend modules
None
admin

Bytecode24 lines

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

// Move bytecode v6
module 94c1beb34be4677052e1989cc16c4cddf8b97c706532d2136c33df6c2f5656fa.admin {
use 0000000000000000000000000000000000000000000000000000000000000002::object;
use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
 
struct AdminCap has store, key {
id: UID
}
 
init(Arg0: &mut TxContext) {
B0:
0CopyLoc[0](Arg0: &mut TxContext)
1Call object::new(&mut TxContext): UID
2Pack[0](AdminCap)
3MoveLoc[0](Arg0: &mut TxContext)
4FreezeRef
5Call tx_context::sender(&TxContext): address
6Call transfer::transfer<AdminCap>(AdminCap, address)
7Ret
}
 
}