Skip to content
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
5 changes: 5 additions & 0 deletions safe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3276,6 +3276,11 @@ address,name,chainId
0xDA5D1a9b7F515457638c01db13a18Bd3514fC4A6,AaveV3Plasma ASSETS syrupUSDT V_TOKEN,9745
0x2B16E93bdB1897f517881B3c388bABD0C62C6cdC,AaveV3Plasma ASSETS syrupUSDT INTEREST_RATE_STRATEGY,9745
0x0A3F8218a98337Ef37dCAE4F8a8cfaB0711C64cF,AaveV3Plasma ASSETS syrupUSDT ORACLE,9745
0x6100E367285b01F48D07953803A2d8dCA5D19873,AaveV3Plasma ASSETS WXPL UNDERLYING,9745
0x5aA4bc74811D672DA5308019dA4779f673e60B47,AaveV3Plasma ASSETS WXPL A_TOKEN,9745
0x7ec35d7008682c33dBC6b214E01D919e8d441e48,AaveV3Plasma ASSETS WXPL V_TOKEN,9745
0x2B16E93bdB1897f517881B3c388bABD0C62C6cdC,AaveV3Plasma ASSETS WXPL INTEREST_RATE_STRATEGY,9745
0xF932477C37715aE6657Ab884414Bd9876FE3f750,AaveV3Plasma ASSETS WXPL ORACLE,9745
0x5E2d083417D12d4B0824E14Ecd48D26831F4Da7D,AaveV3Plasma COLLECTOR,9745
0x8601E80972A2a89b78185fbacd560d2202202B26,AaveV3Plasma CONFIG_ENGINE,9745
0xF6Dac650dA5616Bc3206e969D7868e7c25805171,AaveV3Plasma DEFAULT_A_TOKEN_IMPL,9745
Expand Down
20 changes: 20 additions & 0 deletions src/AaveV3Plasma.sol
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,24 @@ library AaveV3PlasmaAssets {
// https://plasmascan.to/address/0x2B16E93bdB1897f517881B3c388bABD0C62C6cdC
address internal constant syrupUSDT_INTEREST_RATE_STRATEGY =
0x2B16E93bdB1897f517881B3c388bABD0C62C6cdC;

// https://plasmascan.to/address/0x6100E367285b01F48D07953803A2d8dCA5D19873
address internal constant WXPL_UNDERLYING = 0x6100E367285b01F48D07953803A2d8dCA5D19873;

uint8 internal constant WXPL_DECIMALS = 18;

// https://plasmascan.to/address/0x5aA4bc74811D672DA5308019dA4779f673e60B47
address internal constant WXPL_A_TOKEN = 0x5aA4bc74811D672DA5308019dA4779f673e60B47;

// https://plasmascan.to/address/0x7ec35d7008682c33dBC6b214E01D919e8d441e48
address internal constant WXPL_V_TOKEN = 0x7ec35d7008682c33dBC6b214E01D919e8d441e48;

// https://plasmascan.to/address/0xF932477C37715aE6657Ab884414Bd9876FE3f750
address internal constant WXPL_ORACLE = 0xF932477C37715aE6657Ab884414Bd9876FE3f750;

// https://plasmascan.to/address/0x2B16E93bdB1897f517881B3c388bABD0C62C6cdC
address internal constant WXPL_INTEREST_RATE_STRATEGY =
0x2B16E93bdB1897f517881B3c388bABD0C62C6cdC;
}
library AaveV3PlasmaEModes {
uint8 internal constant NONE = 0;
Expand All @@ -341,6 +359,8 @@ library AaveV3PlasmaEModes {
uint8 internal constant wstETH__WETH = 10;

uint8 internal constant syrupUSDT__USDT0 = 11;

uint8 internal constant WXPL__USDT0 = 12;
}
library AaveV3PlasmaExternalLibraries {
// https://plasmascan.to/address/0x50a4646D4f5Cc0e45051bF4f222D02fA39eC749D
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV3Ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ export const E_MODES = {
],
ltv: 9000,
liquidationThreshold: 9200,
liquidationBonus: 10380,
liquidationBonus: 10350,
},
'25': {
label: 'PT_sUSDE_25SEP2025,PT_sUSDE_27NOV2025 / USDe',
Expand All @@ -1014,7 +1014,7 @@ export const E_MODES = {
borrowableAssets: ['0x4c9EDD5852cd905f086C759E8383e09bff1E68B3'],
ltv: 9200,
liquidationThreshold: 9400,
liquidationBonus: 10180,
liquidationBonus: 10150,
},
'26': {
label: 'weETH / WETH,wstETH',
Expand Down
19 changes: 19 additions & 0 deletions src/ts/AaveV3Plasma.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,15 @@ export const ASSETS = {
INTEREST_RATE_STRATEGY: '0x2B16E93bdB1897f517881B3c388bABD0C62C6cdC',
ORACLE: '0x0A3F8218a98337Ef37dCAE4F8a8cfaB0711C64cF',
},
WXPL: {
decimals: 18,
id: 11,
UNDERLYING: '0x6100E367285b01F48D07953803A2d8dCA5D19873',
A_TOKEN: '0x5aA4bc74811D672DA5308019dA4779f673e60B47',
V_TOKEN: '0x7ec35d7008682c33dBC6b214E01D919e8d441e48',
INTEREST_RATE_STRATEGY: '0x2B16E93bdB1897f517881B3c388bABD0C62C6cdC',
ORACLE: '0xF932477C37715aE6657Ab884414Bd9876FE3f750',
},
} as const;
export const E_MODES = {
'1': {
Expand Down Expand Up @@ -314,6 +323,16 @@ export const E_MODES = {
liquidationThreshold: 9200,
liquidationBonus: 10400,
},
'12': {
label: 'WXPL / USDT0',
collateralBitmap: '2048',
collateralAssets: ['0x6100E367285b01F48D07953803A2d8dCA5D19873'],
borrowableBitmap: '1',
borrowableAssets: ['0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb'],
ltv: 5000,
liquidationThreshold: 5500,
liquidationBonus: 11000,
},
} as const;
export const EXTERNAL_LIBRARIES = {
FLASHLOAN_LOGIC: '0x50a4646D4f5Cc0e45051bF4f222D02fA39eC749D',
Expand Down
24 changes: 22 additions & 2 deletions tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -9290,6 +9290,26 @@
"underlying": "0xC4374775489CB9C56003BF2C9b12495fC64F0771"
}
},
{
"chainId": 9745,
"address": "0x6100E367285b01F48D07953803A2d8dCA5D19873",
"name": "Wrapped XPL",
"decimals": 18,
"symbol": "WXPL",
"tags": ["underlying"]
},
{
"chainId": 9745,
"address": "0x5aA4bc74811D672DA5308019dA4779f673e60B47",
"name": "Aave Plasma WXPL",
"decimals": 18,
"symbol": "aPlaWXPL",
"tags": ["aTokenV3", "aaveV3"],
"extensions": {
"pool": "0x925a2A7214Ed92428B5b1B090F80b25700095e12",
"underlying": "0x6100E367285b01F48D07953803A2d8dCA5D19873"
}
},
{
"chainId": 1,
"address": "0x6bf183243FdD1e306ad2C4450BC7dcf6f0bf8Aa6",
Expand Down Expand Up @@ -9343,6 +9363,6 @@
}
}
],
"version": { "major": 3, "minor": 0, "patch": 144 },
"timestamp": "2025-11-10T00:16:26.303Z"
"version": { "major": 3, "minor": 0, "patch": 145 },
"timestamp": "2025-11-13T00:15:41.620Z"
}
Loading