diff --git a/deployment/artifacts/mainnet-legacy.json b/deployment/artifacts/mainnet-legacy.json new file mode 100644 index 00000000..1b94b17a --- /dev/null +++ b/deployment/artifacts/mainnet-legacy.json @@ -0,0 +1,1829 @@ +{ + "1": { + "NuCypherToken": { + "address": "0x4fE83213D56308330EC302a8BD641f1d0113A4Cc", + "abi": [ + { + "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" + } + ], + "tx_hash": "0x675d43be8ddd74dd5b6bb0afd002d70c1fe7e83d02332e2002165e06eea57af9", + "block_number": 10763456, + "deployer": "0xebA17F35955E057a8d2e74bD4638528851d8E063" + }, + "StakingEscrow": { + "address": "0xbbD3C0C794F40c4f993B03F65343aCC6fcfCb2e2", + "abi": [ + { + "inputs": [ + { + "internalType": "contract NuCypherToken", + "name": "_token", + "type": "address" + }, + { + "internalType": "contract WorkLockInterface", + "name": "_workLock", + "type": "address" + }, + { + "internalType": "contract IStaking", + "name": "_tStaking", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Deposited", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "stakingProvider", + "type": "address" + } + ], + "name": "MergeRequested", + "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": "penalty", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "investigator", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "reward", + "type": "uint256" + } + ], + "name": "Slashed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "testTarget", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "StateVerified", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "target", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "UpgradeFinished", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "staker", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "releaseTimestamp", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "releaseRate", + "type": "uint256" + } + ], + "name": "VestingSet", + "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" + }, + { + "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": "_unlockingDuration", + "type": "uint16" + } + ], + "name": "depositFromWorkLock", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_target", + "type": "address" + } + ], + "name": "finishUpgrade", + "outputs": [], + "stateMutability": "nonpayable", + "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": "getStakersLength", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_staker", + "type": "address" + } + ], + "name": "getUnvestedTokens", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "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": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_staker", + "type": "address" + }, + { + "internalType": "address", + "name": "_stakingProvider", + "type": "address" + } + ], + "name": "requestMerge", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "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": "_stakers", + "type": "address[]" + }, + { + "internalType": "uint256[]", + "name": "_releaseTimestamp", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "_releaseRate", + "type": "uint256[]" + } + ], + "name": "setupVesting", + "outputs": [], + "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": "stakerInfo", + "outputs": [ + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "internalType": "uint16", + "name": "stub1", + "type": "uint16" + }, + { + "internalType": "uint16", + "name": "stub2", + "type": "uint16" + }, + { + "internalType": "uint16", + "name": "lastCommittedPeriod", + "type": "uint16" + }, + { + "internalType": "uint16", + "name": "stub4", + "type": "uint16" + }, + { + "internalType": "uint256", + "name": "stub5", + "type": "uint256" + }, + { + "internalType": "uint16", + "name": "stub6", + "type": "uint16" + }, + { + "internalType": "address", + "name": "stub7", + "type": "address" + }, + { + "internalType": "uint256", + "name": "flags", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "vestingReleaseTimestamp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "vestingReleaseRate", + "type": "uint256" + }, + { + "internalType": "address", + "name": "stakingProvider", + "type": "address" + }, + { + "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": "tStaking", + "outputs": [ + { + "internalType": "contract IStaking", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "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": [ + { + "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" + } + ], + "tx_hash": "0x9cbc0b9329da794b62903946b3af4ba8e4ce2bffed6fff736f18d224e07b32ed", + "block_number": 10763506, + "deployer": "0xebA17F35955E057a8d2e74bD4638528851d8E063" + }, + "WorkLock": { + "address": "0xe9778E69a961e64d3cdBB34CF6778281d34667c2", + "abi": [ + { + "inputs": [ + { + "internalType": "contract NuCypherToken", + "name": "_token", + "type": "address" + }, + { + "internalType": "contract IStakingEscrow", + "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 IStakingEscrow", + "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" + } + ], + "tx_hash": "0xbc1efbd39448e0555f6c2a685d97c683bc0adb2ee3bca3f98c972b7cfe4407da", + "block_number": 10763629, + "deployer": "0xebA17F35955E057a8d2e74bD4638528851d8E063" + } + } +} diff --git a/deployment/artifacts/mainnet.json b/deployment/artifacts/mainnet.json index 5df8b7e8..8b55e892 100644 --- a/deployment/artifacts/mainnet.json +++ b/deployment/artifacts/mainnet.json @@ -1,2866 +1,648 @@ { "1": { - "NuCypherToken": { - "address": "0x4fE83213D56308330EC302a8BD641f1d0113A4Cc", + "PolygonRoot": { + "address": "0xEc20eD1240F8AdC50c01bdcfe1B6f878Dc0fF583", "abi": [ { - "inputs": [ - { - "internalType": "uint256", - "name": "_totalSupplyOfTokens", - "type": "uint256" - } - ], + "type": "constructor", "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, "inputs": [ { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" + "name": "_checkpointManager", + "type": "address", + "internalType": "address" }, { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" + "name": "_fxRoot", + "type": "address", + "internalType": "address" }, { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" + "name": "_rootApplication", + "type": "address", + "internalType": "address" }, { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" + "name": "_fxChildTunnel", + "type": "address", + "internalType": "address" } - ], - "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" + "type": "fallback", + "stateMutability": "nonpayable" }, { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "approve", + "type": "function", + "name": "SEND_MESSAGE_EVENT_SIG", + "stateMutability": "view", + "inputs": [], "outputs": [ { - "internalType": "bool", "name": "", - "type": "bool" + "type": "bytes32", + "internalType": "bytes32" } - ], - "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", + "type": "function", + "name": "checkpointManager", + "stateMutability": "view", + "inputs": [], "outputs": [ { - "internalType": "bool", - "name": "success", - "type": "bool" + "name": "", + "type": "address", + "internalType": "contract ICheckpointManager" } - ], - "stateMutability": "nonpayable", - "type": "function" + ] }, { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", + "type": "function", + "name": "fxChildTunnel", + "stateMutability": "view", + "inputs": [], "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "address", + "internalType": "address" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "fxRoot", + "stateMutability": "view", "inputs": [], - "name": "decimals", "outputs": [ { - "internalType": "uint8", "name": "", - "type": "uint8" + "type": "address", + "internalType": "contract IFxStateSender" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "processedExits", + "stateMutability": "view", "inputs": [ { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "subtractedValue", - "type": "uint256" + "name": "", + "type": "bytes32", + "internalType": "bytes32" } ], - "name": "decreaseAllowance", "outputs": [ { - "internalType": "bool", "name": "", - "type": "bool" + "type": "bool", + "internalType": "bool" } - ], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "function", + "name": "receiveMessage", + "stateMutability": "nonpayable", "inputs": [ { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "addedValue", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" + "name": "inputData", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [] }, { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], + "type": "function", + "name": "rootApplication", "stateMutability": "view", - "type": "function" - }, - { "inputs": [], - "name": "symbol", "outputs": [ { - "internalType": "string", "name": "", - "type": "string" + "type": "address", + "internalType": "address" } - ], - "stateMutability": "view", - "type": "function" + ] }, { - "inputs": [], - "name": "totalSupply", - "outputs": [ + "type": "function", + "name": "setFxChildTunnel", + "stateMutability": "nonpayable", + "inputs": [ { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_fxChildTunnel", + "type": "address", + "internalType": "address" } ], - "stateMutability": "view", - "type": "function" - }, + "outputs": [] + } + ], + "tx_hash": "0x9ac6aac59e58438b95884feed29c75cfa98bd9776ba4689bd27f1550564fbbb1", + "block_number": 18622379, + "deployer": "0xFfFd7092685bDeeBD121D1A0FEA3c349114Cce50" + }, + "TACoApplication": { + "address": "0x347CC7ede7e5517bD47D20620B2CF1b406edcF07", + "abi": [ { + "type": "constructor", + "stateMutability": "nonpayable", "inputs": [ { - "internalType": "address", - "name": "to", - "type": "address" + "name": "_token", + "type": "address", + "internalType": "contract IERC20" }, { - "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" + "name": "_tStaking", + "type": "address", + "internalType": "contract IStaking" }, { - "internalType": "address", - "name": "to", - "type": "address" + "name": "_minimumAuthorization", + "type": "uint96", + "internalType": "uint96" }, { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "tx_hash": "0x675d43be8ddd74dd5b6bb0afd002d70c1fe7e83d02332e2002165e06eea57af9", - "block_number": 10763456, - "deployer": "0xebA17F35955E057a8d2e74bD4638528851d8E063" - }, - "PolygonRoot": { - "address": "0xEc20eD1240F8AdC50c01bdcfe1B6f878Dc0fF583", - "abi": [ - { - "type": "constructor", - "stateMutability": "nonpayable", - "inputs": [ + "name": "_minOperatorSeconds", + "type": "uint256", + "internalType": "uint256" + }, { - "name": "_checkpointManager", - "type": "address", - "internalType": "address" + "name": "_rewardDuration", + "type": "uint256", + "internalType": "uint256" }, { - "name": "_fxRoot", - "type": "address", - "internalType": "address" + "name": "_deauthorizationDuration", + "type": "uint256", + "internalType": "uint256" }, { - "name": "_rootApplication", - "type": "address", - "internalType": "address" + "name": "_commitmentDurationOptions", + "type": "uint64[]", + "internalType": "uint64[]" }, { - "name": "_fxChildTunnel", - "type": "address", - "internalType": "address" + "name": "_commitmentDeadline", + "type": "uint64", + "internalType": "uint64" } ] }, { - "type": "fallback", - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "SEND_MESSAGE_EVENT_SIG", - "stateMutability": "view", - "inputs": [], - "outputs": [ + "type": "error", + "name": "AddressEmptyCode", + "inputs": [ { - "name": "", - "type": "bytes32", - "internalType": "bytes32" + "name": "target", + "type": "address", + "internalType": "address" } ] }, { - "type": "function", - "name": "checkpointManager", - "stateMutability": "view", - "inputs": [], - "outputs": [ + "type": "error", + "name": "AddressInsufficientBalance", + "inputs": [ { - "name": "", + "name": "account", "type": "address", - "internalType": "contract ICheckpointManager" + "internalType": "address" } ] }, { - "type": "function", - "name": "fxChildTunnel", - "stateMutability": "view", - "inputs": [], - "outputs": [ + "type": "error", + "name": "FailedInnerCall", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidInitialization", + "inputs": [] + }, + { + "type": "error", + "name": "NotInitializing", + "inputs": [] + }, + { + "type": "error", + "name": "OwnableInvalidOwner", + "inputs": [ { - "name": "", + "name": "owner", "type": "address", "internalType": "address" } ] }, { - "type": "function", - "name": "fxRoot", - "stateMutability": "view", - "inputs": [], - "outputs": [ + "type": "error", + "name": "OwnableUnauthorizedAccount", + "inputs": [ { - "name": "", + "name": "account", "type": "address", - "internalType": "contract IFxStateSender" + "internalType": "address" } ] }, { - "type": "function", - "name": "processedExits", - "stateMutability": "view", + "type": "error", + "name": "SafeCastOverflowedUintDowncast", "inputs": [ { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ + "name": "bits", + "type": "uint8", + "internalType": "uint8" + }, { - "name": "", - "type": "bool", - "internalType": "bool" + "name": "value", + "type": "uint256", + "internalType": "uint256" } ] }, { - "type": "function", - "name": "receiveMessage", - "stateMutability": "nonpayable", + "type": "error", + "name": "SafeERC20FailedOperation", "inputs": [ { - "name": "inputData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "rootApplication", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", + "name": "token", "type": "address", "internalType": "address" } ] }, { - "type": "function", - "name": "setFxChildTunnel", - "stateMutability": "nonpayable", + "type": "event", + "name": "AuthorizationDecreaseApproved", "inputs": [ { - "name": "_fxChildTunnel", + "name": "stakingProvider", "type": "address", - "internalType": "address" - } - ], - "outputs": [] - } - ], - "tx_hash": "0x9ac6aac59e58438b95884feed29c75cfa98bd9776ba4689bd27f1550564fbbb1", - "block_number": 18622379, - "deployer": "0xFfFd7092685bDeeBD121D1A0FEA3c349114Cce50" - }, - "SimplePREApplication": { - "address": "0x7E01c9c03FD3737294dbD7630a34845B0F70E5Dd", - "abi": [ - { - "inputs": [ - { - "internalType": "contract IStaking", - "name": "_tStaking", - "type": "address" + "internalType": "address", + "indexed": true }, { - "internalType": "uint256", - "name": "_minAuthorization", - "type": "uint256" + "name": "fromAmount", + "type": "uint96", + "internalType": "uint96", + "indexed": false }, { - "internalType": "uint256", - "name": "_minOperatorSeconds", - "type": "uint256" + "name": "toAmount", + "type": "uint96", + "internalType": "uint96", + "indexed": false } ], - "stateMutability": "nonpayable", - "type": "constructor" + "anonymous": false }, { - "anonymous": false, + "type": "event", + "name": "AuthorizationDecreaseRequested", "inputs": [ { - "indexed": true, - "internalType": "address", "name": "stakingProvider", - "type": "address" + "type": "address", + "internalType": "address", + "indexed": true }, { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" + "name": "fromAmount", + "type": "uint96", + "internalType": "uint96", + "indexed": false }, { - "indexed": false, - "internalType": "uint256", - "name": "startTimestamp", - "type": "uint256" + "name": "toAmount", + "type": "uint96", + "internalType": "uint96", + "indexed": false } ], - "name": "OperatorBonded", - "type": "event" + "anonymous": false }, { - "anonymous": false, + "type": "event", + "name": "AuthorizationIncreased", "inputs": [ { - "indexed": true, - "internalType": "address", "name": "stakingProvider", - "type": "address" - }, - { - "indexed": true, + "type": "address", "internalType": "address", - "name": "operator", - "type": "address" + "indexed": true + }, + { + "name": "fromAmount", + "type": "uint96", + "internalType": "uint96", + "indexed": false + }, + { + "name": "toAmount", + "type": "uint96", + "internalType": "uint96", + "indexed": false } ], - "name": "OperatorConfirmed", - "type": "event" + "anonymous": false }, { + "type": "event", + "name": "AuthorizationInvoluntaryDecreased", "inputs": [ { + "name": "stakingProvider", + "type": "address", "internalType": "address", - "name": "_stakingProvider", - "type": "address" - } - ], - "name": "authorizedStake", - "outputs": [ + "indexed": true + }, { + "name": "fromAmount", + "type": "uint96", "internalType": "uint96", - "name": "", - "type": "uint96" + "indexed": false + }, + { + "name": "toAmount", + "type": "uint96", + "internalType": "uint96", + "indexed": false } ], - "stateMutability": "view", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "AuthorizationReSynchronized", "inputs": [ { + "name": "stakingProvider", + "type": "address", "internalType": "address", - "name": "_stakingProvider", - "type": "address" + "indexed": true }, { - "internalType": "address", - "name": "_operator", - "type": "address" + "name": "fromAmount", + "type": "uint96", + "internalType": "uint96", + "indexed": false + }, + { + "name": "toAmount", + "type": "uint96", + "internalType": "uint96", + "indexed": false } ], - "name": "bondOperator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "confirmOperatorAddress", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "CommitmentMade", "inputs": [ { - "internalType": "uint256", - "name": "_startIndex", - "type": "uint256" + "name": "stakingProvider", + "type": "address", + "internalType": "address", + "indexed": true }, { + "name": "endCommitment", + "type": "uint256", "internalType": "uint256", - "name": "_maxStakingProviders", - "type": "uint256" - } - ], - "name": "getActiveStakingProviders", - "outputs": [ - { - "internalType": "uint256", - "name": "allAuthorizedTokens", - "type": "uint256" - }, - { - "internalType": "uint256[2][]", - "name": "activeStakingProviders", - "type": "uint256[2][]" + "indexed": false } ], - "stateMutability": "view", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "Initialized", "inputs": [ { - "internalType": "address", - "name": "_stakingProvider", - "type": "address" - } - ], - "name": "getBeneficiary", - "outputs": [ - { - "internalType": "address payable", - "name": "beneficiary", - "type": "address" + "name": "version", + "type": "uint64", + "internalType": "uint64", + "indexed": false } ], - "stateMutability": "view", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "OperatorBonded", "inputs": [ { + "name": "stakingProvider", + "type": "address", "internalType": "address", - "name": "_stakingProvider", - "type": "address" - } - ], - "name": "getOperatorFromStakingProvider", - "outputs": [ + "indexed": true + }, { + "name": "operator", + "type": "address", "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getStakingProvidersLength", - "outputs": [ + "indexed": true + }, { + "name": "previousOperator", + "type": "address", + "internalType": "address", + "indexed": true + }, + { + "name": "startTimestamp", + "type": "uint256", "internalType": "uint256", - "name": "", - "type": "uint256" + "indexed": false } ], - "stateMutability": "view", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "OperatorConfirmed", "inputs": [ { + "name": "stakingProvider", + "type": "address", "internalType": "address", - "name": "_stakingProvider", - "type": "address" - } - ], - "name": "isAuthorized", - "outputs": [ + "indexed": true + }, { - "internalType": "bool", - "name": "", - "type": "bool" + "name": "operator", + "type": "address", + "internalType": "address", + "indexed": true } ], - "stateMutability": "view", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "OwnershipTransferred", "inputs": [ { + "name": "previousOwner", + "type": "address", "internalType": "address", - "name": "_operator", - "type": "address" - } - ], - "name": "isOperatorConfirmed", - "outputs": [ + "indexed": true + }, { - "internalType": "bool", - "name": "", - "type": "bool" + "name": "newOwner", + "type": "address", + "internalType": "address", + "indexed": true } ], - "stateMutability": "view", - "type": "function" + "anonymous": false }, { - "inputs": [], - "name": "minAuthorization", - "outputs": [ + "type": "event", + "name": "RewardAdded", + "inputs": [ { + "name": "reward", + "type": "uint256", "internalType": "uint256", - "name": "", - "type": "uint256" + "indexed": false } ], - "stateMutability": "view", - "type": "function" + "anonymous": false }, { - "inputs": [], - "name": "minOperatorSeconds", - "outputs": [ + "type": "event", + "name": "RewardDistributorSet", + "inputs": [ { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "distributor", + "type": "address", + "internalType": "address", + "indexed": true } ], - "stateMutability": "view", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "RewardPaid", "inputs": [ { + "name": "stakingProvider", + "type": "address", "internalType": "address", - "name": "_operator", - "type": "address" - } - ], - "name": "stakingProviderFromOperator", - "outputs": [ + "indexed": true + }, { + "name": "beneficiary", + "type": "address", "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "stakingProviderInfo", - "outputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "operatorConfirmed", - "type": "bool" - }, - { - "internalType": "uint256", - "name": "operatorStartTimestamp", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "stakingProviders", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "tStaking", - "outputs": [ - { - "internalType": "contract IStaking", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "tx_hash": "0x9a6db81f7db30bf80aa36c444729b3e4800c0dc77351f2fecbf8e2c0515defb0", - "block_number": 14141140, - "deployer": "0x99eA9f76e4f7186400F715234f5DA763CC0456b2" - }, - "StakingEscrow": { - "address": "0xbbD3C0C794F40c4f993B03F65343aCC6fcfCb2e2", - "abi": [ - { - "inputs": [ - { - "internalType": "contract NuCypherToken", - "name": "_token", - "type": "address" - }, - { - "internalType": "contract WorkLockInterface", - "name": "_workLock", - "type": "address" - }, - { - "internalType": "contract IStaking", - "name": "_tStaking", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "staker", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Deposited", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "staker", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "stakingProvider", - "type": "address" - } - ], - "name": "MergeRequested", - "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": "penalty", - "type": "uint256" - }, - { - "indexed": true, - "internalType": "address", - "name": "investigator", - "type": "address" + "indexed": true }, { - "indexed": false, - "internalType": "uint256", "name": "reward", - "type": "uint256" - } - ], - "name": "Slashed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "testTarget", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "StateVerified", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "target", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "name": "UpgradeFinished", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "staker", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "releaseTimestamp", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "releaseRate", - "type": "uint256" - } - ], - "name": "VestingSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "staker", - "type": "address" - }, - { - "indexed": false, + "type": "uint256", "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Withdrawn", - "type": "event" - }, - { - "inputs": [], - "name": "currentPeriodSupply", - "outputs": [ - { - "internalType": "uint128", - "name": "", - "type": "uint128" + "indexed": false } ], - "stateMutability": "view", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "RewardsWithdrawn", "inputs": [ { + "name": "stakingProvider", + "type": "address", "internalType": "address", - "name": "_staker", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_value", - "type": "uint256" + "indexed": true }, { - "internalType": "uint16", - "name": "_unlockingDuration", - "type": "uint16" - } - ], - "name": "depositFromWorkLock", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_target", - "type": "address" - } - ], - "name": "finishUpgrade", - "outputs": [], - "stateMutability": "nonpayable", - "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": "getStakersLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_staker", - "type": "address" - } - ], - "name": "getUnvestedTokens", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "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": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_staker", - "type": "address" - }, - { - "internalType": "address", - "name": "_stakingProvider", - "type": "address" - } - ], - "name": "requestMerge", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "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": "_stakers", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "_releaseTimestamp", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "_releaseRate", - "type": "uint256[]" - } - ], - "name": "setupVesting", - "outputs": [], - "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": "stakerInfo", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "uint16", - "name": "stub1", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "stub2", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "lastCommittedPeriod", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "stub4", - "type": "uint16" - }, - { - "internalType": "uint256", - "name": "stub5", - "type": "uint256" - }, - { - "internalType": "uint16", - "name": "stub6", - "type": "uint16" - }, - { - "internalType": "address", - "name": "stub7", - "type": "address" - }, - { - "internalType": "uint256", - "name": "flags", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "vestingReleaseTimestamp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "vestingReleaseRate", - "type": "uint256" - }, - { - "internalType": "address", - "name": "stakingProvider", - "type": "address" - }, - { - "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": "tStaking", - "outputs": [ - { - "internalType": "contract IStaking", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "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": [ - { - "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" - } - ], - "tx_hash": "0x9cbc0b9329da794b62903946b3af4ba8e4ce2bffed6fff736f18d224e07b32ed", - "block_number": 10763506, - "deployer": "0xebA17F35955E057a8d2e74bD4638528851d8E063" - }, - "TACoApplication": { - "address": "0x347CC7ede7e5517bD47D20620B2CF1b406edcF07", - "abi": [ - { - "type": "constructor", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_token", - "type": "address", - "internalType": "contract IERC20" - }, - { - "name": "_tStaking", - "type": "address", - "internalType": "contract IStaking" - }, - { - "name": "_minimumAuthorization", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "_minOperatorSeconds", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_rewardDuration", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_deauthorizationDuration", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_commitmentDurationOptions", - "type": "uint64[]", - "internalType": "uint64[]" - }, - { - "name": "_commitmentDeadline", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "error", - "name": "AddressEmptyCode", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "AddressInsufficientBalance", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "FailedInnerCall", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidInitialization", - "inputs": [] - }, - { - "type": "error", - "name": "NotInitializing", - "inputs": [] - }, - { - "type": "error", - "name": "OwnableInvalidOwner", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "OwnableUnauthorizedAccount", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "SafeCastOverflowedUintDowncast", - "inputs": [ - { - "name": "bits", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "SafeERC20FailedOperation", - "inputs": [ - { - "name": "token", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "event", - "name": "AuthorizationDecreaseApproved", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "fromAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - }, - { - "name": "toAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "AuthorizationDecreaseRequested", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "fromAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - }, - { - "name": "toAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "AuthorizationIncreased", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "fromAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - }, - { - "name": "toAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "AuthorizationInvoluntaryDecreased", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "fromAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - }, - { - "name": "toAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "AuthorizationReSynchronized", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "fromAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - }, - { - "name": "toAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "CommitmentMade", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "endCommitment", - "type": "uint256", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint64", - "internalType": "uint64", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OperatorBonded", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "operator", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "previousOperator", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "startTimestamp", - "type": "uint256", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OperatorConfirmed", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "operator", - "type": "address", - "internalType": "address", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OwnershipTransferred", - "inputs": [ - { - "name": "previousOwner", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "newOwner", - "type": "address", - "internalType": "address", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardAdded", - "inputs": [ - { - "name": "reward", - "type": "uint256", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardDistributorSet", - "inputs": [ - { - "name": "distributor", - "type": "address", - "internalType": "address", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardPaid", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "beneficiary", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "reward", - "type": "uint256", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardsWithdrawn", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Slashed", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "penalty", - "type": "uint256", - "internalType": "uint256", - "indexed": false - }, - { - "name": "investigator", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "reward", - "type": "uint256", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "function", - "name": "REWARD_PER_TOKEN_MULTIPLIER", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "adjudicator", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "approveAuthorizationDecrease", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "authorizationDecreaseRequested", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - }, - { - "name": "_fromAmount", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "_toAmount", - "type": "uint96", - "internalType": "uint96" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "authorizationIncreased", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - }, - { - "name": "_fromAmount", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "_toAmount", - "type": "uint96", - "internalType": "uint96" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "authorizationParameters", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "_minimumAuthorization", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "authorizationDecreaseDelay", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "authorizationDecreaseChangePeriod", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "authorizedOverall", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint96", - "internalType": "uint96" - } - ] - }, - { - "type": "function", - "name": "authorizedStake", - "stateMutability": "view", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint96", - "internalType": "uint96" - } - ] - }, - { - "type": "function", - "name": "availableRewards", - "stateMutability": "view", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint96", - "internalType": "uint96" - } - ] - }, - { - "type": "function", - "name": "bondOperator", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - }, - { - "name": "_operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "childApplication", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ITACoRootToChild" - } - ] - }, - { - "type": "function", - "name": "commitmentDeadline", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "commitmentDurationOption1", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "commitmentDurationOption2", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "commitmentDurationOption3", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "commitmentDurationOption4", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "confirmOperatorAddress", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "deauthorizationDuration", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "getActiveStakingProviders", - "stateMutability": "view", - "inputs": [ - { - "name": "_startIndex", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_maxStakingProviders", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "allAuthorizedTokens", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "activeStakingProviders", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ] - }, - { - "type": "function", - "name": "getBeneficiary", - "stateMutability": "view", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "beneficiary", - "type": "address", - "internalType": "address payable" - } - ] - }, - { - "type": "function", - "name": "getStakingProvidersLength", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "initialize", - "stateMutability": "nonpayable", - "inputs": [], - "outputs": [] - }, - { - "type": "function", - "name": "involuntaryAuthorizationDecrease", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - }, - { - "name": "_fromAmount", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "_toAmount", - "type": "uint96", - "internalType": "uint96" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "isAuthorized", - "stateMutability": "view", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ] - }, - { - "type": "function", - "name": "isOperatorConfirmed", - "stateMutability": "view", - "inputs": [ - { - "name": "_operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ] - }, - { - "type": "function", - "name": "lastTimeRewardApplicable", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "lastUpdateTime", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "makeCommitment", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - }, - { - "name": "_commitmentDuration", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "minOperatorSeconds", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "minimumAuthorization", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint96", - "internalType": "uint96" - } - ] - }, - { - "type": "function", - "name": "operatorToStakingProvider", - "stateMutability": "view", - "inputs": [ - { - "name": "_operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "owner", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "pendingAuthorizationDecrease", - "stateMutability": "view", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint96", - "internalType": "uint96" - } - ] - }, - { - "type": "function", - "name": "periodFinish", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "pushReward", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_reward", - "type": "uint96", - "internalType": "uint96" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "registerOperator", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "remainingAuthorizationDecreaseDelay", - "stateMutability": "view", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "renounceOwnership", - "stateMutability": "nonpayable", - "inputs": [], - "outputs": [] - }, - { - "type": "function", - "name": "resynchronizeAuthorization", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "rewardDistributor", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "rewardDuration", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "rewardPerToken", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint160", - "internalType": "uint160" - } - ] - }, - { - "type": "function", - "name": "rewardPerTokenStored", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint160", - "internalType": "uint160" - } - ] - }, - { - "type": "function", - "name": "rewardRateDecimals", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "setAdjudicator", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_adjudicator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "setChildApplication", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_childApplication", - "type": "address", - "internalType": "contract ITACoRootToChild" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "setRewardDistributor", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_rewardDistributor", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "slash", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - }, - { - "name": "_penalty", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "_investigator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "stakingProviderInfo", - "stateMutability": "view", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "operatorConfirmed", - "type": "bool", - "internalType": "bool" - }, - { - "name": "operatorStartTimestamp", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "authorized", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "deauthorizing", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "endDeauthorization", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "tReward", + "name": "amount", "type": "uint96", - "internalType": "uint96" - }, - { - "name": "rewardPerTokenPaid", - "type": "uint160", - "internalType": "uint160" - }, - { - "name": "endCommitment", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "stakingProviderToOperator", - "stateMutability": "view", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" + "internalType": "uint96", + "indexed": false } ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] + "anonymous": false }, { - "type": "function", - "name": "stakingProviders", - "stateMutability": "view", + "type": "event", + "name": "Slashed", "inputs": [ { - "name": "", + "name": "stakingProvider", + "type": "address", + "internalType": "address", + "indexed": true + }, + { + "name": "penalty", "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ + "internalType": "uint256", + "indexed": false + }, { - "name": "", + "name": "investigator", "type": "address", - "internalType": "address" + "internalType": "address", + "indexed": true + }, + { + "name": "reward", + "type": "uint256", + "internalType": "uint256", + "indexed": false } - ] + ], + "anonymous": false }, { "type": "function", - "name": "tStaking", + "name": "REWARD_PER_TOKEN_MULTIPLIER", "stateMutability": "view", "inputs": [], "outputs": [ { "name": "", - "type": "address", - "internalType": "contract IStaking" + "type": "uint256", + "internalType": "uint256" } ] }, { "type": "function", - "name": "token", + "name": "adjudicator", "stateMutability": "view", "inputs": [], "outputs": [ { "name": "", "type": "address", - "internalType": "contract IERC20" + "internalType": "address" } ] }, { "type": "function", - "name": "transferOwnership", + "name": "approveAuthorizationDecrease", "stateMutability": "nonpayable", "inputs": [ { - "name": "newOwner", + "name": "_stakingProvider", "type": "address", "internalType": "address" } @@ -2869,803 +651,855 @@ }, { "type": "function", - "name": "withdrawRewards", + "name": "authorizationDecreaseRequested", "stateMutability": "nonpayable", "inputs": [ { "name": "_stakingProvider", "type": "address", "internalType": "address" - } - ], - "outputs": [] - } - ], - "tx_hash": "0x58617564fa2bf9ad71b9eab1ceefdd3eae5a46efc71f4463df6dbffbd713a160", - "block_number": 18622368, - "deployer": "0xFfFd7092685bDeeBD121D1A0FEA3c349114Cce50" - }, - "WorkLock": { - "address": "0xe9778E69a961e64d3cdBB34CF6778281d34667c2", - "abi": [ - { - "inputs": [ - { - "internalType": "contract NuCypherToken", - "name": "_token", - "type": "address" - }, - { - "internalType": "contract IStakingEscrow", - "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" + "name": "_fromAmount", + "type": "uint96", + "internalType": "uint96" }, { - "indexed": false, - "internalType": "uint256", - "name": "depositedETH", - "type": "uint256" + "name": "_toAmount", + "type": "uint96", + "internalType": "uint96" } ], - "name": "Bid", - "type": "event" + "outputs": [] }, { - "anonymous": false, + "type": "function", + "name": "authorizationIncreased", + "stateMutability": "nonpayable", "inputs": [ { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" + "name": "_stakingProvider", + "type": "address", + "internalType": "address" }, { - "indexed": false, - "internalType": "uint256", - "name": "startIndex", - "type": "uint256" + "name": "_fromAmount", + "type": "uint96", + "internalType": "uint96" }, { - "indexed": false, - "internalType": "uint256", - "name": "endIndex", - "type": "uint256" + "name": "_toAmount", + "type": "uint96", + "internalType": "uint96" } ], - "name": "BiddersChecked", - "type": "event" + "outputs": [] }, { - "anonymous": false, - "inputs": [ + "type": "function", + "name": "authorizationParameters", + "stateMutability": "view", + "inputs": [], + "outputs": [ { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" + "name": "_minimumAuthorization", + "type": "uint96", + "internalType": "uint96" }, { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Canceled", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" + "name": "authorizationDecreaseDelay", + "type": "uint64", + "internalType": "uint64" }, { - "indexed": false, - "internalType": "uint256", - "name": "claimedTokens", - "type": "uint256" + "name": "authorizationDecreaseChangePeriod", + "type": "uint64", + "internalType": "uint64" } - ], - "name": "Claimed", - "type": "event" + ] }, { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - }, + "type": "function", + "name": "authorizedOverall", + "stateMutability": "view", + "inputs": [], + "outputs": [ { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" + "name": "", + "type": "uint96", + "internalType": "uint96" } - ], - "name": "CompensationWithdrawn", - "type": "event" + ] }, { - "anonymous": false, + "type": "function", + "name": "authorizedStake", + "stateMutability": "view", "inputs": [ { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" + "name": "_stakingProvider", + "type": "address", + "internalType": "address" } ], - "name": "Deposited", - "type": "event" + "outputs": [ + { + "name": "", + "type": "uint96", + "internalType": "uint96" + } + ] }, { - "anonymous": false, + "type": "function", + "name": "availableRewards", + "stateMutability": "view", "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": "_stakingProvider", + "type": "address", + "internalType": "address" } ], - "name": "ForceRefund", - "type": "event" + "outputs": [ + { + "name": "", + "type": "uint96", + "internalType": "uint96" + } + ] }, { - "anonymous": false, + "type": "function", + "name": "bondOperator", + "stateMutability": "nonpayable", "inputs": [ { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" + "name": "_stakingProvider", + "type": "address", + "internalType": "address" }, { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" + "name": "_operator", + "type": "address", + "internalType": "address" } ], - "name": "OwnershipTransferred", - "type": "event" + "outputs": [] }, { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "refundETH", - "type": "uint256" - }, + "type": "function", + "name": "childApplication", + "stateMutability": "view", + "inputs": [], + "outputs": [ { - "indexed": false, - "internalType": "uint256", - "name": "completedWork", - "type": "uint256" + "name": "", + "type": "address", + "internalType": "contract ITACoRootToChild" } - ], - "name": "Refund", - "type": "event" + ] }, { - "anonymous": false, - "inputs": [ + "type": "function", + "name": "commitmentDeadline", + "stateMutability": "view", + "inputs": [], + "outputs": [ { - "indexed": true, - "internalType": "address", - "name": "sender", - "type": "address" + "name": "", + "type": "uint64", + "internalType": "uint64" } - ], - "name": "Shutdown", - "type": "event" + ] }, { + "type": "function", + "name": "commitmentDurationOption1", + "stateMutability": "view", "inputs": [], - "name": "SLOWING_REFUND", "outputs": [ { - "internalType": "uint16", "name": "", - "type": "uint16" + "type": "uint64", + "internalType": "uint64" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "commitmentDurationOption2", + "stateMutability": "view", "inputs": [], - "name": "bid", - "outputs": [], - "stateMutability": "payable", - "type": "function" + "outputs": [ + { + "name": "", + "type": "uint64", + "internalType": "uint64" + } + ] }, { - "inputs": [ + "type": "function", + "name": "commitmentDurationOption3", + "stateMutability": "view", + "inputs": [], + "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "uint64", + "internalType": "uint64" } - ], - "name": "bidders", + ] + }, + { + "type": "function", + "name": "commitmentDurationOption4", + "stateMutability": "view", + "inputs": [], "outputs": [ { - "internalType": "address", "name": "", - "type": "address" + "type": "uint64", + "internalType": "uint64" + } + ] + }, + { + "type": "function", + "name": "confirmOperatorAddress", + "stateMutability": "nonpayable", + "inputs": [ + { + "name": "_operator", + "type": "address", + "internalType": "address" } ], - "stateMutability": "view", - "type": "function" + "outputs": [] }, { + "type": "function", + "name": "deauthorizationDuration", + "stateMutability": "view", "inputs": [], - "name": "bonusETHSupply", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "function", + "name": "getActiveStakingProviders", + "stateMutability": "view", + "inputs": [ + { + "name": "_startIndex", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_maxStakingProviders", + "type": "uint256", + "internalType": "uint256" } ], + "outputs": [ + { + "name": "allAuthorizedTokens", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "activeStakingProviders", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ] + }, + { + "type": "function", + "name": "getBeneficiary", "stateMutability": "view", - "type": "function" + "inputs": [ + { + "name": "_stakingProvider", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "beneficiary", + "type": "address", + "internalType": "address payable" + } + ] }, { + "type": "function", + "name": "getStakingProvidersLength", + "stateMutability": "view", "inputs": [], - "name": "boostingRefund", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "uint256", + "internalType": "uint256" } - ], - "stateMutability": "view", - "type": "function" + ] }, { - "inputs": [], - "name": "cancelBid", - "outputs": [], + "type": "function", + "name": "initialize", "stateMutability": "nonpayable", - "type": "function" + "inputs": [], + "outputs": [] }, { - "inputs": [], - "name": "claim", - "outputs": [ + "type": "function", + "name": "involuntaryAuthorizationDecrease", + "stateMutability": "nonpayable", + "inputs": [ { - "internalType": "uint256", - "name": "claimedTokens", - "type": "uint256" + "name": "_stakingProvider", + "type": "address", + "internalType": "address" + }, + { + "name": "_fromAmount", + "type": "uint96", + "internalType": "uint96" + }, + { + "name": "_toAmount", + "type": "uint96", + "internalType": "uint96" } ], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [] }, { + "type": "function", + "name": "isAuthorized", + "stateMutability": "view", "inputs": [ { - "internalType": "address", - "name": "", - "type": "address" + "name": "_stakingProvider", + "type": "address", + "internalType": "address" } ], - "name": "compensation", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "bool", + "internalType": "bool" + } + ] + }, + { + "type": "function", + "name": "isOperatorConfirmed", + "stateMutability": "view", + "inputs": [ + { + "name": "_operator", + "type": "address", + "internalType": "address" } ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "endBidDate", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "bool", + "internalType": "bool" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "lastTimeRewardApplicable", + "stateMutability": "view", "inputs": [], - "name": "endCancellationDate", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "uint256", + "internalType": "uint256" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "lastUpdateTime", + "stateMutability": "view", "inputs": [], - "name": "escrow", "outputs": [ { - "internalType": "contract IStakingEscrow", "name": "", - "type": "address" + "type": "uint256", + "internalType": "uint256" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "makeCommitment", + "stateMutability": "nonpayable", "inputs": [ { - "internalType": "uint256", - "name": "_ethAmount", - "type": "uint256" - } - ], - "name": "ethToTokens", - "outputs": [ + "name": "_stakingProvider", + "type": "address", + "internalType": "address" + }, { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_commitmentDuration", + "type": "uint64", + "internalType": "uint64" } ], - "stateMutability": "view", - "type": "function" + "outputs": [] }, { - "inputs": [ - { - "internalType": "uint256", - "name": "_ethAmount", - "type": "uint256" - } - ], - "name": "ethToWork", + "type": "function", + "name": "minOperatorSeconds", + "stateMutability": "view", + "inputs": [], "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "uint256", + "internalType": "uint256" } - ], - "stateMutability": "view", - "type": "function" + ] }, { - "inputs": [ + "type": "function", + "name": "minimumAuthorization", + "stateMutability": "view", + "inputs": [], + "outputs": [ { - "internalType": "address payable[]", - "name": "_biddersForRefund", - "type": "address[]" + "name": "", + "type": "uint96", + "internalType": "uint96" } - ], - "name": "forceRefund", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "function", + "name": "operatorToStakingProvider", + "stateMutability": "view", "inputs": [ { - "internalType": "address", - "name": "_bidder", - "type": "address" + "name": "_operator", + "type": "address", + "internalType": "address" } ], - "name": "getAvailableRefund", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "address", + "internalType": "address" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "owner", + "stateMutability": "view", "inputs": [], - "name": "getBiddersLength", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "address", + "internalType": "address" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "pendingAuthorizationDecrease", + "stateMutability": "view", "inputs": [ { - "internalType": "address", - "name": "_bidder", - "type": "address" + "name": "_stakingProvider", + "type": "address", + "internalType": "address" } ], - "name": "getRemainingWork", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "uint96", + "internalType": "uint96" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "periodFinish", + "stateMutability": "view", "inputs": [], - "name": "isClaimingAvailable", "outputs": [ { - "internalType": "bool", "name": "", - "type": "bool" + "type": "uint256", + "internalType": "uint256" } - ], - "stateMutability": "view", - "type": "function" + ] }, { - "inputs": [], - "name": "isOwner", - "outputs": [ + "type": "function", + "name": "pushReward", + "stateMutability": "nonpayable", + "inputs": [ { - "internalType": "bool", - "name": "", - "type": "bool" + "name": "_reward", + "type": "uint96", + "internalType": "uint96" } ], - "stateMutability": "view", - "type": "function" + "outputs": [] }, { - "inputs": [], - "name": "maxAllowableLockedTokens", - "outputs": [ + "type": "function", + "name": "registerOperator", + "stateMutability": "nonpayable", + "inputs": [ { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_operator", + "type": "address", + "internalType": "address" } ], - "stateMutability": "view", - "type": "function" + "outputs": [] }, { - "inputs": [], - "name": "minAllowableLockedTokens", - "outputs": [ + "type": "function", + "name": "remainingAuthorizationDecreaseDelay", + "stateMutability": "view", + "inputs": [ { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_stakingProvider", + "type": "address", + "internalType": "address" } ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "minAllowedBid", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "uint64", + "internalType": "uint64" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "renounceOwnership", + "stateMutability": "nonpayable", "inputs": [], - "name": "nextBidderToCheck", - "outputs": [ + "outputs": [] + }, + { + "type": "function", + "name": "resynchronizeAuthorization", + "stateMutability": "nonpayable", + "inputs": [ { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_stakingProvider", + "type": "address", + "internalType": "address" } ], - "stateMutability": "view", - "type": "function" + "outputs": [] }, { + "type": "function", + "name": "rewardDistributor", + "stateMutability": "view", "inputs": [], - "name": "owner", "outputs": [ { - "internalType": "address", "name": "", - "type": "address" + "type": "address", + "internalType": "address" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "rewardDuration", + "stateMutability": "view", "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" + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ] }, { + "type": "function", + "name": "rewardPerToken", + "stateMutability": "view", "inputs": [], - "name": "stakingPeriods", "outputs": [ { - "internalType": "uint16", "name": "", - "type": "uint16" + "type": "uint160", + "internalType": "uint160" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "rewardPerTokenStored", + "stateMutability": "view", "inputs": [], - "name": "startBidDate", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "uint160", + "internalType": "uint160" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "rewardRateDecimals", + "stateMutability": "view", "inputs": [], - "name": "token", "outputs": [ { - "internalType": "contract NuCypherToken", "name": "", - "type": "address" + "type": "uint256", + "internalType": "uint256" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "setAdjudicator", + "stateMutability": "nonpayable", "inputs": [ { - "internalType": "uint256", - "name": "_value", - "type": "uint256" + "name": "_adjudicator", + "type": "address", + "internalType": "address" } ], - "name": "tokenDeposit", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [] }, { - "inputs": [], - "name": "tokenSupply", - "outputs": [ + "type": "function", + "name": "setChildApplication", + "stateMutability": "nonpayable", + "inputs": [ { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_childApplication", + "type": "address", + "internalType": "contract ITACoRootToChild" } ], - "stateMutability": "view", - "type": "function" + "outputs": [] }, { + "type": "function", + "name": "setRewardDistributor", + "stateMutability": "nonpayable", "inputs": [ { - "internalType": "address", - "name": "newOwner", - "type": "address" + "name": "_rewardDistributor", + "type": "address", + "internalType": "address" } ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [] }, { + "type": "function", + "name": "slash", + "stateMutability": "nonpayable", "inputs": [ { - "internalType": "uint256", - "name": "_gasToSaveState", - "type": "uint256" - } - ], - "name": "verifyBiddingCorrectness", - "outputs": [ + "name": "_stakingProvider", + "type": "address", + "internalType": "address" + }, { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_penalty", + "type": "uint96", + "internalType": "uint96" + }, + { + "name": "_investigator", + "type": "address", + "internalType": "address" } ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "withdrawCompensation", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [] }, { + "type": "function", + "name": "stakingProviderInfo", + "stateMutability": "view", "inputs": [ { - "internalType": "address", "name": "", - "type": "address" + "type": "address", + "internalType": "address" } ], - "name": "workInfo", "outputs": [ { - "internalType": "uint256", - "name": "depositedETH", - "type": "uint256" + "name": "operator", + "type": "address", + "internalType": "address" }, { - "internalType": "uint256", - "name": "completedWork", - "type": "uint256" + "name": "operatorConfirmed", + "type": "bool", + "internalType": "bool" }, { - "internalType": "bool", - "name": "claimed", - "type": "bool" + "name": "operatorStartTimestamp", + "type": "uint64", + "internalType": "uint64" }, { - "internalType": "uint128", - "name": "index", - "type": "uint128" + "name": "authorized", + "type": "uint96", + "internalType": "uint96" + }, + { + "name": "deauthorizing", + "type": "uint96", + "internalType": "uint96" + }, + { + "name": "endDeauthorization", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "tReward", + "type": "uint96", + "internalType": "uint96" + }, + { + "name": "rewardPerTokenPaid", + "type": "uint160", + "internalType": "uint160" + }, + { + "name": "endCommitment", + "type": "uint64", + "internalType": "uint64" } - ], - "stateMutability": "view", - "type": "function" + ] }, { + "type": "function", + "name": "stakingProviderToOperator", + "stateMutability": "view", "inputs": [ { - "internalType": "uint256", - "name": "_completedWork", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_depositedETH", - "type": "uint256" + "name": "_stakingProvider", + "type": "address", + "internalType": "address" } ], - "name": "workToETH", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "function", + "name": "stakingProviders", + "stateMutability": "view", + "inputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" } ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "function", + "name": "tStaking", "stateMutability": "view", - "type": "function" + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IStaking" + } + ] + }, + { + "type": "function", + "name": "token", + "stateMutability": "view", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IERC20" + } + ] + }, + { + "type": "function", + "name": "transferOwnership", + "stateMutability": "nonpayable", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [] + }, + { + "type": "function", + "name": "withdrawRewards", + "stateMutability": "nonpayable", + "inputs": [ + { + "name": "_stakingProvider", + "type": "address", + "internalType": "address" + } + ], + "outputs": [] } ], - "tx_hash": "0xbc1efbd39448e0555f6c2a685d97c683bc0adb2ee3bca3f98c972b7cfe4407da", - "block_number": 10763629, - "deployer": "0xebA17F35955E057a8d2e74bD4638528851d8E063" - } + "tx_hash": "0x58617564fa2bf9ad71b9eab1ceefdd3eae5a46efc71f4463df6dbffbd713a160", + "block_number": 18622368, + "deployer": "0xFfFd7092685bDeeBD121D1A0FEA3c349114Cce50" + }, }, "137": { "Coordinator": { @@ -6469,4 +4303,4 @@ "deployer": "0xFfFd7092685bDeeBD121D1A0FEA3c349114Cce50" } } -} \ No newline at end of file +}