From 07048a4c627767a79c0302b65c74be5e26101500 Mon Sep 17 00:00:00 2001 From: Samarendra Gouda Date: Thu, 3 Oct 2024 08:10:01 +0530 Subject: [PATCH 1/2] fix: aave etherfi connector name --- src/abi/connectors/v2/AAVE-V3-ETHERFI-A.ts | 3 - src/abi/connectors/v2/AAVE-V3-ETHERFI.ts | 321 +++++++++++++++++++++ src/abi/connectors/v2/index.ts | 4 +- src/addresses/mainnet/connectorsV2_M1.ts | 2 +- 4 files changed, 324 insertions(+), 6 deletions(-) delete mode 100644 src/abi/connectors/v2/AAVE-V3-ETHERFI-A.ts create mode 100644 src/abi/connectors/v2/AAVE-V3-ETHERFI.ts diff --git a/src/abi/connectors/v2/AAVE-V3-ETHERFI-A.ts b/src/abi/connectors/v2/AAVE-V3-ETHERFI-A.ts deleted file mode 100644 index b9593e02..00000000 --- a/src/abi/connectors/v2/AAVE-V3-ETHERFI-A.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { AbiItem } from 'web3-utils' - -export const AAVE_V3_ETHERFI_A: AbiItem[] = [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmt","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"rateMode","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"getId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"setId","type":"uint256"}],"name":"LogBorrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rateMode","type":"uint256"},{"indexed":false,"internalType":"address","name":"onBehalfOf","type":"address"},{"indexed":false,"internalType":"uint256","name":"getId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"setId","type":"uint256"}],"name":"LogBorrowOnBehalfOf","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rateMode","type":"uint256"},{"indexed":false,"internalType":"address","name":"delegateTo","type":"address"},{"indexed":false,"internalType":"uint256","name":"getId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"setId","type":"uint256"}],"name":"LogDelegateBorrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"getId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"setId","type":"uint256"}],"name":"LogDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"getId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"setId","type":"uint256"}],"name":"LogDepositWithoutCollateral","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"LogDisableCollateral","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"LogEnableCollateral","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmt","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"rateMode","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"getId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"setId","type":"uint256"}],"name":"LogPayback","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rateMode","type":"uint256"},{"indexed":false,"internalType":"address","name":"onBehalfOf","type":"address"},{"indexed":false,"internalType":"uint256","name":"getId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"setId","type":"uint256"}],"name":"LogPaybackOnBehalfOf","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"categoryId","type":"uint8"}],"name":"LogSetUserEMode","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"rateMode","type":"uint256"}],"name":"LogSwapRateMode","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"getId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"setId","type":"uint256"}],"name":"LogWithdraw","type":"event"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"},{"internalType":"uint256","name":"rateMode","type":"uint256"},{"internalType":"uint256","name":"getId","type":"uint256"},{"internalType":"uint256","name":"setId","type":"uint256"}],"name":"borrow","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"},{"internalType":"uint256","name":"rateMode","type":"uint256"},{"internalType":"address","name":"onBehalfOf","type":"address"},{"internalType":"uint256","name":"getId","type":"uint256"},{"internalType":"uint256","name":"setId","type":"uint256"}],"name":"borrowOnBehalfOf","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rateMode","type":"uint256"},{"internalType":"address","name":"delegateTo","type":"address"},{"internalType":"uint256","name":"getId","type":"uint256"},{"internalType":"uint256","name":"setId","type":"uint256"}],"name":"delegateBorrow","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"},{"internalType":"uint256","name":"getId","type":"uint256"},{"internalType":"uint256","name":"setId","type":"uint256"}],"name":"deposit","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"},{"internalType":"uint256","name":"getId","type":"uint256"},{"internalType":"uint256","name":"setId","type":"uint256"}],"name":"depositWithoutCollateral","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"disableCollateral","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"enableCollateral","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"},{"internalType":"uint256","name":"rateMode","type":"uint256"},{"internalType":"uint256","name":"getId","type":"uint256"},{"internalType":"uint256","name":"setId","type":"uint256"}],"name":"payback","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"},{"internalType":"uint256","name":"rateMode","type":"uint256"},{"internalType":"address","name":"onBehalfOf","type":"address"},{"internalType":"uint256","name":"getId","type":"uint256"},{"internalType":"uint256","name":"setId","type":"uint256"}],"name":"paybackOnBehalfOf","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"},{"internalType":"uint256","name":"rateMode","type":"uint256"},{"internalType":"uint256","name":"getId","type":"uint256"},{"internalType":"uint256","name":"setId","type":"uint256"}],"name":"paybackWithATokens","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"categoryId","type":"uint8"}],"name":"setUserEMode","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"rateMode","type":"uint256"}],"name":"swapBorrowRateMode","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"},{"internalType":"uint256","name":"getId","type":"uint256"},{"internalType":"uint256","name":"setId","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"}] \ No newline at end of file diff --git a/src/abi/connectors/v2/AAVE-V3-ETHERFI.ts b/src/abi/connectors/v2/AAVE-V3-ETHERFI.ts new file mode 100644 index 00000000..03c9b6bf --- /dev/null +++ b/src/abi/connectors/v2/AAVE-V3-ETHERFI.ts @@ -0,0 +1,321 @@ +import { AbiItem } from 'web3-utils' + +export const AAVE_V3_ETHERFI: AbiItem[] = [ + { + anonymous: false, + inputs: [ + { indexed: true, internalType: 'address', name: 'token', type: 'address' }, + { indexed: false, internalType: 'uint256', name: 'tokenAmt', type: 'uint256' }, + { indexed: true, internalType: 'uint256', name: 'rateMode', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'getId', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'LogBorrow', + type: 'event' + }, + { + anonymous: false, + inputs: [ + { indexed: false, internalType: 'address', name: 'token', type: 'address' }, + { indexed: false, internalType: 'uint256', name: 'amt', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'rateMode', type: 'uint256' }, + { indexed: false, internalType: 'address', name: 'onBehalfOf', type: 'address' }, + { indexed: false, internalType: 'uint256', name: 'getId', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'LogBorrowOnBehalfOf', + type: 'event' + }, + { + anonymous: false, + inputs: [ + { indexed: false, internalType: 'address', name: 'token', type: 'address' }, + { indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'rateMode', type: 'uint256' }, + { indexed: false, internalType: 'address', name: 'delegateTo', type: 'address' }, + { indexed: false, internalType: 'uint256', name: 'getId', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'LogDelegateBorrow', + type: 'event' + }, + { + anonymous: false, + inputs: [ + { indexed: true, internalType: 'address', name: 'token', type: 'address' }, + { indexed: false, internalType: 'uint256', name: 'tokenAmt', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'getId', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'LogDeposit', + type: 'event' + }, + { + anonymous: false, + inputs: [ + { indexed: false, internalType: 'address', name: 'token', type: 'address' }, + { indexed: false, internalType: 'uint256', name: 'amt', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'getId', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'LogDepositWithoutCollateral', + type: 'event' + }, + { + anonymous: false, + inputs: [{ indexed: false, internalType: 'address[]', name: 'tokens', type: 'address[]' }], + name: 'LogDisableCollateral', + type: 'event' + }, + { + anonymous: false, + inputs: [{ indexed: false, internalType: 'address[]', name: 'tokens', type: 'address[]' }], + name: 'LogEnableCollateral', + type: 'event' + }, + { + anonymous: false, + inputs: [ + { indexed: true, internalType: 'address', name: 'token', type: 'address' }, + { indexed: false, internalType: 'uint256', name: 'tokenAmt', type: 'uint256' }, + { indexed: true, internalType: 'uint256', name: 'rateMode', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'getId', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'LogPayback', + type: 'event' + }, + { + anonymous: false, + inputs: [ + { indexed: false, internalType: 'address', name: 'token', type: 'address' }, + { indexed: false, internalType: 'uint256', name: 'amt', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'rateMode', type: 'uint256' }, + { indexed: false, internalType: 'address', name: 'onBehalfOf', type: 'address' }, + { indexed: false, internalType: 'uint256', name: 'getId', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'LogPaybackOnBehalfOf', + type: 'event' + }, + { + anonymous: false, + inputs: [{ indexed: false, internalType: 'uint8', name: 'categoryId', type: 'uint8' }], + name: 'LogSetUserEMode', + type: 'event' + }, + { + anonymous: false, + inputs: [ + { indexed: true, internalType: 'address', name: 'token', type: 'address' }, + { indexed: false, internalType: 'uint256', name: 'rateMode', type: 'uint256' } + ], + name: 'LogSwapRateMode', + type: 'event' + }, + { + anonymous: false, + inputs: [ + { indexed: true, internalType: 'address', name: 'token', type: 'address' }, + { indexed: false, internalType: 'uint256', name: 'tokenAmt', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'getId', type: 'uint256' }, + { indexed: false, internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'LogWithdraw', + type: 'event' + }, + { + inputs: [ + { internalType: 'address', name: 'token', type: 'address' }, + { internalType: 'uint256', name: 'amt', type: 'uint256' }, + { internalType: 'uint256', name: 'rateMode', type: 'uint256' }, + { internalType: 'uint256', name: 'getId', type: 'uint256' }, + { internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'borrow', + outputs: [ + { internalType: 'string', name: '_eventName', type: 'string' }, + { internalType: 'bytes', name: '_eventParam', type: 'bytes' } + ], + stateMutability: 'payable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'token', type: 'address' }, + { internalType: 'uint256', name: 'amt', type: 'uint256' }, + { internalType: 'uint256', name: 'rateMode', type: 'uint256' }, + { internalType: 'address', name: 'onBehalfOf', type: 'address' }, + { internalType: 'uint256', name: 'getId', type: 'uint256' }, + { internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'borrowOnBehalfOf', + outputs: [ + { internalType: 'string', name: '_eventName', type: 'string' }, + { internalType: 'bytes', name: '_eventParam', type: 'bytes' } + ], + stateMutability: 'payable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'token', type: 'address' }, + { internalType: 'uint256', name: 'amount', type: 'uint256' }, + { internalType: 'uint256', name: 'rateMode', type: 'uint256' }, + { internalType: 'address', name: 'delegateTo', type: 'address' }, + { internalType: 'uint256', name: 'getId', type: 'uint256' }, + { internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'delegateBorrow', + outputs: [ + { internalType: 'string', name: '_eventName', type: 'string' }, + { internalType: 'bytes', name: '_eventParam', type: 'bytes' } + ], + stateMutability: 'payable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'token', type: 'address' }, + { internalType: 'uint256', name: 'amt', type: 'uint256' }, + { internalType: 'uint256', name: 'getId', type: 'uint256' }, + { internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'deposit', + outputs: [ + { internalType: 'string', name: '_eventName', type: 'string' }, + { internalType: 'bytes', name: '_eventParam', type: 'bytes' } + ], + stateMutability: 'payable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'token', type: 'address' }, + { internalType: 'uint256', name: 'amt', type: 'uint256' }, + { internalType: 'uint256', name: 'getId', type: 'uint256' }, + { internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'depositWithoutCollateral', + outputs: [ + { internalType: 'string', name: '_eventName', type: 'string' }, + { internalType: 'bytes', name: '_eventParam', type: 'bytes' } + ], + stateMutability: 'payable', + type: 'function' + }, + { + inputs: [{ internalType: 'address[]', name: 'tokens', type: 'address[]' }], + name: 'disableCollateral', + outputs: [ + { internalType: 'string', name: '_eventName', type: 'string' }, + { internalType: 'bytes', name: '_eventParam', type: 'bytes' } + ], + stateMutability: 'payable', + type: 'function' + }, + { + inputs: [{ internalType: 'address[]', name: 'tokens', type: 'address[]' }], + name: 'enableCollateral', + outputs: [ + { internalType: 'string', name: '_eventName', type: 'string' }, + { internalType: 'bytes', name: '_eventParam', type: 'bytes' } + ], + stateMutability: 'payable', + type: 'function' + }, + { + inputs: [], + name: 'name', + outputs: [{ internalType: 'string', name: '', type: 'string' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'token', type: 'address' }, + { internalType: 'uint256', name: 'amt', type: 'uint256' }, + { internalType: 'uint256', name: 'rateMode', type: 'uint256' }, + { internalType: 'uint256', name: 'getId', type: 'uint256' }, + { internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'payback', + outputs: [ + { internalType: 'string', name: '_eventName', type: 'string' }, + { internalType: 'bytes', name: '_eventParam', type: 'bytes' } + ], + stateMutability: 'payable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'token', type: 'address' }, + { internalType: 'uint256', name: 'amt', type: 'uint256' }, + { internalType: 'uint256', name: 'rateMode', type: 'uint256' }, + { internalType: 'address', name: 'onBehalfOf', type: 'address' }, + { internalType: 'uint256', name: 'getId', type: 'uint256' }, + { internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'paybackOnBehalfOf', + outputs: [ + { internalType: 'string', name: '_eventName', type: 'string' }, + { internalType: 'bytes', name: '_eventParam', type: 'bytes' } + ], + stateMutability: 'payable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'token', type: 'address' }, + { internalType: 'uint256', name: 'amt', type: 'uint256' }, + { internalType: 'uint256', name: 'rateMode', type: 'uint256' }, + { internalType: 'uint256', name: 'getId', type: 'uint256' }, + { internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'paybackWithATokens', + outputs: [ + { internalType: 'string', name: '_eventName', type: 'string' }, + { internalType: 'bytes', name: '_eventParam', type: 'bytes' } + ], + stateMutability: 'payable', + type: 'function' + }, + { + inputs: [{ internalType: 'uint8', name: 'categoryId', type: 'uint8' }], + name: 'setUserEMode', + outputs: [ + { internalType: 'string', name: '_eventName', type: 'string' }, + { internalType: 'bytes', name: '_eventParam', type: 'bytes' } + ], + stateMutability: 'payable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'token', type: 'address' }, + { internalType: 'uint256', name: 'rateMode', type: 'uint256' } + ], + name: 'swapBorrowRateMode', + outputs: [ + { internalType: 'string', name: '_eventName', type: 'string' }, + { internalType: 'bytes', name: '_eventParam', type: 'bytes' } + ], + stateMutability: 'payable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'token', type: 'address' }, + { internalType: 'uint256', name: 'amt', type: 'uint256' }, + { internalType: 'uint256', name: 'getId', type: 'uint256' }, + { internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'withdraw', + outputs: [ + { internalType: 'string', name: '_eventName', type: 'string' }, + { internalType: 'bytes', name: '_eventParam', type: 'bytes' } + ], + stateMutability: 'payable', + type: 'function' + } +] diff --git a/src/abi/connectors/v2/index.ts b/src/abi/connectors/v2/index.ts index 48e3271a..408aa2e4 100644 --- a/src/abi/connectors/v2/index.ts +++ b/src/abi/connectors/v2/index.ts @@ -139,7 +139,7 @@ import { ODOS_V2_A } from "./ODOS-V2-A" import { OKX_A } from "./OKX-A" import { FLUID_MERKLE_CLAIM_A } from "./FLUID-MERKLE-CLAIM-A" import { USDS_A } from "./USDS-A" -import { AAVE_V3_ETHERFI_A } from "./AAVE-V3-ETHERFI-A" +import { AAVE_V3_ETHERFI } from "./AAVE-V3-ETHERFI" export const connectorsV2_M1 = { 'MORPHO-REWARDS-A': MORPHO_REWARDS_A, @@ -278,5 +278,5 @@ export const connectorsV2_M1 = { 'OKX-A': OKX_A, 'FLUID-MERKLE-CLAIM-A': FLUID_MERKLE_CLAIM_A, 'USDS-A': USDS_A, - 'AAVE-V3-ETHERFI-A': AAVE_V3_ETHERFI_A + 'AAVE-V3-ETHERFI': AAVE_V3_ETHERFI } diff --git a/src/addresses/mainnet/connectorsV2_M1.ts b/src/addresses/mainnet/connectorsV2_M1.ts index 67be5343..9a0594ec 100644 --- a/src/addresses/mainnet/connectorsV2_M1.ts +++ b/src/addresses/mainnet/connectorsV2_M1.ts @@ -118,5 +118,5 @@ export const connectorsV2_M1 = { 'ODOS-V2-A': '0xAa48Cca7DCe006F37DBb2e2Ef2dE7ACD5f6F5Dfc', 'FLUID-MERKLE-CLAIM-A': '0xaa9322865E914c625043D8cEc1318ebaD071B365', 'USDS-A': '0xA10c9b8EAba65aB5920b34aB76b9D68DaBc4B3c8', - 'AAVE-V3-ETHERFI-A': '0xf2c3968e5373C58F01C931a589B7cccf0C01163b' + 'AAVE-V3-ETHERFI': '0xf2c3968e5373C58F01C931a589B7cccf0C01163b' } From de036e9c9f04c813c95962f3763f230e3df4650a Mon Sep 17 00:00:00 2001 From: Samarendra Gouda Date: Thu, 3 Oct 2024 08:15:56 +0530 Subject: [PATCH 2/2] chore: update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index caf9efdd..7266f07d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dsa-connect", - "version": "0.7.3", + "version": "0.7.4", "description": "DSA connect", "main": "dist/index.js", "module": "dist/index.es.js",