FeedProjects
Developers
Settings
๐ŸŽ‰ A new chapter begins: Boardroom has joined Agora
Learn more
protocol logo
Explore / Projects
Ethereum Name Service

Proposals

Discussions

Members

Information

Create Proposal

Ethereum Name Service

ProposalsDiscussionsMembersInformation
Proposal
Back to Proposals
executedEnded 3 years ago ยท  Onchain

[EP3.3] [Executable] Sell ETH to USDC

By 0x5BFC...418390

Abstract

This proposal executes a swap of 10,000 ETH into USDC, to ensure ENS DAO has enough to cover operating expenses for 18 - 24 months.

Motivation

The DAO currently keeps almost 100% of its spendable treasury in ETH. While ENS generates protocol revenue in ETH, having so much exposure to a single volatile asset places the DAO in a vulnerable position.

This is a proposal to convert 10,000 ETH into USDC through a Cowswap swap.

10,000 ETH is approximately 25% of the total amount of ETH held by the ENS DAO (wallet.ensdao.eth) and register controller (controller.ens.eth) as of January 18, 2023.

It is hoped that this sale will generate in excess of $13m in USDC. The goal is to ensure that the DAO has enough USDC to cover operations for the next 18 - 24 months.

Specification

  1. Call withdraw() on controller.ens.eth (0x283af0b28c62c092c9727f1ee09c02ca627eb7f5)
  2. Call deposit() on WETH9 (0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2), sending 10,000 ETH
  3. Call approve(<milkman>, 10000 ETH) on WETH9 (0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2)
  4. Call requestSwapExactTokensForTokens(10000 ETH, <WETH9>, <USDC>, wallet.ensdao.eth, <uniswap v3 price checker>, <price checker data>) on milkman (0x11C76AD590ABDFFCD980afEC9ad951B160F02797)

Price checker data is configured to check the swap against the Uniswap v3 pool and limit to 2% slippage. It is generated using the below code:

import { ethers } from "https://cdn.ethers.io/lib/ethers-5.2.esm.min.js";

function getCheckerData(slippage, path, fees) {
  return ethers.utils.defaultAbiCoder.encode(
    ["uint256", "bytes"],
    [
      slippage,
      ethers.utils.defaultAbiCoder.encode(
        ["address[]", "uint24[]"],
        [path, fees],
      ),
    ],
  );
}

const checkerData = getCheckerData(
  200,
  [
    "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
    "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  ],
  [5],
);
console.log("checkerData:", checkerData);

Addresses:

  • 0xfe89cc7abb2c4183683ab71653c4cdc9b02d44b7 - wallet.ensdao.eth
  • 0x283af0b28c62c092c9727f1ee09c02ca627eb7f5 - controller.ens.eth
  • 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 - WETH9
  • 0x11C76AD590ABDFFCD980afEC9ad951B160F02797 - milkman
  • 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 - USDC
  • 0x2F965935f93718bB66d53a37a97080785657f0AC - Uniswap v3 slippage checker
Continue Reading
Connect Wallet to Add Note
1
Votes 189
VoterCast PowerVote & Rationale
0x9831...1b6744
202,633

FOR

0xb8c2...A267d5
176,393

FOR

0x809F...eBF68e
160,678

AGAINST

0x2B88...537d12
157,364

FOR

0xed11...a5bb04
155,028

FOR

SHOW MORE
VOTE POWER
0
Connect Wallet
Proposal Status
  • Tue January 31 2023, 11:09 pmPublished Onchain 0x5BFC...418390
  • Tue January 31 2023, 11:09 pmVoting Period Starts
  • Tue February 07 2023, 08:48 amEnd Voting Period
  • Tue February 07 2023, 08:55 amQueue Proposal
  • Thu February 09 2023, 08:56 amExecute Proposal
Current Results

1-FOR

2.09M

89.51%

2-AGAINST

229,931.92

9.85%

3-ABSTAIN

15,136.499

0.65%
DocumentationBrandingContact Us
Home
This Project is Currently Disabled

If you would like to enable it, please checkout below.

Boardroom Subscription

Sign up for an individual subscription (access all projects on the platform)

Subscribe
Enable Project

Enable the entire project for every user

Enable Project
Contact Us