View Source Radixir.Core.Request.BuildTransaction.Operation.DataObject.PreparedValidatorOwner (radixir v0.0.3)

Methods to create each map in PreparedValidatorOwner map.

Link to this section Summary

Functions

Generates stitch plan for epoch map in PreparedValidatorOwner map.

Generates stitch plan for owner map in PreparedValidatorOwner map.

Generates stitch plan for sub_entity map in PreparedValidatorOwner map.

Generates stitch plan for type map in PreparedValidatorOwner map. Value is set to PreparedValidatorOwner.

Link to this section Types

Specs

params() :: keyword()

Specs

stitch_plans() :: [keyword()]

Link to this section Functions

Link to this function

epoch(stitch_plans, params)

View Source

Specs

epoch(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for epoch map in PreparedValidatorOwner map.

Parameters

  • stitch_plans: On-going stitch plans that will be stitched into a map.
  • params: Keyword list that contains:
    • epoch (required, integer): Epoch.
Link to this function

owner(stitch_plans, params)

View Source

Specs

owner(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for owner map in PreparedValidatorOwner map.

Parameters

  • stitch_plans: On-going stitch plans that will be stitched into a map.
  • params: Keyword list that contains:
    • address (required, string): Owner address.
Link to this function

sub_entity(stitch_plans, params)

View Source

Specs

sub_entity(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for sub_entity map in PreparedValidatorOwner map.

Parameters

  • stitch_plans: On-going stitch plans that will be stitched into a map.
  • params: Keyword list that contains:
    • address (required, string): Sub Entity address.
    • validator_address (optional, string): Validator address.
    • epoch_unlock (optional, integer): Epoch unlock.

Specs

type(stitch_plans()) :: stitch_plans()

Generates stitch plan for type map in PreparedValidatorOwner map. Value is set to PreparedValidatorOwner.

Parameters

  • stitch_plans: On-going stitch plans that will be stitched into a map.