Skip to content

Commit

Permalink
Add Aave Subgraph
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanleecode committed Apr 18, 2021
1 parent 690f515 commit 1229824
Show file tree
Hide file tree
Showing 25 changed files with 13,018 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "simple-fi-aave/submodules/protocol-v2"]
path = simple-fi-aave/submodules/protocol-v2
url = [email protected]:aave/protocol-v2.git
2 changes: 2 additions & 0 deletions simple-fi-aave/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
generated
build
48 changes: 48 additions & 0 deletions simple-fi-aave/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
extends:
[
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'prettier',
'plugin:import/warnings',
'plugin:import/errors',
'plugin:import/typescript',
]
plugins: ['@typescript-eslint', 'prettier', 'import']
env:
browser: false
es6: true
node: false
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: 2021
sourceType: module
project: 'tsconfig.json'
rules:
linebreak-style:
- error
- unix
quotes:
- error
- single
- avoidEscape: true
allowTemplateLiterals: true
semi:
- error
- never
object-curly-spacing:
- warn
- always
import/order:
- error
'no-unused-expressions': 'off'
'@typescript-eslint/no-unused-expressions': 'warn'
'@typescript-eslint/no-unsafe-assignment': 'off'
'@typescript-eslint/no-empty-function': 'warn'
'@typescript-eslint/no-non-null-assertion': 'off'
'@typescript-eslint/no-extra-non-null-assertion': 'off'
'@typescript-eslint/no-unnecessary-type-assertion': 'off'
'@typescript-eslint/no-unsafe-member-access': 'off'
'@typescript-eslint/no-unsafe-call': 'off'
"prefer-const": "off"
206 changes: 206 additions & 0 deletions simple-fi-aave/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@

# Created by https://www.toptal.com/developers/gitignore/api/node,windows,macos,linux
# Edit at https://www.toptal.com/developers/gitignore?templates=node,windows,macos,linux

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test
.env*.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Storybook build outputs
.out
.storybook-out
storybook-static

# rollup.js default build output
dist/

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# Temporary folders
tmp/
temp/

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

# End of https://www.toptal.com/developers/gitignore/api/node,windows,macos,linux

## The Graph
subgraph.yaml
build
generated
Empty file added simple-fi-aave/.gitkeep
Empty file.
2 changes: 2 additions & 0 deletions simple-fi-aave/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
subgraph.yaml
subgraph.template.yaml
10 changes: 10 additions & 0 deletions simple-fi-aave/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"useTabs": false,
"printWidth": 80,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "all",
"parser": "typescript",
"semi": false,
"arrowParens": "always"
}
Loading

0 comments on commit 1229824

Please sign in to comment.