dappreader / dappreader-v2 Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://dappreader.com
Home Page: https://dappreader.com
对于 proxy 合约,比较正确的方式应该是使用 implmentation 的 abi,或者是将 proxy 和 implementation 的 abi 结合在一起,因为其 纯 proxy 的 abi 没什么调用的意义。
etherscan 并没有直接获取 proxy 合约实现地址的方法,但根据 etherscan 之前的 blog(https://medium.com/etherscan-blog/and-finally-proxy-contract-support-on-etherscan-693e3da0714b) ,可以仿照着这样做:
一些简单的例子:
例子:https://sepolia.etherscan.io/address/0x0474aB335c3dd61E46a154a099Fca4e922751dCF
在 etherscan 上可以传入 [[1,2,false]] 调用,但是在 dappreader 上不行
yarn 1.22.19
node 16.0
npm 7.10.0
yarn install, yarn run serve 会出现如下报错
ERROR Failed to compile with 4 errors 1:27:39 PM
This dependency was not found:
* naive-ui in ./src/main.js, ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Menu.vue?vue&type=script&lang=js and 2 others
To install it, you can run: npm install --save naive-ui
跑了 npm install --save naive-ui
之后就正常了,但就又变成 npm 装包了
对于 bool 的值,设置为 false 不生效。大概率是因为自动给 false 带了 “”
,而 "false"
会被认为是 true.
实例合约:0xBe06dDc17D2d95b7701eF9798Ae818f7E00d1f6D on sepolia https://sepolia.etherscan.io/address/0xBe06dDc17D2d95b7701eF9798Ae818f7E00d1f6D#code
先分别 set 为 true,然后 set 为 false,会发现依然是 true
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.