-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unifty test data and sample workspace
- Loading branch information
1 parent
d2aeca7
commit 52fecbf
Showing
38 changed files
with
4,716 additions
and
1,182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#pragma version 6 | ||
txn ApplicationID | ||
bz label1 | ||
txna ApplicationArgs 0 | ||
pushbytes 0xbf8acaee // 0xbf8acaee | ||
== | ||
assert | ||
global Round | ||
itob | ||
pushbytes 0x23 // "#" | ||
concat | ||
pushbytes 0x636f756e746572 // "counter" | ||
app_global_get | ||
dup | ||
pushint 1 | ||
+ | ||
pushbytes 0x636f756e746572 // "counter" | ||
swap | ||
app_global_put | ||
itob | ||
concat | ||
dup | ||
sha512_256 | ||
pushint 0 | ||
extract_uint64 | ||
txna ApplicationArgs 1 | ||
btoi | ||
% | ||
itob | ||
swap | ||
concat | ||
pushbytes 0x151f7c75 // 0x151f7c75 | ||
swap | ||
concat | ||
log | ||
b label2 | ||
label1: | ||
pushbytes 0x636f756e746572 // "counter" | ||
pushint 0 | ||
app_global_put | ||
label2: | ||
pushint 1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#pragma version 6 | ||
txn ApplicationID | ||
bz label1 | ||
txna ApplicationArgs 0 | ||
pushbytes 0x2426bdfc // 0x2426bdfc | ||
== | ||
assert | ||
itxn_begin | ||
pushint 6 | ||
itxn_field TypeEnum | ||
txna Applications 1 | ||
itxn_field ApplicationID | ||
pushbytes 0xbf8acaee // 0xbf8acaee | ||
itxn_field ApplicationArgs | ||
txna ApplicationArgs 1 | ||
len | ||
pushint 2 | ||
- | ||
itob | ||
itxn_field ApplicationArgs | ||
itxn_submit | ||
pushint 0 | ||
itxn NumLogs | ||
pushint 1 | ||
== | ||
assert | ||
itxna Logs 0 | ||
dup | ||
extract 12 0 | ||
swap | ||
extract 4 8 | ||
btoi | ||
txna ApplicationArgs 1 | ||
extract 2 0 | ||
swap | ||
pushint 1 | ||
extract3 | ||
pushbytes 0x151f7c75 // 0x151f7c75 | ||
swap | ||
concat | ||
swap | ||
concat | ||
log | ||
label1: | ||
pushint 1 | ||
return |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.