Translations: Lightweight Contracts/34/en
Alternatively, create an inner interface decorated with the
@ContractParametersProvider annotation inside your contract and define a method with the annotation
@ContractRunnerParameter using the same name as the corresponding parameter in the contract runner configuration file.
For example see the
secretPhrases() method of the
LeaseRenewal sample contract which returns the array of passphrases specified in contracts.json