2020-06-03 10:23:21 +00:00
|
|
|
/* Generated by ts-generator ver. 0.0.8 */
|
|
|
|
/* tslint:disable */
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
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 ".";
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
interface ATokenInterface extends Interface {
|
|
|
|
functions: {
|
2020-08-07 17:29:13 +00:00
|
|
|
ATOKEN_REVISION: TypedFunctionDescription<{ encode([]: []): string }>;
|
|
|
|
|
|
|
|
UINT_MAX_VALUE: TypedFunctionDescription<{ encode([]: []): string }>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
allowInterestRedirectionTo: TypedFunctionDescription<{
|
|
|
|
encode([_to]: [string]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
allowance: TypedFunctionDescription<{
|
|
|
|
encode([owner, spender]: [string, string]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
approve: TypedFunctionDescription<{
|
|
|
|
encode([spender, amount]: [string, BigNumberish]): string;
|
|
|
|
}>;
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
balanceOf: TypedFunctionDescription<{ encode([_user]: [string]): string }>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
burnOnLiquidation: TypedFunctionDescription<{
|
|
|
|
encode([_account, _value]: [string, BigNumberish]): string;
|
|
|
|
}>;
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
decimals: TypedFunctionDescription<{ encode([]: []): string }>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
decreaseAllowance: TypedFunctionDescription<{
|
|
|
|
encode([spender, subtractedValue]: [string, BigNumberish]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
getInterestRedirectionAddress: TypedFunctionDescription<{
|
|
|
|
encode([_user]: [string]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
getRedirectedBalance: TypedFunctionDescription<{
|
|
|
|
encode([_user]: [string]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
getUserIndex: TypedFunctionDescription<{
|
|
|
|
encode([_user]: [string]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
increaseAllowance: TypedFunctionDescription<{
|
|
|
|
encode([spender, addedValue]: [string, BigNumberish]): string;
|
|
|
|
}>;
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
initialize: TypedFunctionDescription<{
|
|
|
|
encode([
|
|
|
|
_addressesProvider,
|
|
|
|
_underlyingAsset,
|
|
|
|
_underlyingAssetDecimals,
|
|
|
|
_tokenName,
|
|
|
|
_tokenSymbol
|
|
|
|
]: [string, string, BigNumberish, string, string]): string;
|
|
|
|
}>;
|
|
|
|
|
2020-06-03 10:23:21 +00:00
|
|
|
isTransferAllowed: TypedFunctionDescription<{
|
|
|
|
encode([_user, _amount]: [string, BigNumberish]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
mintOnDeposit: TypedFunctionDescription<{
|
|
|
|
encode([_account, _amount]: [string, BigNumberish]): string;
|
|
|
|
}>;
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
name: TypedFunctionDescription<{ encode([]: []): string }>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
principalBalanceOf: TypedFunctionDescription<{
|
|
|
|
encode([_user]: [string]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
redeem: TypedFunctionDescription<{
|
|
|
|
encode([_amount]: [BigNumberish]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
redirectInterestStream: TypedFunctionDescription<{
|
|
|
|
encode([_to]: [string]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
redirectInterestStreamOf: TypedFunctionDescription<{
|
|
|
|
encode([_from, _to]: [string, string]): string;
|
|
|
|
}>;
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
symbol: TypedFunctionDescription<{ encode([]: []): string }>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
totalSupply: TypedFunctionDescription<{ encode([]: []): string }>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
transfer: TypedFunctionDescription<{
|
|
|
|
encode([recipient, amount]: [string, BigNumberish]): string;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
transferFrom: TypedFunctionDescription<{
|
2020-08-07 17:29:13 +00:00
|
|
|
encode([sender, recipient, amount]: [
|
|
|
|
string,
|
|
|
|
string,
|
|
|
|
BigNumberish
|
|
|
|
]): string;
|
2020-06-03 10:23:21 +00:00
|
|
|
}>;
|
|
|
|
|
|
|
|
transferOnLiquidation: TypedFunctionDescription<{
|
|
|
|
encode([_from, _to, _value]: [string, string, BigNumberish]): string;
|
|
|
|
}>;
|
|
|
|
|
2020-07-23 15:18:06 +00:00
|
|
|
transferUnderlyingTo: TypedFunctionDescription<{
|
|
|
|
encode([_target, _amount]: [string, BigNumberish]): string;
|
|
|
|
}>;
|
|
|
|
|
2020-06-03 10:23:21 +00:00
|
|
|
underlyingAssetAddress: TypedFunctionDescription<{
|
|
|
|
encode([]: []): string;
|
|
|
|
}>;
|
|
|
|
};
|
|
|
|
|
|
|
|
events: {
|
|
|
|
Approval: TypedEventDescription<{
|
2020-08-07 17:29:13 +00:00
|
|
|
encodeTopics([owner, spender, value]: [
|
|
|
|
string | null,
|
|
|
|
string | null,
|
|
|
|
null
|
|
|
|
]): string[];
|
2020-06-03 10:23:21 +00:00
|
|
|
}>;
|
|
|
|
|
|
|
|
BalanceTransfer: TypedEventDescription<{
|
|
|
|
encodeTopics([
|
|
|
|
_from,
|
|
|
|
_to,
|
|
|
|
_value,
|
|
|
|
_fromBalanceIncrease,
|
|
|
|
_toBalanceIncrease,
|
|
|
|
_fromIndex,
|
2020-08-07 17:29:13 +00:00
|
|
|
_toIndex
|
|
|
|
]: [
|
|
|
|
string | null,
|
|
|
|
string | null,
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
null
|
|
|
|
]): string[];
|
2020-06-03 10:23:21 +00:00
|
|
|
}>;
|
|
|
|
|
|
|
|
BurnOnLiquidation: TypedEventDescription<{
|
|
|
|
encodeTopics([_from, _value, _fromBalanceIncrease, _fromIndex]: [
|
|
|
|
string | null,
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
null
|
|
|
|
]): string[];
|
|
|
|
}>;
|
|
|
|
|
|
|
|
InterestRedirectionAllowanceChanged: TypedEventDescription<{
|
|
|
|
encodeTopics([_from, _to]: [string | null, string | null]): string[];
|
|
|
|
}>;
|
|
|
|
|
|
|
|
InterestStreamRedirected: TypedEventDescription<{
|
2020-08-07 17:29:13 +00:00
|
|
|
encodeTopics([
|
|
|
|
_from,
|
|
|
|
_to,
|
|
|
|
_redirectedBalance,
|
|
|
|
_fromBalanceIncrease,
|
|
|
|
_fromIndex
|
|
|
|
]: [string | null, string | null, null, null, null]): string[];
|
2020-06-03 10:23:21 +00:00
|
|
|
}>;
|
|
|
|
|
|
|
|
MintOnDeposit: TypedEventDescription<{
|
|
|
|
encodeTopics([_from, _value, _fromBalanceIncrease, _fromIndex]: [
|
|
|
|
string | null,
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
null
|
|
|
|
]): string[];
|
|
|
|
}>;
|
|
|
|
|
|
|
|
Redeem: TypedEventDescription<{
|
|
|
|
encodeTopics([_from, _value, _fromBalanceIncrease, _fromIndex]: [
|
|
|
|
string | null,
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
null
|
|
|
|
]): string[];
|
|
|
|
}>;
|
|
|
|
|
|
|
|
RedirectedBalanceUpdated: TypedEventDescription<{
|
|
|
|
encodeTopics([
|
|
|
|
_targetAddress,
|
|
|
|
_targetBalanceIncrease,
|
|
|
|
_targetIndex,
|
|
|
|
_redirectedBalanceAdded,
|
2020-08-07 17:29:13 +00:00
|
|
|
_redirectedBalanceRemoved
|
2020-06-03 10:23:21 +00:00
|
|
|
]: [string | null, null, null, null, null]): string[];
|
|
|
|
}>;
|
|
|
|
|
|
|
|
Transfer: TypedEventDescription<{
|
2020-08-07 17:29:13 +00:00
|
|
|
encodeTopics([from, to, value]: [
|
|
|
|
string | null,
|
|
|
|
string | null,
|
|
|
|
null
|
|
|
|
]): string[];
|
2020-06-03 10:23:21 +00:00
|
|
|
}>;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
export class AToken extends Contract {
|
|
|
|
connect(signerOrProvider: Signer | Provider | string): AToken;
|
|
|
|
attach(addressOrName: string): AToken;
|
|
|
|
deployed(): Promise<AToken>;
|
|
|
|
|
|
|
|
on(event: EventFilter | string, listener: Listener): AToken;
|
|
|
|
once(event: EventFilter | string, listener: Listener): AToken;
|
|
|
|
addListener(eventName: EventFilter | string, listener: Listener): AToken;
|
|
|
|
removeAllListeners(eventName: EventFilter | string): AToken;
|
|
|
|
removeListener(eventName: any, listener: Listener): AToken;
|
|
|
|
|
|
|
|
interface: ATokenInterface;
|
|
|
|
|
|
|
|
functions: {
|
2020-08-07 17:29:13 +00:00
|
|
|
ATOKEN_REVISION(): Promise<BigNumber>;
|
|
|
|
|
2020-06-03 10:23:21 +00:00
|
|
|
UINT_MAX_VALUE(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
allowInterestRedirectionTo(
|
|
|
|
_to: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
allowance(owner: string, spender: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
approve(
|
|
|
|
spender: string,
|
|
|
|
amount: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
balanceOf(_user: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
burnOnLiquidation(
|
|
|
|
_account: string,
|
|
|
|
_value: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
decimals(): Promise<number>;
|
|
|
|
|
|
|
|
decreaseAllowance(
|
|
|
|
spender: string,
|
|
|
|
subtractedValue: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
getInterestRedirectionAddress(_user: string): Promise<string>;
|
|
|
|
|
|
|
|
getRedirectedBalance(_user: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getUserIndex(_user: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
increaseAllowance(
|
|
|
|
spender: string,
|
|
|
|
addedValue: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
initialize(
|
|
|
|
_addressesProvider: string,
|
|
|
|
_underlyingAsset: string,
|
|
|
|
_underlyingAssetDecimals: BigNumberish,
|
|
|
|
_tokenName: string,
|
|
|
|
_tokenSymbol: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
2020-06-03 10:23:21 +00:00
|
|
|
isTransferAllowed(_user: string, _amount: BigNumberish): Promise<boolean>;
|
|
|
|
|
|
|
|
mintOnDeposit(
|
|
|
|
_account: string,
|
|
|
|
_amount: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
name(): Promise<string>;
|
|
|
|
|
|
|
|
principalBalanceOf(_user: string): Promise<BigNumber>;
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
redeem(
|
|
|
|
_amount: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
redirectInterestStream(
|
|
|
|
_to: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
redirectInterestStreamOf(
|
|
|
|
_from: string,
|
|
|
|
_to: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
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>;
|
|
|
|
|
|
|
|
transferOnLiquidation(
|
|
|
|
_from: string,
|
|
|
|
_to: string,
|
|
|
|
_value: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
2020-07-23 15:18:06 +00:00
|
|
|
transferUnderlyingTo(
|
|
|
|
_target: string,
|
|
|
|
_amount: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
2020-06-03 10:23:21 +00:00
|
|
|
underlyingAssetAddress(): Promise<string>;
|
|
|
|
};
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
ATOKEN_REVISION(): Promise<BigNumber>;
|
|
|
|
|
2020-06-03 10:23:21 +00:00
|
|
|
UINT_MAX_VALUE(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
allowInterestRedirectionTo(
|
|
|
|
_to: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
allowance(owner: string, spender: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
approve(
|
|
|
|
spender: string,
|
|
|
|
amount: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
balanceOf(_user: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
burnOnLiquidation(
|
|
|
|
_account: string,
|
|
|
|
_value: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
decimals(): Promise<number>;
|
|
|
|
|
|
|
|
decreaseAllowance(
|
|
|
|
spender: string,
|
|
|
|
subtractedValue: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
getInterestRedirectionAddress(_user: string): Promise<string>;
|
|
|
|
|
|
|
|
getRedirectedBalance(_user: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getUserIndex(_user: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
increaseAllowance(
|
|
|
|
spender: string,
|
|
|
|
addedValue: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
initialize(
|
|
|
|
_addressesProvider: string,
|
|
|
|
_underlyingAsset: string,
|
|
|
|
_underlyingAssetDecimals: BigNumberish,
|
|
|
|
_tokenName: string,
|
|
|
|
_tokenSymbol: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
2020-06-03 10:23:21 +00:00
|
|
|
isTransferAllowed(_user: string, _amount: BigNumberish): Promise<boolean>;
|
|
|
|
|
|
|
|
mintOnDeposit(
|
|
|
|
_account: string,
|
|
|
|
_amount: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
name(): Promise<string>;
|
|
|
|
|
|
|
|
principalBalanceOf(_user: string): Promise<BigNumber>;
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
redeem(
|
|
|
|
_amount: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
redirectInterestStream(
|
|
|
|
_to: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
redirectInterestStreamOf(
|
|
|
|
_from: string,
|
|
|
|
_to: string,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
|
|
|
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>;
|
|
|
|
|
|
|
|
transferOnLiquidation(
|
|
|
|
_from: string,
|
|
|
|
_to: string,
|
|
|
|
_value: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
2020-07-23 15:18:06 +00:00
|
|
|
transferUnderlyingTo(
|
|
|
|
_target: string,
|
|
|
|
_amount: BigNumberish,
|
|
|
|
overrides?: TransactionOverrides
|
|
|
|
): Promise<ContractTransaction>;
|
|
|
|
|
2020-06-03 10:23:21 +00:00
|
|
|
underlyingAssetAddress(): Promise<string>;
|
|
|
|
|
|
|
|
filters: {
|
2020-08-07 17:29:13 +00:00
|
|
|
Approval(
|
|
|
|
owner: string | null,
|
|
|
|
spender: string | null,
|
|
|
|
value: null
|
|
|
|
): EventFilter;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
InterestRedirectionAllowanceChanged(
|
|
|
|
_from: string | null,
|
|
|
|
_to: string | null
|
|
|
|
): EventFilter;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
estimate: {
|
2020-08-07 17:29:13 +00:00
|
|
|
ATOKEN_REVISION(): Promise<BigNumber>;
|
|
|
|
|
2020-06-03 10:23:21 +00:00
|
|
|
UINT_MAX_VALUE(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
allowInterestRedirectionTo(_to: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
allowance(owner: string, spender: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
approve(spender: string, amount: BigNumberish): Promise<BigNumber>;
|
|
|
|
|
|
|
|
balanceOf(_user: string): Promise<BigNumber>;
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
burnOnLiquidation(
|
|
|
|
_account: string,
|
|
|
|
_value: BigNumberish
|
|
|
|
): Promise<BigNumber>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
decimals(): Promise<BigNumber>;
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
decreaseAllowance(
|
|
|
|
spender: string,
|
|
|
|
subtractedValue: BigNumberish
|
|
|
|
): Promise<BigNumber>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
getInterestRedirectionAddress(_user: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getRedirectedBalance(_user: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
getUserIndex(_user: string): Promise<BigNumber>;
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
increaseAllowance(
|
|
|
|
spender: string,
|
|
|
|
addedValue: BigNumberish
|
|
|
|
): Promise<BigNumber>;
|
|
|
|
|
|
|
|
initialize(
|
|
|
|
_addressesProvider: string,
|
|
|
|
_underlyingAsset: string,
|
|
|
|
_underlyingAssetDecimals: BigNumberish,
|
|
|
|
_tokenName: string,
|
|
|
|
_tokenSymbol: string
|
|
|
|
): Promise<BigNumber>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
|
|
|
isTransferAllowed(_user: string, _amount: BigNumberish): Promise<BigNumber>;
|
|
|
|
|
|
|
|
mintOnDeposit(_account: string, _amount: BigNumberish): Promise<BigNumber>;
|
|
|
|
|
|
|
|
name(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
principalBalanceOf(_user: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
redeem(_amount: BigNumberish): Promise<BigNumber>;
|
|
|
|
|
|
|
|
redirectInterestStream(_to: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
redirectInterestStreamOf(_from: string, _to: string): Promise<BigNumber>;
|
|
|
|
|
|
|
|
symbol(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
totalSupply(): Promise<BigNumber>;
|
|
|
|
|
|
|
|
transfer(recipient: string, amount: BigNumberish): Promise<BigNumber>;
|
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
transferFrom(
|
|
|
|
sender: string,
|
|
|
|
recipient: string,
|
|
|
|
amount: BigNumberish
|
|
|
|
): Promise<BigNumber>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
transferOnLiquidation(
|
|
|
|
_from: string,
|
|
|
|
_to: string,
|
|
|
|
_value: BigNumberish
|
|
|
|
): Promise<BigNumber>;
|
2020-06-03 10:23:21 +00:00
|
|
|
|
2020-08-07 17:29:13 +00:00
|
|
|
transferUnderlyingTo(
|
|
|
|
_target: string,
|
|
|
|
_amount: BigNumberish
|
|
|
|
): Promise<BigNumber>;
|
2020-07-23 15:18:06 +00:00
|
|
|
|
2020-06-03 10:23:21 +00:00
|
|
|
underlyingAssetAddress(): Promise<BigNumber>;
|
|
|
|
};
|
|
|
|
}
|