/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; import { Provider, TransactionRequest } from "@ethersproject/providers"; import type { AssetLogic, AssetLogicInterface } from "../AssetLogic"; const _abi = [ { inputs: [], name: "AssetLogic__getConfig_notRegistered", type: "error", }, { inputs: [], name: "AssetLogic__getTokenIndexFromStableSwapPool_notExist", type: "error", }, { inputs: [], name: "AssetLogic__handleIncomingAsset_feeOnTransferNotSupported", type: "error", }, { inputs: [], name: "AssetLogic__handleIncomingAsset_nativeAssetNotSupported", type: "error", }, { inputs: [], name: "AssetLogic__handleOutgoingAsset_notNative", type: "error", }, { inputs: [], name: "AssetLogic__swapAsset_externalStableSwapPoolDoesNotExist", type: "error", }, ]; const _bytecode = "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a308637350ea3051c4aec0daff55569551361be4e979421eff6819f130e68b8f64736f6c63430008110033"; type AssetLogicConstructorParams = | [signer?: Signer] | ConstructorParameters; const isSuperArgs = ( xs: AssetLogicConstructorParams ): xs is ConstructorParameters => xs.length > 1; export class AssetLogic__factory extends ContractFactory { constructor(...args: AssetLogicConstructorParams) { if (isSuperArgs(args)) { super(...args); } else { super(_abi, _bytecode, args[0]); } } deploy( overrides?: Overrides & { from?: string | Promise } ): Promise { return super.deploy(overrides || {}) as Promise; } getDeployTransaction( overrides?: Overrides & { from?: string | Promise } ): TransactionRequest { return super.getDeployTransaction(overrides || {}); } attach(address: string): AssetLogic { return super.attach(address) as AssetLogic; } connect(signer: Signer): AssetLogic__factory { return super.connect(signer) as AssetLogic__factory; } static readonly bytecode = _bytecode; static readonly abi = _abi; static createInterface(): AssetLogicInterface { return new utils.Interface(_abi) as AssetLogicInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): AssetLogic { return new Contract(address, _abi, signerOrProvider) as AssetLogic; } }