Vaulta

battlebricks

Contract

The data structures defined by this contract.

  • Extends base type of struct_account

    Table row type of accounts

    {
      "name": "accounts",
      "base": "struct_account",
      "fields": []
    }
  • Struct property of transaction

    {
      "name": "action",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "name",
          "type": "name"
        },
        {
          "name": "authorization",
          "type": "permission_level[]"
        },
        {
          "name": "data",
          "type": "bytes"
        }
      ]
    }
  • Action parameter in actlog

    {
      "name": "actlog",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "regist_at",
          "type": "uint32"
        },
        {
          "name": "method",
          "type": "string"
        },
        {
          "name": "data",
          "type": "pair_string_string[]"
        }
      ]
    }
  • Extends base type of struct_actlog

    Table row type of actlogs

    {
      "name": "actlogs",
      "base": "struct_actlog",
      "fields": []
    }
  • Extends base type of struct_attend

    Table row type of attends

    {
      "name": "attends",
      "base": "struct_attend",
      "fields": []
    }
  • Action parameter in changealarm

    {
      "name": "changealarm",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Action parameter in checkend

    {
      "name": "checkend",
      "base": "",
      "fields": [
        {
          "name": "sender_id",
          "type": "uint128"
        },
        {
          "name": "league_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in chgrefer

    {
      "name": "chgrefer",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "referee",
          "type": "name"
        }
      ]
    }
  • Action parameter in clearattend

    {
      "name": "clearattend",
      "base": "",
      "fields": [
        {
          "name": "sender_id",
          "type": "uint128"
        },
        {
          "name": "attend_id",
          "type": "uint64"
        }
      ]
    }
  • Extends base type of struct_config

    Table row type of configs

    {
      "name": "configs",
      "base": "struct_config",
      "fields": []
    }
  • Action parameter in confirmext

    {
      "name": "confirmext",
      "base": "",
      "fields": [
        {
          "name": "s_key",
          "type": "string"
        }
      ]
    }
  • Action parameter in consumeapt

    {
      "name": "consumeapt",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "apt",
          "type": "uint32"
        },
        {
          "name": "id",
          "type": "string"
        }
      ]
    }
  • Action parameter in createleague

    {
      "name": "createleague",
      "base": "",
      "fields": [
        {
          "name": "config_id",
          "type": "uint32"
        },
        {
          "name": "regist_at",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in endattend

    {
      "name": "endattend",
      "base": "",
      "fields": [
        {
          "name": "sender_id",
          "type": "uint128"
        },
        {
          "name": "attend_id",
          "type": "uint64"
        },
        {
          "name": "num_friends",
          "type": "uint32"
        },
        {
          "name": "num_sent",
          "type": "uint32"
        },
        {
          "name": "sent_referat",
          "type": "uint32"
        },
        {
          "name": "sent_name",
          "type": "name"
        },
        {
          "name": "league_endat",
          "type": "uint32"
        },
        {
          "name": "rwd_attend",
          "type": "asset"
        },
        {
          "name": "rwd_prize",
          "type": "asset"
        },
        {
          "name": "win",
          "type": "bool"
        },
        {
          "name": "batch",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in endleague

    {
      "name": "endleague",
      "base": "",
      "fields": [
        {
          "name": "sender_id",
          "type": "uint128"
        },
        {
          "name": "league_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in endpvpdraw

    {
      "name": "endpvpdraw",
      "base": "",
      "fields": [
        {
          "name": "sender_id",
          "type": "uint128"
        },
        {
          "name": "attend_id",
          "type": "uint64"
        }
      ]
    }
  • Extends base type of struct_evtcfg

    Table row type of eventcfg

    {
      "name": "eventcfg",
      "base": "struct_evtcfg",
      "fields": []
    }
  • Extends base type of struct_evtrank

    Table row type of eventrank

    {
      "name": "eventrank",
      "base": "struct_evtrank",
      "fields": []
    }
  • Action parameter in expccr

    {
      "name": "expccr",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Action parameter in expireapt

    {
      "name": "expireapt",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "apt",
          "type": "uint32"
        },
        {
          "name": "id",
          "type": "string"
        }
      ]
    }
  • Action parameter in expireattend

    {
      "name": "expireattend",
      "base": "",
      "fields": [
        {
          "name": "sender_id",
          "type": "uint128"
        },
        {
          "name": "attend_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in expireleague

    {
      "name": "expireleague",
      "base": "",
      "fields": [
        {
          "name": "sender_id",
          "type": "uint128"
        },
        {
          "name": "league_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in expirereport

    {
      "name": "expirereport",
      "base": "",
      "fields": [
        {
          "name": "attend_id",
          "type": "uint64"
        },
        {
          "name": "forced",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in expiretransf

    {
      "name": "expiretransf",
      "base": "",
      "fields": [
        {
          "name": "sender_id",
          "type": "uint128"
        },
        {
          "name": "num",
          "type": "uint64"
        }
      ]
    }
  • Struct property of transaction

    {
      "name": "extension",
      "base": "",
      "fields": [
        {
          "name": "type",
          "type": "uint16"
        },
        {
          "name": "data",
          "type": "bytes"
        }
      ]
    }
  • Action parameter in invalidpt

    {
      "name": "invalidpt",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "attend_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in joinsponsor

    {
      "name": "joinsponsor",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "league_id",
          "type": "uint64"
        },
        {
          "name": "s_key",
          "type": "string"
        }
      ]
    }
  • Extends base type of struct_league

    Table row type of leagues

    {
      "name": "leagues",
      "base": "struct_league",
      "fields": []
    }
  • Action parameter in notify

    {
      "name": "notify",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "msg",
          "type": "string"
        }
      ]
    }
  • Action parameter in onerror

    {
      "name": "onerror",
      "base": "",
      "fields": [
        {
          "name": "sender_id",
          "type": "uint128"
        },
        {
          "name": "sent_trx",
          "type": "bytes"
        }
      ]
    }
  • Extends base type of struct_onerror_tx

    Table row type of onerrors

    {
      "name": "onerrors",
      "base": "struct_onerror_tx",
      "fields": []
    }
  • Action parameter in ontransfer

    {
      "name": "ontransfer",
      "base": "",
      "fields": []
    }
  • Struct property of actlog

    Struct property of struct_actlog

    {
      "name": "pair_string_string",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "string"
        },
        {
          "name": "value",
          "type": "string"
        }
      ]
    }
  • Struct property of action

    {
      "name": "permission_level",
      "base": "",
      "fields": [
        {
          "name": "actor",
          "type": "name"
        },
        {
          "name": "permission",
          "type": "name"
        }
      ]
    }
  • Action parameter in recommand

    {
      "name": "recommand",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "referee",
          "type": "name"
        }
      ]
    }
  • Extends base type of struct_referhis

    Table row type of refers

    {
      "name": "refers",
      "base": "struct_referhis",
      "fields": []
    }
  • Action parameter in refundattend

    {
      "name": "refundattend",
      "base": "",
      "fields": [
        {
          "name": "attend_id",
          "type": "uint64"
        },
        {
          "name": "forced",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in regist

    {
      "name": "regist",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Action parameter in registrefer

    {
      "name": "registrefer",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Action parameter in remove

    {
      "name": "remove",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Action parameter in removelog

    {
      "name": "removelog",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Action parameter in reportenpt

    {
      "name": "reportenpt",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "attend_id",
          "type": "uint64"
        },
        {
          "name": "enpt",
          "type": "string"
        },
        {
          "name": "playtime_milli",
          "type": "uint32"
        },
        {
          "name": "useold",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in reqcare

    {
      "name": "reqcare",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Action parameter in retrytx

    {
      "name": "retrytx",
      "base": "",
      "fields": [
        {
          "name": "s_key",
          "type": "string"
        }
      ]
    }
  • Action parameter in retrytxrec

    {
      "name": "retrytxrec",
      "base": "",
      "fields": [
        {
          "name": "s_key",
          "type": "string"
        }
      ]
    }
  • Action parameter in revealpt

    {
      "name": "revealpt",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "attend_id",
          "type": "uint64"
        },
        {
          "name": "str_pt",
          "type": "string"
        }
      ]
    }
  • Action parameter in rmactlog

    {
      "name": "rmactlog",
      "base": "",
      "fields": [
        {
          "name": "lb_regist_at",
          "type": "uint32"
        },
        {
          "name": "lb_num",
          "type": "uint64"
        },
        {
          "name": "ub_regist_at",
          "type": "uint32"
        },
        {
          "name": "ub_num",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmtbl

    {
      "name": "rmtbl",
      "base": "",
      "fields": [
        {
          "name": "tblname",
          "type": "name"
        },
        {
          "name": "ubnd_inclusive",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in sentretryfee

    {
      "name": "sentretryfee",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "league_id",
          "type": "uint64"
        },
        {
          "name": "attend_id",
          "type": "uint64"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in setusergrade

    {
      "name": "setusergrade",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "grade",
          "type": "uint8"
        }
      ]
    }
  • Struct base type of accounts

    {
      "name": "struct_account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Struct base type of actlogs

    {
      "name": "struct_actlog",
      "base": "",
      "fields": [
        {
          "name": "num",
          "type": "uint64"
        },
        {
          "name": "regist_at",
          "type": "uint32"
        },
        {
          "name": "method",
          "type": "string"
        },
        {
          "name": "data",
          "type": "pair_string_string[]"
        }
      ]
    }
  • Struct base type of attends

    {
      "name": "struct_attend",
      "base": "",
      "fields": [
        {
          "name": "attend_id",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "config_id",
          "type": "uint32"
        },
        {
          "name": "league_id",
          "type": "uint64"
        },
        {
          "name": "regist_at",
          "type": "uint32"
        },
        {
          "name": "expire_at",
          "type": "uint32"
        },
        {
          "name": "last_report_at",
          "type": "uint32"
        },
        {
          "name": "scores",
          "type": "uint32[]"
        },
        {
          "name": "en_scores",
          "type": "string[]"
        },
        {
          "name": "prize_won",
          "type": "asset"
        },
        {
          "name": "final_score",
          "type": "uint32"
        },
        {
          "name": "ranking",
          "type": "uint32"
        },
        {
          "name": "entry_count",
          "type": "uint8"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "transfer_status",
          "type": "uint8"
        },
        {
          "name": "refund_at",
          "type": "uint32"
        },
        {
          "name": "prog_max",
          "type": "uint32"
        },
        {
          "name": "prog_cur",
          "type": "uint32"
        },
        {
          "name": "playtime_milli",
          "type": "uint32"
        },
        {
          "name": "deposit_key",
          "type": "uint128"
        }
      ]
    }
  • Struct base type of configs

    Struct property of upsertcfg

    {
      "name": "struct_config",
      "base": "",
      "fields": [
        {
          "name": "config_id",
          "type": "uint32"
        },
        {
          "name": "activate",
          "type": "uint8"
        },
        {
          "name": "order",
          "type": "uint16"
        },
        {
          "name": "min",
          "type": "uint16"
        },
        {
          "name": "max",
          "type": "uint16"
        },
        {
          "name": "sponsor",
          "type": "asset"
        },
        {
          "name": "cost",
          "type": "asset"
        },
        {
          "name": "entry_limit",
          "type": "uint8"
        },
        {
          "name": "retry_limit",
          "type": "uint8"
        },
        {
          "name": "retry_cost",
          "type": "asset"
        },
        {
          "name": "regist_at",
          "type": "uint32"
        },
        {
          "name": "lang",
          "type": "struct_lang[]"
        },
        {
          "name": "rank_cut",
          "type": "uint16"
        },
        {
          "name": "map_min",
          "type": "uint16"
        },
        {
          "name": "map_max",
          "type": "uint16"
        },
        {
          "name": "period",
          "type": "uint32"
        },
        {
          "name": "rt_win",
          "type": "uint16"
        },
        {
          "name": "rt_care",
          "type": "uint16"
        },
        {
          "name": "rt_wf_att",
          "type": "uint16"
        },
        {
          "name": "rt_wf_prz",
          "type": "uint16"
        },
        {
          "name": "rt_wr_att",
          "type": "uint16"
        },
        {
          "name": "rt_wr_prz",
          "type": "uint16"
        },
        {
          "name": "rt_lf_att",
          "type": "uint16"
        },
        {
          "name": "rt_lr_att",
          "type": "uint16"
        },
        {
          "name": "active_pt",
          "type": "uint16"
        }
      ]
    }
  • Struct base type of eventcfg

    {
      "name": "struct_evtcfg",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint32"
        },
        {
          "name": "flag",
          "type": "uint8"
        }
      ]
    }
  • Struct base type of eventrank

    {
      "name": "struct_evtrank",
      "base": "",
      "fields": [
        {
          "name": "num",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "event_id",
          "type": "uint32"
        },
        {
          "name": "earns",
          "type": "asset"
        },
        {
          "name": "update_at",
          "type": "uint32"
        }
      ]
    }
  • Struct property of struct_config

    {
      "name": "struct_lang",
      "base": "",
      "fields": [
        {
          "name": "code",
          "type": "string"
        },
        {
          "name": "name",
          "type": "string"
        },
        {
          "name": "des",
          "type": "string"
        }
      ]
    }
  • Struct base type of leagues

    {
      "name": "struct_league",
      "base": "",
      "fields": [
        {
          "name": "league_id",
          "type": "uint64"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "config_id",
          "type": "uint32"
        },
        {
          "name": "attendee",
          "type": "name[]"
        },
        {
          "name": "maps",
          "type": "uint16[]"
        },
        {
          "name": "prize",
          "type": "asset"
        },
        {
          "name": "fee",
          "type": "asset"
        },
        {
          "name": "care",
          "type": "asset"
        },
        {
          "name": "rwd_wr_att",
          "type": "asset"
        },
        {
          "name": "rwd_wr_prz",
          "type": "asset"
        },
        {
          "name": "rwd_lr_att",
          "type": "asset"
        },
        {
          "name": "rwd_wfs_att",
          "type": "asset"
        },
        {
          "name": "rwd_wfs_prz",
          "type": "asset"
        },
        {
          "name": "rwd_lfs_att",
          "type": "asset"
        },
        {
          "name": "regist_at",
          "type": "uint32"
        },
        {
          "name": "expire_at",
          "type": "uint32"
        }
      ]
    }
  • Struct base type of onerrors

    {
      "name": "struct_onerror_tx",
      "base": "",
      "fields": [
        {
          "name": "num",
          "type": "uint64"
        },
        {
          "name": "sender_id",
          "type": "uint128"
        },
        {
          "name": "tx",
          "type": "transaction"
        },
        {
          "name": "tries",
          "type": "uint8"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "expire_at",
          "type": "uint32"
        }
      ]
    }
  • Struct base type of refers

    {
      "name": "struct_referhis",
      "base": "",
      "fields": [
        {
          "name": "num",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "refer",
          "type": "name"
        },
        {
          "name": "refer_at",
          "type": "uint32"
        },
        {
          "name": "unrefer_at",
          "type": "uint32"
        }
      ]
    }
  • Struct base type of transfers

    {
      "name": "struct_transfer_noti",
      "base": "",
      "fields": [
        {
          "name": "num",
          "type": "uint64"
        },
        {
          "name": "key",
          "type": "uint128"
        },
        {
          "name": "league_id",
          "type": "uint64"
        },
        {
          "name": "attend_id",
          "type": "uint64"
        },
        {
          "name": "kind",
          "type": "uint8"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "user_care",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "expire_at",
          "type": "uint32"
        }
      ]
    }
  • Struct base type of users

    {
      "name": "struct_user",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "value",
          "type": "uint64"
        },
        {
          "name": "wins",
          "type": "uint32"
        },
        {
          "name": "draws",
          "type": "uint32"
        },
        {
          "name": "loses",
          "type": "uint32"
        },
        {
          "name": "earns",
          "type": "asset"
        },
        {
          "name": "care",
          "type": "asset"
        },
        {
          "name": "refer",
          "type": "name"
        },
        {
          "name": "ref_num",
          "type": "uint32"
        },
        {
          "name": "regist_at",
          "type": "uint32"
        },
        {
          "name": "login_at",
          "type": "uint32"
        },
        {
          "name": "active_pt",
          "type": "uint32"
        }
      ]
    }
  • Struct base type of usersext

    {
      "name": "struct_user_ext",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "invalid_pt",
          "type": "uint16"
        },
        {
          "name": "grade",
          "type": "uint8"
        },
        {
          "name": "alarm",
          "type": "uint8"
        },
        {
          "name": "invalid_at",
          "type": "uint32"
        }
      ]
    }
  • Extends base type of transaction_header

    Struct property of struct_onerror_tx

    {
      "name": "transaction",
      "base": "transaction_header",
      "fields": [
        {
          "name": "context_free_actions",
          "type": "action[]"
        },
        {
          "name": "actions",
          "type": "action[]"
        },
        {
          "name": "transaction_extensions",
          "type": "extension[]"
        }
      ]
    }
  • Struct base type of transaction

    {
      "name": "transaction_header",
      "base": "",
      "fields": [
        {
          "name": "expiration",
          "type": "time_point_sec"
        },
        {
          "name": "ref_block_num",
          "type": "uint16"
        },
        {
          "name": "ref_block_prefix",
          "type": "uint32"
        },
        {
          "name": "max_net_usage_words",
          "type": "varuint32"
        },
        {
          "name": "max_cpu_usage_ms",
          "type": "uint8"
        },
        {
          "name": "delay_sec",
          "type": "varuint32"
        }
      ]
    }
  • Extends base type of struct_transfer_noti

    Table row type of transfers

    {
      "name": "transfers",
      "base": "struct_transfer_noti",
      "fields": []
    }
  • Action parameter in updateattend

    {
      "name": "updateattend",
      "base": "",
      "fields": [
        {
          "name": "attend_id",
          "type": "uint64"
        },
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in upsertcfg

    {
      "name": "upsertcfg",
      "base": "",
      "fields": [
        {
          "name": "cfg",
          "type": "struct_config"
        }
      ]
    }
  • Action parameter in upsertevtcfg

    {
      "name": "upsertevtcfg",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint32"
        },
        {
          "name": "flag",
          "type": "uint8"
        }
      ]
    }
  • Extends base type of struct_user

    Table row type of users

    {
      "name": "users",
      "base": "struct_user",
      "fields": []
    }
  • Extends base type of struct_user_ext

    Table row type of usersext

    {
      "name": "usersext",
      "base": "struct_user_ext",
      "fields": []
    }
  • Action parameter in withdrawcare

    {
      "name": "withdrawcare",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }