aave-protocol-v2/types/IVariableDebtToken.d.ts

87 lines
2.3 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, 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<{
encode([_account, _amount]: [string, BigNumberish]): string;
}>;
2020-07-03 21:20:02 +00:00
getUserIndex: TypedFunctionDescription<{
encode([_account]: [string]): string;
}>;
2020-06-30 12:09:28 +00:00
mint: TypedFunctionDescription<{
encode([account, amount]: [string, BigNumberish]): string;
}>;
};
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(
_account: string,
_amount: BigNumberish,
overrides?: TransactionOverrides
): Promise<ContractTransaction>;
2020-07-03 21:20:02 +00:00
getUserIndex(_account: string): Promise<BigNumber>;
2020-06-30 12:09:28 +00:00
mint(
account: string,
amount: BigNumberish,
overrides?: TransactionOverrides
): Promise<ContractTransaction>;
};
burn(
_account: string,
_amount: BigNumberish,
overrides?: TransactionOverrides
): Promise<ContractTransaction>;
2020-07-03 21:20:02 +00:00
getUserIndex(_account: string): Promise<BigNumber>;
2020-06-30 12:09:28 +00:00
mint(
account: string,
amount: BigNumberish,
overrides?: TransactionOverrides
): Promise<ContractTransaction>;
filters: {};
estimate: {
burn(_account: string, _amount: BigNumberish): Promise<BigNumber>;
2020-07-03 21:20:02 +00:00
getUserIndex(_account: string): Promise<BigNumber>;
2020-06-30 12:09:28 +00:00
mint(account: string, amount: BigNumberish): Promise<BigNumber>;
};
}