bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Class TokenIdsActionPermission

    TokenIdsActionPermission defines the permissions for updating a timeline-based field for specific tokens and specific token ownership times. Currently, this is only used for creating new tokens.

    Ex: If you want to lock the ability to create new tokens for tokenIds [1,2] at ownershipTimes 1/1/2020 - 1/1/2021, you could set the combination (tokenIds: [1,2], ownershipTimelineTimes: [1/1/2020 - 1/1/2021]) to always be forbidden.

    from message badges.TokenIdsActionPermission

    Hierarchy

    Index

    Constructors

    Properties

    permanentlyForbiddenTimes: badges.UintRange[] = []

    Specifies the times when this permission is forbidden. Can not overlap with permanentlyPermittedTimes.

    from field: repeated badges.UintRange permanentlyForbiddenTimes = 3;

    permanentlyPermittedTimes: badges.UintRange[] = []

    Specifies the times when this permission is permitted. Can not overlap with permanentlyForbiddenTimes.

    from field: repeated badges.UintRange permanentlyPermittedTimes = 2;

    tokenIds: badges.UintRange[] = []

    Specifies the token IDs involved in the transfer.

    from field: repeated badges.UintRange tokenIds = 1;

    fields: FieldList = ...
    runtime: ProtoRuntime = proto3
    typeName: "badges.TokenIdsActionPermission"

    Methods