UNPKG

@mantleio/contracts

Version:
428 lines (427 loc) 9.3 kB
{ "_format": "hh-sol-artifact-1", "contractName": "IBLSRegistry", "sourceName": "contracts/libraries/eigenda/interfaces/IBLSRegistry.sol", "abi": [ { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "apkHashes", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "apkUpdateBlockNumbers", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "apkUpdates", "outputs": [ { "components": [ { "internalType": "bytes32", "name": "apkHash", "type": "bytes32" }, { "internalType": "uint32", "name": "blockNumber", "type": "uint32" } ], "internalType": "struct IBLSRegistry.ApkUpdate", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "uint256", "name": "blockNumber", "type": "uint256" }, { "internalType": "uint256", "name": "stakeHistoryIndex", "type": "uint256" } ], "name": "checkOperatorActiveAtBlockNumber", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "uint256", "name": "blockNumber", "type": "uint256" }, { "internalType": "uint256", "name": "stakeHistoryIndex", "type": "uint256" } ], "name": "checkOperatorInactiveAtBlockNumber", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" }, { "internalType": "uint32", "name": "blockNumber", "type": "uint32" } ], "name": "getCorrectApkHash", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" } ], "name": "getFromTaskNumberForOperator", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLengthOfTotalStakeHistory", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "uint32", "name": "blockNumber", "type": "uint32" }, { "internalType": "uint32", "name": "index", "type": "uint32" } ], "name": "getOperatorIndex", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" } ], "name": "getOperatorPubkeyHash", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "pubkeyHash", "type": "bytes32" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "getStakeFromPubkeyHashAndIndex", "outputs": [ { "components": [ { "internalType": "uint32", "name": "updateBlockNumber", "type": "uint32" }, { "internalType": "uint32", "name": "nextUpdateBlockNumber", "type": "uint32" }, { "internalType": "uint96", "name": "firstQuorumStake", "type": "uint96" }, { "internalType": "uint96", "name": "secondQuorumStake", "type": "uint96" } ], "internalType": "struct IQuorumRegistry.OperatorStake", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "blockNumber", "type": "uint32" }, { "internalType": "uint32", "name": "index", "type": "uint32" } ], "name": "getTotalOperators", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "getTotalStakeFromIndex", "outputs": [ { "components": [ { "internalType": "uint32", "name": "updateBlockNumber", "type": "uint32" }, { "internalType": "uint32", "name": "nextUpdateBlockNumber", "type": "uint32" }, { "internalType": "uint96", "name": "firstQuorumStake", "type": "uint96" }, { "internalType": "uint96", "name": "secondQuorumStake", "type": "uint96" } ], "internalType": "struct IQuorumRegistry.OperatorStake", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" } ], "name": "isActiveOperator", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "numOperators", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" } ], "name": "operatorStakes", "outputs": [ { "internalType": "uint96", "name": "", "type": "uint96" }, { "internalType": "uint96", "name": "", "type": "uint96" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalStake", "outputs": [ { "internalType": "uint96", "name": "", "type": "uint96" }, { "internalType": "uint96", "name": "", "type": "uint96" } ], "stateMutability": "view", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }