diff --git a/nucypher/blockchain/eth/contract_registry/goerli/contract_registry.json b/nucypher/blockchain/eth/contract_registry/goerli/contract_registry.json index 80babcc8c..7ce056b57 100644 --- a/nucypher/blockchain/eth/contract_registry/goerli/contract_registry.json +++ b/nucypher/blockchain/eth/contract_registry/goerli/contract_registry.json @@ -1 +1 @@ -[["NuCypherToken", "0x894a30aec251c7A38C868e831137514a27C25504", [{"constant": true, "inputs": [], "name": "name", "outputs": [{"name": "", "type": "string"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "spender", "type": "address"}, {"name": "value", "type": "uint256"}], "name": "approve", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "totalSupply", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "from", "type": "address"}, {"name": "to", "type": "address"}, {"name": "value", "type": "uint256"}], "name": "transferFrom", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "decimals", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "spender", "type": "address"}, {"name": "addedValue", "type": "uint256"}], "name": "increaseAllowance", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "owner", "type": "address"}], "name": "balanceOf", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "symbol", "outputs": [{"name": "", "type": "string"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "spender", "type": "address"}, {"name": "subtractedValue", "type": "uint256"}], "name": "decreaseAllowance", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "to", "type": "address"}, {"name": "value", "type": "uint256"}], "name": "transfer", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_spender", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_extraData", "type": "bytes"}], "name": "approveAndCall", "outputs": [{"name": "success", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "owner", "type": "address"}, {"name": "spender", "type": "address"}], "name": "allowance", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_totalSupply", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "from", "type": "address"}, {"indexed": true, "name": "to", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Transfer", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "owner", "type": "address"}, {"indexed": true, "name": "spender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Approval", "type": "event"}]], ["StakingEscrow", "0x3A428c38fEB4893E956B578aCdfC71C62e73cd90", [{"constant": false, "inputs": [{"name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentMintingPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "totalSupply", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "minLockedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_periods", "type": "uint16"}], "name": "getAllLockedTokens", "outputs": [{"name": "lockedTokens", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLastActivePeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"name": "value", "type": "uint256"}, {"name": "confirmedPeriod1", "type": "uint16"}, {"name": "confirmedPeriod2", "type": "uint16"}, {"name": "reStake", "type": "bool"}, {"name": "lockReStakeUntilPeriod", "type": "uint16"}, {"name": "worker", "type": "address"}, {"name": "workerStartPeriod", "type": "uint16"}, {"name": "lastActivePeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getSubStakeInfo", "outputs": [{"name": "firstPeriod", "type": "uint16"}, {"name": "lastPeriod", "type": "uint16"}, {"name": "periods", "type": "uint16"}, {"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "adjudicator", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_stakers", "type": "address[]"}, {"name": "_values", "type": "uint256[]"}, {"name": "_periods", "type": "uint16[]"}], "name": "preDeposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokensInPast", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getReservedReward", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "workerToStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "confirmActivity", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "lock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "miningCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_from", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_tokenContract", "type": "address"}, {"name": "", "type": "bytes"}], "name": "receiveApproval", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getPastDowntime", "outputs": [{"name": "startPeriod", "type": "uint16"}, {"name": "endPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_points", "type": "uint256[]"}, {"name": "_periods", "type": "uint16"}], "name": "sample", "outputs": [{"name": "result", "type": "address[]"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_penalty", "type": "uint256"}, {"name": "_investigator", "type": "address"}, {"name": "_reward", "type": "uint256"}], "name": "slashStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "getStakersLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "lockedPeriodsCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "policyManager", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "EMPTY_CONFIRMED_PERIOD", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply1", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_worker", "type": "address"}], "name": "setWorker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_worker", "type": "address"}], "name": "getStakerFromWorker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minWorkerPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_newValue", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply2", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "rewardedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_token", "type": "address"}, {"name": "_hoursPerPeriod", "type": "uint32"}, {"name": "_miningCoefficient", "type": "uint256"}, {"name": "_lockedPeriodsCoefficient", "type": "uint256"}, {"name": "_rewardedPeriods", "type": "uint16"}, {"name": "_minLockedPeriods", "type": "uint16"}, {"name": "_minAllowableLockedTokens", "type": "uint256"}, {"name": "_maxAllowableLockedTokens", "type": "uint256"}, {"name": "_minWorkerPeriods", "type": "uint16"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Deposited", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "firstPeriod", "type": "uint16"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Locked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "oldValue", "type": "uint256"}, {"indexed": false, "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "name": "newValue", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "ActivityConfirmed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Mined", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "penalty", "type": "uint256"}, {"indexed": true, "name": "investigator", "type": "address"}, {"indexed": false, "name": "reward", "type": "uint256"}], "name": "Slashed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "worker", "type": "address"}, {"indexed": true, "name": "startPeriod", "type": "uint16"}], "name": "WorkerSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": false, "name": "reservedReward", "type": "uint256"}], "name": "Initialized", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["Dispatcher", "0xBc6297c0781C25A9Bc44eEe22181C98a30DC0229", [{"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}, {"name": "_secret", "type": "bytes"}, {"name": "_newSecretHash", "type": "bytes32"}], "name": "upgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_secret", "type": "bytes"}, {"name": "_newSecretHash", "type": "bytes32"}], "name": "rollback", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"name": "_target", "type": "address"}, {"name": "_newSecretHash", "type": "bytes32"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"payable": true, "stateMutability": "payable", "type": "fallback"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "from", "type": "address"}, {"indexed": true, "name": "to", "type": "address"}, {"indexed": false, "name": "owner", "type": "address"}], "name": "Upgraded", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "from", "type": "address"}, {"indexed": true, "name": "to", "type": "address"}, {"indexed": false, "name": "owner", "type": "address"}], "name": "RolledBack", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["PolicyManager", "0x9f6FA7609516777090ad5cAF06892080fef4Fd4e", [{"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "nodes", "outputs": [{"name": "reward", "type": "uint256"}, {"name": "rewardRate", "type": "uint256"}, {"name": "lastMinedPeriod", "type": "uint16"}, {"name": "minRewardRate", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_minRewardRate", "type": "uint256"}], "name": "setMinRewardRate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "withdraw", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_recipient", "type": "address"}], "name": "withdraw", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_node", "type": "address"}], "name": "refund", "outputs": [{"name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_policyId", "type": "bytes16"}], "name": "getArrangementsLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "bytes16"}], "name": "policies", "outputs": [{"name": "client", "type": "address"}, {"name": "rewardRate", "type": "uint256"}, {"name": "firstPartialReward", "type": "uint256"}, {"name": "startPeriod", "type": "uint16"}, {"name": "lastPeriod", "type": "uint16"}, {"name": "disabled", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_node", "type": "address"}, {"name": "_period", "type": "uint16"}], "name": "register", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_numberOfPeriods", "type": "uint16"}, {"name": "_firstPartialReward", "type": "uint256"}, {"name": "_nodes", "type": "address[]"}], "name": "createPolicy", "outputs": [], "payable": true, "stateMutability": "payable", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_node", "type": "address"}], "name": "revokeArrangement", "outputs": [{"name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}], "name": "revokePolicy", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_node", "type": "address"}], "name": "calculateRefundValue", "outputs": [{"name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_node", "type": "address"}, {"name": "_period", "type": "uint16"}], "name": "updateReward", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_index", "type": "uint256"}], "name": "getArrangementInfo", "outputs": [{"name": "node", "type": "address"}, {"name": "indexOfDowntimePeriods", "type": "uint256"}, {"name": "lastRefundedPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}], "name": "refund", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "escrow", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_policyId", "type": "bytes16"}], "name": "calculateRefundValue", "outputs": [{"name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_node", "type": "address"}, {"name": "_period", "type": "uint16"}], "name": "getNodeRewardDelta", "outputs": [{"name": "", "type": "int256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"name": "_escrow", "type": "address"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "client", "type": "address"}], "name": "PolicyCreated", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "client", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "PolicyRevoked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "client", "type": "address"}, {"indexed": true, "name": "node", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "ArrangementRevoked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "node", "type": "address"}, {"indexed": true, "name": "recipient", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "client", "type": "address"}, {"indexed": true, "name": "node", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "RefundForArrangement", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "client", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "RefundForPolicy", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["Dispatcher", "0xa8D1Ddd01c42DDC1876D191FE20aBdbd0051f39b", [{"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}, {"name": "_secret", "type": "bytes"}, {"name": "_newSecretHash", "type": "bytes32"}], "name": "upgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_secret", "type": "bytes"}, {"name": "_newSecretHash", "type": "bytes32"}], "name": "rollback", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"name": "_target", "type": "address"}, {"name": "_newSecretHash", "type": "bytes32"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"payable": true, "stateMutability": "payable", "type": "fallback"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "from", "type": "address"}, {"indexed": true, "name": "to", "type": "address"}, {"indexed": false, "name": "owner", "type": "address"}], "name": "Upgraded", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "from", "type": "address"}, {"indexed": true, "name": "to", "type": "address"}, {"indexed": false, "name": "owner", "type": "address"}], "name": "RolledBack", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["Adjudicator", "0x9B262fee7235A9b34C8ae260078DB15d9A4E4d6F", [{"constant": false, "inputs": [{"name": "_capsuleBytes", "type": "bytes"}, {"name": "_cFragBytes", "type": "bytes"}, {"name": "_cFragSignature", "type": "bytes"}, {"name": "_taskSignature", "type": "bytes"}, {"name": "_requesterPublicKey", "type": "bytes"}, {"name": "_workerPublicKey", "type": "bytes"}, {"name": "_workerIdentityEvidence", "type": "bytes"}, {"name": "_preComputedData", "type": "bytes"}], "name": "evaluateCFrag", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "penaltyHistoryCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "basePenalty", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "hashAlgorithm", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "penaltyHistory", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "bytes32"}], "name": "evaluatedCFrags", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "percentagePenaltyCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "escrow", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "rewardCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_escrow", "type": "address"}, {"name": "_hashAlgorithm", "type": "uint8"}, {"name": "_basePenalty", "type": "uint256"}, {"name": "_penaltyHistoryCoefficient", "type": "uint256"}, {"name": "_percentagePenaltyCoefficient", "type": "uint256"}, {"name": "_rewardCoefficient", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "evaluationHash", "type": "bytes32"}, {"indexed": true, "name": "investigator", "type": "address"}, {"indexed": false, "name": "correctness", "type": "bool"}], "name": "CFragEvaluated", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "evaluationHash", "type": "bytes32"}, {"indexed": true, "name": "worker", "type": "address"}, {"indexed": true, "name": "staker", "type": "address"}], "name": "IncorrectCFragVerdict", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["Dispatcher", "0xBEb55274Dd2DD8982821B7019d362B5a7039920D", [{"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}, {"name": "_secret", "type": "bytes"}, {"name": "_newSecretHash", "type": "bytes32"}], "name": "upgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_secret", "type": "bytes"}, {"name": "_newSecretHash", "type": "bytes32"}], "name": "rollback", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"name": "_target", "type": "address"}, {"name": "_newSecretHash", "type": "bytes32"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"payable": true, "stateMutability": "payable", "type": "fallback"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "from", "type": "address"}, {"indexed": true, "name": "to", "type": "address"}, {"indexed": false, "name": "owner", "type": "address"}], "name": "Upgraded", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "from", "type": "address"}, {"indexed": true, "name": "to", "type": "address"}, {"indexed": false, "name": "owner", "type": "address"}], "name": "RolledBack", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["StakingEscrow", "0x7E8B2476cc4942fbf0BF872d4A3Dad256527B4Bf", [{"constant": false, "inputs": [{"name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentMintingPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "totalSupply", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "workLock", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "minLockedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_periods", "type": "uint16"}], "name": "getAllLockedTokens", "outputs": [{"name": "lockedTokens", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_workLock", "type": "address"}], "name": "setWorkLock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLastActivePeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_measureWork", "type": "bool"}], "name": "setWorkMeasurement", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"name": "value", "type": "uint256"}, {"name": "confirmedPeriod1", "type": "uint16"}, {"name": "confirmedPeriod2", "type": "uint16"}, {"name": "reStake", "type": "bool"}, {"name": "lockReStakeUntilPeriod", "type": "uint16"}, {"name": "worker", "type": "address"}, {"name": "workerStartPeriod", "type": "uint16"}, {"name": "lastActivePeriod", "type": "uint16"}, {"name": "measureWork", "type": "bool"}, {"name": "completedWork", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getSubStakeInfo", "outputs": [{"name": "firstPeriod", "type": "uint16"}, {"name": "lastPeriod", "type": "uint16"}, {"name": "periods", "type": "uint16"}, {"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "adjudicator", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokensInPast", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getReservedReward", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "workerToStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "confirmActivity", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "lock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "miningCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_from", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_tokenContract", "type": "address"}, {"name": "", "type": "bytes"}], "name": "receiveApproval", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getPastDowntime", "outputs": [{"name": "startPeriod", "type": "uint16"}, {"name": "endPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_points", "type": "uint256[]"}, {"name": "_periods", "type": "uint16"}], "name": "sample", "outputs": [{"name": "result", "type": "address[]"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_penalty", "type": "uint256"}, {"name": "_investigator", "type": "address"}, {"name": "_reward", "type": "uint256"}], "name": "slashStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "getStakersLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "lockedPeriodsCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "policyManager", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "EMPTY_CONFIRMED_PERIOD", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply1", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_worker", "type": "address"}], "name": "setWorker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_worker", "type": "address"}], "name": "getStakerFromWorker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minWorkerPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getCompletedWork", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_newValue", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply2", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "rewardedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_token", "type": "address"}, {"name": "_hoursPerPeriod", "type": "uint32"}, {"name": "_miningCoefficient", "type": "uint256"}, {"name": "_lockedPeriodsCoefficient", "type": "uint256"}, {"name": "_rewardedPeriods", "type": "uint16"}, {"name": "_minLockedPeriods", "type": "uint16"}, {"name": "_minAllowableLockedTokens", "type": "uint256"}, {"name": "_maxAllowableLockedTokens", "type": "uint256"}, {"name": "_minWorkerPeriods", "type": "uint16"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Deposited", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "firstPeriod", "type": "uint16"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Locked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "oldValue", "type": "uint256"}, {"indexed": false, "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "name": "newValue", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "ActivityConfirmed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Mined", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "penalty", "type": "uint256"}, {"indexed": true, "name": "investigator", "type": "address"}, {"indexed": false, "name": "reward", "type": "uint256"}], "name": "Slashed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "worker", "type": "address"}, {"indexed": true, "name": "startPeriod", "type": "uint16"}], "name": "WorkerSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "measureWork", "type": "bool"}], "name": "WorkMeasurementSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": false, "name": "reservedReward", "type": "uint256"}], "name": "Initialized", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["StakingEscrow", "0xEC5B3B0b59B84a517E79A00c3062A63462Da5ECC", [{"constant": false, "inputs": [{"name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentMintingPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "totalSupply", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "workLock", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "minLockedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_workLock", "type": "address"}], "name": "setWorkLock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLastActivePeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_measureWork", "type": "bool"}], "name": "setWorkMeasurement", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"name": "value", "type": "uint256"}, {"name": "confirmedPeriod1", "type": "uint16"}, {"name": "confirmedPeriod2", "type": "uint16"}, {"name": "reStake", "type": "bool"}, {"name": "lockReStakeUntilPeriod", "type": "uint16"}, {"name": "worker", "type": "address"}, {"name": "workerStartPeriod", "type": "uint16"}, {"name": "lastActivePeriod", "type": "uint16"}, {"name": "measureWork", "type": "bool"}, {"name": "completedWork", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getSubStakeInfo", "outputs": [{"name": "firstPeriod", "type": "uint16"}, {"name": "lastPeriod", "type": "uint16"}, {"name": "periods", "type": "uint16"}, {"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "adjudicator", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokensInPast", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getReservedReward", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "workerToStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "confirmActivity", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "lock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "miningCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_from", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_tokenContract", "type": "address"}, {"name": "", "type": "bytes"}], "name": "receiveApproval", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getPastDowntime", "outputs": [{"name": "startPeriod", "type": "uint16"}, {"name": "endPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_penalty", "type": "uint256"}, {"name": "_investigator", "type": "address"}, {"name": "_reward", "type": "uint256"}], "name": "slashStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "getStakersLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "lockedPeriodsCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "policyManager", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "EMPTY_CONFIRMED_PERIOD", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply1", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_worker", "type": "address"}], "name": "setWorker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_worker", "type": "address"}], "name": "getStakerFromWorker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minWorkerPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getCompletedWork", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_newValue", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_periods", "type": "uint16"}], "name": "getAllActiveStakers", "outputs": [{"name": "allLockedTokens", "type": "uint256"}, {"name": "activeStakers", "type": "uint256[2][]"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply2", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "rewardedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_token", "type": "address"}, {"name": "_hoursPerPeriod", "type": "uint32"}, {"name": "_miningCoefficient", "type": "uint256"}, {"name": "_lockedPeriodsCoefficient", "type": "uint256"}, {"name": "_rewardedPeriods", "type": "uint16"}, {"name": "_minLockedPeriods", "type": "uint16"}, {"name": "_minAllowableLockedTokens", "type": "uint256"}, {"name": "_maxAllowableLockedTokens", "type": "uint256"}, {"name": "_minWorkerPeriods", "type": "uint16"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Deposited", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "firstPeriod", "type": "uint16"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Locked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "oldValue", "type": "uint256"}, {"indexed": false, "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "name": "newValue", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "ActivityConfirmed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Mined", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "penalty", "type": "uint256"}, {"indexed": true, "name": "investigator", "type": "address"}, {"indexed": false, "name": "reward", "type": "uint256"}], "name": "Slashed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "worker", "type": "address"}, {"indexed": true, "name": "startPeriod", "type": "uint16"}], "name": "WorkerSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "measureWork", "type": "bool"}], "name": "WorkMeasurementSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": false, "name": "reservedReward", "type": "uint256"}], "name": "Initialized", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["StakingInterface", "0x24eeaF95C9b0E2043A8C2D65FeE9660dbAf34D0B", [{"constant": false, "inputs": [{"name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_recipient", "type": "address"}], "name": "withdrawPolicyReward", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_minRewardRate", "type": "uint256"}], "name": "setMinRewardRate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "depositAsStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "lock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "withdrawAsStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "policyManager", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_worker", "type": "address"}], "name": "setWorker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_newValue", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "escrow", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_token", "type": "address"}, {"name": "_escrow", "type": "address"}, {"name": "_policyManager", "type": "address"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "DepositedAsStaker", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "WithdrawnAsStaker", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Locked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "index", "type": "uint256"}, {"indexed": false, "name": "newValue", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}], "name": "Mined", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "PolicyRewardWithdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "MinRewardRateSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "worker", "type": "address"}], "name": "WorkerSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "index", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Prolonged", "type": "event"}]], ["StakingInterfaceRouter", "0x446526854b0243697097e7D0b1922fA023B8e31B", [{"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}, {"name": "_secret", "type": "bytes"}, {"name": "_newSecretHash", "type": "bytes32"}], "name": "upgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"name": "_target", "type": "address"}, {"name": "_newSecretHash", "type": "bytes32"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["StakingEscrow", "0x630064d27ebf15EcecaCe993369b6FF11Ed0e328", [{"constant": false, "inputs": [{"name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentMintingPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "totalSupply", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "workLock", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "minLockedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_workLock", "type": "address"}], "name": "setWorkLock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLastActivePeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_periods", "type": "uint16"}, {"name": "_startIndex", "type": "uint256"}, {"name": "_maxStakers", "type": "uint256"}], "name": "getActiveStakers", "outputs": [{"name": "allLockedTokens", "type": "uint256"}, {"name": "activeStakers", "type": "uint256[2][]"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_measureWork", "type": "bool"}], "name": "setWorkMeasurement", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"name": "value", "type": "uint256"}, {"name": "confirmedPeriod1", "type": "uint16"}, {"name": "confirmedPeriod2", "type": "uint16"}, {"name": "reStake", "type": "bool"}, {"name": "lockReStakeUntilPeriod", "type": "uint16"}, {"name": "worker", "type": "address"}, {"name": "workerStartPeriod", "type": "uint16"}, {"name": "lastActivePeriod", "type": "uint16"}, {"name": "measureWork", "type": "bool"}, {"name": "completedWork", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getSubStakeInfo", "outputs": [{"name": "firstPeriod", "type": "uint16"}, {"name": "lastPeriod", "type": "uint16"}, {"name": "periods", "type": "uint16"}, {"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "adjudicator", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokensInPast", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getReservedReward", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "workerToStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "confirmActivity", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "lock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "miningCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_from", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_tokenContract", "type": "address"}, {"name": "", "type": "bytes"}], "name": "receiveApproval", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getPastDowntime", "outputs": [{"name": "startPeriod", "type": "uint16"}, {"name": "endPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_penalty", "type": "uint256"}, {"name": "_investigator", "type": "address"}, {"name": "_reward", "type": "uint256"}], "name": "slashStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "getStakersLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "lockedPeriodsCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "policyManager", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "EMPTY_CONFIRMED_PERIOD", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply1", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_worker", "type": "address"}], "name": "setWorker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_worker", "type": "address"}], "name": "getStakerFromWorker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minWorkerPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getCompletedWork", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_newValue", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply2", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "rewardedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_token", "type": "address"}, {"name": "_hoursPerPeriod", "type": "uint32"}, {"name": "_miningCoefficient", "type": "uint256"}, {"name": "_lockedPeriodsCoefficient", "type": "uint256"}, {"name": "_rewardedPeriods", "type": "uint16"}, {"name": "_minLockedPeriods", "type": "uint16"}, {"name": "_minAllowableLockedTokens", "type": "uint256"}, {"name": "_maxAllowableLockedTokens", "type": "uint256"}, {"name": "_minWorkerPeriods", "type": "uint16"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Deposited", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "firstPeriod", "type": "uint16"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Locked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "oldValue", "type": "uint256"}, {"indexed": false, "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "name": "newValue", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "ActivityConfirmed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Mined", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "penalty", "type": "uint256"}, {"indexed": true, "name": "investigator", "type": "address"}, {"indexed": false, "name": "reward", "type": "uint256"}], "name": "Slashed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "worker", "type": "address"}, {"indexed": true, "name": "startPeriod", "type": "uint16"}], "name": "WorkerSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "measureWork", "type": "bool"}], "name": "WorkMeasurementSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": false, "name": "reservedReward", "type": "uint256"}], "name": "Initialized", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["StakingEscrow", "0xe5f3a897268b1d9156b8fbb5f81D2Ad0945b77b4", [{"constant": false, "inputs": [{"name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentMintingPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "totalSupply", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "workLock", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "minLockedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_workLock", "type": "address"}], "name": "setWorkLock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLastActivePeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_periods", "type": "uint16"}, {"name": "_startIndex", "type": "uint256"}, {"name": "_maxStakers", "type": "uint256"}], "name": "getActiveStakers", "outputs": [{"name": "allLockedTokens", "type": "uint256"}, {"name": "activeStakers", "type": "uint256[2][]"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_measureWork", "type": "bool"}], "name": "setWorkMeasurement", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"name": "value", "type": "uint256"}, {"name": "confirmedPeriod1", "type": "uint16"}, {"name": "confirmedPeriod2", "type": "uint16"}, {"name": "reStake", "type": "bool"}, {"name": "lockReStakeUntilPeriod", "type": "uint16"}, {"name": "worker", "type": "address"}, {"name": "workerStartPeriod", "type": "uint16"}, {"name": "lastActivePeriod", "type": "uint16"}, {"name": "measureWork", "type": "bool"}, {"name": "completedWork", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getSubStakeInfo", "outputs": [{"name": "firstPeriod", "type": "uint16"}, {"name": "lastPeriod", "type": "uint16"}, {"name": "periods", "type": "uint16"}, {"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "adjudicator", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokensInPast", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getReservedReward", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "workerToStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "confirmActivity", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "lock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "miningCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_from", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_tokenContract", "type": "address"}, {"name": "", "type": "bytes"}], "name": "receiveApproval", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getPastDowntime", "outputs": [{"name": "startPeriod", "type": "uint16"}, {"name": "endPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_penalty", "type": "uint256"}, {"name": "_investigator", "type": "address"}, {"name": "_reward", "type": "uint256"}], "name": "slashStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "getStakersLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "lockedPeriodsCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "policyManager", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "EMPTY_CONFIRMED_PERIOD", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply1", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_worker", "type": "address"}], "name": "setWorker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_worker", "type": "address"}], "name": "getStakerFromWorker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minWorkerPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getCompletedWork", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_newValue", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply2", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "rewardedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_token", "type": "address"}, {"name": "_hoursPerPeriod", "type": "uint32"}, {"name": "_miningCoefficient", "type": "uint256"}, {"name": "_lockedPeriodsCoefficient", "type": "uint256"}, {"name": "_rewardedPeriods", "type": "uint16"}, {"name": "_minLockedPeriods", "type": "uint16"}, {"name": "_minAllowableLockedTokens", "type": "uint256"}, {"name": "_maxAllowableLockedTokens", "type": "uint256"}, {"name": "_minWorkerPeriods", "type": "uint16"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Deposited", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "firstPeriod", "type": "uint16"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Locked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "oldValue", "type": "uint256"}, {"indexed": false, "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "name": "newValue", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "ActivityConfirmed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Mined", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "penalty", "type": "uint256"}, {"indexed": true, "name": "investigator", "type": "address"}, {"indexed": false, "name": "reward", "type": "uint256"}], "name": "Slashed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "worker", "type": "address"}, {"indexed": true, "name": "startPeriod", "type": "uint16"}], "name": "WorkerSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "measureWork", "type": "bool"}], "name": "WorkMeasurementSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": false, "name": "reservedReward", "type": "uint256"}], "name": "Initialized", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]]] \ No newline at end of file +[["NuCypherToken", "0x894a30aec251c7A38C868e831137514a27C25504", [{"constant": true, "inputs": [], "name": "name", "outputs": [{"name": "", "type": "string"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "spender", "type": "address"}, {"name": "value", "type": "uint256"}], "name": "approve", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "totalSupply", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "from", "type": "address"}, {"name": "to", "type": "address"}, {"name": "value", "type": "uint256"}], "name": "transferFrom", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "decimals", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "spender", "type": "address"}, {"name": "addedValue", "type": "uint256"}], "name": "increaseAllowance", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "owner", "type": "address"}], "name": "balanceOf", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "symbol", "outputs": [{"name": "", "type": "string"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "spender", "type": "address"}, {"name": "subtractedValue", "type": "uint256"}], "name": "decreaseAllowance", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "to", "type": "address"}, {"name": "value", "type": "uint256"}], "name": "transfer", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_spender", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_extraData", "type": "bytes"}], "name": "approveAndCall", "outputs": [{"name": "success", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "owner", "type": "address"}, {"name": "spender", "type": "address"}], "name": "allowance", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_totalSupply", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "from", "type": "address"}, {"indexed": true, "name": "to", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Transfer", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "owner", "type": "address"}, {"indexed": true, "name": "spender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Approval", "type": "event"}]], ["StakingEscrow", "0x3A428c38fEB4893E956B578aCdfC71C62e73cd90", [{"constant": false, "inputs": [{"name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentMintingPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "totalSupply", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "minLockedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_periods", "type": "uint16"}], "name": "getAllLockedTokens", "outputs": [{"name": "lockedTokens", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLastActivePeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"name": "value", "type": "uint256"}, {"name": "confirmedPeriod1", "type": "uint16"}, {"name": "confirmedPeriod2", "type": "uint16"}, {"name": "reStake", "type": "bool"}, {"name": "lockReStakeUntilPeriod", "type": "uint16"}, {"name": "worker", "type": "address"}, {"name": "workerStartPeriod", "type": "uint16"}, {"name": "lastActivePeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getSubStakeInfo", "outputs": [{"name": "firstPeriod", "type": "uint16"}, {"name": "lastPeriod", "type": "uint16"}, {"name": "periods", "type": "uint16"}, {"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "adjudicator", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_stakers", "type": "address[]"}, {"name": "_values", "type": "uint256[]"}, {"name": "_periods", "type": "uint16[]"}], "name": "preDeposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokensInPast", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getReservedReward", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "workerToStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "confirmActivity", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "lock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "miningCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_from", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_tokenContract", "type": "address"}, {"name": "", "type": "bytes"}], "name": "receiveApproval", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getPastDowntime", "outputs": [{"name": "startPeriod", "type": "uint16"}, {"name": "endPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_points", "type": "uint256[]"}, {"name": "_periods", "type": "uint16"}], "name": "sample", "outputs": [{"name": "result", "type": "address[]"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_penalty", "type": "uint256"}, {"name": "_investigator", "type": "address"}, {"name": "_reward", "type": "uint256"}], "name": "slashStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "getStakersLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "lockedPeriodsCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "policyManager", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "EMPTY_CONFIRMED_PERIOD", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply1", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_worker", "type": "address"}], "name": "setWorker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_worker", "type": "address"}], "name": "getStakerFromWorker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minWorkerPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_newValue", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply2", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "rewardedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_token", "type": "address"}, {"name": "_hoursPerPeriod", "type": "uint32"}, {"name": "_miningCoefficient", "type": "uint256"}, {"name": "_lockedPeriodsCoefficient", "type": "uint256"}, {"name": "_rewardedPeriods", "type": "uint16"}, {"name": "_minLockedPeriods", "type": "uint16"}, {"name": "_minAllowableLockedTokens", "type": "uint256"}, {"name": "_maxAllowableLockedTokens", "type": "uint256"}, {"name": "_minWorkerPeriods", "type": "uint16"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Deposited", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "firstPeriod", "type": "uint16"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Locked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "oldValue", "type": "uint256"}, {"indexed": false, "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "name": "newValue", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "ActivityConfirmed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Mined", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "penalty", "type": "uint256"}, {"indexed": true, "name": "investigator", "type": "address"}, {"indexed": false, "name": "reward", "type": "uint256"}], "name": "Slashed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "worker", "type": "address"}, {"indexed": true, "name": "startPeriod", "type": "uint16"}], "name": "WorkerSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": false, "name": "reservedReward", "type": "uint256"}], "name": "Initialized", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["Dispatcher", "0xBc6297c0781C25A9Bc44eEe22181C98a30DC0229", [{"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}, {"name": "_secret", "type": "bytes"}, {"name": "_newSecretHash", "type": "bytes32"}], "name": "upgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_secret", "type": "bytes"}, {"name": "_newSecretHash", "type": "bytes32"}], "name": "rollback", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"name": "_target", "type": "address"}, {"name": "_newSecretHash", "type": "bytes32"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"payable": true, "stateMutability": "payable", "type": "fallback"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "from", "type": "address"}, {"indexed": true, "name": "to", "type": "address"}, {"indexed": false, "name": "owner", "type": "address"}], "name": "Upgraded", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "from", "type": "address"}, {"indexed": true, "name": "to", "type": "address"}, {"indexed": false, "name": "owner", "type": "address"}], "name": "RolledBack", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["PolicyManager", "0x9f6FA7609516777090ad5cAF06892080fef4Fd4e", [{"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "nodes", "outputs": [{"name": "reward", "type": "uint256"}, {"name": "rewardRate", "type": "uint256"}, {"name": "lastMinedPeriod", "type": "uint16"}, {"name": "minRewardRate", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_minRewardRate", "type": "uint256"}], "name": "setMinRewardRate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "withdraw", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_recipient", "type": "address"}], "name": "withdraw", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_node", "type": "address"}], "name": "refund", "outputs": [{"name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_policyId", "type": "bytes16"}], "name": "getArrangementsLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "bytes16"}], "name": "policies", "outputs": [{"name": "client", "type": "address"}, {"name": "rewardRate", "type": "uint256"}, {"name": "firstPartialReward", "type": "uint256"}, {"name": "startPeriod", "type": "uint16"}, {"name": "lastPeriod", "type": "uint16"}, {"name": "disabled", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_node", "type": "address"}, {"name": "_period", "type": "uint16"}], "name": "register", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_numberOfPeriods", "type": "uint16"}, {"name": "_firstPartialReward", "type": "uint256"}, {"name": "_nodes", "type": "address[]"}], "name": "createPolicy", "outputs": [], "payable": true, "stateMutability": "payable", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_node", "type": "address"}], "name": "revokeArrangement", "outputs": [{"name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}], "name": "revokePolicy", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_node", "type": "address"}], "name": "calculateRefundValue", "outputs": [{"name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_node", "type": "address"}, {"name": "_period", "type": "uint16"}], "name": "updateReward", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_index", "type": "uint256"}], "name": "getArrangementInfo", "outputs": [{"name": "node", "type": "address"}, {"name": "indexOfDowntimePeriods", "type": "uint256"}, {"name": "lastRefundedPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}], "name": "refund", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "escrow", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_policyId", "type": "bytes16"}], "name": "calculateRefundValue", "outputs": [{"name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_node", "type": "address"}, {"name": "_period", "type": "uint16"}], "name": "getNodeRewardDelta", "outputs": [{"name": "", "type": "int256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"name": "_escrow", "type": "address"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "client", "type": "address"}], "name": "PolicyCreated", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "client", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "PolicyRevoked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "client", "type": "address"}, {"indexed": true, "name": "node", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "ArrangementRevoked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "node", "type": "address"}, {"indexed": true, "name": "recipient", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "client", "type": "address"}, {"indexed": true, "name": "node", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "RefundForArrangement", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "client", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "RefundForPolicy", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["Dispatcher", "0xa8D1Ddd01c42DDC1876D191FE20aBdbd0051f39b", [{"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}, {"name": "_secret", "type": "bytes"}, {"name": "_newSecretHash", "type": "bytes32"}], "name": "upgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_secret", "type": "bytes"}, {"name": "_newSecretHash", "type": "bytes32"}], "name": "rollback", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"name": "_target", "type": "address"}, {"name": "_newSecretHash", "type": "bytes32"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"payable": true, "stateMutability": "payable", "type": "fallback"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "from", "type": "address"}, {"indexed": true, "name": "to", "type": "address"}, {"indexed": false, "name": "owner", "type": "address"}], "name": "Upgraded", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "from", "type": "address"}, {"indexed": true, "name": "to", "type": "address"}, {"indexed": false, "name": "owner", "type": "address"}], "name": "RolledBack", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["Adjudicator", "0x9B262fee7235A9b34C8ae260078DB15d9A4E4d6F", [{"constant": false, "inputs": [{"name": "_capsuleBytes", "type": "bytes"}, {"name": "_cFragBytes", "type": "bytes"}, {"name": "_cFragSignature", "type": "bytes"}, {"name": "_taskSignature", "type": "bytes"}, {"name": "_requesterPublicKey", "type": "bytes"}, {"name": "_workerPublicKey", "type": "bytes"}, {"name": "_workerIdentityEvidence", "type": "bytes"}, {"name": "_preComputedData", "type": "bytes"}], "name": "evaluateCFrag", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "penaltyHistoryCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "basePenalty", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "hashAlgorithm", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "penaltyHistory", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "bytes32"}], "name": "evaluatedCFrags", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "percentagePenaltyCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "escrow", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "rewardCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_escrow", "type": "address"}, {"name": "_hashAlgorithm", "type": "uint8"}, {"name": "_basePenalty", "type": "uint256"}, {"name": "_penaltyHistoryCoefficient", "type": "uint256"}, {"name": "_percentagePenaltyCoefficient", "type": "uint256"}, {"name": "_rewardCoefficient", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "evaluationHash", "type": "bytes32"}, {"indexed": true, "name": "investigator", "type": "address"}, {"indexed": false, "name": "correctness", "type": "bool"}], "name": "CFragEvaluated", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "evaluationHash", "type": "bytes32"}, {"indexed": true, "name": "worker", "type": "address"}, {"indexed": true, "name": "staker", "type": "address"}], "name": "IncorrectCFragVerdict", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["Dispatcher", "0xBEb55274Dd2DD8982821B7019d362B5a7039920D", [{"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}, {"name": "_secret", "type": "bytes"}, {"name": "_newSecretHash", "type": "bytes32"}], "name": "upgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_secret", "type": "bytes"}, {"name": "_newSecretHash", "type": "bytes32"}], "name": "rollback", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"name": "_target", "type": "address"}, {"name": "_newSecretHash", "type": "bytes32"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"payable": true, "stateMutability": "payable", "type": "fallback"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "from", "type": "address"}, {"indexed": true, "name": "to", "type": "address"}, {"indexed": false, "name": "owner", "type": "address"}], "name": "Upgraded", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "from", "type": "address"}, {"indexed": true, "name": "to", "type": "address"}, {"indexed": false, "name": "owner", "type": "address"}], "name": "RolledBack", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["StakingEscrow", "0x7E8B2476cc4942fbf0BF872d4A3Dad256527B4Bf", [{"constant": false, "inputs": [{"name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentMintingPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "totalSupply", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "workLock", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "minLockedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_periods", "type": "uint16"}], "name": "getAllLockedTokens", "outputs": [{"name": "lockedTokens", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_workLock", "type": "address"}], "name": "setWorkLock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLastActivePeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_measureWork", "type": "bool"}], "name": "setWorkMeasurement", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"name": "value", "type": "uint256"}, {"name": "confirmedPeriod1", "type": "uint16"}, {"name": "confirmedPeriod2", "type": "uint16"}, {"name": "reStake", "type": "bool"}, {"name": "lockReStakeUntilPeriod", "type": "uint16"}, {"name": "worker", "type": "address"}, {"name": "workerStartPeriod", "type": "uint16"}, {"name": "lastActivePeriod", "type": "uint16"}, {"name": "measureWork", "type": "bool"}, {"name": "completedWork", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getSubStakeInfo", "outputs": [{"name": "firstPeriod", "type": "uint16"}, {"name": "lastPeriod", "type": "uint16"}, {"name": "periods", "type": "uint16"}, {"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "adjudicator", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokensInPast", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getReservedReward", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "workerToStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "confirmActivity", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "lock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "miningCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_from", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_tokenContract", "type": "address"}, {"name": "", "type": "bytes"}], "name": "receiveApproval", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getPastDowntime", "outputs": [{"name": "startPeriod", "type": "uint16"}, {"name": "endPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_points", "type": "uint256[]"}, {"name": "_periods", "type": "uint16"}], "name": "sample", "outputs": [{"name": "result", "type": "address[]"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_penalty", "type": "uint256"}, {"name": "_investigator", "type": "address"}, {"name": "_reward", "type": "uint256"}], "name": "slashStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "getStakersLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "lockedPeriodsCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "policyManager", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "EMPTY_CONFIRMED_PERIOD", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply1", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_worker", "type": "address"}], "name": "setWorker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_worker", "type": "address"}], "name": "getStakerFromWorker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minWorkerPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getCompletedWork", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_newValue", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply2", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "rewardedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_token", "type": "address"}, {"name": "_hoursPerPeriod", "type": "uint32"}, {"name": "_miningCoefficient", "type": "uint256"}, {"name": "_lockedPeriodsCoefficient", "type": "uint256"}, {"name": "_rewardedPeriods", "type": "uint16"}, {"name": "_minLockedPeriods", "type": "uint16"}, {"name": "_minAllowableLockedTokens", "type": "uint256"}, {"name": "_maxAllowableLockedTokens", "type": "uint256"}, {"name": "_minWorkerPeriods", "type": "uint16"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Deposited", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "firstPeriod", "type": "uint16"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Locked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "oldValue", "type": "uint256"}, {"indexed": false, "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "name": "newValue", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "ActivityConfirmed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Mined", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "penalty", "type": "uint256"}, {"indexed": true, "name": "investigator", "type": "address"}, {"indexed": false, "name": "reward", "type": "uint256"}], "name": "Slashed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "worker", "type": "address"}, {"indexed": true, "name": "startPeriod", "type": "uint16"}], "name": "WorkerSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "measureWork", "type": "bool"}], "name": "WorkMeasurementSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": false, "name": "reservedReward", "type": "uint256"}], "name": "Initialized", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["StakingEscrow", "0xEC5B3B0b59B84a517E79A00c3062A63462Da5ECC", [{"constant": false, "inputs": [{"name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentMintingPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "totalSupply", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "workLock", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "minLockedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_workLock", "type": "address"}], "name": "setWorkLock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLastActivePeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_measureWork", "type": "bool"}], "name": "setWorkMeasurement", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"name": "value", "type": "uint256"}, {"name": "confirmedPeriod1", "type": "uint16"}, {"name": "confirmedPeriod2", "type": "uint16"}, {"name": "reStake", "type": "bool"}, {"name": "lockReStakeUntilPeriod", "type": "uint16"}, {"name": "worker", "type": "address"}, {"name": "workerStartPeriod", "type": "uint16"}, {"name": "lastActivePeriod", "type": "uint16"}, {"name": "measureWork", "type": "bool"}, {"name": "completedWork", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getSubStakeInfo", "outputs": [{"name": "firstPeriod", "type": "uint16"}, {"name": "lastPeriod", "type": "uint16"}, {"name": "periods", "type": "uint16"}, {"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "adjudicator", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokensInPast", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getReservedReward", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "workerToStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "confirmActivity", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "lock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "miningCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_from", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_tokenContract", "type": "address"}, {"name": "", "type": "bytes"}], "name": "receiveApproval", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getPastDowntime", "outputs": [{"name": "startPeriod", "type": "uint16"}, {"name": "endPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_penalty", "type": "uint256"}, {"name": "_investigator", "type": "address"}, {"name": "_reward", "type": "uint256"}], "name": "slashStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "getStakersLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "lockedPeriodsCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "policyManager", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "EMPTY_CONFIRMED_PERIOD", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply1", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_worker", "type": "address"}], "name": "setWorker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_worker", "type": "address"}], "name": "getStakerFromWorker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minWorkerPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getCompletedWork", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_newValue", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_periods", "type": "uint16"}], "name": "getAllActiveStakers", "outputs": [{"name": "allLockedTokens", "type": "uint256"}, {"name": "activeStakers", "type": "uint256[2][]"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply2", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "rewardedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_token", "type": "address"}, {"name": "_hoursPerPeriod", "type": "uint32"}, {"name": "_miningCoefficient", "type": "uint256"}, {"name": "_lockedPeriodsCoefficient", "type": "uint256"}, {"name": "_rewardedPeriods", "type": "uint16"}, {"name": "_minLockedPeriods", "type": "uint16"}, {"name": "_minAllowableLockedTokens", "type": "uint256"}, {"name": "_maxAllowableLockedTokens", "type": "uint256"}, {"name": "_minWorkerPeriods", "type": "uint16"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Deposited", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "firstPeriod", "type": "uint16"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Locked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "oldValue", "type": "uint256"}, {"indexed": false, "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "name": "newValue", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "ActivityConfirmed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Mined", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "penalty", "type": "uint256"}, {"indexed": true, "name": "investigator", "type": "address"}, {"indexed": false, "name": "reward", "type": "uint256"}], "name": "Slashed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "worker", "type": "address"}, {"indexed": true, "name": "startPeriod", "type": "uint16"}], "name": "WorkerSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "measureWork", "type": "bool"}], "name": "WorkMeasurementSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": false, "name": "reservedReward", "type": "uint256"}], "name": "Initialized", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["StakingInterface", "0x24eeaF95C9b0E2043A8C2D65FeE9660dbAf34D0B", [{"constant": false, "inputs": [{"name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_recipient", "type": "address"}], "name": "withdrawPolicyReward", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_minRewardRate", "type": "uint256"}], "name": "setMinRewardRate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "depositAsStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "lock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "withdrawAsStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "policyManager", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_worker", "type": "address"}], "name": "setWorker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_newValue", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "escrow", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_token", "type": "address"}, {"name": "_escrow", "type": "address"}, {"name": "_policyManager", "type": "address"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "DepositedAsStaker", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "WithdrawnAsStaker", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Locked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "index", "type": "uint256"}, {"indexed": false, "name": "newValue", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}], "name": "Mined", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "PolicyRewardWithdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "MinRewardRateSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "worker", "type": "address"}], "name": "WorkerSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "index", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Prolonged", "type": "event"}]], ["StakingInterfaceRouter", "0x446526854b0243697097e7D0b1922fA023B8e31B", [{"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}, {"name": "_secret", "type": "bytes"}, {"name": "_newSecretHash", "type": "bytes32"}], "name": "upgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"name": "_target", "type": "address"}, {"name": "_newSecretHash", "type": "bytes32"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["StakingEscrow", "0x630064d27ebf15EcecaCe993369b6FF11Ed0e328", [{"constant": false, "inputs": [{"name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentMintingPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "totalSupply", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "workLock", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "minLockedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_workLock", "type": "address"}], "name": "setWorkLock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLastActivePeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_periods", "type": "uint16"}, {"name": "_startIndex", "type": "uint256"}, {"name": "_maxStakers", "type": "uint256"}], "name": "getActiveStakers", "outputs": [{"name": "allLockedTokens", "type": "uint256"}, {"name": "activeStakers", "type": "uint256[2][]"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_measureWork", "type": "bool"}], "name": "setWorkMeasurement", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"name": "value", "type": "uint256"}, {"name": "confirmedPeriod1", "type": "uint16"}, {"name": "confirmedPeriod2", "type": "uint16"}, {"name": "reStake", "type": "bool"}, {"name": "lockReStakeUntilPeriod", "type": "uint16"}, {"name": "worker", "type": "address"}, {"name": "workerStartPeriod", "type": "uint16"}, {"name": "lastActivePeriod", "type": "uint16"}, {"name": "measureWork", "type": "bool"}, {"name": "completedWork", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getSubStakeInfo", "outputs": [{"name": "firstPeriod", "type": "uint16"}, {"name": "lastPeriod", "type": "uint16"}, {"name": "periods", "type": "uint16"}, {"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "adjudicator", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokensInPast", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getReservedReward", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "workerToStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "confirmActivity", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "lock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "miningCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_from", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_tokenContract", "type": "address"}, {"name": "", "type": "bytes"}], "name": "receiveApproval", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getPastDowntime", "outputs": [{"name": "startPeriod", "type": "uint16"}, {"name": "endPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_penalty", "type": "uint256"}, {"name": "_investigator", "type": "address"}, {"name": "_reward", "type": "uint256"}], "name": "slashStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "getStakersLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "lockedPeriodsCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "policyManager", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "EMPTY_CONFIRMED_PERIOD", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply1", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_worker", "type": "address"}], "name": "setWorker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_worker", "type": "address"}], "name": "getStakerFromWorker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minWorkerPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getCompletedWork", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_newValue", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply2", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "rewardedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_token", "type": "address"}, {"name": "_hoursPerPeriod", "type": "uint32"}, {"name": "_miningCoefficient", "type": "uint256"}, {"name": "_lockedPeriodsCoefficient", "type": "uint256"}, {"name": "_rewardedPeriods", "type": "uint16"}, {"name": "_minLockedPeriods", "type": "uint16"}, {"name": "_minAllowableLockedTokens", "type": "uint256"}, {"name": "_maxAllowableLockedTokens", "type": "uint256"}, {"name": "_minWorkerPeriods", "type": "uint16"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Deposited", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "firstPeriod", "type": "uint16"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Locked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "oldValue", "type": "uint256"}, {"indexed": false, "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "name": "newValue", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "ActivityConfirmed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Mined", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "penalty", "type": "uint256"}, {"indexed": true, "name": "investigator", "type": "address"}, {"indexed": false, "name": "reward", "type": "uint256"}], "name": "Slashed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "worker", "type": "address"}, {"indexed": true, "name": "startPeriod", "type": "uint16"}], "name": "WorkerSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "measureWork", "type": "bool"}], "name": "WorkMeasurementSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": false, "name": "reservedReward", "type": "uint256"}], "name": "Initialized", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["StakingEscrow", "0xe5f3a897268b1d9156b8fbb5f81D2Ad0945b77b4", [{"constant": false, "inputs": [{"name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentMintingPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "totalSupply", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "workLock", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "minLockedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_workLock", "type": "address"}], "name": "setWorkLock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLastActivePeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_periods", "type": "uint16"}, {"name": "_startIndex", "type": "uint256"}, {"name": "_maxStakers", "type": "uint256"}], "name": "getActiveStakers", "outputs": [{"name": "allLockedTokens", "type": "uint256"}, {"name": "activeStakers", "type": "uint256[2][]"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_measureWork", "type": "bool"}], "name": "setWorkMeasurement", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"name": "value", "type": "uint256"}, {"name": "confirmedPeriod1", "type": "uint16"}, {"name": "confirmedPeriod2", "type": "uint16"}, {"name": "reStake", "type": "bool"}, {"name": "lockReStakeUntilPeriod", "type": "uint16"}, {"name": "worker", "type": "address"}, {"name": "workerStartPeriod", "type": "uint16"}, {"name": "lastActivePeriod", "type": "uint16"}, {"name": "measureWork", "type": "bool"}, {"name": "completedWork", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getSubStakeInfo", "outputs": [{"name": "firstPeriod", "type": "uint16"}, {"name": "lastPeriod", "type": "uint16"}, {"name": "periods", "type": "uint16"}, {"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "adjudicator", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokensInPast", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getReservedReward", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "workerToStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "confirmActivity", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "lock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "miningCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_from", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_tokenContract", "type": "address"}, {"name": "", "type": "bytes"}], "name": "receiveApproval", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getPastDowntime", "outputs": [{"name": "startPeriod", "type": "uint16"}, {"name": "endPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_penalty", "type": "uint256"}, {"name": "_investigator", "type": "address"}, {"name": "_reward", "type": "uint256"}], "name": "slashStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "getStakersLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "lockedPeriodsCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "policyManager", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "EMPTY_CONFIRMED_PERIOD", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply1", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_worker", "type": "address"}], "name": "setWorker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_worker", "type": "address"}], "name": "getStakerFromWorker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minWorkerPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getCompletedWork", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_newValue", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply2", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "rewardedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_token", "type": "address"}, {"name": "_hoursPerPeriod", "type": "uint32"}, {"name": "_miningCoefficient", "type": "uint256"}, {"name": "_lockedPeriodsCoefficient", "type": "uint256"}, {"name": "_rewardedPeriods", "type": "uint16"}, {"name": "_minLockedPeriods", "type": "uint16"}, {"name": "_minAllowableLockedTokens", "type": "uint256"}, {"name": "_maxAllowableLockedTokens", "type": "uint256"}, {"name": "_minWorkerPeriods", "type": "uint16"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Deposited", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "firstPeriod", "type": "uint16"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Locked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "oldValue", "type": "uint256"}, {"indexed": false, "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "name": "newValue", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "ActivityConfirmed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Mined", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "penalty", "type": "uint256"}, {"indexed": true, "name": "investigator", "type": "address"}, {"indexed": false, "name": "reward", "type": "uint256"}], "name": "Slashed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "worker", "type": "address"}, {"indexed": true, "name": "startPeriod", "type": "uint16"}], "name": "WorkerSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "measureWork", "type": "bool"}], "name": "WorkMeasurementSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": false, "name": "reservedReward", "type": "uint256"}], "name": "Initialized", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["StakingEscrow", "0x9BCfd8feA1D97b61093679f82f8cdf841f521535", [{"constant": false, "inputs": [{"name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentMintingPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "totalSupply", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "workLock", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "minLockedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_workLock", "type": "address"}], "name": "setWorkLock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getLastActivePeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_period", "type": "uint16"}], "name": "findIndexOfPastDowntime", "outputs": [{"name": "index", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_periods", "type": "uint16"}, {"name": "_startIndex", "type": "uint256"}, {"name": "_maxStakers", "type": "uint256"}], "name": "getActiveStakers", "outputs": [{"name": "allLockedTokens", "type": "uint256"}, {"name": "activeStakers", "type": "uint256[2][]"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_measureWork", "type": "bool"}], "name": "setWorkMeasurement", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"name": "value", "type": "uint256"}, {"name": "confirmedPeriod1", "type": "uint16"}, {"name": "confirmedPeriod2", "type": "uint16"}, {"name": "reStake", "type": "bool"}, {"name": "lockReStakeUntilPeriod", "type": "uint16"}, {"name": "worker", "type": "address"}, {"name": "workerStartPeriod", "type": "uint16"}, {"name": "lastActivePeriod", "type": "uint16"}, {"name": "measureWork", "type": "bool"}, {"name": "completedWork", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getSubStakeInfo", "outputs": [{"name": "firstPeriod", "type": "uint16"}, {"name": "lastPeriod", "type": "uint16"}, {"name": "periods", "type": "uint16"}, {"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "adjudicator", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokensInPast", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getReservedReward", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "workerToStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "confirmActivity", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "lock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "miningCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_from", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_tokenContract", "type": "address"}, {"name": "", "type": "bytes"}], "name": "receiveApproval", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_index", "type": "uint256"}], "name": "getPastDowntime", "outputs": [{"name": "startPeriod", "type": "uint16"}, {"name": "endPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_penalty", "type": "uint256"}, {"name": "_investigator", "type": "address"}, {"name": "_reward", "type": "uint256"}], "name": "slashStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "getStakersLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "lockedPeriodsCoefficient", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "policyManager", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "EMPTY_CONFIRMED_PERIOD", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply1", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_worker", "type": "address"}], "name": "setWorker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_worker", "type": "address"}], "name": "getStakerFromWorker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minWorkerPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_staker", "type": "address"}], "name": "getCompletedWork", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_index", "type": "uint256"}, {"name": "_newValue", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_staker", "type": "address"}, {"name": "_value", "type": "uint256"}, {"name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply2", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "rewardedPeriods", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_token", "type": "address"}, {"name": "_hoursPerPeriod", "type": "uint32"}, {"name": "_miningCoefficient", "type": "uint256"}, {"name": "_lockedPeriodsCoefficient", "type": "uint256"}, {"name": "_rewardedPeriods", "type": "uint16"}, {"name": "_minLockedPeriods", "type": "uint16"}, {"name": "_minAllowableLockedTokens", "type": "uint256"}, {"name": "_maxAllowableLockedTokens", "type": "uint256"}, {"name": "_minWorkerPeriods", "type": "uint16"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Deposited", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "firstPeriod", "type": "uint16"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Locked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "oldValue", "type": "uint256"}, {"indexed": false, "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "name": "newValue", "type": "uint256"}, {"indexed": false, "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "ActivityConfirmed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "period", "type": "uint16"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Mined", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "penalty", "type": "uint256"}, {"indexed": true, "name": "investigator", "type": "address"}, {"indexed": false, "name": "reward", "type": "uint256"}], "name": "Slashed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": true, "name": "worker", "type": "address"}, {"indexed": true, "name": "startPeriod", "type": "uint16"}], "name": "WorkerSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "measureWork", "type": "bool"}], "name": "WorkMeasurementSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": false, "name": "reservedReward", "type": "uint256"}], "name": "Initialized", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]], ["PolicyManager", "0xa290f991A4EcBd3B89124A4E1fA0F8555D9389db", [{"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "nodes", "outputs": [{"name": "reward", "type": "uint256"}, {"name": "rewardRate", "type": "uint256"}, {"name": "lastMinedPeriod", "type": "uint16"}, {"name": "minRewardRate", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_minRewardRate", "type": "uint256"}], "name": "setMinRewardRate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "withdraw", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_recipient", "type": "address"}], "name": "withdraw", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_node", "type": "address"}], "name": "refund", "outputs": [{"name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_policyId", "type": "bytes16"}], "name": "getArrangementsLength", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "bytes16"}], "name": "policies", "outputs": [{"name": "client", "type": "address"}, {"name": "rewardRate", "type": "uint256"}, {"name": "firstPartialReward", "type": "uint256"}, {"name": "startPeriod", "type": "uint16"}, {"name": "lastPeriod", "type": "uint16"}, {"name": "disabled", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_node", "type": "address"}, {"name": "_period", "type": "uint16"}], "name": "register", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_numberOfPeriods", "type": "uint16"}, {"name": "_firstPartialReward", "type": "uint256"}, {"name": "_nodes", "type": "address[]"}], "name": "createPolicy", "outputs": [], "payable": true, "stateMutability": "payable", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_node", "type": "address"}], "name": "revokeArrangement", "outputs": [{"name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}], "name": "revokePolicy", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_node", "type": "address"}], "name": "calculateRefundValue", "outputs": [{"name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "_node", "type": "address"}, {"name": "_period", "type": "uint16"}], "name": "updateReward", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_index", "type": "uint256"}], "name": "getArrangementInfo", "outputs": [{"name": "node", "type": "address"}, {"name": "indexOfDowntimePeriods", "type": "uint256"}, {"name": "lastRefundedPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}], "name": "refund", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "escrow", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "_policyId", "type": "bytes16"}], "name": "calculateRefundValue", "outputs": [{"name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_node", "type": "address"}, {"name": "_period", "type": "uint16"}], "name": "getNodeRewardDelta", "outputs": [{"name": "", "type": "int256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"name": "_escrow", "type": "address"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "client", "type": "address"}], "name": "PolicyCreated", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "client", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "PolicyRevoked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "client", "type": "address"}, {"indexed": true, "name": "node", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "ArrangementRevoked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "node", "type": "address"}, {"indexed": true, "name": "recipient", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "client", "type": "address"}, {"indexed": true, "name": "node", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "RefundForArrangement", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "client", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "RefundForPolicy", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "testTarget", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "target", "type": "address"}, {"indexed": false, "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]]] \ No newline at end of file