-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sponsorship Policy API functions and Integrate with paymaster data ge…
…neration endpoint (#111) * feat: PRO-2395 Design doc for sponsorship policy management * feat: PRO-2395 sponsorship policy db migration * feat: PRO-2395 sequelize integration to backend and property name updates for APIKey entity references in backend and frontend components * feat: PRO-2395 update apiKey sequelize based response reference in admin-frontend * feat: PRO-2395 sequelize models and centralised model association files for sponsorship_policy tables and api_keys association * feat: PRO-2395 refactor sequelize models and their initialisation in the sequelizePlugin * fix: PRO-2395 admin-frontend to parse the error message from response while saving apiKey * feat: PRO-2395 sequelize models updated with new association relationships * feat: PRO-2395 sequelize init and test * feat: PRO-2395 migration scripts refactored and updated * feat: PRO-2395 sequelize repository updates and conflict resolution * fix: PRO-2395 admin-frontend global-config components fix * chore: PRO-2395 logging updates * feat: PRO-2395 restricted sequelize references from repository, server and index files only * fix: PRO-2395 Fix SponsorshipPolicy migrations and sequelize models naming issues * chore: PRO-2395 delete obselete file at root directory * feat: PRO-2395 denormalize SponsorshipPolicy table data * feat: PRO-2395 refactor types and optimise imports * fix: PRO-2395 adjust the property name to typescript model fieldnames * feat: PRO-2395 SponsorshipPolicy repository functions and package version upgrade for all 3 projects in arka * fix: PRO-2395 fix imports in backend * feat: PRO-2395 SponsorshipPolicy validations, db model updates and docker updates * doc: PRO-2395 docker documentation for backend updated in readme file * feat: PRO-2455 validate userOp in sponsorMode with sponsorshipPolicy constraints * feat: PRO-2455 refactor sponsorship-policy to include EP version and new route functions * feat: PRO-2455 sponsorship-policy validation logic updated * fix: PRO-2455 fix sequelize model update pattern * fix: PRO-2455 SponsorshipPolicy query functions from chainId, EntryPointVersion and apiKey * feat: PRO-2455 api-endpoint refactoring for sponsorship policy extraction via policyId or apiKey * feat: PRO-2455 HMAC env added and function imports fixed * feat: PRO-2455 configure the SSL options for sequelize * feat: PRO-2455 sequelize migration standalone script and added script command in package.json * fix: PRO-2455 docker-compose fixes * fix: PRO-2455 sponsorship-policy api endpoints fixed * feat: PRO-2455 externalise values from docker-compose to env variable file * doc: PRO-2455 backend and arka docker startup instructions * feat: rearrange docker-compose files * feat: PRO-2455 add new api route functions for sponsorship-policy * feat: PRO-2455 split functions in routes * feat: PRO-2455 split functions in routes * feat: PRO-2455 refactor local docker setup instructions and local postgres database docker file setup to project root directory
- Loading branch information
1 parent
58a37f8
commit 2d265c8
Showing
65 changed files
with
4,102 additions
and
1,532 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
LOG_LEVEL= | ||
API_HOST= | ||
API_PORT= | ||
UNSAFE_MODE=true | ||
SUPPORTED_NETWORKS= | ||
CRON_PRIVATE_KEY= | ||
DEFAULT_INDEXER_ENDPOINT= | ||
FEE_MARKUP=0 | ||
MULTI_TOKEN_MARKUP= | ||
ADMIN_WALLET_ADDRESS= | ||
ETHERSCAN_GAS_ORACLES="" | ||
DEFAULT_API_KEY="" | ||
WEBHOOK_URL= | ||
HMAC_SECRET= | ||
DATABASE_URL= | ||
DATABASE_USER= | ||
DATABASE_PASSWORD= | ||
DATABASE_NAME= | ||
DATABASE_SCHEMA_NAME=arka | ||
DATABASE_SSL_ENABLED=false | ||
DATABASE_SSL_REJECT_UNAUTHORIZED=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# build | ||
/build/ | ||
|
||
# misc | ||
.DS_Store | ||
.env.production | ||
|
||
# debug | ||
npm-debug.log* | ||
|
||
.nyc_output | ||
coverage | ||
|
||
.env | ||
config.json | ||
database.sqlite | ||
|
||
package-lock.json | ||
pnpm-lock.yaml | ||
|
||
# Ponder | ||
/indexer/.ponder | ||
/indexer/generated | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,5 +21,5 @@ | |
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
.env | ||
yarn.lock | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.