pub trait HasInitContext<Error: Default = ()>: HasCommonData {
    type InitData;

    fn open(data: Self::InitData) -> Self;
    fn init_origin(&self) -> AccountAddress;
}
Expand description

Types which can act as init contexts.

Required Associated Types§

Data needed to open the context.

Required Methods§

Open the init context for reading and accessing values.

Who invoked this init call.

Implementors§