Vaulta

scratchgamea

Contract

The data structures defined by this contract.

  • Action parameter in executebet

    {
      "name": "executebet",
      "base": "",
      "fields": [
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "rand_id",
          "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": "lottery_type",
          "type": "uint64"
        },
        {
          "name": "selected_type",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in makecontract

    {
      "name": "makecontract",
      "base": "",
      "fields": [
        {
          "name": "randomness_key",
          "type": "public_key"
        }
      ]
    }
  • Action parameter in transfer

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