Vaulta

hash.wal

Contract

  • Action parameter in createprod

    {
      "name": "createprod",
      "base": "",
      "fields": [
        {
          "name": "product_name",
          "type": "string"
        },
        {
          "name": "total_shares",
          "type": "int64"
        },
        {
          "name": "user_max_shares",
          "type": "int64"
        },
        {
          "name": "user_min_shares",
          "type": "int64"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "price",
          "type": "asset"
        },
        {
          "name": "fee_ratio",
          "type": "uint16"
        },
        {
          "name": "begin_time",
          "type": "uint32"
        },
        {
          "name": "effective_period",
          "type": "uint32"
        },
        {
          "name": "expire_period",
          "type": "uint32"
        },
        {
          "name": "effective_delay",
          "type": "uint32"
        },
        {
          "name": "effective_speed",
          "type": "uint32"
        },
        {
          "name": "redeem_contract",
          "type": "name"
        },
        {
          "name": "redeem_price",
          "type": "asset"
        },
        {
          "name": "redeem_period",
          "type": "uint32"
        },
        {
          "name": "can_redeem_period",
          "type": "uint32"
        }
      ]
    }