Spoke to 0xBoxer about a few items here and have added updates throughout.
I’ve been playing with Dune Analytics as I know some others have been.
Unfortunately, most of the PieDAO contracts have not been decoded. I wanted to submit all of the contracts for decoding, but as began the process I realized I could use some assistance.
I have compiled the contracts on https://docs.piedao.org/technical/deployed-smart-contracts here:
This link provides edit access to the workbook. If you are uncomfortable making changes, feel free to create a new sheet and paste the existing data there before editing. Otherwise, please feel free to add columns and information. It would be greatly appreciated.
When submitting a contract on Dune, there are some questions about proxies and factories that I do not feel 100% comfortable with.
I could use assistance understanding how to answer the Factory vs. Non-Factory question. I have done my best to visit each contract and check for a proxy. If there is a proxy, I have added the contract in the sheet. As always, I would also appreciate a second set of eyes on my work.
This is indicative of a factory.
I am also not sure the best way to name the contracts.
Dune suggests grabbing the contract name from Etherscan but as we see here the contract name for PLAY token is PProxy. I think it may be more beneficial to make these names more semantic.
Something like: pie_play
Maybe we could use a prefix and determine a naming convention from the documentation on PieDAO’s GitBook.
I am also not entirely familiar with the various types of contracts:
- Implementations and Facets
Generally, I like to ensure alignment before going on and building. In this case, I made some submissions to Dune without getting alignment and now I want to get alignment.
I am sure we can work with the Dune team to address any issues that exist with existing decoding or submissions.
I know that increasing our ability to query smart contract interactions could bring opportunity and value to PieDAO.
I am asking for input and insight on:
- Naming convention <— UPDATE: it may be best to use the contract names on Etherscan
- How to best answer proxy questions on each contract
- How to best answer factory questions on each contract <-- UPDATE: see above
- Contract types
Thank you – looking forward to getting these contracts decoded in Dune and empowering our community to dive deeper into what is going on within the PieDAO ecosystem!