pub trait WeightInfo {
// Required methods
fn approve_assets_to_migrate(n: u32) -> Weight;
fn start_foreign_assets_migration() -> Weight;
fn migrate_foreign_asset_balances(n: u32) -> Weight;
fn migrate_foreign_asset_approvals(n: u32) -> Weight;
fn finish_foreign_assets_migration() -> Weight;
}
Required Methods§
fn approve_assets_to_migrate(n: u32) -> Weight
fn start_foreign_assets_migration() -> Weight
fn migrate_foreign_asset_balances(n: u32) -> Weight
fn migrate_foreign_asset_approvals(n: u32) -> Weight
fn finish_foreign_assets_migration() -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn approve_assets_to_migrate(n: u32) -> Weight
fn approve_assets_to_migrate(n: u32) -> Weight
Storage: Assets::Asset
(r:100 w:0)
Proof: Assets::Asset
(max_values
: None, max_size
: Some(174), added: 2649, mode: MaxEncodedLen
)
Storage: MoonbeamLazyMigrations::ApprovedForeignAssets
(r:0 w:100)
Proof: MoonbeamLazyMigrations::ApprovedForeignAssets
(max_values
: None, max_size
: Some(24), added: 2499, mode: MaxEncodedLen
)
The range of component n
is [1, 100]
.
source§fn start_foreign_assets_migration() -> Weight
fn start_foreign_assets_migration() -> Weight
Storage: MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue
(r:1 w:1)
Proof: MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue
(max_values
: Some(1), max_size
: Some(25), added: 520, mode: MaxEncodedLen
)
Storage: Assets::Asset
(r:1 w:1)
Proof: Assets::Asset
(max_values
: None, max_size
: Some(174), added: 2649, mode: MaxEncodedLen
)
Storage: Assets::Metadata
(r:1 w:0)
Proof: Assets::Metadata
(max_values
: None, max_size
: Some(152), added: 2627, mode: MaxEncodedLen
)
Storage: AssetManager::AssetIdType
(r:1 w:1)
Proof: AssetManager::AssetIdType
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EvmForeignAssets::AssetsById
(r:1 w:1)
Proof: EvmForeignAssets::AssetsById
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EvmForeignAssets::AssetsByLocation
(r:1 w:1)
Proof: EvmForeignAssets::AssetsByLocation
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EvmForeignAssets::CounterForAssetsById
(r:1 w:1)
Proof: EvmForeignAssets::CounterForAssetsById
(max_values
: Some(1), max_size
: Some(4), added: 499, mode: MaxEncodedLen
)
Storage: EthereumXcm::EthereumXcmSuspended
(r:1 w:0)
Proof: EthereumXcm::EthereumXcmSuspended
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: EthereumXcm::Nonce
(r:1 w:1)
Proof: EthereumXcm::Nonce
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: EthereumChainId::ChainId
(r:1 w:0)
Proof: EthereumChainId::ChainId
(max_values
: Some(1), max_size
: Some(8), added: 503, mode: MaxEncodedLen
)
Storage: TransactionPayment::NextFeeMultiplier
(r:1 w:0)
Proof: TransactionPayment::NextFeeMultiplier
(max_values
: Some(1), max_size
: Some(16), added: 511, mode: MaxEncodedLen
)
Storage: EVM::AccountCodesMetadata
(r:1 w:1)
Proof: EVM::AccountCodesMetadata
(max_values
: None, max_size
: None, mode: Measured
)
Storage: System::Account
(r:2 w:2)
Proof: System::Account
(max_values
: None, max_size
: Some(116), added: 2591, mode: MaxEncodedLen
)
Storage: EVM::AccountStorages
(r:11 w:11)
Proof: EVM::AccountStorages
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EVM::Suicided
(r:1 w:0)
Proof: EVM::Suicided
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Ethereum::Pending
(r:1 w:1)
Proof: Ethereum::Pending
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: EVM::AccountCodes
(r:0 w:1)
Proof: EVM::AccountCodes
(max_values
: None, max_size
: None, mode: Measured
)
source§fn migrate_foreign_asset_balances(n: u32) -> Weight
fn migrate_foreign_asset_balances(n: u32) -> Weight
Storage: MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue
(r:1 w:1)
Proof: MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue
(max_values
: Some(1), max_size
: Some(25), added: 520, mode: MaxEncodedLen
)
Storage: Assets::Account
(r:1001 w:1000)
Proof: Assets::Account
(max_values
: None, max_size
: Some(122), added: 2597, mode: MaxEncodedLen
)
Storage: System::Account
(r:1001 w:1001)
Proof: System::Account
(max_values
: None, max_size
: Some(116), added: 2591, mode: MaxEncodedLen
)
Storage: MaintenanceMode::MaintenanceMode
(r:1 w:0)
Proof: MaintenanceMode::MaintenanceMode
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: EthereumXcm::EthereumXcmSuspended
(r:1 w:0)
Proof: EthereumXcm::EthereumXcmSuspended
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: EthereumXcm::Nonce
(r:1 w:1)
Proof: EthereumXcm::Nonce
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: EthereumChainId::ChainId
(r:1 w:0)
Proof: EthereumChainId::ChainId
(max_values
: Some(1), max_size
: Some(8), added: 503, mode: MaxEncodedLen
)
Storage: TransactionPayment::NextFeeMultiplier
(r:1 w:0)
Proof: TransactionPayment::NextFeeMultiplier
(max_values
: Some(1), max_size
: Some(16), added: 511, mode: MaxEncodedLen
)
Storage: EVM::AccountCodesMetadata
(r:2 w:0)
Proof: EVM::AccountCodesMetadata
(max_values
: None, max_size
: None, mode: Measured
)
Storage: System::Digest
(r:1 w:0)
Proof: System::Digest
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: EVM::AccountCodes
(r:1 w:0)
Proof: EVM::AccountCodes
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Assets::Asset
(r:1 w:0)
Proof: Assets::Asset
(max_values
: None, max_size
: Some(174), added: 2649, mode: MaxEncodedLen
)
Storage: EVM::AccountStorages
(r:1002 w:1001)
Proof: EVM::AccountStorages
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Ethereum::Pending
(r:1 w:1)
Proof: Ethereum::Pending
(max_values
: Some(1), max_size
: None, mode: Measured
)
The range of component n
is [1, 1000]
.
source§fn migrate_foreign_asset_approvals(n: u32) -> Weight
fn migrate_foreign_asset_approvals(n: u32) -> Weight
Storage: MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue
(r:1 w:1)
Proof: MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue
(max_values
: Some(1), max_size
: Some(25), added: 520, mode: MaxEncodedLen
)
Storage: Assets::Approvals
(r:1000 w:999)
Proof: Assets::Approvals
(max_values
: None, max_size
: Some(136), added: 2611, mode: MaxEncodedLen
)
Storage: MaintenanceMode::MaintenanceMode
(r:1 w:0)
Proof: MaintenanceMode::MaintenanceMode
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: EthereumXcm::EthereumXcmSuspended
(r:1 w:0)
Proof: EthereumXcm::EthereumXcmSuspended
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: EthereumXcm::Nonce
(r:1 w:1)
Proof: EthereumXcm::Nonce
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: EthereumChainId::ChainId
(r:1 w:0)
Proof: EthereumChainId::ChainId
(max_values
: Some(1), max_size
: Some(8), added: 503, mode: MaxEncodedLen
)
Storage: TransactionPayment::NextFeeMultiplier
(r:1 w:0)
Proof: TransactionPayment::NextFeeMultiplier
(max_values
: Some(1), max_size
: Some(16), added: 511, mode: MaxEncodedLen
)
Storage: EVM::AccountCodesMetadata
(r:2 w:0)
Proof: EVM::AccountCodesMetadata
(max_values
: None, max_size
: None, mode: Measured
)
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(116), added: 2591, mode: MaxEncodedLen
)
Storage: System::Digest
(r:1 w:0)
Proof: System::Digest
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: EVM::AccountCodes
(r:1 w:0)
Proof: EVM::AccountCodes
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Assets::Asset
(r:1 w:0)
Proof: Assets::Asset
(max_values
: None, max_size
: Some(174), added: 2649, mode: MaxEncodedLen
)
Storage: EVM::AccountStorages
(r:1000 w:999)
Proof: EVM::AccountStorages
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Ethereum::Pending
(r:1 w:1)
Proof: Ethereum::Pending
(max_values
: Some(1), max_size
: None, mode: Measured
)
The range of component n
is [1, 1000]
.
source§fn finish_foreign_assets_migration() -> Weight
fn finish_foreign_assets_migration() -> Weight
Storage: MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue
(r:1 w:1)
Proof: MoonbeamLazyMigrations::ForeignAssetMigrationStatusValue
(max_values
: Some(1), max_size
: Some(25), added: 520, mode: MaxEncodedLen
)
Storage: Assets::Asset
(r:1 w:1)
Proof: Assets::Asset
(max_values
: None, max_size
: Some(174), added: 2649, mode: MaxEncodedLen
)
Storage: Assets::Metadata
(r:1 w:1)
Proof: Assets::Metadata
(max_values
: None, max_size
: Some(152), added: 2627, mode: MaxEncodedLen
)
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(116), added: 2591, mode: MaxEncodedLen
)