From bf53343748dee04bae27c248967411fcfef82850 Mon Sep 17 00:00:00 2001 From: CiottiGiorgio Date: Tue, 15 Oct 2024 17:55:41 +0200 Subject: [PATCH] added Remote Code tags. --- .../smart_contracts/self_payment/contract.py | 4 ++++ .../smart_contracts/subsidize_app_call/contract.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/projects/python-contract-examples/smart_contracts/self_payment/contract.py b/projects/python-contract-examples/smart_contracts/self_payment/contract.py index 8f65ac9..39143d2 100644 --- a/projects/python-contract-examples/smart_contracts/self_payment/contract.py +++ b/projects/python-contract-examples/smart_contracts/self_payment/contract.py @@ -10,6 +10,7 @@ ) +# example: LSIG_SELFPAYMENT @logicsig def self_payment() -> bool: """ @@ -27,3 +28,6 @@ def self_payment() -> bool: and Txn.last_valid == TemplateVar[UInt64]("LAST_ROUND") and Txn.lease == op.sha256(b"self-payment") ) + + +# example: LSIG_SELFPAYMENT diff --git a/projects/python-contract-examples/smart_contracts/subsidize_app_call/contract.py b/projects/python-contract-examples/smart_contracts/subsidize_app_call/contract.py index 538fcfe..569e992 100644 --- a/projects/python-contract-examples/smart_contracts/subsidize_app_call/contract.py +++ b/projects/python-contract-examples/smart_contracts/subsidize_app_call/contract.py @@ -11,6 +11,7 @@ from algopy.op import GTxn +# example: LSIG_SUBSIDIZEAPPCALL @logicsig def subsidize_app_call() -> bool: """ @@ -32,3 +33,6 @@ def subsidize_app_call() -> bool: == TemplateVar[Application]("KNOWN_APP") and GTxn.fee(Txn.group_index - 1) == 0 ) + + +# example: LSIG_SUBSIDIZEAPPCALL