ghost-portal/packages/apps-config/src/api/spec/torus.ts
Ed. fc285cba20
feat: Add Torus Network Chain (#11175)
* feat: Add Torus Network Chain

* feat: Add Torus logo to production endpoints

* fix: Update copyright year in auto-generated Torus PNG file

* fix: sort torus url in `production.ts`
2025-01-18 08:38:14 -05:00

35 lines
820 B
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: {
Balance: 'u128',
ValidatorFee: {
stakingFee: 'Percent',
weightControlFee: 'Percent'
},
AgentMetadata: {
key: 'AccountId32',
name: 'Vec<u8>',
url: 'Vec<u8>',
metadata: 'Vec<u8>',
weight_penalty_factor: 'Percent',
registration_block: 'u64',
fees: 'ValidatorFee'
}
}
}
]
};
export default definitions;