0x/ethereum-types: Add geth eth_call types.

`0x/json-schemas`: Add geth eth_call properties to `CallData`.
`@0x/web3-wrapper`: Add geth geth eth_call support.
This commit is contained in:
Lawrence Forman
2020-07-01 15:26:08 -04:00
parent b2dc6ad2fa
commit 13ae335811
8 changed files with 92 additions and 1 deletions

View File

@@ -19,6 +19,24 @@
"nonce": {
"type": "number",
"minimum": 0
},
"overrides": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"code": {
"type": "string",
"pattern": "^0x[0-9a-f]*$"
},
"nonce": {
"oneOf": [{ "$ref": "/numberSchema" }, { "$ref": "/jsNumberSchema" }]
},
"value": {
"oneOf": [{ "$ref": "/numberSchema" }, { "$ref": "/jsNumberSchema" }]
}
}
}
}
},
"required": [],