/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { BscBridgeHelper, BscBridgeHelperInterface, } from "../BscBridgeHelper"; const _abi = [ { inputs: [ { internalType: "contract IOmnibridge", name: "_bridge", type: "address", }, { internalType: "contract IWETH", name: "_weth", type: "address", }, { internalType: "address", name: "_owner", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address", }, { indexed: false, internalType: "bytes", name: "key", type: "bytes", }, ], name: "PublicKey", type: "event", }, { inputs: [], name: "WETH", outputs: [ { internalType: "contract IWETH", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "bridge", outputs: [ { internalType: "contract IOmnibridge", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_token", type: "address", }, { internalType: "address", name: "_to", type: "address", }, ], name: "claimTokens", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_token", type: "address", }, { internalType: "uint256", name: "_value", type: "uint256", }, { internalType: "bytes", name: "_data", type: "bytes", }, ], name: "onTokenBridged", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { components: [ { internalType: "address", name: "owner", type: "address", }, { internalType: "bytes", name: "publicKey", type: "bytes", }, ], internalType: "struct L1Helper.Account", name: "_account", type: "tuple", }, ], name: "register", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "wrapAndRelayTokens", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "address", name: "_receiver", type: "address", }, { internalType: "bytes", name: "_data", type: "bytes", }, ], name: "wrapAndRelayTokens", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "address", name: "_receiver", type: "address", }, { internalType: "bytes", name: "_data", type: "bytes", }, { components: [ { internalType: "address", name: "owner", type: "address", }, { internalType: "bytes", name: "publicKey", type: "bytes", }, ], internalType: "struct L1Helper.Account", name: "_account", type: "tuple", }, ], name: "wrapAndRelayTokens", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "address", name: "_receiver", type: "address", }, ], name: "wrapAndRelayTokens", outputs: [], stateMutability: "payable", type: "function", }, { stateMutability: "payable", type: "receive", }, ]; export class BscBridgeHelper__factory { static readonly abi = _abi; static createInterface(): BscBridgeHelperInterface { return new utils.Interface(_abi) as BscBridgeHelperInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): BscBridgeHelper { return new Contract(address, _abi, signerOrProvider) as BscBridgeHelper; } }