template-archive icon indicating copy to clipboard operation
template-archive copied to clipboard

Clause wrapper logic / transforms

Open jeromesimeon opened this issue 7 years ago • 2 comments

  • [ ] Wrapper Logic syntax
  • [ ] Bindings clause vars to global contract vars

jeromesimeon avatar May 04 '18 19:05 jeromesimeon

I don't understand this issue. (And yes, I have only myself to blame). @mttrbrts any idea what this is about?

jeromesimeon avatar Dec 06 '18 01:12 jeromesimeon

Yes, it's related to referencing data in a parent contract from an embedded clause.

For example, if my contract contains a party name in a preamble, that I want to use when I emit an obligation in a smart clause, how do I access the data?

Having clause specific data transformations is one way to solve this potentially?

This is important to making smart clauses context independent

mttrbrts avatar Dec 06 '18 07:12 mttrbrts