pub trait WeightInfo {
// Required methods
fn fractionalize() -> Weight;
fn unify() -> Weight;
}
Expand description
Weight functions needed for pallet_nft_fractionalization.
Required Methods§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn fractionalize() -> Weight
fn fractionalize() -> Weight
Storage: Nfts Item (r:1 w:0) Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen) Storage: Balances Holds (r:1 w:1) Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) Storage: Nfts Collection (r:1 w:1) Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) Storage: Nfts Attribute (r:1 w:1) Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen) Storage: Assets Asset (r:1 w:1) Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) Storage: Assets Account (r:1 w:1) Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Assets Metadata (r:1 w:1) Proof: Assets Metadata (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen) Storage: NftFractionalization NftToAsset (r:0 w:1) Proof: NftFractionalization NftToAsset (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen)
source§fn unify() -> Weight
fn unify() -> Weight
Storage: NftFractionalization NftToAsset (r:1 w:1) Proof: NftFractionalization NftToAsset (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) Storage: Assets Asset (r:1 w:1) Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) Storage: Assets Account (r:1 w:1) Proof: Assets Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen) Storage: Nfts Attribute (r:1 w:1) Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen) Storage: Nfts Collection (r:1 w:1) Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen) Storage: Nfts CollectionConfigOf (r:1 w:0) Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) Storage: Nfts ItemConfigOf (r:1 w:0) Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: Nfts Item (r:1 w:1) Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen) Storage: Balances Holds (r:1 w:1) Proof: Balances Holds (max_values: None, max_size: Some(85), added: 2560, mode: MaxEncodedLen) Storage: Nfts Account (r:0 w:1) Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) Storage: Nfts ItemPriceOf (r:0 w:1) Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) Storage: Nfts PendingSwapOf (r:0 w:1) Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)