Vaulta

stackdicexxx

Contract

The data structures defined by this contract.

  • Struct property of player

    {
      "name": "assetitem",
      "base": "",
      "fields": [
        {
          "name": "symbol",
          "type": "string"
        },
        {
          "name": "accu_in",
          "type": "uint64"
        },
        {
          "name": "accu_out",
          "type": "uint64"
        }
      ]
    }
  • Table row type of activebets

    Table row type of highbets

    Table row type of largebets

    {
      "name": "bet",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "bettor",
          "type": "name"
        },
        {
          "name": "inviter",
          "type": "name"
        },
        {
          "name": "bet_amt",
          "type": "uint64"
        },
        {
          "name": "payout",
          "type": "asset[]"
        },
        {
          "name": "roll_type",
          "type": "uint8"
        },
        {
          "name": "roll_border",
          "type": "uint64"
        },
        {
          "name": "roll_value",
          "type": "uint64"
        },
        {
          "name": "seed",
          "type": "checksum256"
        },
        {
          "name": "time",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of fundpool

    {
      "name": "fundpool",
      "base": "",
      "fields": [
        {
          "name": "locked",
          "type": "asset"
        }
      ]
    }
  • Table row type of globalvars

    {
      "name": "globalvar",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "val",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": []
    }
  • Table row type of luckers

    {
      "name": "lucker",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "last_bet_time_sec",
          "type": "uint64"
        },
        {
          "name": "draw_time",
          "type": "uint64"
        },
        {
          "name": "roll_value",
          "type": "uint64"
        }
      ]
    }
  • Table row type of luckys

    {
      "name": "luckyreward",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "number",
          "type": "uint64"
        },
        {
          "name": "reward",
          "type": "asset"
        }
      ]
    }
  • Table row type of notices

    {
      "name": "notice",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "val",
          "type": "string"
        }
      ]
    }
  • Table row type of dailys

    Table row type of players

    Table row type of ranks

    {
      "name": "player",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "last_bettime",
          "type": "time_point_sec"
        },
        {
          "name": "last_betin",
          "type": "asset"
        },
        {
          "name": "last_payout",
          "type": "asset"
        },
        {
          "name": "asset_items",
          "type": "assetitem[]"
        }
      ]
    }
  • Action parameter in receipt

    {
      "name": "receipt",
      "base": "",
      "fields": [
        {
          "name": "bet",
          "type": "stbet"
        }
      ]
    }
  • Action parameter in resetdivs

    {
      "name": "resetdivs",
      "base": "",
      "fields": []
    }
  • Action parameter in resetpool

    {
      "name": "resetpool",
      "base": "",
      "fields": []
    }
  • Action parameter in reveal

    {
      "name": "reveal",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "seed",
          "type": "checksum256"
        }
      ]
    }
  • Action parameter in setactive

    {
      "name": "setactive",
      "base": "",
      "fields": [
        {
          "name": "active",
          "type": "bool"
        }
      ]
    }
  • Action parameter in setdivi

    {
      "name": "setdivi",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in setglobal

    {
      "name": "setglobal",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "value",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setluckrwd

    {
      "name": "setluckrwd",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "number",
          "type": "uint64"
        },
        {
          "name": "reward",
          "type": "asset"
        }
      ]
    }
  • Action parameter in setnotice

    {
      "name": "setnotice",
      "base": "",
      "fields": [
        {
          "name": "notice",
          "type": "string"
        }
      ]
    }
  • Action parameter in setriskline

    {
      "name": "setriskline",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Struct property of receipt

    Table row type of bets

    {
      "name": "stbet",
      "base": "",
      "fields": [
        {
          "name": "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"
        }
      ]
    }
  • Table row type of stglobal

    {
      "name": "stglobal",
      "base": "",
      "fields": [
        {
          "name": "current_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of hash

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

    {
      "name": "stresult",
      "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": "random_roll",
          "type": "uint8"
        },
        {
          "name": "seed",
          "type": "checksum256"
        },
        {
          "name": "seed_hash",
          "type": "checksum256"
        },
        {
          "name": "user_seed_hash",
          "type": "checksum160"
        },
        {
          "name": "payout",
          "type": "asset"
        }
      ]
    }
  • Table row type of tradetokens

    {
      "name": "tradetoken",
      "base": "",
      "fields": [
        {
          "name": "name",
          "type": "symbol_code"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "in",
          "type": "uint64"
        },
        {
          "name": "out",
          "type": "uint64"
        },
        {
          "name": "protect",
          "type": "uint64"
        },
        {
          "name": "times",
          "type": "uint64"
        },
        {
          "name": "divi_time",
          "type": "uint64"
        },
        {
          "name": "divi_balance",
          "type": "uint64"
        },
        {
          "name": "min_bet",
          "type": "uint64"
        },
        {
          "name": "large_bet",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in transfer

    {
      "name": "transfer",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }