- Move path
- 0xba0d…e978::acl
- Functions
- 20 public, 0 entry
- Structs
- 2
- Friend modules
- admin
Bytecode36 lines
The on-chain disassembly. Offsets are instruction numbers within each function.
// Move bytecode v6
module ba0dd78bdd5d1b5f02a689444522ea9a79e1bc4cd4d8e6a57b59f3fbcae5e978.acl {
use 0000000000000000000000000000000000000000000000000000000000000002::object;
use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
struct Access has store, key {
id: UID
}
struct Acl has key {
id: UID,
access: Access
}
init(Arg0: &mut TxContext) {
B0:
0CopyLoc[0](Arg0: &mut TxContext)
1Call object::new(&mut TxContext): UID
2MoveLoc[0](Arg0: &mut TxContext)
3Call object::new(&mut TxContext): UID
4Pack[0](Access)
5Pack[1](Acl)
6Call transfer::share_object<Acl>(Acl)
7Ret
}
public(friend) access(Arg0: &Acl): &Access {
B0:
0MoveLoc[0](Arg0: &Acl)
1ImmBorrowField[0](Acl.access: Access)
2Ret
}
}