From b4bf852f6fdef1e5469f224c8415aee5ca09de11 Mon Sep 17 00:00:00 2001 From: Joe Polny Date: Mon, 8 Jul 2024 19:12:57 -0400 Subject: [PATCH] feat: use addr for address template vars --- .../reti/artifacts/StakingPool.approval.teal | 2 +- .../reti/artifacts/StakingPool.arc32.json | 2 +- .../artifacts/StakingPool.arc56_draft.json | 2 +- src/lib/compiler.ts | 8 +- .../artifacts/Templates.arc56_draft.json | 129 +++++++++--------- 5 files changed, 72 insertions(+), 71 deletions(-) diff --git a/examples/reti/artifacts/StakingPool.approval.teal b/examples/reti/artifacts/StakingPool.approval.teal index 6901e02cb..7eac6c650 100644 --- a/examples/reti/artifacts/StakingPool.approval.teal +++ b/examples/reti/artifacts/StakingPool.approval.teal @@ -3965,7 +3965,7 @@ getFeeSink: // examples/reti/stakingPool.algo.ts:956 // return this.feeSinkAddr; - pushbytes TMPL_feeSinkAddr + addr TMPL_feeSinkAddr retsub // algoSaturationLevel(): uint64 diff --git a/examples/reti/artifacts/StakingPool.arc32.json b/examples/reti/artifacts/StakingPool.arc32.json index 3196ea97e..9e8edff04 100644 --- a/examples/reti/artifacts/StakingPool.arc32.json +++ b/examples/reti/artifacts/StakingPool.arc32.json @@ -161,7 +161,7 @@ } }, "source": { - "approval": "I3ByYWdtYSB2ZXJzaW9uIDEwCgovLyBUaGlzIFRFQUwgd2FzIGdlbmVyYXRlZCBieSBURUFMU2NyaXB0IHYwLjk2LjIKLy8gaHR0cHM6Ly9naXRodWIuY29tL2FsZ29yYW5kZm91bmRhdGlvbi9URUFMU2NyaXB0CgovLyBUaGlzIGNvbnRyYWN0IGlzIGNvbXBsaWFudCB3aXRoIGFuZC9vciBpbXBsZW1lbnRzIHRoZSBmb2xsb3dpbmcgQVJDczogWyBBUkM0IF0KCi8vIFRoZSBmb2xsb3dpbmcgdGVuIGxpbmVzIG9mIFRFQUwgaGFuZGxlIGluaXRpYWwgcHJvZ3JhbSBmbG93Ci8vIFRoaXMgcGF0dGVybiBpcyB1c2V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wCgltYXRjaCAqYWJpX3JvdXRlX2dhcyAqYWJpX3JvdXRlX2luaXRTdG9yYWdlICphYmlfcm91dGVfYWRkU3Rha2UgKmFiaV9yb3V0ZV9yZW1vdmVTdGFrZSAqYWJpX3JvdXRlX2NsYWltVG9rZW5zICphYmlfcm91dGVfZ2V0U3Rha2VySW5mbyAqYWJpX3JvdXRlX3BheVRva2VuUmV3YXJkICphYmlfcm91dGVfdXBkYXRlQWxnb2RWZXIgKmFiaV9yb3V0ZV9lcG9jaEJhbGFuY2VVcGRhdGUgKmFiaV9yb3V0ZV9nb09ubGluZSAqYWJpX3JvdXRlX2dvT2ZmbGluZSAqYWJpX3JvdXRlX2xpbmtUb05GRCAqYWJpX3JvdXRlX3Byb3hpZWRTZXRUb2tlblBheW91dFJhdGlvCgoJLy8gdGhpcyBjb250cmFjdCBkb2VzIG5vdCBpbXBsZW1lbnQgdGhlIGdpdmVuIEFCSSBtZXRob2QgZm9yIGNhbGwgTm9PcAoJZXJyCgoqY2FsbF9VcGRhdGVBcHBsaWNhdGlvbjoKCW1ldGhvZCAidXBkYXRlQXBwbGljYXRpb24oKXZvaWQiCgl0eG5hIEFwcGxpY2F0aW9uQXJncyAwCgltYXRjaCAqYWJpX3JvdXRlX3VwZGF0ZUFwcGxpY2F0aW9uCgoJLy8gdGhpcyBjb250cmFjdCBkb2VzIG5vdCBpbXBsZW1lbnQgdGhlIGdpdmVuIEFCSSBtZXRob2QgZm9yIGNhbGwgVXBkYXRlQXBwbGljYXRpb24KCWVycg==", "clear": "I3ByYWdtYSB2ZXJzaW9uIDEw" }, "contract": { diff --git a/examples/reti/artifacts/StakingPool.arc56_draft.json b/examples/reti/artifacts/StakingPool.arc56_draft.json index 3e533d725..63dfa9ae4 100644 --- a/examples/reti/artifacts/StakingPool.arc56_draft.json +++ b/examples/reti/artifacts/StakingPool.arc56_draft.json @@ -19353,7 +19353,7 @@ } ], "source": { - "approval": "I3ByYWdtYSB2ZXJzaW9uIDEwCgovLyBUaGl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mFjdCBkb2VzIG5vdCBpbXBsZW1lbnQgdGhlIGdpdmVuIEFCSSBtZXRob2QgZm9yIGNhbGwgVXBkYXRlQXBwbGljYXRpb24KCWVycg==", "clear": "I3ByYWdtYSB2ZXJzaW9uIDEw" }, "templateVariables": { diff --git a/src/lib/compiler.ts b/src/lib/compiler.ts index c4592d57d..118cadf4a 100644 --- a/src/lib/compiler.ts +++ b/src/lib/compiler.ts @@ -5871,6 +5871,8 @@ export default class Compiler { const { type, name } = this.templateVars[chain[0].getNameNode().getText()]; if (isNumeric(type)) { this.push(chain[0], `pushint TMPL_${name}`, type); + } else if (type.kind === 'base' && type.type === 'address') { + this.push(chain[0], `addr TMPL_${name}`, type); } else { this.push(chain[0], `pushbytes TMPL_${name}`, type); } @@ -7320,7 +7322,7 @@ declare type AssetFreezeTxn = Required; .map((t) => t.teal) .map((t) => { // Replace template variables - if (t.match(/push(int|bytes) TMPL_/)) { + if (t.trim().match(/^push(int|bytes) TMPL_/) || t.trim().startsWith('addr TMPL_')) { const [opcode, arg] = t.trim().split(' '); if (opcode === 'pushint') return 'pushint 0'; @@ -7328,9 +7330,9 @@ declare type AssetFreezeTxn = Required; if (tVar === undefined) throw Error(`Could not find template variable ${arg}`); - if (this.isDynamicType(tVar.type)) return 'byte 0x'; + if (this.isDynamicType(tVar.type)) return 'pushbytes 0x'; - return `byte 0x${'00'.repeat(this.getTypeLength(tVar.type))}`; + return `pushbytes 0x${'00'.repeat(this.getTypeLength(tVar.type))}`; } // Remove comments to avoid taking up space in the request body diff --git a/tests/contracts/artifacts/Templates.arc56_draft.json b/tests/contracts/artifacts/Templates.arc56_draft.json index 7bb334ce1..7d88ef2d5 100644 --- a/tests/contracts/artifacts/Templates.arc56_draft.json +++ b/tests/contracts/artifacts/Templates.arc56_draft.json @@ -81,61 +81,61 @@ 0, 1, 2, - 3, - 4, - 5, - 6 + 3 ] }, { "teal": 13, "source": 24, "pc": [ - 7, - 8 + 4, + 5 ] }, { "teal": 14, "source": 24, "pc": [ - 9 + 6 ] }, { "teal": 15, "source": 24, "pc": [ - 10, - 11 + 7, + 8 ] }, { "teal": 16, "source": 24, "pc": [ - 12 + 9 ] }, { "teal": 17, "source": 24, "pc": [ - 13, - 14 + 10, + 11 ] }, { "teal": 18, "source": 24, "pc": [ - 15 + 12 ] }, { "teal": 19, "source": 24, "pc": [ + 13, + 14, + 15, 16, 17, 18, @@ -158,10 +158,7 @@ 35, 36, 37, - 38, - 39, - 40, - 41 + 38 ] }, { @@ -169,120 +166,123 @@ "source": 24, "errorMessage": "The requested action is not implemented in this contract. Are you using the correct OnComplete? Did you set your app ID?", "pc": [ - 42 + 39 ] }, { "teal": 28, "source": 33, "pc": [ - 43, - 44, - 45 + 40, + 41, + 42 ] }, { "teal": 29, "source": 33, "pc": [ - 46 + 43 ] }, { "teal": 30, "source": 33, "pc": [ - 47 + 44 ] }, { "teal": 34, "source": 33, "pc": [ - 48, - 49, - 50 + 45, + 46, + 47 ] }, { "teal": 38, "source": 34, "pc": [ - 51 + 48, + 49 ] }, { "teal": 39, "source": 34, "pc": [ - 52 + 50 ] }, { "teal": 43, "source": 35, "pc": [ - 53, - 54 + 51, + 52 ] }, { "teal": 44, "source": 35, "pc": [ - 55 + 53 ] }, { "teal": 45, "source": 33, "pc": [ - 56 + 54 ] }, { "teal": 50, "source": 38, "pc": [ - 57, - 58, - 59 + 55, + 56, + 57 ] }, { "teal": 51, "source": 38, "pc": [ - 60 + 58 ] }, { "teal": 52, "source": 38, "pc": [ - 61 + 59 ] }, { "teal": 56, "source": 38, "pc": [ - 62, - 63, - 64 + 60, + 61, + 62 ] }, { "teal": 60, "source": 39, "pc": [ - 65 + 63, + 64 ] }, { "teal": 61, "source": 39, "pc": [ + 65, 66, 67, 68, @@ -347,14 +347,14 @@ 127, 128, 129, - 130, - 131 + 130 ] }, { "teal": 62, "source": 39, "pc": [ + 131, 132, 133, 134, @@ -387,67 +387,66 @@ 161, 162, 163, - 164, - 165 + 164 ] }, { "teal": 63, "source": 39, "pc": [ - 166 + 165 ] }, { "teal": 64, "source": 38, "pc": [ - 167 + 166 ] }, { "teal": 67, "source": 24, "pc": [ - 168 + 167 ] }, { "teal": 68, "source": 24, "pc": [ - 169 + 168 ] }, { "teal": 71, "source": 24, "pc": [ + 169, 170, 171, 172, 173, - 174, - 175 + 174 ] }, { "teal": 72, "source": 24, "pc": [ + 175, 176, - 177, - 178 + 177 ] }, { "teal": 73, "source": 24, "pc": [ + 178, 179, 180, - 181, - 182 + 181 ] }, { @@ -455,52 +454,52 @@ "source": 24, "errorMessage": "this contract does not implement the given ABI method for create NoOp", "pc": [ - 183 + 182 ] }, { "teal": 79, "source": 24, "pc": [ + 183, 184, 185, 186, 187, - 188, - 189 + 188 ] }, { "teal": 80, "source": 24, "pc": [ + 189, 190, 191, 192, 193, - 194, - 195 + 194 ] }, { "teal": 81, "source": 24, "pc": [ + 195, 196, - 197, - 198 + 197 ] }, { "teal": 82, "source": 24, "pc": [ + 198, 199, 200, 201, 202, - 203, - 204 + 203 ] }, { @@ -508,7 +507,7 @@ "source": 24, "errorMessage": "this contract does not implement the given ABI method for call NoOp", "pc": [ - 205 + 204 ] } ],