moonstream-to / inspector-facet Goto Github PK
View Code? Open in Web Editor NEWInspector Facet - Inspection utility for EIP2535 Diamond proxies
License: Apache License 2.0
Inspector Facet - Inspection utility for EIP2535 Diamond proxies
License: Apache License 2.0
Have heard from people that they would like to use it but setting up a Python environment is too difficult. It's a reasonable criticism and one that we could mitigate by packaging up Inspector Facet in a docker image and releasing on Docker Hub or GitHub's artifact repository.
It should be possible for users to build an audit log of all cut operations that were performed on a Diamond contract. This will require crawling of DiamondCut
events from the blockchain.
As such, this issue is related to #2 .
Can be confusing for users who are not accustomed to the Python web3 ecosystem.
If a diamond contract does not mount the DiamondLoupeFacet
(which allows for on-chain inspection of attached functionality), then we need to crawl blockchain events to understand what functionality is mounted on that contract.
It should be possible for a user to provide us with a file of diamond-related events for a diamond contract and get all the benefits of Inspector Facet for the inspection of those events.
Hardhat build artifacts differ from Brownie build artifacts as follows:
artifacts/
directory instead of the build/
directory. artifacts/contracts/
contains the contract ABIs.build/contracts/
has a flat structure. Hardhat artifacts/contracts/
reflects the directory structure of the contracts/
directory containing solidity files.contractName
field that defines the name of the contract in question. They also have a sourceName
question that contains the path to the source (solidity) file from the hardhat project root.Inspector Facet should support getting ABI side-information from hardhat project directories in addition to brownie project directories.
inspector-facet
that the invoker uses to specify whether they want to get ABI information from a brownie project vs. a hardhat project? Or should it be auto-detected?inspector-facet
with Hardhat projects. One potential area of confusion is that inspector-facet
uses brownie to pull smart contract information and so requires brownie networks
setup correctly. This has no bearing on whether it gets side information from a brownie project vs. a hardhat project. We should clarify this in README.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.