Interface iUserIncomingApproval<T>

interface iUserIncomingApproval<T extends NumberType> {
    approvalCriteria?: iIncomingApprovalCriteria<T>;
    approvalId: string;
    badgeIds: iUintRange<T>[];
    customData?: string;
    fromListId: string;
    initiatedByListId: string;
    ownershipTimes: iUintRange<T>[];
    transferTimes: iUintRange<T>[];
    uri?: string;
}

Type Parameters

Hierarchy (View Summary, Expand)

Implemented by

Properties

approvalCriteria?: iIncomingApprovalCriteria<T>

The criteria to be met. 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. The ID is either registered on-chain for reusability or follows the reserved ID system.

initiatedByListId: string

The list ID for the user(s) who initiate the transfer. The ID is either registered on-chain for reusability or follows the reserved ID system.

ownershipTimes: iUintRange<T>[]

The ownership times of the badges being transferred.

transferTimes: iUintRange<T>[]

The times allowed for the transfer transaction.

uri?: string

The URI of the approval.

MMNEPVFCICPMFPCPTTAAATR