UNPKG

@arbitrum/sdk

Version:

Typescript library client-side interactions with Arbitrum

59 lines (58 loc) 1.62 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.IL1CustomGateway__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [ { internalType: "address", name: "_l2Address", type: "address", }, { internalType: "uint256", name: "_maxGas", type: "uint256", }, { internalType: "uint256", name: "_gasPriceBid", type: "uint256", }, { internalType: "uint256", name: "_maxSubmissionCost", type: "uint256", }, { internalType: "address", name: "_creditBackAddress", type: "address", }, ], name: "registerTokenToL2", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "payable", type: "function", }, ]; class IL1CustomGateway__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.IL1CustomGateway__factory = IL1CustomGateway__factory; IL1CustomGateway__factory.abi = _abi;