2020-06-30 12:09:28 +00:00
|
|
|
/* Generated by ts-generator ver. 0.0.8 */
|
|
|
|
/* tslint:disable */
|
|
|
|
|
|
|
|
import { Contract, ContractTransaction, EventFilter, Signer } from "ethers";
|
|
|
|
import { Listener, Provider } from "ethers/providers";
|
|
|
|
import { Arrayish, BigNumber, BigNumberish, Interface } from "ethers/utils";
|
|
|
|
import {
|
|
|
|
TransactionOverrides,
|
|
|
|
TypedEventDescription,
|
|
|
|
TypedFunctionDescription
|
|
|
|
} from ".";
|
|
|
|
|
|
|
|
interface IVariableDebtTokenInterface extends Interface {
|
|
|
|
functions: {
|
|
|
|
burn: TypedFunctionDescription<{
|
2020-07-09 14:27:19 +00:00
|
|
|
encode([_user, _amount]: [string, BigNumberish]): string;
|
2020-06-30 12:09:28 +00:00
|
|
|
}>;
|
|
|
|
|
2020-07-03 21:20:02 +00:00
|
|
|
getUserIndex: TypedFunctionDescription<{
|
2020-07-09 14:27:19 +00:00
|
|
|
encode([_user]: [string]): string;
|
2020-07-03 21:20:02 +00:00
|
|
|
}>;
|
|
|
|
|
2020-06-30 12:09:28 +00:00
|
|
|
mint: TypedFunctionDescription<{
|
2020-07-09 14:27:19 +00:00
|
|
|
encode([_user, _amount]: [string, BigNumberish]): string;
|
2020-06-30 12:09:28 +00:00
|
|
|
}>;
|
|
|
|
};
|
|
|
|
|
|
|
|
events: {};
|
|
|
|
}
|
|
|
|
|
|
|
|
export class IVariableDebtToken extends Contract {
|
|
|
|
connect(signerOrProvider: Signer | Provider | string): IVariableDebtToken;
|
|
|
|
attach(addressOrName: string): IVariableDebtToken;
|
|
|
|
deployed(): Promise<IVariableDebtToken>;
|
|
|
|
|
|
|
|
on(event: EventFilter | string, listener: Listener): IVariableDebtToken;
|
|
|
|
once(event: EventFilter | string, listener: Listener): IVariableDebtToken;
|
|
|
|
addListener(
|
|
|
|
eventName: EventFilter | string,
|
|
|
|
listener: Listener
|
|
|
|
): IVariableDebtToken;
|
|
|
|
removeAllListeners(eventName: EventFilter | string): IVariableDebtToken;
|
|
|
|
removeListener(eventName: any, listener: Listener): IVariableDebtToken;
|
|
|
|
|
|
|
|
interface: IVariableDebtTokenInterface;
|
|
|
|
|
|
|
|
functions: {
|
|
|
|
burn(
|
2020-07-09 14:27:19 +00:00
|
|
|
_user: string,
|
2020-06-30 12:09:28 +00:00
|
|
|
_amount: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
2020-07-09 14:27:19 +00:00
|
|
|
getUserIndex(_user: string): Promise<BigNumber>;
|
2020-07-03 21:20:02 +00:00
|
|
|
|
2020-06-30 12:09:28 +00:00
|
|
|
mint(
|
2020-07-09 14:27:19 +00:00
|
|
|
_user: string,
|
|
|
|
_amount: BigNumberish,
|
2020-06-30 12:09:28 +00:00
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
};
|
|
|
|
|
|
|
|
burn(
|
2020-07-09 14:27:19 +00:00
|
|
|
_user: string,
|
2020-06-30 12:09:28 +00:00
|
|
|
_amount: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
2020-07-09 14:27:19 +00:00
|
|
|
getUserIndex(_user: string): Promise<BigNumber>;
|
2020-07-03 21:20:02 +00:00
|
|
|
|
2020-06-30 12:09:28 +00:00
|
|
|
mint(
|
2020-07-09 14:27:19 +00:00
|
|
|
_user: string,
|
|
|
|
_amount: BigNumberish,
|
2020-06-30 12:09:28 +00:00
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
filters: {};
|
|
|
|
|
|
|
|
estimate: {
|
2020-07-09 14:27:19 +00:00
|
|
|
burn(_user: string, _amount: BigNumberish): Promise<BigNumber>;
|
2020-06-30 12:09:28 +00:00
|
|
|
|
2020-07-09 14:27:19 +00:00
|
|
|
getUserIndex(_user: string): Promise<BigNumber>;
|
2020-07-03 21:20:02 +00:00
|
|
|
|
2020-07-09 14:27:19 +00:00
|
|
|
mint(_user: string, _amount: BigNumberish): Promise<BigNumber>;
|
2020-06-30 12:09:28 +00:00
|
|
|
};
|
|
|
|
}
|