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
Name | Type |
---|---|
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
Name | Type |
---|---|
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
Name | Type |
---|---|
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
Name | Type |
---|---|
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
Name | Type |
---|---|
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
Name | Type |
---|---|
runningEvent | RunningEvent |
Returns
void
Inherited from
BaseContract._checkRunningEvents
_deployed
▸ _deployed(blockTag?
): Promise
<Contract
>
Parameters
Name | Type |
---|---|
blockTag? | BlockTag |
Returns
Promise
<Contract
>
Inherited from
BaseContract._deployed
_wrapEvent
▸ _wrapEvent(runningEvent
, log
, listener
): Event
Parameters
Name | Type |
---|---|
runningEvent | RunningEvent |
log | Log |
listener | Listener |
Returns
Event
Inherited from
BaseContract._wrapEvent
attach
▸ attach(addressOrName
): IBasicMetaTransaction
Parameters
Name | Type |
---|---|
addressOrName | string |
Returns
Overrides
BaseContract.attach
connect
▸ connect(signerOrProvider
): IBasicMetaTransaction
Parameters
Name | Type |
---|---|
signerOrProvider | string | Signer | Provider |
Returns
Overrides
BaseContract.connect
deployed
▸ deployed(): Promise
<IBasicMetaTransaction
>
Returns
Promise
<IBasicMetaTransaction
>
Overrides
BaseContract.deployed
emit
▸ emit(eventName
, ...args
): boolean
Parameters
Name | Type |
---|---|
eventName | string | EventFilter |
...args | any [] |
Returns
boolean
Inherited from
BaseContract.emit
executeMetaTransaction
▸ executeMetaTransaction(userAddress
, payload
, sigR
, sigS
, sigV
, overrides?
): Promise
<ContractTransaction
>
Executes a metatransaction targeting this contract
Parameters
Name | Type | Description |
---|---|---|
userAddress | string | The address of the user that signed the metatransaction |
payload | BytesLike | The transaction data that will be executed if signature valid |
sigR | BytesLike | The 'r' part of the signature |
sigS | BytesLike | The 's' part of the signature |
sigV | BigNumberish | The '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
Name | Type | Description |
---|---|---|
userAddress | string | The address of the user that signed the metatransaction |
payload | BytesLike | The transaction data that will be executed if signature valid |
sigR | BytesLike | The 'r' part of the signature |
sigS | BytesLike | The 's' part of the signature |
sigV | BigNumberish | The 'v' part of the signature |
overrides? | PayableOverrides & { from? : string } | - |
Returns
Promise
<ContractTransaction
>
fallback
▸ fallback(overrides?
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
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
Name | Type | Description |
---|---|---|
userAddress | string | The 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
Name | Type | Description |
---|---|---|
userAddress | string | The address of the user that will sign the metatransaction |
overrides? | CallOverrides | - |
Returns
Promise
<BigNumber
>
listenerCount
▸ listenerCount(eventName?
): number
Parameters
Name | Type |
---|---|
eventName? | string | EventFilter |
Returns
number
Inherited from
BaseContract.listenerCount
listeners
▸ listeners<TEvent
>(eventFilter?
): TypedListener
<TEvent
>[]
Type parameters
Name | Type |
---|---|
TEvent | extends TypedEvent <any , any , TEvent > |
Parameters
Name | Type |
---|---|
eventFilter? | TypedEventFilter <TEvent > |
Returns
TypedListener
<TEvent
>[]
Overrides
BaseContract.listeners
▸ listeners(eventName?
): Listener
[]
Parameters
Name | Type |
---|---|
eventName? | string |
Returns
Listener
[]
Overrides
BaseContract.listeners
queryFilter
▸ queryFilter<TEvent
>(event
, fromBlockOrBlockhash?
, toBlock?
): Promise
<TEvent
[]>
Type parameters
Name | Type |
---|---|
TEvent | extends TypedEvent <any , any , TEvent > |
Parameters
Name | Type |
---|---|
event | TypedEventFilter <TEvent > |
fromBlockOrBlockhash? | string | number |
toBlock? | string | number |
Returns
Promise
<TEvent
[]>
Overrides
BaseContract.queryFilter
removeAllListeners
▸ removeAllListeners<TEvent
>(eventFilter
): IBasicMetaTransaction
Type parameters
Name | Type |
---|---|
TEvent | extends TypedEvent <any , any , TEvent > |
Parameters
Name | Type |
---|---|
eventFilter | TypedEventFilter <TEvent > |
Returns
Overrides
BaseContract.removeAllListeners
▸ removeAllListeners(eventName?
): IBasicMetaTransaction
Parameters
Name | Type |
---|---|
eventName? | string |
Returns
Overrides
BaseContract.removeAllListeners