
The data structures defined by this contract.
-
{ "name": "advance", "base": "", "fields": [ { "name": "reveal", "type": "string" }, { "name": "commit", "type": "checksum256" } ] }
-
{ "name": "arrive", "base": "", "fields": [ { "name": "id", "type": "uint64" } ] }
-
{ "name": "buygoods", "base": "", "fields": [ { "name": "ship_id", "type": "uint64" }, { "name": "good_id", "type": "uint64" }, { "name": "quantity", "type": "uint64" } ] }
-
{ "name": "buyship", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "name", "type": "string" } ] }
-
{ "name": "cargo_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "ship_id", "type": "uint64" }, { "name": "good_id", "type": "uint64" }, { "name": "paid", "type": "uint64" }, { "name": "owned", "type": "uint32" }, { "name": "loaded", "type": "uint32" } ] }
Action parameter in cleartable
{ "name": "cleartable", "base": "", "fields": [ { "name": "table_name", "type": "name" }, { "name": "scope", "type": "name?" }, { "name": "max_rows", "type": "uint64?" } ] }
-
{ "name": "commit", "base": "", "fields": [ { "name": "commit", "type": "checksum256" } ] }
Struct property of location_row
Struct property of marketprice
Struct property of marketprices
Struct property of ship_row
Struct property of travel
Struct property of travel_plan
Struct property of travel_summary
Struct property of travelplan
Struct property of traveltime
{ "name": "coordinates", "base": "", "fields": [ { "name": "x", "type": "int64" }, { "name": "y", "type": "int64" } ] }
-
{ "name": "enable", "base": "", "fields": [ { "name": "enabled", "type": "bool" } ] }
-
{ "name": "good_price", "base": "", "fields": [ { "name": "id", "type": "uint16" }, { "name": "price", "type": "uint64" }, { "name": "supply", "type": "uint64" } ] }
-
{ "name": "hash", "base": "", "fields": [ { "name": "value", "type": "string" } ] }
-
{ "name": "hash512", "base": "", "fields": [ { "name": "value", "type": "string" } ] }
-
{ "name": "init", "base": "", "fields": [ { "name": "seed", "type": "checksum256" } ] }
-
{ "name": "jettison", "base": "", "fields": [ { "name": "ship_id", "type": "uint64" }, { "name": "good_id", "type": "uint16" }, { "name": "quantity", "type": "uint64" } ] }
-
{ "name": "join", "base": "", "fields": [ { "name": "account", "type": "name" } ] }
-
{ "name": "loader_stats", "base": "", "fields": [ { "name": "mass", "type": "uint32" }, { "name": "quantity", "type": "uint16" }, { "name": "thrust", "type": "uint32" } ] }
Table row type of location
{ "name": "location_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "coordinates", "type": "coordinates" }, { "name": "epoch", "type": "uint64" }, { "name": "good_id", "type": "uint16" }, { "name": "supply", "type": "uint16" } ] }
Action parameter in marketprice
{ "name": "marketprice", "base": "", "fields": [ { "name": "location", "type": "coordinates" }, { "name": "good_id", "type": "uint16" } ] }
Action parameter in marketprices
{ "name": "marketprices", "base": "", "fields": [ { "name": "location", "type": "coordinates" } ] }
-
{ "name": "payloan", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "amount", "type": "uint64" } ] }
Table row type of player
{ "name": "player_row", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "balance", "type": "uint64" }, { "name": "debt", "type": "uint64" }, { "name": "networth", "type": "int64" } ] }
Action parameter in purgesupply
{ "name": "purgesupply", "base": "", "fields": [ { "name": "max_rows", "type": "uint64?" } ] }
-
{ "name": "salt", "base": "", "fields": [ { "name": "salt", "type": "uint64" } ] }
-
{ "name": "sellgoods", "base": "", "fields": [ { "name": "ship_id", "type": "uint64" }, { "name": "good_id", "type": "uint64" }, { "name": "quantity", "type": "uint64" } ] }
Table row type of sequence
{ "name": "sequence_row", "base": "", "fields": [ { "name": "key", "type": "name" }, { "name": "value", "type": "uint64" } ] }
-
{ "name": "ship_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "owner", "type": "name" }, { "name": "name", "type": "string" }, { "name": "location", "type": "coordinates" }, { "name": "skin", "type": "uint8" }, { "name": "tier", "type": "uint8" }, { "name": "state", "type": "ship_state" }, { "name": "stats", "type": "ship_stats" }, { "name": "loaders", "type": "loader_stats" }, { "name": "travelplan", "type": "travel_plan?" } ] }
Struct property of ship_row
{ "name": "ship_state", "base": "", "fields": [ { "name": "energy", "type": "uint32" } ] }
-
{ "name": "ship_stats", "base": "", "fields": [ { "name": "capacity", "type": "uint32" }, { "name": "drain", "type": "uint32" }, { "name": "mass", "type": "uint64" }, { "name": "maxmass", "type": "uint64" }, { "name": "orbit", "type": "uint16" }, { "name": "recharge", "type": "uint32" }, { "name": "thrust", "type": "uint64" } ] }
-
{ "name": "state_row", "base": "", "fields": [ { "name": "enabled", "type": "bool" }, { "name": "epoch", "type": "uint64" }, { "name": "salt", "type": "uint64" }, { "name": "ships", "type": "uint32" }, { "name": "seed", "type": "checksum256" }, { "name": "commit", "type": "checksum256" } ] }
-
{ "name": "takeloan", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "amount", "type": "uint64" } ] }
-
{ "name": "travel", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "destination", "type": "coordinates" }, { "name": "recharge", "type": "bool" } ] }
-
{ "name": "travel_plan", "base": "", "fields": [ { "name": "departure", "type": "time_point" }, { "name": "destination", "type": "coordinates" }, { "name": "distance", "type": "uint64" }, { "name": "flighttime", "type": "uint32" }, { "name": "loadtime", "type": "uint32" }, { "name": "rechargetime", "type": "uint32" }, { "name": "masspenalty", "type": "uint32" }, { "name": "mass", "type": "uint64" }, { "name": "energyusage", "type": "uint32" } ] }
Action return type for traveltime
{ "name": "travel_summary", "base": "", "fields": [ { "name": "stats", "type": "ship_stats" }, { "name": "loaders", "type": "loader_stats" }, { "name": "origin", "type": "coordinates" }, { "name": "destination", "type": "coordinates" }, { "name": "distance", "type": "uint64" }, { "name": "totalmass", "type": "uint64" }, { "name": "acceleration", "type": "float64" }, { "name": "flighttime", "type": "uint32" }, { "name": "energyusage", "type": "uint32" }, { "name": "rechargetime", "type": "uint32" }, { "name": "masspenalty", "type": "uint32" }, { "name": "loadtime", "type": "uint64" }, { "name": "time", "type": "uint64" } ] }
Action parameter in travelplan
{ "name": "travelplan", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "origin", "type": "coordinates" }, { "name": "destination", "type": "coordinates" }, { "name": "recharge", "type": "bool" } ] }
Action parameter in traveltime
{ "name": "traveltime", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "destination", "type": "coordinates" } ] }
Action parameter in updatecredit
{ "name": "updatecredit", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "amount", "type": "int64" } ] }
Action parameter in updatedebt
{ "name": "updatedebt", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "amount", "type": "int64" } ] }
Action parameter in upgradeship
{ "name": "upgradeship", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "id", "type": "uint64" } ] }
-
{ "name": "wipe", "base": "", "fields": [] }
Action parameter in wipesequence
{ "name": "wipesequence", "base": "", "fields": [] }