Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bearni95 committed Dec 6, 2024
1 parent 1d9cfda commit 46c37fc
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 1,216 deletions.
242 changes: 0 additions & 242 deletions packages/nfts/contracts/trailblazers-badges/BadgeChampions.sol

This file was deleted.

19 changes: 0 additions & 19 deletions packages/nfts/contracts/trailblazers-badges/TrailblazersBadges.sol
Original file line number Diff line number Diff line change
Expand Up @@ -221,23 +221,4 @@ contract TrailblazersBadges is ERC721EnumerableUpgradeable, ECDSAWhitelist {

return balances;
}

/// @notice V3

address public season2BadgeContract;

error INVALID_S2_CONTRACT();

function setSeason2BadgeContract(address _season2BadgeContract) public onlyOwner {
season2BadgeContract = _season2BadgeContract;
}

modifier onlySeason2BadgeContract() {
if (msg.sender != season2BadgeContract) revert INVALID_S2_CONTRACT();
_;
}

function burn(uint256 _tokenId) public onlySeason2BadgeContract {
_burn(_tokenId);
}
}
Loading

0 comments on commit 46c37fc

Please sign in to comment.