From 35cf62407bf637cae8ecd5bcfb57c96c9b1e3915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=BA=C3=B1ez?= Date: Thu, 13 Feb 2020 15:59:54 +0100 Subject: [PATCH] Updated registry with fix for PolicyManager (#1672) --- .../eth/contract_registry/cassandra/contract_registry.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nucypher/blockchain/eth/contract_registry/cassandra/contract_registry.json b/nucypher/blockchain/eth/contract_registry/cassandra/contract_registry.json index 476166b64..171b00d40 100644 --- a/nucypher/blockchain/eth/contract_registry/cassandra/contract_registry.json +++ b/nucypher/blockchain/eth/contract_registry/cassandra/contract_registry.json @@ -1 +1 @@ -[["NuCypherToken", "v0.0.0", "0xA59820B4C01A3c3869554DB0243a02bcA7b15730", [{"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", "v2.2.1", "0xfC4Fd75F3B88Cbc5fdAe1b0011De4C361592E28e", [{"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": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "burn", "outputs": [], "payable": false, "stateMutability": "nonpayable", "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": "reStakeDisabled", "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"}, {"name": "windDown", "type": "bool"}, {"name": "reservedSlot2", "type": "uint256"}, {"name": "reservedSlot3", "type": "uint256"}, {"name": "reservedSlot4", "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": "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": false, "inputs": [{"name": "_windDown", "type": "bool"}], "name": "setWindDown", "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": "isTestContract", "outputs": [{"name": "", "type": "bool"}], "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": false, "inputs": [{"name": "_reservedReward", "type": "uint256"}], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "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"}, {"name": "_isTestContract", "type": "bool"}], "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": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "windDown", "type": "bool"}], "name": "WindDownSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Burnt", "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", "v0.0.0", "0xdC098916291e1ef683A4f469fa32025c872194df", [{"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", "v2.1.1", "0xa4AF689C22b6505f65bD8dfDf47B2d2Ce59a5Ee4", [{"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_node", "type": "address"}, {"name": "_signature", "type": "bytes"}], "name": "revoke", "outputs": [{"name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"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": true, "inputs": [{"name": "_policyId", "type": "bytes16"}], "name": "getPolicyOwner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "DEFAULT_REWARD_DELTA", "outputs": [{"name": "", "type": "int256"}], "payable": false, "stateMutability": "view", "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": "sponsor", "type": "address"}, {"name": "owner", "type": "address"}, {"name": "rewardRate", "type": "uint256"}, {"name": "startTimestamp", "type": "uint64"}, {"name": "endTimestamp", "type": "uint64"}, {"name": "disabled", "type": "bool"}, {"name": "reservedSlot1", "type": "uint256"}, {"name": "reservedSlot2", "type": "uint256"}, {"name": "reservedSlot3", "type": "uint256"}, {"name": "reservedSlot4", "type": "uint256"}, {"name": "reservedSlot5", "type": "uint256"}], "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": "_policyOwner", "type": "address"}, {"name": "_endTimestamp", "type": "uint64"}, {"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": [{"name": "refundValue", "type": "uint256"}], "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": "_node", "type": "address"}, {"name": "_period", "type": "uint16"}], "name": "setDefaultRewardDelta", "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": "_node", "type": "address"}, {"name": "_period", "type": "uint16"}], "name": "updateReward", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_node", "type": "address"}], "name": "getRevocationHash", "outputs": [{"name": "", "type": "bytes32"}], "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": "_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": "sponsor", "type": "address"}, {"indexed": true, "name": "owner", "type": "address"}, {"indexed": false, "name": "rewardRate", "type": "uint256"}, {"indexed": false, "name": "startTimestamp", "type": "uint64"}, {"indexed": false, "name": "endTimestamp", "type": "uint64"}, {"indexed": false, "name": "numberOfNodes", "type": "uint256"}], "name": "PolicyCreated", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "PolicyRevoked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "sender", "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": "sender", "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": "sender", "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", "v0.0.0", "0x1A0bA37398f2476F533Ae2ab622A79E310AA7680", [{"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", "v1.1.1", "0x1146FF7DFd0C1082F2431B5AA3ea50c47544a858", [{"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", "v0.0.0", "0x319d0CaDfb80428c155781E4702085bFD3703265", [{"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"}]], ["StakingInterface", "v1.3.1", "0xBC333864eC7657ae94378ebB91F323B171d670c7", [{"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": false, "inputs": [{"name": "_windDown", "type": "bool"}], "name": "setWindDown", "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"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "windDown", "type": "bool"}], "name": "WindDownSet", "type": "event"}]], ["StakingInterfaceRouter", "v0.0.0", "0xD11837B9bA76AAe97A3E404F05ce63c096C02028", [{"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"}]]] \ No newline at end of file +[["NuCypherToken", "v0.0.0", "0xA59820B4C01A3c3869554DB0243a02bcA7b15730", [{"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", "v2.2.1", "0xfC4Fd75F3B88Cbc5fdAe1b0011De4C361592E28e", [{"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": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "burn", "outputs": [], "payable": false, "stateMutability": "nonpayable", "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": "reStakeDisabled", "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"}, {"name": "windDown", "type": "bool"}, {"name": "reservedSlot2", "type": "uint256"}, {"name": "reservedSlot3", "type": "uint256"}, {"name": "reservedSlot4", "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": "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": false, "inputs": [{"name": "_windDown", "type": "bool"}], "name": "setWindDown", "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": "isTestContract", "outputs": [{"name": "", "type": "bool"}], "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": false, "inputs": [{"name": "_reservedReward", "type": "uint256"}], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "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"}, {"name": "_isTestContract", "type": "bool"}], "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": true, "name": "staker", "type": "address"}, {"indexed": false, "name": "windDown", "type": "bool"}], "name": "WindDownSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Burnt", "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", "v0.0.0", "0xdC098916291e1ef683A4f469fa32025c872194df", [{"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", "v2.1.1", "0xa4AF689C22b6505f65bD8dfDf47B2d2Ce59a5Ee4", [{"constant": false, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_node", "type": "address"}, {"name": "_signature", "type": "bytes"}], "name": "revoke", "outputs": [{"name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"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": true, "inputs": [{"name": "_policyId", "type": "bytes16"}], "name": "getPolicyOwner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "DEFAULT_REWARD_DELTA", "outputs": [{"name": "", "type": "int256"}], "payable": false, "stateMutability": "view", "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": "sponsor", "type": "address"}, {"name": "owner", "type": "address"}, {"name": "rewardRate", "type": "uint256"}, {"name": "startTimestamp", "type": "uint64"}, {"name": "endTimestamp", "type": "uint64"}, {"name": "disabled", "type": "bool"}, {"name": "reservedSlot1", "type": "uint256"}, {"name": "reservedSlot2", "type": "uint256"}, {"name": "reservedSlot3", "type": "uint256"}, {"name": "reservedSlot4", "type": "uint256"}, {"name": "reservedSlot5", "type": "uint256"}], "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": "_policyOwner", "type": "address"}, {"name": "_endTimestamp", "type": "uint64"}, {"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": [{"name": "refundValue", "type": "uint256"}], "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": "_node", "type": "address"}, {"name": "_period", "type": "uint16"}], "name": "setDefaultRewardDelta", "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": "_node", "type": "address"}, {"name": "_period", "type": "uint16"}], "name": "updateReward", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "_policyId", "type": "bytes16"}, {"name": "_node", "type": "address"}], "name": "getRevocationHash", "outputs": [{"name": "", "type": "bytes32"}], "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": "_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": "sponsor", "type": "address"}, {"indexed": true, "name": "owner", "type": "address"}, {"indexed": false, "name": "rewardRate", "type": "uint256"}, {"indexed": false, "name": "startTimestamp", "type": "uint64"}, {"indexed": false, "name": "endTimestamp", "type": "uint64"}, {"indexed": false, "name": "numberOfNodes", "type": "uint256"}], "name": "PolicyCreated", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "PolicyRevoked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "policyId", "type": "bytes16"}, {"indexed": true, "name": "sender", "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": "sender", "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": "sender", "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", "v0.0.0", "0x1A0bA37398f2476F533Ae2ab622A79E310AA7680", [{"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", "v1.1.1", "0x1146FF7DFd0C1082F2431B5AA3ea50c47544a858", [{"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", "v0.0.0", "0x319d0CaDfb80428c155781E4702085bFD3703265", [{"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"}]], ["StakingInterface", "v1.3.1", "0xBC333864eC7657ae94378ebB91F323B171d670c7", [{"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": false, "inputs": [{"name": "_windDown", "type": "bool"}], "name": "setWindDown", "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"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "windDown", "type": "bool"}], "name": "WindDownSet", "type": "event"}]], ["StakingInterfaceRouter", "v0.0.0", "0xD11837B9bA76AAe97A3E404F05ce63c096C02028", [{"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"}]], ["WorkLock", "v0.0.0", "0x9cEc6a8d9018FF59Bf5df2Ba6914469779EE77Bf", [{"inputs": [{"internalType": "contract NuCypherToken", "name": "_token", "type": "address"}, {"internalType": "contract StakingEscrow", "name": "_escrow", "type": "address"}, {"internalType": "uint256", "name": "_startBidDate", "type": "uint256"}, {"internalType": "uint256", "name": "_endBidDate", "type": "uint256"}, {"internalType": "uint256", "name": "_boostingRefund", "type": "uint256"}, {"internalType": "uint16", "name": "_stakingPeriods", "type": "uint16"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "depositedETH", "type": "uint256"}], "name": "Bid", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "Burnt", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "Canceled", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "claimedTokens", "type": "uint256"}], "name": "Claimed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "Deposited", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "refundETH", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "completedWork", "type": "uint256"}], "name": "Refund", "type": "event"}, {"constant": true, "inputs": [], "name": "SLOWING_REFUND", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "bid", "outputs": [], "payable": true, "stateMutability": "payable", "type": "function"}, {"constant": true, "inputs": [], "name": "boostingRefund", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "burnUnclaimed", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "cancelBid", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "claim", "outputs": [{"internalType": "uint256", "name": "claimedTokens", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "endBidDate", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "escrow", "outputs": [{"internalType": "contract StakingEscrow", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "ethSupply", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "uint256", "name": "_ethAmount", "type": "uint256"}], "name": "ethToTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "uint256", "name": "_ethAmount", "type": "uint256"}], "name": "ethToWork", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_depositor", "type": "address"}], "name": "getRemainingWork", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "refund", "outputs": [{"internalType": "uint256", "name": "refundETH", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "stakingPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "startBidDate", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"internalType": "contract NuCypherToken", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "tokenDeposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "tokenSupply", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "unclaimedTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "workInfo", "outputs": [{"internalType": "uint256", "name": "depositedETH", "type": "uint256"}, {"internalType": "uint256", "name": "completedWork", "type": "uint256"}, {"internalType": "bool", "name": "claimed", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "uint256", "name": "_completedWork", "type": "uint256"}], "name": "workToETH", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}]], ["StakingEscrow", "v2.2.2", "0x48e7F9F1569A8296Cd7F54702A11770B0bf69732", [{"inputs": [{"internalType": "contract NuCypherToken", "name": "_token", "type": "address"}, {"internalType": "uint32", "name": "_hoursPerPeriod", "type": "uint32"}, {"internalType": "uint256", "name": "_miningCoefficient", "type": "uint256"}, {"internalType": "uint256", "name": "_lockedPeriodsCoefficient", "type": "uint256"}, {"internalType": "uint16", "name": "_rewardedPeriods", "type": "uint16"}, {"internalType": "uint16", "name": "_minLockedPeriods", "type": "uint16"}, {"internalType": "uint256", "name": "_minAllowableLockedTokens", "type": "uint256"}, {"internalType": "uint256", "name": "_maxAllowableLockedTokens", "type": "uint256"}, {"internalType": "uint16", "name": "_minWorkerPeriods", "type": "uint16"}, {"internalType": "bool", "name": "_isTestContract", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "staker", "type": "address"}, {"indexed": true, "internalType": "uint16", "name": "period", "type": "uint16"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "ActivityConfirmed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "Burnt", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "staker", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "Deposited", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "staker", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "oldValue", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "internalType": "uint256", "name": "newValue", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": false, "internalType": "uint256", "name": "reservedReward", "type": "uint256"}], "name": "Initialized", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "staker", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "firstPeriod", "type": "uint16"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "Locked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "staker", "type": "address"}, {"indexed": true, "internalType": "uint16", "name": "period", "type": "uint16"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "Mined", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "previousOwner", "type": "address"}, {"indexed": true, "internalType": "address", "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "staker", "type": "address"}, {"indexed": false, "internalType": "uint16", "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "staker", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "staker", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "penalty", "type": "uint256"}, {"indexed": true, "internalType": "address", "name": "investigator", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "reward", "type": "uint256"}], "name": "Slashed", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "testTarget", "type": "address"}, {"indexed": false, "internalType": "address", "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "target", "type": "address"}, {"indexed": false, "internalType": "address", "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "staker", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "windDown", "type": "bool"}], "name": "WindDownSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "staker", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "staker", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "measureWork", "type": "bool"}], "name": "WorkMeasurementSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "staker", "type": "address"}, {"indexed": true, "internalType": "address", "name": "worker", "type": "address"}, {"indexed": true, "internalType": "uint16", "name": "startPeriod", "type": "uint16"}], "name": "WorkerSet", "type": "event"}, {"constant": true, "inputs": [], "name": "EMPTY_CONFIRMED_PERIOD", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "adjudicator", "outputs": [{"internalType": "contract AdjudicatorInterface", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "burn", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "confirmActivity", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "currentMintingPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply1", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "currentSupply2", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_newValue", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "findIndexOfPastDowntime", "outputs": [{"internalType": "uint256", "name": "index", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"internalType": "uint16", "name": "_periods", "type": "uint16"}, {"internalType": "uint256", "name": "_startIndex", "type": "uint256"}, {"internalType": "uint256", "name": "_maxStakers", "type": "uint256"}], "name": "getActiveStakers", "outputs": [{"internalType": "uint256", "name": "allLockedTokens", "type": "uint256"}, {"internalType": "uint256[2][]", "name": "activeStakers", "type": "uint256[2][]"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getCompletedWork", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getLastActivePeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"internalType": "uint256", "name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "getLockedTokensInPast", "outputs": [{"internalType": "uint256", "name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_index", "type": "uint256"}], "name": "getPastDowntime", "outputs": [{"internalType": "uint16", "name": "startPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "endPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getReservedReward", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_worker", "type": "address"}], "name": "getStakerFromWorker", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getStakersLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_index", "type": "uint256"}], "name": "getSubStakeInfo", "outputs": [{"internalType": "uint16", "name": "firstPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "lastPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "periods", "type": "uint16"}, {"internalType": "uint256", "name": "lockedValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"internalType": "uint256", "name": "_reservedReward", "type": "uint256"}], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isTestContract", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "lock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "uint16", "name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "lockedPeriodsCoefficient", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minLockedPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minWorkerPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "miningCoefficient", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "policyManager", "outputs": [{"internalType": "contract PolicyManagerInterface", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "address", "name": "_from", "type": "address"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "address", "name": "_tokenContract", "type": "address"}, {"internalType": "bytes", "name": "", "type": "bytes"}], "name": "receiveApproval", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "rewardedPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"internalType": "uint32", "name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"internalType": "bytes32", "name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"internalType": "contract AdjudicatorInterface", "name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "contract PolicyManagerInterface", "name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "bool", "name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "bool", "name": "_windDown", "type": "bool"}], "name": "setWindDown", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "contract WorkLockInterface", "name": "_workLock", "type": "address"}], "name": "setWorkLock", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "bool", "name": "_measureWork", "type": "bool"}], "name": "setWorkMeasurement", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "address", "name": "_worker", "type": "address"}], "name": "setWorker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_penalty", "type": "uint256"}, {"internalType": "address", "name": "_investigator", "type": "address"}, {"internalType": "uint256", "name": "_reward", "type": "uint256"}], "name": "slashStaker", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"internalType": "uint256", "name": "value", "type": "uint256"}, {"internalType": "uint16", "name": "confirmedPeriod1", "type": "uint16"}, {"internalType": "uint16", "name": "confirmedPeriod2", "type": "uint16"}, {"internalType": "bool", "name": "reStakeDisabled", "type": "bool"}, {"internalType": "uint16", "name": "lockReStakeUntilPeriod", "type": "uint16"}, {"internalType": "address", "name": "worker", "type": "address"}, {"internalType": "uint16", "name": "workerStartPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "lastActivePeriod", "type": "uint16"}, {"internalType": "bool", "name": "measureWork", "type": "bool"}, {"internalType": "uint256", "name": "completedWork", "type": "uint256"}, {"internalType": "bool", "name": "windDown", "type": "bool"}, {"internalType": "uint256", "name": "reservedSlot2", "type": "uint256"}, {"internalType": "uint256", "name": "reservedSlot3", "type": "uint256"}, {"internalType": "uint256", "name": "reservedSlot4", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"internalType": "contract NuCypherToken", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "totalSupply", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "workLock", "outputs": [{"internalType": "contract WorkLockInterface", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "workerToStaker", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}]], ["PolicyManager", "v2.1.2", "0x50635b5CcD5b7D8F4911b7089998E3B46560076B", [{"inputs": [{"internalType": "contract StakingEscrow", "name": "_escrow", "type": "address"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "bytes16", "name": "policyId", "type": "bytes16"}, {"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": true, "internalType": "address", "name": "node", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "ArrangementRevoked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "node", "type": "address"}, {"indexed": false, "internalType": "uint16", "name": "period", "type": "uint16"}], "name": "NodeBrokenState", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "previousOwner", "type": "address"}, {"indexed": true, "internalType": "address", "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "bytes16", "name": "policyId", "type": "bytes16"}, {"indexed": true, "internalType": "address", "name": "sponsor", "type": "address"}, {"indexed": true, "internalType": "address", "name": "owner", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "rewardRate", "type": "uint256"}, {"indexed": false, "internalType": "uint64", "name": "startTimestamp", "type": "uint64"}, {"indexed": false, "internalType": "uint64", "name": "endTimestamp", "type": "uint64"}, {"indexed": false, "internalType": "uint256", "name": "numberOfNodes", "type": "uint256"}], "name": "PolicyCreated", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "bytes16", "name": "policyId", "type": "bytes16"}, {"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "PolicyRevoked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "bytes16", "name": "policyId", "type": "bytes16"}, {"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": true, "internalType": "address", "name": "node", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "RefundForArrangement", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "bytes16", "name": "policyId", "type": "bytes16"}, {"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "RefundForPolicy", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "testTarget", "type": "address"}, {"indexed": false, "internalType": "address", "name": "sender", "type": "address"}], "name": "StateVerified", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "target", "type": "address"}, {"indexed": false, "internalType": "address", "name": "sender", "type": "address"}], "name": "UpgradeFinished", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "node", "type": "address"}, {"indexed": true, "internalType": "address", "name": "recipient", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "Withdrawn", "type": "event"}, {"constant": true, "inputs": [], "name": "DEFAULT_REWARD_DELTA", "outputs": [{"internalType": "int256", "name": "", "type": "int256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "calculateRefundValue", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "calculateRefundValue", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_policyOwner", "type": "address"}, {"internalType": "uint64", "name": "_endTimestamp", "type": "uint64"}, {"internalType": "address[]", "name": "_nodes", "type": "address[]"}], "name": "createPolicy", "outputs": [], "payable": true, "stateMutability": "payable", "type": "function"}, {"constant": true, "inputs": [], "name": "escrow", "outputs": [{"internalType": "contract StakingEscrow", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "uint256", "name": "_index", "type": "uint256"}], "name": "getArrangementInfo", "outputs": [{"internalType": "address", "name": "node", "type": "address"}, {"internalType": "uint256", "name": "indexOfDowntimePeriods", "type": "uint256"}, {"internalType": "uint16", "name": "lastRefundedPeriod", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "getArrangementsLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "getCurrentPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "getNodeRewardDelta", "outputs": [{"internalType": "int256", "name": "", "type": "int256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "getPolicyOwner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "getRevocationHash", "outputs": [{"internalType": "bytes32", "name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "nodes", "outputs": [{"internalType": "uint256", "name": "reward", "type": "uint256"}, {"internalType": "uint256", "name": "rewardRate", "type": "uint256"}, {"internalType": "uint16", "name": "lastMinedPeriod", "type": "uint16"}, {"internalType": "uint256", "name": "minRewardRate", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"internalType": "bytes16", "name": "", "type": "bytes16"}], "name": "policies", "outputs": [{"internalType": "address payable", "name": "sponsor", "type": "address"}, {"internalType": "address", "name": "owner", "type": "address"}, {"internalType": "uint256", "name": "rewardRate", "type": "uint256"}, {"internalType": "uint64", "name": "startTimestamp", "type": "uint64"}, {"internalType": "uint64", "name": "endTimestamp", "type": "uint64"}, {"internalType": "bool", "name": "disabled", "type": "bool"}, {"internalType": "uint256", "name": "reservedSlot1", "type": "uint256"}, {"internalType": "uint256", "name": "reservedSlot2", "type": "uint256"}, {"internalType": "uint256", "name": "reservedSlot3", "type": "uint256"}, {"internalType": "uint256", "name": "reservedSlot4", "type": "uint256"}, {"internalType": "uint256", "name": "reservedSlot5", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "refund", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "refund", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "register", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "bytes", "name": "_signature", "type": "bytes"}], "name": "revoke", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "revokeArrangement", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "revokePolicy", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "secondsPerPeriod", "outputs": [{"internalType": "uint32", "name": "", "type": "uint32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "secretHash", "outputs": [{"internalType": "bytes32", "name": "", "type": "bytes32"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "setDefaultRewardDelta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "uint256", "name": "_minRewardRate", "type": "uint256"}], "name": "setMinRewardRate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "updateReward", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "withdraw", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"internalType": "address payable", "name": "_recipient", "type": "address"}], "name": "withdraw", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}]]] \ No newline at end of file