Vaulta

buyunlockttt

Contract

The data structures defined by this contract.

  • Table row type of rates

    {
      "name": "exchange_rate",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "eos_unit_per_token",
          "type": "uint64"
        },
        {
          "name": "token_per_eos_unit",
          "type": "uint64"
        },
        {
          "name": "token_per_eos_unit_scaled",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in resetrates

    {
      "name": "resetrates",
      "base": "",
      "fields": []
    }
  • Action parameter in setrate

    {
      "name": "setrate",
      "base": "",
      "fields": [
        {
          "name": "new_rate",
          "type": "uint64"
        }
      ]
    }