@q-dev/q-js-sdk
Version:
Typescript Library to interact with Q System Contracts
168 lines • 3.95 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IMutableFxPriceFeed__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
{
inputs: [],
name: "baseTokenAddr",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "decimalPlaces",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "exchangeRate",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "getMaintainers",
outputs: [
{
internalType: "address[]",
name: "",
type: "address[]",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "pair",
outputs: [
{
internalType: "string",
name: "",
type: "string",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "pricingTime",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "quoteTokenAddr",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "updateTime",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_maintainer",
type: "address",
},
],
name: "setMaintainer",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "leaveMaintainers",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint256",
name: "_exrate",
type: "uint256",
},
{
internalType: "uint256",
name: "_pricingTime",
type: "uint256",
},
],
name: "setExchangeRate",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "nonpayable",
type: "function",
},
];
class IMutableFxPriceFeed__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IMutableFxPriceFeed__factory = IMutableFxPriceFeed__factory;
IMutableFxPriceFeed__factory.abi = _abi;
//# sourceMappingURL=IMutableFxPriceFeed__factory.js.map