Struct cfx_statedb::global_params::AccumulateInterestRate
source · pub struct AccumulateInterestRate;
Trait Implementations§
source§impl GlobalParamKey for AccumulateInterestRate
impl GlobalParamKey for AccumulateInterestRate
const ID: usize = 1usize
const KEY: &'static [u8] = b"accumulate_interest_rate"
source§fn init_vm_value() -> U256
fn init_vm_value() -> U256
How to initialize such a variable in the executor
const SPACE: Space = Space::Native
const ADDRESS: Address = STORAGE_INTEREST_STAKING_CONTRACT_ADDRESS
const STORAGE_KEY: StorageKeyWithSpace<'static> = _
source§fn from_vm_value(val: U256) -> U256
fn from_vm_value(val: U256) -> U256
How to convert such a variable from the executor representing to the db
representing
source§fn into_vm_value(val: U256) -> U256
fn into_vm_value(val: U256) -> U256
How to convert such a variable from the db representing to the executor
representing
Auto Trait Implementations§
impl RefUnwindSafe for AccumulateInterestRate
impl Send for AccumulateInterestRate
impl Sync for AccumulateInterestRate
impl Unpin for AccumulateInterestRate
impl UnwindSafe for AccumulateInterestRate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more