method
bitcoinjs-lib / method
Function: method()
method(
options
): (target
,methodName
,descriptor
) =>PropertyDescriptor
Defined in: packages/scrypt-ts-btc/src/smart-contract/decorators.ts:35
Indicates whether the method is a contract method, and ordinary methods do not affect the execution of the contract.
Parameters
options
MethodDecoratorOptions
= ...
Returns
Function
Parameters
target
any
methodName
string
descriptor
PropertyDescriptor
Returns
PropertyDescriptor