El De-dog-lo
El De-dog-lo
Meeting notes: Come back to this when it's more concrete.
> One question is: should components be instantiable in memory? Or can they have HashMaps as members. In Solidity, it is possible to define a struct with a mapping as...
A "Safe" ERC20 built-in library could be a good example here `safe_erc20.vy`: ```python def transfer(token: ERC20, receiver: address, amount: uint256): # Handle call return data inconsistencies in implementations... def transferFrom(...):...
An importable module can define: - struct - interface - constant - function (that does not access storage e.g. "pure")
For giggles, can you try `METHOD_ID: constant(bytes4) = 0x12345678`?
Just gonna leave this here: https://eips.ethereum.org/EIPS/eip-2678 highlights: - EVM native artifacts - can publish to decentralized (really good for build reproductions) or centralized infrastructure - no need to re-build anything...
@davidhewitt you mean something like: ```rust #[pymodule] mod my_mod { #[pyexception] enum MyException { ... } ... } ```
Oh! I really like that!
> > Update the contract? > > No file is using V3 lol So why have it?
Is this still relevant?