UNPKG

@orionprotocol/contracts

Version:
173 lines (172 loc) 4.21 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.LiquidityMigrator__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address", }, { indexed: true, internalType: "address", name: "newOwner", type: "address", }, ], name: "OwnershipTransferred", type: "event", }, { inputs: [], name: "WETH9", outputs: [ { internalType: "contract IWETH9", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "exchange", outputs: [ { internalType: "contract IExchangeWithAtomic", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address", }, ], name: "exchangeAllowances", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_exchange", type: "address", }, { internalType: "address", name: "_WETH9", type: "address", }, ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "pairAddress", type: "address", }, { internalType: "uint256", name: "tokensToMigrate", type: "uint256", }, { internalType: "bytes32", name: "secretHash0", type: "bytes32", }, { internalType: "bytes32", name: "secretHash1", type: "bytes32", }, { internalType: "uint64", name: "expiration", type: "uint64", }, { internalType: "uint24", name: "targetChainId", type: "uint24", }, ], name: "migrate", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; class LiquidityMigrator__factory { static createInterface() { return new ethers_1.Interface(_abi); } static connect(address, runner) { return new ethers_1.Contract(address, _abi, runner); } } LiquidityMigrator__factory.abi = _abi; exports.LiquidityMigrator__factory = LiquidityMigrator__factory;