Crate pallet_transfer_allowlist
source ·Expand description
§Transfer Allowlist Pallet
This pallet checks whether an account should be allowed to make a transfer to a receiving location with a specific currency.
If there are no allowances specified, then the account is assumed to be allowed to send to any location without restrictions.
However, once an allowance for a sender to a specific receiving location and currency is made, /then/ transfers from the sending account are restricted for that currency to:
- the account(s) for which allowances have been made
- the block range specified in the allowance
Re-exports§
pub use weights::WeightInfo;
pub use pallet::*;
Modules§
- The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet.
Traits§
- Trait to determine whether a sending account and currency have a restriction, and if so is there an allowance for the receiver location.