Vaulta

ppgamestaker

Contract

The data structures defined by this contract.

  • Table row type of accounts

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Table row type of stat

    {
      "name": "currency_stat",
      "base": "",
      "fields": [
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "issuer",
          "type": "name"
        }
      ]
    }
  • Table row type of details

    {
      "name": "detail",
      "base": "",
      "fields": [
        {
          "name": "sym",
          "type": "symbol_name"
        },
        {
          "name": "age",
          "type": "uint64"
        }
      ]
    }
  • Table row type of stakevars

    {
      "name": "stakevar",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "val",
          "type": "uint64"
        }
      ]
    }
  • Table row type of stakes

    {
      "name": "stake",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "age",
          "type": "uint64"
        }
      ]
    }
  • Table row type of players

    {
      "name": "players",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "symbol_name",
          "type": "symbol_name"
        },
        {
          "name": "balance",
          "type": "uint64"
        },
        {
          "name": "age",
          "type": "uint64"
        }
      ]
    }
  • Table row type of stakestat

    {
      "name": "stakestat",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Action parameter in initialize

    {
      "name": "initialize",
      "base": "",
      "fields": []
    }
  • Action parameter in unstake

    {
      "name": "unstake",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in updateage

    {
      "name": "updateage",
      "base": "",
      "fields": [
        {
          "name": "act",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "time",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setglobal

    {
      "name": "setglobal",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "value",
          "type": "uint64"
        }
      ]
    }