-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: add capability to overwrite balances of the proxy-based tokens #504
Comments
https://eips.ethereum.org/EIPS/eip-1967 declares how community should work with proxy contracts. Hence we know the method of proxy-based token detection. so as mentioned in the standard specification, if the contract is of proxy type,
general plan on how to handle this:
aka something like
My quick experiment to draft the solution did not result into success ( |
Currently i have an opinion that it is not trivial to come up with a uniform way to handle all the proxy tokens.
|
Goal
Be able to find and overwrite balance of the token that is based on the proxy contract.
Context
Some tokens such as RENBTC or GUSd use the proxy to store information but all the logic is extracted into another contract. In general proxy-contract redirects the function calls to the logic-contract but stores relevant information itself. We should be able to detect the slot of the balance of such token and overwrite it.
Assets
Overview issue #501
Tasks
The text was updated successfully, but these errors were encountered: