/* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ import { Contract, ContractTransaction, EventFilter, Signer } from "ethers"; import { Listener, Provider } from "ethers/providers"; import { Arrayish, BigNumber, BigNumberish, Interface } from "ethers/utils"; import { TransactionOverrides, TypedEventDescription, TypedFunctionDescription } from "."; interface DebtTokenBaseInterface extends Interface { functions: { allowance: TypedFunctionDescription<{ encode([owner, spender]: [string, string]): string; }>; approve: TypedFunctionDescription<{ encode([spender, _amount]: [string, BigNumberish]): string; }>; balanceOf: TypedFunctionDescription<{ encode([_user]: [string]): string }>; decimals: TypedFunctionDescription<{ encode([]: []): string }>; decreaseAllowance: TypedFunctionDescription<{ encode([spender, subtractedValue]: [string, BigNumberish]): string; }>; increaseAllowance: TypedFunctionDescription<{ encode([spender, addedValue]: [string, BigNumberish]): string; }>; init: TypedFunctionDescription<{ encode([_name, _symbol, _decimals, _underlying, _addressesProvider]: [ string, string, BigNumberish, string, string ]): string; }>; name: TypedFunctionDescription<{ encode([]: []): string }>; principalBalanceOf: TypedFunctionDescription<{ encode([_user]: [string]): string; }>; symbol: TypedFunctionDescription<{ encode([]: []): string }>; totalSupply: TypedFunctionDescription<{ encode([]: []): string }>; transfer: TypedFunctionDescription<{ encode([recipient, _amount]: [string, BigNumberish]): string; }>; transferFrom: TypedFunctionDescription<{ encode([sender, recipient, _amount]: [ string, string, BigNumberish ]): string; }>; underlyingAssetAddress: TypedFunctionDescription<{ encode([]: []): string; }>; }; events: { Approval: TypedEventDescription<{ encodeTopics([owner, spender, value]: [ string | null, string | null, null ]): string[]; }>; Transfer: TypedEventDescription<{ encodeTopics([from, to, value]: [ string | null, string | null, null ]): string[]; }>; }; } export class DebtTokenBase extends Contract { connect(signerOrProvider: Signer | Provider | string): DebtTokenBase; attach(addressOrName: string): DebtTokenBase; deployed(): Promise; on(event: EventFilter | string, listener: Listener): DebtTokenBase; once(event: EventFilter | string, listener: Listener): DebtTokenBase; addListener( eventName: EventFilter | string, listener: Listener ): DebtTokenBase; removeAllListeners(eventName: EventFilter | string): DebtTokenBase; removeListener(eventName: any, listener: Listener): DebtTokenBase; interface: DebtTokenBaseInterface; functions: { allowance(owner: string, spender: string): Promise; approve( spender: string, _amount: BigNumberish, overrides?: TransactionOverrides ): Promise; balanceOf(_user: string): Promise; decimals(): Promise; decreaseAllowance( spender: string, subtractedValue: BigNumberish, overrides?: TransactionOverrides ): Promise; increaseAllowance( spender: string, addedValue: BigNumberish, overrides?: TransactionOverrides ): Promise; init( _name: string, _symbol: string, _decimals: BigNumberish, _underlying: string, _addressesProvider: string, overrides?: TransactionOverrides ): Promise; name(): Promise; principalBalanceOf(_user: string): Promise; symbol(): Promise; totalSupply(): Promise; transfer( recipient: string, _amount: BigNumberish, overrides?: TransactionOverrides ): Promise; transferFrom( sender: string, recipient: string, _amount: BigNumberish, overrides?: TransactionOverrides ): Promise; underlyingAssetAddress(): Promise; }; allowance(owner: string, spender: string): Promise; approve( spender: string, _amount: BigNumberish, overrides?: TransactionOverrides ): Promise; balanceOf(_user: string): Promise; decimals(): Promise; decreaseAllowance( spender: string, subtractedValue: BigNumberish, overrides?: TransactionOverrides ): Promise; increaseAllowance( spender: string, addedValue: BigNumberish, overrides?: TransactionOverrides ): Promise; init( _name: string, _symbol: string, _decimals: BigNumberish, _underlying: string, _addressesProvider: string, overrides?: TransactionOverrides ): Promise; name(): Promise; principalBalanceOf(_user: string): Promise; symbol(): Promise; totalSupply(): Promise; transfer( recipient: string, _amount: BigNumberish, overrides?: TransactionOverrides ): Promise; transferFrom( sender: string, recipient: string, _amount: BigNumberish, overrides?: TransactionOverrides ): Promise; underlyingAssetAddress(): Promise; filters: { Approval( owner: string | null, spender: string | null, value: null ): EventFilter; Transfer(from: string | null, to: string | null, value: null): EventFilter; }; estimate: { allowance(owner: string, spender: string): Promise; approve(spender: string, _amount: BigNumberish): Promise; balanceOf(_user: string): Promise; decimals(): Promise; decreaseAllowance( spender: string, subtractedValue: BigNumberish ): Promise; increaseAllowance( spender: string, addedValue: BigNumberish ): Promise; init( _name: string, _symbol: string, _decimals: BigNumberish, _underlying: string, _addressesProvider: string ): Promise; name(): Promise; principalBalanceOf(_user: string): Promise; symbol(): Promise; totalSupply(): Promise; transfer(recipient: string, _amount: BigNumberish): Promise; transferFrom( sender: string, recipient: string, _amount: BigNumberish ): Promise; underlyingAssetAddress(): Promise; }; }