You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An ARC4 StaticArray is an array of a fixed size. The item type is specified by the first generic parameter and the size is specified by the second.
Request
I'm requesting that the Puya-TS implementation of StaticArray support the ability to specify the size of the array with TemplateVar<UintN<8>>. This is currently not possible in Tealscript and I think it would be great to have in Puya-TS.
The text was updated successfully, but these errors were encountered:
ericsharma
changed the title
Feature Request: Uint64 TemplateVar support for defining the length of an ARC4 StaticArray
Feature Request: UintN TemplateVar support for defining the length of an ARC4 StaticArray
Feb 5, 2025
Definition of ARC4 StaticArray
An ARC4 StaticArray is an array of a fixed size. The item type is specified by the first generic parameter and the size is specified by the second.
Request
I'm requesting that the Puya-TS implementation of StaticArray support the ability to specify the size of the array with
TemplateVar<UintN<8>>
. This is currently not possible in Tealscript and I think it would be great to have in Puya-TS.References
Idea briefly discussed in this discord thread
The text was updated successfully, but these errors were encountered: