@volosui/volo-vault
vault_utils
- Move path
- 0xcd86…fefa::vault_utils
- Functions
- 1212 public, 0 entry
- Structs
- 0
- Friend modules
- None
vault_utils
- cetus_adaptor3
- curator_position38
- deposit_request8
- manager_cap2
- momentum_adaptor4
- navi_adaptor16
- operation23
- receipt5
- receipt_adaptor2
- receipt_cancellation11
- reward_manager24
- suilend_adaptor4
- swap_request13
- user_entry9
- vault110
- vault_manage45
- vault_oracle28
- vault_receipt_info22
- vault_utils12
- withdraw_request8
- zo_adaptor2
Functions12
- public fun clone_vecmap_table<T0: copy + drop + store, T1: copy + store>(&VecMap<T0, T1>): Table<T0, T1>
- public fun decimals(): u256
- public fun div_d(u256, u256): u256
- public fun div_with_oracle_price(u256, u256): u256
- public fun from_decimals(u256): u256
- public fun from_oracle_price_decimals(u256): u256
- public fun mul_d(u256, u256): u256
- public fun mul_with_oracle_price(u256, u256): u256
- public fun parse_key<T0>(u8): String
- public fun to_decimals(u256): u256
- public fun to_oracle_decimal(u256, u64): u256
- public fun to_oracle_price_decimals(u256): u256
Structs0
This module defines no structs
Constants3
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Slot | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 1000000000 | u256 | Value | mul_ddiv_ddecimalsto_decimalsand 1 more |
| 1 | 1000000000000000000 | u256 | Value | to_oracle_price_decimalsfrom_oracle_price_decimalsmul_with_oracle_pricediv_with_oracle_price |
| 2 | 18 | u64 | Value | to_oracle_decimal |