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

Changes: #38

Merged
merged 7 commits into from
Aug 17, 2024
Merged

Changes: #38

merged 7 commits into from
Aug 17, 2024

Conversation

EmmanuelAR
Copy link
Collaborator

1- Add donator contract
2-Add donatorManager contract
3-Add error constant
4-Add donator constant
5-Add new constants references in all the contracts 6-Add new comments to separete the code in sections

1- Add donator contract
2-Add donatorManager contract
3-Add error constant
4-Add donator constant
5-Add new constants references in all the contracts
6-Add new comments to separete the code in sections
@EmmanuelAR EmmanuelAR requested a review from adrianvrj August 15, 2024 04:01
@EmmanuelAR
Copy link
Collaborator Author

TICKETS:
#33
#22
#7

1-Fix error message to be felt252
2-Fix module errors_constants name
3-remove asser!( to assert(
4-Fix parameters in some methods
5-use read() and write()
6-add modules pending in constants cairo
// DONATOR CONSTANTS
// *************************************************************************
pub mod DonatorConstants {
pub const INICIAL_LEVEL: u32 = 1;
Copy link
Member

Choose a reason for hiding this comment

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

This should be INITIAL

// *************************************************************************
pub mod DonatorConstants {
pub const INICIAL_LEVEL: u32 = 1;
pub const INICIAL_MAX_STARKS_DONATION_TO_NEXT_LEVEL: u64 = 10;
Copy link
Member

Choose a reason for hiding this comment

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

Same here

@EmmanuelAR EmmanuelAR marked this pull request as ready for review August 17, 2024 22:53
Copy link
Member

@adrianvrj adrianvrj left a comment

Choose a reason for hiding this comment

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

Couple of orthography changes, everything else looks good

@adrianvrj adrianvrj merged commit b2b1017 into undefinedorgcr:main Aug 17, 2024
2 checks passed
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.

Add donators manager Add enums for errors and msg handlings Add Donator contract
2 participants