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