ees-sdk
Version:
SDK for EES (Ethereum Execution Service)
5 lines (4 loc) • 4.08 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.querierAbi = void 0;
exports.querierAbi = [{ "type": "constructor", "inputs": [{ "name": "_jobRegistry", "type": "address", "internalType": "contract JobRegistry" }, { "name": "_coordinator", "type": "address", "internalType": "contract Coordinator" }], "stateMutability": "nonpayable" }, { "type": "function", "name": "getCommitData", "inputs": [{ "name": "_executors", "type": "address[]", "internalType": "address[]" }], "outputs": [{ "name": "", "type": "tuple[]", "internalType": "struct ICoordinator.CommitData[]", "components": [{ "name": "commitment", "type": "bytes32", "internalType": "bytes32" }, { "name": "epoch", "type": "uint192", "internalType": "uint192" }, { "name": "revealed", "type": "bool", "internalType": "bool" }] }], "stateMutability": "view" }, { "type": "function", "name": "getCurrentEpochInfo", "inputs": [], "outputs": [{ "name": "", "type": "uint192", "internalType": "uint192" }, { "name": "", "type": "uint256", "internalType": "uint256" }, { "name": "", "type": "bytes32", "internalType": "bytes32" }, { "name": "", "type": "uint40", "internalType": "uint40" }, { "name": "", "type": "address[]", "internalType": "address[]" }, { "name": "", "type": "uint256", "internalType": "uint256" }, { "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "getExecutors", "inputs": [{ "name": "_executors", "type": "address[]", "internalType": "address[]" }], "outputs": [{ "name": "", "type": "tuple[]", "internalType": "struct ICoordinator.Executor[]", "components": [{ "name": "balance", "type": "uint256", "internalType": "uint256" }, { "name": "active", "type": "bool", "internalType": "bool" }, { "name": "initialized", "type": "bool", "internalType": "bool" }, { "name": "arrayIndex", "type": "uint32", "internalType": "uint32" }, { "name": "roundsCheckedInEpoch", "type": "uint8", "internalType": "uint8" }, { "name": "lastCheckinRound", "type": "uint8", "internalType": "uint8" }, { "name": "lastCheckinEpoch", "type": "uint96", "internalType": "uint96" }, { "name": "executionsInRoundsInEpoch", "type": "uint96", "internalType": "uint96" }, { "name": "lastRegistrationTimestamp", "type": "uint256", "internalType": "uint256" }, { "name": "registeredModules", "type": "uint256", "internalType": "uint256" }] }], "stateMutability": "view" }, { "type": "function", "name": "getJobs", "inputs": [{ "name": "_indices", "type": "uint256[]", "internalType": "uint256[]" }], "outputs": [{ "name": "", "type": "tuple[]", "internalType": "struct IQuerier.JobData[]", "components": [{ "name": "index", "type": "uint256", "internalType": "uint256" }, { "name": "owner", "type": "address", "internalType": "address" }, { "name": "active", "type": "bool", "internalType": "bool" }, { "name": "ignoreAppRevert", "type": "bool", "internalType": "bool" }, { "name": "sponsorFallbackToOwner", "type": "bool", "internalType": "bool" }, { "name": "sponsorCanUpdateFeeModule", "type": "bool", "internalType": "bool" }, { "name": "executionModule", "type": "bytes1", "internalType": "bytes1" }, { "name": "feeModule", "type": "bytes1", "internalType": "bytes1" }, { "name": "executionWindow", "type": "uint24", "internalType": "uint24" }, { "name": "zeroFeeWindow", "type": "uint24", "internalType": "uint24" }, { "name": "sponsor", "type": "address", "internalType": "address" }, { "name": "executionCounter", "type": "uint48", "internalType": "uint48" }, { "name": "maxExecutions", "type": "uint48", "internalType": "uint48" }, { "name": "application", "type": "address", "internalType": "contract IApplication" }, { "name": "creationTime", "type": "uint96", "internalType": "uint96" }, { "name": "executionModuleData", "type": "bytes", "internalType": "bytes" }, { "name": "feeModuleData", "type": "bytes", "internalType": "bytes" }, { "name": "jobIsExpired", "type": "bool", "internalType": "bool" }, { "name": "jobInExecutionWindow", "type": "bool", "internalType": "bool" }] }], "stateMutability": "view" }];