project screenshot 1
project screenshot 2
project screenshot 3

Consensus-leap Module

A Safe plugin enabling transaction execution based on cross-chain voting results.

Consensus-leap Module

Created At

ETHIndia 2023

Winner of

Safe - SAFE{CORE} PROTOCOL

Project Description

It is possible to promote on-chain activities of DAOs. By conducting high-frequency and user-intensive tasks such as voting on L2, and performing long-term, low-frequency activities like DeFi operations on L1, blockchain activities can be encouraged while also improving user experience. In particular, determining the policy for L1 activities through voting on L2 allows for the full on-chain establishment of DAO operations.

Links

How it's Made

I needed to quickly grasp a comprehensive understanding of the Safe core protocol specifications and catch up on CCIP's messaging notation. Since Safe is challenging to test locally, I conducted build-and-scrap on-chain. Not only did I implement the passing and execution of calldata via messaging, but I also incorporated Safe's multisend to enable batch execution of multiple transactions. This is convenient as it allows for the management of common DeFi actions like approve->transferFrom or deposit->borrow through voting in a consolidated manner.

background image mobile

Join the mailing list

Get the latest news and updates