// Copyright 2017-2021 @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: { EcdsaSignature: '[u8; 65]', EthereumAddress: 'H160', EthereumTxHash: 'H256', MiningInfo: { isMining: 'bool', startBlock: 'Option' }, PayoutPrefs: { commission: 'u32', target: 'AccountId' }, Score: { features: 'Vec', overallScore: 'u32' }, StashInfo: { controller: 'AccountId', payoutPrefs: 'PayoutPrefs' }, WorkerInfo: { machineId: 'Vec', pubkey: 'Vec', lastUpdated: 'u64', score: 'Option', status: 'i32' } } } ] }; export default definitions;