Cetus package::utils bytecode | tide- Move path
- 0xeffc…c302::utils
- Functions
- 33 public, 0 entry
- Structs
- 0
- Friend modules
- None
utils
The on-chain disassembly. Offsets are bytecode positions within each function.
1// Move bytecode v7
2module effc8ae61f439bb34c9b905ff8f29ec56873dcedf81c7123ff2f1f67c45ec302.utils {
3use 0000000000000000000000000000000000000000000000000000000000000002::coin;
4use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
5use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
6
7public transfer_or_destroy_coin<Ty0>(Arg0: Coin<Ty0>, Arg1: &TxContext) {
90ImmBorrowLoc[0](Arg0: Coin<Ty0>)
101Call coin::value<Ty0>(&Coin<Ty0>): u64
155MoveLoc[0](Arg0: Coin<Ty0>)
166MoveLoc[1](Arg1: &TxContext)
177Call tx_context::sender(&TxContext): address
188Call transfer::public_transfer<Coin<Ty0>>(Coin<Ty0>, address)
2110MoveLoc[1](Arg1: &TxContext)
2312MoveLoc[0](Arg0: Coin<Ty0>)
2413Call coin::destroy_zero<Ty0>(Coin<Ty0>)
29public check_coin_threshold<Ty0>(Arg0: &Coin<Ty0>, Arg1: u64) {
310MoveLoc[0](Arg0: &Coin<Ty0>)
321Call coin::value<Ty0>(&Coin<Ty0>): u64
45public check_coins_threshold<Ty0>(Arg0: &vector<Coin<Ty0>>, Arg1: u64) {
554CopyLoc[0](Arg0: &vector<Coin<Ty0>>)
6612CopyLoc[0](Arg0: &vector<Coin<Ty0>>)
6713CopyLoc[3](loc1: u64)
6915StLoc[2](loc0: &Coin<Ty0>)
7016MoveLoc[5](loc3: u64)
7117MoveLoc[2](loc0: &Coin<Ty0>)
7218Call coin::value<Ty0>(&Coin<Ty0>): u64
7521MoveLoc[3](loc1: u64)
8126MoveLoc[0](Arg0: &vector<Coin<Ty0>>)
8328MoveLoc[5](loc3: u64)
8429MoveLoc[1](Arg1: u64)