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

feat: Add rewards and sUSDC #31

Merged
merged 2 commits into from
Mar 7, 2025
Merged

feat: Add rewards and sUSDC #31

merged 2 commits into from
Mar 7, 2025

Conversation

lucas-manuel
Copy link
Contributor

No description provided.

@lucas-manuel lucas-manuel self-assigned this Mar 5, 2025
@lucas-manuel lucas-manuel changed the title feat: Add new addresses feat: Add rewards and sUSDC Mar 5, 2025
Copy link

@nikozalo nikozalo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified all addresses are correct.
Added a comment in terms of naming.

src/Ethereum.sol Outdated
@@ -41,7 +42,9 @@ library Ethereum {
/*** SparkDAO Addresses ***/
/******************************************************************************************************************/

address internal constant SPARK_PROXY = 0x3300f198988e4C9C63F75dF86De36421f06af8c4;
address internal constant SPARK_PROXY = 0x3300f198988e4C9C63F75dF86De36421f06af8c4;
address internal constant SPARK_REWARDS_ADMIN = 0xF649956f43825d4d7295a50EDdBe1EDC814A3a83; // TODO: Best way to differentiate between this and MULTISIG_REWARDS?
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want a SPARK_REWARDS_MULTISIG as well to make it clear that the admin and the wallet are not necessarily the same. It is in the current setup though.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes SPARK_REWARDS_MULTISIG is good. Also, add it to the other networks.

MULTISIG_REWARDS can be changed to SPARKLEND_REWARDS_MULTISIG

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@lucas-manuel lucas-manuel merged commit 93bcbcc into master Mar 7, 2025
1 check passed
@lucas-manuel lucas-manuel deleted the add-new-addresses branch March 7, 2025 18:07
lucas-manuel added a commit that referenced this pull request Mar 21, 2025
* feat: add deployments and testing

* fix: formatting

* feat: get deployy tests working, refactor structure

* feat: get deployy tests working, refactor structure

* feat: finish deploy scripts refactor

* feat: add init

* feat: add init

* feat: mainnet deploy and init working

* feat: tests passing

* fix: cleanup

* feat: update to use interfaces

* fix: alignment and struct

* feat: update to add separate init scripts

* feat: check constructor params

* feat: add unlimited rate data sanity checks

* feat: get constructor tests working

* feat: update to add rate limit tests

* feat: add init failure tests for mainnet controller

* feat: update to add remaining failure mode tests

* starting on sepolia support

* more work on sepolia testnet

* move usds join back to common

* more work on sepolia support

* forge install: erc20-helpers

* more progress on sepolia deploy

* mint usds working

* got psm swap working

* started on base

* starting on base

* almost finished base support

* forge install: dss-test

* full sepolia working

* add safe

* forge install: safe-smart-account

v1.4.1

* fix imports

* create deploy

* update to latest alm controller and add vat ilk line

* add more addresses

* remove safe deploy logic; new sepolia release

* use 1 for rate

* cleanup: Sepolia refactor (SC-745) (#40)

* formatting: regroup and reorder imports

* formatting: set up declarations, change function naming

* formatting: general formatting throughout

* formatting: add step by step comments, move function

* fix: update remappings, update instance name

* fix: move variable assignments

* feat: update to mint funds to alm proxy and use psm deploy lib

* fix: rm comment

* fix: sanity check and psm lib

---------

Co-authored-by: lucas-manuel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants