mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
257 lines
6.2 KiB
TypeScript
257 lines
6.2 KiB
TypeScript
/* 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 Erc20BurnableInterface extends Interface {
|
|
functions: {
|
|
allowance: TypedFunctionDescription<{
|
|
encode([owner, spender]: [string, string]): string;
|
|
}>;
|
|
|
|
approve: TypedFunctionDescription<{
|
|
encode([spender, amount]: [string, BigNumberish]): string;
|
|
}>;
|
|
|
|
balanceOf: TypedFunctionDescription<{
|
|
encode([account]: [string]): string;
|
|
}>;
|
|
|
|
burn: TypedFunctionDescription<{
|
|
encode([amount]: [BigNumberish]): string;
|
|
}>;
|
|
|
|
burnFrom: TypedFunctionDescription<{
|
|
encode([account, amount]: [string, BigNumberish]): string;
|
|
}>;
|
|
|
|
decimals: TypedFunctionDescription<{ encode([]: []): string }>;
|
|
|
|
decreaseAllowance: TypedFunctionDescription<{
|
|
encode([spender, subtractedValue]: [string, BigNumberish]): string;
|
|
}>;
|
|
|
|
increaseAllowance: TypedFunctionDescription<{
|
|
encode([spender, addedValue]: [string, BigNumberish]): string;
|
|
}>;
|
|
|
|
name: TypedFunctionDescription<{ encode([]: []): string }>;
|
|
|
|
symbol: TypedFunctionDescription<{ encode([]: []): string }>;
|
|
|
|
totalSupply: TypedFunctionDescription<{ encode([]: []): string }>;
|
|
|
|
transfer: TypedFunctionDescription<{
|
|
encode([recipient, amount]: [string, BigNumberish]): string;
|
|
}>;
|
|
|
|
transferFrom: TypedFunctionDescription<{
|
|
encode([sender, recipient, amount]: [
|
|
string,
|
|
string,
|
|
BigNumberish
|
|
]): string;
|
|
}>;
|
|
};
|
|
|
|
events: {
|
|
Approval: TypedEventDescription<{
|
|
encodeTopics([owner, spender, value]: [
|
|
string | null,
|
|
string | null,
|
|
null
|
|
]): string[];
|
|
}>;
|
|
|
|
Transfer: TypedEventDescription<{
|
|
encodeTopics([from, to, value]: [
|
|
string | null,
|
|
string | null,
|
|
null
|
|
]): string[];
|
|
}>;
|
|
};
|
|
}
|
|
|
|
export class Erc20Burnable extends Contract {
|
|
connect(signerOrProvider: Signer | Provider | string): Erc20Burnable;
|
|
attach(addressOrName: string): Erc20Burnable;
|
|
deployed(): Promise<Erc20Burnable>;
|
|
|
|
on(event: EventFilter | string, listener: Listener): Erc20Burnable;
|
|
once(event: EventFilter | string, listener: Listener): Erc20Burnable;
|
|
addListener(
|
|
eventName: EventFilter | string,
|
|
listener: Listener
|
|
): Erc20Burnable;
|
|
removeAllListeners(eventName: EventFilter | string): Erc20Burnable;
|
|
removeListener(eventName: any, listener: Listener): Erc20Burnable;
|
|
|
|
interface: Erc20BurnableInterface;
|
|
|
|
functions: {
|
|
allowance(owner: string, spender: string): Promise<BigNumber>;
|
|
|
|
approve(
|
|
spender: string,
|
|
amount: BigNumberish,
|
|
overrides?: TransactionOverrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
balanceOf(account: string): Promise<BigNumber>;
|
|
|
|
burn(
|
|
amount: BigNumberish,
|
|
overrides?: TransactionOverrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
burnFrom(
|
|
account: string,
|
|
amount: BigNumberish,
|
|
overrides?: TransactionOverrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
decimals(): Promise<number>;
|
|
|
|
decreaseAllowance(
|
|
spender: string,
|
|
subtractedValue: BigNumberish,
|
|
overrides?: TransactionOverrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
increaseAllowance(
|
|
spender: string,
|
|
addedValue: BigNumberish,
|
|
overrides?: TransactionOverrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
name(): Promise<string>;
|
|
|
|
symbol(): Promise<string>;
|
|
|
|
totalSupply(): Promise<BigNumber>;
|
|
|
|
transfer(
|
|
recipient: string,
|
|
amount: BigNumberish,
|
|
overrides?: TransactionOverrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
transferFrom(
|
|
sender: string,
|
|
recipient: string,
|
|
amount: BigNumberish,
|
|
overrides?: TransactionOverrides
|
|
): Promise<ContractTransaction>;
|
|
};
|
|
|
|
allowance(owner: string, spender: string): Promise<BigNumber>;
|
|
|
|
approve(
|
|
spender: string,
|
|
amount: BigNumberish,
|
|
overrides?: TransactionOverrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
balanceOf(account: string): Promise<BigNumber>;
|
|
|
|
burn(
|
|
amount: BigNumberish,
|
|
overrides?: TransactionOverrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
burnFrom(
|
|
account: string,
|
|
amount: BigNumberish,
|
|
overrides?: TransactionOverrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
decimals(): Promise<number>;
|
|
|
|
decreaseAllowance(
|
|
spender: string,
|
|
subtractedValue: BigNumberish,
|
|
overrides?: TransactionOverrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
increaseAllowance(
|
|
spender: string,
|
|
addedValue: BigNumberish,
|
|
overrides?: TransactionOverrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
name(): Promise<string>;
|
|
|
|
symbol(): Promise<string>;
|
|
|
|
totalSupply(): Promise<BigNumber>;
|
|
|
|
transfer(
|
|
recipient: string,
|
|
amount: BigNumberish,
|
|
overrides?: TransactionOverrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
transferFrom(
|
|
sender: string,
|
|
recipient: string,
|
|
amount: BigNumberish,
|
|
overrides?: TransactionOverrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
filters: {
|
|
Approval(
|
|
owner: string | null,
|
|
spender: string | null,
|
|
value: null
|
|
): EventFilter;
|
|
|
|
Transfer(from: string | null, to: string | null, value: null): EventFilter;
|
|
};
|
|
|
|
estimate: {
|
|
allowance(owner: string, spender: string): Promise<BigNumber>;
|
|
|
|
approve(spender: string, amount: BigNumberish): Promise<BigNumber>;
|
|
|
|
balanceOf(account: string): Promise<BigNumber>;
|
|
|
|
burn(amount: BigNumberish): Promise<BigNumber>;
|
|
|
|
burnFrom(account: string, amount: BigNumberish): Promise<BigNumber>;
|
|
|
|
decimals(): Promise<BigNumber>;
|
|
|
|
decreaseAllowance(
|
|
spender: string,
|
|
subtractedValue: BigNumberish
|
|
): Promise<BigNumber>;
|
|
|
|
increaseAllowance(
|
|
spender: string,
|
|
addedValue: BigNumberish
|
|
): Promise<BigNumber>;
|
|
|
|
name(): Promise<BigNumber>;
|
|
|
|
symbol(): Promise<BigNumber>;
|
|
|
|
totalSupply(): Promise<BigNumber>;
|
|
|
|
transfer(recipient: string, amount: BigNumberish): Promise<BigNumber>;
|
|
|
|
transferFrom(
|
|
sender: string,
|
|
recipient: string,
|
|
amount: BigNumberish
|
|
): Promise<BigNumber>;
|
|
};
|
|
}
|