Skip to main content

Block chain

Just random note here

I'll arrange it when time comes

storage data in event​

link

ether.js vs web3.js​

link

storage vs memory vs calldata​

link link

calldata only applies to input parameters. It doesn't apply to returned values.

forge inspect​

optimize gas fee link

view, pure will cost gas fee if it call internally, no gas fee for call externally

Call vs delegatecall​

It's like javascript (this context), so delegatecall looks this function.bind(this)

Link






Solidity by Example