contract
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / index / contract
Function: contract()
Section titled “Function: contract()”contract(
options): <T>(contract,ctx) =>never
Defined in: packages/algo-ts/src/base-contract.ts:86
The contract decorator can be used to specify additional configuration options for a smart contract
Parameters
Section titled “Parameters”options
Section titled “options”An object containing the configuration options
Returns
Section titled “Returns”Function
Type Parameters
Section titled “Type Parameters”• T extends ConstructorFor<BaseContract>
Parameters
Section titled “Parameters”contract
Section titled “contract”T
Returns
Section titled “Returns”never