All Questions
Tagged with delegatecall dsproxy
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
2
answers
2k
views
Fastest way to find the function in a contract from it's selector?
Let's say I have a function selector:
0xa9059cbb
And I have a contract as such:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
contract CallAnything {
function balanceOf(address ...
0
votes
1
answer
853
views
How does Solidity decode a struct returned from a delegate call?
I have a proxy contract that delegate calls to a target contract. The proxy is similar to DSProxy.
In it, there is an execute function:
function execute(address target, bytes memory data) external ...
1
vote
1
answer
268
views
Why does this call to DSProxy fail?
Take these two contracts, both deployed on Kovan and with the source code verified:
DSProxy: 0xa92Bed719071A4d33B0B348513E7e866a6ff6B3F
TargetContract: 0xE3CD2e7a628b57d3e50c5f7B921182f676721bDF
And ...