July 2022 EOM Report
@daniel-ospina @lee0007 @fartunov
Deliverables
We released the EVMcrispr v0.6.0 “fearless authenticity” with the following features:
- It reads the ABI from Etherscan API, so we do not need to know the entire function signature to use the
exec
command - Completed- If we want to use this feature, we need to set the
$etherscanAPI
variable with a valid API key. - Now, instead of writing the entire signature, we can write the function name. Example
exec @token(WETH) withdraw 40
instead ofexec @token(WETH) withdraw(uint256) 40
. - It supports EIP1822, EIP1967, and other kinds of proxies.
- If we want to use this feature, we need to set the
- We introduced
@ipfs
,@calc
, and@get
helpers. - Completed- The
@ipfs
helper can be used to obtain the CID hash of a string that has been pinned in Pinata. To use this feature, we need to set$ipfs.jwt
with the Pinata JWT key. Example:set $foo @ipfs(Hello world)
. - The
@calc
helper allows calculating big number expressions using+
,-
,*
, and/
. It takes care of the order of the operations and accepts environment variables. Example:@calc(2+8e18*13/$bar)
. - We can use
@get
to get any value exposed in a contract. Example:set $abi name():(string); set $var @get($weth,$abi)
. It calls thename
function of the WETH contract and returns the “Wrapped Ether” string.
- The
Additional deliverables
- We have been working on an enhanced version of the interpreter, much more potent than the current one. It is still immature and needs much testing before its release, but it is already available at https://next.evmcrispr.blossom.software and this git branch. - Ongoing
- It allows much more complex scripts, allowing DAO2DAO connections, or interacting with other protocols in the future.
- It also encapsulates the commands and helpers in modules that can be loaded within the script, keeping the evmcrispr core functionalities much simpler.
- We added a new
raw
command that allows sending a transaction to an address with a custom data field. - Completed
Funding Request
- USDC (90%): $15,000
- ANT (10%): $1,667
We request a relation of 90% USDC / 10% ANT instead of 70% USDC / 30% ANT because of the Financial Guild Proposal to reduce the spending in ANT.
Next steps
For the next version (v0.7.0), we will stabilize the new interpreter which will allow to create more complex and powerful scripts, while trying to make it as backward-compatible as possible with the current ones.
The new interpreter will be able to load modules, packages containing commands, and helpers that will make our life easier.
We will also introduce the switch
command, allowing us to change our connected account or the chain in the middle of a script to operate with different chains and accounts.