Vaulta

bank.wal

Contract

  • Action parameter in uptproduct

    {
      "name": "uptproduct",
      "base": "",
      "fields": [
        {
          "name": "product_id",
          "type": "uint64"
        },
        {
          "name": "product_name",
          "type": "string?"
        },
        {
          "name": "product_desc",
          "type": "string?"
        },
        {
          "name": "state",
          "type": "uint8?"
        },
        {
          "name": "product_max_amount",
          "type": "asset?"
        },
        {
          "name": "user_min_amount",
          "type": "asset?"
        },
        {
          "name": "user_max_amount",
          "type": "asset?"
        },
        {
          "name": "purchase_begin",
          "type": "uint32?"
        },
        {
          "name": "is_fixed_term",
          "type": "uint8?"
        },
        {
          "name": "fixed_interest_rate",
          "type": "float64?"
        }
      ]
    }