pub type VestingConfig = GenesisConfig<Runtime>;

Aliased Type§

struct VestingConfig {
    pub vesting: Vec<(AccountId32, u32, u32, u128)>,
}

Fields§

§vesting: Vec<(AccountId32, u32, u32, u128)>

Trait Implementations

§

impl<T> BuildStorage for GenesisConfig<T>
where T: Config,

§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

Assimilate the storage for this module into pre-existing overlays.
§

fn build_storage(&self) -> Result<Storage, String>

Build the storage out of this builder.
§

impl<T> Serialize for GenesisConfig<T>
where T: Config,

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl<T> BuildGenesisConfig for GenesisConfig<T>
where T: Config,

§

fn build(&self)

The build function puts initial GenesisConfig keys/values pairs into the storage.
§

impl<'de, T> Deserialize<'de> for GenesisConfig<T>
where T: Config,

§

fn deserialize<__D>( __deserializer: __D ) -> Result<GenesisConfig<T>, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl<T> Default for GenesisConfig<T>
where T: Config,

§

fn default() -> GenesisConfig<T>

Returns the “default value” for a type. Read more