-
Notifications
You must be signed in to change notification settings - Fork 55
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
chore: update polygon and base contract addresses #330
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,4 @@ | ||
import { ZetaProtocolNetwork } from "./address.tools"; | ||
export type ParamSymbol = "USDC.BSC" | "USDC.ETH" | "BTC.BTC" | "PEPE.ETH" | "BNB.BSC" | "SHIB.ETH" | "USDT.ETH" | "USDT.BSC" | "POL.POLYGON" | "DAI.ETH" | "ETH.ETH" | "USDT.POL" | "USDC.POL" | "sETH.SEPOLIA" | "USDC" | "gETH" | "ETH.BASESEPOLIA" | "tMATIC" | "tBTC" | "MATIC.AMOY" | "USDC.SEPOLIA" | "tBNB"; | ||
export type ParamChainName = "eth_mainnet" | "bsc_mainnet" | "polygon_mainnet" | "zeta_mainnet" | "btc_mainnet" | "bsc_testnet" | "zeta_testnet" | "btc_testnet" | "amoy_testnet" | "base_sepolia" | "sepolia_testnet"; | ||
export type ParamType = "connector" | "erc20Custody" | "pauser" | "tss" | "tssUpdater" | "uniswapV2Factory" | "uniswapV2Router02" | "uniswapV3Factory" | "uniswapV3Router" | "weth9" | "zetaToken" | "fungibleModule" | "systemContract" | "zrc20" | "zetaTokenConsumerUniV3"; | ||
|
||
export type ParamSymbol = | ||
| "BNB.BSC" | ||
| "BTC.BTC" | ||
| "DAI.ETH" | ||
| "ETH.ETH" | ||
| "gETH" | ||
| "MATIC.AMOY" | ||
| "PEPE.ETH" | ||
| "POL.POLYGON" | ||
| "sETH.SEPOLIA" | ||
| "SHIB.ETH" | ||
| "tBNB" | ||
| "tBTC" | ||
| "tMATIC" | ||
| "USDC.BSC" | ||
| "USDC.ETH" | ||
| "USDC.SEPOLIA" | ||
| "USDC" | ||
| "USDT.BSC" | ||
| "USDT.ETH"; | ||
|
||
export type ParamChainName = ZetaProtocolNetwork; | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On chain it's stored as There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see, is it too much effort to rename all There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. PR to update the networks package to "base_sepolia" is above. This PR updates the types in this repo to "base_sepolia". No effort at all. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Amazing! Hadn't seen the comment above with the other PR due to a github sync delay. My original suggestion still applies with a further update then. We should keep There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That makes sense. We can definitively switch to use that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm taking a look and seems some constants from There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think anyone's going to be refactoring v1 contracts as they're all being replaced by v2. |
||
export type ParamType = | ||
| "connector" | ||
| "erc20Custody" | ||
| "fungibleModule" | ||
| "pauser" | ||
| "systemContract" | ||
| "tss" | ||
| "tssUpdater" | ||
| "uniswapV2Factory" | ||
| "uniswapV2Router02" | ||
| "uniswapV3Factory" | ||
| "uniswapV3Router" | ||
| "weth9" | ||
| "zetaToken" | ||
| "zetaTokenConsumerUniV3" | ||
| "zrc20"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be updated to
base_sepolia
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a legacy file that hasn't been updated in ages. This file as well as
address.tools.ts
and some other files are just there, because they may have been used by the protocol contracts deploy scripts.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated files are
addresses.mainnet.json
andaddresses.testnet.json
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, just wondering about this file being updated in this PR, we can ignore this