[PRC #5] Setup PWN Chainlink support

TL;DR

Set tags in PWN Hub for PWN Elastic Chainlink Proposal to enable its use in the protocol and accept ownership of the Chainlink Feed Registry.

Voting

Mode: Stewards
Duration: 5 days
Veto threshold: 10%

Proposal

This proposal aims to activate the PWN Elastic Chainlink Proposal and transfer ownership of Chainlink Feed Registry to Protocol timelock. PWN Elastic Chainlink Proposal allows proposal signers to use Chainlink feeds in proposals and set an LTV instead of a credit-to-collateral ratio, increasing overall UX. The Chainlink feeds need to be registered in the new Chainlink Feed Registry deployment managed by PWN.

New Features

  • Proposal LTV: Proposals can set loan-to-value that will define the amount of credit and collateral on proposal acceptance. Accepting such a proposal at different times can change the credit-to-collateral ratio based on asset volatility.

On-chain actions

  1. Schedule actions on Protocol timelock with 0 delay that calls
    1. PWNHub function setTags(address[],bytes32[],bool) that will set LOAN_PROPOSAL and NONCE_MANAGER tags to PWNSimpleLoanElasticChainlinkProposal v1.0
    2. ChainlinkFeedRegistry function acceptOwnership() that will transfer ownership to the Protocol timelock
  2. Execute scheduled timelock actions

Contract addresses

  • Protocol timelock: 0xd8dbdDf1c0FDdf9b5eCFA5C067C38DB66739FBAB
  • PWNHub: 0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5
  • PWNSimpleLoanElasticChainlinkProposal v1.0: 0xBA58E16BE93dAdcBB74a194bDfD9E5933b24016B
  • ChainlinkFeedRegistry: 0x8D5e90706E52a52853dA9A14fA1c63889a412851

PWNHub tag values

  • LOAN_PROPOSAL: 0xc0ba7a416221f318a8087fd62f9ff407488b7f5501e79caf9b0666c2df326b9c
  • NONCE_MANAGER: 0xe41b33e4d1c538d376dd219215a123562fbb87b8c85fa2aa4ebbd8810c2454d9
8 Likes

PRC#5 is now active DAO Stewards proposal. Community has 5 days to veto the proposal in case they don’t agree with it.

4 Likes