Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.58: fixes and optimizations #199

Merged
merged 6 commits into from
Oct 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma version 9

// This TEAL was generated by TEALScript v0.57.2
// This TEAL was generated by TEALScript v0.58.0
// https://github.com/algorandfoundation/TEALScript

// This contract is compliant with and/or implements the following ARCs: [ ARC4 ]
Expand Down
4 changes: 2 additions & 2 deletions examples/amm/tealscript_artifacts/ConstantProductAMM.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions examples/arc72/artifacts/ARC72.approval.teal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma version 9

// This TEAL was generated by TEALScript v0.57.2
// This TEAL was generated by TEALScript v0.58.0
// https://github.com/algorandfoundation/TEALScript

// This contract is compliant with and/or implements the following ARCs: [ ARC4 ]
Expand Down Expand Up @@ -377,6 +377,11 @@ mint:
frame_dig -2 // index: uint256
byte 0x0000000000000000000000000000000000000000000000000000000000000001
b+
dup
bitlen
int 256
<=
assert
byte 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
b&
dup
Expand All @@ -386,11 +391,6 @@ mint:
-
swap
substring3
dup
bitlen
int 256
<=
assert
app_global_put
retsub

Expand Down
4 changes: 2 additions & 2 deletions examples/arc72/artifacts/ARC72.json

Large diffs are not rendered by default.

76 changes: 38 additions & 38 deletions examples/arc72/artifacts/ARC72.src_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -2509,74 +2509,74 @@
"teal": 380,
"source": 94,
"pc": [
1282,
1283,
1284,
1285,
1286,
1287,
1288,
1289,
1290,
1291,
1292,
1293,
1294,
1295,
1296,
1297,
1298,
1299,
1300,
1301,
1302,
1303,
1304,
1305,
1306,
1307,
1308,
1309,
1310,
1311,
1312,
1313,
1314,
1315
1282
]
},
{
"teal": 381,
"source": 94,
"pc": [
1316
1283
]
},
{
"teal": 382,
"source": 94,
"pc": [
1317
1284
]
},
{
"teal": 383,
"source": 94,
"pc": [
1318
1285
]
},
{
"teal": 384,
"source": 94,
"pc": [
1319
1286
]
},
{
"teal": 385,
"source": 94,
"pc": [
1287,
1288,
1289,
1290,
1291,
1292,
1293,
1294,
1295,
1296,
1297,
1298,
1299,
1300,
1301,
1302,
1303,
1304,
1305,
1306,
1307,
1308,
1309,
1310,
1311,
1312,
1313,
1314,
1315,
1316,
1317,
1318,
1319,
1320
]
},
Expand Down
4 changes: 2 additions & 2 deletions examples/arc75/ARC75Client.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/arc75/artifacts/ARC75.approval.teal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma version 9

// This TEAL was generated by TEALScript v0.57.2
// This TEAL was generated by TEALScript v0.58.0
// https://github.com/algorandfoundation/TEALScript

// This contract is compliant with and/or implements the following ARCs: [ ARC4 ]
Expand Down
4 changes: 2 additions & 2 deletions examples/arc75/artifacts/ARC75.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma version 9

// This TEAL was generated by TEALScript v0.57.2
// This TEAL was generated by TEALScript v0.58.0
// https://github.com/algorandfoundation/TEALScript

// This contract is compliant with and/or implements the following ARCs: [ ARC4 ]
Expand Down
4 changes: 2 additions & 2 deletions examples/auction/tealscript_artifacts/Auction.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/big_box/artifacts/BigBox.approval.teal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma version 9

// This TEAL was generated by TEALScript v0.57.2
// This TEAL was generated by TEALScript v0.58.0
// https://github.com/algorandfoundation/TEALScript

// This contract is compliant with and/or implements the following ARCs: [ ARC4 ]
Expand Down
4 changes: 2 additions & 2 deletions examples/big_box/artifacts/BigBox.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/calculator/artifacts/Calculator.approval.teal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma version 9

// This TEAL was generated by TEALScript v0.57.2
// This TEAL was generated by TEALScript v0.58.0
// https://github.com/algorandfoundation/TEALScript

// This contract is compliant with and/or implements the following ARCs: [ ARC4 ]
Expand Down
4 changes: 2 additions & 2 deletions examples/calculator/artifacts/Calculator.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/itxns/FactoryCallerClient.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/itxns/artifacts/FactoryCaller.approval.teal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma version 9

// This TEAL was generated by TEALScript v0.57.2
// This TEAL was generated by TEALScript v0.58.0
// https://github.com/algorandfoundation/TEALScript

// This contract is compliant with and/or implements the following ARCs: [ ARC4 ]
Expand Down
4 changes: 2 additions & 2 deletions examples/itxns/artifacts/FactoryCaller.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/itxns/artifacts/NFTFactory.approval.teal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma version 9

// This TEAL was generated by TEALScript v0.57.2
// This TEAL was generated by TEALScript v0.58.0
// https://github.com/algorandfoundation/TEALScript

// This contract is compliant with and/or implements the following ARCs: [ ARC4 ]
Expand Down
4 changes: 2 additions & 2 deletions examples/itxns/artifacts/NFTFactory.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/merkle/MerkleTreeClient.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/merkle/artifacts/MerkleTree.approval.teal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma version 9

// This TEAL was generated by TEALScript v0.57.2
// This TEAL was generated by TEALScript v0.58.0
// https://github.com/algorandfoundation/TEALScript

// This contract is compliant with and/or implements the following ARCs: [ ARC4 ]
Expand Down
4 changes: 2 additions & 2 deletions examples/merkle/artifacts/MerkleTree.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/non_abi/artifacts/NonABIExample.approval.teal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma version 9

// This TEAL was generated by TEALScript v0.57.2
// This TEAL was generated by TEALScript v0.58.0
// https://github.com/algorandfoundation/TEALScript

// !!!! WARNING: This contract is *NOT* ARC4 compliant. It may contain ABI methods, but it also allows app calls where the first argument does NOT match an ABI selector
Expand Down
4 changes: 2 additions & 2 deletions examples/non_abi/artifacts/NonABIExample.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
}
},
"source": {
"approval": "I3ByYWdtYSB2ZXJzaW9uIDkKCi8vIFRoaXMgVEVBTCB3YXMgZ2VuZXJhdGVkIGJ5IFRFQUxTY3JpcHQgdjAuNTcuMgovLyBodHRwczovL2dpdGh1Yi5jb20vYWxnb3JhbmRmb3VuZGF0aW9uL1RFQUxTY3JpcHQKCi8vICEhISEgV0FSTklORzogVGhpcyBjb250cmFjdCBpcyAqTk9UKiBBUkM0IGNvbXBsaWFudC4gSXQgbWF5IGNvbnRhaW4gQUJJIG1ldGhvZHMsIGJ1dCBpdCBhbHNvIGFsbG93cyBhcHAgY2FsbHMgd2hlcmUgdGhlIGZpcnN0IGFyZ3VtZW50IGRvZXMgTk9UIG1hdGNoIGFuIEFCSSBzZWxlY3RvcgoKLy8gVGhlIGZvbGxvd2luZyB0ZW4gbGluZXMgb2YgVEVBTCBoYW5kbGUgaW5pdGlhbCBwcm9ncmFtIGZsb3cKLy8gVGhpcyBwYXR0ZXJuIGlzIHVzZW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