MsgUpdateCollection
Update Flag Pattern
Authorization & Permissions
Proto Definition
message MsgUpdateCollection {
string creator = 1; // Address updating collection (must be manager)
string collectionId = 2; // ID of collection to update
bool updateValidTokenIds = 3;
repeated UintRange validTokenIds = 4;
bool updateCollectionPermissions = 5;
CollectionPermissions collectionPermissions = 6;
bool updateManager = 7;
string manager = 8;
bool updateCollectionMetadata = 9;
CollectionMetadata collectionMetadata = 10;
bool updateTokenMetadata = 11;
repeated TokenMetadata tokenMetadata = 12;
bool updateCustomData = 13;
string customData = 14;
bool updateCollectionApprovals = 15;
repeated CollectionApproval collectionApprovals = 16;
bool updateStandards = 17;
repeated string standards = 18;
bool updateIsArchived = 19;
bool isArchived = 20;
repeated cosmos.base.v1beta1.Coin mintEscrowCoinsToTransfer = 21;
repeated CosmosCoinWrapperPathAddObject cosmosCoinWrapperPathsToAdd = 22;
repeated AliasPathAddObject aliasPathsToAdd = 23;
CollectionInvariants invariants = 24;
}
message MsgUpdateCollectionResponse {
string collectionId = 1; // ID of updated collection
}Usage Example
JSON Example
Last updated