From dc06ff12f7f14a649634bcd88b6a675d76d38bc7 Mon Sep 17 00:00:00 2001 From: Piotr Konowrocki Date: Wed, 24 Apr 2024 10:11:24 +0200 Subject: [PATCH] add safe token and safe/dai pool --- packages/addresses/package.json | 2 +- packages/deploy-configurations/configs/mainnet.conf.ts | 8 ++++++++ .../configs/shared/common-defaults.ts | 4 ++++ .../configs/shared/empty-ajna-pools.ts | 4 ++++ .../types/deployment-config/ajna-protocol.ts | 1 + .../types/deployment-config/tokens.ts | 1 + 6 files changed, 19 insertions(+), 1 deletion(-) diff --git a/packages/addresses/package.json b/packages/addresses/package.json index 1c91a48fc..6eb19ea70 100644 --- a/packages/addresses/package.json +++ b/packages/addresses/package.json @@ -1,6 +1,6 @@ { "name": "@oasisdex/addresses", - "version": "0.1.61", + "version": "0.1.62", "typings": "lib/index.d.ts", "types": "lib/index.d.ts", "main": "lib/index.js", diff --git a/packages/deploy-configurations/configs/mainnet.conf.ts b/packages/deploy-configurations/configs/mainnet.conf.ts index 15bd0ba65..3a994c976 100644 --- a/packages/deploy-configurations/configs/mainnet.conf.ts +++ b/packages/deploy-configurations/configs/mainnet.conf.ts @@ -749,6 +749,10 @@ export const config: SystemConfig = { name: 'RWA006', address: '0x4EE03cfBF6E784c462839f5954d60f7C2B60b113', }, + SAFE: { + name: 'SAFE', + address: '0x5aFE3855358E112B5647B952709E6165e1c1eEEe', + }, SDAI: { name: 'SDAI', address: '0x83f20f44975d03b1b09e64809b757c47f942beea', @@ -1696,6 +1700,10 @@ export const config: SystemConfig = { name: 'AjnaPoolPairs_SDAIENA', address: '0x52054b0f7f07bb8e6daa06d177ece312ccc1f685', }, + AjnaPoolPairs_SAFEDAI: { + name: 'AjnaPoolPairs_SAFEDAI', + address: '0x37b5921f0da465df64637a418110a2e3aa90b209', + }, AjnaPoolInfo: { name: 'AjnaPoolInfo', address: '0x30c5eF2997d6a882DE52c4ec01B6D0a5e5B4fAAE', diff --git a/packages/deploy-configurations/configs/shared/common-defaults.ts b/packages/deploy-configurations/configs/shared/common-defaults.ts index 33d94b686..fadc54d42 100644 --- a/packages/deploy-configurations/configs/shared/common-defaults.ts +++ b/packages/deploy-configurations/configs/shared/common-defaults.ts @@ -189,4 +189,8 @@ export const commonDefaults = { name: 'USDA', address: ADDRESS_ZERO, }, + SAFE: { + name: 'SAFE', + address: ADDRESS_ZERO, + }, } as const diff --git a/packages/deploy-configurations/configs/shared/empty-ajna-pools.ts b/packages/deploy-configurations/configs/shared/empty-ajna-pools.ts index 1ec55b8c6..4a2dedbf4 100644 --- a/packages/deploy-configurations/configs/shared/empty-ajna-pools.ts +++ b/packages/deploy-configurations/configs/shared/empty-ajna-pools.ts @@ -241,4 +241,8 @@ export const emptyAjnaPools = { name: 'AjnaPoolPairs_PRIMEUSDC', address: ADDRESS_ZERO, }, + AjnaPoolPairs_SAFEDAI: { + name: 'AjnaPoolPairs_SAFEDAI', + address: ADDRESS_ZERO, + }, } as const diff --git a/packages/deploy-configurations/types/deployment-config/ajna-protocol.ts b/packages/deploy-configurations/types/deployment-config/ajna-protocol.ts index adfe5521c..ef86e65b8 100644 --- a/packages/deploy-configurations/types/deployment-config/ajna-protocol.ts +++ b/packages/deploy-configurations/types/deployment-config/ajna-protocol.ts @@ -63,6 +63,7 @@ export type AjnaProtocol = | 'AjnaPoolPairs_SDAIENA' | 'AjnaPoolPairs_AEROUSDC' | 'AjnaPoolPairs_PRIMEUSDC' + | 'AjnaPoolPairs_SAFEDAI' | 'AjnaProxyActions' | 'AjnaRewardsClaimer' | 'AjnaRewardsManager' diff --git a/packages/deploy-configurations/types/deployment-config/tokens.ts b/packages/deploy-configurations/types/deployment-config/tokens.ts index a9139a77f..be6369f6f 100644 --- a/packages/deploy-configurations/types/deployment-config/tokens.ts +++ b/packages/deploy-configurations/types/deployment-config/tokens.ts @@ -48,6 +48,7 @@ export type Tokens = | 'RWA004' | 'RWA005' | 'RWA006' + | 'SAFE' | 'SDAI' | 'STETH' | 'STYETH'