Jungle 4 (Testnet)

contract1.gm

合约

此合约的操作及其输入参数和潜在的响应数据。

  • cleartable

    DEBUG: cleartable action

    请求参数
    table_name name
    scope name?
    max_rows uint64?
  • close

    Close a deposit balance row

    请求参数
    owner name
    token_contract name
    token_symbol symbol
  • debitdeposit

    Debit a deposit balance for a wrap operation

    请求参数
    owner name
    token name
    locked asset
    fee_account name
    fee asset
  • enable

    Enable/disable platform

    请求参数
    enabled bool
  • enablegame

    Enable/disbable a game

    请求参数
    contract name
    enabled bool
  • foundcompany

    Found a new company

    请求参数
    account name
    name string
  • open

    Open a deposit balance row

    请求参数
    owner name
    token_contract name
    token_symbol symbol
  • setepochtime

    DEBUG: override a game's epoch time

    请求参数
    contract name
    epochtime uint32
  • settoken

    Set the accepted deposit token

    请求参数
    token_contract name
    token_symbol symbol
  • startgame

    Start a new game

    请求参数
    contract name
    config game_config
    meta game_meta
    state game_state
  • unwrapcargo

    Deposit an NFT into a host entity

    请求参数
    game name
    owner name
    asset_id uint64
  • unwrapentity

    Deploy an entity NFT directly to a nexus

    请求参数
    game name
    owner name
    asset_id uint64
  • updategame

    Update game information

    请求参数
    contract name
    meta game_meta
  • wipe

    DEBUG: wipe action

    请求参数
    没有操作参数。
  • withdraw

    Withdraw tokens from a deposit balance

    请求参数
    owner name
    quantity extended_asset
    memo string
  • 请求参数
    game name
    owner name
    entity_id uint64
    nexus_id uint64
    cargo_id uint64
    quantity uint64
  • wrapentity

    Wrap a deployed entity into an NFT

    请求参数
    game name
    owner name
    entity_id uint64
    nexus_id uint64