Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

API

epoch_parameters

Module0xfa65…814e
Move path
0xfdc8…ea77::epoch_parameters
Functions
40 public, 0 entry
Structs
1
epoch_parameters

Bytecode44 lines

The on-chain disassembly. Offsets are bytecode positions within each function.

// Move bytecode v7
module fdc88f7d7cf30afab2f82e8380d11ee8f70efb90e863d1de8616fae1bb09ea77.epoch_parameters {
 
struct EpochParams has copy, drop, store {
total_capacity_size: u64,
storage_price_per_unit_size: u64,
write_price_per_unit_size: u64
}
 
public(friend) new(Arg0: u64, Arg1: u64, Arg2: u64): EpochParams {
B0:
0MoveLoc[0](Arg0: u64)
1MoveLoc[1](Arg1: u64)
2MoveLoc[2](Arg2: u64)
3Pack[0](EpochParams)
4Ret
}
 
public(friend) capacity(Arg0: &EpochParams): u64 {
B0:
0MoveLoc[0](Arg0: &EpochParams)
1ImmBorrowField[0](EpochParams.total_capacity_size: u64)
2ReadRef
3Ret
}
 
public(friend) storage_price(Arg0: &EpochParams): u64 {
B0:
0MoveLoc[0](Arg0: &EpochParams)
1ImmBorrowField[1](EpochParams.storage_price_per_unit_size: u64)
2ReadRef
3Ret
}
 
public(friend) write_price(Arg0: &EpochParams): u64 {
B0:
0MoveLoc[0](Arg0: &EpochParams)
1ImmBorrowField[2](EpochParams.write_price_per_unit_size: u64)
2ReadRef
3Ret
}
 
}