mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-22 05:27:56 +00:00
53 lines
1.2 KiB
TypeScript
53 lines
1.2 KiB
TypeScript
// 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: {
|
|
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;
|