All Questions
Tagged with delegatecall abi
4 questions
1
vote
0
answers
46
views
How to decode DSProxy input data
I'm trying to debug a tx made through a DSProxy deployed on Polygonscan, but I'm having a difficult time since the _data part of the DSProxy function input is ABI-encoded. I would have to comb through ...
1
vote
0
answers
399
views
How to call the super contract function where msg.sender should be same in solidity?
I am trying to call contract A.fun_A() via Contract C
contract A{
function fun_A(address tenant, uint itemId){
//Here the msg.sender should be msg.sender in C
require(msg.sender == ...
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 ...
1
vote
1
answer
961
views
When using delegatecall, data in parameters of type uint[] are left-shifted by 8 bits
progma solidity ^0.4.15;
contract Callee
{
uint public result_;
function foo (uint _length, uint[] _nums) public returns (uint)
{
result_ = 0;
for ( uint i = 0; i <...