LIP-18: Vault Contract for Potential Self-Cover Purposes

Simple Summary

The Lido Insurance Fund is planned to be used by the Lido DAO as a transparent store of funds allocated for potential self-cover purposes.

Motivation

Initially, Lido hedged against slashing penalties via a third-party insurance provider. In a July 2021 vote, the DAO decided to explore an independent approach by marking the funds accrued in the form of protocol fees as potentially usable for self-cover purposes. The enactment of vote #134 redirected the flow of protocol fees into the Treasury and fixed the amount allocated for cover. However, there is still no apparent distinction between Insurance and Treasury funds as both are stored under the same contract.

This proposal introduces a dedicated vault contract that will serve as a transparent store for cover funds which can only be retrieved by the DAO Agent. Additionally, the vault features functions for recovering non-cover assets that were sent to the contract by mistake.

NOTE: The proposal does not make any assumptions in regards to any policies, restrictions and regulations that may be applied and only covers technical implementation.

Mechanics

The Insurance Fund is a simple vault that inherits OpenZeppelin’s Ownable and allows the owner to transfer ether, ERC20, ERC721, ERC1155 tokens from the contract. The owner, which will the Lido DAO Agent, can transfer ownership to another entity with an exception of zero address.

Specification and security considerations

Please proceed to the full LIP-18 text published on GitHub for further details.

Links

The post is authored by @azat_s

5 Likes

Here is the final audit report by Statemind for the developed contract: audits/StateMind - Insurance Fund Audit Report 09-2022.pdf at main · lidofinance/audits · GitHub

The contract has been deployed on mainnet: 0x8B3f33234ABD88493c0Cd28De33D583B70beDe35.

We are about to start the omnibus vote shortly to proceed with Redirecting incoming revenue stream from insurance fund to DAO treasury

2 Likes