diff --git a/assets/aToken/ageur.svg b/assets/aToken/ageur.svg deleted file mode 100644 index 0fccff50..00000000 --- a/assets/aToken/ageur.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/aToken/eura.svg b/assets/aToken/eura.svg new file mode 100644 index 00000000..48b7dfd8 --- /dev/null +++ b/assets/aToken/eura.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/stataToken/ageur.svg b/assets/stataToken/ageur.svg deleted file mode 100644 index 6be51e60..00000000 --- a/assets/stataToken/ageur.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/stataToken/eura.svg b/assets/stataToken/eura.svg new file mode 100644 index 00000000..f78c601d --- /dev/null +++ b/assets/stataToken/eura.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/underlying/ageur.svg b/assets/underlying/ageur.svg deleted file mode 100644 index f2afb535..00000000 --- a/assets/underlying/ageur.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/underlying/bpt.svg b/assets/underlying/bpt.svg index 63c2c237..a35f93e6 100644 --- a/assets/underlying/bpt.svg +++ b/assets/underlying/bpt.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/assets/underlying/eura.svg b/assets/underlying/eura.svg new file mode 100644 index 00000000..cb142c09 --- /dev/null +++ b/assets/underlying/eura.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/scripts/generator/generateTokenList.ts b/scripts/generator/generateTokenList.ts index 497a4842..f0c395da 100644 --- a/scripts/generator/generateTokenList.ts +++ b/scripts/generator/generateTokenList.ts @@ -40,6 +40,7 @@ export async function generateTokenList(pools: TokenListParams) { const tokens: TokenInfo[] = []; for (const {reservesData, chainId, name: poolName, pool} of pools) { + if (CHAIN_ID_CLIENT_MAP[chainId].chain?.testnet) continue; for (const reserve of reservesData) { async function addToken( token: Address, diff --git a/scripts/generator/protocolV2Generator.ts b/scripts/generator/protocolV2Generator.ts index 3632bc3e..75e36336 100644 --- a/scripts/generator/protocolV2Generator.ts +++ b/scripts/generator/protocolV2Generator.ts @@ -3,8 +3,10 @@ import {AddressInfo, PoolConfig, ReserveData} from '../configs/types'; import {CHAIN_ID_CLIENT_MAP} from '@bgd-labs/js-utils'; import {appendFileSync, writeFileSync} from 'fs'; import { + bytes32toAddress, generateJsConstants, generateSolidityConstants, + getImplementationStorageSlot, prefixWithGeneratedWarning, prefixWithPragma, wrapIntoSolidityLibrary, @@ -20,8 +22,10 @@ import {mainnetAmmV2Pool} from '../configs/pools/ethereum'; export interface PoolV2Addresses { POOL_ADDRESSES_PROVIDER: AddressInfo; POOL: AddressInfo; + POOL_IMPL: AddressInfo; AAVE_PROTOCOL_DATA_PROVIDER: AddressInfo; POOL_CONFIGURATOR: AddressInfo; + POOL_CONFIGURATOR_IMPL: AddressInfo; ORACLE: AddressInfo; LENDING_RATE_ORACLE: AddressInfo; POOL_ADMIN: AddressInfo; @@ -106,6 +110,11 @@ export async function getPoolV2Addresses(pool: PoolConfig): Promise