Interface iCollectionApproval<T>

interface iCollectionApproval<T> {
    approvalCriteria?: iApprovalCriteria<T>;
    approvalId: string;
    badgeIds: iUintRange<T>[];
    customData?: string;
    fromListId: string;
    initiatedByListId: string;
    ownershipTimes: iUintRange<T>[];
    toListId: string;
    transferTimes: iUintRange<T>[];
    uri?: string;
}

Type Parameters

Hierarchy (view full)

Implemented by

Properties

approvalCriteria?: iApprovalCriteria<T>

For allowed combinations, we also must check the details of the approval. These represent the restrictions that must be obeyed such as the total amount approved, max num transfers, merkle challenges, must own badges, etc.

approvalId: string

The ID of the approval. Must not be a duplicate of another approval ID in the same timeline.

badgeIds: iUintRange<T>[]

The badge IDs to be transferred.

customData?: string

Arbitrary custom data of the approval

fromListId: string

The list ID for the user(s) who is sending the badges.

initiatedByListId: string

The list ID for the user(s) who initiate the transfer.

ownershipTimes: iUintRange<T>[]

The ownership times of the badges being transferred.

toListId: string

The list ID for the user(s) who is receiving the badges.

transferTimes: iUintRange<T>[]

The times of the transfer transaction.

uri?: string

The URI of the approval.