Skip to content

Commit

Permalink
Add FullIdentification to chainx_types.json (paritytech#263)
Browse files Browse the repository at this point in the history
* Add FullIdentification type

* Update res/chainx_types.json
  • Loading branch information
liuchengxu committed Sep 23, 2020
1 parent bb1edc8 commit f001447
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
1 change: 1 addition & 0 deletions scripts/chainx-js/chainx_types_manual.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@
},
"OrderInfo": "Order",
"HandicapInfo": "Handicap",
"FullIdentification": "ValidatorId",
"Price": "Balance",
"WithdrawalRecordOf": "WithdrawalRecord",
"WithdrawalRecordForRpc": {
Expand Down
21 changes: 5 additions & 16 deletions scripts/chainx-js/res/chainx_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,6 @@
"Polkadot"
]
},
"XRC20Selector": {
"_enum": [
"BalanceOf",
"TotalSupply",
"Name",
"Symbol",
"Decimals",
"Issue",
"Destroy"
]
},
"OrderType": {
"_enum": [
"Limit",
Expand All @@ -54,11 +43,11 @@
},
"Memo": "Text",
"AssetInfo": {
"token": "Token",
"tokenName": "Token",
"token": "String",
"tokenName": "String",
"chain": "Chain",
"decimals": "Decimals",
"desc": "Desc"
"desc": "String"
},
"TradingPairProfile": {
"id": "TradingPairId",
Expand Down Expand Up @@ -165,7 +154,6 @@
"Desc": "Text",
"Token": "Text",
"AddrStr": "Text",
"Selector": "[u8; 4]",
"HandicapInfo": "Handicap",
"Price": "Balance",
"OrderId": "u64",
Expand Down Expand Up @@ -410,6 +398,7 @@
"String": "Text",
"Balance": "u128",
"MiningPower": "u128",
"FullIdentification": "ValidatorId",
"WithdrawalRecordOf": "WithdrawalRecord",
"WithdrawalRecordForRpc": {
"assetId": "AssetId",
Expand All @@ -420,4 +409,4 @@
"height": "BlockNumber",
"state": "WithdrawalState"
}
}
}

0 comments on commit f001447

Please sign in to comment.