aave-protocol-v2/types/AToken.d.ts
2020-08-19 15:23:41 +03:00

1767 lines
43 KiB
TypeScript

/* Generated by ts-generator ver. 0.0.8 */
/* tslint:disable */
import {
ethers,
EventFilter,
Signer,
BigNumber,
BigNumberish,
PopulatedTransaction
} from "ethers";
import {
Contract,
ContractTransaction,
Overrides,
CallOverrides
} from "@ethersproject/contracts";
import { BytesLike } from "@ethersproject/bytes";
import { Listener, Provider } from "@ethersproject/providers";
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";
interface ATokenInterface extends ethers.utils.Interface {
functions: {
"ATOKEN_REVISION()": FunctionFragment;
"UINT_MAX_VALUE()": FunctionFragment;
"allowInterestRedirectionTo(address)": FunctionFragment;
"allowance(address,address)": FunctionFragment;
"approve(address,uint256)": FunctionFragment;
"balanceOf(address)": FunctionFragment;
"burnOnLiquidation(address,uint256)": FunctionFragment;
"decimals()": FunctionFragment;
"decreaseAllowance(address,uint256)": FunctionFragment;
"getInterestRedirectionAddress(address)": FunctionFragment;
"getRedirectedBalance(address)": FunctionFragment;
"getUserIndex(address)": FunctionFragment;
"increaseAllowance(address,uint256)": FunctionFragment;
"initialize(uint8,string,string)": FunctionFragment;
"isTransferAllowed(address,uint256)": FunctionFragment;
"mintOnDeposit(address,uint256)": FunctionFragment;
"name()": FunctionFragment;
"principalBalanceOf(address)": FunctionFragment;
"redeem(uint256)": FunctionFragment;
"redirectInterestStream(address)": FunctionFragment;
"redirectInterestStreamOf(address,address)": FunctionFragment;
"symbol()": FunctionFragment;
"totalSupply()": FunctionFragment;
"transfer(address,uint256)": FunctionFragment;
"transferFrom(address,address,uint256)": FunctionFragment;
"transferOnLiquidation(address,address,uint256)": FunctionFragment;
"transferUnderlyingTo(address,uint256)": FunctionFragment;
"underlyingAssetAddress()": FunctionFragment;
};
encodeFunctionData(
functionFragment: "ATOKEN_REVISION",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "UINT_MAX_VALUE",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "allowInterestRedirectionTo",
values: [string]
): string;
encodeFunctionData(
functionFragment: "allowance",
values: [string, string]
): string;
encodeFunctionData(
functionFragment: "approve",
values: [string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "balanceOf", values: [string]): string;
encodeFunctionData(
functionFragment: "burnOnLiquidation",
values: [string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
encodeFunctionData(
functionFragment: "decreaseAllowance",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "getInterestRedirectionAddress",
values: [string]
): string;
encodeFunctionData(
functionFragment: "getRedirectedBalance",
values: [string]
): string;
encodeFunctionData(
functionFragment: "getUserIndex",
values: [string]
): string;
encodeFunctionData(
functionFragment: "increaseAllowance",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "initialize",
values: [BigNumberish, string, string]
): string;
encodeFunctionData(
functionFragment: "isTransferAllowed",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "mintOnDeposit",
values: [string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "name", values?: undefined): string;
encodeFunctionData(
functionFragment: "principalBalanceOf",
values: [string]
): string;
encodeFunctionData(
functionFragment: "redeem",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "redirectInterestStream",
values: [string]
): string;
encodeFunctionData(
functionFragment: "redirectInterestStreamOf",
values: [string, string]
): string;
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
encodeFunctionData(
functionFragment: "totalSupply",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "transfer",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "transferFrom",
values: [string, string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "transferOnLiquidation",
values: [string, string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "transferUnderlyingTo",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "underlyingAssetAddress",
values?: undefined
): string;
decodeFunctionResult(
functionFragment: "ATOKEN_REVISION",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "UINT_MAX_VALUE",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "allowInterestRedirectionTo",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "burnOnLiquidation",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "decreaseAllowance",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getInterestRedirectionAddress",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getRedirectedBalance",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getUserIndex",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "increaseAllowance",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "isTransferAllowed",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "mintOnDeposit",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "principalBalanceOf",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "redeem", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "redirectInterestStream",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "redirectInterestStreamOf",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "totalSupply",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "transferFrom",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferOnLiquidation",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferUnderlyingTo",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "underlyingAssetAddress",
data: BytesLike
): Result;
events: {
"Approval(address,address,uint256)": EventFragment;
"BalanceTransfer(address,address,uint256,uint256,uint256,uint256,uint256)": EventFragment;
"BurnOnLiquidation(address,uint256,uint256,uint256)": EventFragment;
"InterestRedirectionAllowanceChanged(address,address)": EventFragment;
"InterestStreamRedirected(address,address,uint256,uint256,uint256)": EventFragment;
"MintOnDeposit(address,uint256,uint256,uint256)": EventFragment;
"Redeem(address,uint256,uint256,uint256)": EventFragment;
"RedirectedBalanceUpdated(address,uint256,uint256,uint256,uint256)": EventFragment;
"Transfer(address,address,uint256)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;
getEvent(nameOrSignatureOrTopic: "BalanceTransfer"): EventFragment;
getEvent(nameOrSignatureOrTopic: "BurnOnLiquidation"): EventFragment;
getEvent(
nameOrSignatureOrTopic: "InterestRedirectionAllowanceChanged"
): EventFragment;
getEvent(nameOrSignatureOrTopic: "InterestStreamRedirected"): EventFragment;
getEvent(nameOrSignatureOrTopic: "MintOnDeposit"): EventFragment;
getEvent(nameOrSignatureOrTopic: "Redeem"): EventFragment;
getEvent(nameOrSignatureOrTopic: "RedirectedBalanceUpdated"): EventFragment;
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
}
export class AToken extends Contract {
connect(signerOrProvider: Signer | Provider | string): this;
attach(addressOrName: string): this;
deployed(): Promise<this>;
on(event: EventFilter | string, listener: Listener): this;
once(event: EventFilter | string, listener: Listener): this;
addListener(eventName: EventFilter | string, listener: Listener): this;
removeAllListeners(eventName: EventFilter | string): this;
removeListener(eventName: any, listener: Listener): this;
interface: ATokenInterface;
functions: {
ATOKEN_REVISION(
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
"ATOKEN_REVISION()"(
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
UINT_MAX_VALUE(
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
"UINT_MAX_VALUE()"(
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
allowInterestRedirectionTo(
_to: string,
overrides?: Overrides
): Promise<ContractTransaction>;
"allowInterestRedirectionTo(address)"(
_to: string,
overrides?: Overrides
): Promise<ContractTransaction>;
allowance(
owner: string,
spender: string,
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
"allowance(address,address)"(
owner: string,
spender: string,
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
approve(
spender: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"approve(address,uint256)"(
spender: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
balanceOf(
_user: string,
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
"balanceOf(address)"(
_user: string,
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
burnOnLiquidation(
_account: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"burnOnLiquidation(address,uint256)"(
_account: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
decimals(
overrides?: CallOverrides
): Promise<{
0: number;
}>;
"decimals()"(
overrides?: CallOverrides
): Promise<{
0: number;
}>;
decreaseAllowance(
spender: string,
subtractedValue: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"decreaseAllowance(address,uint256)"(
spender: string,
subtractedValue: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
getInterestRedirectionAddress(
_user: string,
overrides?: CallOverrides
): Promise<{
0: string;
}>;
"getInterestRedirectionAddress(address)"(
_user: string,
overrides?: CallOverrides
): Promise<{
0: string;
}>;
getRedirectedBalance(
_user: string,
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
"getRedirectedBalance(address)"(
_user: string,
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
getUserIndex(
_user: string,
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
"getUserIndex(address)"(
_user: string,
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
increaseAllowance(
spender: string,
addedValue: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"increaseAllowance(address,uint256)"(
spender: string,
addedValue: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
initialize(
_underlyingAssetDecimals: BigNumberish,
_tokenName: string,
_tokenSymbol: string,
overrides?: Overrides
): Promise<ContractTransaction>;
"initialize(uint8,string,string)"(
_underlyingAssetDecimals: BigNumberish,
_tokenName: string,
_tokenSymbol: string,
overrides?: Overrides
): Promise<ContractTransaction>;
isTransferAllowed(
_user: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<{
0: boolean;
}>;
"isTransferAllowed(address,uint256)"(
_user: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<{
0: boolean;
}>;
mintOnDeposit(
_user: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"mintOnDeposit(address,uint256)"(
_user: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
name(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
"name()"(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
principalBalanceOf(
_user: string,
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
"principalBalanceOf(address)"(
_user: string,
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
redeem(
_amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"redeem(uint256)"(
_amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
redirectInterestStream(
_to: string,
overrides?: Overrides
): Promise<ContractTransaction>;
"redirectInterestStream(address)"(
_to: string,
overrides?: Overrides
): Promise<ContractTransaction>;
redirectInterestStreamOf(
_from: string,
_to: string,
overrides?: Overrides
): Promise<ContractTransaction>;
"redirectInterestStreamOf(address,address)"(
_from: string,
_to: string,
overrides?: Overrides
): Promise<ContractTransaction>;
symbol(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
"symbol()"(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
totalSupply(
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
"totalSupply()"(
overrides?: CallOverrides
): Promise<{
0: BigNumber;
}>;
transfer(
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"transfer(address,uint256)"(
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
transferFrom(
sender: string,
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"transferFrom(address,address,uint256)"(
sender: string,
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
transferOnLiquidation(
_from: string,
_to: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"transferOnLiquidation(address,address,uint256)"(
_from: string,
_to: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
transferUnderlyingTo(
_target: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"transferUnderlyingTo(address,uint256)"(
_target: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
underlyingAssetAddress(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
"underlyingAssetAddress()"(
overrides?: CallOverrides
): Promise<{
0: string;
}>;
};
ATOKEN_REVISION(overrides?: CallOverrides): Promise<BigNumber>;
"ATOKEN_REVISION()"(overrides?: CallOverrides): Promise<BigNumber>;
UINT_MAX_VALUE(overrides?: CallOverrides): Promise<BigNumber>;
"UINT_MAX_VALUE()"(overrides?: CallOverrides): Promise<BigNumber>;
allowInterestRedirectionTo(
_to: string,
overrides?: Overrides
): Promise<ContractTransaction>;
"allowInterestRedirectionTo(address)"(
_to: string,
overrides?: Overrides
): Promise<ContractTransaction>;
allowance(
owner: string,
spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
"allowance(address,address)"(
owner: string,
spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
approve(
spender: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"approve(address,uint256)"(
spender: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
balanceOf(_user: string, overrides?: CallOverrides): Promise<BigNumber>;
"balanceOf(address)"(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
burnOnLiquidation(
_account: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"burnOnLiquidation(address,uint256)"(
_account: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
decimals(overrides?: CallOverrides): Promise<number>;
"decimals()"(overrides?: CallOverrides): Promise<number>;
decreaseAllowance(
spender: string,
subtractedValue: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"decreaseAllowance(address,uint256)"(
spender: string,
subtractedValue: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
getInterestRedirectionAddress(
_user: string,
overrides?: CallOverrides
): Promise<string>;
"getInterestRedirectionAddress(address)"(
_user: string,
overrides?: CallOverrides
): Promise<string>;
getRedirectedBalance(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
"getRedirectedBalance(address)"(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
getUserIndex(_user: string, overrides?: CallOverrides): Promise<BigNumber>;
"getUserIndex(address)"(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
increaseAllowance(
spender: string,
addedValue: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"increaseAllowance(address,uint256)"(
spender: string,
addedValue: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
initialize(
_underlyingAssetDecimals: BigNumberish,
_tokenName: string,
_tokenSymbol: string,
overrides?: Overrides
): Promise<ContractTransaction>;
"initialize(uint8,string,string)"(
_underlyingAssetDecimals: BigNumberish,
_tokenName: string,
_tokenSymbol: string,
overrides?: Overrides
): Promise<ContractTransaction>;
isTransferAllowed(
_user: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
"isTransferAllowed(address,uint256)"(
_user: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
mintOnDeposit(
_user: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"mintOnDeposit(address,uint256)"(
_user: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
name(overrides?: CallOverrides): Promise<string>;
"name()"(overrides?: CallOverrides): Promise<string>;
principalBalanceOf(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
"principalBalanceOf(address)"(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
redeem(
_amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"redeem(uint256)"(
_amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
redirectInterestStream(
_to: string,
overrides?: Overrides
): Promise<ContractTransaction>;
"redirectInterestStream(address)"(
_to: string,
overrides?: Overrides
): Promise<ContractTransaction>;
redirectInterestStreamOf(
_from: string,
_to: string,
overrides?: Overrides
): Promise<ContractTransaction>;
"redirectInterestStreamOf(address,address)"(
_from: string,
_to: string,
overrides?: Overrides
): Promise<ContractTransaction>;
symbol(overrides?: CallOverrides): Promise<string>;
"symbol()"(overrides?: CallOverrides): Promise<string>;
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
"totalSupply()"(overrides?: CallOverrides): Promise<BigNumber>;
transfer(
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"transfer(address,uint256)"(
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
transferFrom(
sender: string,
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"transferFrom(address,address,uint256)"(
sender: string,
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
transferOnLiquidation(
_from: string,
_to: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"transferOnLiquidation(address,address,uint256)"(
_from: string,
_to: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
transferUnderlyingTo(
_target: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
"transferUnderlyingTo(address,uint256)"(
_target: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<ContractTransaction>;
underlyingAssetAddress(overrides?: CallOverrides): Promise<string>;
"underlyingAssetAddress()"(overrides?: CallOverrides): Promise<string>;
callStatic: {
ATOKEN_REVISION(overrides?: CallOverrides): Promise<BigNumber>;
"ATOKEN_REVISION()"(overrides?: CallOverrides): Promise<BigNumber>;
UINT_MAX_VALUE(overrides?: CallOverrides): Promise<BigNumber>;
"UINT_MAX_VALUE()"(overrides?: CallOverrides): Promise<BigNumber>;
allowInterestRedirectionTo(
_to: string,
overrides?: CallOverrides
): Promise<void>;
"allowInterestRedirectionTo(address)"(
_to: string,
overrides?: CallOverrides
): Promise<void>;
allowance(
owner: string,
spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
"allowance(address,address)"(
owner: string,
spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
approve(
spender: string,
amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
"approve(address,uint256)"(
spender: string,
amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
balanceOf(_user: string, overrides?: CallOverrides): Promise<BigNumber>;
"balanceOf(address)"(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
burnOnLiquidation(
_account: string,
_value: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
"burnOnLiquidation(address,uint256)"(
_account: string,
_value: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
decimals(overrides?: CallOverrides): Promise<number>;
"decimals()"(overrides?: CallOverrides): Promise<number>;
decreaseAllowance(
spender: string,
subtractedValue: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
"decreaseAllowance(address,uint256)"(
spender: string,
subtractedValue: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
getInterestRedirectionAddress(
_user: string,
overrides?: CallOverrides
): Promise<string>;
"getInterestRedirectionAddress(address)"(
_user: string,
overrides?: CallOverrides
): Promise<string>;
getRedirectedBalance(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
"getRedirectedBalance(address)"(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
getUserIndex(_user: string, overrides?: CallOverrides): Promise<BigNumber>;
"getUserIndex(address)"(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
increaseAllowance(
spender: string,
addedValue: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
"increaseAllowance(address,uint256)"(
spender: string,
addedValue: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
initialize(
_underlyingAssetDecimals: BigNumberish,
_tokenName: string,
_tokenSymbol: string,
overrides?: CallOverrides
): Promise<void>;
"initialize(uint8,string,string)"(
_underlyingAssetDecimals: BigNumberish,
_tokenName: string,
_tokenSymbol: string,
overrides?: CallOverrides
): Promise<void>;
isTransferAllowed(
_user: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
"isTransferAllowed(address,uint256)"(
_user: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
mintOnDeposit(
_user: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
"mintOnDeposit(address,uint256)"(
_user: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
name(overrides?: CallOverrides): Promise<string>;
"name()"(overrides?: CallOverrides): Promise<string>;
principalBalanceOf(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
"principalBalanceOf(address)"(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
redeem(_amount: BigNumberish, overrides?: CallOverrides): Promise<void>;
"redeem(uint256)"(
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
redirectInterestStream(
_to: string,
overrides?: CallOverrides
): Promise<void>;
"redirectInterestStream(address)"(
_to: string,
overrides?: CallOverrides
): Promise<void>;
redirectInterestStreamOf(
_from: string,
_to: string,
overrides?: CallOverrides
): Promise<void>;
"redirectInterestStreamOf(address,address)"(
_from: string,
_to: string,
overrides?: CallOverrides
): Promise<void>;
symbol(overrides?: CallOverrides): Promise<string>;
"symbol()"(overrides?: CallOverrides): Promise<string>;
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
"totalSupply()"(overrides?: CallOverrides): Promise<BigNumber>;
transfer(
recipient: string,
amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
"transfer(address,uint256)"(
recipient: string,
amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
transferFrom(
sender: string,
recipient: string,
amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
"transferFrom(address,address,uint256)"(
sender: string,
recipient: string,
amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
transferOnLiquidation(
_from: string,
_to: string,
_value: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
"transferOnLiquidation(address,address,uint256)"(
_from: string,
_to: string,
_value: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
transferUnderlyingTo(
_target: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
"transferUnderlyingTo(address,uint256)"(
_target: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
underlyingAssetAddress(overrides?: CallOverrides): Promise<string>;
"underlyingAssetAddress()"(overrides?: CallOverrides): Promise<string>;
};
filters: {
Approval(
owner: string | null,
spender: string | null,
value: null
): EventFilter;
BalanceTransfer(
_from: string | null,
_to: string | null,
_value: null,
_fromBalanceIncrease: null,
_toBalanceIncrease: null,
_fromIndex: null,
_toIndex: null
): EventFilter;
BurnOnLiquidation(
_from: string | null,
_value: null,
_fromBalanceIncrease: null,
_fromIndex: null
): EventFilter;
InterestRedirectionAllowanceChanged(
_from: string | null,
_to: string | null
): EventFilter;
InterestStreamRedirected(
_from: string | null,
_to: string | null,
_redirectedBalance: null,
_fromBalanceIncrease: null,
_fromIndex: null
): EventFilter;
MintOnDeposit(
_from: string | null,
_value: null,
_fromBalanceIncrease: null,
_fromIndex: null
): EventFilter;
Redeem(
_from: string | null,
_value: null,
_fromBalanceIncrease: null,
_fromIndex: null
): EventFilter;
RedirectedBalanceUpdated(
_targetAddress: string | null,
_targetBalanceIncrease: null,
_targetIndex: null,
_redirectedBalanceAdded: null,
_redirectedBalanceRemoved: null
): EventFilter;
Transfer(from: string | null, to: string | null, value: null): EventFilter;
};
estimateGas: {
ATOKEN_REVISION(overrides?: CallOverrides): Promise<BigNumber>;
"ATOKEN_REVISION()"(overrides?: CallOverrides): Promise<BigNumber>;
UINT_MAX_VALUE(overrides?: CallOverrides): Promise<BigNumber>;
"UINT_MAX_VALUE()"(overrides?: CallOverrides): Promise<BigNumber>;
allowInterestRedirectionTo(
_to: string,
overrides?: Overrides
): Promise<BigNumber>;
"allowInterestRedirectionTo(address)"(
_to: string,
overrides?: Overrides
): Promise<BigNumber>;
allowance(
owner: string,
spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
"allowance(address,address)"(
owner: string,
spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
approve(
spender: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
"approve(address,uint256)"(
spender: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
balanceOf(_user: string, overrides?: CallOverrides): Promise<BigNumber>;
"balanceOf(address)"(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
burnOnLiquidation(
_account: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
"burnOnLiquidation(address,uint256)"(
_account: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
decimals(overrides?: CallOverrides): Promise<BigNumber>;
"decimals()"(overrides?: CallOverrides): Promise<BigNumber>;
decreaseAllowance(
spender: string,
subtractedValue: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
"decreaseAllowance(address,uint256)"(
spender: string,
subtractedValue: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
getInterestRedirectionAddress(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
"getInterestRedirectionAddress(address)"(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
getRedirectedBalance(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
"getRedirectedBalance(address)"(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
getUserIndex(_user: string, overrides?: CallOverrides): Promise<BigNumber>;
"getUserIndex(address)"(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
increaseAllowance(
spender: string,
addedValue: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
"increaseAllowance(address,uint256)"(
spender: string,
addedValue: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
initialize(
_underlyingAssetDecimals: BigNumberish,
_tokenName: string,
_tokenSymbol: string,
overrides?: Overrides
): Promise<BigNumber>;
"initialize(uint8,string,string)"(
_underlyingAssetDecimals: BigNumberish,
_tokenName: string,
_tokenSymbol: string,
overrides?: Overrides
): Promise<BigNumber>;
isTransferAllowed(
_user: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
"isTransferAllowed(address,uint256)"(
_user: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
mintOnDeposit(
_user: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
"mintOnDeposit(address,uint256)"(
_user: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
name(overrides?: CallOverrides): Promise<BigNumber>;
"name()"(overrides?: CallOverrides): Promise<BigNumber>;
principalBalanceOf(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
"principalBalanceOf(address)"(
_user: string,
overrides?: CallOverrides
): Promise<BigNumber>;
redeem(_amount: BigNumberish, overrides?: Overrides): Promise<BigNumber>;
"redeem(uint256)"(
_amount: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
redirectInterestStream(
_to: string,
overrides?: Overrides
): Promise<BigNumber>;
"redirectInterestStream(address)"(
_to: string,
overrides?: Overrides
): Promise<BigNumber>;
redirectInterestStreamOf(
_from: string,
_to: string,
overrides?: Overrides
): Promise<BigNumber>;
"redirectInterestStreamOf(address,address)"(
_from: string,
_to: string,
overrides?: Overrides
): Promise<BigNumber>;
symbol(overrides?: CallOverrides): Promise<BigNumber>;
"symbol()"(overrides?: CallOverrides): Promise<BigNumber>;
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
"totalSupply()"(overrides?: CallOverrides): Promise<BigNumber>;
transfer(
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
"transfer(address,uint256)"(
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
transferFrom(
sender: string,
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
"transferFrom(address,address,uint256)"(
sender: string,
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
transferOnLiquidation(
_from: string,
_to: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
"transferOnLiquidation(address,address,uint256)"(
_from: string,
_to: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
transferUnderlyingTo(
_target: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
"transferUnderlyingTo(address,uint256)"(
_target: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<BigNumber>;
underlyingAssetAddress(overrides?: CallOverrides): Promise<BigNumber>;
"underlyingAssetAddress()"(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
ATOKEN_REVISION(overrides?: CallOverrides): Promise<PopulatedTransaction>;
"ATOKEN_REVISION()"(
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
UINT_MAX_VALUE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
"UINT_MAX_VALUE()"(
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
allowInterestRedirectionTo(
_to: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
"allowInterestRedirectionTo(address)"(
_to: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
allowance(
owner: string,
spender: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
"allowance(address,address)"(
owner: string,
spender: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
approve(
spender: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
"approve(address,uint256)"(
spender: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
balanceOf(
_user: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
"balanceOf(address)"(
_user: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
burnOnLiquidation(
_account: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
"burnOnLiquidation(address,uint256)"(
_account: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
decimals(overrides?: CallOverrides): Promise<PopulatedTransaction>;
"decimals()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;
decreaseAllowance(
spender: string,
subtractedValue: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
"decreaseAllowance(address,uint256)"(
spender: string,
subtractedValue: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
getInterestRedirectionAddress(
_user: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
"getInterestRedirectionAddress(address)"(
_user: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
getRedirectedBalance(
_user: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
"getRedirectedBalance(address)"(
_user: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
getUserIndex(
_user: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
"getUserIndex(address)"(
_user: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
increaseAllowance(
spender: string,
addedValue: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
"increaseAllowance(address,uint256)"(
spender: string,
addedValue: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
initialize(
_underlyingAssetDecimals: BigNumberish,
_tokenName: string,
_tokenSymbol: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
"initialize(uint8,string,string)"(
_underlyingAssetDecimals: BigNumberish,
_tokenName: string,
_tokenSymbol: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
isTransferAllowed(
_user: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
"isTransferAllowed(address,uint256)"(
_user: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
mintOnDeposit(
_user: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
"mintOnDeposit(address,uint256)"(
_user: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
name(overrides?: CallOverrides): Promise<PopulatedTransaction>;
"name()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;
principalBalanceOf(
_user: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
"principalBalanceOf(address)"(
_user: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
redeem(
_amount: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
"redeem(uint256)"(
_amount: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
redirectInterestStream(
_to: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
"redirectInterestStream(address)"(
_to: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
redirectInterestStreamOf(
_from: string,
_to: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
"redirectInterestStreamOf(address,address)"(
_from: string,
_to: string,
overrides?: Overrides
): Promise<PopulatedTransaction>;
symbol(overrides?: CallOverrides): Promise<PopulatedTransaction>;
"symbol()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;
totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;
"totalSupply()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;
transfer(
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
"transfer(address,uint256)"(
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
transferFrom(
sender: string,
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
"transferFrom(address,address,uint256)"(
sender: string,
recipient: string,
amount: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
transferOnLiquidation(
_from: string,
_to: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
"transferOnLiquidation(address,address,uint256)"(
_from: string,
_to: string,
_value: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
transferUnderlyingTo(
_target: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
"transferUnderlyingTo(address,uint256)"(
_target: string,
_amount: BigNumberish,
overrides?: Overrides
): Promise<PopulatedTransaction>;
underlyingAssetAddress(
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
"underlyingAssetAddress()"(
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}