Vaulta

ekdholdem444

Contract

The data structures defined by this contract.

  • Action parameter in cleartable

    {
      "name": "cleartable",
      "base": "",
      "fields": []
    }
  • Action parameter in exit

    {
      "name": "exit",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "buyIn",
          "type": "asset"
        },
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "roomId",
          "type": "uint64"
        },
        {
          "name": "bet",
          "type": "asset"
        },
        {
          "name": "mining",
          "type": "asset"
        }
      ]
    }
  • Table row type of globalvar

    {
      "name": "globalvar",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "contract_name",
          "type": "name"
        },
        {
          "name": "symbol_type",
          "type": "uint64"
        },
        {
          "name": "paused",
          "type": "uint64"
        },
        {
          "name": "mine_ratio",
          "type": "uint64"
        },
        {
          "name": "referrer_ratio",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in initcontract

    {
      "name": "initcontract",
      "base": "",
      "fields": [
        {
          "name": "index",
          "type": "uint64"
        },
        {
          "name": "contract_name",
          "type": "name"
        },
        {
          "name": "symbol_name",
          "type": "string"
        },
        {
          "name": "precision",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in login

    {
      "name": "login",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "pubkey",
          "type": "string"
        }
      ]
    }
  • Action parameter in reflect

    {
      "name": "reflect",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Table row type of rplayer

    {
      "name": "rplayer",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "type",
          "type": "uint64"
        },
        {
          "name": "buyin",
          "type": "asset"
        },
        {
          "name": "roomId",
          "type": "uint64"
        },
        {
          "name": "pubkey",
          "type": "string"
        },
        {
          "name": "updateTime",
          "type": "time_point_sec"
        },
        {
          "name": "referrer",
          "type": "name"
        }
      ]
    }
  • Action parameter in setmineratio

    {
      "name": "setmineratio",
      "base": "",
      "fields": [
        {
          "name": "index",
          "type": "uint64"
        },
        {
          "name": "mine_ratio",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setreferrer

    {
      "name": "setreferrer",
      "base": "",
      "fields": [
        {
          "name": "index",
          "type": "uint64"
        },
        {
          "name": "referrer_ratio",
          "type": "uint64"
        }
      ]
    }
  • Table row type of statistic

    {
      "name": "statistic",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "vip",
          "type": "uint64"
        },
        {
          "name": "totalBet",
          "type": "asset"
        },
        {
          "name": "updateTime",
          "type": "time_point_sec"
        },
        {
          "name": "totalBuyin",
          "type": "asset"
        },
        {
          "name": "profit",
          "type": "asset"
        }
      ]
    }
  • Action parameter in transfer

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