fee
Module0x8925…bce5
- Move path
- 0x91bf…9ca1::fee
- Functions
- 43 public, 0 entry
- Structs
- 1
- Friend modules
- None
fee
- fee4
- fee10000bps1
- fee100bps1
- fee3000bps1
- fee500bps1
- full_math_u1286
- full_math_u326
- full_math_u646
- i12831
- i3230
- i6428
- math_bit2
- math_liquidity7
- math_sqrt_price8
- math_swap3
- math_tick7
- math_u12817
- math_u2565
- math_u647
- pool87
- pool_factory21
- pool_fetcher1
- position_manager37
- position_nft5
- reward_manager8
- string_tools5
- swap_router13
Bytecode59 lines
The on-chain disassembly. Offsets are bytecode positions within each function.
// Move bytecode v6
module 91bfbc386a41afcfd9b2533058d7e915a1d3829089cc268ff4333d54d6339ca1.fee {
use 0000000000000000000000000000000000000000000000000000000000000002::object;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
use 0000000000000000000000000000000000000000000000000000000000000002::types;
struct Fee<phantom Ty0> has store, key {
id: UID,
fee: u32,
tick_spacing: u32
}
init(Arg0: &mut TxContext) {
B0:
0Ret
}
public create_fee<Ty0: drop>(Arg0: Ty0, Arg1: u32, Arg2: u32, Arg3: &mut TxContext): Fee<Ty0> {
B0:
0ImmBorrowLoc[0](Arg0: Ty0)
1Call types::is_one_time_witness<Ty0>(&Ty0): bool
2BrFalse(4)
B1:
3Branch(8)
B2:
4MoveLoc[3](Arg3: &mut TxContext)
5Pop
6LdConst[0](u64: 0)
7Abort
B3:
8MoveLoc[3](Arg3: &mut TxContext)
9Call object::new(&mut TxContext): UID
10MoveLoc[1](Arg1: u32)
11MoveLoc[2](Arg2: u32)
12PackGeneric[0](Fee<Ty0>)
13Ret
}
public get_fee<Ty0>(Arg0: &Fee<Ty0>): u32 {
B0:
0MoveLoc[0](Arg0: &Fee<Ty0>)
1ImmBorrowFieldGeneric[0](Fee.fee: u32)
2ReadRef
3Ret
}
public get_tick_spacing<Ty0>(Arg0: &Fee<Ty0>): u32 {
B0:
0MoveLoc[0](Arg0: &Fee<Ty0>)
1ImmBorrowFieldGeneric[1](Fee.tick_spacing: u32)
2ReadRef
3Ret
}
Constants [
0 => u64: 0
]
}