Skip to content
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

Treasury selection #58

Merged
merged 46 commits into from
Apr 1, 2024
Merged

Conversation

brianUtn98
Copy link
Contributor

No description provided.

Copy link

cloudflare-workers-and-pages bot commented Mar 29, 2024

Deploying example-grant-program with  Cloudflare Pages  Cloudflare Pages

Latest commit: 337cd6f
Status: ✅  Deploy successful!
Preview URL: https://03b4c026.da02926816b3ed667ca0bac0bdca27102783e4a491d9fbeef750151b19.pages.dev
Branch Preview URL: https://treasury-selection.da02926816b3ed667ca0bac0bdca27102783e4a491d9fbeef750151b19.pages.dev

View logs

@brianUtn98 brianUtn98 requested a review from mat1asm March 29, 2024 22:29
backend/src/handlers/fund-transactions.ts Outdated Show resolved Hide resolved
backend/src/utils/fund-transactions.ts Show resolved Hide resolved
backend/src/utils/secrets.ts Outdated Show resolved Hide resolved
frontend/claim_sdk/testWallets.ts Show resolved Hide resolved
@brianUtn98 brianUtn98 force-pushed the treasury-selection branch from de28647 to 50dcf9e Compare April 1, 2024 12:55
frontend/claim_sdk/treasury.ts Outdated Show resolved Hide resolved
frontend/claim_sdk/treasury.ts Show resolved Hide resolved
@scnale scnale force-pushed the treasury-selection branch from da6fd4a to 59d3d09 Compare April 1, 2024 15:31
@scnale scnale force-pushed the rm-treasury-check-and-cleanup branch from 80b784a to f27cef4 Compare April 1, 2024 15:34
@scnale scnale force-pushed the treasury-selection branch from aebdd94 to 26c3afa Compare April 1, 2024 16:09
@solanoepalacio solanoepalacio dismissed sebastianscatularo’s stale review April 1, 2024 18:49

We decided not to make the progra addresses configurable since they are not really configurable (instead they need to be set at deployment time)

@solanoepalacio solanoepalacio merged commit 32be07b into rm-treasury-check-and-cleanup Apr 1, 2024
5 checks passed
brianUtn98 added a commit that referenced this pull request Apr 1, 2024
* add lookup table back to config for ease of use in sdk

* manually update program IDLs in claim_sdk

* formatting

* fix integration tests

* more integration test fixes

* fix compilation by putting stub in place

* formatting

* adds treasury pub-key to ClaimEvent

* minor fix

* multi-treasury deployment

* mt-02

* Treasury selection (#58)

* add lookup table back to config for ease of use in sdk

* manually update program IDLs in claim_sdk

* formatting

* fix integration tests

* more integration test fixes

* fix compilation by putting stub in place

* formatting

* adds treasury pub-key to ClaimEvent

* minor fix

* multi-treasury deployment

* mt-02

* WIP treasury and funders pull and selection

* treasury list without env

* support multiple funders and use same one than frontend to sign

* sign transaction in the frontend and pass the funder used to the backend

* fix mayority of tests

* remove injective test to be up to date with main

* fix BE tests

* FE prettier

* BE prettier

* fix linter

* updated treasury addresses

* fix linting

* Fix algorand claim info identity serialization (#56)

* Add message for EVM wallet selector (#59)

* backend: modifies private key secret format

We expect a list of private keys as an array of number arrays.

* backend: adds types for node v18

* frontend: use `JSON.parse` to parse private key in test

* backend: prettier run

* all: replaces token dispenser program id env var with constant

* update toStringWithDecimals from 9 to 6

* remove injective test

* fix yarn.lock

* fix backend prettier

* frontend fix prettier

* token dispenser fix prettier

* run pre-commit locally

* linter

* added solana/web3 dep

* multi-treasury deployment 03

* use tokenDispenserProgramId from same workspace

* prettier

* remove dep between front and back

* update treasuries and funders

* frontend prettier

---------

Co-authored-by: nonergodic <[email protected]>
Co-authored-by: solanoe <[email protected]>
Co-authored-by: Martin Picco <[email protected]>
Co-authored-by: Valentino Conti <[email protected]>
Co-authored-by: Sebastián Claudio Nale <[email protected]>

---------

Co-authored-by: solanoe <[email protected]>
Co-authored-by: Brian Monroy <[email protected]>
Co-authored-by: Martin Picco <[email protected]>
Co-authored-by: Valentino Conti <[email protected]>
Co-authored-by: Sebastián Claudio Nale <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants