@augmentedfinance/protocol-v1
Version:
Augmented Protocol smart contracts
100 lines • 2.65 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IBalanceHookFactory = void 0;
const ethers_1 = require("ethers");
class IBalanceHookFactory {
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IBalanceHookFactory = IBalanceHookFactory;
const _abi = [
{
inputs: [
{
internalType: "address",
name: "token",
type: "address",
},
{
internalType: "address",
name: "holder",
type: "address",
},
{
internalType: "uint256",
name: "oldBalance",
type: "uint256",
},
{
internalType: "uint256",
name: "newBalance",
type: "uint256",
},
{
internalType: "uint256",
name: "providerSupply",
type: "uint256",
},
],
name: "handleBalanceUpdate",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "token",
type: "address",
},
{
internalType: "address",
name: "holder",
type: "address",
},
{
internalType: "uint256",
name: "oldBalance",
type: "uint256",
},
{
internalType: "uint256",
name: "newBalance",
type: "uint256",
},
{
internalType: "uint256",
name: "providerSupply",
type: "uint256",
},
{
internalType: "uint256",
name: "scaleRay",
type: "uint256",
},
],
name: "handleScaledBalanceUpdate",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "isScaledBalanceUpdateNeeded",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
];
//# sourceMappingURL=IBalanceHookFactory.js.map