From 33f5cd37d1ed8bbffa356afa6924ed66aa534360 Mon Sep 17 00:00:00 2001 From: mswilkison Date: Tue, 13 Oct 2020 16:47:17 -0500 Subject: [PATCH] Update contract registry for PolicyManager --- .../eth/contract_registry/mainnet/contract_registry.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nucypher/blockchain/eth/contract_registry/mainnet/contract_registry.json b/nucypher/blockchain/eth/contract_registry/mainnet/contract_registry.json index 88eaf2a8a..025fc0f88 100644 --- a/nucypher/blockchain/eth/contract_registry/mainnet/contract_registry.json +++ b/nucypher/blockchain/eth/contract_registry/mainnet/contract_registry.json @@ -1 +1 @@ -[["NuCypherToken", "v0.0.0", "0x4fE83213D56308330EC302a8BD641f1d0113A4Cc", [{"inputs": [{"internalType": "uint256", "name": "_totalSupplyOfTokens", "type": "uint256"}], "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "owner", "type": "address"}, {"indexed": true, "internalType": "address", "name": "spender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "Approval", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "from", "type": "address"}, {"indexed": true, "internalType": "address", "name": "to", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "Transfer", "type": "event"}, {"inputs": [{"internalType": "address", "name": "owner", "type": "address"}, {"internalType": "address", "name": "spender", "type": "address"}], "name": "allowance", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "spender", "type": "address"}, {"internalType": "uint256", "name": "value", "type": "uint256"}], "name": "approve", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_spender", "type": "address"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "bytes", "name": "_extraData", "type": "bytes"}], "name": "approveAndCall", "outputs": [{"internalType": "bool", "name": "success", "type": "bool"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "owner", "type": "address"}], "name": "balanceOf", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "decimals", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "spender", "type": "address"}, {"internalType": "uint256", "name": "subtractedValue", "type": "uint256"}], "name": "decreaseAllowance", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "spender", "type": "address"}, {"internalType": "uint256", "name": "addedValue", "type": "uint256"}], "name": "increaseAllowance", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "name", "outputs": [{"internalType": "string", "name": "", "type": "string"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "symbol", "outputs": [{"internalType": "string", "name": "", "type": "string"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "totalSupply", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "to", "type": "address"}, {"internalType": "uint256", "name": "value", "type": "uint256"}], "name": "transfer", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "from", "type": "address"}, {"internalType": "address", "name": "to", "type": "address"}, {"internalType": "uint256", "name": "value", "type": "uint256"}], "name": "transferFrom", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "nonpayable", "type": "function"}]], ["StakingEscrow", "v5.3.1", "0x33D28FCB3204b146eA8D5f059Ebef8679F992DEb", [{"inputs": [{"internalType": "contract NuCypherToken", "name": "_token", "type": "address"}, {"internalType": "uint32", "name": "_hoursPerPeriod", "type": "uint32"}, {"internalType": "uint256", "name": "_issuanceDecayCoefficient", "type": "uint256"}, {"internalType": "uint256", "name": "_lockDurationCoefficient1", "type": "uint256"}, {"internalType": "uint256", "name": "_lockDurationCoefficient2", "type": "uint256"}, {"internalType": "uint16", "name": "_maximumRewardedPeriods", "type": "uint16"}, {"internalType": "uint256", "name": "_firstPhaseTotalSupply", "type": "uint256"}, {"internalType": "uint256", "name": "_firstPhaseMaxIssuance", "type": "uint256"}, {"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"}], "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": "CommitmentMade", "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": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "Donated", "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": false, "internalType": "uint256", "name": "value1", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "value2", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "lastPeriod", "type": "uint16"}], "name": "Merged", "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": "Minted", "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": "uint256", "name": "value", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "Prolonged", "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": "staker", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "snapshotsEnabled", "type": "bool"}], "name": "SnapshotSet", "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": "WorkerBonded", "type": "event"}, {"inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "adjudicator", "outputs": [{"internalType": "contract AdjudicatorInterface", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "name": "balanceHistory", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address[]", "name": "_stakers", "type": "address[]"}, {"internalType": "uint256[]", "name": "_numberOfSubStakes", "type": "uint256[]"}, {"internalType": "uint256[]", "name": "_values", "type": "uint256[]"}, {"internalType": "uint16[]", "name": "_periods", "type": "uint16[]"}, {"internalType": "uint16", "name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "batchDeposit", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_worker", "type": "address"}], "name": "bondWorker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "commitToNextPeriod", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "currentMintingPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "currentPeriodSupply", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "depositAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "depositFromWorkLock", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_newValue", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "donate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "findIndexOfPastDowntime", "outputs": [{"internalType": "uint256", "name": "index", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "firstPhaseMaxIssuance", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "firstPhaseTotalSupply", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"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][]"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getCompletedWork", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getCurrentPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getFlags", "outputs": [{"internalType": "bool", "name": "windDown", "type": "bool"}, {"internalType": "bool", "name": "reStake", "type": "bool"}, {"internalType": "bool", "name": "measureWork", "type": "bool"}, {"internalType": "bool", "name": "snapshots", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getLastCommittedPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"internalType": "uint256", "name": "lockedValue", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"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"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getReservedReward", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getStakersLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"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": "uint128", "name": "lockedValue", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_reservedReward", "type": "uint256"}, {"internalType": "address", "name": "_sourceOfFunds", "type": "address"}], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isTestContract", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "lockAndCreate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "lockAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "lockDurationCoefficient1", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "lockDurationCoefficient2", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint16", "name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "maximumRewardedPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index1", "type": "uint256"}, {"internalType": "uint256", "name": "_index2", "type": "uint256"}], "name": "mergeStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "minLockedPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "minWorkerPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "mintingCoefficient", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "policyManager", "outputs": [{"internalType": "contract PolicyManagerInterface", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousPeriodSupply", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"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": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "secondsPerPeriod", "outputs": [{"internalType": "uint32", "name": "", "type": "uint32"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "contract AdjudicatorInterface", "name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "contract PolicyManagerInterface", "name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_enableSnapshots", "type": "bool"}], "name": "setSnapshots", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_windDown", "type": "bool"}], "name": "setWindDown", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "contract WorkLockInterface", "name": "_workLock", "type": "address"}], "name": "setWorkLock", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "bool", "name": "_measureWork", "type": "bool"}], "name": "setWorkMeasurement", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"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": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "stakerFromWorker", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"internalType": "uint256", "name": "value", "type": "uint256"}, {"internalType": "uint16", "name": "currentCommittedPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "nextCommittedPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "lastCommittedPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "lockReStakeUntilPeriod", "type": "uint16"}, {"internalType": "uint256", "name": "completedWork", "type": "uint256"}, {"internalType": "uint16", "name": "workerStartPeriod", "type": "uint16"}, {"internalType": "address", "name": "worker", "type": "address"}, {"internalType": "uint256", "name": "flags", "type": "uint256"}, {"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"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "supportsHistory", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "pure", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "token", "outputs": [{"internalType": "contract NuCypherToken", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_blockNumber", "type": "uint256"}], "name": "totalStakedAt", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_owner", "type": "address"}, {"internalType": "uint256", "name": "_blockNumber", "type": "uint256"}], "name": "totalStakedForAt", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "totalSupply", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "workLock", "outputs": [{"internalType": "contract WorkLockInterface", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}]], ["Dispatcher", "v0.0.0", "0xbbD3C0C794F40c4f993B03F65343aCC6fcfCb2e2", [{"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "stateMutability": "nonpayable", "type": "constructor"}, {"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": "from", "type": "address"}, {"indexed": true, "internalType": "address", "name": "to", "type": "address"}, {"indexed": false, "internalType": "address", "name": "owner", "type": "address"}], "name": "RolledBack", "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": "from", "type": "address"}, {"indexed": true, "internalType": "address", "name": "to", "type": "address"}, {"indexed": false, "internalType": "address", "name": "owner", "type": "address"}], "name": "Upgraded", "type": "event"}, {"stateMutability": "payable", "type": "fallback"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "finishUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "implementation", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "proxyType", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "pure", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "rollback", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "upgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"stateMutability": "payable", "type": "receive"}]], ["PolicyManager", "v6.1.2", "0xA5F6118d5BDA1cB5156a199004C182a3a7DC4e59", [{"inputs": [{"internalType": "contract StakingEscrow", "name": "_escrow", "type": "address"}], "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": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "min", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "defaultValue", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "max", "type": "uint256"}], "name": "FeeRateRangeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "node", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "MinFeeRateSet", "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": "feeRate", "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"}, {"inputs": [], "name": "DEFAULT_FEE_DELTA", "outputs": [{"internalType": "int256", "name": "", "type": "int256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "calculateRefundValue", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "calculateRefundValue", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"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": [], "stateMutability": "payable", "type": "function"}, {"inputs": [], "name": "escrow", "outputs": [{"internalType": "contract StakingEscrow", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "feeRateRange", "outputs": [{"internalType": "uint128", "name": "min", "type": "uint128"}, {"internalType": "uint128", "name": "defaultValue", "type": "uint128"}, {"internalType": "uint128", "name": "max", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"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"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "getArrangementsLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getCurrentPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_node", "type": "address"}], "name": "getMinFeeRate", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "getNodeFeeDelta", "outputs": [{"internalType": "int256", "name": "", "type": "int256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "getPolicyOwner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "getRevocationHash", "outputs": [{"internalType": "bytes32", "name": "", "type": "bytes32"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "nodes", "outputs": [{"internalType": "uint128", "name": "fee", "type": "uint128"}, {"internalType": "uint16", "name": "previousFeePeriod", "type": "uint16"}, {"internalType": "uint256", "name": "feeRate", "type": "uint256"}, {"internalType": "uint256", "name": "minFeeRate", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "", "type": "bytes16"}], "name": "policies", "outputs": [{"internalType": "bool", "name": "disabled", "type": "bool"}, {"internalType": "address payable", "name": "sponsor", "type": "address"}, {"internalType": "address", "name": "owner", "type": "address"}, {"internalType": "uint128", "name": "feeRate", "type": "uint128"}, {"internalType": "uint64", "name": "startTimestamp", "type": "uint64"}, {"internalType": "uint64", "name": "endTimestamp", "type": "uint64"}, {"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"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "refund", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "refund", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "register", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"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"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "revokeArrangement", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "revokePolicy", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "secondsPerPeriod", "outputs": [{"internalType": "uint32", "name": "", "type": "uint32"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "setDefaultFeeDelta", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint128", "name": "_min", "type": "uint128"}, {"internalType": "uint128", "name": "_default", "type": "uint128"}, {"internalType": "uint128", "name": "_max", "type": "uint128"}], "name": "setFeeRateRange", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_minFeeRate", "type": "uint256"}], "name": "setMinFeeRate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "updateFee", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "withdraw", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address payable", "name": "_recipient", "type": "address"}], "name": "withdraw", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}]], ["Dispatcher", "v0.0.0", "0x67E4A942c067Ff25cE7705B69C318cA2Dfa54D64", [{"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "stateMutability": "nonpayable", "type": "constructor"}, {"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": "from", "type": "address"}, {"indexed": true, "internalType": "address", "name": "to", "type": "address"}, {"indexed": false, "internalType": "address", "name": "owner", "type": "address"}], "name": "RolledBack", "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": "from", "type": "address"}, {"indexed": true, "internalType": "address", "name": "to", "type": "address"}, {"indexed": false, "internalType": "address", "name": "owner", "type": "address"}], "name": "Upgraded", "type": "event"}, {"stateMutability": "payable", "type": "fallback"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "finishUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "implementation", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "proxyType", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "pure", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "rollback", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "upgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"stateMutability": "payable", "type": "receive"}]], ["Adjudicator", "v2.1.2", "0x577aCF90e357300262210a17Ac69effFBD2CBA3c", [{"inputs": [{"internalType": "contract StakingEscrow", "name": "_escrow", "type": "address"}, {"internalType": "enum SignatureVerifier.HashAlgorithm", "name": "_hashAlgorithm", "type": "uint8"}, {"internalType": "uint256", "name": "_basePenalty", "type": "uint256"}, {"internalType": "uint256", "name": "_penaltyHistoryCoefficient", "type": "uint256"}, {"internalType": "uint256", "name": "_percentagePenaltyCoefficient", "type": "uint256"}, {"internalType": "uint256", "name": "_rewardCoefficient", "type": "uint256"}], "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "bytes32", "name": "evaluationHash", "type": "bytes32"}, {"indexed": true, "internalType": "address", "name": "investigator", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "correctness", "type": "bool"}], "name": "CFragEvaluated", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "bytes32", "name": "evaluationHash", "type": "bytes32"}, {"indexed": true, "internalType": "address", "name": "worker", "type": "address"}, {"indexed": true, "internalType": "address", "name": "staker", "type": "address"}], "name": "IncorrectCFragVerdict", "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": "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"}, {"inputs": [], "name": "basePenalty", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "escrow", "outputs": [{"internalType": "contract StakingEscrow", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes", "name": "_capsuleBytes", "type": "bytes"}, {"internalType": "bytes", "name": "_cFragBytes", "type": "bytes"}, {"internalType": "bytes", "name": "_cFragSignature", "type": "bytes"}, {"internalType": "bytes", "name": "_taskSignature", "type": "bytes"}, {"internalType": "bytes", "name": "_requesterPublicKey", "type": "bytes"}, {"internalType": "bytes", "name": "_workerPublicKey", "type": "bytes"}, {"internalType": "bytes", "name": "_workerIdentityEvidence", "type": "bytes"}, {"internalType": "bytes", "name": "_preComputedData", "type": "bytes"}], "name": "evaluateCFrag", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bytes32", "name": "", "type": "bytes32"}], "name": "evaluatedCFrags", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "hashAlgorithm", "outputs": [{"internalType": "enum SignatureVerifier.HashAlgorithm", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "penaltyHistory", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "penaltyHistoryCoefficient", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "percentagePenaltyCoefficient", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "rewardCoefficient", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "stateMutability": "nonpayable", "type": "function"}]], ["Dispatcher", "v0.0.0", "0x359924Be0640659F34198e518BF3d40Fb56160BE", [{"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "stateMutability": "nonpayable", "type": "constructor"}, {"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": "from", "type": "address"}, {"indexed": true, "internalType": "address", "name": "to", "type": "address"}, {"indexed": false, "internalType": "address", "name": "owner", "type": "address"}], "name": "RolledBack", "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": "from", "type": "address"}, {"indexed": true, "internalType": "address", "name": "to", "type": "address"}, {"indexed": false, "internalType": "address", "name": "owner", "type": "address"}], "name": "Upgraded", "type": "event"}, {"stateMutability": "payable", "type": "fallback"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "finishUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "implementation", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "proxyType", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "pure", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "rollback", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "upgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"stateMutability": "payable", "type": "receive"}]], ["WorkLock", "v0.0.0", "0xe9778E69a961e64d3cdBB34CF6778281d34667c2", [{"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": "_endCancellationDate", "type": "uint256"}, {"internalType": "uint256", "name": "_boostingRefund", "type": "uint256"}, {"internalType": "uint16", "name": "_stakingPeriods", "type": "uint16"}, {"internalType": "uint256", "name": "_minAllowedBid", "type": "uint256"}], "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": "startIndex", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "endIndex", "type": "uint256"}], "name": "BiddersChecked", "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": "CompensationWithdrawn", "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": true, "internalType": "address", "name": "bidder", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "refundETH", "type": "uint256"}], "name": "ForceRefund", "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": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "refundETH", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "completedWork", "type": "uint256"}], "name": "Refund", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}], "name": "Shutdown", "type": "event"}, {"inputs": [], "name": "SLOWING_REFUND", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "bid", "outputs": [], "stateMutability": "payable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "name": "bidders", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "bonusETHSupply", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "boostingRefund", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "cancelBid", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "claim", "outputs": [{"internalType": "uint256", "name": "claimedTokens", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "compensation", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "endBidDate", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "endCancellationDate", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "escrow", "outputs": [{"internalType": "contract StakingEscrow", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_ethAmount", "type": "uint256"}], "name": "ethToTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_ethAmount", "type": "uint256"}], "name": "ethToWork", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address payable[]", "name": "_biddersForRefund", "type": "address[]"}], "name": "forceRefund", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_bidder", "type": "address"}], "name": "getAvailableRefund", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getBiddersLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_bidder", "type": "address"}], "name": "getRemainingWork", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isClaimingAvailable", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "minAllowedBid", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "nextBidderToCheck", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "refund", "outputs": [{"internalType": "uint256", "name": "refundETH", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "shutdown", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "stakingPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "startBidDate", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "token", "outputs": [{"internalType": "contract NuCypherToken", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "tokenDeposit", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "tokenSupply", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_gasToSaveState", "type": "uint256"}], "name": "verifyBiddingCorrectness", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "withdrawCompensation", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"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"}, {"internalType": "uint128", "name": "index", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_completedWork", "type": "uint256"}, {"internalType": "uint256", "name": "_depositedETH", "type": "uint256"}], "name": "workToETH", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}]], ["StakingInterface", "v1.5.2", "0x050e8544B792fe6611Df9090E3fb0D488cE7249f", [{"inputs": [{"internalType": "contract NuCypherToken", "name": "_token", "type": "address"}, {"internalType": "contract StakingEscrow", "name": "_escrow", "type": "address"}, {"internalType": "contract PolicyManager", "name": "_policyManager", "type": "address"}, {"internalType": "contract WorkLock", "name": "_workLock", "type": "address"}], "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"}], "name": "BidCanceled", "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"}], "name": "CompensationWithdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "DepositedAndIncreased", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "DepositedAsStaker", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "newValue", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "LockedAndCreated", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "LockedAndIncreased", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index1", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "index2", "type": "uint256"}], "name": "Merged", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "MinFeeRateSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}], "name": "Minted", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "PolicyFeeWithdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "Prolonged", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint16", "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "refundETH", "type": "uint256"}], "name": "Refund", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "windDown", "type": "bool"}], "name": "WindDownSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "WithdrawnAsStaker", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "address", "name": "worker", "type": "address"}], "name": "WorkerBonded", "type": "event"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "bid", "outputs": [], "stateMutability": "payable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_worker", "type": "address"}], "name": "bondWorker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "cancelBid", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "claim", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "depositAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "depositAsStaker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_newValue", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "escrow", "outputs": [{"internalType": "contract StakingEscrow", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "lockAndCreate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "lockAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint16", "name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index1", "type": "uint256"}, {"internalType": "uint256", "name": "_index2", "type": "uint256"}], "name": "mergeStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "policyManager", "outputs": [{"internalType": "contract PolicyManager", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "refund", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_minFeeRate", "type": "uint256"}], "name": "setMinFeeRate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_windDown", "type": "bool"}], "name": "setWindDown", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "stakingInterfaceAddress", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "token", "outputs": [{"internalType": "contract NuCypherToken", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "withdrawAsStaker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "withdrawCompensation", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "withdrawPolicyFee", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "workLock", "outputs": [{"internalType": "contract WorkLock", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}]], ["StakingInterfaceRouter", "v0.0.0", "0x9d1205f488f985D524934CA6a8E4354B4abFD1e1", [{"inputs": [{"internalType": "contract BaseStakingInterface", "name": "_target", "type": "address"}], "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "previousOwner", "type": "address"}, {"indexed": true, "internalType": "address", "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "contract BaseStakingInterface", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "contract BaseStakingInterface", "name": "_target", "type": "address"}], "name": "upgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}]], ["StakingEscrow", "v5.4.3", "0x6Cf77873b3abE2084cf11aE5a7af71E14994d52c", [{"inputs": [{"internalType": "contract NuCypherToken", "name": "_token", "type": "address"}, {"internalType": "uint32", "name": "_hoursPerPeriod", "type": "uint32"}, {"internalType": "uint256", "name": "_issuanceDecayCoefficient", "type": "uint256"}, {"internalType": "uint256", "name": "_lockDurationCoefficient1", "type": "uint256"}, {"internalType": "uint256", "name": "_lockDurationCoefficient2", "type": "uint256"}, {"internalType": "uint16", "name": "_maximumRewardedPeriods", "type": "uint16"}, {"internalType": "uint256", "name": "_firstPhaseTotalSupply", "type": "uint256"}, {"internalType": "uint256", "name": "_firstPhaseMaxIssuance", "type": "uint256"}, {"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"}], "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": "CommitmentMade", "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": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "Donated", "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": false, "internalType": "uint256", "name": "value1", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "value2", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "lastPeriod", "type": "uint16"}], "name": "Merged", "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": "Minted", "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": "uint256", "name": "value", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "Prolonged", "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": "staker", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "snapshotsEnabled", "type": "bool"}], "name": "SnapshotSet", "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": "WorkerBonded", "type": "event"}, {"inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "adjudicator", "outputs": [{"internalType": "contract AdjudicatorInterface", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "name": "balanceHistory", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address[]", "name": "_stakers", "type": "address[]"}, {"internalType": "uint256[]", "name": "_numberOfSubStakes", "type": "uint256[]"}, {"internalType": "uint256[]", "name": "_values", "type": "uint256[]"}, {"internalType": "uint16[]", "name": "_periods", "type": "uint16[]"}], "name": "batchDeposit", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_worker", "type": "address"}], "name": "bondWorker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "commitToNextPeriod", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "currentMintingPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "currentPeriodSupply", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "depositAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "depositFromWorkLock", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_newValue", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "donate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "findIndexOfPastDowntime", "outputs": [{"internalType": "uint256", "name": "index", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "firstPhaseMaxIssuance", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "firstPhaseTotalSupply", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"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][]"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getCompletedWork", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getCurrentPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getFlags", "outputs": [{"internalType": "bool", "name": "windDown", "type": "bool"}, {"internalType": "bool", "name": "reStake", "type": "bool"}, {"internalType": "bool", "name": "measureWork", "type": "bool"}, {"internalType": "bool", "name": "snapshots", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getLastCommittedPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"internalType": "uint256", "name": "lockedValue", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"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"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getReservedReward", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getStakersLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"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": "uint128", "name": "lockedValue", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_reservedReward", "type": "uint256"}, {"internalType": "address", "name": "_sourceOfFunds", "type": "address"}], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isTestContract", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "lockAndCreate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "lockAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "lockDurationCoefficient1", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "lockDurationCoefficient2", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint16", "name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "maximumRewardedPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index1", "type": "uint256"}, {"internalType": "uint256", "name": "_index2", "type": "uint256"}], "name": "mergeStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "minLockedPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "minWorkerPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "mintingCoefficient", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "policyManager", "outputs": [{"internalType": "contract PolicyManagerInterface", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousPeriodSupply", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"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": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "secondsPerPeriod", "outputs": [{"internalType": "uint32", "name": "", "type": "uint32"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "contract AdjudicatorInterface", "name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "contract PolicyManagerInterface", "name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_enableSnapshots", "type": "bool"}], "name": "setSnapshots", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_windDown", "type": "bool"}], "name": "setWindDown", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "contract WorkLockInterface", "name": "_workLock", "type": "address"}], "name": "setWorkLock", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "bool", "name": "_measureWork", "type": "bool"}], "name": "setWorkMeasurement", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"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": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "stakerFromWorker", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"internalType": "uint256", "name": "value", "type": "uint256"}, {"internalType": "uint16", "name": "currentCommittedPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "nextCommittedPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "lastCommittedPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "lockReStakeUntilPeriod", "type": "uint16"}, {"internalType": "uint256", "name": "completedWork", "type": "uint256"}, {"internalType": "uint16", "name": "workerStartPeriod", "type": "uint16"}, {"internalType": "address", "name": "worker", "type": "address"}, {"internalType": "uint256", "name": "flags", "type": "uint256"}, {"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"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "supportsHistory", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "pure", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "token", "outputs": [{"internalType": "contract NuCypherToken", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_blockNumber", "type": "uint256"}], "name": "totalStakedAt", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_owner", "type": "address"}, {"internalType": "uint256", "name": "_blockNumber", "type": "uint256"}], "name": "totalStakedForAt", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "totalSupply", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "workLock", "outputs": [{"internalType": "contract WorkLockInterface", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}]], ["StakingInterface", "v1.6.1", "0xd9afaf7a0E39A90abcD5E9f5c78Cb5A618ea542d", [{"inputs": [{"internalType": "contract NuCypherToken", "name": "_token", "type": "address"}, {"internalType": "contract StakingEscrow", "name": "_escrow", "type": "address"}, {"internalType": "contract PolicyManager", "name": "_policyManager", "type": "address"}, {"internalType": "contract WorkLock", "name": "_workLock", "type": "address"}], "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"}], "name": "BidCanceled", "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"}], "name": "CompensationWithdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "DepositedAndIncreased", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "DepositedAsStaker", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "newValue", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "LockedAndCreated", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "LockedAndIncreased", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index1", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "index2", "type": "uint256"}], "name": "Merged", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "MinFeeRateSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}], "name": "Minted", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "PolicyFeeWithdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "Prolonged", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint16", "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "refundETH", "type": "uint256"}], "name": "Refund", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "snapshotsEnabled", "type": "bool"}], "name": "SnapshotSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "windDown", "type": "bool"}], "name": "WindDownSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "WithdrawnAsStaker", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "address", "name": "worker", "type": "address"}], "name": "WorkerBonded", "type": "event"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "bid", "outputs": [], "stateMutability": "payable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_worker", "type": "address"}], "name": "bondWorker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "cancelBid", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "claim", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "depositAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "depositAsStaker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_newValue", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "escrow", "outputs": [{"internalType": "contract StakingEscrow", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "lockAndCreate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "lockAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint16", "name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index1", "type": "uint256"}, {"internalType": "uint256", "name": "_index2", "type": "uint256"}], "name": "mergeStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "policyManager", "outputs": [{"internalType": "contract PolicyManager", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "refund", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_minFeeRate", "type": "uint256"}], "name": "setMinFeeRate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_enableSnapshots", "type": "bool"}], "name": "setSnapshots", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_windDown", "type": "bool"}], "name": "setWindDown", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "stakingInterfaceAddress", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "token", "outputs": [{"internalType": "contract NuCypherToken", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "withdrawAsStaker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "withdrawCompensation", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "withdrawPolicyFee", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "workLock", "outputs": [{"internalType": "contract WorkLock", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}]]] \ No newline at end of file +[["NuCypherToken", "v0.0.0", "0x4fE83213D56308330EC302a8BD641f1d0113A4Cc", [{"inputs": [{"internalType": "uint256", "name": "_totalSupplyOfTokens", "type": "uint256"}], "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "owner", "type": "address"}, {"indexed": true, "internalType": "address", "name": "spender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "Approval", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "from", "type": "address"}, {"indexed": true, "internalType": "address", "name": "to", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "Transfer", "type": "event"}, {"inputs": [{"internalType": "address", "name": "owner", "type": "address"}, {"internalType": "address", "name": "spender", "type": "address"}], "name": "allowance", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "spender", "type": "address"}, {"internalType": "uint256", "name": "value", "type": "uint256"}], "name": "approve", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_spender", "type": "address"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "bytes", "name": "_extraData", "type": "bytes"}], "name": "approveAndCall", "outputs": [{"internalType": "bool", "name": "success", "type": "bool"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "owner", "type": "address"}], "name": "balanceOf", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "decimals", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "spender", "type": "address"}, {"internalType": "uint256", "name": "subtractedValue", "type": "uint256"}], "name": "decreaseAllowance", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "spender", "type": "address"}, {"internalType": "uint256", "name": "addedValue", "type": "uint256"}], "name": "increaseAllowance", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "name", "outputs": [{"internalType": "string", "name": "", "type": "string"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "symbol", "outputs": [{"internalType": "string", "name": "", "type": "string"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "totalSupply", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "to", "type": "address"}, {"internalType": "uint256", "name": "value", "type": "uint256"}], "name": "transfer", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "from", "type": "address"}, {"internalType": "address", "name": "to", "type": "address"}, {"internalType": "uint256", "name": "value", "type": "uint256"}], "name": "transferFrom", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "nonpayable", "type": "function"}]], ["StakingEscrow", "v5.3.1", "0x33D28FCB3204b146eA8D5f059Ebef8679F992DEb", [{"inputs": [{"internalType": "contract NuCypherToken", "name": "_token", "type": "address"}, {"internalType": "uint32", "name": "_hoursPerPeriod", "type": "uint32"}, {"internalType": "uint256", "name": "_issuanceDecayCoefficient", "type": "uint256"}, {"internalType": "uint256", "name": "_lockDurationCoefficient1", "type": "uint256"}, {"internalType": "uint256", "name": "_lockDurationCoefficient2", "type": "uint256"}, {"internalType": "uint16", "name": "_maximumRewardedPeriods", "type": "uint16"}, {"internalType": "uint256", "name": "_firstPhaseTotalSupply", "type": "uint256"}, {"internalType": "uint256", "name": "_firstPhaseMaxIssuance", "type": "uint256"}, {"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"}], "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": "CommitmentMade", "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": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "Donated", "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": false, "internalType": "uint256", "name": "value1", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "value2", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "lastPeriod", "type": "uint16"}], "name": "Merged", "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": "Minted", "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": "uint256", "name": "value", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "Prolonged", "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": "staker", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "snapshotsEnabled", "type": "bool"}], "name": "SnapshotSet", "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": "WorkerBonded", "type": "event"}, {"inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "adjudicator", "outputs": [{"internalType": "contract AdjudicatorInterface", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "name": "balanceHistory", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address[]", "name": "_stakers", "type": "address[]"}, {"internalType": "uint256[]", "name": "_numberOfSubStakes", "type": "uint256[]"}, {"internalType": "uint256[]", "name": "_values", "type": "uint256[]"}, {"internalType": "uint16[]", "name": "_periods", "type": "uint16[]"}, {"internalType": "uint16", "name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "batchDeposit", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_worker", "type": "address"}], "name": "bondWorker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "commitToNextPeriod", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "currentMintingPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "currentPeriodSupply", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "depositAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "depositFromWorkLock", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_newValue", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "donate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "findIndexOfPastDowntime", "outputs": [{"internalType": "uint256", "name": "index", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "firstPhaseMaxIssuance", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "firstPhaseTotalSupply", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"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][]"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getCompletedWork", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getCurrentPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getFlags", "outputs": [{"internalType": "bool", "name": "windDown", "type": "bool"}, {"internalType": "bool", "name": "reStake", "type": "bool"}, {"internalType": "bool", "name": "measureWork", "type": "bool"}, {"internalType": "bool", "name": "snapshots", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getLastCommittedPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"internalType": "uint256", "name": "lockedValue", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"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"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getReservedReward", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getStakersLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"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": "uint128", "name": "lockedValue", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_reservedReward", "type": "uint256"}, {"internalType": "address", "name": "_sourceOfFunds", "type": "address"}], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isTestContract", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "lockAndCreate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "lockAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "lockDurationCoefficient1", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "lockDurationCoefficient2", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint16", "name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "maximumRewardedPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index1", "type": "uint256"}, {"internalType": "uint256", "name": "_index2", "type": "uint256"}], "name": "mergeStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "minLockedPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "minWorkerPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "mintingCoefficient", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "policyManager", "outputs": [{"internalType": "contract PolicyManagerInterface", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousPeriodSupply", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"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": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "secondsPerPeriod", "outputs": [{"internalType": "uint32", "name": "", "type": "uint32"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "contract AdjudicatorInterface", "name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "contract PolicyManagerInterface", "name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_enableSnapshots", "type": "bool"}], "name": "setSnapshots", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_windDown", "type": "bool"}], "name": "setWindDown", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "contract WorkLockInterface", "name": "_workLock", "type": "address"}], "name": "setWorkLock", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "bool", "name": "_measureWork", "type": "bool"}], "name": "setWorkMeasurement", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"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": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "stakerFromWorker", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"internalType": "uint256", "name": "value", "type": "uint256"}, {"internalType": "uint16", "name": "currentCommittedPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "nextCommittedPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "lastCommittedPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "lockReStakeUntilPeriod", "type": "uint16"}, {"internalType": "uint256", "name": "completedWork", "type": "uint256"}, {"internalType": "uint16", "name": "workerStartPeriod", "type": "uint16"}, {"internalType": "address", "name": "worker", "type": "address"}, {"internalType": "uint256", "name": "flags", "type": "uint256"}, {"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"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "supportsHistory", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "pure", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "token", "outputs": [{"internalType": "contract NuCypherToken", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_blockNumber", "type": "uint256"}], "name": "totalStakedAt", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_owner", "type": "address"}, {"internalType": "uint256", "name": "_blockNumber", "type": "uint256"}], "name": "totalStakedForAt", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "totalSupply", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "workLock", "outputs": [{"internalType": "contract WorkLockInterface", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}]], ["Dispatcher", "v0.0.0", "0xbbD3C0C794F40c4f993B03F65343aCC6fcfCb2e2", [{"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "stateMutability": "nonpayable", "type": "constructor"}, {"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": "from", "type": "address"}, {"indexed": true, "internalType": "address", "name": "to", "type": "address"}, {"indexed": false, "internalType": "address", "name": "owner", "type": "address"}], "name": "RolledBack", "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": "from", "type": "address"}, {"indexed": true, "internalType": "address", "name": "to", "type": "address"}, {"indexed": false, "internalType": "address", "name": "owner", "type": "address"}], "name": "Upgraded", "type": "event"}, {"stateMutability": "payable", "type": "fallback"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "finishUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "implementation", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "proxyType", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "pure", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "rollback", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "upgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"stateMutability": "payable", "type": "receive"}]], ["PolicyManager", "v6.1.2", "0xA5F6118d5BDA1cB5156a199004C182a3a7DC4e59", [{"inputs": [{"internalType": "contract StakingEscrow", "name": "_escrow", "type": "address"}], "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": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "min", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "defaultValue", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "max", "type": "uint256"}], "name": "FeeRateRangeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "node", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "MinFeeRateSet", "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": "feeRate", "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"}, {"inputs": [], "name": "DEFAULT_FEE_DELTA", "outputs": [{"internalType": "int256", "name": "", "type": "int256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "calculateRefundValue", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "calculateRefundValue", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"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": [], "stateMutability": "payable", "type": "function"}, {"inputs": [], "name": "escrow", "outputs": [{"internalType": "contract StakingEscrow", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "feeRateRange", "outputs": [{"internalType": "uint128", "name": "min", "type": "uint128"}, {"internalType": "uint128", "name": "defaultValue", "type": "uint128"}, {"internalType": "uint128", "name": "max", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"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"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "getArrangementsLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getCurrentPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_node", "type": "address"}], "name": "getMinFeeRate", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "getNodeFeeDelta", "outputs": [{"internalType": "int256", "name": "", "type": "int256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "getPolicyOwner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "getRevocationHash", "outputs": [{"internalType": "bytes32", "name": "", "type": "bytes32"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "nodes", "outputs": [{"internalType": "uint128", "name": "fee", "type": "uint128"}, {"internalType": "uint16", "name": "previousFeePeriod", "type": "uint16"}, {"internalType": "uint256", "name": "feeRate", "type": "uint256"}, {"internalType": "uint256", "name": "minFeeRate", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "", "type": "bytes16"}], "name": "policies", "outputs": [{"internalType": "bool", "name": "disabled", "type": "bool"}, {"internalType": "address payable", "name": "sponsor", "type": "address"}, {"internalType": "address", "name": "owner", "type": "address"}, {"internalType": "uint128", "name": "feeRate", "type": "uint128"}, {"internalType": "uint64", "name": "startTimestamp", "type": "uint64"}, {"internalType": "uint64", "name": "endTimestamp", "type": "uint64"}, {"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"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "refund", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "refund", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "register", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"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"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "revokeArrangement", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "revokePolicy", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "secondsPerPeriod", "outputs": [{"internalType": "uint32", "name": "", "type": "uint32"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "setDefaultFeeDelta", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint128", "name": "_min", "type": "uint128"}, {"internalType": "uint128", "name": "_default", "type": "uint128"}, {"internalType": "uint128", "name": "_max", "type": "uint128"}], "name": "setFeeRateRange", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_minFeeRate", "type": "uint256"}], "name": "setMinFeeRate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "updateFee", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "withdraw", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address payable", "name": "_recipient", "type": "address"}], "name": "withdraw", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}]], ["Dispatcher", "v0.0.0", "0x67E4A942c067Ff25cE7705B69C318cA2Dfa54D64", [{"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "stateMutability": "nonpayable", "type": "constructor"}, {"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": "from", "type": "address"}, {"indexed": true, "internalType": "address", "name": "to", "type": "address"}, {"indexed": false, "internalType": "address", "name": "owner", "type": "address"}], "name": "RolledBack", "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": "from", "type": "address"}, {"indexed": true, "internalType": "address", "name": "to", "type": "address"}, {"indexed": false, "internalType": "address", "name": "owner", "type": "address"}], "name": "Upgraded", "type": "event"}, {"stateMutability": "payable", "type": "fallback"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "finishUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "implementation", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "proxyType", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "pure", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "rollback", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "upgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"stateMutability": "payable", "type": "receive"}]], ["Adjudicator", "v2.1.2", "0x577aCF90e357300262210a17Ac69effFBD2CBA3c", [{"inputs": [{"internalType": "contract StakingEscrow", "name": "_escrow", "type": "address"}, {"internalType": "enum SignatureVerifier.HashAlgorithm", "name": "_hashAlgorithm", "type": "uint8"}, {"internalType": "uint256", "name": "_basePenalty", "type": "uint256"}, {"internalType": "uint256", "name": "_penaltyHistoryCoefficient", "type": "uint256"}, {"internalType": "uint256", "name": "_percentagePenaltyCoefficient", "type": "uint256"}, {"internalType": "uint256", "name": "_rewardCoefficient", "type": "uint256"}], "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "bytes32", "name": "evaluationHash", "type": "bytes32"}, {"indexed": true, "internalType": "address", "name": "investigator", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "correctness", "type": "bool"}], "name": "CFragEvaluated", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "bytes32", "name": "evaluationHash", "type": "bytes32"}, {"indexed": true, "internalType": "address", "name": "worker", "type": "address"}, {"indexed": true, "internalType": "address", "name": "staker", "type": "address"}], "name": "IncorrectCFragVerdict", "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": "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"}, {"inputs": [], "name": "basePenalty", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "escrow", "outputs": [{"internalType": "contract StakingEscrow", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes", "name": "_capsuleBytes", "type": "bytes"}, {"internalType": "bytes", "name": "_cFragBytes", "type": "bytes"}, {"internalType": "bytes", "name": "_cFragSignature", "type": "bytes"}, {"internalType": "bytes", "name": "_taskSignature", "type": "bytes"}, {"internalType": "bytes", "name": "_requesterPublicKey", "type": "bytes"}, {"internalType": "bytes", "name": "_workerPublicKey", "type": "bytes"}, {"internalType": "bytes", "name": "_workerIdentityEvidence", "type": "bytes"}, {"internalType": "bytes", "name": "_preComputedData", "type": "bytes"}], "name": "evaluateCFrag", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bytes32", "name": "", "type": "bytes32"}], "name": "evaluatedCFrags", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "hashAlgorithm", "outputs": [{"internalType": "enum SignatureVerifier.HashAlgorithm", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "penaltyHistory", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "penaltyHistoryCoefficient", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "percentagePenaltyCoefficient", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "rewardCoefficient", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "stateMutability": "nonpayable", "type": "function"}]], ["Dispatcher", "v0.0.0", "0x359924Be0640659F34198e518BF3d40Fb56160BE", [{"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "stateMutability": "nonpayable", "type": "constructor"}, {"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": "from", "type": "address"}, {"indexed": true, "internalType": "address", "name": "to", "type": "address"}, {"indexed": false, "internalType": "address", "name": "owner", "type": "address"}], "name": "RolledBack", "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": "from", "type": "address"}, {"indexed": true, "internalType": "address", "name": "to", "type": "address"}, {"indexed": false, "internalType": "address", "name": "owner", "type": "address"}], "name": "Upgraded", "type": "event"}, {"stateMutability": "payable", "type": "fallback"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "finishUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "implementation", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "proxyType", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "pure", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "rollback", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "upgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"stateMutability": "payable", "type": "receive"}]], ["WorkLock", "v0.0.0", "0xe9778E69a961e64d3cdBB34CF6778281d34667c2", [{"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": "_endCancellationDate", "type": "uint256"}, {"internalType": "uint256", "name": "_boostingRefund", "type": "uint256"}, {"internalType": "uint16", "name": "_stakingPeriods", "type": "uint16"}, {"internalType": "uint256", "name": "_minAllowedBid", "type": "uint256"}], "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": "startIndex", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "endIndex", "type": "uint256"}], "name": "BiddersChecked", "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": "CompensationWithdrawn", "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": true, "internalType": "address", "name": "bidder", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "refundETH", "type": "uint256"}], "name": "ForceRefund", "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": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "refundETH", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "completedWork", "type": "uint256"}], "name": "Refund", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}], "name": "Shutdown", "type": "event"}, {"inputs": [], "name": "SLOWING_REFUND", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "bid", "outputs": [], "stateMutability": "payable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "name": "bidders", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "bonusETHSupply", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "boostingRefund", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "cancelBid", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "claim", "outputs": [{"internalType": "uint256", "name": "claimedTokens", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "compensation", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "endBidDate", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "endCancellationDate", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "escrow", "outputs": [{"internalType": "contract StakingEscrow", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_ethAmount", "type": "uint256"}], "name": "ethToTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_ethAmount", "type": "uint256"}], "name": "ethToWork", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address payable[]", "name": "_biddersForRefund", "type": "address[]"}], "name": "forceRefund", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_bidder", "type": "address"}], "name": "getAvailableRefund", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getBiddersLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_bidder", "type": "address"}], "name": "getRemainingWork", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isClaimingAvailable", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "minAllowedBid", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "nextBidderToCheck", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "refund", "outputs": [{"internalType": "uint256", "name": "refundETH", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "shutdown", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "stakingPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "startBidDate", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "token", "outputs": [{"internalType": "contract NuCypherToken", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "tokenDeposit", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "tokenSupply", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_gasToSaveState", "type": "uint256"}], "name": "verifyBiddingCorrectness", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "withdrawCompensation", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"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"}, {"internalType": "uint128", "name": "index", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_completedWork", "type": "uint256"}, {"internalType": "uint256", "name": "_depositedETH", "type": "uint256"}], "name": "workToETH", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}]], ["StakingInterface", "v1.5.2", "0x050e8544B792fe6611Df9090E3fb0D488cE7249f", [{"inputs": [{"internalType": "contract NuCypherToken", "name": "_token", "type": "address"}, {"internalType": "contract StakingEscrow", "name": "_escrow", "type": "address"}, {"internalType": "contract PolicyManager", "name": "_policyManager", "type": "address"}, {"internalType": "contract WorkLock", "name": "_workLock", "type": "address"}], "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"}], "name": "BidCanceled", "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"}], "name": "CompensationWithdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "DepositedAndIncreased", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "DepositedAsStaker", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "newValue", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "LockedAndCreated", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "LockedAndIncreased", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index1", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "index2", "type": "uint256"}], "name": "Merged", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "MinFeeRateSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}], "name": "Minted", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "PolicyFeeWithdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "Prolonged", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint16", "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "refundETH", "type": "uint256"}], "name": "Refund", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "windDown", "type": "bool"}], "name": "WindDownSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "WithdrawnAsStaker", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "address", "name": "worker", "type": "address"}], "name": "WorkerBonded", "type": "event"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "bid", "outputs": [], "stateMutability": "payable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_worker", "type": "address"}], "name": "bondWorker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "cancelBid", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "claim", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "depositAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "depositAsStaker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_newValue", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "escrow", "outputs": [{"internalType": "contract StakingEscrow", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "lockAndCreate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "lockAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint16", "name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index1", "type": "uint256"}, {"internalType": "uint256", "name": "_index2", "type": "uint256"}], "name": "mergeStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "policyManager", "outputs": [{"internalType": "contract PolicyManager", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "refund", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_minFeeRate", "type": "uint256"}], "name": "setMinFeeRate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_windDown", "type": "bool"}], "name": "setWindDown", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "stakingInterfaceAddress", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "token", "outputs": [{"internalType": "contract NuCypherToken", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "withdrawAsStaker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "withdrawCompensation", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "withdrawPolicyFee", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "workLock", "outputs": [{"internalType": "contract WorkLock", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}]], ["StakingInterfaceRouter", "v0.0.0", "0x9d1205f488f985D524934CA6a8E4354B4abFD1e1", [{"inputs": [{"internalType": "contract BaseStakingInterface", "name": "_target", "type": "address"}], "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "previousOwner", "type": "address"}, {"indexed": true, "internalType": "address", "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "contract BaseStakingInterface", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "contract BaseStakingInterface", "name": "_target", "type": "address"}], "name": "upgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}]], ["StakingEscrow", "v5.4.3", "0x6Cf77873b3abE2084cf11aE5a7af71E14994d52c", [{"inputs": [{"internalType": "contract NuCypherToken", "name": "_token", "type": "address"}, {"internalType": "uint32", "name": "_hoursPerPeriod", "type": "uint32"}, {"internalType": "uint256", "name": "_issuanceDecayCoefficient", "type": "uint256"}, {"internalType": "uint256", "name": "_lockDurationCoefficient1", "type": "uint256"}, {"internalType": "uint256", "name": "_lockDurationCoefficient2", "type": "uint256"}, {"internalType": "uint16", "name": "_maximumRewardedPeriods", "type": "uint16"}, {"internalType": "uint256", "name": "_firstPhaseTotalSupply", "type": "uint256"}, {"internalType": "uint256", "name": "_firstPhaseMaxIssuance", "type": "uint256"}, {"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"}], "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": "CommitmentMade", "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": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "Donated", "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": false, "internalType": "uint256", "name": "value1", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "value2", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "lastPeriod", "type": "uint16"}], "name": "Merged", "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": "Minted", "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": "uint256", "name": "value", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "lastPeriod", "type": "uint16"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "Prolonged", "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": "staker", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "snapshotsEnabled", "type": "bool"}], "name": "SnapshotSet", "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": "WorkerBonded", "type": "event"}, {"inputs": [], "name": "MAX_SUB_STAKES", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "adjudicator", "outputs": [{"internalType": "contract AdjudicatorInterface", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "name": "balanceHistory", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address[]", "name": "_stakers", "type": "address[]"}, {"internalType": "uint256[]", "name": "_numberOfSubStakes", "type": "uint256[]"}, {"internalType": "uint256[]", "name": "_values", "type": "uint256[]"}, {"internalType": "uint16[]", "name": "_periods", "type": "uint16[]"}], "name": "batchDeposit", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_worker", "type": "address"}], "name": "bondWorker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "commitToNextPeriod", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "currentMintingPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "currentPeriodSupply", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "deposit", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "depositAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "depositFromWorkLock", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_newValue", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "donate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "findIndexOfPastDowntime", "outputs": [{"internalType": "uint256", "name": "index", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "firstPhaseMaxIssuance", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "firstPhaseTotalSupply", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"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][]"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getAllTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getCompletedWork", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getCurrentPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getFlags", "outputs": [{"internalType": "bool", "name": "windDown", "type": "bool"}, {"internalType": "bool", "name": "reStake", "type": "bool"}, {"internalType": "bool", "name": "measureWork", "type": "bool"}, {"internalType": "bool", "name": "snapshots", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getLastCommittedPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint256", "name": "_index", "type": "uint256"}], "name": "getLastPeriodOfSubStake", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "getLockedTokens", "outputs": [{"internalType": "uint256", "name": "lockedValue", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"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"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getPastDowntimeLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getReservedReward", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getStakersLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"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": "uint128", "name": "lockedValue", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getSubStakesLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "getWorkerFromStaker", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_reservedReward", "type": "uint256"}, {"internalType": "address", "name": "_sourceOfFunds", "type": "address"}], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}], "name": "isReStakeLocked", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isTestContract", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "lockAndCreate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "lockAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "lockDurationCoefficient1", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "lockDurationCoefficient2", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint16", "name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "name": "lockedPerPeriod", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "maxAllowableLockedTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "maximumRewardedPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index1", "type": "uint256"}, {"internalType": "uint256", "name": "_index2", "type": "uint256"}], "name": "mergeStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "minAllowableLockedTokens", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "minLockedPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "minWorkerPeriods", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "mintingCoefficient", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "policyManager", "outputs": [{"internalType": "contract PolicyManagerInterface", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousPeriodSupply", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"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": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "secondsPerPeriod", "outputs": [{"internalType": "uint32", "name": "", "type": "uint32"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "contract AdjudicatorInterface", "name": "_adjudicator", "type": "address"}], "name": "setAdjudicator", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "contract PolicyManagerInterface", "name": "_policyManager", "type": "address"}], "name": "setPolicyManager", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_enableSnapshots", "type": "bool"}], "name": "setSnapshots", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_windDown", "type": "bool"}], "name": "setWindDown", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "contract WorkLockInterface", "name": "_workLock", "type": "address"}], "name": "setWorkLock", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_staker", "type": "address"}, {"internalType": "bool", "name": "_measureWork", "type": "bool"}], "name": "setWorkMeasurement", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"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": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "stakerFromWorker", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "stakerInfo", "outputs": [{"internalType": "uint256", "name": "value", "type": "uint256"}, {"internalType": "uint16", "name": "currentCommittedPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "nextCommittedPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "lastCommittedPeriod", "type": "uint16"}, {"internalType": "uint16", "name": "lockReStakeUntilPeriod", "type": "uint16"}, {"internalType": "uint256", "name": "completedWork", "type": "uint256"}, {"internalType": "uint16", "name": "workerStartPeriod", "type": "uint16"}, {"internalType": "address", "name": "worker", "type": "address"}, {"internalType": "uint256", "name": "flags", "type": "uint256"}, {"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"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "name": "stakers", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "supportsHistory", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "pure", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "token", "outputs": [{"internalType": "contract NuCypherToken", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_blockNumber", "type": "uint256"}], "name": "totalStakedAt", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_owner", "type": "address"}, {"internalType": "uint256", "name": "_blockNumber", "type": "uint256"}], "name": "totalStakedForAt", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "totalSupply", "outputs": [{"internalType": "uint128", "name": "", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "workLock", "outputs": [{"internalType": "contract WorkLockInterface", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}]], ["StakingInterface", "v1.6.1", "0xd9afaf7a0E39A90abcD5E9f5c78Cb5A618ea542d", [{"inputs": [{"internalType": "contract NuCypherToken", "name": "_token", "type": "address"}, {"internalType": "contract StakingEscrow", "name": "_escrow", "type": "address"}, {"internalType": "contract PolicyManager", "name": "_policyManager", "type": "address"}, {"internalType": "contract WorkLock", "name": "_workLock", "type": "address"}], "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"}], "name": "BidCanceled", "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"}], "name": "CompensationWithdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "DepositedAndIncreased", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "DepositedAsStaker", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "newValue", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "Divided", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "LockedAndCreated", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "LockedAndIncreased", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index1", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "index2", "type": "uint256"}], "name": "Merged", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "MinFeeRateSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}], "name": "Minted", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "PolicyFeeWithdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "index", "type": "uint256"}, {"indexed": false, "internalType": "uint16", "name": "periods", "type": "uint16"}], "name": "Prolonged", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint16", "name": "lockUntilPeriod", "type": "uint16"}], "name": "ReStakeLocked", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "reStake", "type": "bool"}], "name": "ReStakeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "refundETH", "type": "uint256"}], "name": "Refund", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "snapshotsEnabled", "type": "bool"}], "name": "SnapshotSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "bool", "name": "windDown", "type": "bool"}], "name": "WindDownSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "WithdrawnAsStaker", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "sender", "type": "address"}, {"indexed": false, "internalType": "address", "name": "worker", "type": "address"}], "name": "WorkerBonded", "type": "event"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "bid", "outputs": [], "stateMutability": "payable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_worker", "type": "address"}], "name": "bondWorker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "cancelBid", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "claim", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "depositAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "depositAsStaker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_newValue", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "divideStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "escrow", "outputs": [{"internalType": "contract StakingEscrow", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "lockAndCreate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "lockAndIncrease", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint16", "name": "_lockReStakeUntilPeriod", "type": "uint16"}], "name": "lockReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index1", "type": "uint256"}, {"internalType": "uint256", "name": "_index2", "type": "uint256"}], "name": "mergeStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "policyManager", "outputs": [{"internalType": "contract PolicyManager", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_index", "type": "uint256"}, {"internalType": "uint16", "name": "_periods", "type": "uint16"}], "name": "prolongStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "refund", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_minFeeRate", "type": "uint256"}], "name": "setMinFeeRate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_reStake", "type": "bool"}], "name": "setReStake", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_enableSnapshots", "type": "bool"}], "name": "setSnapshots", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bool", "name": "_windDown", "type": "bool"}], "name": "setWindDown", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "stakingInterfaceAddress", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "token", "outputs": [{"internalType": "contract NuCypherToken", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_value", "type": "uint256"}], "name": "withdrawAsStaker", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "withdrawCompensation", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "withdrawPolicyFee", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "workLock", "outputs": [{"internalType": "contract WorkLock", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}]], ["PolicyManager", "v6.1.3", "0x5Ae3e85B46107f4F40d13124bbe93BFF87e551c3", [{"inputs": [{"internalType": "contract StakingEscrow", "name": "_escrow", "type": "address"}], "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": "sender", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "min", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "defaultValue", "type": "uint256"}, {"indexed": false, "internalType": "uint256", "name": "max", "type": "uint256"}], "name": "FeeRateRangeSet", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "node", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}], "name": "MinFeeRateSet", "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": "feeRate", "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"}, {"inputs": [], "name": "DEFAULT_FEE_DELTA", "outputs": [{"internalType": "int256", "name": "", "type": "int256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "calculateRefundValue", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "calculateRefundValue", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"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": [], "stateMutability": "payable", "type": "function"}, {"inputs": [], "name": "escrow", "outputs": [{"internalType": "contract StakingEscrow", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "feeRateRange", "outputs": [{"internalType": "uint128", "name": "min", "type": "uint128"}, {"internalType": "uint128", "name": "defaultValue", "type": "uint128"}, {"internalType": "uint128", "name": "max", "type": "uint128"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_target", "type": "address"}], "name": "finishUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"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"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "getArrangementsLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getCurrentPeriod", "outputs": [{"internalType": "uint16", "name": "", "type": "uint16"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_node", "type": "address"}], "name": "getMinFeeRate", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "getNodeFeeDelta", "outputs": [{"internalType": "int256", "name": "", "type": "int256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "getPolicyOwner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "getRevocationHash", "outputs": [{"internalType": "bytes32", "name": "", "type": "bytes32"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isOwner", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "isUpgrade", "outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "nodes", "outputs": [{"internalType": "uint128", "name": "fee", "type": "uint128"}, {"internalType": "uint16", "name": "previousFeePeriod", "type": "uint16"}, {"internalType": "uint256", "name": "feeRate", "type": "uint256"}, {"internalType": "uint256", "name": "minFeeRate", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "owner", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "uint16", "name": "_processedPeriod1", "type": "uint16"}, {"internalType": "uint16", "name": "_processedPeriod2", "type": "uint16"}, {"internalType": "uint16", "name": "_periodToSetDefault", "type": "uint16"}], "name": "ping", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "", "type": "bytes16"}], "name": "policies", "outputs": [{"internalType": "bool", "name": "disabled", "type": "bool"}, {"internalType": "address payable", "name": "sponsor", "type": "address"}, {"internalType": "address", "name": "owner", "type": "address"}, {"internalType": "uint128", "name": "feeRate", "type": "uint128"}, {"internalType": "uint64", "name": "startTimestamp", "type": "uint64"}, {"internalType": "uint64", "name": "endTimestamp", "type": "uint64"}, {"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"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "previousTarget", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "refund", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "refund", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_node", "type": "address"}, {"internalType": "uint16", "name": "_period", "type": "uint16"}], "name": "register", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"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"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}, {"internalType": "address", "name": "_node", "type": "address"}], "name": "revokeArrangement", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "bytes16", "name": "_policyId", "type": "bytes16"}], "name": "revokePolicy", "outputs": [{"internalType": "uint256", "name": "refundValue", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "secondsPerPeriod", "outputs": [{"internalType": "uint32", "name": "", "type": "uint32"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint128", "name": "_min", "type": "uint128"}, {"internalType": "uint128", "name": "_default", "type": "uint128"}, {"internalType": "uint128", "name": "_max", "type": "uint128"}], "name": "setFeeRateRange", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_minFeeRate", "type": "uint256"}], "name": "setMinFeeRate", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "target", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_testTarget", "type": "address"}], "name": "verifyState", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "withdraw", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "address payable", "name": "_recipient", "type": "address"}], "name": "withdraw", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "nonpayable", "type": "function"}]]] \ No newline at end of file