@lidofinance/lido-ethereum-sdk
Version:
<div style="display: flex;" align="center"> <h1 align="center">Lido Ethereum SDK</h1> </div>
72 lines • 2.24 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Multicall3AbiUtils = void 0;
const abi = [
{
inputs: [],
name: 'getBasefee',
outputs: [{ internalType: 'uint256', name: 'basefee', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: 'blockNumber', type: 'uint256' }],
name: 'getBlockHash',
outputs: [{ internalType: 'bytes32', name: 'blockHash', type: 'bytes32' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getBlockNumber',
outputs: [
{ internalType: 'uint256', name: 'blockNumber', type: 'uint256' },
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getChainId',
outputs: [{ internalType: 'uint256', name: 'chainid', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getCurrentBlockCoinbase',
outputs: [{ internalType: 'address', name: 'coinbase', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getCurrentBlockDifficulty',
outputs: [{ internalType: 'uint256', name: 'difficulty', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getCurrentBlockGasLimit',
outputs: [{ internalType: 'uint256', name: 'gaslimit', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'getCurrentBlockTimestamp',
outputs: [{ internalType: 'uint256', name: 'timestamp', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'address', name: 'addr', type: 'address' }],
name: 'getEthBalance',
outputs: [{ internalType: 'uint256', name: 'balance', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
];
exports.Multicall3AbiUtils = abi;
//# sourceMappingURL=Multicall.js.map