DWELL: Pay your rent with a yield-bearing stablecoin#4
Merged
lyronctk merged 29 commits intoSeismicSystems:mainfrom Feb 11, 2025
Merged
DWELL: Pay your rent with a yield-bearing stablecoin#4lyronctk merged 29 commits intoSeismicSystems:mainfrom
lyronctk merged 29 commits intoSeismicSystems:mainfrom
Conversation
Contributor
ssolit
reviewed
Feb 8, 2025
Contributor
|
Would propose the following two revisions:
How dApps could interface:
|
- Replace zero returns with UnauthorizedView errors in view functions - Add safe view functions that return success boolean - Replace direct event emission with virtual event functions - Update tests to handle UnauthorizedView errors and event changes
Collaborator
Author
I modified the original function to return the error, and added a new function that returns 0 on unauthorized attempts and also returns a boolean to indicate that the call was unsuccessful Also updated the tests to expect the appropriate reverts |
ssolit
reviewed
Feb 8, 2025
ssolit
reviewed
Feb 8, 2025
ssolit
reviewed
Feb 8, 2025
ssolit
reviewed
Feb 9, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.


Summary
Added new token standard implementation and Foundry project setup:
SERC20 Token Standard
Project Infrastructure
Documentation