Collectif DAO is a novel approach to Filecoin network collateral requirements that leverages a non-custodial liquid staking protocol built on FVM. Using Collectif DAO storage providers can cover their capital needs to grow the storage capacity. Holders of Filecoin can securely deposit their FIL and get yield out of the network storage mining.
@collective-dao/liquid-staking
contains the various Solidity smart contracts used within the Filecoin ecosystem. Those smart contracts are meant to be deployed on Filecoin network on top of FVM.
Please make sure to install the following before working with codebase:
git clone https://github.com/collective-dao/liquid-staking.git
cd liquid-staking
npm install
Tests are executed via Foundry:
npm test
To run specific tests by giving a path to the file you want to run:
forge test --match-contract <CONTRACT_NAME>
forge test --gas-report
forge build
Liquid Staking Pool, which is the main contract that allows stakers to easily deposit their FIL and get yield out of the network storage mining, and Storage Providers to access this FIL for their sector pledges. Liquid staking pool is ERC4626 vault and in future can be connected to other staking pools via Staking Router contract
A Storage Provider Registry is a database that maintains a record of all the Storage Providers on the network. This registry allows Liquid Staking Pool to interact with Storage Providers, and determine their risk profile and FIL allocation.
A Storage Provider Collateral is a system that allows Storage Providers to put collateral in order to pledge FIL from the liquid staking pool. Storage Provider Collateral covers the slashing risks for stakers when SP is misbehaving on the network.
Resolver is the main contract for collecting list of addresses used in the Collectif DAO liquid staking protocol
Reward Collector is the contract responsible for distributing mining rewards from SP's miner actors to the liquid staking pool.
Protocol interacts with Filecoin built-in Miner actors via Filecoin Solidity libraries MinerAPI methods.
-
Liquid Staking Pool:
0xd0437765D1Dc0e2fA14E97d290F135eFdf1a8a9A
- Implementation:
0x47c14daDE9D16e963af745BBaD6f86a0424760eB
- Implementation:
-
Liquid Staking Controller:
0x9B0e598329D12d985F209cC8346090Fc30371a1B
- Implementation:
0x37c8D7Ed062c7068da6184c6482A9f230aDCf51a
- Implementation:
-
Storage Provider Registry:
0x34150FdEd1e598866E5111718e4F5D5af2517f98
- Implementation:
0x87F102415df0Eb6E57291D678185eC42b1a21C90
- Implementation:
-
Storage Provider Collateral:
0x3D52874772C66466c93E36cc3782946fd0FA7666
- Implementation:
0x0F4094F18D00C86f2201aF494B592d1A9B1705Ea
- Implementation:
-
Resolver:
0x577AA248DeB2EAaAfDb1137339F367C54cAf9B3d
- Implementation:
0xC5Ef60783Fd1C6e7A6f37537BA3062466bcdc5D1
- Implementation:
-
Reward Collector:
0x57f5cbca75C410589ae88Fab5ED2e9dA32a0b306
- Implementation:
0xAfF50E1dabDA629A0F08De122e3f44837370Db8b
- Implementation:
-
Liquid Staking Pool:
0x19AAB7dD96E9EedF9E232fE56d1736f53205834a
- Implementation:
0xa9D2d7F420D24fC92E8A5cB5bcb6445F74940270
- Implementation:
-
Liquid Staking Controller:
0xE5222EC4A4B3A64320A04EA81d51D110ca329Df2
- Implementation:
0x5262A885B18c9536001952f909f000c4DD13faDF
- Implementation:
-
Storage Provider Registry:
0xCc6C40Da237F2311e6D8e8e7832b1f76aA6115E4
- Implementation:
0x4cEf33B5022b8e3A7f431E6D146DB8748f7Fa1a5
- Implementation:
-
Storage Provider Collateral:
0x98A79c415aF7b4c0c2C8fB440796D02652AbDF87
- Implementation:
0x34Df18Bd874A48699c87FCd6c4aA6f97BAdF0C7d
- Implementation:
-
Resolver:
0x4867b084C9F5DE0705376d6dcef966c69f8d37a3
- Implementation:
0xbD4a58BfAB72F5b11De69ED120467B51358FDf08
- Implementation:
-
Reward Collector:
0x577AA248DeB2EAaAfDb1137339F367C54cAf9B3d
- Implementation:
0xC5Ef60783Fd1C6e7A6f37537BA3062466bcdc5D1
- Implementation:
If you want to use Collectif DAO to cover your initial pledge requirements, take a look at the extensive Collectif DAO documentation.
General discussion happens most frequently on the Collectif DAO discord. Latest news and announcements on the Collectif DAO twitter