Skip to content

[Naur Release]#161

Open
ghost wants to merge 30 commits intodevfrom
release/naur
Open

[Naur Release]#161
ghost wants to merge 30 commits intodevfrom
release/naur

Conversation

@ghost
Copy link

@ghost ghost commented May 2, 2023

  • POAP support
  • CryptoPunks support removed
  • Solidity version bumped to 0.8.19
  • New AELIN token
  • AELIN token swap contract
  • Dependency cleanup

@ghost ghost marked this pull request as ready for review May 15, 2023 00:41
function depositTokens() external {
if (deposited == true) revert AlreadyDeposited();
if (msg.sender != aelinTreasury) revert Unauthorized();
if (IERC20(aelinToken).balanceOf(msg.sender) < TOKEN_SUPPLY) revert BalanceTooLow();
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe != is better than < here

Copy link
Collaborator

Choose a reason for hiding this comment

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

IncorrectBalance() could be the error

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.

2 participants