898 lines
16 KiB
JSON
898 lines
16 KiB
JSON
[
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_initialKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "getInitialKeyStatus",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0x17706507"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_previousKeysManager",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "init",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function",
|
|
"signature": "0x19ab453c"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "successfulValidatorClone",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0x1e48e146"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "removePayoutKey",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function",
|
|
"signature": "0x1e534e71"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "removeVotingKey",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function",
|
|
"signature": "0x2a968f49"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "getVotingByMining",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0x2befe2e1"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_votingKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "getMiningKeyByVoting",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0x2d260227"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_key",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "addMiningKey",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function",
|
|
"signature": "0x38949514"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "poaNetworkConsensus",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0x4433418f"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "miningKeyHistory",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0x458779da"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "getVotingToChangeKeys",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0x49285b58"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "initDisabled",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0x52a36938"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "getTime",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0x557ed1ba"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "validatorKeys",
|
|
"outputs": [
|
|
{
|
|
"name": "validatorVotingKey",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "validatorPayoutKey",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "isValidatorMiningActive",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "isValidatorVotingActive",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "isValidatorPayoutActive",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0x5c0569f8"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "previousKeysManager",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0x62907170"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_votingKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "isVotingActive",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0x62b46d64"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_key",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "addPayoutKey",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function",
|
|
"signature": "0x651ebb5f"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_currentKey",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "_newKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "checkIfMiningExisted",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0x731fcb9a"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_key",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "swapPayoutKey",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function",
|
|
"signature": "0x771ae299"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "getPayoutByMining",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0x7cded930"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_key",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "removeMiningKey",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function",
|
|
"signature": "0x7ebf43fc"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "maxLimitValidators",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "pure",
|
|
"type": "function",
|
|
"signature": "0x81b03427"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "migrateMiningKey",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function",
|
|
"signature": "0x85b84ccb"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_initialKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "initiateKeys",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function",
|
|
"signature": "0x8743e882"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_key",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "addVotingKey",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function",
|
|
"signature": "0x9503ab72"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_initialKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "migrateInitialKey",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function",
|
|
"signature": "0x98943eb6"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_key",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "isMiningActive",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0x9bc91c22"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "getMiningKeyHistory",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0xa5a36dee"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "proxyStorage",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0xae4b1b5b"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "maxOldMiningKeysDeepCheck",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "pure",
|
|
"type": "function",
|
|
"signature": "0xb9bdaa07"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_payoutKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "miningKeyByPayout",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0xc04455b5"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "_votingKey",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "_payoutKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "createKeys",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function",
|
|
"signature": "0xc6232a15"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "initialKeysCount",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0xd2acbc12"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_key",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "swapVotingKey",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function",
|
|
"signature": "0xd33eb5ae"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_key",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "_oldMiningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "swapMiningKey",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function",
|
|
"signature": "0xd44379cf"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "isVotingActiveByMiningKey",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0xdb7cf00b"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "maxNumberOfInitialKeys",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "pure",
|
|
"type": "function",
|
|
"signature": "0xe7f57c83"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_votingKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "miningKeyByVoting",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0xfa46eacd"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "masterOfCeremony",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0xfa81b200"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_miningKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "isPayoutActive",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function",
|
|
"signature": "0xfee09285"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": false,
|
|
"name": "key",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"name": "action",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"name": "MiningKeyChanged",
|
|
"type": "event",
|
|
"signature": "0x31511048ccdf9fbe46c149f8f729923c1232debeff658d242292f37365b45718"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": false,
|
|
"name": "key",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"name": "miningKey",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"name": "action",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"name": "VotingKeyChanged",
|
|
"type": "event",
|
|
"signature": "0x3c12ed73d04c6ac636caa62bedf7896dc1452a189bd7fcdbcae6e9765233ca55"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": false,
|
|
"name": "key",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"name": "miningKey",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"name": "action",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"name": "PayoutKeyChanged",
|
|
"type": "event",
|
|
"signature": "0x568d585fdb4f8eee3a22e8b798c49e9d6ac5fbfced5bc1b872a74808e3be7c7d"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"name": "miningKey",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"name": "votingKey",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"name": "payoutKey",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "ValidatorInitialized",
|
|
"type": "event",
|
|
"signature": "0x09b714df46e3a39ff284866b80612984e10c731561c157cd03aca91e436808a5"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"name": "initialKey",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"name": "time",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"name": "initialKeysCount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "InitialKeyCreated",
|
|
"type": "event",
|
|
"signature": "0x8f0993529f6c865998786a88a06fce1f0261f632bf90ee1b50fa640338d5e936"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": false,
|
|
"name": "name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"name": "key",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "Migrated",
|
|
"type": "event",
|
|
"signature": "0x495f7fdbe153771103489f5c94591c07cd8e655814d1f12739f591b94411ec07"
|
|
}
|
|
] |