New way to keep funds safe with community monitoring/decision making. Basically your communities situation room!
We want to onboard a billion people on-chain, however before that we need to make the experience safe for them to interact with projects. If you talk with somebody that got rugpulled or lost their money because of a Defi hack, the chances are that they aren't coming back soon unfortunately. We should and will fix that as the crypto community!
Smart contracts can be called decentralised, but the code itself is often really centralised from a security point of view. Basically smart contracts are like a glass canon RPG build, one hit and you have massive damage or even caused the dead of the project. We should work to a more monitoring and consensus based intervention approach. Here is my proposed solution:
Money outflow of a protocol will be delayed and can be potentially flagged. Let's me show you the different flows:
Happy flow
Rugpull scenario
Security issue scenario
This flow will prevent a lot of Defi hacks/Rugpulls (but will still struggle with pool protection probably when there is a swap mechanism, most of the time you want that instant).
However for NFT projects with roadmaps the same can be done. People buy NFT's, but can burn the NFT and leave the project if the team doesn't deliver or they try to rugpull.
Foundry example contract showing the blueprint contract how to combat the different attacks against crypto users. This includes on-chain voting, but I want to change this in the future to off-chain signed voting and do a single request to get all valid votes (hopefully with Chainlink Functions, asked the team for Optimism/L2 support)
Phoenix/Postgres app that indexes the events of the contracts we want to monitor. Shows a real-time dashboard to monitor specific events, requests delays/block withdrawals or even circuit break if necessary.