All Questions
2 questions
0
votes
2
answers
492
views
How do I compile a smart contract written in pure yul using Foundry?
Basically I want to do a written tutorial on how to compile and deploy this CREATE2 proxy contract, written in pure Yul.
https://github.com/Arachnid/deterministic-deployment-proxy/blob/master/source/...
2
votes
1
answer
2k
views
How does console.logging work (e.g. Foundry's Console.sol)?
The main block of code in Forge's Console.sol is
address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);
function _sendLogPayload(bytes memory payload) private view {
...