UNPKG

@exromany/lido-csm-sdk

Version:

[![GitHub license](https://img.shields.io/github/license/lidofinance/lido-csm-sdk?color=limegreen)](https://github.com/lidofinance/lido-csm-sdk/blob/main/LICENSE.txt) [![Version npm](https://img.shields.io/npm/v/@lidofinance/lido-csm-sdk?label=version)](h

690 lines 16.5 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CSEjectorAbi = void 0; exports.CSEjectorAbi = [ { "type": "constructor", "inputs": [ { "name": "module", "type": "address", "internalType": "address" }, { "name": "strikes", "type": "address", "internalType": "address" }, { "name": "stakingModuleId", "type": "uint256", "internalType": "uint256" }, { "name": "admin", "type": "address", "internalType": "address" } ], "stateMutability": "nonpayable" }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "inputs": [], "outputs": [ { "name": "", "type": "bytes32", "internalType": "bytes32" } ], "stateMutability": "view" }, { "type": "function", "name": "MODULE", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "contract ICSModule" } ], "stateMutability": "view" }, { "type": "function", "name": "PAUSE_INFINITELY", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "PAUSE_ROLE", "inputs": [], "outputs": [ { "name": "", "type": "bytes32", "internalType": "bytes32" } ], "stateMutability": "view" }, { "type": "function", "name": "RECOVERER_ROLE", "inputs": [], "outputs": [ { "name": "", "type": "bytes32", "internalType": "bytes32" } ], "stateMutability": "view" }, { "type": "function", "name": "RESUME_ROLE", "inputs": [], "outputs": [ { "name": "", "type": "bytes32", "internalType": "bytes32" } ], "stateMutability": "view" }, { "type": "function", "name": "STAKING_MODULE_ID", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "STRIKES", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "STRIKES_EXIT_TYPE_ID", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "VOLUNTARY_EXIT_TYPE_ID", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "ejectBadPerformer", "inputs": [ { "name": "nodeOperatorId", "type": "uint256", "internalType": "uint256" }, { "name": "keyIndex", "type": "uint256", "internalType": "uint256" }, { "name": "refundRecipient", "type": "address", "internalType": "address" } ], "outputs": [], "stateMutability": "payable" }, { "type": "function", "name": "getResumeSinceTimestamp", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "getRoleAdmin", "inputs": [ { "name": "role", "type": "bytes32", "internalType": "bytes32" } ], "outputs": [ { "name": "", "type": "bytes32", "internalType": "bytes32" } ], "stateMutability": "view" }, { "type": "function", "name": "getRoleMember", "inputs": [ { "name": "role", "type": "bytes32", "internalType": "bytes32" }, { "name": "index", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "getRoleMemberCount", "inputs": [ { "name": "role", "type": "bytes32", "internalType": "bytes32" } ], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "grantRole", "inputs": [ { "name": "role", "type": "bytes32", "internalType": "bytes32" }, { "name": "account", "type": "address", "internalType": "address" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "hasRole", "inputs": [ { "name": "role", "type": "bytes32", "internalType": "bytes32" }, { "name": "account", "type": "address", "internalType": "address" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "type": "function", "name": "isPaused", "inputs": [], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "type": "function", "name": "pauseFor", "inputs": [ { "name": "duration", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "recoverERC1155", "inputs": [ { "name": "token", "type": "address", "internalType": "address" }, { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "recoverERC20", "inputs": [ { "name": "token", "type": "address", "internalType": "address" }, { "name": "amount", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "recoverERC721", "inputs": [ { "name": "token", "type": "address", "internalType": "address" }, { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "recoverEther", "inputs": [], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "renounceRole", "inputs": [ { "name": "role", "type": "bytes32", "internalType": "bytes32" }, { "name": "callerConfirmation", "type": "address", "internalType": "address" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "resume", "inputs": [], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "revokeRole", "inputs": [ { "name": "role", "type": "bytes32", "internalType": "bytes32" }, { "name": "account", "type": "address", "internalType": "address" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "supportsInterface", "inputs": [ { "name": "interfaceId", "type": "bytes4", "internalType": "bytes4" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "type": "function", "name": "triggerableWithdrawalsGateway", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "contract ITriggerableWithdrawalsGateway" } ], "stateMutability": "view" }, { "type": "function", "name": "voluntaryEject", "inputs": [ { "name": "nodeOperatorId", "type": "uint256", "internalType": "uint256" }, { "name": "startFrom", "type": "uint256", "internalType": "uint256" }, { "name": "keysCount", "type": "uint256", "internalType": "uint256" }, { "name": "refundRecipient", "type": "address", "internalType": "address" } ], "outputs": [], "stateMutability": "payable" }, { "type": "function", "name": "voluntaryEjectByArray", "inputs": [ { "name": "nodeOperatorId", "type": "uint256", "internalType": "uint256" }, { "name": "keyIndices", "type": "uint256[]", "internalType": "uint256[]" }, { "name": "refundRecipient", "type": "address", "internalType": "address" } ], "outputs": [], "stateMutability": "payable" }, { "type": "event", "name": "Paused", "inputs": [ { "name": "duration", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "type": "event", "name": "Resumed", "inputs": [], "anonymous": false }, { "type": "event", "name": "RoleAdminChanged", "inputs": [ { "name": "role", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "previousAdminRole", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "newAdminRole", "type": "bytes32", "indexed": true, "internalType": "bytes32" } ], "anonymous": false }, { "type": "event", "name": "RoleGranted", "inputs": [ { "name": "role", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "account", "type": "address", "indexed": true, "internalType": "address" }, { "name": "sender", "type": "address", "indexed": true, "internalType": "address" } ], "anonymous": false }, { "type": "event", "name": "RoleRevoked", "inputs": [ { "name": "role", "type": "bytes32", "indexed": true, "internalType": "bytes32" }, { "name": "account", "type": "address", "indexed": true, "internalType": "address" }, { "name": "sender", "type": "address", "indexed": true, "internalType": "address" } ], "anonymous": false }, { "type": "error", "name": "AccessControlBadConfirmation", "inputs": [] }, { "type": "error", "name": "AccessControlUnauthorizedAccount", "inputs": [ { "name": "account", "type": "address", "internalType": "address" }, { "name": "neededRole", "type": "bytes32", "internalType": "bytes32" } ] }, { "type": "error", "name": "AlreadyWithdrawn", "inputs": [] }, { "type": "error", "name": "NodeOperatorDoesNotExist", "inputs": [] }, { "type": "error", "name": "PauseUntilMustBeInFuture", "inputs": [] }, { "type": "error", "name": "PausedExpected", "inputs": [] }, { "type": "error", "name": "ResumedExpected", "inputs": [] }, { "type": "error", "name": "SenderIsNotEligible", "inputs": [] }, { "type": "error", "name": "SenderIsNotStrikes", "inputs": [] }, { "type": "error", "name": "SigningKeysInvalidOffset", "inputs": [] }, { "type": "error", "name": "ZeroAdminAddress", "inputs": [] }, { "type": "error", "name": "ZeroModuleAddress", "inputs": [] }, { "type": "error", "name": "ZeroPauseDuration", "inputs": [] }, { "type": "error", "name": "ZeroStrikesAddress", "inputs": [] } ]; //# sourceMappingURL=CSEjector.js.map