warden-protocol / wardenprotocol

Monorepo for the Warden Protocol.
https://wardenprotocol.org
Apache License 2.0
1.1k stars 107 forks source link

Shield: add string object type #307

Closed Pitasi closed 4 months ago

Pitasi commented 4 months ago

We need a new literal type, "string", to represent objects like addresses (e.g. Ethereum addresses).

We also need support for array literals that include strings, and a new built-in contains(item, array) to check if item is an element of the array.