Skip to main content

Type Alias: WriteContractParameters<abi, functionName, args>

type WriteContractParameters<abi, functionName, args>: UnionEvaluate<Pick<SendMessageParams, 
| "to"
| "refundTo"
| "bounceTo"
| "tokens"
| "value"
| "seqno"
| "feeCredit">> & ContractFunctionParameters<abi, "nonpayable" | "payable", functionName, args, false>;

Type Parameters

Type ParameterDefault type

abi extends Abi | readonly unknown[]

Abi

functionName extends ContractFunctionName<abi, "payable" | "nonpayable">

ContractFunctionName<abi, "payable" | "nonpayable">

args extends ContractFunctionArgs<abi, "payable" | "nonpayable", functionName>

ContractFunctionArgs<abi, "payable" | "nonpayable", functionName>

Defined

@nilfoundation/niljs/src/contract-factory/ContractFactory.ts:424