Setting WETH oracle for gas pricing

Proposal Key Aspects

  • Receiver Entity: Celo Governance

  • Status: FINAL

  • Title: Updating WETH oracle contract

  • Author(s): Martín Volpe (@martinvol)

  • **Type of Proposal: **Smart Contract Changes

Summary / Current Status & Motivation

In CGP 203, WETH was enabled as gas currency. However, the oracle address had not been set correctly. This proposals sets it to the well-known SortedOracles contract. All other parameters remain the same.

Specification

Proposed Changes

1. Set WETH parameters

  • Destination: FeeCurrencyDirectory

- Data: address token=0xD221812de1BD094f35587EE8E174B07B6167D9Af, address oracle=0xefB84935239dAcdecF7c5bA76d8dE40b077B7b33, uint256 intrinsicGas=90000

- Value: 0

Verification

`$ celocli governance:view --proposalID TODO -n https://forno.celo.org`

Team or Multisign (Optional)

N/A

Risks

As this is a setting to a well known contract, risk of this proposal is very low.

Additional Support/Resources or Useful Links

1. [Adding Gas Currencies to Celo]( Introduction - Celo Docs )

2. [Paying for Gas with Tokens]( Introduction - Celo Docs )

3. [CGP 203](./cgp-0203.md)

2 Likes

Congrats @martinvol and team on the successful passing of CGP-211 :tada:

This proposal received overwhelming community support:

  • :white_check_mark: YES Votes: Yes 11,966,642 (100%)
  • :cross_mark: NO Votes: 3 (0%)
  • :white_circle: Abstain Votes: 5 (0%)
  • :ballot_box_with_ballot: Total Votes: 11,966,650
  • :busts_in_silhouette: Total Voters: 219

:clap: Big thanks to the community for showing strong support!