Skip to content

Instantly share code, notes, and snippets.

@stechu
Last active February 21, 2020 19:24
Show Gist options
  • Save stechu/8a80eabe65424856c7b2bc26bd3ef8ce to your computer and use it in GitHub Desktop.
Save stechu/8a80eabe65424856c7b2bc26bd3ef8ce to your computer and use it in GitHub Desktop.
periodic_pay_transfer = And(Txn.close_remainder_to() == Global.zero_address(),
Txn.receiver() == tmpl_rcv,
Txn.amount() == tmpl_amt,
Txn.first_valid() % tmpl_period == Int(0),
Txn.last_valid() == tmpl_dur + Txn.first_valid(),
Txn.lease() == tmpl_x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment