Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 2 additions & 17 deletions packages/boba/bobalink/src/utils/chains.ts
Original file line number Diff line number Diff line change
@@ -1,31 +1,16 @@
export const BobaLinkPairs = {
288: {
'0x14e613AC84a31f709eadbdF89C6CC390fDc9540A': {
pair: 'BNB / USD',
decimals: 8,
l2ContractAddress: '0x0000000000000000000000000000000000000000',
},
'0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419': {
pair: 'ETH / USD',
decimals: 8,
l2ContractAddress: '0x0000000000000000000000000000000000000000',
},
'0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c': {
pair: 'BTC / USD',
decimals: 8,
l2ContractAddress: '0x0000000000000000000000000000000000000000',
l2ContractAddress: '0x9e28dE704435871af476460B456Ec741fE5DE24f',
},
},
2888: {
'0xA39434A63A52E749F02807ae27335515BA4b07F7': {
pair: 'BTC / USD',
decimals: 8,
l2ContractAddress: '0x0000000000000000000000000000000000000000',
},
'0xD4a33860578De61DBAbDc8BFdb98FD742fA7028e': {
pair: 'ETH / USD',
decimals: 8,
l2ContractAddress: '0x0000000000000000000000000000000000000000',
l2ContractAddress: '0x9e28dE704435871af476460B456Ec741fE5DE24f',
},
},
31338: {
Expand Down
12 changes: 12 additions & 0 deletions packages/boba/contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ const config: HardhatUserConfig = {
goerli: {
url: process.env.L1_NODE_WEB3_URL || '',
},
'boba-goerli': {
url: 'https://goerli.boba.network',
},
},
solidity: {
compilers: [
Expand Down Expand Up @@ -105,6 +108,7 @@ const config: HardhatUserConfig = {
mainnet: process.env.ETHERSCAN_KEY,
'boba-mainnet': process.env.BOBA_MAINNET_KEY,
goerli: process.env.ETHERSCAN_GOERLI_KEY,
'boba-goerli': process.env.BOBA_MAINNET_KEY,
Copy link
Copy Markdown
Contributor

@sk-enya sk-enya Jan 24, 2023

Choose a reason for hiding this comment

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

Same BOBA_MAINNET_KEY is getting used for Goerli and Mainnet or missed to update it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That's coded as the purpose. The etherscan uses the mainnet key for the testnet.

},
customChains: [
{
Expand All @@ -115,6 +119,14 @@ const config: HardhatUserConfig = {
browserURL: 'https://bobascan.com',
},
},
{
network: 'boba-goerli',
chainId: 2888,
urls: {
apiURL: 'https://api-testnet.bobascan.com/api',
browserURL: 'https://testnet.bobascan.com',
},
},
],
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,8 @@
"Ve_Voter": "0xA107508264aB36eFDc50C51a278B9286C6cB5ABB",
"Ve_Dispatcher": "0x126301CCbdd780Cd129e47594938FB17B3Da43DE",
"BASE_V1_VOTER": "0x8A52a736F632334459e2D710c9C73e07391dae06",
"AuthenticatedFaucet": "0x4E98bAbe5364452cD02FC8E0AD7d9E526B68a5D6"
"AuthenticatedFaucet": "0x4E98bAbe5364452cD02FC8E0AD7d9E526B68a5D6",
"AggregatorHCHepler": "0x45c5dB3F5AC1579DD43404e47562641b61A6AC77",
"Proxy__ETHUSD_AggregatorHC": "0x9e28dE704435871af476460B456Ec741fE5DE24f",
"ETHUSD_AggregatorHC": "0x300f35972189d5FbEe140E552Dac80df85E6521C"
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,8 @@
"Proxy__BobaBillingContract": "0x29F373e4869e69faaeCD3bF747dd1d965328b69f",
"L2StandardTokenFactory": "0xD2ae16D8c66ac7bc1Cf3c9e5d6bfE5f76BeDb826",
"Proxy__Teleportation": "0xd68809330075C792C171C450B983F4D18128e9BF",
"Teleportation": "0x502310DADE5BAB1065c788F6b98B78f5fc49FC09"
"Teleportation": "0x502310DADE5BAB1065c788F6b98B78f5fc49FC09",
"AggregatorHCHepler": "0x45c5dB3F5AC1579DD43404e47562641b61A6AC77",
"Proxy__ETHUSD_AggregatorHC": "0x9e28dE704435871af476460B456Ec741fE5DE24f",
"ETHUSD_AggregatorHC": "0xdB633569e3E6c420e06c15544076333504b18b94"
}