Skip to content

Commit

Permalink
feat: handle merkle tree while minting whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
hthieu1110 authored and WaDadidou committed Mar 27, 2024
1 parent 9b2d63c commit 501a530
Show file tree
Hide file tree
Showing 9 changed files with 308 additions and 1,431 deletions.
100 changes: 50 additions & 50 deletions api/launchpad/v1/launchpad.proto
Original file line number Diff line number Diff line change
Expand Up @@ -89,75 +89,75 @@ message Trait {
string value = 3;
}

message Collection {
// Collection info ----------------------------
string name = 1;
string desc = 2;
string symbol = 3;
string cover_img_uri = 4;
string target_network = 5;
string external_link = 6;
// message ProjectInfo {
// // Collection info ----------------------------
// string name = 1;
// string desc = 2;
// string symbol = 3;
// string cover_img_uri = 4;
// string target_network = 5;
// string external_link = 6;

// Collection details ----------------------------
string website_link = 7;
// // Collection details ----------------------------
// string website_link = 7;

string twitter_profile = 8;
uint64 twitter_followers_count = 9;
// string twitter_profile = 8;
// uint64 twitter_followers_count = 9;

string contact_discord_name = 10;
string contact_email = 11;
// string contact_discord_name = 10;
// string contact_email = 11;

bool is_project_derivative = 12;
// bool is_project_derivative = 12;

string project_type = 13;
string project_desc = 14;
// string project_type = 13;
// string project_desc = 14;

bool is_applied_previously = 15;
// bool is_applied_previously = 15;

// Team info --------------------------------------
string team_desc = 16;
string team_link = 17;
// // Team info --------------------------------------
// string team_desc = 16;
// string team_link = 17;

string partners = 18;
// string partners = 18;

string investment_desc = 19;
string investment_link = 20;
// string investment_desc = 19;
// string investment_link = 20;

string whitepaper_link = 21;
string roadmap_link = 22;
// string whitepaper_link = 21;
// string roadmap_link = 22;

// Additional info ----------------------------
string artwork_desc = 23;
// // Additional info ----------------------------
// string artwork_desc = 23;

bool is_ready_for_mint = 24;
// bool is_ready_for_mint = 24;

uint32 expected_supply = 25;
uint64 expected_public_mint_price = 26;
uint64 expected_mint_date = 27;
// uint32 expected_supply = 25;
// uint64 expected_public_mint_price = 26;
// uint64 expected_mint_date = 27;

uint64 escrow_mint_proceeds_period = 28;
bool is_dox = 29;
// uint64 escrow_mint_proceeds_period = 28;
// bool is_dox = 29;

uint32 dao_whitelist_count = 30;
// uint32 dao_whitelist_count = 30;

// Minting details ----------------------------
uint32 tokens_count = 31;
uint64 unit_price = 32;
uint32 limit_per_address = 33;
uint64 start_time = 34;
// // Minting details ----------------------------
// uint32 tokens_count = 31;
// uint64 unit_price = 32;
// uint32 limit_per_address = 33;
// uint64 start_time = 34;

// Whitelist minting --------------------------
// repeated WhitelistMinting whitelist_mintings = 35;
// // Whitelist minting --------------------------
// // repeated WhitelistMinting whitelist_mintings = 35;

// Royalty --------------------------
string royalty_address = 35;
uint32 royalty_percentage = 36;
// // Royalty --------------------------
// string royalty_address = 35;
// uint32 royalty_percentage = 36;

// Extend info --------------------------
string base_token_uri = 37;
string merkle_root = 38;
string deployed_address = 39;
}
// // Extend info --------------------------
// string base_token_uri = 37;
// string merkle_root = 38;
// string deployed_address = 39;
// }

message WhitelistMintInfo {
repeated string addresses = 1;
Expand Down
Loading

0 comments on commit 501a530

Please sign in to comment.