Git Product home page Git Product logo

Comments (6)

LidamaoHub avatar LidamaoHub commented on June 20, 2024 1

有个粗暴方案,直接读取1967和1822的插槽,取第一个合法地址,基本能cover大部分upgradeable合约 @noyyyy

from dappreader-v2.

LidamaoHub avatar LidamaoHub commented on June 20, 2024

有理,我尝试一下.
似乎基于openzeplling的合约可以通过0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc这个地址来访问到合约,然后使用etherscan的合约接口可以获得最新abi

EIP1822和EIP1167是否有例子呢? @noyyyy

from dappreader-v2.

noyyyy avatar noyyyy commented on June 20, 2024

@LidamaoHub
EIP1167: sudoswap 的 pair https://etherscan.io/address/0xbbB87C6f2D264451ec89FD7a630913f9aB405e52#code
EIP1822: 随便找到了一个 token https://etherscan.io/address/0x39fBBABf11738317a448031930706cd3e612e1B9

from dappreader-v2.

noyyyy avatar noyyyy commented on June 20, 2024

@LidamaoHub EIP1167: sudoswap 的 pair https://etherscan.io/address/0xbbB87C6f2D264451ec89FD7a630913f9aB405e52#code EIP1822: 随便找到了一个 token https://etherscan.io/address/0x39fBBABf11738317a448031930706cd3e612e1B9

Update: sudoswap 的 pair 不能算是标准的 eip1167,看这个例子吧 https://etherscan.io/address/0x47423c6cd0300ce522d441b19586b619c8bd2940#code

from dappreader-v2.

noyyyy avatar noyyyy commented on June 20, 2024

有个粗暴方案,直接读取1967和1822的插槽,取第一个合法地址,基本能cover大部分upgradeable合约 @noyyyy

赞同,这两个应该比较主流。我自己用的更多是 eip1967.

from dappreader-v2.

LidamaoHub avatar LidamaoHub commented on June 20, 2024
image

new update will be deployed soon!
@noyyyy

from dappreader-v2.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.