pub fn add_transfer_allowance<T: Config>(
currency_id: T::CurrencyId,
receiver: T::Location
)
Expand description
Adds a transfer allowance for a sending Account/Currency. Allowance either starts at the current block + the delay set for the account, if a delay is present. or block 0 if no delay is present. Important! Account/Currency sets with an allowance set are restricted to just the allowances added for the account - to have unrestricted transfers allowed for the sending Account and Currency, no allowances should be present.
Running this for an existing allowance generates a new allowance based on the current delay, or lack thereof
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::add_transfer_allowance
.