-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: unit tests, deployment and interaction with deployed contracts
- Loading branch information
1 parent
0e0b112
commit 5d25e69
Showing
26 changed files
with
225,241 additions
and
136 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "CaveParty", | ||
"description": "CaveParty: party in the woods get into ze event! bamm 🔥💥", | ||
"external_url": "https://pinata.cloud/", | ||
"image": "ipfs://QmNvhC1B8iZwUyJ1eDypfTgZJpJKpzM5cWfaCCvscnmptY" | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.24; | ||
|
||
import {IERC721} from "./IERC721.sol"; | ||
|
||
interface ICaveParty is IERC721 { | ||
function getAssetMetadata() external view returns (string memory); | ||
|
||
function updateMetadata(string memory _newAssetMetadata) external; | ||
|
||
function withdrawFunds() external; | ||
|
||
function getMyWalletMints() external view returns (uint256); | ||
|
||
function mintToken() external payable; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// SPDX-License-Identifier: UNLICENSED | ||
pragma solidity ^0.8.4; | ||
|
||
import {IERC721} from "./IERC721.sol"; | ||
|
||
interface IFluffyFury is IERC721 { | ||
function mint() external payable; | ||
|
||
function withdrawFunds() external; | ||
|
||
function updateSVG(string memory _newSvg) external; | ||
|
||
function transferOwnership(address newOwner) external; | ||
} |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.17; | ||
|
||
interface INFTGatedEventManager { | ||
// Event creation: Only the owner can create an event | ||
function createEvent( | ||
string memory _eventName, | ||
uint256 _eventDate, | ||
address _nftRequired, | ||
uint256 _maxCapacity | ||
) external; | ||
|
||
// Register for an event: Verifies NFT ownership | ||
function registerForEvent(uint256 _eventId) external; | ||
|
||
// Get event details by ID | ||
function getEventDetails( | ||
uint256 _eventId | ||
) | ||
external | ||
view | ||
returns (string memory, uint256, address, uint256, uint256, bool); | ||
|
||
// Toggle event status (activate/deactivate) | ||
function updateEventStatus(uint256 _eventId, bool _isActive) external; | ||
|
||
// Check if a user is registered for an event | ||
function isUserRegistered( | ||
uint256 _eventId, | ||
address _user | ||
) external view returns (bool); | ||
} |
File renamed without changes.
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.