Skip to content

Commit

Permalink
update prod contract
Browse files Browse the repository at this point in the history
  • Loading branch information
viet-nv committed Nov 2, 2023
1 parent 7a454d1 commit fee92b5
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/components/ProAmm/CandleStickChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const valueFormatter = (val: number) => {
} else {
fraction = parseInt(val.toExponential().match(/e([+-][0-9]+)/)?.[1] ?? '0')
}
return formatDisplayNumber(val, { fractionDigits: 3 - fraction })
return formatDisplayNumber(val, { fractionDigits: fraction })
}

const CandleStickChart = ({
Expand Down
8 changes: 4 additions & 4 deletions src/constants/networks/arbitrum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ const arbitrumInfo: EVMNetworkInfo = {
'0xf2BcDf38baA52F6b0C1Db5B025DfFf01Ae1d6dBd',
],
zap: {
router: '0x48f6D7dAE56623Dde5a0D56B283165cAE1753D70',
validator: '0x1a91f5ADc7cB5763d35A26e98A18520CB9b67e70',
executor: '0x45a5B8Cf524EC574b40e80274F0F3856A679C5c4',
helper: '0x032c677619f72c670e4DA64126B48d906dfa952F',
router: '0x30C5322E4e08AD500c348007f92f120ab4E2b79e',
validator: '0xf0096e5B4AAfeEA1DF557264091569ba125c1172',
executor: '0x4f097F7074D52952006a0763312724929Ff95Cf0',
helper: '0x4E8419EFa0b0A149Dad77b689D37AF17f762f20A',
},
},
limitOrder: '*',
Expand Down
8 changes: 4 additions & 4 deletions src/constants/networks/avax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ const avaxInfo: EVMNetworkInfo = {
'0xf2BcDf38baA52F6b0C1Db5B025DfFf01Ae1d6dBd',
],
zap: {
router: '0x48f6D7dAE56623Dde5a0D56B283165cAE1753D70',
validator: '0x1a91f5ADc7cB5763d35A26e98A18520CB9b67e70',
executor: '0x45a5B8Cf524EC574b40e80274F0F3856A679C5c4',
helper: '0x032c677619f72c670e4DA64126B48d906dfa952F',
router: '0x30C5322E4e08AD500c348007f92f120ab4E2b79e',
validator: '0xf0096e5B4AAfeEA1DF557264091569ba125c1172',
executor: '0x4f097F7074D52952006a0763312724929Ff95Cf0',
helper: '0x4E8419EFa0b0A149Dad77b689D37AF17f762f20A',
},
},
limitOrder: '*',
Expand Down
8 changes: 4 additions & 4 deletions src/constants/networks/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ const base: EVMNetworkInfo = {
farmv2Quoter: '0x6AFeb9EDd6Cf44fA8E89b1eee28284e6dD7705C8',
farmV2S: ['0x3D6AfE2fB73fFEd2E3dD00c501A174554e147a43', '0xf2BcDf38baA52F6b0C1Db5B025DfFf01Ae1d6dBd'],
zap: {
router: '0x1a91f5ADc7cB5763d35A26e98A18520CB9b67e70',
validator: '0x45a5B8Cf524EC574b40e80274F0F3856A679C5c4',
executor: '0x032c677619f72c670e4DA64126B48d906dfa952F',
helper: '0xb99ad0a400aFF7cA5eD7d07410A81Ed7Fc8F7A0e',
router: '0x30C5322E4e08AD500c348007f92f120ab4E2b79e',
validator: '0xf0096e5B4AAfeEA1DF557264091569ba125c1172',
executor: '0x4f097F7074D52952006a0763312724929Ff95Cf0',
helper: '0x4E8419EFa0b0A149Dad77b689D37AF17f762f20A',
},
},
limitOrder: NOT_SUPPORT,
Expand Down
8 changes: 4 additions & 4 deletions src/constants/networks/optimism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ const optimismInfo: EVMNetworkInfo = {
'0xf2BcDf38baA52F6b0C1Db5B025DfFf01Ae1d6dBd',
],
zap: {
router: '0x48f6D7dAE56623Dde5a0D56B283165cAE1753D70',
validator: '0x1a91f5ADc7cB5763d35A26e98A18520CB9b67e70',
executor: '0x45a5B8Cf524EC574b40e80274F0F3856A679C5c4',
helper: '0x032c677619f72c670e4DA64126B48d906dfa952F',
router: '0x30C5322E4e08AD500c348007f92f120ab4E2b79e',
validator: '0xf0096e5B4AAfeEA1DF557264091569ba125c1172',
executor: '0x4f097F7074D52952006a0763312724929Ff95Cf0',
helper: '0x4E8419EFa0b0A149Dad77b689D37AF17f762f20A',
},
},
limitOrder: '*',
Expand Down
8 changes: 4 additions & 4 deletions src/constants/networks/scroll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ const scroll: EVMNetworkInfo = {
farmV2S: [],
'farmV2.1S': ['0x3D6AfE2fB73fFEd2E3dD00c501A174554e147a43', '0xf2BcDf38baA52F6b0C1Db5B025DfFf01Ae1d6dBd'],
zap: {
router: '0x1a91f5ADc7cB5763d35A26e98A18520CB9b67e70',
validator: '0x45a5B8Cf524EC574b40e80274F0F3856A679C5c4',
executor: '0x032c677619f72c670e4DA64126B48d906dfa952F',
helper: '0xb99ad0a400aFF7cA5eD7d07410A81Ed7Fc8F7A0e',
router: '0x30C5322E4e08AD500c348007f92f120ab4E2b79e',
validator: '0xf0096e5B4AAfeEA1DF557264091569ba125c1172',
executor: '0x4f097F7074D52952006a0763312724929Ff95Cf0',
helper: '0x4E8419EFa0b0A149Dad77b689D37AF17f762f20A',
},
},
limitOrder: NOT_SUPPORT,
Expand Down

0 comments on commit fee92b5

Please sign in to comment.