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

    Class PredeterminedOrderCalculationMethod

    PredeterminedOrderCalculationMethod defines the method to calculate predetermined balances order.

    from message badges.PredeterminedOrderCalculationMethod

    Hierarchy

    Index

    Constructors

    Properties

    challengeTrackerId: string = ""

    If useMerkleChallengeLeafIndex is set, then this is the ID of the challenge tracker associated with this calculation method.

    from field: string challengeTrackerId = 6;

    useMerkleChallengeLeafIndex: boolean = false

    Use the Merkle challenge leaf index to calculate the order. Ex: Transfer that uses leaf index 0 gets the first balance, transfer that uses leaf index 1 gets the second balance, etc.

    from field: bool useMerkleChallengeLeafIndex = 5;

    useOverallNumTransfers: boolean = false

    Use the overall number of transfers to calculate the order. Ex: First transfer gets the first balance, second transfer gets the second balance, etc.

    from field: bool useOverallNumTransfers = 1;

    usePerFromAddressNumTransfers: boolean = false

    Use the number of transfers per "from" address to calculate the order. Ex: First transfer from address A gets the first balance, second transfer from address A gets the second balance, etc.

    from field: bool usePerFromAddressNumTransfers = 3;

    usePerInitiatedByAddressNumTransfers: boolean = false

    Use the number of transfers per "initiated by" address to calculate the order. Ex: First transfer initiated by address A gets the first balance, second transfer initiated by address A gets the second balance, etc.

    from field: bool usePerInitiatedByAddressNumTransfers = 4;

    usePerToAddressNumTransfers: boolean = false

    Use the number of transfers per "to" address to calculate the order. Ex: First transfer to address A gets the first balance, second transfer to address A gets the second balance, etc.

    from field: bool usePerToAddressNumTransfers = 2;

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

    Methods