Contracts have a variety of different actions used at different times.
|guard||Create a clause using miniscript with access to the contract's values and context.|
|compile_if||Determine if a |
|then||Create a path or paths that are guaranteed using CTV for a contract to be spent, with optional |
|continuation||Create a suggested path or paths for a contract to be spent that are not guaranteed via CTV with mandatory |
|decl_*!||For any of the above, declare the existence of a method, for e.g. a trait definition, without defining the function.|
This section will teach you then ins and outs of each.