diff --git a/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-e2e.test.ts b/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-e2e.test.ts index 231e3db43..e75f37b02 100644 --- a/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-e2e.test.ts +++ b/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-e2e.test.ts @@ -69,7 +69,7 @@ function testForNetwork( } describe('AaveV3Stata E2E', () => { - const dexKey = 'AaveV3Stata'; + const dexKey = 'AaveV3StataV2'; // polygon is not yet live describe.skip('Polygon', () => { diff --git a/src/dex/aave-v3-stata-v2/aave-v3-stata-v2.ts b/src/dex/aave-v3-stata-v2/aave-v3-stata-v2.ts index ec7ddc039..111ee72bf 100644 --- a/src/dex/aave-v3-stata-v2/aave-v3-stata-v2.ts +++ b/src/dex/aave-v3-stata-v2/aave-v3-stata-v2.ts @@ -16,7 +16,7 @@ import { Utils, getBigIntPow, getDexKeysWithNetwork } from '../../utils'; import { Context, IDex } from '../../dex/idex'; import { IDexHelper } from '../../dex-helper/idex-helper'; import { - AaveV3StataData, + AaveV3StataV2Data, Rounding, StataFunctions, StataToken, @@ -48,7 +48,7 @@ const RAY = BigInt(`1${'0'.repeat(27)}`); export class AaveV3StataV2 extends SimpleExchange - implements IDex + implements IDex { readonly hasConstantPriceLargeAmounts = false; @@ -169,7 +169,7 @@ export class AaveV3StataV2 side: SwapSide, blockNumber: number, limitPools?: string[], - ): Promise> { + ): Promise> { const src = getTokenType(this.network, srcToken.address); const dest = getTokenType(this.network, destToken.address); @@ -284,7 +284,7 @@ export class AaveV3StataV2 } getCalldataGasCost( - poolPrices: PoolPrices, + poolPrices: PoolPrices, ): number | number[] { return CALLDATA_GAS_COST.DEX_NO_PAYLOAD; } @@ -307,7 +307,7 @@ export class AaveV3StataV2 // destToken: string, // srcAmount: string, // destAmount: string, - // data: AaveV3StataData, + // data: AaveV3StataV2Data, // side: SwapSide, // ): Promise { // const { exchange, srcType, destType } = data; @@ -370,7 +370,7 @@ export class AaveV3StataV2 srcAmount: NumberAsString, destAmount: NumberAsString, recipient: Address, - data: AaveV3StataData, + data: AaveV3StataV2Data, side: SwapSide, _: Context, executorAddress: Address, diff --git a/src/dex/aave-v3-stata-v2/types.ts b/src/dex/aave-v3-stata-v2/types.ts index 403435c38..3d0e99d8b 100644 --- a/src/dex/aave-v3-stata-v2/types.ts +++ b/src/dex/aave-v3-stata-v2/types.ts @@ -14,7 +14,7 @@ export enum TokenType { UNKNOWN, } -export type AaveV3StataData = { +export type AaveV3StataV2Data = { // TODO: AaveV3StataData is the dex data that is // returned by the API that can be used for // tx building. The data structure should be minimal. diff --git a/tests/constants-e2e.ts b/tests/constants-e2e.ts index be9af0cb4..7e449351b 100644 --- a/tests/constants-e2e.ts +++ b/tests/constants-e2e.ts @@ -1734,6 +1734,7 @@ export const Holders: { eETH: '0x0f1DfeF1a40557d279d0de6E49aB306891A638b8', stataUSDT: '0x6803364AceD5181877abC11E865FB27cB654a426', aaveUSDT: '0x32c98a981Fe7C333Bd4e8E7630E8e0CF5ce20987', + waEthUSDT: '0xbA1333333333a1BA1108E8412f11850A5C319bA9', weETH: '0x267ed5f71EE47D3E45Bb1569Aa37889a2d10f91e', rUSD: '0xEC2eda1C4F981E468ABF62424a10B69B738b498E', arUSD: '0xeFc24206053a452e2299BF3b8f964512b041Db4C',