Vaulta

pkbtc.pink

Contract

The data structures defined by this contract.

  • Table row type of global

    {
      "name": "global",
      "base": "",
      "fields": [
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    }
  • Table row type of orders

    {
      "name": "orders",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "pink_reward",
          "type": "float64"
        },
        {
          "name": "btc_reward",
          "type": "float64"
        },
        {
          "name": "reward",
          "type": "float64"
        },
        {
          "name": "update_time",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in updateglobal

    {
      "name": "updateglobal",
      "base": "",
      "fields": [
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in withdraw

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol_code"
        }
      ]
    }