prop
@opcat-labs/scrypt-ts-opcat v1.0.4
@opcat-labs/scrypt-ts-opcat / prop
Function: prop()
prop(): (
target,propertyName) =>void
Defined in: packages/scrypt-ts-opcat/src/smart-contract/decorators.ts:111
Indicates whether the property is an property of a contract, and ordinary class properties cannot be accessed in contract methods
Returns
Function
Parameters
target
any
propertyName
string
Returns
void