> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

# Splice.Util.FeaturedApp.BatchedMarkersProxy

> Documentation for Splice.Util.FeaturedApp.BatchedMarkersProxy

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

## Templates

<div id="type-splice-util-featuredapp-batchedmarkersproxy-batchedmarkersproxy-55016">
  **template** BatchedMarkersProxy
</div>

> Signatory: provider
>
> | Field    | Type                                                                                     | Description |
> | -------- | ---------------------------------------------------------------------------------------- | ----------- |
> | provider | [Party](/appdev/reference/daml-standard-library/prelude#type-da-internal-lf-party-57932) |             |
> | dso      | [Party](/appdev/reference/daml-standard-library/prelude#type-da-internal-lf-party-57932) |             |
>
> * **Choice** Archive
>
>   Controller: provider
>
>   Returns: ()
>
>   (no fields)
>
> * <div id="type-splice-util-featuredapp-batchedmarkersproxy-batchedmarkersproxycreatemarkers-27654">
>     **Choice** BatchedMarkersProxy\_CreateMarkers
>   </div>
>
>   Controller: provider
>
>   Returns: BatchedMarkersProxy\_CreateMarkersResult
>
>   | Field               | Type                                                                                                                | Description |
>   | ------------------- | ------------------------------------------------------------------------------------------------------------------- | ----------- |
>   | featuredAppRightCid | [ContractId](/appdev/reference/daml-standard-library/prelude#type-da-internal-lf-contractid-95282) FeaturedAppRight |             |
>   | batches             | \[RewardBatch]                                                                                                      |             |
>
> * <div id="type-splice-util-featuredapp-batchedmarkersproxy-batchedmarkersproxycreatemarkersv2-19116">
>     **Choice** BatchedMarkersProxy\_CreateMarkersV2
>   </div>
>
>   Controller: provider
>
>   Returns: BatchedMarkersProxy\_CreateMarkersV2Result
>
>   | Field               | Type                                                                                                                | Description |
>   | ------------------- | ------------------------------------------------------------------------------------------------------------------- | ----------- |
>   | featuredAppRightCid | [ContractId](/appdev/reference/daml-standard-library/prelude#type-da-internal-lf-contractid-95282) FeaturedAppRight |             |
>   | batches             | \[RewardBatchV2]                                                                                                    |             |

## Data Types

<div id="type-splice-util-featuredapp-batchedmarkersproxy-batchedmarkersproxycreatemarkersresult-99671">
  **data** BatchedMarkersProxy\_CreateMarkersResult
</div>

> <div id="constr-splice-util-featuredapp-batchedmarkersproxy-batchedmarkersproxycreatemarkersresult-77896">
>   BatchedMarkersProxy\_CreateMarkersResult
> </div>
>
> > | Field   | Type                                               | Description |
> > | ------- | -------------------------------------------------- | ----------- |
> > | results | \[\[FeaturedAppRight\_CreateActivityMarkerResult]] |             |
>
> **instance** GetField "results" BatchedMarkersProxy\_CreateMarkersResult \[\[FeaturedAppRight\_CreateActivityMarkerResult]]
>
> **instance** SetField "results" BatchedMarkersProxy\_CreateMarkersResult \[\[FeaturedAppRight\_CreateActivityMarkerResult]]
>
> **instance** [HasExercise](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasexercise-70422) BatchedMarkersProxy BatchedMarkersProxy\_CreateMarkers BatchedMarkersProxy\_CreateMarkersResult
>
> **instance** [HasFromAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasfromanychoice-81184) BatchedMarkersProxy BatchedMarkersProxy\_CreateMarkers BatchedMarkersProxy\_CreateMarkersResult
>
> **instance** [HasToAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hastoanychoice-82571) BatchedMarkersProxy BatchedMarkersProxy\_CreateMarkers BatchedMarkersProxy\_CreateMarkersResult

<div id="type-splice-util-featuredapp-batchedmarkersproxy-batchedmarkersproxycreatemarkersv2result-28373">
  **data** BatchedMarkersProxy\_CreateMarkersV2Result
</div>

> <div id="constr-splice-util-featuredapp-batchedmarkersproxy-batchedmarkersproxycreatemarkersv2result-1154">
>   BatchedMarkersProxy\_CreateMarkersV2Result
> </div>
>
> > | Field   | Type                                            | Description |
> > | ------- | ----------------------------------------------- | ----------- |
> > | results | \[FeaturedAppRight\_CreateActivityMarkerResult] |             |
>
> **instance** GetField "results" BatchedMarkersProxy\_CreateMarkersV2Result \[FeaturedAppRight\_CreateActivityMarkerResult]
>
> **instance** SetField "results" BatchedMarkersProxy\_CreateMarkersV2Result \[FeaturedAppRight\_CreateActivityMarkerResult]
>
> **instance** [HasExercise](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasexercise-70422) BatchedMarkersProxy BatchedMarkersProxy\_CreateMarkersV2 BatchedMarkersProxy\_CreateMarkersV2Result
>
> **instance** [HasFromAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hasfromanychoice-81184) BatchedMarkersProxy BatchedMarkersProxy\_CreateMarkersV2 BatchedMarkersProxy\_CreateMarkersV2Result
>
> **instance** [HasToAnyChoice](/appdev/reference/daml-standard-library/prelude#class-da-internal-template-functions-hastoanychoice-82571) BatchedMarkersProxy BatchedMarkersProxy\_CreateMarkersV2 BatchedMarkersProxy\_CreateMarkersV2Result

<div id="type-splice-util-featuredapp-batchedmarkersproxy-rewardbatch-19803">
  **data** RewardBatch
</div>

> <div id="constr-splice-util-featuredapp-batchedmarkersproxy-rewardbatch-87344">
>   RewardBatch
> </div>
>
> > | Field         | Type                                                                            | Description |
> > | ------------- | ------------------------------------------------------------------------------- | ----------- |
> > | beneficiaries | \[AppRewardBeneficiary]                                                         |             |
> > | numMarkers    | [Int](/appdev/reference/daml-standard-library/prelude#type-ghc-types-int-37261) |             |
>
> **instance** [Eq](/appdev/reference/daml-standard-library/prelude#class-ghc-classes-eq-22713) RewardBatch
>
> **instance** [Show](/appdev/reference/daml-standard-library/prelude#class-ghc-show-show-65360) RewardBatch
>
> **instance** GetField "batches" BatchedMarkersProxy\_CreateMarkers \[RewardBatch]
>
> **instance** GetField "beneficiaries" RewardBatch \[AppRewardBeneficiary]
>
> **instance** GetField "numMarkers" RewardBatch [Int](/appdev/reference/daml-standard-library/prelude#type-ghc-types-int-37261)
>
> **instance** SetField "batches" BatchedMarkersProxy\_CreateMarkers \[RewardBatch]
>
> **instance** SetField "beneficiaries" RewardBatch \[AppRewardBeneficiary]
>
> **instance** SetField "numMarkers" RewardBatch [Int](/appdev/reference/daml-standard-library/prelude#type-ghc-types-int-37261)

<div id="type-splice-util-featuredapp-batchedmarkersproxy-rewardbatchv2-80405">
  **data** RewardBatchV2
</div>

> <div id="constr-splice-util-featuredapp-batchedmarkersproxy-rewardbatchv2-45814">
>   RewardBatchV2
> </div>
>
> > | Field         | Type                                                                                    | Description                                             |
> > | ------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------- |
> > | beneficiaries | \[AppRewardBeneficiary]                                                                 |                                                         |
> > | markerWeight  | [Decimal](/appdev/reference/daml-standard-library/prelude#type-ghc-types-decimal-18135) | The total weight of the markers that should be created. |
>
> **instance** [Eq](/appdev/reference/daml-standard-library/prelude#class-ghc-classes-eq-22713) RewardBatchV2
>
> **instance** [Show](/appdev/reference/daml-standard-library/prelude#class-ghc-show-show-65360) RewardBatchV2
>
> **instance** GetField "batches" BatchedMarkersProxy\_CreateMarkersV2 \[RewardBatchV2]
>
> **instance** GetField "beneficiaries" RewardBatchV2 \[AppRewardBeneficiary]
>
> **instance** GetField "markerWeight" RewardBatchV2 [Decimal](/appdev/reference/daml-standard-library/prelude#type-ghc-types-decimal-18135)
>
> **instance** SetField "batches" BatchedMarkersProxy\_CreateMarkersV2 \[RewardBatchV2]
>
> **instance** SetField "beneficiaries" RewardBatchV2 \[AppRewardBeneficiary]
>
> **instance** SetField "markerWeight" RewardBatchV2 [Decimal](/appdev/reference/daml-standard-library/prelude#type-ghc-types-decimal-18135)

## Functions

<div id="function-splice-util-featuredapp-batchedmarkersproxy-require-64969">
  require
  : [CanAssert](/appdev/reference/daml-standard-library/prelude#class-da-internal-assert-canassert-67323) m => [Text](/appdev/reference/daml-standard-library/prelude#type-ghc-types-text-51952) -> [Bool](/appdev/reference/daml-standard-library/prelude#type-ghc-types-bool-66265) -> 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.
</div>
