mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
993 lines
28 KiB
TypeScript
993 lines
28 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 MockStableDebtTokenInterface extends ethers.utils.Interface {
|
|
functions: {
|
|
'DEBT_TOKEN_REVISION()': FunctionFragment;
|
|
'allowance(address,address)': FunctionFragment;
|
|
'approve(address,uint256)': FunctionFragment;
|
|
'balanceOf(address)': FunctionFragment;
|
|
'burn(address,uint256)': FunctionFragment;
|
|
'decimals()': FunctionFragment;
|
|
'decreaseAllowance(address,uint256)': FunctionFragment;
|
|
'getAverageStableRate()': FunctionFragment;
|
|
'getUserLastUpdated(address)': FunctionFragment;
|
|
'getUserStableRate(address)': FunctionFragment;
|
|
'increaseAllowance(address,uint256)': FunctionFragment;
|
|
'initialize(uint8,string,string)': FunctionFragment;
|
|
'mint(address,uint256,uint256)': FunctionFragment;
|
|
'name()': FunctionFragment;
|
|
'principalBalanceOf(address)': FunctionFragment;
|
|
'symbol()': FunctionFragment;
|
|
'totalSupply()': FunctionFragment;
|
|
'transfer(address,uint256)': FunctionFragment;
|
|
'transferFrom(address,address,uint256)': FunctionFragment;
|
|
'underlyingAssetAddress()': FunctionFragment;
|
|
};
|
|
|
|
encodeFunctionData(functionFragment: 'DEBT_TOKEN_REVISION', values?: undefined): string;
|
|
encodeFunctionData(functionFragment: 'allowance', values: [string, string]): string;
|
|
encodeFunctionData(functionFragment: 'approve', values: [string, BigNumberish]): string;
|
|
encodeFunctionData(functionFragment: 'balanceOf', values: [string]): string;
|
|
encodeFunctionData(functionFragment: 'burn', values: [string, BigNumberish]): string;
|
|
encodeFunctionData(functionFragment: 'decimals', values?: undefined): string;
|
|
encodeFunctionData(functionFragment: 'decreaseAllowance', values: [string, BigNumberish]): string;
|
|
encodeFunctionData(functionFragment: 'getAverageStableRate', values?: undefined): string;
|
|
encodeFunctionData(functionFragment: 'getUserLastUpdated', values: [string]): string;
|
|
encodeFunctionData(functionFragment: 'getUserStableRate', values: [string]): string;
|
|
encodeFunctionData(functionFragment: 'increaseAllowance', values: [string, BigNumberish]): string;
|
|
encodeFunctionData(
|
|
functionFragment: 'initialize',
|
|
values: [BigNumberish, string, string]
|
|
): string;
|
|
encodeFunctionData(
|
|
functionFragment: 'mint',
|
|
values: [string, BigNumberish, BigNumberish]
|
|
): string;
|
|
encodeFunctionData(functionFragment: 'name', values?: undefined): string;
|
|
encodeFunctionData(functionFragment: 'principalBalanceOf', values: [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: 'underlyingAssetAddress', values?: undefined): string;
|
|
|
|
decodeFunctionResult(functionFragment: 'DEBT_TOKEN_REVISION', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'allowance', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'approve', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'balanceOf', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'burn', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'decimals', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'decreaseAllowance', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'getAverageStableRate', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'getUserLastUpdated', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'getUserStableRate', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'increaseAllowance', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'initialize', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'mint', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'name', data: BytesLike): Result;
|
|
decodeFunctionResult(functionFragment: 'principalBalanceOf', 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: 'underlyingAssetAddress', data: BytesLike): Result;
|
|
|
|
events: {
|
|
'Approval(address,address,uint256)': EventFragment;
|
|
'BurnDebt(address,uint256,uint256,uint256,uint256)': EventFragment;
|
|
'MintDebt(address,uint256,uint256,uint256,uint256,uint256)': EventFragment;
|
|
'Transfer(address,address,uint256)': EventFragment;
|
|
};
|
|
|
|
getEvent(nameOrSignatureOrTopic: 'Approval'): EventFragment;
|
|
getEvent(nameOrSignatureOrTopic: 'BurnDebt'): EventFragment;
|
|
getEvent(nameOrSignatureOrTopic: 'MintDebt'): EventFragment;
|
|
getEvent(nameOrSignatureOrTopic: 'Transfer'): EventFragment;
|
|
}
|
|
|
|
export class MockStableDebtToken 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: MockStableDebtTokenInterface;
|
|
|
|
functions: {
|
|
DEBT_TOKEN_REVISION(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: BigNumber;
|
|
}>;
|
|
|
|
'DEBT_TOKEN_REVISION()'(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: BigNumber;
|
|
}>;
|
|
|
|
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(
|
|
account: string,
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: BigNumber;
|
|
}>;
|
|
|
|
'balanceOf(address)'(
|
|
account: string,
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: BigNumber;
|
|
}>;
|
|
|
|
burn(user: string, amount: BigNumberish, overrides?: Overrides): Promise<ContractTransaction>;
|
|
|
|
'burn(address,uint256)'(
|
|
user: string,
|
|
amount: 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>;
|
|
|
|
getAverageStableRate(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: BigNumber;
|
|
}>;
|
|
|
|
'getAverageStableRate()'(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: BigNumber;
|
|
}>;
|
|
|
|
getUserLastUpdated(
|
|
user: string,
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: number;
|
|
}>;
|
|
|
|
'getUserLastUpdated(address)'(
|
|
user: string,
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: number;
|
|
}>;
|
|
|
|
getUserStableRate(
|
|
user: string,
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: BigNumber;
|
|
}>;
|
|
|
|
'getUserStableRate(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(
|
|
decimals: BigNumberish,
|
|
name: string,
|
|
symbol: string,
|
|
overrides?: Overrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
'initialize(uint8,string,string)'(
|
|
decimals: BigNumberish,
|
|
name: string,
|
|
symbol: string,
|
|
overrides?: Overrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
mint(
|
|
user: string,
|
|
amount: BigNumberish,
|
|
rate: BigNumberish,
|
|
overrides?: Overrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
'mint(address,uint256,uint256)'(
|
|
user: string,
|
|
amount: BigNumberish,
|
|
rate: 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;
|
|
}>;
|
|
|
|
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>;
|
|
|
|
underlyingAssetAddress(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: string;
|
|
}>;
|
|
|
|
'underlyingAssetAddress()'(
|
|
overrides?: CallOverrides
|
|
): Promise<{
|
|
0: string;
|
|
}>;
|
|
};
|
|
|
|
DEBT_TOKEN_REVISION(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'DEBT_TOKEN_REVISION()'(overrides?: CallOverrides): 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<ContractTransaction>;
|
|
|
|
'approve(address,uint256)'(
|
|
spender: string,
|
|
amount: BigNumberish,
|
|
overrides?: Overrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'balanceOf(address)'(account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
burn(user: string, amount: BigNumberish, overrides?: Overrides): Promise<ContractTransaction>;
|
|
|
|
'burn(address,uint256)'(
|
|
user: string,
|
|
amount: 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>;
|
|
|
|
getAverageStableRate(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'getAverageStableRate()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
getUserLastUpdated(user: string, overrides?: CallOverrides): Promise<number>;
|
|
|
|
'getUserLastUpdated(address)'(user: string, overrides?: CallOverrides): Promise<number>;
|
|
|
|
getUserStableRate(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'getUserStableRate(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(
|
|
decimals: BigNumberish,
|
|
name: string,
|
|
symbol: string,
|
|
overrides?: Overrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
'initialize(uint8,string,string)'(
|
|
decimals: BigNumberish,
|
|
name: string,
|
|
symbol: string,
|
|
overrides?: Overrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
mint(
|
|
user: string,
|
|
amount: BigNumberish,
|
|
rate: BigNumberish,
|
|
overrides?: Overrides
|
|
): Promise<ContractTransaction>;
|
|
|
|
'mint(address,uint256,uint256)'(
|
|
user: string,
|
|
amount: BigNumberish,
|
|
rate: 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>;
|
|
|
|
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>;
|
|
|
|
underlyingAssetAddress(overrides?: CallOverrides): Promise<string>;
|
|
|
|
'underlyingAssetAddress()'(overrides?: CallOverrides): Promise<string>;
|
|
|
|
callStatic: {
|
|
DEBT_TOKEN_REVISION(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'DEBT_TOKEN_REVISION()'(overrides?: CallOverrides): 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?: CallOverrides): Promise<boolean>;
|
|
|
|
'approve(address,uint256)'(
|
|
spender: string,
|
|
amount: BigNumberish,
|
|
overrides?: CallOverrides
|
|
): Promise<boolean>;
|
|
|
|
balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'balanceOf(address)'(account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
burn(user: string, amount: BigNumberish, overrides?: CallOverrides): Promise<void>;
|
|
|
|
'burn(address,uint256)'(
|
|
user: string,
|
|
amount: 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>;
|
|
|
|
getAverageStableRate(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'getAverageStableRate()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
getUserLastUpdated(user: string, overrides?: CallOverrides): Promise<number>;
|
|
|
|
'getUserLastUpdated(address)'(user: string, overrides?: CallOverrides): Promise<number>;
|
|
|
|
getUserStableRate(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'getUserStableRate(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(
|
|
decimals: BigNumberish,
|
|
name: string,
|
|
symbol: string,
|
|
overrides?: CallOverrides
|
|
): Promise<void>;
|
|
|
|
'initialize(uint8,string,string)'(
|
|
decimals: BigNumberish,
|
|
name: string,
|
|
symbol: string,
|
|
overrides?: CallOverrides
|
|
): Promise<void>;
|
|
|
|
mint(
|
|
user: string,
|
|
amount: BigNumberish,
|
|
rate: BigNumberish,
|
|
overrides?: CallOverrides
|
|
): Promise<void>;
|
|
|
|
'mint(address,uint256,uint256)'(
|
|
user: string,
|
|
amount: BigNumberish,
|
|
rate: 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>;
|
|
|
|
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>;
|
|
|
|
underlyingAssetAddress(overrides?: CallOverrides): Promise<string>;
|
|
|
|
'underlyingAssetAddress()'(overrides?: CallOverrides): Promise<string>;
|
|
};
|
|
|
|
filters: {
|
|
Approval(owner: string | null, spender: string | null, value: null): EventFilter;
|
|
|
|
BurnDebt(
|
|
user: null,
|
|
amount: null,
|
|
previousBalance: null,
|
|
currentBalance: null,
|
|
balanceIncrease: null
|
|
): EventFilter;
|
|
|
|
MintDebt(
|
|
user: null,
|
|
amount: null,
|
|
previousBalance: null,
|
|
currentBalance: null,
|
|
balanceIncrease: null,
|
|
newRate: null
|
|
): EventFilter;
|
|
|
|
Transfer(from: string | null, to: string | null, value: null): EventFilter;
|
|
};
|
|
|
|
estimateGas: {
|
|
DEBT_TOKEN_REVISION(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'DEBT_TOKEN_REVISION()'(overrides?: CallOverrides): 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(account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'balanceOf(address)'(account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
burn(user: string, amount: BigNumberish, overrides?: Overrides): Promise<BigNumber>;
|
|
|
|
'burn(address,uint256)'(
|
|
user: string,
|
|
amount: 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>;
|
|
|
|
getAverageStableRate(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'getAverageStableRate()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
getUserLastUpdated(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'getUserLastUpdated(address)'(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
getUserStableRate(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'getUserStableRate(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(
|
|
decimals: BigNumberish,
|
|
name: string,
|
|
symbol: string,
|
|
overrides?: Overrides
|
|
): Promise<BigNumber>;
|
|
|
|
'initialize(uint8,string,string)'(
|
|
decimals: BigNumberish,
|
|
name: string,
|
|
symbol: string,
|
|
overrides?: Overrides
|
|
): Promise<BigNumber>;
|
|
|
|
mint(
|
|
user: string,
|
|
amount: BigNumberish,
|
|
rate: BigNumberish,
|
|
overrides?: Overrides
|
|
): Promise<BigNumber>;
|
|
|
|
'mint(address,uint256,uint256)'(
|
|
user: string,
|
|
amount: BigNumberish,
|
|
rate: 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>;
|
|
|
|
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>;
|
|
|
|
underlyingAssetAddress(overrides?: CallOverrides): Promise<BigNumber>;
|
|
|
|
'underlyingAssetAddress()'(overrides?: CallOverrides): Promise<BigNumber>;
|
|
};
|
|
|
|
populateTransaction: {
|
|
DEBT_TOKEN_REVISION(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
'DEBT_TOKEN_REVISION()'(overrides?: CallOverrides): 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(account: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
'balanceOf(address)'(account: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
burn(user: string, amount: BigNumberish, overrides?: Overrides): Promise<PopulatedTransaction>;
|
|
|
|
'burn(address,uint256)'(
|
|
user: string,
|
|
amount: 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>;
|
|
|
|
getAverageStableRate(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
'getAverageStableRate()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
getUserLastUpdated(user: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
'getUserLastUpdated(address)'(
|
|
user: string,
|
|
overrides?: CallOverrides
|
|
): Promise<PopulatedTransaction>;
|
|
|
|
getUserStableRate(user: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
'getUserStableRate(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(
|
|
decimals: BigNumberish,
|
|
name: string,
|
|
symbol: string,
|
|
overrides?: Overrides
|
|
): Promise<PopulatedTransaction>;
|
|
|
|
'initialize(uint8,string,string)'(
|
|
decimals: BigNumberish,
|
|
name: string,
|
|
symbol: string,
|
|
overrides?: Overrides
|
|
): Promise<PopulatedTransaction>;
|
|
|
|
mint(
|
|
user: string,
|
|
amount: BigNumberish,
|
|
rate: BigNumberish,
|
|
overrides?: Overrides
|
|
): Promise<PopulatedTransaction>;
|
|
|
|
'mint(address,uint256,uint256)'(
|
|
user: string,
|
|
amount: BigNumberish,
|
|
rate: 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>;
|
|
|
|
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>;
|
|
|
|
underlyingAssetAddress(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
|
|
'underlyingAssetAddress()'(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
};
|
|
}
|