Vaulta

vigorstaking

Contract

The data structures defined by this contract.

  • Table row type of accounts

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "created",
          "type": "time_point"
        },
        {
          "name": "last_unstake",
          "type": "time_point"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • Action parameter in close

    {
      "name": "close",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        }
      ]
    }
  • Action parameter in open

    {
      "name": "open",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        },
        {
          "name": "ram_payer",
          "type": "name"
        }
      ]
    }
  • Action parameter in withdraw

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }