update crab 0.6.11 types (#3682)

This commit is contained in:
WoeOm 2020-09-15 13:31:04 +08:00 committed by GitHub
parent c9365c0188
commit ca9f79fbdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,9 +91,7 @@ export default {
own_kton_balance: 'Compact<Balance>',
own_power: 'Power',
total_power: 'Power',
others: 'Vec<IndividualExposure>',
total: 'Compact<Balance>',
own: 'Compact<Balance>'
others: 'Vec<IndividualExposure>'
},
IndividualExposure: {
who: 'AccountId',
@ -128,29 +126,36 @@ export default {
ring_value: 'Balance',
kton_value: 'Balance',
ring_bond: 'Balance',
kton_bond: 'Balance',
value: 'Balance',
bond: 'Balance'
kton_bond: 'Balance'
},
EthTransactionIndex: '(H256, u64)',
EthHeaderBrief: {
MappedRing: 'u128',
EthereumTransactionIndex: '(H256, u64)',
EthereumHeaderBrief: {
total_difficulty: 'U256',
parent_hash: 'H256',
number: 'EthBlockNumber',
number: 'EthereumBlockNumber',
relayer: 'AccountId'
},
EthBlockNumber: 'u64',
EthHeaderThing: {
eth_header: 'EthHeader',
EthereumBlockNumber: 'u64',
EthereumHeaderThingWithProof: {
header: 'EthereumHeader',
ethash_proof: 'Vec<EthashProof>',
mmr_root: 'MMRHash',
mmr_proof: 'Vec<MMRHash>'
mmr_root: 'H256',
mmr_proof: 'Vec<H256>'
},
EthHeader: {
ConfirmedEthereumHeaderInfo: {
header: 'EthereumHeader',
mmr_root: 'H256'
},
EthereumHeaderThing: {
header: 'EthereumHeader',
mmr_root: 'H256'
},
EthereumHeader: {
parent_hash: 'H256',
timestamp: 'u64',
number: 'EthBlockNumber',
author: 'EthAddress',
number: 'EthereumBlockNumber',
author: 'EthereumAddress',
transactions_root: 'H256',
uncles_hash: 'H256',
extra_data: 'Bytes',
@ -163,14 +168,14 @@ export default {
seal: 'Vec<Bytes>',
hash: 'Option<H256>'
},
EthAddress: 'H160',
EthereumAddress: 'H160',
Bloom: '[u8; 256; Bloom]',
H128: '[u8; 16; H128]',
EthashProof: {
dag_nodes: '(H512, H512)',
proof: 'Vec<H128>'
},
Receipt: {
EthereumReceipt: {
gas_used: 'U256',
log_bloom: 'Bloom',
logs: 'Vec<LogEntry>',
@ -184,8 +189,7 @@ export default {
},
RedeemFor: {
_enum: {
Ring: null,
Kton: null,
Token: null,
Deposit: null
}
},
@ -194,7 +198,12 @@ export default {
proof: 'Bytes',
header_hash: 'H256'
},
MMRProof: 'Vec<H256>',
EthereumReceiptProofThing: '(EthereumHeader, EthereumReceiptProof, MMRProof)',
MMRProof: {
member_leaf_index: 'u64',
last_leaf_index: 'u64',
proof: 'Vec<H256>'
},
OtherSignature: {
_enum: {
Eth: 'EcdsaSignature',
@ -214,12 +223,16 @@ export default {
mmr_root: 'Hash'
},
Round: 'u64',
TcBlockNumber: 'Vec<u8>',
TcHeaderHash: 'Vec<u8>',
TcHeaderMMR: 'Vec<u8>',
MMRHash: 'Vec<u8>',
TcHeaderThingWithProof: 'EthereumHeaderThingWithProof',
TcHeaderThing: 'EthereumHeaderThing',
TcBlockNumber: 'u64',
TcHeaderHash: 'H256',
GameId: 'TcBlockNumber',
RawHeaderThing: 'Vec<u8>',
RelayProposalT: {
relayer: 'AccountId',
bonded_proposal: 'Vec<(Balance, TcHeaderThing)>',
extend_from_header_hash: 'Option<TcHeaderHash>'
},
BalancesRuntimeDispatchInfo: {
usable_balance: 'Balance'
},