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

413 lines 11.3 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CSExitPenaltiesAbi = void 0; exports.CSExitPenaltiesAbi = [ { "type": "constructor", "inputs": [ { "name": "module", "type": "address", "internalType": "address" }, { "name": "parametersRegistry", "type": "address", "internalType": "address" }, { "name": "strikes", "type": "address", "internalType": "address" } ], "stateMutability": "nonpayable" }, { "type": "function", "name": "ACCOUNTING", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "contract ICSAccounting" } ], "stateMutability": "view" }, { "type": "function", "name": "MODULE", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "contract ICSModule" } ], "stateMutability": "view" }, { "type": "function", "name": "PARAMETERS_REGISTRY", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "contract ICSParametersRegistry" } ], "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": "getExitPenaltyInfo", "inputs": [ { "name": "nodeOperatorId", "type": "uint256", "internalType": "uint256" }, { "name": "publicKey", "type": "bytes", "internalType": "bytes" } ], "outputs": [ { "name": "", "type": "tuple", "internalType": "struct ExitPenaltyInfo", "components": [ { "name": "delayPenalty", "type": "tuple", "internalType": "struct MarkedUint248", "components": [ { "name": "value", "type": "uint248", "internalType": "uint248" }, { "name": "isValue", "type": "bool", "internalType": "bool" } ] }, { "name": "strikesPenalty", "type": "tuple", "internalType": "struct MarkedUint248", "components": [ { "name": "value", "type": "uint248", "internalType": "uint248" }, { "name": "isValue", "type": "bool", "internalType": "bool" } ] }, { "name": "withdrawalRequestFee", "type": "tuple", "internalType": "struct MarkedUint248", "components": [ { "name": "value", "type": "uint248", "internalType": "uint248" }, { "name": "isValue", "type": "bool", "internalType": "bool" } ] } ] } ], "stateMutability": "view" }, { "type": "function", "name": "isValidatorExitDelayPenaltyApplicable", "inputs": [ { "name": "nodeOperatorId", "type": "uint256", "internalType": "uint256" }, { "name": "publicKey", "type": "bytes", "internalType": "bytes" }, { "name": "eligibleToExitInSec", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "type": "function", "name": "processExitDelayReport", "inputs": [ { "name": "nodeOperatorId", "type": "uint256", "internalType": "uint256" }, { "name": "publicKey", "type": "bytes", "internalType": "bytes" }, { "name": "eligibleToExitInSec", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "processStrikesReport", "inputs": [ { "name": "nodeOperatorId", "type": "uint256", "internalType": "uint256" }, { "name": "publicKey", "type": "bytes", "internalType": "bytes" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "processTriggeredExit", "inputs": [ { "name": "nodeOperatorId", "type": "uint256", "internalType": "uint256" }, { "name": "publicKey", "type": "bytes", "internalType": "bytes" }, { "name": "withdrawalRequestPaidFee", "type": "uint256", "internalType": "uint256" }, { "name": "exitType", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "event", "name": "StrikesPenaltyProcessed", "inputs": [ { "name": "nodeOperatorId", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "pubkey", "type": "bytes", "indexed": false, "internalType": "bytes" }, { "name": "strikesPenalty", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "type": "event", "name": "TriggeredExitFeeRecorded", "inputs": [ { "name": "nodeOperatorId", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "exitType", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "pubkey", "type": "bytes", "indexed": false, "internalType": "bytes" }, { "name": "withdrawalRequestPaidFee", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "withdrawalRequestRecordedFee", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "type": "event", "name": "ValidatorExitDelayProcessed", "inputs": [ { "name": "nodeOperatorId", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "pubkey", "type": "bytes", "indexed": false, "internalType": "bytes" }, { "name": "delayPenalty", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "type": "error", "name": "SafeCastOverflowedUintDowncast", "inputs": [ { "name": "bits", "type": "uint8", "internalType": "uint8" }, { "name": "value", "type": "uint256", "internalType": "uint256" } ] }, { "type": "error", "name": "SenderIsNotModule", "inputs": [] }, { "type": "error", "name": "SenderIsNotStrikes", "inputs": [] }, { "type": "error", "name": "ValidatorExitDelayNotApplicable", "inputs": [] }, { "type": "error", "name": "ZeroModuleAddress", "inputs": [] }, { "type": "error", "name": "ZeroParametersRegistryAddress", "inputs": [] }, { "type": "error", "name": "ZeroStrikesAddress", "inputs": [] } ]; //# sourceMappingURL=CSExitPenalties.js.map