UNPKG

@orionprotocol/contracts

Version:
218 lines (217 loc) 5.23 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.OrionToLumiaConverter__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [ { internalType: "address", name: "_owner", type: "address", }, { internalType: "contract IERC20", name: "_orion", type: "address", }, { internalType: "contract IERC20", name: "_lumia", type: "address", }, { internalType: "uint256", name: "_conversionScaleFactor", type: "uint256", }, ], stateMutability: "nonpayable", type: "constructor", }, { inputs: [], name: "ConversionDisabled", type: "error", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address", }, { indexed: false, internalType: "uint256", name: "ornAmount", type: "uint256", }, { indexed: false, internalType: "uint256", name: "lumiaAmount", type: "uint256", }, ], name: "Convert", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address", }, { indexed: true, internalType: "address", name: "newOwner", type: "address", }, ], name: "OwnershipTransferred", type: "event", }, { inputs: [ { internalType: "address", name: "burnAddress", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "conversionScaleFactor", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "ornAmount", type: "uint256", }, ], name: "convert", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "isConversionEnabled", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "lumia", outputs: [ { internalType: "contract IERC20", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "orion", outputs: [ { internalType: "contract IERC20", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "toggleIsConversionEnabled", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; class OrionToLumiaConverter__factory { static createInterface() { return new ethers_1.Interface(_abi); } static connect(address, runner) { return new ethers_1.Contract(address, _abi, runner); } } OrionToLumiaConverter__factory.abi = _abi; exports.OrionToLumiaConverter__factory = OrionToLumiaConverter__factory;