@exromany/lido-csm-sdk
Version:
[](https://github.com/lidofinance/lido-csm-sdk/blob/main/LICENSE.txt) [](h
410 lines • 11.2 kB
JavaScript
export const 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