All Questions
Tagged with delegatecall contract-debugging
6 questions
1
vote
1
answer
51
views
"DELEGATECALL" with value
How is it possible that "DELEGATECALL" with a non-zero value?
Example:
https://sepolia.etherscan.io/tx/0xd697d2db1494197496a8e6312c8295131a1df66bdeafd29be85361f2318832ad/advanced#internal
...
1
vote
1
answer
191
views
Does delegatecall also works for calling other contract's constructor?
I want to call other contract's constructor, but I'm not sure if the delegatecall function will work for that case. I have no way to test it out on Remix, because my Remix seem to not work with even ...
0
votes
2
answers
65
views
Wrong address rertun when I call ownerof with delegatecall
I am trying to call the function "ownerof" of a contract but it return me something like that : ...
2
votes
1
answer
3k
views
Set data for call(), delegatecall(), etc, in Yul / inline assembly?
It seems that almost all the examples of external calls are simple proxies, which do something like this:
assembly {
// Copy msg.data. We take full control of memory in this inline ...
2
votes
1
answer
5k
views
How does delegatecall work from Solidity 0.5.0 onwards?
I am trying, for learning purposes only, to make a mutable smart contract, but I couldn't find anything useful on stackexchange because everything I found was using pragma solidity ^0.4.x;
So, I have ...
3
votes
1
answer
1k
views
Callcode | Delegatecall don't work
I was playing around with call, delegatecall and callcode and discovered that the function reset stopped working after I had made a callcode call (here are my actions):
FROM JS SIDE:
— A.makeCall({...