c060d9584d
* Refactor updater to use ethabi-derive * Grumble: do_call type alias * Empty commit to trigger test re-run * migration to ethabi-5.0 * migration to ethabi-5.0 in progress * use ethabi_deriven to generate TransactAcl contract * use ethabi_deriven to generate Registry contract * hash-fetch uses ethabi_derive, removed retain cycle from updater, fixed #7720 * node-filter crate uses ethabi_derive to generate peer_set contract interface * use LruCache in node-filter instead of HashMap * validator_set engine uses ethabi_derive * ethcore does not depend on native_contracts * miner does no depend on native_contracts * secret_store does not use native_contracts (in progress) * removed native-contracts * ethcore and updater does not depend on futures * updated ethereum-types * fixed all warnings caused by using new version of ethereum-types * updated ethabi_derive && ethabi_contract to get rid of warnings * removed another retain cycle in updater, fixed following minor version on update * moved contracts out of native_contracts res * updated ethabi_contract * fixed failing test * fixed failing test * there is no need to create two contracts of the same kind any more * simplify updater::ReleaseTrack conversion into u8 and add several tests for it * applied review suggestions * applied review suggestions
561 lines
7.4 KiB
JSON
561 lines
7.4 KiB
JSON
[
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_client",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "_newOwner",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "resetClientOwner",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_client",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "_release",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "isLatest",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_txid",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "rejectTransaction",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_newOwner",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "setOwner",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_number",
|
|
"type": "uint32"
|
|
},
|
|
{
|
|
"name": "_name",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "_hard",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "_spec",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "proposeFork",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_client",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "removeClient",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_client",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "_release",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "release",
|
|
"outputs": [
|
|
{
|
|
"name": "o_forkBlock",
|
|
"type": "uint32"
|
|
},
|
|
{
|
|
"name": "o_track",
|
|
"type": "uint8"
|
|
},
|
|
{
|
|
"name": "o_semver",
|
|
"type": "uint24"
|
|
},
|
|
{
|
|
"name": "o_critical",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_client",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "_checksum",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "build",
|
|
"outputs": [
|
|
{
|
|
"name": "o_release",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "o_platform",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [],
|
|
"name": "rejectFork",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "client",
|
|
"outputs": [
|
|
{
|
|
"name": "owner",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "required",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_newOwner",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "setClientOwner",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint32"
|
|
}
|
|
],
|
|
"name": "fork",
|
|
"outputs": [
|
|
{
|
|
"name": "name",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "spec",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "hard",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "ratified",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "requiredCount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_release",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "_platform",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "_checksum",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "addChecksum",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_txid",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "confirmTransaction",
|
|
"outputs": [
|
|
{
|
|
"name": "txSuccess",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "proxy",
|
|
"outputs": [
|
|
{
|
|
"name": "requiredCount",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"name": "to",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": "bytes"
|
|
},
|
|
{
|
|
"name": "value",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"name": "gas",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_client",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "_owner",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "addClient",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "clientOwner",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_txid",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "_to",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "_data",
|
|
"type": "bytes"
|
|
},
|
|
{
|
|
"name": "_value",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"name": "_gas",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "proposeTransaction",
|
|
"outputs": [
|
|
{
|
|
"name": "txSuccess",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "grandOwner",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_release",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "_forkBlock",
|
|
"type": "uint32"
|
|
},
|
|
{
|
|
"name": "_track",
|
|
"type": "uint8"
|
|
},
|
|
{
|
|
"name": "_semver",
|
|
"type": "uint24"
|
|
},
|
|
{
|
|
"name": "_critical",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"name": "addRelease",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [],
|
|
"name": "acceptFork",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "clientsRequired",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint32"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_client",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "_release",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "track",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint8"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_client",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "_r",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"name": "setClientRequired",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "latestFork",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint32"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_client",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "_track",
|
|
"type": "uint8"
|
|
}
|
|
],
|
|
"name": "latestInTrack",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_client",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "_release",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"name": "_platform",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "checksum",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "proposedFork",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint32"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"type": "function"
|
|
}
|
|
]
|