pub struct InterestRate;Trait Implementations§
Source§impl GlobalParamKey for InterestRate
impl GlobalParamKey for InterestRate
const ID: usize = 0
const KEY: &'static [u8] = b"interest_rate"
Source§fn init_vm_value() -> U256
fn init_vm_value() -> U256
How to initialize such a variable in the executor
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
const SPACE: Space = Space::Native
const ADDRESS: Address = STORAGE_INTEREST_STAKING_CONTRACT_ADDRESS
const STORAGE_KEY: StorageKeyWithSpace<'static>
Auto Trait Implementations§
impl Forget for InterestRate
impl Freeze for InterestRate
impl Move for InterestRate
impl RefUnwindSafe for InterestRate
impl Send for InterestRate
impl Sync for InterestRate
impl Unpin for InterestRate
impl UnsafeUnpin for InterestRate
impl UnwindSafe for InterestRate
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