Vaulta

marfdicecont

Contract

The data structures defined by this contract.

  • Table row type of bets

    {
      "name": "bets",
      "base": "",
      "fields": [
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "referrer",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "roll_under",
          "type": "uint8"
        },
        {
          "name": "seed_hash",
          "type": "checksum256"
        },
        {
          "name": "user_seed_hash",
          "type": "checksum160"
        },
        {
          "name": "created_at",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in eraseresults

    {
      "name": "eraseresults",
      "base": "",
      "fields": []
    }
  • Table row type of pool

    {
      "name": "fund_pool",
      "base": "",
      "fields": [
        {
          "name": "locked",
          "type": "asset"
        },
        {
          "name": "payout_rew",
          "type": "asset"
        }
      ]
    }
  • Action parameter in initconfig

    {
      "name": "initconfig",
      "base": "",
      "fields": []
    }
  • Table row type of results

    {
      "name": "results",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "referrer",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "roll_under",
          "type": "uint8"
        },
        {
          "name": "random_roll",
          "type": "uint8"
        },
        {
          "name": "seed",
          "type": "checksum256"
        },
        {
          "name": "seed_hash",
          "type": "checksum256"
        },
        {
          "name": "user_seed_hash",
          "type": "checksum160"
        },
        {
          "name": "payout",
          "type": "asset"
        },
        {
          "name": "created_at",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in reveal

    {
      "name": "reveal",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "seed",
          "type": "checksum256"
        }
      ]
    }
  • Table row type of hashes

    {
      "name": "seed_hash",
      "base": "",
      "fields": [
        {
          "name": "hash",
          "type": "checksum256"
        },
        {
          "name": "expiration",
          "type": "uint64"
        }
      ]
    }
  • Table row type of seqmgr

    {
      "name": "seqmgr",
      "base": "",
      "fields": [
        {
          "name": "pkid",
          "type": "uint64"
        },
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "type",
          "type": "string"
        }
      ]
    }