Vaulta

bullioncodes

Contract

The data structures defined by this contract.

  • Action parameter in checkamount

    {
      "name": "checkamount",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "code",
          "type": "name"
        },
        {
          "name": "cost",
          "type": "asset"
        },
        {
          "name": "min",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in freedom

    {
      "name": "freedom",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "type",
          "type": "uint64"
        },
        {
          "name": "amount",
          "type": "uint64"
        }
      ]
    }
  • Table row type of buyorder

    Table row type of sellorder

    {
      "name": "order",
      "base": "",
      "fields": [
        {
          "name": "order_id",
          "type": "uint64"
        },
        {
          "name": "pair_id",
          "type": "uint64"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "placed_time",
          "type": "time_point_sec"
        },
        {
          "name": "remain_quantity",
          "type": "asset"
        },
        {
          "name": "remain_convert",
          "type": "asset"
        },
        {
          "name": "price",
          "type": "float64"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "count",
          "type": "uint8"
        },
        {
          "name": "crosschain",
          "type": "uint8"
        },
        {
          "name": "ext1",
          "type": "uint64"
        },
        {
          "name": "extstr",
          "type": "string"
        }
      ]
    }
  • Action parameter in sellcustom

    {
      "name": "sellcustom",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Action parameter in swap

    {
      "name": "swap",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "code",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in swapto

    {
      "name": "swapto",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "code",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }