decimal
Module0x93f6…7dfd
- Move path
- 0x7fd8…1fec::decimal
- Functions
- 2929 public, 0 entry
- Structs
- 1
- Friend modules
- None
decimal
Functions29
Structs1
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- Decimalcopydropstore
value u256
Constants8
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 1000000000000000000 | u256 | Value | onefrom_u64from_u128ceil_u64and 6 more |
| 1 | 500000000000000000 | u256 | Value | round_u64 |
| 2 | 18446744073709551615 | u256 | Value | ceil_u64floor_u64round_u64truncate_decimal |
| 3 | 340282366920938463463374607431768211455 | u256 | Value | to_rate |
| 4 | 115792089237316195423570985008687907853269984665640564039457584007913129639935 | u256 | Value | mul_div |
| 5 | 18446744073709551615000000000000000000 | u256 | Value | from_rawmul_divaddsuband 3 more |
| 6 | 1 | u64 | Abort code | from_rawto_ratemul_divceil_u64and 8 more |
| 7 | 2 | u64 | Abort code | mul_divmul_div_by_64divdiv_by_u64 |