Skip to content
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: 2 additions & 0 deletions contracts/common_types/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ pub enum MembershipStatus {
Revoked,
/// Inactive membership
Inactive,
/// Burned membership
Burned,
}

// ============================================================================
Expand Down
11 changes: 8 additions & 3 deletions contracts/manage_hub/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ pub enum Error {
MetadataNotFound = 16,
MetadataDescriptionTooLong = 17,
MetadataTooManyAttributes = 18,
MetadataAttributeKeyTooLong = 19,
MetadataTextValueTooLong = 20,
MetadataKeyTooLong = 19,
MetadataValueTooLong = 20,
MetadataValidationFailed = 21,
InvalidMetadataVersion = 22,
// Pause/Resume related errors
Expand Down Expand Up @@ -55,9 +55,14 @@ pub enum Error {
TierChangeNotFound = 45,
// Token renewal errors (reusing codes where applicable)
RenewalNotAllowed = 46,
TransferNotAllowedInGracePeriod = 47,
TransferInGracePeriod = 47,
GracePeriodExpired = 48,
AutoRenewalFailed = 49,
// Token fractionalization errors
TokenFractionalized = 50,
// Token burning errors
TokenBurned = 51,
CannotBurnExpired = 52,
CannotBurnFractionalized = 53,
BurnHistoryNotFound = 54,
}
Loading
Loading