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

feat: [sc-15082] Curate new ajna pools #667

Merged
merged 2 commits into from
Apr 4, 2024
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
2 changes: 1 addition & 1 deletion packages/addresses/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oasisdex/addresses",
"version": "0.1.55",
"version": "0.1.56",
"typings": "lib/index.d.ts",
"types": "lib/index.d.ts",
"main": "lib/index.js",
Expand Down
2 changes: 2 additions & 0 deletions packages/deploy-configurations/configs/arbitrum.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { SystemConfig } from '@deploy-configurations/types/deployment-config'
import { Network } from '@deploy-configurations/types/network'

import { commonDefaults } from './shared/common-defaults'
import { emptyAjnaPools } from './shared/empty-ajna-pools'

const SERVICE_REGISTRY_NAMES = loadContractNames(Network.ARBITRUM)

Expand Down Expand Up @@ -804,6 +805,7 @@ export const config: SystemConfig = {
AutomationBotAggregator: { name: 'AutomationBotAggregator', address: '' },
},
ajna: {
...emptyAjnaPools,
AjnaPoolPairs_AJNADAI: {
name: 'AjnaPoolPairs_AJNADAI',
address: '0x0000000000000000000000000000000000000000',
Expand Down
22 changes: 22 additions & 0 deletions packages/deploy-configurations/configs/base.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { SystemConfig } from '@deploy-configurations/types/deployment-config'
import { Network } from '@deploy-configurations/types/network'

import { commonDefaults } from './shared/common-defaults'
import { emptyAjnaPools } from './shared/empty-ajna-pools'

const SERVICE_REGISTRY_NAMES = loadContractNames(Network.BASE)

Expand Down Expand Up @@ -1241,6 +1242,7 @@ export const config: SystemConfig = {
},
},
ajna: {
...emptyAjnaPools,
AjnaPoolPairs_AJNADAI: {
name: 'AjnaPoolPairs_AJNADAI',
address: '0x0000000000000000000000000000000000000000',
Expand Down Expand Up @@ -1445,6 +1447,26 @@ export const config: SystemConfig = {
name: 'AjnaPoolPairs_EZETHWETH',
address: '0x0000000000000000000000000000000000000000',
},
AjnaPoolPairs_DEGENUSDC: {
name: 'AjnaPoolPairs_DEGENUSDC',
address: '0x52e69a7cf5076a769e11fffc2e99e837b575f65e',
},
AjnaPoolPairs_DEGENCUSDCV3: {
name: 'AjnaPoolPairs_DEGENCUSDCV3',
address: '0x343F462B050975005c388AE3eA62e4C1FC418C64',
},
AjnaPoolPairs_USDCDEGEN: {
name: 'AjnaPoolPairs_USDCDEGEN',
address: '0x1dec31e6550c958af3e116f23472fe1493476496',
},
AjnaPoolPairs_SNXUSDC: {
name: 'AjnaPoolPairs_SNXUSDC',
address: '0xd784b2ee3cd12a93e7ed592e583f6929f2d4e0b2',
},
AjnaPoolPairs_SNXCUSDCV3: {
name: 'AjnaPoolPairs_SNXCUSDCV3',
address: '0x7B1a82Ac53935884c22187B5fd219d310428D9b5',
},
AjnaPoolInfo: {
name: 'AjnaPoolInfo',
address: '0x97fa9b0909C238D170C1ab3B5c728A3a45BBEcBa',
Expand Down
11 changes: 11 additions & 0 deletions packages/deploy-configurations/configs/mainnet.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { loadContractNames } from '@deploy-configurations/constants'
import { SystemConfig } from '@deploy-configurations/types/deployment-config'
import { Network } from '@deploy-configurations/types/network'

import { emptyAjnaPools } from './shared/empty-ajna-pools'

const SERVICE_REGISTRY_NAMES = loadContractNames(Network.MAINNET)

export const config: SystemConfig = {
Expand Down Expand Up @@ -1475,6 +1477,7 @@ export const config: SystemConfig = {
},
},
ajna: {
...emptyAjnaPools,
AjnaPoolPairs_AJNADAI: {
name: 'AjnaPoolPairs_AJNADAI',
address: '0x2feef99a711d684e00a017c4ac587bea31f12875',
Expand Down Expand Up @@ -1679,6 +1682,14 @@ export const config: SystemConfig = {
name: 'AjnaPoolPairs_EZETHWETH',
address: '0x95af0f183cee1d797c921f53090c73f310610e73',
},
AjnaPoolPairs_ENASDAI: {
name: 'AjnaPoolPairs_ENASDAI',
address: '0x4176747Bc01BE99f9e8FE78A7b2303d4662a2244',
},
AjnaPoolPairs_SDAIENA: {
name: 'AjnaPoolPairs_SDAIENA',
address: '0x52054b0f7f07bb8e6daa06d177ece312ccc1f685',
},
AjnaPoolInfo: {
name: 'AjnaPoolInfo',
address: '0x30c5eF2997d6a882DE52c4ec01B6D0a5e5B4fAAE',
Expand Down
28 changes: 28 additions & 0 deletions packages/deploy-configurations/configs/shared/empty-ajna-pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,32 @@ export const emptyAjnaPools = {
name: 'AjnaPoolPairs_EZETHWETH',
address: ADDRESS_ZERO,
},
AjnaPoolPairs_DEGENUSDC: {
name: 'AjnaPoolPairs_DEGENUSDC',
address: ADDRESS_ZERO,
},
AjnaPoolPairs_DEGENCUSDCV3: {
name: 'AjnaPoolPairs_DEGENCUSDCV3',
address: ADDRESS_ZERO,
},
AjnaPoolPairs_USDCDEGEN: {
name: 'AjnaPoolPairs_USDCDEGEN',
address: ADDRESS_ZERO,
},
AjnaPoolPairs_SNXUSDC: {
name: 'AjnaPoolPairs_SNXUSDC',
address: ADDRESS_ZERO,
},
AjnaPoolPairs_SNXCUSDCV3: {
name: 'AjnaPoolPairs_SNXCUSDCV3',
address: ADDRESS_ZERO,
},
AjnaPoolPairs_ENASDAI: {
name: 'AjnaPoolPairs_ENASDAI',
address: ADDRESS_ZERO,
},
AjnaPoolPairs_SDAIENA: {
name: 'AjnaPoolPairs_SDAIENA',
address: ADDRESS_ZERO,
},
} as const
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ export type AjnaProtocol =
| 'AjnaPoolPairs_UNIETHWETH'
| 'AjnaPoolPairs_MPETHWETH'
| 'AjnaPoolPairs_EZETHWETH'
| 'AjnaPoolPairs_DEGENUSDC'
| 'AjnaPoolPairs_DEGENCUSDCV3'
| 'AjnaPoolPairs_USDCDEGEN'
| 'AjnaPoolPairs_SNXUSDC'
| 'AjnaPoolPairs_SNXCUSDCV3'
| 'AjnaPoolPairs_ENASDAI'
| 'AjnaPoolPairs_SDAIENA'
| 'AjnaProxyActions'
| 'AjnaRewardsClaimer'
| 'AjnaRewardsManager'
Expand Down
Loading