Newtypes for app id, asset id, tx id
ivnsch opened this issue · 5 comments
ivnsch commented
It seems convenient to have types for these ids (similar to e.g. Round
)
manuelmauro commented
It seems like a good idea!
Niceural commented
from the documentation it seems that app id, asset id, and tx id are of type uint64
. Do we want something like type AppId = uint64;
?
ivnsch commented
I'd use a tuple struct, which gives us type safety for free.
Niceural commented
thanks for the guidance, will give it a go!
xpanvictor commented
is this still in progress, want to try it out