Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add more polkadot js types #104

Merged
merged 17 commits into from
Nov 17, 2020
16 changes: 8 additions & 8 deletions polkadot-js/alphanet-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
}
},
"Transaction": {
"action": "String",
"block_hash": "Option<H256>",
"block_number": "Option<U256>",
"chain_id": "Option<u64>",
Expand All @@ -24,26 +23,19 @@
"from": "H160",
"gas": "U256",
"gas_price": "U256",
"gas_limit": "u64",
"hash": "H256",
"input": "Bytes",
"nonce": "U256",
"public_key": "Option<H512>",
"r": "U256",
joelamouche marked this conversation as resolved.
Show resolved Hide resolved
"raw": "Bytes",
"s": "U256",
"signature": "Signature",
"standard_v": "U256",
"to": "Option<H160>",
"transaction_index": "Option<U256>",
"v": "U256",
"value": "U256"
},
"Signature": {
"v": "u64",
"r": "H256",
"s": "H256"
},
"TransactionStatus": {
"transaction_hash": "H256",
"transaction_index": "u32",
Expand All @@ -67,5 +59,13 @@
"state_root": "Option<H256>",
"logs_bloom": "H2048",
"status_code": "Option<U64>"
},
"ExitReason": {
"_enum": {
"ExitSucceed": "bool",
"ExitError": "bool",
"ExitRevert": "bool",
"ExitFatal": "bool"
}
JoshOrndorff marked this conversation as resolved.
Show resolved Hide resolved
}
}
16 changes: 8 additions & 8 deletions polkadot-js/standalone-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
}
},
"Transaction": {
"action": "String",
"block_hash": "Option<H256>",
"block_number": "Option<U256>",
"chain_id": "Option<u64>",
Expand All @@ -24,26 +23,19 @@
"from": "H160",
"gas": "U256",
"gas_price": "U256",
"gas_limit": "u64",
"hash": "H256",
"input": "Bytes",
"nonce": "U256",
"public_key": "Option<H512>",
"r": "U256",
"raw": "Bytes",
"s": "U256",
"signature": "Signature",
"standard_v": "U256",
"to": "Option<H160>",
"transaction_index": "Option<U256>",
"v": "U256",
"value": "U256"
},
"Signature": {
"v": "u64",
"r": "H256",
"s": "H256"
},
"TransactionStatus": {
"transaction_hash": "H256",
"transaction_index": "u32",
Expand All @@ -67,5 +59,13 @@
"state_root": "Option<H256>",
"logs_bloom": "H2048",
"status_code": "Option<U64>"
},
"ExitReason": {
"_enum": {
"ExitSucceed": "bool",
"ExitError": "bool",
"ExitRevert": "bool",
"ExitFatal": "bool"
}
}
}