import { AbiItem } from 'web3-utils'; export const multiCallAbi: AbiItem[] = [ { constant: true, inputs: [], name: 'getCurrentBlockTimestamp', outputs: [{ name: 'timestamp', type: 'uint256' }], payable: false, stateMutability: 'view', type: 'function', }, { constant: false, inputs: [ { components: [ { name: 'target', type: 'address' }, { name: 'callData', type: 'bytes' }, ], name: 'calls', type: 'tuple[]', }, ], name: 'aggregate', outputs: [ { name: 'blockNumber', type: 'uint256' }, { name: 'returnData', type: 'bytes[]' }, ], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [], name: 'getLastBlockHash', outputs: [{ name: 'blockHash', type: 'bytes32' }], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [{ name: 'addr', type: 'address' }], name: 'getEthBalance', outputs: [{ name: 'balance', type: 'uint256' }], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'getCurrentBlockDifficulty', outputs: [{ name: 'difficulty', type: 'uint256' }], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'getCurrentBlockGasLimit', outputs: [{ name: 'gaslimit', type: 'uint256' }], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'getCurrentBlockCoinbase', outputs: [{ name: 'coinbase', type: 'address' }], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [{ name: 'blockNumber', type: 'uint256' }], name: 'getBlockHash', outputs: [{ name: 'blockHash', type: 'bytes32' }], payable: false, stateMutability: 'view', type: 'function', }, ];