aave-protocol-v2/types/IVariableDebtTokenFactory.ts

75 lines
1.4 KiB
TypeScript
Raw Normal View History

2020-06-30 12:09:28 +00:00
/* Generated by ts-generator ver. 0.0.8 */
/* tslint:disable */
import { Contract, Signer } from "ethers";
import { Provider } from "ethers/providers";
import { IVariableDebtToken } from "./IVariableDebtToken";
export class IVariableDebtTokenFactory {
static connect(
address: string,
signerOrProvider: Signer | Provider
): IVariableDebtToken {
return new Contract(address, _abi, signerOrProvider) as IVariableDebtToken;
}
}
const _abi = [
{
inputs: [
{
internalType: "address",
name: "_user",
2020-06-30 12:09:28 +00:00
type: "address"
},
{
internalType: "uint256",
name: "_amount",
type: "uint256"
}
],
name: "burn",
outputs: [],
stateMutability: "nonpayable",
type: "function"
},
2020-07-03 21:20:02 +00:00
{
inputs: [
{
internalType: "address",
name: "_user",
2020-07-03 21:20:02 +00:00
type: "address"
}
],
name: "getUserIndex",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256"
}
],
stateMutability: "view",
type: "function"
},
2020-06-30 12:09:28 +00:00
{
inputs: [
{
internalType: "address",
name: "_user",
2020-06-30 12:09:28 +00:00
type: "address"
},
{
internalType: "uint256",
name: "_amount",
2020-06-30 12:09:28 +00:00
type: "uint256"
}
],
name: "mint",
outputs: [],
stateMutability: "nonpayable",
type: "function"
}
];