Skip to content

Commit

Permalink
Merge pull request #80 from holaplex/abdul/switch-collection-events
Browse files Browse the repository at this point in the history
Events for Switching Mint collection
  • Loading branch information
imabdulbasit authored Aug 23, 2023
2 parents be8026a + cf31e40 commit 6d341a4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions credits.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ enum Action {
CREATE_COLLECTION = 9;
RETRY_COLLECTION = 10;
UPDATE_MINT = 11;
SWITCH_COLLECTION = 12;
}

enum Blockchain {
Expand Down
6 changes: 6 additions & 0 deletions nfts.proto
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,11 @@ message SolanaUpdatedMintPayload {
string mint_id = 1;
}

message SwitchCollectionPayload {
string mint_id = 1;
string collection_id = 2;
}

message NftEvents {
oneof event {
DropTransaction create_drop = 4;
Expand Down Expand Up @@ -235,5 +240,6 @@ message NftEvents {
UpdateSolanaMintPayload solana_updated_collection_mint = 41;
RetryUpdateSolanaMintPayload solana_retry_updated_collection_mint = 42;
SolanaUpdatedMintPayload solana_mint_updated = 43;
SwitchCollectionPayload solana_switch_mint_collection_requested = 44;
}
}
3 changes: 3 additions & 0 deletions solana_nfts.proto
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,8 @@ message SolanaNftEvents {
SolanaPendingTransaction retry_update_mint_signing_requested = 40;
SolanaFailedTransaction retry_update_mint_failed = 41;
SolanaCompletedUpdateTransaction retry_update_mint_submitted = 42;
SolanaPendingTransaction switch_mint_collection_signing_requested = 43;
SolanaFailedTransaction switch_mint_collection_failed = 44;
SolanaCompletedUpdateTransaction switch_mint_collection_submitted = 45;
}
}
1 change: 1 addition & 0 deletions treasury.proto
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,6 @@ message TreasuryEvents {
SolanaTransactionResult solana_retry_mint_to_collection_signed = 30;
SolanaTransactionResult solana_update_collection_mint_signed = 31;
SolanaTransactionResult solana_retry_update_collection_mint_signed = 32;
SolanaTransactionResult solana_switch_mint_collection_signed = 33;
}
}

0 comments on commit 6d341a4

Please sign in to comment.