-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add `SellPartyCardsAuthority` * update deploy * add a few tests * update events and add helper functions * update relevant abis * fix tests * add more tests * add more tests * update `isSaleActive` logic * move Contributed event * merge `AboveMaximumContributionsError` and `BelowMinimumContributionsError` * remove redundant initial delegate check * fix compile errors * transfer contribution to Party and fix totalContribution * update `ContributionRouter` * fix `isSaleActive` * fix tests and increase coverage * fix test * update contribute event * fix event and tests * tweaks * increase coverage * perf: optimize and refactor `SellPartyCardsAuthority` (#30) * fix tests * update delegate comments * ensure contract is an authority before sale creation * fix deploy * emit `Finalized` if not enough room for another contribution * style: rename `delegate` to `initialDelegate` * fix(`SellPartyCardsAuthority`): mitigations (#329) * Fix merge conflict --------- Co-authored-by: Brian Le <[email protected]>
- Loading branch information
Showing
7 changed files
with
1,379 additions
and
5 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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 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.