@lidofinance/lido-ethereum-sdk
Version:
<div style="display: flex;" align="center"> <h1 align="center">Lido Ethereum SDK</h1> </div>
140 lines • 3.66 kB
JavaScript
const abi = [
{
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',
},
{
constant: true,
inputs: [{ name: '_account', type: 'address' }],
name: 'sharesOf',
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: true,
inputs: [{ name: '_sharesAmount', type: 'uint256' }],
name: 'getPooledEthByShares',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getTotalShares',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getTotalPooledEther',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'view',
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: '_sender', type: 'address' },
{ name: '_recipient', type: 'address' },
{ name: '_sharesAmount', type: 'uint256' },
],
name: 'transferSharesFrom',
outputs: [{ name: '', type: 'uint256' }],
payable: false,
stateMutability: 'nonpayable',
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: true,
inputs: [],
name: 'getExternalShares',
outputs: [
{
name: '',
type: 'uint256',
},
],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getMaxMintableExternalShares',
outputs: [
{
name: '',
type: 'uint256',
},
],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [
{
name: '_sharesAmount',
type: 'uint256',
},
],
name: 'getPooledEthBySharesRoundUp',
outputs: [
{
name: '',
type: 'uint256',
},
],
payable: false,
stateMutability: 'view',
type: 'function',
},
];
export const stethSharesAbi = abi;
//# sourceMappingURL=steth-shares-abi.js.map