The role parsing for Crypto Kitties smart contract
Parsing of which contracts can be called by Crypto Kitties
We got to
What it does
ShowMe fetches a decompiled version of contracts put on a blockchain, analyses the bytecode, and outputs what addresses have rights to
- to call certain functions of a contract
- can initiate, or receive withdrawals
- can be called by a contract
- can call self-destructs
How we built it
We used an API from Eveem.org, which delivers decompiled versions of smart contracts deployed on the main-net as a json file, like this:
Then built a script that analyses each function flow, looks for storage references, how they can be used and how they can be changed.
Challenges we ran into
Mostly a good exercise in teamwork, and learning from each other's various styles of development and project planning.
Accomplishments that we're proud of
This may be a first tool that does such form of analysis.