UNPKG

@mantleio/contracts

Version:
307 lines (306 loc) 6.56 kB
{ "_format": "hh-sol-artifact-1", "contractName": "ISlasher", "sourceName": "contracts/libraries/eigenda/interfaces/ISlasher.sol", "abi": [ { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "address", "name": "serviceContract", "type": "address" } ], "name": "bondedUntil", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "toBeSlashed", "type": "address" }, { "internalType": "address", "name": "slashingContract", "type": "address" } ], "name": "canSlash", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "uint32", "name": "withdrawalStartBlock", "type": "uint32" }, { "internalType": "uint256", "name": "middlewareTimesIndex", "type": "uint256" } ], "name": "canWithdraw", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "toBeFrozen", "type": "address" } ], "name": "freezeOperator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "uint32", "name": "updateBlock", "type": "uint32" } ], "name": "getCorrectValueForInsertAfter", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "uint32", "name": "index", "type": "uint32" } ], "name": "getMiddlewareTimesIndexBlock", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "uint32", "name": "index", "type": "uint32" } ], "name": "getMiddlewareTimesIndexServeUntil", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "staker", "type": "address" } ], "name": "isFrozen", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "address", "name": "serviceContract", "type": "address" } ], "name": "latestUpdateBlock", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "contractAddress", "type": "address" } ], "name": "optIntoSlashing", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "uint32", "name": "serveUntil", "type": "uint32" } ], "name": "recordFirstStakeUpdate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "uint32", "name": "serveUntil", "type": "uint32" } ], "name": "recordLastStakeUpdateAndRevokeSlashingAbility", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "uint32", "name": "updateBlock", "type": "uint32" }, { "internalType": "uint32", "name": "serveUntil", "type": "uint32" }, { "internalType": "uint256", "name": "insertAfter", "type": "uint256" } ], "name": "recordStakeUpdate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "frozenAddresses", "type": "address[]" } ], "name": "resetFrozenStatus", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }