Vectorized

Results 90 comments of Vectorized

I prefer `Call`, since it is shorter. You can always rename it to `Execution` tho. We just need to call it something. Solady’s LibERC7579 doesn’t have a `Call` struct, so...

For rapid prototyping.

If you need an ERC1967 minimal proxy with immutable args, this is the formulation of the init code. ```solidity abi.encodePacked( hex"61", uint16(args.length + 0x3d), hex"3d8160233d3973", implementation, hex"60095155f3363d3d373d3d363d7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc545af43d6000803e6038573d6000fd5b3d6000f3", args ) ```...

@NoahMarconi Ah, we’ll just go for the bleeding edge in Soledge.

@atarpara You wanna implement this?

@frangio Iirc, `codecopy` returns the code of the implementation contract if it is done in a `delegatecall` context. Cuz ERC6551 uses `extcodecopy` to get the args. https://github.com/erc6551/reference/blob/da16a63fb53db6375175a9dca22f1e19e652a193/src/lib/ERC6551AccountLib.sol#L50

Not urgent, but can consider. @atarpara

What made you think about this trick?

😱 I’m allergic to the inconsistency. 😱