Vaulta

cryptovgsapp

Contract

The data structures defined by this contract.

  • Action parameter in bet

    {
      "name": "bet",
      "base": "",
      "fields": [
        {
          "name": "message",
          "type": "string"
        },
        {
          "name": "eos_account_name",
          "type": "name"
        },
        {
          "name": "total_bet_amount",
          "type": "asset"
        },
        {
          "name": "game_id",
          "type": "string"
        },
        {
          "name": "player_id",
          "type": "uint64"
        },
        {
          "name": "hashed_server_entropy",
          "type": "string"
        },
        {
          "name": "client_entropy",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in cancelbet

    {
      "name": "cancelbet",
      "base": "",
      "fields": [
        {
          "name": "bet_tx_id",
          "type": "checksum256"
        },
        {
          "name": "bet_id",
          "type": "string"
        },
        {
          "name": "game_id",
          "type": "string"
        },
        {
          "name": "player_id",
          "type": "uint64"
        },
        {
          "name": "message",
          "type": "string"
        }
      ]
    }
  • Action parameter in cancelbetadm

    {
      "name": "cancelbetadm",
      "base": "",
      "fields": [
        {
          "name": "ids",
          "type": "uint64[]"
        },
        {
          "name": "message",
          "type": "string"
        }
      ]
    }
  • Action parameter in claim

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Table row type of config

    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "something",
          "type": "uint64"
        }
      ]
    }
  • Table row type of eventplay

    {
      "name": "eventplay",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "eos_account_name",
          "type": "name"
        },
        {
          "name": "event_game_id",
          "type": "string"
        },
        {
          "name": "player_id",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "total_bet_amount",
          "type": "asset"
        },
        {
          "name": "total_bet_amount_amount",
          "type": "int64"
        },
        {
          "name": "bet_tx_id",
          "type": "checksum256"
        },
        {
          "name": "pub_key",
          "type": "public_key"
        }
      ]
    }
  • Action parameter in evtbet

    {
      "name": "evtbet",
      "base": "",
      "fields": [
        {
          "name": "message",
          "type": "string"
        },
        {
          "name": "eos_account_name",
          "type": "name"
        },
        {
          "name": "total_bet_amount",
          "type": "asset"
        },
        {
          "name": "event_game_id",
          "type": "string"
        },
        {
          "name": "player_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in evtcanceladm

    {
      "name": "evtcanceladm",
      "base": "",
      "fields": [
        {
          "name": "ids",
          "type": "uint64[]"
        },
        {
          "name": "message",
          "type": "string"
        }
      ]
    }
  • Action parameter in evtcancelbet

    {
      "name": "evtcancelbet",
      "base": "",
      "fields": [
        {
          "name": "bet_tx_id",
          "type": "checksum256"
        },
        {
          "name": "event_game_id",
          "type": "string"
        },
        {
          "name": "player_id",
          "type": "uint64"
        },
        {
          "name": "message",
          "type": "string"
        }
      ]
    }
  • Action parameter in evtresult

    {
      "name": "evtresult",
      "base": "",
      "fields": [
        {
          "name": "message",
          "type": "string"
        },
        {
          "name": "eos_account_name",
          "type": "name"
        },
        {
          "name": "player_id",
          "type": "uint64"
        },
        {
          "name": "total_bet_amount",
          "type": "asset"
        },
        {
          "name": "bet_tx_id",
          "type": "checksum256"
        },
        {
          "name": "seed",
          "type": "signature"
        },
        {
          "name": "total_payout",
          "type": "asset"
        },
        {
          "name": "pub_key",
          "type": "public_key"
        }
      ]
    }
  • Table row type of game

    {
      "name": "game",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "string"
        },
        {
          "name": "game_data_key_set",
          "type": "string"
        }
      ]
    }
  • Table row type of gamepubkey

    {
      "name": "gamepubkey",
      "base": "",
      "fields": [
        {
          "name": "pub_key",
          "type": "public_key"
        }
      ]
    }
  • Action parameter in login

    {
      "name": "login",
      "base": "",
      "fields": [
        {
          "name": "eos_account_name",
          "type": "name"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Table row type of play

    {
      "name": "play",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "eos_account_name",
          "type": "name"
        },
        {
          "name": "game_id",
          "type": "string"
        },
        {
          "name": "player_id",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "total_bet_amount",
          "type": "asset"
        },
        {
          "name": "total_bet_amount_amount",
          "type": "int64"
        },
        {
          "name": "hashed_server_entropy",
          "type": "checksum256"
        },
        {
          "name": "client_entropy",
          "type": "uint32"
        },
        {
          "name": "bet_tx_id",
          "type": "checksum256"
        },
        {
          "name": "pub_key",
          "type": "public_key"
        },
        {
          "name": "game_data_key_set",
          "type": "string"
        }
      ]
    }
  • Action parameter in removeconfig

    {
      "name": "removeconfig",
      "base": "",
      "fields": [
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in removepubkey

    {
      "name": "removepubkey",
      "base": "",
      "fields": [
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in resetall

    {
      "name": "resetall",
      "base": "",
      "fields": [
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in resetplayer

    {
      "name": "resetplayer",
      "base": "",
      "fields": [
        {
          "name": "player_id",
          "type": "uint64"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in result

    {
      "name": "result",
      "base": "",
      "fields": [
        {
          "name": "message",
          "type": "string"
        },
        {
          "name": "eos_account_name",
          "type": "name"
        },
        {
          "name": "game_id",
          "type": "string"
        },
        {
          "name": "player_id",
          "type": "uint64"
        },
        {
          "name": "total_bet_amount",
          "type": "asset"
        },
        {
          "name": "bet_tx_id",
          "type": "checksum256"
        },
        {
          "name": "bet_id",
          "type": "string"
        },
        {
          "name": "hashed_server_entropy",
          "type": "checksum256"
        },
        {
          "name": "server_entropy",
          "type": "checksum256"
        },
        {
          "name": "client_entropy",
          "type": "uint32"
        },
        {
          "name": "seed",
          "type": "signature"
        },
        {
          "name": "result",
          "type": "string"
        },
        {
          "name": "cid",
          "type": "string"
        },
        {
          "name": "total_payout",
          "type": "asset"
        },
        {
          "name": "pub_key",
          "type": "public_key"
        },
        {
          "name": "game_data_key_set",
          "type": "string"
        }
      ]
    }
  • Action parameter in rmgamedata

    {
      "name": "rmgamedata",
      "base": "",
      "fields": [
        {
          "name": "ids",
          "type": "uint64[]"
        },
        {
          "name": "message",
          "type": "string"
        }
      ]
    }
  • Action parameter in secureclaim

    {
      "name": "secureclaim",
      "base": "",
      "fields": [
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "entropy",
          "type": "checksum256"
        },
        {
          "name": "sig",
          "type": "signature"
        },
        {
          "name": "pub_key",
          "type": "public_key"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in seed

    {
      "name": "seed",
      "base": "",
      "fields": [
        {
          "name": "eos_account_name",
          "type": "name"
        },
        {
          "name": "game_id",
          "type": "string"
        },
        {
          "name": "player_id",
          "type": "uint64"
        },
        {
          "name": "hashed_server_entropy",
          "type": "string"
        },
        {
          "name": "client_entropy",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in setconfig

    {
      "name": "setconfig",
      "base": "",
      "fields": [
        {
          "name": "something",
          "type": "uint64"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in setgamedata

    {
      "name": "setgamedata",
      "base": "",
      "fields": [
        {
          "name": "game_id",
          "type": "string"
        },
        {
          "name": "game_data_key_set",
          "type": "string"
        }
      ]
    }
  • Action parameter in setpubkey

    {
      "name": "setpubkey",
      "base": "",
      "fields": [
        {
          "name": "pub_key",
          "type": "public_key"
        }
      ]
    }