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

Methods to create each map in ValidatorData map.

Link to this section Summary

Functions

Generates stitch plan for fee map in ValidatorData map.

Generates stitch plan for owner map in ValidatorData map.

Generates stitch plan for registered map in ValidatorData map.

Generates stitch plan for sub_entity map in ValidatorData map.

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

Link to this section Types

Specs

params() :: keyword()

Specs

stitch_plans() :: [keyword()]

Link to this section Functions

Link to this function

fee(stitch_plans, params)

View Source

Specs

Generates stitch plan for fee map in ValidatorData map.

Parameters

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

owner(stitch_plans, params)

View Source

Specs

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

Generates stitch plan for owner map in ValidatorData 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

registered(stitch_plans, params)

View Source

Specs

registered(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for registered map in ValidatorData map.

Parameters

  • stitch_plans: On-going stitch plans that will be stitched into a map.
  • params: Keyword list that contains:
    • registered (required, boolean): Registered.
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 ValidatorData 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 ValidatorData map. Value is set to ValidatorData.

Parameters

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