Explain that contracts return excessive funds upon deployment with Deployable
trait
#889
Labels
docs: Book
/book section of the docs: Guides, Cheatsheets, and a streamlined sequence of educational materials
feature: receivers
Process internal, external, bounced incoming messages
kind: docs
Documentation for docs.tact-lang.org kept in docs folder
Milestone
And that it's done automatically when the contract uses the
Deployable
trait.Also, mention that receivers don't do that by default — in order to do refunds in receivers one has to use, say,
self.notify("Cashback".asComment());
or alike by the end of their body.P.S.: Without inheriting the
Deployable
trait, the contract can still handle theDeploy
message like so:The text was updated successfully, but these errors were encountered: