Splice.Util.FeaturedApp.BatchedMarkersProxy

This module provides a BatchedMarkersProxy that can be used to create multiple markers in one view.

Templates

template BatchedMarkersProxy

Signatory: provider

Field

Type

Description

provider

Party

dso

Party

Data Types

data BatchedMarkersProxy_CreateMarkersResult

data BatchedMarkersProxy_CreateMarkersV2Result

data RewardBatch

RewardBatch

Field

Type

Description

beneficiaries

[AppRewardBeneficiary]

numMarkers

Int

instance Eq RewardBatch

instance Show RewardBatch

instance GetField "batches" BatchedMarkersProxy_CreateMarkers [RewardBatch]

instance GetField "beneficiaries" RewardBatch [AppRewardBeneficiary]

instance GetField "numMarkers" RewardBatch Int

instance SetField "batches" BatchedMarkersProxy_CreateMarkers [RewardBatch]

instance SetField "beneficiaries" RewardBatch [AppRewardBeneficiary]

instance SetField "numMarkers" RewardBatch Int

data RewardBatchV2

RewardBatchV2

Field

Type

Description

beneficiaries

[AppRewardBeneficiary]

markerWeight

Decimal

The total weight of the markers that should be created.

instance Eq RewardBatchV2

instance Show RewardBatchV2

instance GetField "batches" BatchedMarkersProxy_CreateMarkersV2 [RewardBatchV2]

instance GetField "beneficiaries" RewardBatchV2 [AppRewardBeneficiary]

instance GetField "markerWeight" RewardBatchV2 Decimal

instance SetField "batches" BatchedMarkersProxy_CreateMarkersV2 [RewardBatchV2]

instance SetField "beneficiaries" RewardBatchV2 [AppRewardBeneficiary]

instance SetField "markerWeight" RewardBatchV2 Decimal

Functions

require

: CanAssert m => Text -> Bool -> m ()

Check whether a required condition is true. If it’s not, abort the transaction with a message saying that the requirement was not met.

Comments