math
Module0x0000…0002
- Move path
- 0x0000…0002::math
- Functions
- 77 public, 0 entry
- Structs
- 0
- Friend modules
- None
math
- accumulator18
- accumulator_metadata2
- accumulator_settlement8
- address10
- address_alias5
- allowance40
- authenticator_state13
- bag10
- balance18
- bcs30
- bls1238143
- borrow4
- clock3
- coin54
- coin_registry43
- config11
- deny_list21
- derived_object3
- display14
- display_registry18
- dynamic_field19
- dynamic_object_field15
- ecdsa_k13
- ecdsa_r12
- ecvrf1
- ed255191
- event3
- forwarding_address1
- funds_accumulator12
- groth1610
- group_ops23
- hash2
- hex3
- hmac1
- kiosk41
- kiosk_extension14
- linked_table19
- math7
- nitro_attestation11
- object32
- object_bag11
- object_table10
- package26
- party5
- pay8
- poseidon2
- priority_queue8
- protocol_config1
- prover0
- random20
- rangeproofs3
- ristretto25518
- scratch18
- sui2
- table10
- table_vec12
- token45
- transfer16
- transfer_policy18
- tx_context19
- types1
- url4
- vdf4
- vec_map20
- vec_set11
- versioned7
- zklogin_verified_id9
- zklogin_verified_issuer6
Bytecode61 lines
The on-chain disassembly. Offsets are instruction numbers within each function.
// Move bytecode v7
module 2.math {
use 0000000000000000000000000000000000000000000000000000000000000001::u128;
use 0000000000000000000000000000000000000000000000000000000000000001::u64;
public max(Arg0: u64, Arg1: u64): u64 {
B0:
0MoveLoc[0](Arg0: u64)
1MoveLoc[1](Arg1: u64)
2Call u64::max(u64, u64): u64
3Ret
}
public min(Arg0: u64, Arg1: u64): u64 {
B0:
0MoveLoc[0](Arg0: u64)
1MoveLoc[1](Arg1: u64)
2Call u64::min(u64, u64): u64
3Ret
}
public diff(Arg0: u64, Arg1: u64): u64 {
B0:
0MoveLoc[0](Arg0: u64)
1MoveLoc[1](Arg1: u64)
2Call u64::diff(u64, u64): u64
3Ret
}
public pow(Arg0: u64, Arg1: u8): u64 {
B0:
0MoveLoc[0](Arg0: u64)
1MoveLoc[1](Arg1: u8)
2Call u64::pow(u64, u8): u64
3Ret
}
public sqrt(Arg0: u64): u64 {
B0:
0MoveLoc[0](Arg0: u64)
1Call u64::sqrt(u64): u64
2Ret
}
public sqrt_u128(Arg0: u128): u128 {
B0:
0MoveLoc[0](Arg0: u128)
1Call u128::sqrt(u128): u128
2Ret
}
public divide_and_round_up(Arg0: u64, Arg1: u64): u64 {
B0:
0MoveLoc[0](Arg0: u64)
1MoveLoc[1](Arg1: u64)
2Call u64::div_ceil(u64, u64): u64
3Ret
}
}