Add centrifuge chain types (#2268)
This commit is contained in:
parent
1c9d87ba03
commit
c6a2f341f3
26
packages/react-api/src/overrides/spec/centrifuge-chain.ts
Normal file
26
packages/react-api/src/overrides/spec/centrifuge-chain.ts
Normal file
@ -0,0 +1,26 @@
|
||||
// Copyright 2017-2020 @polkadot/react-api authors & contributors
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
export default {
|
||||
AnchorData: {
|
||||
id: 'H256',
|
||||
docRoot: 'H256',
|
||||
anchoredBlock: 'u64'
|
||||
},
|
||||
Fee: {
|
||||
key: 'Hash',
|
||||
price: 'Balance'
|
||||
},
|
||||
PreCommitData: {
|
||||
signingRoot: 'H256',
|
||||
identity: 'H256',
|
||||
expirationBlock: 'u64'
|
||||
},
|
||||
Proof: {
|
||||
leafHash: 'H256',
|
||||
sortedHashes: 'H256'
|
||||
},
|
||||
// Workarounds
|
||||
BalanceLock: 'BalanceLockTo212' // workaround for balances not showing up, see https://github.com/polkadot-js/apps/issues/2236
|
||||
};
|
||||
@ -2,10 +2,12 @@
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
import centrifugeChain from './centrifuge-chain';
|
||||
import edgeware from './edgeware';
|
||||
import kulupu from './kulupu';
|
||||
|
||||
export default {
|
||||
'centrifuge-chain': centrifugeChain,
|
||||
edgeware,
|
||||
kulupu
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user