Skip to main content

contracts/abis/mainnet/GuardianModule

Variables

GuardianModule

const GuardianModule: readonly [{ inputs: readonly []; name: "getEjectionThreshold"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "getGuardians"; outputs: readonly [{ internalType: "address[]"; name: ""; type: "address[]"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "guardian"; type: "address"; }]; name: "getGuardiansEnclaveAddress"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "getGuardiansEnclaveAddresses"; outputs: readonly [{ internalType: "address[]"; name: ""; type: "address[]"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "getGuardiansEnclavePubkeys"; outputs: readonly [{ internalType: "bytes[]"; name: ""; type: "bytes[]"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "getMrenclave"; outputs: readonly [{ internalType: "bytes32"; name: ""; type: "bytes32"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "getMrsigner"; outputs: readonly [{ internalType: "bytes32"; name: ""; type: "bytes32"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "getThreshold"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "isConsumingScheduledOp"; outputs: readonly [{ internalType: "bytes4"; name: ""; type: "bytes4"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "account"; type: "address"; }]; name: "isGuardian"; outputs: readonly [{ internalType: "bool"; name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "guardian"; type: "address"; }]; name: "removeGuardian"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "blockNumber"; type: "uint256"; }, { internalType: "bytes"; name: "pubKey"; type: "bytes"; }, { components: readonly [{ internalType: "bytes"; name: "report"; type: "bytes"; }, { internalType: "bytes"; name: "signature"; type: "bytes"; }, { internalType: "bytes32"; name: "leafX509CertDigest"; type: "bytes32"; }]; internalType: "struct RaveEvidence"; name: "evidence"; type: "tuple"; }]; name: "rotateGuardianKey"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "splitGuardianFunds"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ components: readonly [{ internalType: "address"; name: "module"; type: "address"; }, { internalType: "uint256"; name: "startEpoch"; type: "uint256"; }, { internalType: "uint256"; name: "endEpoch"; type: "uint256"; }, { internalType: "bool"; name: "wasSlashed"; type: "bool"; }, { internalType: "bytes32"; name: "moduleName"; type: "bytes32"; }, { internalType: "uint256"; name: "pufferModuleIndex"; type: "uint256"; }, { internalType: "uint256"; name: "withdrawalAmount"; type: "uint256"; }]; internalType: "struct StoppedValidatorInfo[]"; name: "validatorInfos"; type: "tuple[]"; }, { internalType: "bytes[]"; name: "eoaSignatures"; type: "bytes[]"; }]; name: "validateBatchWithdrawals"; outputs: readonly []; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "bytes[]"; name: "eoaSignatures"; type: "bytes[]"; }, { internalType: "bytes32"; name: "signedMessageHash"; type: "bytes32"; }]; name: "validateGuardiansEOASignatures"; outputs: readonly [{ internalType: "bool"; name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "bytes[]"; name: "enclaveSignatures"; type: "bytes[]"; }, { internalType: "bytes32"; name: "signedMessageHash"; type: "bytes32"; }]; name: "validateGuardiansEnclaveSignatures"; outputs: readonly [{ internalType: "bool"; name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "pufferModuleIndex"; type: "uint256"; }, { internalType: "bytes"; name: "pubKey"; type: "bytes"; }, { internalType: "bytes"; name: "signature"; type: "bytes"; }, { internalType: "bytes"; name: "withdrawalCredentials"; type: "bytes"; }, { internalType: "bytes32"; name: "depositDataRoot"; type: "bytes32"; }, { internalType: "bytes[]"; name: "enclaveSignatures"; type: "bytes[]"; }]; name: "validateProvisionNode"; outputs: readonly []; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "bytes32"; name: "moduleName"; type: "bytes32"; }, { internalType: "uint256"; name: "skippedIndex"; type: "uint256"; }, { internalType: "bytes[]"; name: "eoaSignatures"; type: "bytes[]"; }]; name: "validateSkipProvisioning"; outputs: readonly []; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "newNumberOfValidators"; type: "uint256"; }, { internalType: "uint256"; name: "epochNumber"; type: "uint256"; }, { internalType: "bytes[]"; name: "eoaSignatures"; type: "bytes[]"; }]; name: "validateTotalNumberOfValidators"; outputs: readonly []; stateMutability: "view"; type: "function"; }]

Defined in: lib/contracts/abis/mainnet/GuardianModule.ts:1