Vaulta

slotmachinea

Contract

The data structures defined by this contract.

  • Action parameter in executebet

    {
      "name": "executebet",
      "base": "",
      "fields": [
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "rand_id0",
          "type": "uint64"
        },
        {
          "name": "rand_id1",
          "type": "uint64"
        },
        {
          "name": "rand_id2",
          "type": "uint64"
        },
        {
          "name": "sig",
          "type": "signature"
        }
      ]
    }
  • Action parameter in gamereceipt

    {
      "name": "gamereceipt",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "gamecost",
          "type": "asset"
        },
        {
          "name": "payresult",
          "type": "asset"
        },
        {
          "name": "drop_amt",
          "type": "asset"
        },
        {
          "name": "bid",
          "type": "uint64"
        },
        {
          "name": "sigid",
          "type": "signature"
        },
        {
          "name": "shot_wheel1",
          "type": "uint64"
        },
        {
          "name": "shot_wheel2",
          "type": "uint64"
        },
        {
          "name": "shot_wheel3",
          "type": "uint64"
        },
        {
          "name": "free_spin",
          "type": "uint64"
        },
        {
          "name": "rate",
          "type": "float32"
        },
        {
          "name": "slot_type",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in transfer

    {
      "name": "transfer",
      "base": "",
      "fields": [
        {
          "name": "sender",
          "type": "uint64"
        },
        {
          "name": "receiver",
          "type": "uint64"
        }
      ]
    }