Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [dsproxy]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

How do you implement diamond proxy fallback function?

According to the official EIP2535 in the fallback section: It is missing the position slot: // Find facet for function that is called and execute the // function if a facet is found and return any ...
anonauditor's user avatar
1 vote
0 answers

Proxy Smart Contracts

I am working on a KYC smart contract and I want to provide the upgradable feature so I can add more functions or add more fields to the struct in the future. I have learned about proxies and the way I ...
mno3at l منو3ات's user avatar
0 votes
0 answers

Integration of Safe with our existing product lines Base and Magnum

We at Sharpe Labs have been using DSProxy as a smart account/wallet via proxies for letting users manage their leveraged positions. Question with our products, Product Magnum: User -> ...
Sudeep Sagar's user avatar
1 vote
0 answers

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 ...
Ahmed Ihsan Tawfeeq's user avatar
1 vote
2 answers

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 ...
Patrick Collins's user avatar
0 votes
1 answer

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 ...
Paul Razvan Berg's user avatar
3 votes
0 answers

Failed to decode output: Error: data out-of-bounds (length=0, offset=32, code=BUFFER_OVERRUN, version=abi/5.0.7)

When I try to call some of the unset getters through Proxy, I get this error in Remix Failed to decode output: Error: data out-of-bounds (length=0, offset=32, code=BUFFER_OVERRUN, version=abi/5.0.7) ...
CryptoScroller's user avatar
1 vote
1 answer

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 ...
Paul Razvan Berg's user avatar
11 votes
1 answer

What is DSProxy and how does it work?

Several Ethereum projects use DSProxy to make their protocols more user-friendly. What is DSProxy exactly and how does it work?
Paul Razvan Berg's user avatar