[−][src]Trait concordium_std::HasInitContext 
Types which can act as init contexts.
Associated Types
type InitData[src]
Data needed to open the context.
type ParamType: HasParameter[src]
type MetadataType: HasChainMetadata[src]
Required methods
pub fn open(data: Self::InitData) -> Self[src]
Open the init context for reading and accessing values.
pub fn init_origin(&self) -> AccountAddress[src]
Who invoked this init call.
pub fn parameter_cursor(&self) -> Self::ParamType[src]
Get the cursor to the parameter.
pub fn metadata(&self) -> &Self::MetadataType[src]
Get the reference to chain metadata
Implementors
impl HasInitContext<()> for InitContextExtern[src]
type InitData = ()
type MetadataType = ChainMetaExtern
type ParamType = Parameter
pub fn open(_: Self::InitData) -> Self[src]
Create a new init context by using an external call.