[ { "constant": false, "inputs": [], "name": "newValidatorSet", "outputs": [ { "name": "", "type": "bool" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "MAX_VALIDATORS", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "indexed": true, "name": "parentHash", "type": "bytes32" }, { "indexed": false, "name": "newSet", "type": "address[]" } ], "name": "InitiateChange", "type": "event", "anonymous": false }, { "inputs": [], "name": "clearUnremovableValidator", "type": "function", "constant": false, "outputs": [], "payable": false, "stateMutability": "nonpayable" }, { "inputs": [], "name": "emitInitiateChange", "type": "function", "constant": false, "outputs": [], "payable": false, "stateMutability": "nonpayable" }, { "inputs": [], "name": "finalizeChange", "type": "function", "constant": false, "outputs": [], "payable": false, "stateMutability": "nonpayable" }, { "inputs": [ { "name": "_blockRewardContract", "type": "address" }, { "name": "_randomContract", "type": "address" }, { "name": "_stakingContract", "type": "address" }, { "name": "_initialMiningAddresses", "type": "address[]" }, { "name": "_initialStakingAddresses", "type": "address[]" }, { "name": "_firstValidatorIsUnremovable", "type": "bool" } ], "name": "initialize", "type": "function", "constant": false, "outputs": [], "payable": false, "stateMutability": "nonpayable" }, { "inputs": [ { "name": "_miningAddress", "type": "address" }, { "name": "_stakingAddress", "type": "address" } ], "name": "setStakingAddress", "type": "function", "constant": false, "outputs": [], "payable": false, "stateMutability": "nonpayable" }, { "constant": true, "inputs": [ { "name": "_miningAddress", "type": "address" } ], "name": "banCounter", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_miningAddress", "type": "address" } ], "name": "bannedUntil", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "blockRewardContract", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "changeRequestCount", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "emitInitiateChangeCallable", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getPreviousValidators", "outputs": [ { "name": "", "type": "address[]" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getPendingValidators", "outputs": [ { "name": "", "type": "address[]" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getQueueValidators", "outputs": [ { "name": "", "type": "address[]" }, { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getValidators", "outputs": [ { "name": "", "type": "address[]" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "initiateChangeAllowed", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_miningAddress", "type": "address" } ], "name": "isReportValidatorValid", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_miningAddress", "type": "address" } ], "name": "isValidator", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_miningAddress", "type": "address" } ], "name": "isValidatorOnPreviousEpoch", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_miningAddress", "type": "address" } ], "name": "isValidatorBanned", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_stakingAddress", "type": "address" } ], "name": "miningByStakingAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "randomContract", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_miningAddress", "type": "address" } ], "name": "stakingByMiningAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "stakingContract", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "unremovableValidator", "outputs": [ { "name": "stakingAddress", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_miningAddress", "type": "address" } ], "name": "validatorCounter", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_miningAddress", "type": "address" } ], "name": "validatorIndex", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "validatorSetApplyBlock", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" } ]