Vaulta

luckgamefish

Contract

The data structures defined by this contract.

  • Table row type of betlogs

    {
      "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": "uint64"
        },
        {
          "name": "roll_border",
          "type": "uint64"
        },
        {
          "name": "roll_value",
          "type": "uint64"
        },
        {
          "name": "seed",
          "type": "checksum256"
        },
        {
          "name": "time",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of confirms

    {
      "name": "confirmed",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "bet_asset",
          "type": "asset"
        },
        {
          "name": "roll_type",
          "type": "uint64"
        },
        {
          "name": "roll_border",
          "type": "uint64"
        },
        {
          "name": "inviter",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "play_time",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in fix

    {
      "name": "fix",
      "base": "",
      "fields": []
    }
  • Table row type of globals

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

    {
      "name": "init",
      "base": "",
      "fields": []
    }
  • Action parameter in receipt

    {
      "name": "receipt",
      "base": "",
      "fields": [
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "bettor",
          "type": "name"
        },
        {
          "name": "bet_amt",
          "type": "asset"
        },
        {
          "name": "payout_list",
          "type": "asset[]"
        },
        {
          "name": "seed",
          "type": "checksum256"
        },
        {
          "name": "roll_type",
          "type": "uint64"
        },
        {
          "name": "roll_border",
          "type": "uint64"
        },
        {
          "name": "roll_value",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rolled

    {
      "name": "rolled",
      "base": "",
      "fields": [
        {
          "name": "bettor",
          "type": "name"
        },
        {
          "name": "bet_asset",
          "type": "asset"
        },
        {
          "name": "roll_type",
          "type": "uint64"
        },
        {
          "name": "roll_border",
          "type": "uint64"
        },
        {
          "name": "inviter",
          "type": "name"
        }
      ]
    }
  • Action parameter in setactive

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

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

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

    {
      "name": "start",
      "base": "",
      "fields": [
        {
          "name": "bettor",
          "type": "name"
        },
        {
          "name": "bet_asset",
          "type": "asset"
        },
        {
          "name": "roll_type",
          "type": "uint64"
        },
        {
          "name": "roll_border",
          "type": "uint64"
        },
        {
          "name": "inviter",
          "type": "name"
        }
      ]
    }
  • Table row type of tokens

    {
      "name": "tradetoken",
      "base": "",
      "fields": [
        {
          "name": "name",
          "type": "uint64"
        },
        {
          "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 verify

    {
      "name": "verify",
      "base": "",
      "fields": [
        {
          "name": "seed",
          "type": "checksum256"
        }
      ]
    }