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: string, payload: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish, overrides?: CallOverrides) => Promise<string>
executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)(userAddress: string, payload: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish, overrides?: CallOverrides) => Promise<string>
getMetatransactionNonce(userAddress: string, overrides?: CallOverrides) => Promise<BigNumber>
getMetatransactionNonce(address)(userAddress: string, overrides?: CallOverrides) => Promise<BigNumber>

Overrides

BaseContract.callStatic


deployTransaction

Readonly deployTransaction: TransactionResponse

Inherited from

BaseContract.deployTransaction


estimateGas

estimateGas: Object

Type declaration

NameType
executeMetaTransaction(userAddress: string, payload: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish, overrides?: PayableOverrides & { from?: string }) => Promise<BigNumber>
executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)(userAddress: string, payload: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish, overrides?: PayableOverrides & { from?: string }) => Promise<BigNumber>
getMetatransactionNonce(userAddress: string, overrides?: CallOverrides) => Promise<BigNumber>
getMetatransactionNonce(address)(userAddress: 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: string, payload: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish, overrides?: PayableOverrides & { from?: string }) => Promise<ContractTransaction>
executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)(userAddress: string, payload: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish, overrides?: PayableOverrides & { from?: string }) => Promise<ContractTransaction>
getMetatransactionNonce(userAddress: string, overrides?: CallOverrides) => Promise<[BigNumber] & { nonce: BigNumber }>
getMetatransactionNonce(address)(userAddress: 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: string, payload: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish, overrides?: PayableOverrides & { from?: string }) => Promise<PopulatedTransaction>
executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)(userAddress: string, payload: BytesLike, sigR: BytesLike, sigS: BytesLike, sigV: BigNumberish, overrides?: PayableOverrides & { from?: string }) => Promise<PopulatedTransaction>
getMetatransactionNonce(userAddress: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getMetatransactionNonce(address)(userAddress: 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 | Signer | Provider

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
userAddressstringThe address of the user that signed the metatransaction
payloadBytesLikeThe transaction data that will be executed if signature valid
sigRBytesLikeThe 'r' part of the signature
sigSBytesLikeThe 's' part of the signature
sigVBigNumberishThe 'v' part of the signature
overrides?PayableOverrides & { from?: string }-

Returns

Promise<ContractTransaction>


executeMetaTransaction(address,bytes,bytes32,bytes32,uint8)

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

Executes a metatransaction targeting this contract

Parameters

NameTypeDescription
userAddressstringThe address of the user that signed the metatransaction
payloadBytesLikeThe transaction data that will be executed if signature valid
sigRBytesLikeThe 'r' part of the signature
sigSBytesLikeThe 's' part of the signature
sigVBigNumberishThe 'v' part of the signature
overrides?PayableOverrides & { from?: 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
userAddressstringThe address of the user that will sign the metatransaction
overrides?CallOverrides-

Returns

Promise<BigNumber>


getMetatransactionNonce(address)

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

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

Parameters

NameTypeDescription
userAddressstringThe 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