UNPKG

@q-dev/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

170 lines 4.12 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.CompoundRateKeeper__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [], stateMutability: "nonpayable", type: "constructor", }, { inputs: [], name: "compoundRate", outputs: [ { internalType: "uint256", name: "rate", type: "uint256", }, { internalType: "uint256", name: "lastUpdate", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_interestRate", type: "uint256", }, ], name: "update", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_oldAmount", type: "uint256", }, { internalType: "uint256", name: "_distributable", type: "uint256", }, ], name: "updateWithDistributableAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "getCurrentRate", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getLastUpdate", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_to", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_targetAmount", type: "uint256", }, ], name: "normalizeAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "_normalizedAmount", type: "uint256", }, ], name: "denormalizeAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, ]; class CompoundRateKeeper__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.CompoundRateKeeper__factory = CompoundRateKeeper__factory; CompoundRateKeeper__factory.abi = _abi; //# sourceMappingURL=CompoundRateKeeper__factory.js.map