View Source Radixir.Core.Request.DeriveEntityIdentifier.Metadata.ExitingUnstakes (radixir v0.0.3)

Methods to create each map in ExitingUnstakes map.

Link to this section Summary

Functions

Generates stitch plan for epoch_unlock map in ExitingUnstakes map.

Generates stitch plan for sub_entity map in ExitingUnstakes map.

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

Generates stitch plan for validator map in ExitingUnstakes map.

Link to this section Types

Specs

params() :: keyword()

Specs

stitch_plans() :: [keyword()]

Link to this section Functions

Link to this function

epoch_unlock(stitch_plans, params)

View Source

Specs

epoch_unlock(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for epoch_unlock map in ExitingUnstakes map.

Parameters

  • stitch_plans: On-going stitch plans that will be stitched into a map.
  • params: Keyword list that contains:
    • epoch_unlock (required, integer): Epoch unlock.
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 ExitingUnstakes 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 ExitingUnstakes map. Value is set to ExitingUnstakes.

Parameters

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

validator(stitch_plans, params)

View Source

Specs

validator(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for validator map in ExitingUnstakes map.

Parameters

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