poa-scripts-moc/config.json

774 lines
19 KiB
JSON
Raw Normal View History

2017-11-23 06:23:18 -08:00
{
"environment": "live",
"Ethereum": {
"live": {
2017-11-23 10:23:36 -08:00
"rpc": "http://127.0.0.1:8545"
2017-11-23 06:23:18 -08:00
},
"contracts": {
2017-12-11 15:40:14 -08:00
"KeysManager": {
2018-01-29 11:17:50 -08:00
"addr": "0x2b1dbc7390a65dc40f7d64d67ea11b4d627dd1bf",
2017-11-23 06:23:18 -08:00
"abi": [
2018-01-29 11:17:50 -08:00
{
"constant": true,
"inputs": [
{
"name": "",
"type": "address"
}
],
"name": "successfulValidatorClone",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
2017-11-23 06:23:18 -08:00
{
"constant": false,
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_miningKey",
2017-11-23 06:23:18 -08:00
"type": "address"
}
],
2017-12-11 15:40:14 -08:00
"name": "removePayoutKey",
2017-11-23 06:23:18 -08:00
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_miningKey",
2017-11-23 06:23:18 -08:00
"type": "address"
}
],
2017-12-11 15:40:14 -08:00
"name": "removeVotingKey",
2017-11-23 06:23:18 -08:00
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_miningKey",
2017-11-23 06:23:18 -08:00
"type": "address"
}
],
2017-12-11 15:40:14 -08:00
"name": "getVotingByMining",
2017-11-23 06:23:18 -08:00
"outputs": [
{
2017-12-11 15:40:14 -08:00
"name": "",
"type": "address"
2017-11-23 06:23:18 -08:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
2017-12-11 15:40:14 -08:00
"inputs": [
{
2018-01-29 11:17:50 -08:00
"name": "_votingKey",
2017-12-11 15:40:14 -08:00
"type": "address"
}
],
"name": "getMiningKeyByVoting",
2017-11-23 06:23:18 -08:00
"outputs": [
{
"name": "",
2017-12-11 15:40:14 -08:00
"type": "address"
2017-11-23 06:23:18 -08:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
2017-12-11 15:40:14 -08:00
"constant": false,
2017-11-23 06:23:18 -08:00
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_key",
2017-11-23 06:23:18 -08:00
"type": "address"
}
],
2017-12-11 15:40:14 -08:00
"name": "addMiningKey",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "poaNetworkConsensus",
2017-11-23 06:23:18 -08:00
"outputs": [
{
2017-12-11 15:40:14 -08:00
"name": "",
"type": "address"
2017-11-23 06:23:18 -08:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
2017-12-11 15:40:14 -08:00
"type": "address"
2017-11-23 06:23:18 -08:00
}
],
2017-12-11 15:40:14 -08:00
"name": "miningKeyHistory",
2017-11-23 06:23:18 -08:00
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
2017-12-11 15:40:14 -08:00
"name": "getVotingToChangeKeys",
2017-11-23 06:23:18 -08:00
"outputs": [
{
2017-12-11 15:40:14 -08:00
"name": "",
"type": "address"
2017-11-23 06:23:18 -08:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
2017-12-11 15:40:14 -08:00
"constant": true,
"inputs": [],
"name": "getTime",
"outputs": [
2017-11-23 06:23:18 -08:00
{
2017-12-11 15:40:14 -08:00
"name": "",
"type": "uint256"
2017-11-23 06:23:18 -08:00
}
],
"payable": false,
2017-12-11 15:40:14 -08:00
"stateMutability": "view",
2017-11-23 06:23:18 -08:00
"type": "function"
},
{
"constant": true,
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "",
2017-11-23 06:23:18 -08:00
"type": "address"
}
],
2017-12-11 15:40:14 -08:00
"name": "validatorKeys",
2017-11-23 06:23:18 -08:00
"outputs": [
{
2017-12-11 15:40:14 -08:00
"name": "votingKey",
"type": "address"
},
{
"name": "payoutKey",
"type": "address"
},
{
"name": "isMiningActive",
"type": "bool"
},
{
"name": "isVotingActive",
"type": "bool"
},
{
"name": "isPayoutActive",
"type": "bool"
2017-11-23 06:23:18 -08:00
}
],
"payable": false,
2017-12-11 15:40:14 -08:00
"stateMutability": "view",
2017-11-23 06:23:18 -08:00
"type": "function"
},
2018-01-29 11:17:50 -08:00
{
"constant": true,
"inputs": [],
"name": "previousKeysManager",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
2017-11-23 06:23:18 -08:00
{
"constant": true,
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_votingKey",
2017-11-23 06:23:18 -08:00
"type": "address"
}
],
2017-12-11 15:40:14 -08:00
"name": "isVotingActive",
2017-11-23 06:23:18 -08:00
"outputs": [
{
2017-12-11 15:40:14 -08:00
"name": "",
"type": "bool"
2017-11-23 06:23:18 -08:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
2017-12-11 15:40:14 -08:00
"constant": false,
2017-11-23 06:23:18 -08:00
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_key",
2017-11-23 06:23:18 -08:00
"type": "address"
2017-12-11 15:40:14 -08:00
},
2017-11-23 06:23:18 -08:00
{
2017-12-11 15:40:14 -08:00
"name": "_miningKey",
"type": "address"
2017-11-23 06:23:18 -08:00
}
],
2017-12-11 15:40:14 -08:00
"name": "addPayoutKey",
"outputs": [],
2017-11-23 06:23:18 -08:00
"payable": false,
2017-12-11 15:40:14 -08:00
"stateMutability": "nonpayable",
2017-11-23 06:23:18 -08:00
"type": "function"
},
{
"constant": true,
2017-12-11 15:40:14 -08:00
"inputs": [
2017-11-23 06:23:18 -08:00
{
"name": "",
"type": "address"
}
],
2017-12-11 15:40:14 -08:00
"name": "initialKeys",
2017-11-23 06:23:18 -08:00
"outputs": [
{
"name": "",
2017-12-11 15:40:14 -08:00
"type": "uint8"
2017-11-23 06:23:18 -08:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_key",
2017-11-23 06:23:18 -08:00
"type": "address"
2017-12-11 15:40:14 -08:00
},
2017-11-23 06:23:18 -08:00
{
2017-12-11 15:40:14 -08:00
"name": "_miningKey",
2017-11-23 06:23:18 -08:00
"type": "address"
}
],
2017-12-11 15:40:14 -08:00
"name": "swapPayoutKey",
2017-11-23 06:23:18 -08:00
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_miningKey",
2017-11-23 06:23:18 -08:00
"type": "address"
}
],
2017-12-11 15:40:14 -08:00
"name": "getPayoutByMining",
2017-11-23 06:23:18 -08:00
"outputs": [
{
2017-12-11 15:40:14 -08:00
"name": "",
"type": "address"
2017-11-23 06:23:18 -08:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
2017-12-11 15:40:14 -08:00
"constant": false,
2017-11-23 06:23:18 -08:00
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_key",
2017-11-23 06:23:18 -08:00
"type": "address"
}
],
2017-12-11 15:40:14 -08:00
"name": "removeMiningKey",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "maxLimitValidators",
2017-11-23 06:23:18 -08:00
"outputs": [
{
2017-12-11 15:40:14 -08:00
"name": "",
2017-11-23 06:23:18 -08:00
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
2018-01-29 11:17:50 -08:00
{
"constant": false,
"inputs": [
{
"name": "_miningKey",
"type": "address"
}
],
"name": "migrateMiningKey",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
2017-11-23 06:23:18 -08:00
{
2017-12-11 15:40:14 -08:00
"constant": false,
2017-11-23 06:23:18 -08:00
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_initialKey",
2017-11-23 06:23:18 -08:00
"type": "address"
}
],
2017-12-11 15:40:14 -08:00
"name": "initiateKeys",
"outputs": [],
2017-11-23 06:23:18 -08:00
"payable": false,
2017-12-11 15:40:14 -08:00
"stateMutability": "nonpayable",
2017-11-23 06:23:18 -08:00
"type": "function"
},
{
2017-12-11 15:40:14 -08:00
"constant": false,
2017-11-23 06:23:18 -08:00
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_key",
2017-11-23 06:23:18 -08:00
"type": "address"
2017-12-11 15:40:14 -08:00
},
2017-11-23 06:23:18 -08:00
{
2017-12-11 15:40:14 -08:00
"name": "_miningKey",
"type": "address"
2017-11-23 06:23:18 -08:00
}
],
2017-12-11 15:40:14 -08:00
"name": "addVotingKey",
"outputs": [],
2017-11-23 06:23:18 -08:00
"payable": false,
2017-12-11 15:40:14 -08:00
"stateMutability": "nonpayable",
2017-11-23 06:23:18 -08:00
"type": "function"
},
2018-01-29 11:17:50 -08:00
{
"constant": false,
"inputs": [
{
"name": "_initialKey",
"type": "address"
}
],
"name": "migrateInitialKey",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
2017-11-23 06:23:18 -08:00
{
"constant": true,
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_key",
2017-11-23 06:23:18 -08:00
"type": "address"
}
],
2017-12-11 15:40:14 -08:00
"name": "isMiningActive",
2017-11-23 06:23:18 -08:00
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
2018-01-29 11:17:50 -08:00
{
"constant": true,
"inputs": [],
"name": "contractVersion",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
2017-11-23 06:23:18 -08:00
{
"constant": true,
2017-12-15 10:02:31 -08:00
"inputs": [
{
"name": "_miningKey",
"type": "address"
}
],
"name": "getMiningKeyHistory",
2017-11-23 06:23:18 -08:00
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
2017-12-15 10:02:31 -08:00
"name": "proxyStorage",
2017-11-23 06:23:18 -08:00
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
2017-12-15 10:02:31 -08:00
{
"constant": true,
"inputs": [
{
"name": "_initialKey",
"type": "address"
}
],
"name": "getInitialKey",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
2017-11-23 06:23:18 -08:00
{
"constant": false,
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_miningKey",
2017-11-23 06:23:18 -08:00
"type": "address"
},
{
2017-12-11 15:40:14 -08:00
"name": "_votingKey",
2017-11-23 06:23:18 -08:00
"type": "address"
},
{
2017-12-11 15:40:14 -08:00
"name": "_payoutKey",
2017-11-23 06:23:18 -08:00
"type": "address"
}
],
2017-12-11 15:40:14 -08:00
"name": "createKeys",
2017-12-15 18:54:12 -08:00
"outputs": [],
2017-11-23 06:23:18 -08:00
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
2017-12-15 18:54:12 -08:00
"inputs": [],
2017-12-11 15:40:14 -08:00
"name": "initialKeysCount",
2017-11-23 06:23:18 -08:00
"outputs": [
{
2017-12-11 15:40:14 -08:00
"name": "",
2017-11-23 06:23:18 -08:00
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_key",
"type": "address"
},
{
"name": "_miningKey",
2017-11-23 06:23:18 -08:00
"type": "address"
}
],
2017-12-11 15:40:14 -08:00
"name": "swapVotingKey",
2017-11-23 06:23:18 -08:00
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
2017-12-11 15:40:14 -08:00
"constant": false,
2017-11-23 06:23:18 -08:00
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_key",
2017-11-23 06:23:18 -08:00
"type": "address"
2017-12-11 15:40:14 -08:00
},
2017-11-23 06:23:18 -08:00
{
2017-12-11 15:40:14 -08:00
"name": "_oldMiningKey",
"type": "address"
2017-11-23 06:23:18 -08:00
}
],
2017-12-11 15:40:14 -08:00
"name": "swapMiningKey",
2017-12-15 18:54:12 -08:00
"outputs": [],
2017-11-23 06:23:18 -08:00
"payable": false,
2017-12-11 15:40:14 -08:00
"stateMutability": "nonpayable",
2017-11-23 06:23:18 -08:00
"type": "function"
},
{
"constant": true,
2017-12-11 15:40:14 -08:00
"inputs": [],
"name": "maxNumberOfInitialKeys",
2017-11-23 06:23:18 -08:00
"outputs": [
{
2017-12-11 15:40:14 -08:00
"name": "",
"type": "uint256"
2017-11-23 06:23:18 -08:00
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
2017-12-15 10:02:31 -08:00
"inputs": [
{
"name": "",
"type": "address"
}
],
"name": "miningKeyByVoting",
2017-11-23 06:23:18 -08:00
"outputs": [
{
2017-12-11 15:40:14 -08:00
"name": "",
2017-11-23 06:23:18 -08:00
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
2017-12-11 15:40:14 -08:00
"constant": true,
2017-12-15 18:54:12 -08:00
"inputs": [],
2017-12-15 10:02:31 -08:00
"name": "masterOfCeremony",
"outputs": [
{
"name": "",
"type": "address"
}
2017-12-15 18:54:12 -08:00
],
"payable": false,
"stateMutability": "view",
"type": "function"
2017-12-15 10:02:31 -08:00
},
{
2017-12-15 18:54:12 -08:00
"constant": true,
2017-11-23 06:23:18 -08:00
"inputs": [
{
2017-12-11 15:40:14 -08:00
"name": "_miningKey",
"type": "address"
2017-11-23 06:23:18 -08:00
}
],
2017-12-11 15:40:14 -08:00
"name": "isPayoutActive",
2017-11-23 06:23:18 -08:00
"outputs": [
{
"name": "",
2017-12-11 15:40:14 -08:00
"type": "bool"
2017-11-23 06:23:18 -08:00
}
],
"payable": false,
2017-12-15 18:54:12 -08:00
"stateMutability": "view",
"type": "function"
2017-11-23 06:23:18 -08:00
},
{
2017-12-11 15:40:14 -08:00
"inputs": [
2017-11-23 06:23:18 -08:00
{
2017-12-11 15:40:14 -08:00
"name": "_proxyStorage",
"type": "address"
},
{
"name": "_poaConsensus",
"type": "address"
},
{
"name": "_masterOfCeremony",
"type": "address"
2018-01-29 11:17:50 -08:00
},
{
"name": "_previousKeysManager",
"type": "address"
2017-11-23 06:23:18 -08:00
}
],
"payable": false,
2017-12-15 18:54:12 -08:00
"stateMutability": "nonpayable",
"type": "constructor"
2017-11-23 06:23:18 -08:00
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
2017-12-11 15:40:14 -08:00
"name": "key",
2017-11-23 06:23:18 -08:00
"type": "address"
},
{
2017-12-11 15:40:14 -08:00
"indexed": true,
2017-11-23 06:23:18 -08:00
"name": "miningKey",
"type": "address"
},
{
2017-12-11 15:40:14 -08:00
"indexed": false,
"name": "action",
2017-11-23 06:23:18 -08:00
"type": "string"
}
],
2017-12-11 15:40:14 -08:00
"name": "PayoutKeyChanged",
"type": "event"
2017-11-23 06:23:18 -08:00
},
{
2017-12-11 15:40:14 -08:00
"anonymous": false,
2017-11-23 06:23:18 -08:00
"inputs": [
{
2017-12-11 15:40:14 -08:00
"indexed": false,
"name": "key",
2017-11-23 06:23:18 -08:00
"type": "address"
},
{
2017-12-11 15:40:14 -08:00
"indexed": true,
"name": "miningKey",
2017-11-23 06:23:18 -08:00
"type": "address"
},
{
2017-12-11 15:40:14 -08:00
"indexed": false,
"name": "action",
"type": "string"
2017-11-23 06:23:18 -08:00
}
],
2017-12-11 15:40:14 -08:00
"name": "VotingKeyChanged",
"type": "event"
2017-11-23 06:23:18 -08:00
},
{
2017-12-11 15:40:14 -08:00
"anonymous": false,
2017-11-23 06:23:18 -08:00
"inputs": [
{
2017-12-11 15:40:14 -08:00
"indexed": false,
"name": "key",
2017-11-23 06:23:18 -08:00
"type": "address"
2017-12-11 15:40:14 -08:00
},
2017-11-23 06:23:18 -08:00
{
2017-12-11 15:40:14 -08:00
"indexed": false,
"name": "action",
"type": "string"
2017-11-23 06:23:18 -08:00
}
],
2017-12-11 15:40:14 -08:00
"name": "MiningKeyChanged",
"type": "event"
2017-11-23 06:23:18 -08:00
},
{
2017-12-11 15:40:14 -08:00
"anonymous": false,
2017-11-23 06:23:18 -08:00
"inputs": [
{
2017-12-11 15:40:14 -08:00
"indexed": true,
2017-11-23 06:23:18 -08:00
"name": "miningKey",
"type": "address"
2017-12-11 15:40:14 -08:00
},
2017-11-23 06:23:18 -08:00
{
2017-12-11 15:40:14 -08:00
"indexed": true,
2017-11-23 06:23:18 -08:00
"name": "votingKey",
"type": "address"
2017-12-11 15:40:14 -08:00
},
2017-11-23 06:23:18 -08:00
{
2017-12-11 15:40:14 -08:00
"indexed": true,
"name": "payoutKey",
2017-11-23 06:23:18 -08:00
"type": "address"
}
],
2017-12-11 15:40:14 -08:00
"name": "ValidatorInitialized",
"type": "event"
2017-11-23 06:23:18 -08:00
},
{
2017-12-11 15:40:14 -08:00
"anonymous": false,
2017-11-23 06:23:18 -08:00
"inputs": [
{
2017-12-11 15:40:14 -08:00
"indexed": true,
"name": "initialKey",
2017-11-23 06:23:18 -08:00
"type": "address"
},
{
2017-12-11 15:40:14 -08:00
"indexed": false,
"name": "time",
"type": "uint256"
},
{
"indexed": false,
"name": "initialKeysCount",
"type": "uint256"
2017-11-23 06:23:18 -08:00
}
],
2017-12-11 15:40:14 -08:00
"name": "InitialKeyCreated",
"type": "event"
2018-01-29 11:17:50 -08:00
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "name",
"type": "string"
},
{
"indexed": false,
"name": "key",
"type": "address"
}
],
"name": "Migrated",
"type": "event"
2017-11-23 06:23:18 -08:00
}
]
}
}
}
}