@lidofinance/lido-ethereum-sdk
Version:
<div style="display: flex;" align="center"> <h1 align="center">Lido Ethereum SDK</h1> </div>
1,062 lines • 30.6 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LidoAbi = void 0;
const abi = [
{
constant: true,
inputs: [{ name: '_sharesAmount', type: 'uint256' }],
name: 'getPooledEthBySharesRoundUp',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [],
name: 'resume',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_recipient', type: 'address' },
{ name: '_amountOfShares', type: 'uint256' },
],
name: 'mintExternalShares',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'name',
outputs: [{ name: '', type: 'string' }],
payable: false,
stateMutability: 'pure',
type: 'function',
},
{
constant: false,
inputs: [],
name: 'stop',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'hasInitialized',
outputs: [{ name: '', type: 'bool' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_spender', type: 'address' },
{ name: '_amount', type: 'uint256' },
],
name: 'approve',
outputs: [{ name: '', type: 'bool' }],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'STAKING_CONTROL_ROLE',
outputs: [{ name: '', type: 'bytes32' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'totalSupply',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [{ name: '_ethAmount', type: 'uint256' }],
name: 'getSharesByPooledEth',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_reportTimestamp', type: 'uint256' },
{ name: '_timeElapsed', type: 'uint256' },
{ name: '_preTotalShares', type: 'uint256' },
{ name: '_preTotalEther', type: 'uint256' },
{ name: '_postTotalShares', type: 'uint256' },
{ name: '_postTotalEther', type: 'uint256' },
{ name: '_postInternalShares', type: 'uint256' },
{ name: '_postInternalEther', type: 'uint256' },
{ name: '_sharesMintedAsFees', type: 'uint256' },
],
name: 'emitTokenRebase',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'isStakingPaused',
outputs: [{ name: '', type: 'bool' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_sender', type: 'address' },
{ name: '_recipient', type: 'address' },
{ name: '_amount', type: 'uint256' },
],
name: 'transferFrom',
outputs: [{ name: '', type: 'bool' }],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [{ name: '_script', type: 'bytes' }],
name: 'getEVMScriptExecutor',
outputs: [{ name: '', type: 'address' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_maxStakeLimit', type: 'uint256' },
{ name: '_stakeLimitIncreasePerBlock', type: 'uint256' },
],
name: 'setStakingLimit',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'RESUME_ROLE',
outputs: [{ name: '', type: 'bytes32' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'decimals',
outputs: [{ name: '', type: 'uint8' }],
payable: false,
stateMutability: 'pure',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getRecoveryVault',
outputs: [{ name: '', type: 'address' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'DOMAIN_SEPARATOR',
outputs: [{ name: '', type: 'bytes32' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getTotalPooledEther',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [{ name: '_newDepositedValidators', type: 'uint256' }],
name: 'unsafeChangeDepositedValidators',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'PAUSE_ROLE',
outputs: [{ name: '', type: 'bytes32' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_spender', type: 'address' },
{ name: '_addedValue', type: 'uint256' },
],
name: 'increaseAllowance',
outputs: [{ name: '', type: 'bool' }],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getTreasury',
outputs: [{ name: '', type: 'address' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'isStopped',
outputs: [{ name: '', type: 'bool' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getBufferedEther',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_lidoLocator', type: 'address' },
{ name: '_eip712StETH', type: 'address' },
],
name: 'initialize',
outputs: [],
payable: true,
stateMutability: 'payable',
type: 'function',
},
{
constant: false,
inputs: [],
name: 'receiveELRewards',
outputs: [],
payable: true,
stateMutability: 'payable',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_recipient', type: 'address' },
{ name: '_amountOfShares', type: 'uint256' },
],
name: 'mintShares',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getWithdrawalCredentials',
outputs: [{ name: '', type: 'bytes32' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_reportTimestamp', type: 'uint256' },
{ name: '_preClValidators', type: 'uint256' },
{ name: '_reportClValidators', type: 'uint256' },
{ name: '_reportClBalance', type: 'uint256' },
],
name: 'processClStateUpdate',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getCurrentStakeLimit',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getExternalShares',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [{ name: '_amountOfShares', type: 'uint256' }],
name: 'internalizeExternalBadDebt',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getStakeLimitFullInfo',
outputs: [
{ name: 'isStakingPaused_', type: 'bool' },
{ name: 'isStakingLimitSet', type: 'bool' },
{ name: 'currentStakeLimit', type: 'uint256' },
{ name: 'maxStakeLimit', type: 'uint256' },
{ name: 'maxStakeLimitGrowthBlocks', type: 'uint256' },
{ name: 'prevStakeLimit', type: 'uint256' },
{ name: 'prevStakeBlockNumber', type: 'uint256' },
],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_sender', type: 'address' },
{ name: '_recipient', type: 'address' },
{ name: '_sharesAmount', type: 'uint256' },
],
name: 'transferSharesFrom',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [{ name: '_account', type: 'address' }],
name: 'balanceOf',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [{ name: '_amountOfShares', type: 'uint256' }],
name: 'burnExternalShares',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: false,
inputs: [],
name: 'resumeStaking',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getFeeDistribution',
outputs: [
{ name: 'treasuryFeeBasisPoints', type: 'uint16' },
{ name: 'insuranceFeeBasisPoints', type: 'uint16' },
{ name: 'operatorsFeeBasisPoints', type: 'uint16' },
],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [],
name: 'receiveWithdrawals',
outputs: [],
payable: true,
stateMutability: 'payable',
type: 'function',
},
{
constant: true,
inputs: [{ name: '_sharesAmount', type: 'uint256' }],
name: 'getPooledEthByShares',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [{ name: '_amountOfShares', type: 'uint256' }],
name: 'rebalanceExternalEtherToInternal',
outputs: [],
payable: true,
stateMutability: 'payable',
type: 'function',
},
{
constant: true,
inputs: [{ name: 'token', type: 'address' }],
name: 'allowRecoverability',
outputs: [{ name: '', type: 'bool' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [{ name: 'owner', type: 'address' }],
name: 'nonces',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'appId',
outputs: [{ name: '', type: 'bytes32' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'eip712Domain',
outputs: [
{ name: 'name', type: 'string' },
{ name: 'version', type: 'string' },
{ name: 'chainId', type: 'uint256' },
{ name: 'verifyingContract', type: 'address' },
],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [{ name: '_amountOfShares', type: 'uint256' }],
name: 'burnShares',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_oldBurner', type: 'address' },
{ name: '_contractsWithBurnerAllowances', type: 'address[]' },
{ name: '_initialMaxExternalRatioBP', type: 'uint256' },
],
name: 'finalizeUpgrade_v3',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getMaxMintableExternalShares',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getContractVersion',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getInitializationBlock',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_recipient', type: 'address' },
{ name: '_sharesAmount', type: 'uint256' },
],
name: 'transferShares',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_reportTimestamp', type: 'uint256' },
{ name: '_reportClBalance', type: 'uint256' },
{ name: '_principalCLBalance', type: 'uint256' },
{ name: '_withdrawalsToWithdraw', type: 'uint256' },
{ name: '_elRewardsToWithdraw', type: 'uint256' },
{ name: '_lastWithdrawalRequestToFinalize', type: 'uint256' },
{ name: '_withdrawalsShareRate', type: 'uint256' },
{ name: '_etherToLockOnWithdrawalQueue', type: 'uint256' },
],
name: 'collectRewardsAndProcessWithdrawals',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'symbol',
outputs: [{ name: '', type: 'string' }],
payable: false,
stateMutability: 'pure',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getEIP712StETH',
outputs: [{ name: '', type: 'address' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getMaxExternalRatioBP',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [{ name: '', type: 'address' }],
name: 'transferToVault',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [
{ name: '_sender', type: 'address' },
{ name: '_role', type: 'bytes32' },
{ name: '_params', type: 'uint256[]' },
],
name: 'canPerform',
outputs: [{ name: '', type: 'bool' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [{ name: '_referral', type: 'address' }],
name: 'submit',
outputs: [{ name: '', type: 'uint256' }],
payable: true,
stateMutability: 'payable',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_spender', type: 'address' },
{ name: '_subtractedValue', type: 'uint256' },
],
name: 'decreaseAllowance',
outputs: [{ name: '', type: 'bool' }],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getEVMScriptRegistry',
outputs: [{ name: '', type: 'address' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_recipient', type: 'address' },
{ name: '_amount', type: 'uint256' },
],
name: 'transfer',
outputs: [{ name: '', type: 'bool' }],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_maxDepositsCount', type: 'uint256' },
{ name: '_stakingModuleId', type: 'uint256' },
{ name: '_depositCalldata', type: 'bytes' },
],
name: 'deposit',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'UNSAFE_CHANGE_DEPOSITED_VALIDATORS_ROLE',
outputs: [{ name: '', type: 'bytes32' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getBeaconStat',
outputs: [
{ name: 'depositedValidators', type: 'uint256' },
{ name: 'beaconValidators', type: 'uint256' },
{ name: 'beaconBalance', type: 'uint256' },
],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [],
name: 'removeStakingLimit',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getFee',
outputs: [{ name: 'totalFee', type: 'uint16' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'kernel',
outputs: [{ name: '', type: 'address' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getTotalShares',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [
{ name: '_owner', type: 'address' },
{ name: '_spender', type: 'address' },
{ name: '_value', type: 'uint256' },
{ name: '_deadline', type: 'uint256' },
{ name: '_v', type: 'uint8' },
{ name: '_r', type: 'bytes32' },
{ name: '_s', type: 'bytes32' },
],
name: 'permit',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [
{ name: '_owner', type: 'address' },
{ name: '_spender', type: 'address' },
],
name: 'allowance',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'isPetrified',
outputs: [{ name: '', type: 'bool' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getExternalEther',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getLidoLocator',
outputs: [{ name: '', type: 'address' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'canDeposit',
outputs: [{ name: '', type: 'bool' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'STAKING_PAUSE_ROLE',
outputs: [{ name: '', type: 'bytes32' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getDepositableEther',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [{ name: '_maxExternalRatioBP', type: 'uint256' }],
name: 'setMaxExternalRatioBP',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [{ name: '_account', type: 'address' }],
name: 'sharesOf',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [],
name: 'pauseStaking',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getTotalELRewardsCollected',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{ payable: true, stateMutability: 'payable', type: 'fallback' },
{ anonymous: false, inputs: [], name: 'StakingPaused', type: 'event' },
{ anonymous: false, inputs: [], name: 'StakingResumed', type: 'event' },
{
anonymous: false,
inputs: [
{ indexed: false, name: 'maxStakeLimit', type: 'uint256' },
{ indexed: false, name: 'stakeLimitIncreasePerBlock', type: 'uint256' },
],
name: 'StakingLimitSet',
type: 'event',
},
{ anonymous: false, inputs: [], name: 'StakingLimitRemoved', type: 'event' },
{
anonymous: false,
inputs: [
{ indexed: true, name: 'reportTimestamp', type: 'uint256' },
{ indexed: false, name: 'preCLValidators', type: 'uint256' },
{ indexed: false, name: 'postCLValidators', type: 'uint256' },
],
name: 'CLValidatorsUpdated',
type: 'event',
},
{
anonymous: false,
inputs: [{ indexed: false, name: 'depositedValidators', type: 'uint256' }],
name: 'DepositedValidatorsChanged',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, name: 'reportTimestamp', type: 'uint256' },
{ indexed: false, name: 'preCLBalance', type: 'uint256' },
{ indexed: false, name: 'postCLBalance', type: 'uint256' },
{ indexed: false, name: 'withdrawalsWithdrawn', type: 'uint256' },
{
indexed: false,
name: 'executionLayerRewardsWithdrawn',
type: 'uint256',
},
{ indexed: false, name: 'postBufferedEther', type: 'uint256' },
],
name: 'ETHDistributed',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, name: 'reportTimestamp', type: 'uint256' },
{ indexed: false, name: 'timeElapsed', type: 'uint256' },
{ indexed: false, name: 'preTotalShares', type: 'uint256' },
{ indexed: false, name: 'preTotalEther', type: 'uint256' },
{ indexed: false, name: 'postTotalShares', type: 'uint256' },
{ indexed: false, name: 'postTotalEther', type: 'uint256' },
{ indexed: false, name: 'sharesMintedAsFees', type: 'uint256' },
],
name: 'TokenRebased',
type: 'event',
},
{
anonymous: false,
inputs: [{ indexed: false, name: 'lidoLocator', type: 'address' }],
name: 'LidoLocatorSet',
type: 'event',
},
{
anonymous: false,
inputs: [{ indexed: false, name: 'amount', type: 'uint256' }],
name: 'ELRewardsReceived',
type: 'event',
},
{
anonymous: false,
inputs: [{ indexed: false, name: 'amount', type: 'uint256' }],
name: 'WithdrawalsReceived',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, name: 'sender', type: 'address' },
{ indexed: false, name: 'amount', type: 'uint256' },
{ indexed: false, name: 'referral', type: 'address' },
],
name: 'Submitted',
type: 'event',
},
{
anonymous: false,
inputs: [{ indexed: false, name: 'amount', type: 'uint256' }],
name: 'Unbuffered',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, name: 'reportTimestamp', type: 'uint256' },
{ indexed: false, name: 'postInternalShares', type: 'uint256' },
{ indexed: false, name: 'postInternalEther', type: 'uint256' },
{ indexed: false, name: 'sharesMintedAsFees', type: 'uint256' },
],
name: 'InternalShareRateUpdated',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, name: 'receiver', type: 'address' },
{ indexed: false, name: 'amountOfShares', type: 'uint256' },
],
name: 'ExternalSharesMinted',
type: 'event',
},
{
anonymous: false,
inputs: [{ indexed: false, name: 'amountOfShares', type: 'uint256' }],
name: 'ExternalSharesBurnt',
type: 'event',
},
{
anonymous: false,
inputs: [{ indexed: false, name: 'maxExternalRatioBP', type: 'uint256' }],
name: 'MaxExternalRatioBPSet',
type: 'event',
},
{
anonymous: false,
inputs: [{ indexed: false, name: 'amount', type: 'uint256' }],
name: 'ExternalEtherTransferredToBuffer',
type: 'event',
},
{
anonymous: false,
inputs: [{ indexed: false, name: 'amountOfShares', type: 'uint256' }],
name: 'ExternalBadDebtInternalized',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, name: 'executor', type: 'address' },
{ indexed: false, name: 'script', type: 'bytes' },
{ indexed: false, name: 'input', type: 'bytes' },
{ indexed: false, name: 'returnData', type: 'bytes' },
],
name: 'ScriptResult',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, name: 'vault', type: 'address' },
{ indexed: true, name: 'token', type: 'address' },
{ indexed: false, name: 'amount', type: 'uint256' },
],
name: 'RecoverToVault',
type: 'event',
},
{
anonymous: false,
inputs: [{ indexed: false, name: 'eip712StETH', type: 'address' }],
name: 'EIP712StETHInitialized',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, name: 'from', type: 'address' },
{ indexed: true, name: 'to', type: 'address' },
{ indexed: false, name: 'sharesValue', type: 'uint256' },
],
name: 'TransferShares',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, name: 'account', type: 'address' },
{ indexed: false, name: 'preRebaseTokenAmount', type: 'uint256' },
{ indexed: false, name: 'postRebaseTokenAmount', type: 'uint256' },
{ indexed: false, name: 'sharesAmount', type: 'uint256' },
],
name: 'SharesBurnt',
type: 'event',
},
{ anonymous: false, inputs: [], name: 'Stopped', type: 'event' },
{ anonymous: false, inputs: [], name: 'Resumed', type: 'event' },
{
anonymous: false,
inputs: [
{ indexed: true, name: 'from', type: 'address' },
{ indexed: true, name: 'to', type: 'address' },
{ indexed: false, name: 'value', type: 'uint256' },
],
name: 'Transfer',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, name: 'owner', type: 'address' },
{ indexed: true, name: 'spender', type: 'address' },
{ indexed: false, name: 'value', type: 'uint256' },
],
name: 'Approval',
type: 'event',
},
{
anonymous: false,
inputs: [{ indexed: false, name: 'version', type: 'uint256' }],
name: 'ContractVersionSet',
type: 'event',
},
];
exports.LidoAbi = abi;
//# sourceMappingURL=lido.js.map