Expand description

Proxy Asset

Proxy assets are objects that describe an asset and a way to calculate that asset’s value against a base asset.

Details

A proxy asset is composed of two components.

  • The asset, which is an AssetEntry and maps to an AssetInfo.
  • The ValueRef which is an enum that indicates how to calculate the value for that asset.

The base asset is the asset for which value_reference in None. There should only be ONE base asset when configuring your proxy

Structs

  • Every ProxyAsset provides a way to determine its value recursively relative to a base asset.
  • A proxy asset with unchecked ans_host entry fields.

Enums

  • Provides information on how to calculate the value of an asset
  • Provides information on how to calculate the value of an asset

Functions