Skip to content

FIP-13: Lending deployments to Fuse, Kashi, CREAM#117

Merged
Joeysantoro merged 17 commits intoConsenSys-July-21-Auditfrom
FIP-13
Aug 2, 2021
Merged

FIP-13: Lending deployments to Fuse, Kashi, CREAM#117
Joeysantoro merged 17 commits intoConsenSys-July-21-Auditfrom
FIP-13

Conversation

@Joeysantoro
Copy link
Contributor

@Joeysantoro Joeysantoro commented Jul 19, 2021

Overview

Deploy and DAO scripts for FIP-13a. Seeds FEI lending markets across CREAM, Kashi, and Fuse. This is the first deployment of the "Light Lending Deployment Framework"

The pools and amounts to seed are listed out below:

  • C.R.E.A.M - 5M
  • Kashi FEI (asset) / TRIBE (collateral) - 2.5M
  • Kashi FEI (asset) / ETH (collateral) - 2.5M
  • Kashi FEI (asset) / xSushi (collateral) - 2.5M
  • Kashi FEI (asset) / DPI (collateral) - 1M
  • Fuse Pool 6 (Tetranode’s Locker) - 1M
  • Fuse Pool 7 (CLG + Tetranode UpOnly) - 1M
  • Fuse Pool 3,3 (Olympus Pool Party) - 1.333M
  • Fuse Pool 19 (Index Coop) - 1M
  • Fuse Pool 24 (Harvest Finance) - 1M

Specification:

DAO proposals are currently limited to 10 execution steps per proposal, but in order to accommodate all of the above pools and the prerequisite approvals, we use https://multisend.org/ to combine the 5 Fuse pool transfers into 2 transactions (approval + send).

The old FeiRari fFEI were held by the timelock, this proposal also makes a home for those fFEI inside of a PCVDeposit.

The Kashi LP tokens will be owned by the Timelock until a similar PCV Deposit contract can be developed for Kashi Pairs.

  1. Mint 18.833m FEI
  2. Approve multisend FEI
  3. Via Multisend, transfer FEI to the below:
    3a. Transfer 5M FEI to CREAM deposit
    3b. Transfer 1.333M FEI to Pool party deposit
    3c. Transfer 1M FEI to Index Coop Fuse deposit
    3d. Transfer 1M FEI to Fuse Pool 6 deposit
    3e. Transfer 1M FEI to Fuse Pool 7 deposit
    3f. Transfer 1M FEI to Fuse Pool 24 deposit
  4. Transfer fFEI to FeiRari Fuse Pool deposit
  5. Approve Bentobox 5M FEI
  6. Approve masterKashi contract for bentoBox
  7. Transfer 2.5M Kashi fei/eth
  8. Transfer 2.5M Kashi fei/tribe
  9. Transfer 2.5M Kashi fei/xSushi
  10. Transfer 1M Kashi fei/DPI

Tests

To run the scripts:

  1. fill in MAINNET_ALCHEMY_API_KEY in a .env
  2. clone the branch and run npm run test:e2e

Misc

Forum Discussion: https://tribe.fei.money/t/fip-13-a-framework-for-fei-lending-deployments/3405

Snapshot: https://snapshot.org/#/fei.eth/proposal/QmeVZ5kVbRiiRujnfDXE56zK64AKD35nYns51CvqyRYt8o

@Joeysantoro Joeysantoro changed the base branch from master to ConsenSys-July-21-Audit July 19, 2021 00:50
@Joeysantoro Joeysantoro changed the base branch from ConsenSys-July-21-Audit to master July 30, 2021 23:04
@Joeysantoro Joeysantoro changed the base branch from master to ConsenSys-July-21-Audit July 30, 2021 23:04
@Joeysantoro Joeysantoro merged commit f91492b into ConsenSys-July-21-Audit Aug 2, 2021
@xklob xklob deleted the FIP-13 branch September 19, 2021 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments