Skip to content

Commit dfae88c

Browse files
authored
fix: remove permissions api (#1)
1 parent 07175d7 commit dfae88c

25 files changed

+572
-3908
lines changed

.env.test

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
MONGO_URL="mongodb://mongodb:27017/aave"
22
PORT=3000
3-
NETWORK="mainnet"
4-
JSONRPC_URL=""
5-
THE_GRAPH_URI="https://api.thegraph.com/subgraphs/name/aave/protocol-v2"
3+
THE_GRAPH_URI="https://api.thegraph.com/subgraphs/name/aave/protocol-v2"

CONTRIBUTING.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@ docker-compose up
88

99
## How to access the data
1010

11-
[http://localhost:3000/](http://localhost:3000/) - to access swagger docs
11+
[http://localhost:3000/data/rates-history?reserveId=<reserveId>&resolutionInHours=<resolution>](http://localhost:3000/data/rates-history?reserveId=0x0d500b1d8e8ef31e21c99d1db9a6444d3adf12700xd05e3e715d945b59290df0ae8ef85c1bdb684744&resolutionInHours=6) - to access rates history
1212

1313
## Environment parameters
1414

1515
### General
1616

1717
PORT - the port for the api, default 3000
1818
MONGO_URL - mongodb uri, default mongodb://mongodb:27017/aave
19-
NETWORK - default mainnet
20-
JSONRPC_URL - JSON RPC endpoint url to access blockchain data
2119
THE_GRAPH_URI - aave v2 compatible thegraph uri

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
# Aave api. Historical data and custom permissions :ghost:
1515

16-
Thin and simple data caching layer for fetching historical rates & custom user permissions.
16+
Thin and simple data caching layer for fetching historical rates.
1717

1818
## Contribution
1919

contracts/IPermissionManager.sol

Lines changed: 0 additions & 17 deletions
This file was deleted.

graphql-codegen.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,6 @@ config:
1010
withHooks: false
1111
rawRequest: true
1212
generates:
13-
src/repositories/subgraph/v1Client.ts:
14-
schema: 'https://api.thegraph.com/subgraphs/name/aave/protocol-multy-raw'
15-
documents:
16-
- 'src/repositories/subgraph/v1/*.queries.ts'
17-
plugins:
18-
- add:
19-
content: '/* eslint-disable */'
20-
- typescript
21-
- typescript-operations
22-
- typescript-graphql-request
2313
src/repositories/subgraph/v2Client.ts:
2414
schema:
2515
- https://api.thegraph.com/subgraphs/name/aave/protocol-v2

hardhat.config.js

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)