Skip to content

Meta Data

Stan Goldin edited this page Aug 9, 2023 · 7 revisions

This section presents each provider and describes the metadata attributes associated with each one.

we can use this information in this format: https://docs.opensea.io/docs/metadata-standards

add display_type for each name

LockDealNFT:

  • Pool id (number)
  • Token (string)
  • Provider name (string)

Simple Providers:

DealProvider:

  • leftAmount

LockProvider:

  • DealProvider.leftAmount
  • startTime (date)

TimedProvider:

  • DealProvider.leftAmount (max value = startAmount)
  • LockProvider.startTime (date)
  • finishTime (date)

Advanced Providers:

BundleProvider:

  • LastSubPoolId
  • Attributes for next Pool (poolId + 1)
  • Attributes for each subsequent pool up to the LastSubPoolId

RefundProvider:

  • RateToWei (number)
  • CollateralId
  • Attributes for CollateralId Pool
  • Attributes for next Pool (poolId +1)
  • MainCoin

CollateralProvider:

  • Left Amount for Main Coin Collector (poolId + 1)
  • Left Amount for Token Collector (poolId + 2)
  • Left Amount for Main Coin Holder (poolId + 3)
  • finishTime

Clone this wiki locally