-
Notifications
You must be signed in to change notification settings - Fork 0
Dev -> main #89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Prometheo
wants to merge
543
commits into
main
Choose a base branch
from
dev
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Dev -> main #89
Changes from all commits
Commits
Show all changes
543 commits
Select commit
Hold shift + click to select a range
d1401ac
feat: add api endpoint for rounds, projects and votes
Prometheo 8b14697
fix: stellar event ingesting
Prometheo a09cda3
add filtering and sorting to rounds list
Prometheo 6418d57
update ledger always
Prometheo 44ff64e
use ledger timestamp
Prometheo 0dc2907
list improvement and stellar token price
Prometheo f3f4346
fix log error
Prometheo 7447f70
add contact serializer to rounds
Prometheo 7518252
add project stats, whitelist grantpicks
Prometheo 34a5a5e
endpoint for user upvoted lists, add pairs to vote
Prometheo 40b60b8
remove upvote
Prometheo 3a4a31d
remove caching from lists
Prometheo 5e3f19a
add reg count to list details
Prometheo f01709e
use onchain id for lists route
Prometheo 9abb172
filter appllication by status
Prometheo 8856e60
update admins from event and update cors
Prometheo 16ae0a3
fix update list
Prometheo 87c8282
fix async iteration
Prometheo cbabcb0
prepare prod scripts
Prometheo 672e55e
Merge pull request #90 from PotLock/testnet
Prometheo 0f36647
Merge pull request #91 from PotLock/dev
Prometheo 441b2ea
remove file copy flow
Prometheo a31064d
Merge pull request #92 from PotLock/testnet
Prometheo 4d4f951
Merge pull request #93 from PotLock/dev
Prometheo ffdb806
point to correct s3
Prometheo 613d542
Merge pull request #94 from PotLock/testnet
Prometheo d032588
Merge pull request #95 from PotLock/dev
Prometheo 37eedb4
update allowed host
Prometheo 3c4a14c
Merge pull request #96 from PotLock/testnet
Prometheo 7711e46
Merge pull request #97 from PotLock/dev
Prometheo 3a63572
configure sample rate for sentry
Prometheo 89bfed4
Merge pull request #98 from PotLock/testnet
Prometheo 5697df2
Merge pull request #99 from PotLock/dev
Prometheo ab258d3
return from job if no contract
Prometheo cdcd590
Merge pull request #100 from PotLock/testnet
Prometheo ae7729f
Merge pull request #101 from PotLock/dev
Prometheo 251c52e
index near grantpicks
Prometheo 2ff3dd7
get chain by name:
Prometheo c31a00b
change id to name:
Prometheo 49f770b
use name for chain
Prometheo be2820c
use onchain id for project get
Prometheo 2611037
get round details for chain:
Prometheo bbeb310
fix chain id indexing
Prometheo b06976c
sort round by chain, add constraint to round
Prometheo d375258
fix stellar status indexing
Prometheo c3afe35
serialize project
Prometheo 140259e
default ture to near vault
Prometheo 461b071
fix vote url
Prometheo 6f99880
fix round complete..
Prometheo 59da2ec
fix vote api endpoint
Prometheo c3db34f
use id for near project
Prometheo d808e68
parse vote event
Prometheo dfb2658
fix payout creation
Prometheo 1dbdf61
filter by search param
Prometheo 08899f3
Merge pull request #110 from PotLock/testnet
Prometheo 814d64c
Merge pull request #111 from PotLock/dev
Prometheo 33937b6
api endpoint for json data
Prometheo 94682d5
fix import
Prometheo 1939f6f
change model field type and add search
Prometheo eefd51e
fix search
Prometheo da8c6a0
fix query param:
Prometheo e2c28e4
fix query param name
Prometheo 69f83f5
add staging to factory pattern
Prometheo 86e91a2
Merge pull request #114 from PotLock/testnet
Prometheo 5f233b3
fix regex for pot factory
Prometheo ea61abe
Merge pull request #115 from PotLock/testnet
Prometheo 23d9f67
get data from dict
Prometheo 6efe7e4
Merge pull request #116 from PotLock/testnet
Prometheo d27087b
cors enable staging
Prometheo 527b498
Merge pull request #117 from PotLock/testnet
Prometheo 23828c8
discern similar contract methods
Prometheo 3369e36
Merge pull request #118 from PotLock/testnet
Prometheo c7f5480
Merge pull request #119 from PotLock/dev
Prometheo 734d659
fix project stat
Prometheo 235489a
fix filter param
Prometheo cd7b9c4
change stellar testnet contracts
Prometheo 82c1bf4
change static pub key due to testnet reset
Prometheo 6fdb8f6
add chain to roundds
Prometheo 31804c4
update response sample
Prometheo 819abea
rounds by account:
Prometheo 0d8846f
Merge pull request #120 from PotLock/testnet
Prometheo 9f86a84
Merge pull request #121 from PotLock/dev
Prometheo bb1c761
celery config to fix memory usage
Prometheo 566502e
Merge pull request #122 from PotLock/testnet
Prometheo a717d8c
Merge pull request #123 from PotLock/dev
Prometheo 95edb93
move to settings
Prometheo e238b57
Merge pull request #124 from PotLock/testnet
Prometheo 1b5247e
Merge pull request #125 from PotLock/dev
Prometheo 0c2ba9f
remove celery conf variables
Prometheo 4ae4d10
Merge pull request #126 from PotLock/testnet
Prometheo c5dd55a
Merge pull request #127 from PotLock/dev
Prometheo ab226ba
add review_notes to application
Prometheo 76b466b
pick reviewer id
Prometheo e7f37e2
Merge pull request #129 from PotLock/testnet
Prometheo 7e51cc7
Merge pull request #130 from PotLock/dev
Prometheo 8c8ab90
get voter's staking balance
Prometheo 578016a
Merge pull request #132 from PotLock/testnet
Prometheo 48aafdc
Merge pull request #133 from PotLock/dev
Prometheo 3b70b50
merge account data and snapshot data
Prometheo b779272
Merge pull request #134 from PotLock/testnet
Prometheo 68ff4e3
Merge pull request #135 from PotLock/dev
Prometheo 51feb33
fix check logic
Prometheo d4669ec
Merge pull request #136 from PotLock/testnet
Prometheo 7e61f3d
Merge pull request #137 from PotLock/dev
Prometheo 88c7bea
get voters from contract and add caching
Prometheo fb90a57
Merge pull request #138 from PotLock/testnet
Prometheo 938e7c9
Merge pull request #139 from PotLock/dev
Prometheo cdd1f73
fix schema param:
Prometheo ea3ab99
Merge pull request #140 from PotLock/testnet
Prometheo 239cd28
Merge pull request #141 from PotLock/dev
Prometheo 2257688
fix api schema for doc
Prometheo fbecb39
Merge pull request #142 from PotLock/testnet
Prometheo 22b78db
Merge pull request #143 from PotLock/dev
Prometheo 9185295
separate endpoint for list and detail
Prometheo 7c9483d
Merge pull request #144 from PotLock/testnet
Prometheo 88d09ff
Merge pull request #145 from PotLock/dev
Prometheo 23390e3
increase max page size
Prometheo a8de5ca
Merge pull request #146 from PotLock/testnet
Prometheo 6f1f950
Merge pull request #147 from PotLock/dev
Prometheo 3c15d77
add filter by admin to list
Prometheo 778ed69
Merge pull request #148 from PotLock/testnet
Prometheo a2ba5da
add is human param
Prometheo 98f1d82
Merge pull request #150 from PotLock/testnet
Prometheo 34b68f8
Merge pull request #149 from PotLock/dev
Prometheo 4fe7bba
add type
Prometheo 57da50f
Merge pull request #151 from PotLock/testnet
Prometheo 876a712
Merge pull request #152 from PotLock/dev
Prometheo a88c3ed
use select and prefetch related
Prometheo 99682da
Merge pull request #153 from PotLock/testnet
Prometheo 36604e9
Merge pull request #154 from PotLock/dev
Prometheo 4b86935
optimize list fetching query
Prometheo e695012
add cache
Prometheo c6c8b27
remove annotate
Prometheo d52160b
Merge pull request #155 from PotLock/testnet
Prometheo bb63a79
Merge pull request #156 from PotLock/dev
Prometheo 1408581
add list_id to serializer
Prometheo 9636456
Merge pull request #157 from PotLock/testnet
Prometheo 9d65cfb
Merge pull request #158 from PotLock/dev
Prometheo 303e860
update schema:
Prometheo c5929ad
Merge pull request #159 from PotLock/testnet
Prometheo 9f9c4d8
Merge pull request #160 from PotLock/dev
Prometheo 07a9f21
get details at height
Prometheo 2406f52
Merge pull request #161 from PotLock/testnet
Prometheo b723515
Merge pull request #162 from PotLock/dev
Prometheo ac140ea
change block height
Prometheo 48a0bc2
Merge pull request #163 from PotLock/testnet
Prometheo cef52ad
Merge pull request #164 from PotLock/dev
Prometheo 42cba5b
Update pyproject.toml
Prometheo dfc62a2
fix lake framework
Prometheo 72c24be
fix config netowrk
Prometheo 6018172
Merge pull request #166 from PotLock/testnet
Prometheo ed1f920
Merge pull request #167 from PotLock/dev
Prometheo 5e41759
make endpoint for reclaim proof
Prometheo 5d660fc
change contract address
Prometheo e63cb54
get use_whitelist of default to false
Prometheo a4c2589
make model changes
Prometheo 91da988
default use_vault to flse
Prometheo 07f1c62
cors allow
Prometheo a1ea9e9
Merge pull request #168 from PotLock/testnet
Prometheo 623fc48
use re
Prometheo 0ee7b3d
Merge pull request #170 from PotLock/testnet
Prometheo e78bcd9
Merge pull request #169 from PotLock/dev
Prometheo 63a85f0
add approved projects from review
Prometheo 15ba094
remove payout address from grantpicks
Prometheo a9c6922
add approved application to projects
Prometheo 02a3383
use project owner account instance
Prometheo 82c81c5
add minimum_deposit
Prometheo 44e0e38
change stellar testnet address
Prometheo 20f871e
starting ledger
Prometheo 1a96c3f
change contract:
Prometheo dfa7c76
change contract address
Prometheo 7bd3ab3
change contract id
Prometheo a3978d8
upgrade stellar sdk
Prometheo 7ccd5eb
update stellar address
Prometheo 94bf1e8
index campaigns
Prometheo 8b2a160
Merge pull request #171 from PotLock/campaign-indexing
Prometheo d688f0f
Merge pull request #172 from PotLock/testnet
Prometheo c7fa558
add script to backfil
Prometheo bc3ccf5
Merge pull request #173 from PotLock/backfil-script
Prometheo c5b9d24
Merge pull request #174 from PotLock/testnet
Prometheo 09d4594
feat: implement filters
Prometheo 700a538
Merge pull request #175 from PotLock/testnet
Prometheo 482f8c7
update campaign totals
Prometheo 768e453
campaign id tla
Prometheo 087d462
Merge pull request #176 from PotLock/testnet
Prometheo 6a4907e
add status field
Prometheo 6aaae06
Merge pull request #177 from PotLock/testnet
Prometheo 13a9b9f
stellar update
Prometheo 74c0e35
pick address from env
Prometheo 24a5dfd
Merge pull request #178 from PotLock/testnet
Prometheo fe97729
change stellar mainnet rpc
Prometheo bf4c280
Merge pull request #179 from PotLock/testnet
Prometheo 79cc8d8
add asyncio wait for to tackle task execution hanging
Prometheo ebb7f6a
Merge pull request #180 from PotLock/testnet
Prometheo 3c8bb8a
lax timeout
Prometheo b24c327
Merge pull request #182 from PotLock/testnet
Prometheo 69a6b37
allow app to dev:
Prometheo 378ea96
Merge pull request #183 from PotLock/testnet
Prometheo 41fdf96
change applications project to actual grantpicks project
Prometheo e651c61
create application for approved projects by owner
Prometheo 2e193ab
index lists on stellar
Prometheo 5061ac0
add chain to serializer
Prometheo 504efcc
fetch list detail by chain and id
Prometheo a4ded25
make chain query param for list deets
Prometheo 4a9a375
filter by chain name
Prometheo b78a6d0
fix susbcription:
Prometheo 707b33f
make video url optional
Prometheo 27cc912
list registration
Prometheo f2684cf
filter with chain name
Prometheo 18e01d2
fix list update on stellar
Prometheo 7f60e0f
extend cors
Prometheo 5a20bba
extend cors
Prometheo 3f2ba37
fix get or create
Prometheo 8bcab7a
add onchain id to list reg
Prometheo 9f9f2da
replace public address
Prometheo 98e8df1
add list reg update
Prometheo bc6a349
add model constraint
Prometheo 23a1b02
addd logging
Prometheo 114a7cc
addd logging
Prometheo 0feae39
fix list reg updte
Prometheo c10ed44
Merge pull request #184 from PotLock/testnet
Prometheo 2fd8090
fix: remove caching
Prometheo 6295826
fix campaign delete
Prometheo 19cbea7
Merge pull request #185 from PotLock/testnet
Prometheo 4ef2ded
Added campaigns sycn API's
aunali8812 52d67fd
Resolved PR comments
aunali8812 ae3cf22
Merge pull request #186 from PotLock/feature/sync-campaigns
aunali8812 be9cedd
Merge pull request #187 from PotLock/testnet
aunali8812 065f6e8
Merge remote-tracking branch 'origin/dev' into feature/sync-accounts-…
aunali8812 9bf1618
Added accounts and list sync endpoints
aunali8812 b9c452a
Merge pull request #188 from PotLock/feature/sync-accounts-lists
aunali8812 db66701
Fix bug in get lists api
aunali8812 c2d8990
Add diret donation sync for lists donations
aunali8812 74921a0
Fixed net amount calculation in direct donation sync
aunali8812 f80a556
Merge pull request #189 from PotLock/testnet
aunali8812 9cde009
minor change to trigger deployment
aunali8812 d4cab01
Add sync endpoints for lists, donations, and accounts
aunali8812 cc52533
Merge pull request #190 from PotLock/feature/sync-endpoints-prod
aunali8812 73dd6b8
Revert "Merge pull request #190 from PotLock/feature/sync-endpoints-p…
aunali8812 e3c1086
Move broken reclaim_python_sdk import to actual method to prevent ful…
aunali8812 3f582dd
Re-add sync endpoints for accounts, lists and direct donations
aunali8812 ada58a8
Added pots sync endpoints
aunali8812 cf1f05f
Merge pull request #191 from PotLock/feature/sync-pots
aunali8812 aeeb3e9
Merge pull request #192 from PotLock/feature/sync-pots
aunali8812 9fac5e0
Added campaign deletion,refund and unescrow sync endpoints
aunali8812 cd4b50e
Merge pull request #194 from PotLock/feature/campaign-sync-complete
aunali8812 bca26f1
Merge pull request #195 from PotLock/testnet
aunali8812 88004f3
Added pots sync endpoints
aunali8812 2a71801
Added list deletion and upvote/remove upvote sync endpoints
aunali8812 13e4e01
Merge pull request #197 from PotLock/feature/lists-sync-complete
aunali8812 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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,51 @@ | ||
| name: Prod deploy to EC2 on Push | ||
|
|
||
| on: | ||
| push: | ||
| branches: [prod] | ||
|
|
||
| env: | ||
| AWS_REGION: "us-east-1" | ||
|
|
||
| # Permission can be added at job level or workflow level | ||
| permissions: | ||
| id-token: write # This is required for requesting the JWT | ||
| contents: read # This is required for actions/checkout | ||
| jobs: | ||
| DeployToCodeDeploy: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Git clone the repository | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: Configure AWS credentials | ||
| uses: aws-actions/configure-aws-credentials@v1.7.0 | ||
| with: | ||
| role-to-assume: arn:aws:iam::471112976510:role/GitHubAction-AssumeRoleWithAction | ||
| role-session-name: GitHub_to_AWS_via_FederatedOIDC | ||
| aws-region: ${{ env.AWS_REGION }} | ||
|
|
||
| # - name: Generate appspec.yml for prod | ||
| # run: cp appspec.yml appspec.yml | ||
|
|
||
| - name: Set environment variables | ||
| id: vars | ||
| run: | | ||
| echo "DATETIME=$(date +'%Y-%m-%d_%H-%M-%S')" >> $GITHUB_ENV | ||
| echo "FILENAME=django-indexer-prod-${DATETIME}.zip" >> $GITHUB_ENV | ||
| echo "S3_BUCKET=django-indexer-prod" >> $GITHUB_ENV | ||
|
|
||
| - name: Create zip of repository | ||
| run: zip -r "${{ env.FILENAME }}" . | ||
|
|
||
| - name: Upload repository to S3 | ||
| run: aws s3 cp "${{ env.FILENAME }}" "s3://${{ env.S3_BUCKET }}/" | ||
|
|
||
| - name: Create CodeDeploy Deployment | ||
| id: deploy | ||
| run: | | ||
| aws deploy create-deployment \ | ||
| --application-name django-indexer \ | ||
| --deployment-group-name django-indexer-prod \ | ||
| --deployment-config-name CodeDeployDefault.AllAtOnce \ | ||
| --s3-location bucket=${{ env.S3_BUCKET }},bundleType=zip,key=${{ env.FILENAME }} | ||
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -3,19 +3,26 @@ | |
| - [Steps to run:](#steps-to-run) | ||
| - [Env vars example](#env-vars-example) | ||
| - [API Basics](#api-basics) | ||
| - [Base URL](#base-url) | ||
| - [Authorization](#authorization) | ||
| - [Error Responses](#error-responses) | ||
| - [Pagination](#pagination) | ||
| - [Base URL](#base-url) | ||
| - [Authorization](#authorization) | ||
| - [Error Responses](#error-responses) | ||
| - [Pagination](#pagination) | ||
| - [API Endpoints](#api-endpoints) | ||
| - [`Account` endpoints](#account-endpoints) | ||
| - [✅ Get all accounts: `GET /accounts` (paginated)](#-get-all-accounts-get-accounts-paginated) | ||
| - [✅ Get account by ID (address): `GET /accounts/{ACCOUNT_ID}`](#-get-account-by-id-address-get-accountsaccount_id) | ||
| - [✅ Get donations received for account: `GET /accounts/{ACCOUNT_ID}/donations_received` (paginated)](#-get-donations-received-for-account-get-accountsaccount_iddonations_received-paginated) | ||
| - [✅ Get donations sent for account: `GET /accounts/{ACCOUNT_ID}/donations_sent` (paginated)](#-get-donations-sent-for-account-get-accountsaccount_iddonations_sent-paginated) | ||
| - [✅ Get pots for account: `GET /accounts/{ACCOUNT_ID}/active_pots` (paginated)](#-get-pots-for-account-get-accountsaccount_idactive_pots-paginated) | ||
| - [✅ Get applications for account: `GET /accounts/{ACCOUNT_ID}/pot_applications` (paginated)](#-get-applications-for-account-get-accountsaccount_idpot_applications-paginated) | ||
| - [✅ Get registrations to lists by account: `GET /accounts/{ACCOUNT_ID}/list-registrations` (paginated)](#-get-registrations-to-lists-by-account-get-accountsaccount_idlist-registrations-paginated) | ||
| - [`List` endpoints](#list-endpoints) | ||
| - [✅ Get all lists: `GET /lists` (paginated)](#-get-all-lists-get-lists-paginated) | ||
| - [✅ Get list by ID: `GET /lists/{LIST_ID}` (paginated)](#-get-list-by-id-get-listslist_id-paginated) | ||
| - [✅ Get registrations for list: `GET /lists/{LIST_ID}/registrations` (paginated)](#-get-registrations-for-list-get-listslist_idregistrations-paginated) | ||
| - [✅ Get random registration for list: `GET /lists/{LIST_ID}/random_registration`](#-get-random-registration-for-list-get-listslist_idrandom_registration) | ||
| - [Donate Contract Config endpoint](#donate-contract-config-endpoint) | ||
| - [✅ Get donate contract config: `GET /donate_contract_config`](#-get-donate-contract-config-get-donate_contract_config) | ||
| - [`Donors` endpoints](#donors-endpoints) | ||
| - [✅ Get all donors: `GET /donors` (paginated)](#-get-all-donors-get-donors-paginated) | ||
| - [`Pots` endpoints](#pots-endpoints) | ||
|
|
@@ -85,7 +92,7 @@ export PL_SENTRY_DSN= | |
|
|
||
| This is a public, read-only API and as such does not currently implement authentication or authorization. | ||
|
|
||
| Rate limits of 100 requests/min are enforced to ensure service for all users. | ||
| Rate limits of 500 requests/min are enforced to ensure service for all users. | ||
|
|
||
| #### Error Responses | ||
|
|
||
|
|
@@ -102,7 +109,7 @@ Possible Error Codes: | |
|
|
||
| #### Pagination | ||
|
|
||
| Pagination available using `limit` and `offset` query params on endpoints that specify `paginated`. Default `limit` is 30. | ||
| Pagination available using `page` and `page_size` as query param on endpoints that specify `paginated`. Default `page_size` is 30. | ||
|
|
||
| Endpoints that support pagination will return a success response containing the following: | ||
|
|
||
|
|
@@ -121,10 +128,31 @@ _NB: These endpoints are what is required to integrate with BOS app & replace cu | |
|
|
||
| #### ✅ Get account by ID (address): `GET /accounts/{ACCOUNT_ID}` | ||
|
|
||
| #### ✅ Get donations received for account: `GET /accounts/{ACCOUNT_ID}/donations_received` (paginated) | ||
|
|
||
| #### ✅ Get donations sent for account: `GET /accounts/{ACCOUNT_ID}/donations_sent` (paginated) | ||
|
|
||
| #### ✅ Get pots for account: `GET /accounts/{ACCOUNT_ID}/active_pots` (paginated) | ||
|
|
||
| Can specify `status=live` query param to retrieve only pots that are currently active (live matching round) | ||
|
|
||
| #### ✅ Get applications for account: `GET /accounts/{ACCOUNT_ID}/pot_applications` (paginated) | ||
|
|
||
| Can specify `status={PotApplicationStatus}` query param to retrieve applications with a given status: | ||
|
|
||
| ```py | ||
| enum PotApplicationStatus { | ||
| Pending, | ||
| Approved, | ||
| Rejected, | ||
| InReview, | ||
| } | ||
| ``` | ||
|
|
||
| #### ✅ Get registrations to lists by account: `GET /accounts/{ACCOUNT_ID}/list-registrations` (paginated) | ||
|
|
||
| Can specify status to filter by using `status` query param if desired, e.g. `status=Approved` | ||
|
|
||
| ### `List` endpoints | ||
|
|
||
| #### ✅ Get all lists: `GET /lists` (paginated) | ||
|
|
@@ -133,8 +161,17 @@ Can specify `status=live` query param to retrieve only pots that are currently a | |
|
|
||
| #### ✅ Get registrations for list: `GET /lists/{LIST_ID}/registrations` (paginated) | ||
|
|
||
| Can specify status to filter by using `status` query param if desired, e.g. `status=Approved` | ||
| Can also specify project category to filter by using `category` query param if desired, e.g. `category=Education` | ||
|
|
||
| #### ✅ Get random registration for list: `GET /lists/{LIST_ID}/random_registration` | ||
|
|
||
| Can specify status to filter by using `status` query param if desired, e.g. `status=Approved` | ||
|
|
||
| ### Donate Contract Config endpoint | ||
|
|
||
| #### ✅ Get donate contract config: `GET /donate_contract_config` | ||
|
|
||
| ### `Donors` endpoints | ||
|
|
||
| #### ✅ Get all donors: `GET /donors` (paginated) | ||
|
|
@@ -170,3 +207,5 @@ Returns: | |
| - `total_donations_count` | ||
| - `total_donors_count` | ||
| - `total_recipients_count` | ||
|
|
||
| .. | ||
|
Comment on lines
+210
to
+211
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Trailing 🤖 Prompt for AI Agents |
||
This file contains hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update GitHub Actions checkout version.
The
actions/checkout@v3version is outdated as flagged by static analysis. Update to a newer version to ensure compatibility with the latest GitHub Actions runner.📝 Committable suggestion
🧰 Tools
🪛 actionlint (1.7.4)
19-19: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)