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

Methods to create each map in TokenMetaData map.

Link to this section Summary

Functions

Generates stitch plan for description map in TokenMetaData map.

Generates stitch plan for icon_url map in TokenMetaData map.

Generates stitch plan for name map in TokenMetaData map.

Generates stitch plan for symbol map in TokenMetaData map.

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

Generates stitch plan for url map in TokenMetaData map.

Link to this section Types

Specs

params() :: keyword()

Specs

stitch_plans() :: [keyword()]

Link to this section Functions

Link to this function

description(stitch_plans, params)

View Source

Specs

description(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for description map in TokenMetaData map.

Parameters

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

icon_url(stitch_plans, params)

View Source

Specs

icon_url(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for icon_url map in TokenMetaData map.

Parameters

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

name(stitch_plans, params)

View Source

Specs

name(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for name map in TokenMetaData map.

Parameters

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

symbol(stitch_plans, params)

View Source

Specs

symbol(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for symbol map in TokenMetaData map.

Parameters

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

Specs

type(stitch_plans()) :: stitch_plans()

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

Parameters

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

url(stitch_plans, params)

View Source

Specs

Generates stitch plan for url map in TokenMetaData map.

Parameters

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