Skip to content

Commit b7023fe

Browse files
committed
update tokenlist
1 parent 0fcbe0d commit b7023fe

File tree

3 files changed

+25
-11
lines changed

3 files changed

+25
-11
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
API for fetching swap quotes and payloads from multiple DEX aggregators for use with Euler V2.
44

5-
# Instalation
5+
## Instalation
66

77
Install npm packages
88
```
@@ -16,7 +16,7 @@ pnpm run doppler:syncstg # staging
1616
pnpm run doppler:syncprd # production
1717
```
1818

19-
# Running
19+
## Running
2020

2121
Dev server
2222
```
@@ -29,17 +29,17 @@ pnpm run build
2929
pnpm run start
3030
```
3131

32-
# Lint
32+
## Lint
3333
```
3434
pnpm run lint # check
3535
pnpm run lint:fix # fix
3636
```
3737

38-
# Swagger API docs
38+
## Swagger API docs
3939

4040
Swagger UI is served at the root, it is also available at [swap.euler.finance](https://swap.euler.finance). Request and response schemas are also available [here](./src/api/routes/swap/swapModel.ts)
4141

42-
# Fetching quotes and executing trades
42+
## Fetching quotes and executing trades
4343

4444
The `/swap` endpoint fetches token trade quotes which can be used with the swapping peripheries in the Euler Vault Kit [periphery contracts](https://github.com/euler-xyz/evk-periphery/tree/master/src/Swaps). See [periphery docs](https://github.com/euler-xyz/evk-periphery/blob/master/docs/swaps.md) for detailed description of the swapping architecture in Euler V2. The API response includes both encoded payloads as well as raw data for calls to the `Swapper` (`swap` field of the response) and `SwapVerifier` (`verify` field) contracts. These payloads can be used directly in EVC batches.
4545

@@ -120,7 +120,7 @@ const evcBatch = encodeFunctionData({
120120

121121
```
122122
123-
# Configuration
123+
## Configuration
124124
125125
To handle an incoming swap request, the API processes the query through a series of strategies until one of them provides a valid response. The strategy pipelines are defined per chain in `/swapService/config` folder. The strategies can handle requests in multiple ways. The basic one is the balmy SDK strategy, which queries multiple DEXes and aggregators for a swap quote and picks the best one. Strategies can themselves run the pipelines recursively. ERC4626 wrapper can be configured for assets which are vault shares and are not supported by aggregators. The strategy will deposit or redeem vault shares and run the pipeline again, this time using the underlying asset of the vault. For a list of available strategies see `swapService/strategies` folder.
126126

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/tokenLists/tokenList_1.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,4 +1501,18 @@ export default [
15011501
poolId: "48f7ef7c-c08e-4b43-bc00-e2111c2fd65d",
15021502
},
15031503
},
1504+
{
1505+
addressInfo: "0xA8c8861b5ccF8CCe0ade6811CD2A7A7d3222B0B8",
1506+
chainId: 1,
1507+
name: "PT Wrapped stUSR 27MAR2025",
1508+
symbol: "PT-wstUSR-27MAR2025",
1509+
decimals: 18,
1510+
logoURI:
1511+
"https://coin-images.coingecko.com/coins/images/40008/large/USR_LOGO.png?1725222638",
1512+
meta: {
1513+
isPendlePT: true,
1514+
pendleMarket: "0x353d0b2efb5b3a7987fb06d30ad6160522d08426",
1515+
poolId: "180d6922-83b2-4b0f-bb5b-6c1938cbc24c",
1516+
},
1517+
},
15041518
]

0 commit comments

Comments
 (0)