ghost-portal/packages/apps-config/src/api/spec/mathchain.ts
Tarik Gul 384049fb6b
2025 (#11172)
* 2025

* update ci scripts to add access to scripts
2025-01-03 03:59:53 +02:00

53 lines
1.2 KiB
TypeScript

// Copyright 2017-2025 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { OverrideBundleDefinition } from '@polkadot/types/types';
// structs need to be in order
/* eslint-disable sort-keys */
const definitions: OverrideBundleDefinition = {
types: [
{
// on all versions
minmax: [0, undefined],
types: {
Address: 'MultiAddress',
LookupSource: 'MultiAddress',
Balance: 'u128',
RefCount: 'u32',
Account: {
nonce: 'U256',
balance: 'U256'
},
AccountServiceEnum: {
_enum: {
Nickname: 'String',
Ethereum: 'H160'
}
},
MultiAddressDetails: {
nickname: 'AccountServiceEnum',
ethereum: 'AccountServiceEnum'
},
Nickname: 'String',
Ethereum: 'H160',
TransferAmountInfo: {
date: 'u64',
daily_info: 'Balance',
monthly_info: 'Balance',
yearly_info: 'Balance'
},
AccountLimit: {
daily_limit: 'Balance',
monthly_limit: 'Balance',
yearly_limit: 'Balance'
},
Keys: 'SessionKeys2'
}
}
]
};
export default definitions;