Translations: Lightweight Contracts/130/en

From ArdorDocs
Jump to: navigation, search

Always start your contract code with input validity checks. For example if your contract is triggered by a sendMoney transaction, make sure the payment recipient is the contract account and that the payment uses the expected chain, that the payment amount is correct etc.