pub type AllowanceDetailsOf<T> = AllowanceDetails<BlockNumberFor<T>>;
Expand description

AllowanceDetails where BlockNumber is of type BlockNumberFor<T>

Aliased Type§

struct AllowanceDetailsOf<T> {
    pub allowed_at: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,
    pub blocked_at: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,
}

Fields§

§allowed_at: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number

Specifies a block number after which transfers will be allowed for the sender & currency and destination location. This is by default set to 0 with the add allowance extrinsic, unless a delay is set, in which case it is set to the current block

  • delay.
§blocked_at: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number

Specifies a block number after-which transfers will be blocked for the sender & currency and destination location. This is by default set to BlockNumber::Max(), except when an allowance has been removed but not purged. In that case it is set to the current block + delay. if the allowance is later updated with the add allowance extrinsic, it is set back to max.