Translations: Lightweight Contracts/112/en

From ArdorDocs
Jump to: navigation, search

To load the contract setup parameters specified in the contract reference transaction use

context.getContractSetupParameters()

or preferably define the parameter as a method of an inner interface decorated with @ContractParametersProvider annotation. Name the method the same as the parameter name and decorate it with the @ContractSetupParameter annotation.