/* 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; 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; "allowInterestRedirectionTo(address)"( _to: string, overrides?: Overrides ): Promise; 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; "approve(address,uint256)"( spender: string, amount: BigNumberish, overrides?: Overrides ): Promise; 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; "burnOnLiquidation(address,uint256)"( _account: string, _value: BigNumberish, overrides?: Overrides ): Promise; decimals( overrides?: CallOverrides ): Promise<{ 0: number; }>; "decimals()"( overrides?: CallOverrides ): Promise<{ 0: number; }>; decreaseAllowance( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; "decreaseAllowance(address,uint256)"( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; 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; "increaseAllowance(address,uint256)"( spender: string, addedValue: BigNumberish, overrides?: Overrides ): Promise; initialize( _underlyingAssetDecimals: BigNumberish, _tokenName: string, _tokenSymbol: string, overrides?: Overrides ): Promise; "initialize(uint8,string,string)"( _underlyingAssetDecimals: BigNumberish, _tokenName: string, _tokenSymbol: string, overrides?: Overrides ): Promise; 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; "mintOnDeposit(address,uint256)"( _user: string, _amount: BigNumberish, overrides?: Overrides ): Promise; 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; "redeem(uint256)"( _amount: BigNumberish, overrides?: Overrides ): Promise; redirectInterestStream( _to: string, overrides?: Overrides ): Promise; "redirectInterestStream(address)"( _to: string, overrides?: Overrides ): Promise; redirectInterestStreamOf( _from: string, _to: string, overrides?: Overrides ): Promise; "redirectInterestStreamOf(address,address)"( _from: string, _to: string, overrides?: Overrides ): Promise; 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; "transfer(address,uint256)"( recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; transferFrom( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; "transferFrom(address,address,uint256)"( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; transferOnLiquidation( _from: string, _to: string, _value: BigNumberish, overrides?: Overrides ): Promise; "transferOnLiquidation(address,address,uint256)"( _from: string, _to: string, _value: BigNumberish, overrides?: Overrides ): Promise; transferUnderlyingTo( _target: string, _amount: BigNumberish, overrides?: Overrides ): Promise; "transferUnderlyingTo(address,uint256)"( _target: string, _amount: BigNumberish, overrides?: Overrides ): Promise; underlyingAssetAddress( overrides?: CallOverrides ): Promise<{ 0: string; }>; "underlyingAssetAddress()"( overrides?: CallOverrides ): Promise<{ 0: string; }>; }; ATOKEN_REVISION(overrides?: CallOverrides): Promise; "ATOKEN_REVISION()"(overrides?: CallOverrides): Promise; UINT_MAX_VALUE(overrides?: CallOverrides): Promise; "UINT_MAX_VALUE()"(overrides?: CallOverrides): Promise; allowInterestRedirectionTo( _to: string, overrides?: Overrides ): Promise; "allowInterestRedirectionTo(address)"( _to: string, overrides?: Overrides ): Promise; allowance( owner: string, spender: string, overrides?: CallOverrides ): Promise; "allowance(address,address)"( owner: string, spender: string, overrides?: CallOverrides ): Promise; approve( spender: string, amount: BigNumberish, overrides?: Overrides ): Promise; "approve(address,uint256)"( spender: string, amount: BigNumberish, overrides?: Overrides ): Promise; balanceOf(_user: string, overrides?: CallOverrides): Promise; "balanceOf(address)"( _user: string, overrides?: CallOverrides ): Promise; burnOnLiquidation( _account: string, _value: BigNumberish, overrides?: Overrides ): Promise; "burnOnLiquidation(address,uint256)"( _account: string, _value: BigNumberish, overrides?: Overrides ): Promise; decimals(overrides?: CallOverrides): Promise; "decimals()"(overrides?: CallOverrides): Promise; decreaseAllowance( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; "decreaseAllowance(address,uint256)"( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; getInterestRedirectionAddress( _user: string, overrides?: CallOverrides ): Promise; "getInterestRedirectionAddress(address)"( _user: string, overrides?: CallOverrides ): Promise; getRedirectedBalance( _user: string, overrides?: CallOverrides ): Promise; "getRedirectedBalance(address)"( _user: string, overrides?: CallOverrides ): Promise; getUserIndex(_user: string, overrides?: CallOverrides): Promise; "getUserIndex(address)"( _user: string, overrides?: CallOverrides ): Promise; increaseAllowance( spender: string, addedValue: BigNumberish, overrides?: Overrides ): Promise; "increaseAllowance(address,uint256)"( spender: string, addedValue: BigNumberish, overrides?: Overrides ): Promise; initialize( _underlyingAssetDecimals: BigNumberish, _tokenName: string, _tokenSymbol: string, overrides?: Overrides ): Promise; "initialize(uint8,string,string)"( _underlyingAssetDecimals: BigNumberish, _tokenName: string, _tokenSymbol: string, overrides?: Overrides ): Promise; isTransferAllowed( _user: string, _amount: BigNumberish, overrides?: CallOverrides ): Promise; "isTransferAllowed(address,uint256)"( _user: string, _amount: BigNumberish, overrides?: CallOverrides ): Promise; mintOnDeposit( _user: string, _amount: BigNumberish, overrides?: Overrides ): Promise; "mintOnDeposit(address,uint256)"( _user: string, _amount: BigNumberish, overrides?: Overrides ): Promise; name(overrides?: CallOverrides): Promise; "name()"(overrides?: CallOverrides): Promise; principalBalanceOf( _user: string, overrides?: CallOverrides ): Promise; "principalBalanceOf(address)"( _user: string, overrides?: CallOverrides ): Promise; redeem( _amount: BigNumberish, overrides?: Overrides ): Promise; "redeem(uint256)"( _amount: BigNumberish, overrides?: Overrides ): Promise; redirectInterestStream( _to: string, overrides?: Overrides ): Promise; "redirectInterestStream(address)"( _to: string, overrides?: Overrides ): Promise; redirectInterestStreamOf( _from: string, _to: string, overrides?: Overrides ): Promise; "redirectInterestStreamOf(address,address)"( _from: string, _to: string, overrides?: Overrides ): Promise; symbol(overrides?: CallOverrides): Promise; "symbol()"(overrides?: CallOverrides): Promise; totalSupply(overrides?: CallOverrides): Promise; "totalSupply()"(overrides?: CallOverrides): Promise; transfer( recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; "transfer(address,uint256)"( recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; transferFrom( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; "transferFrom(address,address,uint256)"( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; transferOnLiquidation( _from: string, _to: string, _value: BigNumberish, overrides?: Overrides ): Promise; "transferOnLiquidation(address,address,uint256)"( _from: string, _to: string, _value: BigNumberish, overrides?: Overrides ): Promise; transferUnderlyingTo( _target: string, _amount: BigNumberish, overrides?: Overrides ): Promise; "transferUnderlyingTo(address,uint256)"( _target: string, _amount: BigNumberish, overrides?: Overrides ): Promise; underlyingAssetAddress(overrides?: CallOverrides): Promise; "underlyingAssetAddress()"(overrides?: CallOverrides): Promise; callStatic: { ATOKEN_REVISION(overrides?: CallOverrides): Promise; "ATOKEN_REVISION()"(overrides?: CallOverrides): Promise; UINT_MAX_VALUE(overrides?: CallOverrides): Promise; "UINT_MAX_VALUE()"(overrides?: CallOverrides): Promise; allowInterestRedirectionTo( _to: string, overrides?: CallOverrides ): Promise; "allowInterestRedirectionTo(address)"( _to: string, overrides?: CallOverrides ): Promise; allowance( owner: string, spender: string, overrides?: CallOverrides ): Promise; "allowance(address,address)"( owner: string, spender: string, overrides?: CallOverrides ): Promise; approve( spender: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; "approve(address,uint256)"( spender: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; balanceOf(_user: string, overrides?: CallOverrides): Promise; "balanceOf(address)"( _user: string, overrides?: CallOverrides ): Promise; burnOnLiquidation( _account: string, _value: BigNumberish, overrides?: CallOverrides ): Promise; "burnOnLiquidation(address,uint256)"( _account: string, _value: BigNumberish, overrides?: CallOverrides ): Promise; decimals(overrides?: CallOverrides): Promise; "decimals()"(overrides?: CallOverrides): Promise; decreaseAllowance( spender: string, subtractedValue: BigNumberish, overrides?: CallOverrides ): Promise; "decreaseAllowance(address,uint256)"( spender: string, subtractedValue: BigNumberish, overrides?: CallOverrides ): Promise; getInterestRedirectionAddress( _user: string, overrides?: CallOverrides ): Promise; "getInterestRedirectionAddress(address)"( _user: string, overrides?: CallOverrides ): Promise; getRedirectedBalance( _user: string, overrides?: CallOverrides ): Promise; "getRedirectedBalance(address)"( _user: string, overrides?: CallOverrides ): Promise; getUserIndex(_user: string, overrides?: CallOverrides): Promise; "getUserIndex(address)"( _user: string, overrides?: CallOverrides ): Promise; increaseAllowance( spender: string, addedValue: BigNumberish, overrides?: CallOverrides ): Promise; "increaseAllowance(address,uint256)"( spender: string, addedValue: BigNumberish, overrides?: CallOverrides ): Promise; initialize( _underlyingAssetDecimals: BigNumberish, _tokenName: string, _tokenSymbol: string, overrides?: CallOverrides ): Promise; "initialize(uint8,string,string)"( _underlyingAssetDecimals: BigNumberish, _tokenName: string, _tokenSymbol: string, overrides?: CallOverrides ): Promise; isTransferAllowed( _user: string, _amount: BigNumberish, overrides?: CallOverrides ): Promise; "isTransferAllowed(address,uint256)"( _user: string, _amount: BigNumberish, overrides?: CallOverrides ): Promise; mintOnDeposit( _user: string, _amount: BigNumberish, overrides?: CallOverrides ): Promise; "mintOnDeposit(address,uint256)"( _user: string, _amount: BigNumberish, overrides?: CallOverrides ): Promise; name(overrides?: CallOverrides): Promise; "name()"(overrides?: CallOverrides): Promise; principalBalanceOf( _user: string, overrides?: CallOverrides ): Promise; "principalBalanceOf(address)"( _user: string, overrides?: CallOverrides ): Promise; redeem(_amount: BigNumberish, overrides?: CallOverrides): Promise; "redeem(uint256)"( _amount: BigNumberish, overrides?: CallOverrides ): Promise; redirectInterestStream( _to: string, overrides?: CallOverrides ): Promise; "redirectInterestStream(address)"( _to: string, overrides?: CallOverrides ): Promise; redirectInterestStreamOf( _from: string, _to: string, overrides?: CallOverrides ): Promise; "redirectInterestStreamOf(address,address)"( _from: string, _to: string, overrides?: CallOverrides ): Promise; symbol(overrides?: CallOverrides): Promise; "symbol()"(overrides?: CallOverrides): Promise; totalSupply(overrides?: CallOverrides): Promise; "totalSupply()"(overrides?: CallOverrides): Promise; transfer( recipient: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; "transfer(address,uint256)"( recipient: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; transferFrom( sender: string, recipient: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; "transferFrom(address,address,uint256)"( sender: string, recipient: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; transferOnLiquidation( _from: string, _to: string, _value: BigNumberish, overrides?: CallOverrides ): Promise; "transferOnLiquidation(address,address,uint256)"( _from: string, _to: string, _value: BigNumberish, overrides?: CallOverrides ): Promise; transferUnderlyingTo( _target: string, _amount: BigNumberish, overrides?: CallOverrides ): Promise; "transferUnderlyingTo(address,uint256)"( _target: string, _amount: BigNumberish, overrides?: CallOverrides ): Promise; underlyingAssetAddress(overrides?: CallOverrides): Promise; "underlyingAssetAddress()"(overrides?: CallOverrides): Promise; }; 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; "ATOKEN_REVISION()"(overrides?: CallOverrides): Promise; UINT_MAX_VALUE(overrides?: CallOverrides): Promise; "UINT_MAX_VALUE()"(overrides?: CallOverrides): Promise; allowInterestRedirectionTo( _to: string, overrides?: Overrides ): Promise; "allowInterestRedirectionTo(address)"( _to: string, overrides?: Overrides ): Promise; allowance( owner: string, spender: string, overrides?: CallOverrides ): Promise; "allowance(address,address)"( owner: string, spender: string, overrides?: CallOverrides ): Promise; approve( spender: string, amount: BigNumberish, overrides?: Overrides ): Promise; "approve(address,uint256)"( spender: string, amount: BigNumberish, overrides?: Overrides ): Promise; balanceOf(_user: string, overrides?: CallOverrides): Promise; "balanceOf(address)"( _user: string, overrides?: CallOverrides ): Promise; burnOnLiquidation( _account: string, _value: BigNumberish, overrides?: Overrides ): Promise; "burnOnLiquidation(address,uint256)"( _account: string, _value: BigNumberish, overrides?: Overrides ): Promise; decimals(overrides?: CallOverrides): Promise; "decimals()"(overrides?: CallOverrides): Promise; decreaseAllowance( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; "decreaseAllowance(address,uint256)"( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; getInterestRedirectionAddress( _user: string, overrides?: CallOverrides ): Promise; "getInterestRedirectionAddress(address)"( _user: string, overrides?: CallOverrides ): Promise; getRedirectedBalance( _user: string, overrides?: CallOverrides ): Promise; "getRedirectedBalance(address)"( _user: string, overrides?: CallOverrides ): Promise; getUserIndex(_user: string, overrides?: CallOverrides): Promise; "getUserIndex(address)"( _user: string, overrides?: CallOverrides ): Promise; increaseAllowance( spender: string, addedValue: BigNumberish, overrides?: Overrides ): Promise; "increaseAllowance(address,uint256)"( spender: string, addedValue: BigNumberish, overrides?: Overrides ): Promise; initialize( _underlyingAssetDecimals: BigNumberish, _tokenName: string, _tokenSymbol: string, overrides?: Overrides ): Promise; "initialize(uint8,string,string)"( _underlyingAssetDecimals: BigNumberish, _tokenName: string, _tokenSymbol: string, overrides?: Overrides ): Promise; isTransferAllowed( _user: string, _amount: BigNumberish, overrides?: CallOverrides ): Promise; "isTransferAllowed(address,uint256)"( _user: string, _amount: BigNumberish, overrides?: CallOverrides ): Promise; mintOnDeposit( _user: string, _amount: BigNumberish, overrides?: Overrides ): Promise; "mintOnDeposit(address,uint256)"( _user: string, _amount: BigNumberish, overrides?: Overrides ): Promise; name(overrides?: CallOverrides): Promise; "name()"(overrides?: CallOverrides): Promise; principalBalanceOf( _user: string, overrides?: CallOverrides ): Promise; "principalBalanceOf(address)"( _user: string, overrides?: CallOverrides ): Promise; redeem(_amount: BigNumberish, overrides?: Overrides): Promise; "redeem(uint256)"( _amount: BigNumberish, overrides?: Overrides ): Promise; redirectInterestStream( _to: string, overrides?: Overrides ): Promise; "redirectInterestStream(address)"( _to: string, overrides?: Overrides ): Promise; redirectInterestStreamOf( _from: string, _to: string, overrides?: Overrides ): Promise; "redirectInterestStreamOf(address,address)"( _from: string, _to: string, overrides?: Overrides ): Promise; symbol(overrides?: CallOverrides): Promise; "symbol()"(overrides?: CallOverrides): Promise; totalSupply(overrides?: CallOverrides): Promise; "totalSupply()"(overrides?: CallOverrides): Promise; transfer( recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; "transfer(address,uint256)"( recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; transferFrom( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; "transferFrom(address,address,uint256)"( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; transferOnLiquidation( _from: string, _to: string, _value: BigNumberish, overrides?: Overrides ): Promise; "transferOnLiquidation(address,address,uint256)"( _from: string, _to: string, _value: BigNumberish, overrides?: Overrides ): Promise; transferUnderlyingTo( _target: string, _amount: BigNumberish, overrides?: Overrides ): Promise; "transferUnderlyingTo(address,uint256)"( _target: string, _amount: BigNumberish, overrides?: Overrides ): Promise; underlyingAssetAddress(overrides?: CallOverrides): Promise; "underlyingAssetAddress()"(overrides?: CallOverrides): Promise; }; populateTransaction: { ATOKEN_REVISION(overrides?: CallOverrides): Promise; "ATOKEN_REVISION()"( overrides?: CallOverrides ): Promise; UINT_MAX_VALUE(overrides?: CallOverrides): Promise; "UINT_MAX_VALUE()"( overrides?: CallOverrides ): Promise; allowInterestRedirectionTo( _to: string, overrides?: Overrides ): Promise; "allowInterestRedirectionTo(address)"( _to: string, overrides?: Overrides ): Promise; allowance( owner: string, spender: string, overrides?: CallOverrides ): Promise; "allowance(address,address)"( owner: string, spender: string, overrides?: CallOverrides ): Promise; approve( spender: string, amount: BigNumberish, overrides?: Overrides ): Promise; "approve(address,uint256)"( spender: string, amount: BigNumberish, overrides?: Overrides ): Promise; balanceOf( _user: string, overrides?: CallOverrides ): Promise; "balanceOf(address)"( _user: string, overrides?: CallOverrides ): Promise; burnOnLiquidation( _account: string, _value: BigNumberish, overrides?: Overrides ): Promise; "burnOnLiquidation(address,uint256)"( _account: string, _value: BigNumberish, overrides?: Overrides ): Promise; decimals(overrides?: CallOverrides): Promise; "decimals()"(overrides?: CallOverrides): Promise; decreaseAllowance( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; "decreaseAllowance(address,uint256)"( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; getInterestRedirectionAddress( _user: string, overrides?: CallOverrides ): Promise; "getInterestRedirectionAddress(address)"( _user: string, overrides?: CallOverrides ): Promise; getRedirectedBalance( _user: string, overrides?: CallOverrides ): Promise; "getRedirectedBalance(address)"( _user: string, overrides?: CallOverrides ): Promise; getUserIndex( _user: string, overrides?: CallOverrides ): Promise; "getUserIndex(address)"( _user: string, overrides?: CallOverrides ): Promise; increaseAllowance( spender: string, addedValue: BigNumberish, overrides?: Overrides ): Promise; "increaseAllowance(address,uint256)"( spender: string, addedValue: BigNumberish, overrides?: Overrides ): Promise; initialize( _underlyingAssetDecimals: BigNumberish, _tokenName: string, _tokenSymbol: string, overrides?: Overrides ): Promise; "initialize(uint8,string,string)"( _underlyingAssetDecimals: BigNumberish, _tokenName: string, _tokenSymbol: string, overrides?: Overrides ): Promise; isTransferAllowed( _user: string, _amount: BigNumberish, overrides?: CallOverrides ): Promise; "isTransferAllowed(address,uint256)"( _user: string, _amount: BigNumberish, overrides?: CallOverrides ): Promise; mintOnDeposit( _user: string, _amount: BigNumberish, overrides?: Overrides ): Promise; "mintOnDeposit(address,uint256)"( _user: string, _amount: BigNumberish, overrides?: Overrides ): Promise; name(overrides?: CallOverrides): Promise; "name()"(overrides?: CallOverrides): Promise; principalBalanceOf( _user: string, overrides?: CallOverrides ): Promise; "principalBalanceOf(address)"( _user: string, overrides?: CallOverrides ): Promise; redeem( _amount: BigNumberish, overrides?: Overrides ): Promise; "redeem(uint256)"( _amount: BigNumberish, overrides?: Overrides ): Promise; redirectInterestStream( _to: string, overrides?: Overrides ): Promise; "redirectInterestStream(address)"( _to: string, overrides?: Overrides ): Promise; redirectInterestStreamOf( _from: string, _to: string, overrides?: Overrides ): Promise; "redirectInterestStreamOf(address,address)"( _from: string, _to: string, overrides?: Overrides ): Promise; symbol(overrides?: CallOverrides): Promise; "symbol()"(overrides?: CallOverrides): Promise; totalSupply(overrides?: CallOverrides): Promise; "totalSupply()"(overrides?: CallOverrides): Promise; transfer( recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; "transfer(address,uint256)"( recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; transferFrom( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; "transferFrom(address,address,uint256)"( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; transferOnLiquidation( _from: string, _to: string, _value: BigNumberish, overrides?: Overrides ): Promise; "transferOnLiquidation(address,address,uint256)"( _from: string, _to: string, _value: BigNumberish, overrides?: Overrides ): Promise; transferUnderlyingTo( _target: string, _amount: BigNumberish, overrides?: Overrides ): Promise; "transferUnderlyingTo(address,uint256)"( _target: string, _amount: BigNumberish, overrides?: Overrides ): Promise; underlyingAssetAddress( overrides?: CallOverrides ): Promise; "underlyingAssetAddress()"( overrides?: CallOverrides ): Promise; }; }