UNPKG

@arbitrum/sdk

Version:

Typescript library client-side interactions with Arbitrum

157 lines (156 loc) 3.78 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ArbAggregator__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [ { internalType: "address", name: "newBatchPoster", type: "address", }, ], name: "addBatchPoster", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "getBatchPosters", outputs: [ { internalType: "address[]", name: "", type: "address[]", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getDefaultAggregator", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "batchPoster", type: "address", }, ], name: "getFeeCollector", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "addr", type: "address", }, ], name: "getPreferredAggregator", outputs: [ { internalType: "address", name: "", type: "address", }, { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "aggregator", type: "address", }, ], name: "getTxBaseFee", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "batchPoster", type: "address", }, { internalType: "address", name: "newFeeCollector", type: "address", }, ], name: "setFeeCollector", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "aggregator", type: "address", }, { internalType: "uint256", name: "feeInL1Gas", type: "uint256", }, ], name: "setTxBaseFee", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; class ArbAggregator__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.ArbAggregator__factory = ArbAggregator__factory; ArbAggregator__factory.abi = _abi;