Aesthetically Pleasing Ethereum Statements
An apeline is a single EVM call expressed in a human-readable form.
An apeline parser extracts the interlaced ABI, values, and options from the apeline, and generates encoded calldata.
[type value, ...] = addr.funcName.calltype{callopts}(type value, ...)
- typeis an EVM ABI type (like- uint256)
- valueis a literal value (parses depending on type), or a variable name
- addris an address (literal or variable)
- funcNameis the function name
- calltypeis- call,- view, or- delc
- calloptsis (optional)- {gas: _, value: _}
$DMAP.set(bytes32 'hello', bytes32 'bob', bytes32 0x1)
$WETH.transfer(address $BOB, uint 100wad)