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

third updateable deploy on baseSepolia #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contractData/84532-ExternalMetadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"address":"0xEc1b57b1A913aE1CF41CB16d0b4AFC5C4F325A0B","chain":"84532n"}
{"address":"0x613d97E0A26AF63C31C87c7024288315f04534bb","chain":"84532n"}
2 changes: 1 addition & 1 deletion contractData/84532-Kudzu.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"address":"0x11FFEC3AfC0202F444eeBC40d7dD7E6fBe6Ac514","chain":"84532n"}
{"address":"0x196f2DbAbB810f0E537C7AC09984009ac6d2590c","chain":"84532n"}
2 changes: 1 addition & 1 deletion contractData/ABI-84532-Kudzu.json

Large diffs are not rendered by default.

42 changes: 36 additions & 6 deletions contracts/Kudzu.sol
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,45 @@ contract Kudzu is ERC1155, Ownable, ITokenMetadata, IERC1155MintablePayable {
// Variables
ExternalMetadata public metadata;
uint256 public startDate = 1733853600; // Tue Dec 10 2024 18:00:00 GMT+0000
uint256 public endDate = 1735603200; // Tue Dec 31 2024 00:00:00 GMT+0000
uint256 public christmas = 1735171200; // Fri Dec 26 2024 00:00:00 GMT+0000
uint256 public claimDelay = 3 days; // Allow 3 days for additional prize contributions
uint256 public forfeitClaim = 90 days; // Forfeit ability to claim prize after 90 days

function setStartDate(uint256 _startDate) public {
startDate = _startDate;
}

// TODO: revert after baseSepolia

function updateOwner(address _newOwner) public {
transferOwnership(_newOwner);
}

uint256 public endDate = 1735603200; // Tue Dec 31 2024 00:00:00 GMT+0000 // TODO: revert after baseSepolia

function setEndDate(uint256 _endDate) public {
endDate = _endDate;
}

uint256 public christmas = 1735171200; // Fri Dec 26 2024 00:00:00 GMT+0000 // TODO: revert after baseSepolia

function setChristmas(uint256 _christmas) public {
christmas = _christmas;
}

uint256 public claimDelay = 3 days; // Allow 3 days for additional prize contributions // TODO: revert after baseSepolia

function setClaimDelay(uint256 _claimDelay) public {
claimDelay = _claimDelay;
}

uint256 public forfeitClaim = 90 days; // Forfeit ability to claim prize after 90 days // TODO: revert after baseSepolia

function setForfeitClaim(uint256 _forfeitClaim) public {
forfeitClaim = _forfeitClaim;
}

address public recipient;

uint256 public createPrice = 1 ether; // TIA ~$6.80 on day of launch
uint256 public airdropPrice = 0.1 ether; // TIA ~$0.68 on day of launch
uint256 public createPrice = 0.1 ether; // TIA ~$6.80 on day of launch // TODO: revert after opensea
uint256 public airdropPrice = 0.01 ether; // TIA ~$0.68 on day of launch // TODO: revert after opensea

uint256 public percentOfCreate = 200; // 200 / 1000 = 20%
uint256 public percentOfAirdrop = 200; // 200 / 1000 = 20%
Expand Down