39 lines
869 B
TypeScript
39 lines
869 B
TypeScript
// Copyright 2017-2025 @polkadot/apps-config authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
|
|
|
/* eslint-disable sort-keys */
|
|
const definitions: OverrideBundleDefinition = {
|
|
types: [
|
|
{
|
|
// on all versions
|
|
minmax: [0, undefined],
|
|
types: {
|
|
Address: 'MultiAddress',
|
|
LookupSource: 'MultiAddress',
|
|
Account: {
|
|
nonce: 'U256',
|
|
balance: 'U256'
|
|
},
|
|
Transaction: {
|
|
nonce: 'U256',
|
|
action: 'String',
|
|
gas_price: 'u64',
|
|
gas_limit: 'u64',
|
|
value: 'U256',
|
|
input: 'Vec<u8>',
|
|
signature: 'Signature'
|
|
},
|
|
Signature: {
|
|
v: 'u64',
|
|
r: 'H256',
|
|
s: 'H256'
|
|
}
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
export default definitions;
|