Skip to content

Commit

Permalink
Merge pull request #425 from lidofinance/develop
Browse files Browse the repository at this point in the history
Develop to main
  • Loading branch information
itaven committed Aug 8, 2024
2 parents f4910e2 + 2d8217c commit aec05ae
Show file tree
Hide file tree
Showing 144 changed files with 1,191 additions and 2,818 deletions.
5 changes: 4 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ RESEARCH_ORIGIN=https://research.lido.fi
# EL_RPC_URLS_{CHAIN_ID} list or URLs delimeted by commas, first entry is primary, else are fallbacks
EL_RPC_URLS_1=
EL_RPC_URLS_17000=
EL_RPC_URLS_11155111=

# IPFS prefill RPC URLs - list of URLs delimited by commas
PREFILL_UNSAFE_EL_RPC_URLS_1=
PREFILL_UNSAFE_EL_RPC_URLS_17000=
PREFILL_UNSAFE_EL_RPC_URLS_11155111=

# supported networks for connecting wallet
SUPPORTED_CHAINS=1,17000
SUPPORTED_CHAINS=1,17000,11155111

# this chain uses when a wallet is not connected
DEFAULT_CHAIN=1
Expand All @@ -35,6 +37,7 @@ CSP_REPORT_URI=https://stake.lido.fi/api/csp-report
# Subgraph endpoint
SUBGRAPH_MAINNET=https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/Sxx812XgeKyzQPaBpR5YZWmGV5fZuBaPdh7DFhzSwiQ
SUBGRAPH_HOLESKY=
SUBGRAPH_SEPOLIA=

SUBGRAPH_REQUEST_TIMEOUT=5000

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ yarn build:ipfs

## Adding a new route API

**Deprecated: do not add new endpoints to next api**

- create a new file in `pages/api/` folder
- use `wrapRequest` function from `@lidofinance/next-api-wrapper` package.
- use default wrappers from `utilsApi/nextApiWrappers.ts` if needed (e.g. `defaultErrorHandler` for handle errors)
Expand Down
13 changes: 13 additions & 0 deletions abi/partialCurveAbi.abi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
{
"name": "get_dy",
"outputs": [{ "type": "uint256", "name": "" }],
"inputs": [
{ "type": "int128", "name": "i" },
{ "type": "int128", "name": "j" },
{ "type": "uint256", "name": "dx" }
],
"stateMutability": "view",
"type": "function"
}
]
Loading

0 comments on commit aec05ae

Please sign in to comment.