UNPKG

@mantleio/contracts

Version:
162 lines (161 loc) 3.46 kB
{ "_format": "hh-sol-artifact-1", "contractName": "IDelegationSlasher", "sourceName": "contracts/L1/delegation/interfaces/IDelegationSlasher.sol", "abi": [ { "inputs": [ { "internalType": "address[]", "name": "contracts", "type": "address[]" } ], "name": "addGloballyPermissionedContracts", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "contractAddress", "type": "address" } ], "name": "allowToSlash", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "address", "name": "slashingContract", "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": "toBeFrozen", "type": "address" } ], "name": "freezeOperator", "outputs": [], "stateMutability": "nonpayable", "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": "contracts", "type": "address[]" } ], "name": "removeGloballyPermissionedContracts", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "frozenAddresses", "type": "address[]" } ], "name": "resetFrozenStatus", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "uint32", "name": "unbondedAfter", "type": "uint32" } ], "name": "revokeSlashingAbility", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }