WriteActionCreator
WriteActionCreator<
THumanReadableAbi
,TAddress
,TCode
,TAddressArgs
>: { [TFunctionName in ExtractAbiFunctionNames<ParseAbi<THumanReadableAbi>, “payable” | “nonpayable”>]: Function & Object & (TCode extends undefined ? Object : Object) & TAddressArgs }
A mapping of payable and nonpayable contract methods to action creators
Example
Type Parameters
• THumanReadableAbi extends readonly string
[]
• TAddress extends Address
| undefined
• TCode extends Hex
| undefined
• TAddressArgs = TAddress
extends undefined
? object
: object