Jungle 4 (Testnet)

platform.gm

Contract

The data structures defined by this contract.

  • Action parameter in cleartable

    {
      "name": "cleartable",
      "base": "",
      "fields": [
        {
          "name": "table_name",
          "type": "name"
        },
        {
          "name": "scope",
          "type": "name?"
        },
        {
          "name": "max_rows",
          "type": "uint64?"
        }
      ]
    }
  • Table row type of company

    {
      "name": "company_row",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "name",
          "type": "string"
        }
      ]
    }
  • Action parameter in enable

    {
      "name": "enable",
      "base": "",
      "fields": [
        {
          "name": "enabled",
          "type": "bool"
        }
      ]
    }
  • Action parameter in enablegame

    {
      "name": "enablegame",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "enabled",
          "type": "bool"
        }
      ]
    }
  • Action parameter in foundcompany

    {
      "name": "foundcompany",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "name",
          "type": "string"
        }
      ]
    }
  • Struct property of game_row

    Struct property of startgame

    {
      "name": "game_config",
      "base": "",
      "fields": [
        {
          "name": "seed",
          "type": "checksum256"
        },
        {
          "name": "epochtime",
          "type": "uint32"
        },
        {
          "name": "start",
          "type": "time_point_sec"
        },
        {
          "name": "end",
          "type": "time_point_sec"
        }
      ]
    }
  • Struct property of game_row

    Struct property of startgame

    Struct property of updategame

    {
      "name": "game_meta",
      "base": "",
      "fields": [
        {
          "name": "name",
          "type": "string"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "url",
          "type": "string"
        },
        {
          "name": "version",
          "type": "string"
        }
      ]
    }
  • Table row type of games

    {
      "name": "game_row",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "config",
          "type": "game_config"
        },
        {
          "name": "meta",
          "type": "game_meta"
        },
        {
          "name": "state",
          "type": "game_state"
        }
      ]
    }
  • Struct property of game_row

    Struct property of startgame

    {
      "name": "game_state",
      "base": "",
      "fields": [
        {
          "name": "enabled",
          "type": "bool"
        }
      ]
    }
  • Action parameter in setepochtime

    {
      "name": "setepochtime",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "epochtime",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in startgame

    {
      "name": "startgame",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "config",
          "type": "game_config"
        },
        {
          "name": "meta",
          "type": "game_meta"
        },
        {
          "name": "state",
          "type": "game_state"
        }
      ]
    }
  • Table row type of state

    {
      "name": "state_row",
      "base": "",
      "fields": [
        {
          "name": "enabled",
          "type": "bool"
        }
      ]
    }
  • Action parameter in updategame

    {
      "name": "updategame",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "meta",
          "type": "game_meta"
        }
      ]
    }
  • Action parameter in wipe

    {
      "name": "wipe",
      "base": "",
      "fields": []
    }