Vaulta

bank.wal

Contract

  • Action parameter in addproduct

    {
      "name": "addproduct",
      "base": "",
      "fields": [
        {
          "name": "product_name",
          "type": "string"
        },
        {
          "name": "product_desc",
          "type": "string"
        },
        {
          "name": "base_symbol",
          "type": "symbol"
        },
        {
          "name": "base_contract",
          "type": "name"
        },
        {
          "name": "can_withdraw",
          "type": "bool"
        },
        {
          "name": "withdraw_period",
          "type": "uint32"
        },
        {
          "name": "return_period",
          "type": "uint32"
        },
        {
          "name": "is_fixed_term",
          "type": "bool"
        },
        {
          "name": "return_invalid_period",
          "type": "uint32"
        },
        {
          "name": "is_compound_interest",
          "type": "bool"
        },
        {
          "name": "is_fixed_income",
          "type": "bool"
        },
        {
          "name": "fixed_interest_rate",
          "type": "float64"
        },
        {
          "name": "redeem_wait_period",
          "type": "uint32"
        },
        {
          "name": "product_max_amount",
          "type": "asset"
        },
        {
          "name": "user_min_amount",
          "type": "asset"
        },
        {
          "name": "user_max_amount",
          "type": "asset"
        }
      ]
    }