Vaulta

eoscrownjy11

Contract

The data structures defined by this contract.

  • Table row type of bid

    {
      "name": "bid",
      "base": "",
      "fields": [
        {
          "name": "bid_key",
          "type": "uint64"
        },
        {
          "name": "buyer",
          "type": "name"
        },
        {
          "name": "order",
          "type": "uint64"
        },
        {
          "name": "price",
          "type": "asset"
        },
        {
          "name": "amount",
          "type": "uint64"
        },
        {
          "name": "hgb_total",
          "type": "asset"
        },
        {
          "name": "eos_total",
          "type": "asset"
        },
        {
          "name": "expiration",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of ask

    {
      "name": "ask",
      "base": "",
      "fields": [
        {
          "name": "ask_key",
          "type": "uint64"
        },
        {
          "name": "seller",
          "type": "name"
        },
        {
          "name": "order",
          "type": "uint64"
        },
        {
          "name": "price",
          "type": "asset"
        },
        {
          "name": "amount",
          "type": "uint64"
        },
        {
          "name": "hgb_total",
          "type": "asset"
        },
        {
          "name": "eos_total",
          "type": "asset"
        },
        {
          "name": "expiration",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of pkaccount

    {
      "name": "pkaccount",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "eos_balance",
          "type": "asset"
        },
        {
          "name": "currency_banlance",
          "type": "asset"
        },
        {
          "name": "buy_rate",
          "type": "uint64"
        },
        {
          "name": "sell_rate",
          "type": "uint64"
        },
        {
          "name": "expiration",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        }
      ]
    }
  • Action parameter in setstate

    {
      "name": "setstate",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "buy_rate",
          "type": "uint64"
        },
        {
          "name": "sell_rate",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in clear

    {
      "name": "clear",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "table_name",
          "type": "string"
        }
      ]
    }