// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@pezkuwi/types/types'; // structs need to be in order /* eslint-disable sort-keys */ const definitions: OverrideBundleDefinition = { types: [ { // on all versions minmax: [0, undefined], types: { AccountIdOf: 'AccountId', Address: 'MultiAddress', AirDropCurrencyId: { _enum: [ 'ICE', 'EAVE' ] }, Amount: 'i128', AmountOf: 'Amount', AsOriginId: 'AuthoritysOriginId', AssetId: 'u64', AssetIdOf: 'AssetId', AuctionId: 'u32', AuctionIdOf: 'AuctionId', AuctionInfo: { bid: 'Option<(AccountId, Balance)>', start: 'BlockNumber', end: 'Option' }, AuthoritysOriginId: { _enum: [ 'Root', 'EaveTreasury', 'CdpTreasury', 'ElpTreasury', 'DSWF' ] }, BalanceInfo: { amount: 'Balance' }, BalanceRequest: { amount: 'Balance' }, BalanceWrapper: { amount: 'Balance' }, BondingLedger: { total: 'Compact', active: 'Compact', unlocking: 'Vec' }, CID: 'Vec', CallOf: 'Call', CallRequest: { from: 'Option', to: 'Option', gasLimit: 'Option', storageLimit: 'Option', value: 'Option', data: 'Option' }, ChainId: { _enum: { RelayChain: 'Null', ParaChain: 'ParaId' } }, ChangeBalance: { _enum: { NoChange: 'Null', NewValue: 'Balance' } }, ChangeOptionRate: { _enum: { NoChange: 'Null', NewValue: 'OptionRate' } }, ChangeOptionRatio: { _enum: { NoChange: 'Null', NewValue: 'OptionRatio' } }, ChangeRate: { _enum: { NoChange: 'Null', NewValue: 'Rate' } }, ChangeRatio: { _enum: { NoChange: 'Null', NewValue: 'Ratio' } }, ClassData: { deposit: 'Balance', properties: 'Properties' }, ClassId: 'u32', ClassIdOf: 'ClassId', ClassInfoOf: { metadata: 'CID', totalIssuance: 'TokenId', owner: 'AccountId', data: 'ClassData' }, CodeInfo: { codeSize: 'u32', refCount: 'u32' }, CollateralAuctionItem: { refundRecipient: 'AccountId', currencyId: 'CurrencyId', initialAmount: 'Compact', amount: 'Compact', target: 'Compact', startTime: 'BlockNumber' }, CurrencyId: { _enum: { Token: 'TokenSymbol', DEXShare: '(TokenSymbol, TokenSymbol)', ERC20: 'EvmAddress' } }, CurrencyIdOf: 'CurrencyId', DataProviderId: { _enum: [ 'Aggregated', 'Eave', 'Band' ] }, DebitAuctionItem: { initialAmount: 'Compact', amount: 'Compact', fix: 'Compact', startTime: 'BlockNumber' }, DelayedDispatchTime: { _enum: { At: 'BlockNumber', After: 'BlockNumber' } }, DelayedOrigin: { delay: 'BlockNumber', origin: 'PalletsOrigin' }, DestAddress: 'Vec', DispatchId: 'u32', DispatchTime: { _enum: { At: 'BlockNumber', After: 'BlockNumber' } }, ElpUnlockChunk: { value: 'Compact', era: 'Compact' }, EvmAccountInfo: { nonce: 'Index', contractInfo: 'Option', developerDeposit: 'Option' }, EvmAddress: 'H160', EvmContractInfo: { codeHash: 'H256', maintainer: 'H160', deployed: 'bool' }, ExchangeRate: 'FixedU128', GraduallyUpdate: { key: 'StorageKey', targetValue: 'StorageValue', perBlock: 'StorageValue' }, Keys: 'SessionKeys2', Ledger: { bonded: 'Balance', unbondingToFree: 'Balance', freePool: 'Balance', toUnbondNextEra: '(Balance, Balance)' }, LiquidationStrategy: { _enum: [ 'Auction', 'Exchange' ] }, LiquidityPool: { currency_ids: 'Vec', lp_token_id: 'AssetId', pool_config_id: 'u32', pool_reserves: 'Vec' }, LiquidityPoolConfig_: 'PoolConfig', LiquidityPool_: 'LiquidityPool', LookupSource: 'MultiAddress', NomineeId: 'AccountId', NFTBalance: 'u128', OptionRate: 'Option', OptionRatio: 'Option', OracleKey: 'CurrencyId', OracleValue: 'Price', OrderedSet: 'Vec', OrmlAccountData: { free: 'Balance', frozen: 'Balance', reserved: 'Balance' }, OrmlBalanceLock: { amount: 'Balance', id: 'LockIdentifier' }, OrmlVestingSchedule: { start: 'BlockNumber', period: 'BlockNumber', periodCount: 'u32', perPeriod: 'Compact' }, PalletBalanceOf: 'Balance', PalletsOrigin: { _enum: { System: 'SystemOrigin', Timestamp: 'Null', RandomnessCollectiveFlip: 'Null', Balances: 'Null', Accounts: 'Null', Currencies: 'Null', Tokens: 'Null', Vesting: 'Null', EaveTreasury: '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', GeneralCouncil: 'CollectiveOrigin', GeneralCouncilMembership: 'Null', EYECouncil: 'CollectiveOrigin', EYECouncilMembership: 'Null', ElpCouncil: 'CollectiveOrigin', ElpCouncilMembership: 'Null', TechnicalCommittee: 'CollectiveOrigin', TechnicalCommitteeMembership: 'Null', Authority: 'DelayedOrigin', ElectionsPhragmen: 'Null', EaveOracle: 'Null', BandOracle: 'Null', OperatorMembershipEave: 'Null', OperatorMembershipBand: 'Null', Auction: 'Null', Rewards: 'Null', OrmlNFT: 'Null', Prices: 'Null', Dex: 'Null', AuctionManager: 'Null', Loans: 'Null', EYE: 'Null', CdpTreasury: 'Null', CdpEngine: 'Null', EmergencyShutdown: 'Null', Elp: 'Null', NomineesElection: 'Null', StakingPool: 'Null', PezkuwiBridge: 'Null', Incentives: 'Null', AirDrop: 'Null', NFT: 'Null', RenVmBridge: 'Null', Contracts: 'Null', EVM: 'Null', Sudo: 'Null', TransactionPayment: 'Null' } }, Params: { targetMaxFreeUnbondedRatio: 'Ratio', targetMinFreeUnbondedRatio: 'Ratio', targetUnbondingToFreeRatio: 'Ratio', unbondingToFreeAdjustment: 'Ratio', baseFeeRate: 'Rate' }, PezkuwiAccountId: 'AccountId', PezkuwiAccountIdOf: 'PezkuwiAccountId', PoolId: { _enum: { Loans: 'CurrencyId', DexIncentive: 'CurrencyId', DexSaving: 'CurrencyId', Elp: 'Null' } }, PoolInfo: { totalShares: 'Compact', totalRewards: 'Compact', totalWithdrawnRewards: 'Compact' }, Position: { collateral: 'Balance', debit: 'Balance' }, Price: 'FixedU128', Properties: { _set: { _bitLength: 8, Transferable: 1, Burnable: 2 } }, PublicKey: '[u8; 20]', Rate: 'FixedU128', Ratio: 'FixedU128', RedeemStrategy: { _enum: { Immediately: 'Null', Target: 'EraIndex', WaitForUnbonding: 'Null' } }, RelaychainAccountId: 'AccountId', RiskManagementParams: { maximumTotalDebitValue: 'Balance', stabilityFee: 'Option', liquidationRatio: 'Option', liquidationPenalty: 'Option', requiredCollateralRatio: 'Option' }, RpcDataProviderId: 'Text', ScheduleTaskIndex: 'u32', Share: 'u128', StorageKeyBytes: 'Vec', StorageValue: 'Vec', StorageValueBytes: 'Vec', SubAccountStatus: { bonded: 'Balance', available: 'Balance', unbonding: 'Vec<(EraIndex,Balance)>', mockRewardRate: 'Rate' }, SurplusAuctionItem: { amount: 'Compact', startTime: 'BlockNumber' }, TimestampedValue: { value: 'OracleValue', timestamp: 'Moment' }, TimestampedValueOf: 'TimestampedValue', TokenBalanceOf: 'Balance', TokenData: { deposit: 'Balance' }, TokenId: 'u64', TokenIdOf: 'TokenId', TokenInfo: { name: 'Text', symbol: 'Text', decimals: 'u8', owner: 'AccountId' }, TokenInfoOf: { metadata: 'CID', owner: 'AccountId', data: 'TokenData' }, TokenSymbol: { _enum: { EAVE: 0, EUSD: 1, HEZ: 2, LDOT: 3, XBTC: 4, RENBTC: 5, INTERBTC: 6, PLM: 7, PHA: 8, HDT: 9, ICE: 128, IUSD: 129, DCL: 130, LKSM: 131, SDN: 135, KILT: 138 } }, TradingPair: '(CurrencyId, CurrencyId)', TradingPairProvisionParameters: { minContribution: '(Balance, Balance)', targetProvision: '(Balance, Balance)', accumulatedProvision: '(Balance, Balance)', notBefore: 'BlockNumber' }, TradingPairStatus: { _enum: { NotEnabled: 'Null', Provisioning: 'TradingPairProvisionParameters', Enabled: 'Null' } }, VestingScheduleOf: 'OrmlVestingSchedule', XCurrencyId: { chainId: 'ChainId', currencyId: 'Vec' } } } ] }; export default definitions;