Skip to main content

Interface: Erc2612TokenClient

Hierarchy

  • TokenERC2612

    Erc2612TokenClient

Properties

_deployedPromise

_deployedPromise: Promise<Contract>

Inherited from

TokenERC2612._deployedPromise


_runningEvents

_runningEvents: Object

Index signature

[eventTag: string]: RunningEvent

Inherited from

TokenERC2612._runningEvents


_wrappedEmits

_wrappedEmits: Object

Index signature

[eventTag: string]: (...args: any[]) => void

Inherited from

TokenERC2612._wrappedEmits


address

Readonly address: string

Inherited from

TokenERC2612.address


callStatic

callStatic: Object

Type declaration

NameType
DOMAIN_SEPARATOR(overrides?: CallOverrides) => Promise<string>
allowance(owner: PromiseOrValue<string>, spender: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<BigNumber>
approve(spender: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides) => Promise<boolean>
balanceOf(account: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<BigNumber>
decimals(overrides?: CallOverrides) => Promise<number>
name(overrides?: CallOverrides) => Promise<string>
nonces(owner: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<BigNumber>
permit(owner: PromiseOrValue<string>, spender: PromiseOrValue<string>, value: PromiseOrValue<BigNumberish>, deadline: PromiseOrValue<BigNumberish>, v: PromiseOrValue<BigNumberish>, r: PromiseOrValue<BytesLike>, s: PromiseOrValue<BytesLike>, overrides?: CallOverrides) => Promise<void>
symbol(overrides?: CallOverrides) => Promise<string>
totalSupply(overrides?: CallOverrides) => Promise<BigNumber>
transfer(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides) => Promise<boolean>
transferFrom(from: PromiseOrValue<string>, to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides) => Promise<boolean>

Inherited from

TokenERC2612.callStatic


clientType

clientType: TokenClient


deployTransaction

Readonly deployTransaction: TransactionResponse

Inherited from

TokenERC2612.deployTransaction


estimateGas

estimateGas: Object

Type declaration

NameType
DOMAIN_SEPARATOR(overrides?: CallOverrides) => Promise<BigNumber>
allowance(owner: PromiseOrValue<string>, spender: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<BigNumber>
approve(spender: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<BigNumber>
balanceOf(account: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<BigNumber>
decimals(overrides?: CallOverrides) => Promise<BigNumber>
name(overrides?: CallOverrides) => Promise<BigNumber>
nonces(owner: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<BigNumber>
permit(owner: PromiseOrValue<string>, spender: PromiseOrValue<string>, value: PromiseOrValue<BigNumberish>, deadline: PromiseOrValue<BigNumberish>, v: PromiseOrValue<BigNumberish>, r: PromiseOrValue<BytesLike>, s: PromiseOrValue<BytesLike>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<BigNumber>
symbol(overrides?: CallOverrides) => Promise<BigNumber>
totalSupply(overrides?: CallOverrides) => Promise<BigNumber>
transfer(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<BigNumber>
transferFrom(from: PromiseOrValue<string>, to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<BigNumber>

Inherited from

TokenERC2612.estimateGas


filters

filters: Object

Type declaration

NameType
Approval(owner?: null | PromiseOrValue<string>, spender?: null | PromiseOrValue<string>, value?: null) => ApprovalEventFilter
Approval(address,address,uint256)(owner?: null | PromiseOrValue<string>, spender?: null | PromiseOrValue<string>, value?: null) => ApprovalEventFilter
Transfer(from?: null | PromiseOrValue<string>, to?: null | PromiseOrValue<string>, value?: null) => TransferEventFilter
Transfer(address,address,uint256)(from?: null | PromiseOrValue<string>, to?: null | PromiseOrValue<string>, value?: null) => TransferEventFilter

Inherited from

TokenERC2612.filters


functions

functions: Object

Type declaration

NameType
DOMAIN_SEPARATOR(overrides?: CallOverrides) => Promise<[string]>
allowance(owner: PromiseOrValue<string>, spender: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<[BigNumber]>
approve(spender: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<ContractTransaction>
balanceOf(account: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<[BigNumber]>
decimals(overrides?: CallOverrides) => Promise<[number]>
name(overrides?: CallOverrides) => Promise<[string]>
nonces(owner: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<[BigNumber]>
permit(owner: PromiseOrValue<string>, spender: PromiseOrValue<string>, value: PromiseOrValue<BigNumberish>, deadline: PromiseOrValue<BigNumberish>, v: PromiseOrValue<BigNumberish>, r: PromiseOrValue<BytesLike>, s: PromiseOrValue<BytesLike>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<ContractTransaction>
symbol(overrides?: CallOverrides) => Promise<[string]>
totalSupply(overrides?: CallOverrides) => Promise<[BigNumber]>
transfer(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<ContractTransaction>
transferFrom(from: PromiseOrValue<string>, to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<ContractTransaction>

Inherited from

TokenERC2612.functions


interface

interface: TokenERC2612Interface

Inherited from

TokenERC2612.interface


off

off: OnEvent<Erc2612TokenClient>

Inherited from

TokenERC2612.off


on

on: OnEvent<Erc2612TokenClient>

Inherited from

TokenERC2612.on


once

once: OnEvent<Erc2612TokenClient>

Inherited from

TokenERC2612.once


populateTransaction

populateTransaction: Object

Type declaration

NameType
DOMAIN_SEPARATOR(overrides?: CallOverrides) => Promise<PopulatedTransaction>
allowance(owner: PromiseOrValue<string>, spender: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<PopulatedTransaction>
approve(spender: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<PopulatedTransaction>
balanceOf(account: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<PopulatedTransaction>
decimals(overrides?: CallOverrides) => Promise<PopulatedTransaction>
name(overrides?: CallOverrides) => Promise<PopulatedTransaction>
nonces(owner: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<PopulatedTransaction>
permit(owner: PromiseOrValue<string>, spender: PromiseOrValue<string>, value: PromiseOrValue<BigNumberish>, deadline: PromiseOrValue<BigNumberish>, v: PromiseOrValue<BigNumberish>, r: PromiseOrValue<BytesLike>, s: PromiseOrValue<BytesLike>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<PopulatedTransaction>
symbol(overrides?: CallOverrides) => Promise<PopulatedTransaction>
totalSupply(overrides?: CallOverrides) => Promise<PopulatedTransaction>
transfer(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<PopulatedTransaction>
transferFrom(from: PromiseOrValue<string>, to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<PopulatedTransaction>

Inherited from

TokenERC2612.populateTransaction


provider

Readonly provider: Provider

Inherited from

TokenERC2612.provider


removeListener

removeListener: OnEvent<Erc2612TokenClient>

Inherited from

TokenERC2612.removeListener


resolvedAddress

Readonly resolvedAddress: Promise<string>

Inherited from

TokenERC2612.resolvedAddress


signer

Readonly signer: Signer

Inherited from

TokenERC2612.signer


tokenClientType

tokenClientType: Erc2612

Methods

DOMAIN_SEPARATOR

DOMAIN_SEPARATOR(overrides?): Promise<string>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Inherited from

TokenERC2612.DOMAIN_SEPARATOR


_checkRunningEvents

_checkRunningEvents(runningEvent): void

Parameters

NameType
runningEventRunningEvent

Returns

void

Inherited from

TokenERC2612._checkRunningEvents


_deployed

_deployed(blockTag?): Promise<Contract>

Parameters

NameType
blockTag?BlockTag

Returns

Promise<Contract>

Inherited from

TokenERC2612._deployed


_wrapEvent

_wrapEvent(runningEvent, log, listener): Event

Parameters

NameType
runningEventRunningEvent
logLog
listenerListener

Returns

Event

Inherited from

TokenERC2612._wrapEvent


allowance

allowance(owner, spender, overrides?): Promise<BigNumber>

Parameters

NameType
ownerPromiseOrValue<string>
spenderPromiseOrValue<string>
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

TokenERC2612.allowance


approve

approve(spender, amount, overrides?): Promise<ContractTransaction>

Parameters

NameType
spenderPromiseOrValue<string>
amountPromiseOrValue<BigNumberish>
overrides?Overrides & { from?: PromiseOrValue<string> }

Returns

Promise<ContractTransaction>

Inherited from

TokenERC2612.approve


attach

attach(addressOrName): Erc2612TokenClient

Parameters

NameType
addressOrNamestring

Returns

Erc2612TokenClient

Inherited from

TokenERC2612.attach


balanceOf

balanceOf(account, overrides?): Promise<BigNumber>

Parameters

NameType
accountPromiseOrValue<string>
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

TokenERC2612.balanceOf


connect

connect(signerOrProvider): Erc2612TokenClient

Parameters

NameType
signerOrProviderstring | Provider | Signer

Returns

Erc2612TokenClient

Inherited from

TokenERC2612.connect


decimals

decimals(overrides?): Promise<number>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<number>

Inherited from

TokenERC2612.decimals


deployed

deployed(): Promise<Erc2612TokenClient>

Returns

Promise<Erc2612TokenClient>

Inherited from

TokenERC2612.deployed


emit

emit(eventName, ...args): boolean

Parameters

NameType
eventNamestring | EventFilter
...argsany[]

Returns

boolean

Inherited from

TokenERC2612.emit


fallback

fallback(overrides?): Promise<TransactionResponse>

Parameters

NameType
overrides?TransactionRequest

Returns

Promise<TransactionResponse>

Inherited from

TokenERC2612.fallback


getTokenInfo

getTokenInfo(): Promise<TokenInfo>

Get the standard ERC20 token information

Returns

Promise<TokenInfo>


listenerCount

listenerCount(eventName?): number

Parameters

NameType
eventName?string | EventFilter

Returns

number

Inherited from

TokenERC2612.listenerCount


listeners

listeners<TEvent>(eventFilter?): TypedListener<TEvent>[]

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilter?TypedEventFilter<TEvent>

Returns

TypedListener<TEvent>[]

Inherited from

TokenERC2612.listeners

listeners(eventName?): Listener[]

Parameters

NameType
eventName?string

Returns

Listener[]

Inherited from

TokenERC2612.listeners


name

name(overrides?): Promise<string>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Inherited from

TokenERC2612.name


nonces

nonces(owner, overrides?): Promise<BigNumber>

Parameters

NameType
ownerPromiseOrValue<string>
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

TokenERC2612.nonces


permit

permit(owner, spender, value, deadline, v, r, s, overrides?): Promise<ContractTransaction>

Parameters

NameType
ownerPromiseOrValue<string>
spenderPromiseOrValue<string>
valuePromiseOrValue<BigNumberish>
deadlinePromiseOrValue<BigNumberish>
vPromiseOrValue<BigNumberish>
rPromiseOrValue<BytesLike>
sPromiseOrValue<BytesLike>
overrides?Overrides & { from?: PromiseOrValue<string> }

Returns

Promise<ContractTransaction>

Inherited from

TokenERC2612.permit


queryFilter

queryFilter<TEvent>(event, fromBlockOrBlockhash?, toBlock?): Promise<TEvent[]>

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventTypedEventFilter<TEvent>
fromBlockOrBlockhash?string | number
toBlock?string | number

Returns

Promise<TEvent[]>

Inherited from

TokenERC2612.queryFilter


removeAllListeners

removeAllListeners<TEvent>(eventFilter): Erc2612TokenClient

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilterTypedEventFilter<TEvent>

Returns

Erc2612TokenClient

Inherited from

TokenERC2612.removeAllListeners

removeAllListeners(eventName?): Erc2612TokenClient

Parameters

NameType
eventName?string

Returns

Erc2612TokenClient

Inherited from

TokenERC2612.removeAllListeners


symbol

symbol(overrides?): Promise<string>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Inherited from

TokenERC2612.symbol


totalSupply

totalSupply(overrides?): Promise<BigNumber>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Inherited from

TokenERC2612.totalSupply


transfer

transfer(to, amount, overrides?): Promise<ContractTransaction>

Parameters

NameType
toPromiseOrValue<string>
amountPromiseOrValue<BigNumberish>
overrides?Overrides & { from?: PromiseOrValue<string> }

Returns

Promise<ContractTransaction>

Inherited from

TokenERC2612.transfer


transferFrom

transferFrom(from, to, amount, overrides?): Promise<ContractTransaction>

Parameters

NameType
fromPromiseOrValue<string>
toPromiseOrValue<string>
amountPromiseOrValue<BigNumberish>
overrides?Overrides & { from?: PromiseOrValue<string> }

Returns

Promise<ContractTransaction>

Inherited from

TokenERC2612.transferFrom