protocol_fee
Module0x7713…9f9d
- Move path
- 0xaec9…5faa::protocol_fee
- Functions
- 108 public, 0 entry
- Structs
- 1
- Friend modules
- router
protocol_fee
Functions10
- public fun change_fee_percentages(&admin::AdminCap,&mut ProtocolFeeConfig,&mut Option<u64>,&mut Option<u64>,&mut Option<u64>,&mut Option<u64>,&mut Option<u64>)
- public fun take_percent_base_18(u64, u64): u64
Structs1
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- ProtocolFeeConfigstorekey
id UID version u64 dev_wallet address total_protocol_fee_percent_base_18 u64 treasury_fee_percent_base_18 u64 dev_wallet_fee_percent_base_18 u64 referee_discount u64
Constants1
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 0x0000060c049b5aea93660573019b2ed5d657245212a998e030981589726d11fe | address | Value | create_config |