import {OldTypesBundle} from '../types' export const bundle: OldTypesBundle = { types: { CallOf: "Call", DispatchTime: { _enum: { At: "BlockNumber", After: "BlockNumber", }, }, ScheduleTaskIndex: "u32", DelayedOrigin: { delay: "BlockNumber", origin: "PalletsOrigin", }, StorageValue: "Vec", GraduallyUpdate: { key: "StorageKey", targetValue: "StorageValue", perBlock: "StorageValue", }, StorageKeyBytes: "Vec", StorageValueBytes: "Vec", RpcDataProviderId: "Text", OrderedSet: "Vec", OrmlAccountData: { free: "Balance", frozen: "Balance", reserved: "Balance", }, OrmlBalanceLock: { amount: "Balance", id: "LockIdentifier", }, DelayedDispatchTime: { _enum: { At: "BlockNumber", After: "BlockNumber", }, }, DispatchId: "u32", Price: "FixedU128", OrmlVestingSchedule: { start: "BlockNumber", period: "BlockNumber", periodCount: "u32", perPeriod: "Compact", }, VestingScheduleOf: "OrmlVestingSchedule", PalletBalanceOf: "Balance", ChangeBalance: { _enum: { NoChange: "Null", NewValue: "Balance", }, }, BalanceWrapper: { amount: "Balance", }, BalanceRequest: { amount: "Balance", }, EvmAccountInfo: { nonce: "Index", contractInfo: "Option", developerDeposit: "Option", }, CodeInfo: { codeSize: "u32", refCount: "u32", }, EvmContractInfo: { codeHash: "H256", maintainer: "H160", deployed: "bool", }, EvmAddress: "H160", CallRequest: { from: "Option", to: "Option", gasLimit: "Option", storageLimit: "Option", value: "Option", data: "Option", }, CID: "Vec", ClassId: "u32", ClassIdOf: "ClassId", TokenId: "u64", TokenIdOf: "TokenId", TokenInfoOf: { metadata: "CID", owner: "AccountId", data: "TokenData", }, TokenData: { deposit: "Balance", }, Properties: { _set: { _bitLength: 8 } }, BondingLedger: { total: "Compact", active: "Compact", unlocking: "Vec", }, Amount: "i128", AmountOf: "Amount", AuctionId: "u32", AuctionIdOf: "AuctionId", TokenSymbol: { _enum: { REEF: 0, RUSD: 1, }, }, CurrencyId: { _enum: { Token: "TokenSymbol", DEXShare: "(TokenSymbol, TokenSymbol)", ERC20: "EvmAddress", }, }, CurrencyIdOf: "CurrencyId", AuthoritysOriginId: { _enum: ["Root"], }, TradingPair: "(CurrencyId, CurrencyId)", AsOriginId: "AuthoritysOriginId", SubAccountStatus: { bonded: "Balance", available: "Balance", unbonding: "Vec<(EraIndex,Balance)>", mockRewardRate: "Rate", }, Params: { targetMaxFreeUnbondedRatio: "Ratio", targetMinFreeUnbondedRatio: "Ratio", targetUnbondingToFreeRatio: "Ratio", unbondingToFreeAdjustment: "Ratio", baseFeeRate: "Rate", }, Ledger: { bonded: "Balance", unbondingToFree: "Balance", freePool: "Balance", toUnbondNextEra: "(Balance, Balance)", }, ChangeRate: { _enum: { NoChange: "Null", NewValue: "Rate", }, }, ChangeRatio: { _enum: { NoChange: "Null", NewValue: "Ratio", }, }, BalanceInfo: { amount: "Balance", }, Rate: "FixedU128", Ratio: "FixedU128", PublicKey: "[u8; 20]", DestAddress: "Vec", Keys: "SessionKeys4", // TODO: originally "SessionKeys2" PalletsOrigin: { _enum: { System: "SystemOrigin", Timestamp: "Null", RandomnessCollectiveFlip: "Null", Balances: "Null", Accounts: "Null", Currencies: "Null", Tokens: "Null", Vesting: "Null", Utility: "Null", Multisig: "Null", Recovery: "Null", Proxy: "Null", Scheduler: "Null", Indices: "Null", GraduallyUpdate: "Null", Authorship: "Null", Babe: "Null", Grandpa: "Null", Staking: "Null", Session: "Null", Historical: "Null", Authority: "DelayedOrigin", ElectionsPhragmen: "Null", Contracts: "Null", EVM: "Null", Sudo: "Null", TransactionPayment: "Null", }, }, LockState: { _enum: { Committed: "Null", Unbonding: "BlockNumber", }, }, LockDuration: { _enum: ["OneMonth", "OneYear", "TenYears"], }, EraIndex: "u32", Era: { index: "EraIndex", start: "BlockNumber", }, Commitment: { state: "LockState", duration: "LockDuration", amount: "Balance", candidate: "AccountId", }, CommitmentOf: "Commitment" }, versions: [ { minmax: [null, 8], types: { AccountInfo: "AccountInfoWithDualRefCount" }, typesAlias: { evm: { AccountInfo: "EvmAccountInfo", Log: "EvmLog" } } }, { minmax: [10, null], types: { Multisig: { when: "Timepoint", deposit: "Balance", depositor: "AccountId", approvals: "Vec" }, Timepoint: { height: "BlockNumber", index: "u32" } } } ], signedExtensions: { SetEvmOrigin: "Null" } }