Defeated

Set Uniswap oracles for UDT and most used ERC20 tokens


Proposal ID

991667...7334

Proposed

Apr 30th, 2024

Result details

No votes

No votes were cast

Final Votes

Quorum

0 of 15K

Majority support

No

For

0

Against

0

Abstain

0

Actions

Function 1:

0x8aac16ba00000000000000000000000000000000000000000000000000000000706f6c79000000000000000000000000a8e0fd3d023b1a253ef52b6169851ee95ef257be000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000540000000000000000000000000a238cbeb142c10ef7ad8442c6d1f9e89e07e776100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000004848d80ff0a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000042f012411336105d4451713d23b5156038a48569ece3a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000445c38eb3a0000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f61900000000000000000000000035c6b8761c7d9af75fa193dac09d5b7b5b34981d012411336105d4451713d23b5156038a48569ece3a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000445c38eb3a0000000000000000000000008f3cf7ad23cd3cadbd9735aff958023239c6a0630000000000000000000000008c0ac149fabeec9b759a43fc7d301b1a1d8de0d0012411336105d4451713d23b5156038a48569ece3a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000445c38eb3a000000000000000000000000c2132d05d31c914a87c6611c10748aeb04b58e8f00000000000000000000000035c6b8761c7d9af75fa193dac09d5b7b5b34981d012411336105d4451713d23b5156038a48569ece3a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000445c38eb3a0000000000000000000000003c499c542cef5e3811e1192ce70d8cc03d5c335900000000000000000000000086399725a83bb14c47bb5ce8311ed25378baa162012411336105d4451713d23b5156038a48569ece3a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000445c38eb3a0000000000000000000000001bfd67037b42cf73acf2047067bd4f2c47d9bfd60000000000000000000000008c0ac149fabeec9b759a43fc7d301b1a1d8de0d0012411336105d4451713d23b5156038a48569ece3a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000445c38eb3a0000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa8417400000000000000000000000086399725a83bb14c47bb5ce8311ed25378baa162012411336105d4451713d23b5156038a48569ece3a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000445c38eb3a000000000000000000000000e06bd4f5aac8d0aa337d13ec88db6defc6eaeefe00000000000000000000000086399725a83bb14c47bb5ce8311ed25378baa162000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Value:0

Proposal

Goal of the proposal

This proposal sets Uniswap oracle in Unlock factory contracts across the following chains: Polygon.

The goal is twofold: 1) enable the distribution of UDT for referrers when buying keys and 2) better calculation of the Gross Network Product (GNP) by taking into accounts the most commonly used tokens.

About this proposal

On each chain, wrappers for Uniswap oracle contracts have been deployed. An oracle is used to guess the current exchange rate of a specific token pair (for instance ETH/USDC).

The same oracle contract can be used for any pairs, with the limitation that there needs to be an existing / active Uniswap pool for that pair. Three different contracts are used to query the rate for the three tiers of Uniswap pool fees. Fee amounts are hundredths of the basis point so 100 fee unit is 0.01%, 500 is 0.05%, and 3000 is 0.3%.

For each token, the working oracle is selected and added to the Unlock contract using the setOracle function.

How it works

The proposal uses a cross-chain proposal pattern that, once passed, will send the calls to multiple chains at once. This pattern has been introduced and tested in a previous proposal.

Here, the calls for each chain have been packed with Gnosis Multicall contract to be executed at once on the destination chain.

The calls

This DAO proposal contains 1 calls:

Polygon (137) 7 calls (packed in a single multicall)

  • Oracle for WETH (0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619) setOracle(0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619,0x35c6b8761c7D9af75Fa193daC09d5b7B5b34981d) (fee: 500)
  • Oracle for DAI (0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063) setOracle(0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063,0x8c0AC149FabEeC9b759a43fC7d301B1a1D8DE0d0) (fee: 100)
  • Oracle for USDT (0xc2132D05D31c914a87C6611C10748AEb04B58e8F) setOracle(0xc2132D05D31c914a87C6611C10748AEb04B58e8F,0x35c6b8761c7D9af75Fa193daC09d5b7B5b34981d) (fee: 500)
  • Oracle for USDC (0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359) setOracle(0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359,0x86399725a83bB14C47bB5ce8311Ed25378BAa162) (fee: 3000)
  • Oracle for WBTC (0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6) setOracle(0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6,0x8c0AC149FabEeC9b759a43fC7d301B1a1D8DE0d0) (fee: 100)
  • Oracle for USDC (0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174) setOracle(0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174,0x86399725a83bB14C47bB5ce8311Ed25378BAa162) (fee: 3000)
  • Oracle for IXT (0xE06Bd4F5aAc8D0aA337D13eC88dB6defC6eAEefE) setOracle(0xE06Bd4F5aAc8D0aA337D13eC88dB6defC6eAEefE,0x86399725a83bB14C47bB5ce8311Ed25378BAa162) (fee: 3000)

Onwards !

The Unlock Protocol Team

Final Votes

Quorum

0 of 15K

Majority support

No

For

0

Against

0

Abstain

0

Final Votes

No votes

No votes were cast

Status

Tue Apr 30, 12:51 pm

Published onchain

Sun May 26, 01:30 pm

Voting period started

Sun May 26, 01:32 pm

Voting period ended

Proposal defeated