pub trait ContractStorage {
// Required methods
fn address(&self) -> Address;
fn storage(&mut self) -> &mut StorageCtx;
}Expand description
Trait providing access to a contract’s address.
Automatically implemented by the #[contract] macro.
Required Methods§
Sourcefn storage(&mut self) -> &mut StorageCtx
fn storage(&mut self) -> &mut StorageCtx
Contract storage accessor.