writeups/ethernaut/ #46
Replies: 1 comment
-
Puzzle Wallet那道题,为什么会是proxy和imple部署在同一个地址上呢所以共享slot呢。我的理解是proxy调用imple函数的时候是通过delegate call🤔 代理合约的实现应该类似这样: fallback() external payable {
_delegate(_implementation());
}
function _delegate(address implementation) internal {
assembly {
// delegatecall logic
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
writeups/ethernaut/
鹤翔万里(TonyCrane)的笔记本
https://note.tonycrane.cc/writeups/ethernaut/
Beta Was this translation helpful? Give feedback.
All reactions