Re-exports§
pub use foreign_assets::pallet;pub use foreign_assets::pallet::Config as ForeignAssetsConfig;pub use foreign_assets::ForeignAssetId;pub use migration::MigrateForeignAssetPrecompileMappings;pub use permit::pallet::Config as PermitConfig;
Modules§
- foreign_
assets - migration
- Migrations for
pallet-assets-precompiles. - permit
- ERC20Permit pallet for signature-based approvals (EIP-2612).
- weights
- Autogenerated weights for
pallet_assets_precompiles
Structs§
- ERC20
- An ERC20 precompile with EIP-2612 permit support.
- Foreign
Asset IdExtractor - An
AssetIdExtractorthat maps a local asset id (4 bytes taken from the address) to a foreign asset id. - Foreign
IdConfig - A precompile configuration that uses a prefix
AddressMatcher. - Inline
Asset IdExtractor - An
AssetIdExtractorthat stores the asset id directly inside the address. - Inline
IdConfig - A precompile configuration that uses a prefix
AddressMatcher.
Traits§
- Asset
IdExtractor - Means of extracting the asset id from the precompile address.
- Asset
Precompile Config - The configuration of a pallet-assets precompile.