Skip to main content

Interface: IBasicMetaTransaction

Hierarchy

  • BaseContract

    IBasicMetaTransaction

Properties

_deployedPromise

_deployedPromise: Promise<Contract>

Inherited from

BaseContract._deployedPromise


_runningEvents

_runningEvents: Object

Index signature

[eventTag: string]: RunningEvent

Inherited from

BaseContract._runningEvents


_wrappedEmits

_wrappedEmits: Object

Index signature

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

Inherited from

BaseContract._wrappedEmits


address

Readonly address: string

Inherited from

BaseContract.address


callStatic

callStatic: Object

Type declaration

NameType
executeMetaTransaction(userAddress: PromiseOrValue<string>, payload: PromiseOrValue<BytesLike>, sigR: PromiseOrValue<BytesLike>, sigS: PromiseOrValue<BytesLike>, sigV: PromiseOrValue<BigNumberish>, overrides?: CallOverrides) => Promise<string>
getMetatransactionNonce(userAddress: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<BigNumber>

Overrides

BaseContract.callStatic


deployTransaction

Readonly deployTransaction: TransactionResponse

Inherited from

BaseContract.deployTransaction


estimateGas

estimateGas: Object

Type declaration

NameType
executeMetaTransaction(userAddress: PromiseOrValue<string>, payload: PromiseOrValue<BytesLike>, sigR: PromiseOrValue<BytesLike>, sigS: PromiseOrValue<BytesLike>, sigV: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & { from?: PromiseOrValue<string> }) => Promise<BigNumber>
getMetatransactionNonce(userAddress: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<BigNumber>

Overrides

BaseContract.estimateGas


filters

filters: Object

Type declaration

NameType
MetaTransactionExecuted(userAddress?: null, relayerAddress?: null, payload?: null) => MetaTransactionExecutedEventFilter
MetaTransactionExecuted(address,address,bytes)(userAddress?: null, relayerAddress?: null, payload?: null) => MetaTransactionExecutedEventFilter

Overrides

BaseContract.filters


functions

functions: Object

Type declaration

NameType
executeMetaTransaction(userAddress: PromiseOrValue<string>, payload: PromiseOrValue<BytesLike>, sigR: PromiseOrValue<BytesLike>, sigS: PromiseOrValue<BytesLike>, sigV: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & { from?: PromiseOrValue<string> }) => Promise<ContractTransaction>
getMetatransactionNonce(userAddress: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<[BigNumber] & { nonce: BigNumber }>

Overrides

BaseContract.functions


interface

interface: IBasicMetaTransactionInterface

Overrides

BaseContract.interface


off

off: OnEvent<IBasicMetaTransaction>

Overrides

BaseContract.off


on

on: OnEvent<IBasicMetaTransaction>

Overrides

BaseContract.on


once

once: OnEvent<IBasicMetaTransaction>

Overrides

BaseContract.once


populateTransaction

populateTransaction: Object

Type declaration

NameType
executeMetaTransaction(userAddress: PromiseOrValue<string>, payload: PromiseOrValue<BytesLike>, sigR: PromiseOrValue<BytesLike>, sigS: PromiseOrValue<BytesLike>, sigV: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & { from?: PromiseOrValue<string> }) => Promise<PopulatedTransaction>
getMetatransactionNonce(userAddress: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<PopulatedTransaction>

Overrides

BaseContract.populateTransaction


provider

Readonly provider: Provider

Inherited from

BaseContract.provider


removeListener

removeListener: OnEvent<IBasicMetaTransaction>

Overrides

BaseContract.removeListener


resolvedAddress

Readonly resolvedAddress: Promise<string>

Inherited from

BaseContract.resolvedAddress


signer

Readonly signer: Signer

Inherited from

BaseContract.signer

Methods

_checkRunningEvents

_checkRunningEvents(runningEvent): void

Parameters

NameType
runningEventRunningEvent

Returns

void

Inherited from

BaseContract._checkRunningEvents


_deployed

_deployed(blockTag?): Promise<Contract>

Parameters

NameType
blockTag?BlockTag

Returns

Promise<Contract>

Inherited from

BaseContract._deployed


_wrapEvent

_wrapEvent(runningEvent, log, listener): Event

Parameters

NameType
runningEventRunningEvent
logLog
listenerListener

Returns

Event

Inherited from

BaseContract._wrapEvent


attach

attach(addressOrName): IBasicMetaTransaction

Parameters

NameType
addressOrNamestring

Returns

IBasicMetaTransaction

Overrides

BaseContract.attach


connect

connect(signerOrProvider): IBasicMetaTransaction

Parameters

NameType
signerOrProviderstring | Provider | Signer

Returns

IBasicMetaTransaction

Overrides

BaseContract.connect


deployed

deployed(): Promise<IBasicMetaTransaction>

Returns

Promise<IBasicMetaTransaction>

Overrides

BaseContract.deployed


emit

emit(eventName, ...args): boolean

Parameters

NameType
eventNamestring | EventFilter
...argsany[]

Returns

boolean

Inherited from

BaseContract.emit


executeMetaTransaction

executeMetaTransaction(userAddress, payload, sigR, sigS, sigV, overrides?): Promise<ContractTransaction>

Executes a metatransaction targeting this contract

Parameters

NameTypeDescription
userAddressPromiseOrValue<string>The address of the user that signed the metatransaction
payloadPromiseOrValue<BytesLike>The transaction data that will be executed if signature valid
sigRPromiseOrValue<BytesLike>The 'r' part of the signature
sigSPromiseOrValue<BytesLike>The 's' part of the signature
sigVPromiseOrValue<BigNumberish>The 'v' part of the signature
overrides?PayableOverrides & { from?: PromiseOrValue<string> }-

Returns

Promise<ContractTransaction>


fallback

fallback(overrides?): Promise<TransactionResponse>

Parameters

NameType
overrides?TransactionRequest

Returns

Promise<TransactionResponse>

Inherited from

BaseContract.fallback


getMetatransactionNonce

getMetatransactionNonce(userAddress, overrides?): Promise<BigNumber>

Gets the next metatransaction nonce for user that should be used targeting this contract

Parameters

NameTypeDescription
userAddressPromiseOrValue<string>The address of the user that will sign the metatransaction
overrides?CallOverrides-

Returns

Promise<BigNumber>


listenerCount

listenerCount(eventName?): number

Parameters

NameType
eventName?string | EventFilter

Returns

number

Inherited from

BaseContract.listenerCount


listeners

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

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilter?TypedEventFilter<TEvent>

Returns

TypedListener<TEvent>[]

Overrides

BaseContract.listeners

listeners(eventName?): Listener[]

Parameters

NameType
eventName?string

Returns

Listener[]

Overrides

BaseContract.listeners


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[]>

Overrides

BaseContract.queryFilter


removeAllListeners

removeAllListeners<TEvent>(eventFilter): IBasicMetaTransaction

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilterTypedEventFilter<TEvent>

Returns

IBasicMetaTransaction

Overrides

BaseContract.removeAllListeners

removeAllListeners(eventName?): IBasicMetaTransaction

Parameters

NameType
eventName?string

Returns

IBasicMetaTransaction

Overrides

BaseContract.removeAllListeners