From b1d51bfa2c998fafad866631dcc4b4bba42b15ea Mon Sep 17 00:00:00 2001 From: ponderingdemocritus Date: Sun, 7 Jul 2024 14:57:57 +0200 Subject: [PATCH] bump to 1 --- Scarb.lock | 10 +- Scarb.toml | 6 +- ...son => dojo_starter-actions-7a1c7102.json} | 70 ++++++++++- manifests/dev/abis/base/dojo-base.json | 98 +++++++++++++++ ...{dojo_world_world.json => dojo-world.json} | 117 +++++++++++++++++- ...starter-DirectionsAvailable-77844f1f.json} | 33 +++++ ....json => dojo_starter-Moved-504403e5.json} | 33 +++++ ....json => dojo_starter-Moves-2a29373f.json} | 33 +++++ ...on => dojo_starter-Position-2ac8b4c1.json} | 33 +++++ .../dojo_starter-actions-7a1c7102.toml | 11 ++ .../dojo_starter_systems_actions_actions.toml | 10 -- .../{dojo_base_base.toml => dojo-base.toml} | 4 +- manifests/dev/base/dojo-world.toml | 6 + manifests/dev/base/dojo_world_world.toml | 5 - ..._starter-DirectionsAvailable-77844f1f.toml | 16 +++ .../models/dojo_starter-Moved-504403e5.toml | 16 +++ .../models/dojo_starter-Moves-2a29373f.toml | 26 ++++ .../dojo_starter-Position-2ac8b4c1.toml | 16 +++ ...ter_models_moves_directions_available.toml | 15 --- .../dojo_starter_models_moves_moves.toml | 25 ---- ...dojo_starter_models_position_position.toml | 15 --- ...starter_systems_actions_actions_moved.toml | 15 --- 22 files changed, 512 insertions(+), 101 deletions(-) rename manifests/dev/abis/base/contracts/{dojo_starter_systems_actions_actions.json => dojo_starter-actions-7a1c7102.json} (72%) create mode 100644 manifests/dev/abis/base/dojo-base.json rename manifests/dev/abis/base/{dojo_world_world.json => dojo-world.json} (89%) rename manifests/dev/abis/base/models/{dojo_starter_models_moves_directions_available.json => dojo_starter-DirectionsAvailable-77844f1f.json} (92%) rename manifests/dev/abis/base/models/{dojo_starter_systems_actions_actions_moved.json => dojo_starter-Moved-504403e5.json} (92%) rename manifests/dev/abis/base/models/{dojo_starter_models_moves_moves.json => dojo_starter-Moves-2a29373f.json} (92%) rename manifests/dev/abis/base/models/{dojo_starter_models_position_position.json => dojo_starter-Position-2ac8b4c1.json} (92%) create mode 100644 manifests/dev/base/contracts/dojo_starter-actions-7a1c7102.toml delete mode 100644 manifests/dev/base/contracts/dojo_starter_systems_actions_actions.toml rename manifests/dev/base/{dojo_base_base.toml => dojo-base.toml} (66%) create mode 100644 manifests/dev/base/dojo-world.toml delete mode 100644 manifests/dev/base/dojo_world_world.toml create mode 100644 manifests/dev/base/models/dojo_starter-DirectionsAvailable-77844f1f.toml create mode 100644 manifests/dev/base/models/dojo_starter-Moved-504403e5.toml create mode 100644 manifests/dev/base/models/dojo_starter-Moves-2a29373f.toml create mode 100644 manifests/dev/base/models/dojo_starter-Position-2ac8b4c1.toml delete mode 100644 manifests/dev/base/models/dojo_starter_models_moves_directions_available.toml delete mode 100644 manifests/dev/base/models/dojo_starter_models_moves_moves.toml delete mode 100644 manifests/dev/base/models/dojo_starter_models_position_position.toml delete mode 100644 manifests/dev/base/models/dojo_starter_systems_actions_actions_moved.toml diff --git a/Scarb.lock b/Scarb.lock index 692332f..5560592 100644 --- a/Scarb.lock +++ b/Scarb.lock @@ -3,20 +3,20 @@ version = 1 [[package]] name = "dojo" -version = "0.7.2" -source = "git+https://github.com/dojoengine/dojo?tag=v0.7.2#3da5cad9fdd39b81551e0668015d88262e6c5fc4" +version = "0.7.3" +source = "git+https://github.com/dojoengine/dojo?tag=v1.0.0-alpha.0#2e04f54ceaa1c595e5d9ca369aaef640e189ac2a" dependencies = [ "dojo_plugin", ] [[package]] name = "dojo_plugin" -version = "0.3.11" -source = "git+https://github.com/dojoengine/dojo?tag=v0.3.11#1e651b5d4d3b79b14a7d8aa29a92062fcb9e6659" +version = "0.4.1" +source = "git+https://github.com/dojoengine/dojo?tag=v0.7.2#3da5cad9fdd39b81551e0668015d88262e6c5fc4" [[package]] name = "dojo_starter" -version = "0.7.0" +version = "0.1.0" dependencies = [ "dojo", ] diff --git a/Scarb.toml b/Scarb.toml index edeaed5..6feec68 100644 --- a/Scarb.toml +++ b/Scarb.toml @@ -1,7 +1,7 @@ [package] cairo-version = "2.6.3" name = "dojo_starter" -version = "0.7.0" +version = "0.1.0" [cairo] sierra-replace-ids = true @@ -12,7 +12,7 @@ spawn = "./scripts/spawn.sh" move = "./scripts/move.sh" [dependencies] -dojo = { git = "https://github.com/dojoengine/dojo", tag = "v0.7.3" } +dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.0" } [[target.dojo]] @@ -32,6 +32,8 @@ description = "The official Dojo Starter guide, the quickest and most streamline cover_uri = "file://assets/cover.png" icon_uri = "file://assets/icon.png" website = "https://github.com/dojoengine/dojo-starter" +seed = "dojo_starter" +namespace = "dojo_starter" [tool.dojo.world.socials] x = "https://x.com/ohayo_dojo" diff --git a/manifests/dev/abis/base/contracts/dojo_starter_systems_actions_actions.json b/manifests/dev/abis/base/contracts/dojo_starter-actions-7a1c7102.json similarity index 72% rename from manifests/dev/abis/base/contracts/dojo_starter_systems_actions_actions.json rename to manifests/dev/abis/base/contracts/dojo_starter-actions-7a1c7102.json index 797c105..df2f987 100644 --- a/manifests/dev/abis/base/contracts/dojo_starter_systems_actions_actions.json +++ b/manifests/dev/abis/base/contracts/dojo_starter-actions-7a1c7102.json @@ -1,16 +1,67 @@ [ { "type": "impl", - "name": "DojoResourceProviderImpl", - "interface_name": "dojo::world::IDojoResourceProvider" + "name": "ContractImpl", + "interface_name": "dojo::contract::IContract" + }, + { + "type": "struct", + "name": "core::byte_array::ByteArray", + "members": [ + { + "name": "data", + "type": "core::array::Array::" + }, + { + "name": "pending_word", + "type": "core::felt252" + }, + { + "name": "pending_word_len", + "type": "core::integer::u32" + } + ] }, { "type": "interface", - "name": "dojo::world::IDojoResourceProvider", + "name": "dojo::contract::IContract", "items": [ { "type": "function", - "name": "dojo_resource", + "name": "contract_name", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_selector", "inputs": [], "outputs": [ { @@ -18,6 +69,17 @@ } ], "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" } ] }, diff --git a/manifests/dev/abis/base/dojo-base.json b/manifests/dev/abis/base/dojo-base.json new file mode 100644 index 0000000..ee9ceaa --- /dev/null +++ b/manifests/dev/abis/base/dojo-base.json @@ -0,0 +1,98 @@ +[ + { + "type": "impl", + "name": "WorldProviderImpl", + "interface_name": "dojo::world::IWorldProvider" + }, + { + "type": "struct", + "name": "dojo::world::IWorldDispatcher", + "members": [ + { + "name": "contract_address", + "type": "core::starknet::contract_address::ContractAddress" + } + ] + }, + { + "type": "interface", + "name": "dojo::world::IWorldProvider", + "items": [ + { + "type": "function", + "name": "world", + "inputs": [], + "outputs": [ + { + "type": "dojo::world::IWorldDispatcher" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "UpgradableImpl", + "interface_name": "dojo::components::upgradeable::IUpgradeable" + }, + { + "type": "interface", + "name": "dojo::components::upgradeable::IUpgradeable", + "items": [ + { + "type": "function", + "name": "upgrade", + "inputs": [ + { + "name": "new_class_hash", + "type": "core::starknet::class_hash::ClassHash" + } + ], + "outputs": [], + "state_mutability": "external" + } + ] + }, + { + "type": "constructor", + "name": "constructor", + "inputs": [] + }, + { + "type": "event", + "name": "dojo::components::upgradeable::upgradeable::Upgraded", + "kind": "struct", + "members": [ + { + "name": "class_hash", + "type": "core::starknet::class_hash::ClassHash", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::components::upgradeable::upgradeable::Event", + "kind": "enum", + "variants": [ + { + "name": "Upgraded", + "type": "dojo::components::upgradeable::upgradeable::Upgraded", + "kind": "nested" + } + ] + }, + { + "type": "event", + "name": "dojo::base::base::Event", + "kind": "enum", + "variants": [ + { + "name": "UpgradeableEvent", + "type": "dojo::components::upgradeable::upgradeable::Event", + "kind": "flat" + } + ] + } +] \ No newline at end of file diff --git a/manifests/dev/abis/base/dojo_world_world.json b/manifests/dev/abis/base/dojo-world.json similarity index 89% rename from manifests/dev/abis/base/dojo_world_world.json rename to manifests/dev/abis/base/dojo-world.json index c1a2447..0e5e962 100644 --- a/manifests/dev/abis/base/dojo_world_world.json +++ b/manifests/dev/abis/base/dojo-world.json @@ -194,6 +194,18 @@ "outputs": [], "state_mutability": "external" }, + { + "type": "function", + "name": "register_namespace", + "inputs": [ + { + "name": "namespace", + "type": "core::byte_array::ByteArray" + } + ], + "outputs": [], + "state_mutability": "external" + }, { "type": "function", "name": "deploy_contract", @@ -401,7 +413,7 @@ "name": "is_writer", "inputs": [ { - "name": "model", + "name": "resource", "type": "core::felt252" }, { @@ -421,7 +433,7 @@ "name": "grant_writer", "inputs": [ { - "name": "model", + "name": "resource", "type": "core::felt252" }, { @@ -437,7 +449,7 @@ "name": "revoke_writer", "inputs": [ { - "name": "model", + "name": "resource", "type": "core::felt252" }, { @@ -447,6 +459,66 @@ ], "outputs": [], "state_mutability": "external" + }, + { + "type": "function", + "name": "can_write_resource", + "inputs": [ + { + "name": "resource_id", + "type": "core::felt252" + }, + { + "name": "contract", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [ + { + "type": "core::bool" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "can_write_model", + "inputs": [ + { + "name": "model_id", + "type": "core::felt252" + }, + { + "name": "contract", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [ + { + "type": "core::bool" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "can_write_namespace", + "inputs": [ + { + "name": "namespace_id", + "type": "core::felt252" + }, + { + "name": "contract", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [ + { + "type": "core::bool" + } + ], + "state_mutability": "view" } ] }, @@ -692,6 +764,16 @@ "name": "address", "type": "core::starknet::contract_address::ContractAddress", "kind": "data" + }, + { + "name": "namespace", + "type": "core::byte_array::ByteArray", + "kind": "data" + }, + { + "name": "name", + "type": "core::byte_array::ByteArray", + "kind": "data" } ] }, @@ -741,6 +823,23 @@ } ] }, + { + "type": "event", + "name": "dojo::world::world::NamespaceRegistered", + "kind": "struct", + "members": [ + { + "name": "namespace", + "type": "core::byte_array::ByteArray", + "kind": "data" + }, + { + "name": "hash", + "type": "core::felt252", + "kind": "data" + } + ] + }, { "type": "event", "name": "dojo::world::world::ModelRegistered", @@ -751,6 +850,11 @@ "type": "core::byte_array::ByteArray", "kind": "data" }, + { + "name": "namespace", + "type": "core::byte_array::ByteArray", + "kind": "data" + }, { "name": "class_hash", "type": "core::starknet::class_hash::ClassHash", @@ -818,7 +922,7 @@ "kind": "struct", "members": [ { - "name": "model", + "name": "resource", "type": "core::felt252", "kind": "data" }, @@ -956,6 +1060,11 @@ "type": "dojo::world::world::MetadataUpdate", "kind": "nested" }, + { + "name": "NamespaceRegistered", + "type": "dojo::world::world::NamespaceRegistered", + "kind": "nested" + }, { "name": "ModelRegistered", "type": "dojo::world::world::ModelRegistered", diff --git a/manifests/dev/abis/base/models/dojo_starter_models_moves_directions_available.json b/manifests/dev/abis/base/models/dojo_starter-DirectionsAvailable-77844f1f.json similarity index 92% rename from manifests/dev/abis/base/models/dojo_starter_models_moves_directions_available.json rename to manifests/dev/abis/base/models/dojo_starter-DirectionsAvailable-77844f1f.json index 16cb2ac..6a646cd 100644 --- a/manifests/dev/abis/base/models/dojo_starter_models_moves_directions_available.json +++ b/manifests/dev/abis/base/models/dojo_starter-DirectionsAvailable-77844f1f.json @@ -271,6 +271,39 @@ ], "state_mutability": "view" }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, { "type": "function", "name": "unpacked_size", diff --git a/manifests/dev/abis/base/models/dojo_starter_systems_actions_actions_moved.json b/manifests/dev/abis/base/models/dojo_starter-Moved-504403e5.json similarity index 92% rename from manifests/dev/abis/base/models/dojo_starter_systems_actions_actions_moved.json rename to manifests/dev/abis/base/models/dojo_starter-Moved-504403e5.json index baac961..349d439 100644 --- a/manifests/dev/abis/base/models/dojo_starter_systems_actions_actions_moved.json +++ b/manifests/dev/abis/base/models/dojo_starter-Moved-504403e5.json @@ -271,6 +271,39 @@ ], "state_mutability": "view" }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, { "type": "function", "name": "unpacked_size", diff --git a/manifests/dev/abis/base/models/dojo_starter_models_moves_moves.json b/manifests/dev/abis/base/models/dojo_starter-Moves-2a29373f.json similarity index 92% rename from manifests/dev/abis/base/models/dojo_starter_models_moves_moves.json rename to manifests/dev/abis/base/models/dojo_starter-Moves-2a29373f.json index 5c0abb3..5d420be 100644 --- a/manifests/dev/abis/base/models/dojo_starter_models_moves_moves.json +++ b/manifests/dev/abis/base/models/dojo_starter-Moves-2a29373f.json @@ -271,6 +271,39 @@ ], "state_mutability": "view" }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, { "type": "function", "name": "unpacked_size", diff --git a/manifests/dev/abis/base/models/dojo_starter_models_position_position.json b/manifests/dev/abis/base/models/dojo_starter-Position-2ac8b4c1.json similarity index 92% rename from manifests/dev/abis/base/models/dojo_starter_models_position_position.json rename to manifests/dev/abis/base/models/dojo_starter-Position-2ac8b4c1.json index de89995..b59a8e8 100644 --- a/manifests/dev/abis/base/models/dojo_starter_models_position_position.json +++ b/manifests/dev/abis/base/models/dojo_starter-Position-2ac8b4c1.json @@ -271,6 +271,39 @@ ], "state_mutability": "view" }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, { "type": "function", "name": "unpacked_size", diff --git a/manifests/dev/base/contracts/dojo_starter-actions-7a1c7102.toml b/manifests/dev/base/contracts/dojo_starter-actions-7a1c7102.toml new file mode 100644 index 0000000..4d14b08 --- /dev/null +++ b/manifests/dev/base/contracts/dojo_starter-actions-7a1c7102.toml @@ -0,0 +1,11 @@ +kind = "DojoContract" +class_hash = "0x3789ded2f1522b5893d82c51dd7b51303e9fc9f78cd9d15421096c5e45e5855" +original_class_hash = "0x3789ded2f1522b5893d82c51dd7b51303e9fc9f78cd9d15421096c5e45e5855" +base_class_hash = "0x0" +abi = "manifests/dev/abis/base/contracts/dojo_starter-actions-7a1c7102.json" +reads = [] +writes = [] +computed = [] +init_calldata = [] +tag = "dojo_starter-actions" +manifest_name = "dojo_starter-actions-7a1c7102" diff --git a/manifests/dev/base/contracts/dojo_starter_systems_actions_actions.toml b/manifests/dev/base/contracts/dojo_starter_systems_actions_actions.toml deleted file mode 100644 index 800f088..0000000 --- a/manifests/dev/base/contracts/dojo_starter_systems_actions_actions.toml +++ /dev/null @@ -1,10 +0,0 @@ -kind = "DojoContract" -class_hash = "0x6b9e8abff1a178c80f9c18a29a35436d48759a1bcada1f074b1821df0f87119" -original_class_hash = "0x6b9e8abff1a178c80f9c18a29a35436d48759a1bcada1f074b1821df0f87119" -base_class_hash = "0x0" -abi = "manifests/dev/abis/base/contracts/dojo_starter_systems_actions_actions.json" -reads = [] -writes = [] -computed = [] -init_calldata = [] -name = "dojo_starter::systems::actions::actions" diff --git a/manifests/dev/base/dojo_base_base.toml b/manifests/dev/base/dojo-base.toml similarity index 66% rename from manifests/dev/base/dojo_base_base.toml rename to manifests/dev/base/dojo-base.toml index 6c4b5de..4e2fc2e 100644 --- a/manifests/dev/base/dojo_base_base.toml +++ b/manifests/dev/base/dojo-base.toml @@ -1,4 +1,6 @@ kind = "Class" class_hash = "0x22f3e55b61d86c2ac5239fa3b3b8761f26b9a5c0b5f61ddbd5d756ced498b46" original_class_hash = "0x22f3e55b61d86c2ac5239fa3b3b8761f26b9a5c0b5f61ddbd5d756ced498b46" -name = "dojo::base::base" +abi = "manifests/dev/abis/base/dojo-base.json" +tag = "dojo-base" +manifest_name = "dojo-base" diff --git a/manifests/dev/base/dojo-world.toml b/manifests/dev/base/dojo-world.toml new file mode 100644 index 0000000..94821ba --- /dev/null +++ b/manifests/dev/base/dojo-world.toml @@ -0,0 +1,6 @@ +kind = "Class" +class_hash = "0x1498dd1197805ec05d37da956d0fc568023a4c25578b0523b4f4f0d0e4f16c2" +original_class_hash = "0x1498dd1197805ec05d37da956d0fc568023a4c25578b0523b4f4f0d0e4f16c2" +abi = "manifests/dev/abis/base/dojo-world.json" +tag = "dojo-world" +manifest_name = "dojo-world" diff --git a/manifests/dev/base/dojo_world_world.toml b/manifests/dev/base/dojo_world_world.toml deleted file mode 100644 index 2555ec3..0000000 --- a/manifests/dev/base/dojo_world_world.toml +++ /dev/null @@ -1,5 +0,0 @@ -kind = "Class" -class_hash = "0x3f63cecdc4964acafb921ba2934c6507d1b3c344edb64c2762cf08053169ab9" -original_class_hash = "0x3f63cecdc4964acafb921ba2934c6507d1b3c344edb64c2762cf08053169ab9" -abi = "manifests/dev/abis/base/dojo_world_world.json" -name = "dojo::world::world" diff --git a/manifests/dev/base/models/dojo_starter-DirectionsAvailable-77844f1f.toml b/manifests/dev/base/models/dojo_starter-DirectionsAvailable-77844f1f.toml new file mode 100644 index 0000000..0f5db5f --- /dev/null +++ b/manifests/dev/base/models/dojo_starter-DirectionsAvailable-77844f1f.toml @@ -0,0 +1,16 @@ +kind = "DojoModel" +class_hash = "0x35c13bdb9159b896863c212b7343fca5f0f0db80c7cb9cea0002ecb1d1f41ad" +original_class_hash = "0x35c13bdb9159b896863c212b7343fca5f0f0db80c7cb9cea0002ecb1d1f41ad" +abi = "manifests/dev/abis/base/models/dojo_starter-DirectionsAvailable-77844f1f.json" +tag = "dojo_starter-DirectionsAvailable" +manifest_name = "dojo_starter-DirectionsAvailable-77844f1f" + +[[members]] +name = "player" +type = "ContractAddress" +key = true + +[[members]] +name = "directions" +type = "Array" +key = false diff --git a/manifests/dev/base/models/dojo_starter-Moved-504403e5.toml b/manifests/dev/base/models/dojo_starter-Moved-504403e5.toml new file mode 100644 index 0000000..b6ca42a --- /dev/null +++ b/manifests/dev/base/models/dojo_starter-Moved-504403e5.toml @@ -0,0 +1,16 @@ +kind = "DojoModel" +class_hash = "0x2ceff56a9aa56e9048925d52aaf6fe51c560ec1435e2ace85f90e1f91970074" +original_class_hash = "0x2ceff56a9aa56e9048925d52aaf6fe51c560ec1435e2ace85f90e1f91970074" +abi = "manifests/dev/abis/base/models/dojo_starter-Moved-504403e5.json" +tag = "dojo_starter-Moved" +manifest_name = "dojo_starter-Moved-504403e5" + +[[members]] +name = "player" +type = "ContractAddress" +key = true + +[[members]] +name = "direction" +type = "Direction" +key = false diff --git a/manifests/dev/base/models/dojo_starter-Moves-2a29373f.toml b/manifests/dev/base/models/dojo_starter-Moves-2a29373f.toml new file mode 100644 index 0000000..c24abdb --- /dev/null +++ b/manifests/dev/base/models/dojo_starter-Moves-2a29373f.toml @@ -0,0 +1,26 @@ +kind = "DojoModel" +class_hash = "0x13e6c0db807528a9210cf01c6938ca7076ef9683961258e0ee11cb8bbd3cddf" +original_class_hash = "0x13e6c0db807528a9210cf01c6938ca7076ef9683961258e0ee11cb8bbd3cddf" +abi = "manifests/dev/abis/base/models/dojo_starter-Moves-2a29373f.json" +tag = "dojo_starter-Moves" +manifest_name = "dojo_starter-Moves-2a29373f" + +[[members]] +name = "player" +type = "ContractAddress" +key = true + +[[members]] +name = "remaining" +type = "u8" +key = false + +[[members]] +name = "last_direction" +type = "Direction" +key = false + +[[members]] +name = "can_move" +type = "bool" +key = false diff --git a/manifests/dev/base/models/dojo_starter-Position-2ac8b4c1.toml b/manifests/dev/base/models/dojo_starter-Position-2ac8b4c1.toml new file mode 100644 index 0000000..ecc10c4 --- /dev/null +++ b/manifests/dev/base/models/dojo_starter-Position-2ac8b4c1.toml @@ -0,0 +1,16 @@ +kind = "DojoModel" +class_hash = "0x5b76d1e991daee4bb9cf7911c5398a629e84fafdbc3f2713fa6a9eef3000e50" +original_class_hash = "0x5b76d1e991daee4bb9cf7911c5398a629e84fafdbc3f2713fa6a9eef3000e50" +abi = "manifests/dev/abis/base/models/dojo_starter-Position-2ac8b4c1.json" +tag = "dojo_starter-Position" +manifest_name = "dojo_starter-Position-2ac8b4c1" + +[[members]] +name = "player" +type = "ContractAddress" +key = true + +[[members]] +name = "vec" +type = "Vec2" +key = false diff --git a/manifests/dev/base/models/dojo_starter_models_moves_directions_available.toml b/manifests/dev/base/models/dojo_starter_models_moves_directions_available.toml deleted file mode 100644 index 52cb5f9..0000000 --- a/manifests/dev/base/models/dojo_starter_models_moves_directions_available.toml +++ /dev/null @@ -1,15 +0,0 @@ -kind = "DojoModel" -class_hash = "0x13fc796dd2d767ca4051ee20d673074f74b6e6b072bef1926ba429e427c8080" -original_class_hash = "0x13fc796dd2d767ca4051ee20d673074f74b6e6b072bef1926ba429e427c8080" -abi = "manifests/dev/abis/base/models/dojo_starter_models_moves_directions_available.json" -name = "dojo_starter::models::moves::directions_available" - -[[members]] -name = "player" -type = "ContractAddress" -key = true - -[[members]] -name = "directions" -type = "Array" -key = false diff --git a/manifests/dev/base/models/dojo_starter_models_moves_moves.toml b/manifests/dev/base/models/dojo_starter_models_moves_moves.toml deleted file mode 100644 index 92a256f..0000000 --- a/manifests/dev/base/models/dojo_starter_models_moves_moves.toml +++ /dev/null @@ -1,25 +0,0 @@ -kind = "DojoModel" -class_hash = "0x2f6c0529a3aa4c81c1679408106b2c00013fc19a7088ed9639046c0e3aeac7a" -original_class_hash = "0x2f6c0529a3aa4c81c1679408106b2c00013fc19a7088ed9639046c0e3aeac7a" -abi = "manifests/dev/abis/base/models/dojo_starter_models_moves_moves.json" -name = "dojo_starter::models::moves::moves" - -[[members]] -name = "player" -type = "ContractAddress" -key = true - -[[members]] -name = "remaining" -type = "u8" -key = false - -[[members]] -name = "last_direction" -type = "Direction" -key = false - -[[members]] -name = "can_move" -type = "bool" -key = false diff --git a/manifests/dev/base/models/dojo_starter_models_position_position.toml b/manifests/dev/base/models/dojo_starter_models_position_position.toml deleted file mode 100644 index f3fb406..0000000 --- a/manifests/dev/base/models/dojo_starter_models_position_position.toml +++ /dev/null @@ -1,15 +0,0 @@ -kind = "DojoModel" -class_hash = "0x4312e0e9fa6d912c293311798591e5022744a5fbebefc5ddfcfcc9b7c0c9be1" -original_class_hash = "0x4312e0e9fa6d912c293311798591e5022744a5fbebefc5ddfcfcc9b7c0c9be1" -abi = "manifests/dev/abis/base/models/dojo_starter_models_position_position.json" -name = "dojo_starter::models::position::position" - -[[members]] -name = "player" -type = "ContractAddress" -key = true - -[[members]] -name = "vec" -type = "Vec2" -key = false diff --git a/manifests/dev/base/models/dojo_starter_systems_actions_actions_moved.toml b/manifests/dev/base/models/dojo_starter_systems_actions_actions_moved.toml deleted file mode 100644 index ed51c91..0000000 --- a/manifests/dev/base/models/dojo_starter_systems_actions_actions_moved.toml +++ /dev/null @@ -1,15 +0,0 @@ -kind = "DojoModel" -class_hash = "0x1e1fa676a44c4b22fe024f3d3a681904fc4fcaececd382b94d794593b811de2" -original_class_hash = "0x1e1fa676a44c4b22fe024f3d3a681904fc4fcaececd382b94d794593b811de2" -abi = "manifests/dev/abis/base/models/dojo_starter_systems_actions_actions_moved.json" -name = "dojo_starter::systems::actions::actions::moved" - -[[members]] -name = "player" -type = "ContractAddress" -key = true - -[[members]] -name = "direction" -type = "Direction" -key = false