EVMcrispr / evmcrispr

A library for interacting with Web3 protocols in a easier fashion through a domain-specific language
https://evmcrispr.com
GNU Affero General Public License v3.0
25 stars 10 forks source link

Support `NO_ENTITY`, `ANY_ENTITY` and `BURN_ENTITY` directly #3

Closed sembrestels closed 3 years ago

sembrestels commented 3 years ago

If the param is an address, and "NO_ENTITY", "ANY_ENTITY" or "BURN_ENTITY" is passed, resolve as 0x00..00, 0xff..ff and 0x00..01, respectively.

sembrestels commented 3 years ago

Also add "ETH", "ZERO_ADDRESS", and "XDAI" constants as 0x00..00.

sembrestels commented 3 years ago

Added support in c37694675dd5bac5354190364bec88bc40d5a26b and 3a61fcbcea63725a1f920859456e4d6c193ceb55.