Vaulta

pinkpledgeso

Contract

The data structures defined by this contract.

  • Action parameter in log

    {
      "name": "log",
      "base": "",
      "fields": [
        {
          "name": "action",
          "type": "name"
        },
        {
          "name": "detail",
          "type": "string"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "cdsid",
          "type": "uint64"
        },
        {
          "name": "amount",
          "type": "uint64"
        },
        {
          "name": "price",
          "type": "float64"
        },
        {
          "name": "diff_seconds",
          "type": "uint64"
        },
        {
          "name": "apy",
          "type": "uint64"
        },
        {
          "name": "pink_price",
          "type": "uint64"
        },
        {
          "name": "pink_amount",
          "type": "uint64"
        }
      ]
    }
  • Table row type of pledgelist

    {
      "name": "pledgelist_row",
      "base": "",
      "fields": [
        {
          "name": "cdsid",
          "type": "uint64"
        },
        {
          "name": "pledgeid",
          "type": "uint64"
        },
        {
          "name": "liquidity",
          "type": "extended_asset"
        },
        {
          "name": "receive_time",
          "type": "uint64"
        },
        {
          "name": "expired_time",
          "type": "uint64"
        }
      ]
    }
  • Table row type of rewardlog

    {
      "name": "rewardlog_row",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "cdsid",
          "type": "uint64"
        },
        {
          "name": "reward",
          "type": "asset"
        },
        {
          "name": "acttime",
          "type": "uint64"
        }
      ]
    }