WriteActionCreator
WriteActionCreator<
THumanReadableAbi
,TBytecode
,TDeployedBytecode
,TAddress
,TAddressArgs
>: { [TFunctionName in ExtractAbiFunctionNames<ParseAbi<THumanReadableAbi>, “payable” | “nonpayable”>]: Function & Object & TAddressArgs }
A mapping of payable and nonpayable contract methods to action creators
Example
Type parameters
• THumanReadableAbi extends readonly string
[]
• TBytecode extends Hex
| undefined
• TDeployedBytecode extends Hex
| undefined
• TAddress extends Address
| undefined
• TAddressArgs = TAddress
extends undefined
? object
: object
Source
write/WriteActionCreator.ts:23