Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add USDT market on ETH mainnet #827

Open
wants to merge 34 commits into
base: main
Choose a base branch
from

Conversation

vincetiu8
Copy link

@vincetiu8 vincetiu8 commented Feb 2, 2024

Based on #818.

Copies market variables from mainnet USDC market.

Assets:

  • WBTC
  • WETH
  • COMP
  • LINK
  • UNI
  • wstETH

Hans Wang and others added 30 commits August 30, 2023 09:11
Co-authored-by: Kevin Cheng <kevincheng96@hotmail.com>
Co-authored-by: Kevin Cheng <kevincheng96@hotmail.com>
Co-authored-by: Kevin Cheng <kevincheng96@hotmail.com>
Co-authored-by: Kevin Cheng <kevincheng96@hotmail.com>
Co-authored-by: Kevin Cheng <kevincheng96@hotmail.com>
…h new Comet logics that will compare Comet's raw balance diff to credit user in accounting. Comet's always got 0 token, so comet always credit 0, thus it won't hit SupplyCapExceeded() error no more
…dded one test case to show the known vulnerability (re-entrance when token contract itself is eploited)
…racts with the risk of storage collision"

This reverts commit d0f016a.
Hans Wang and others added 2 commits September 18, 2023 11:40
@vincetiu8 vincetiu8 changed the title Add USDT market on ETH mainnet. Add USDT market on ETH mainnet Feb 18, 2024
@vincetiu8 vincetiu8 force-pushed the franklindao/mainnet-usdt branch 2 times, most recently from 75fbae8 to b621671 Compare April 1, 2024 22:35
@vincetiu8 vincetiu8 force-pushed the franklindao/mainnet-usdt branch 2 times, most recently from 484f5fe to a99961f Compare April 10, 2024 13:48
@@ -194,6 +194,8 @@ contract Comet is CometMainInterface {

/**
* @dev Prevents marked functions from being reentered
* Note: this restrict contracts from calling comet functions in their hooks.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: "restrict" should be "restricts"

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.

3 participants