From 7062a5aafdd4386a953cb7ebf4a522aea1517a6c Mon Sep 17 00:00:00 2001 From: Asuma Yamada Date: Tue, 24 Sep 2024 15:47:53 -0400 Subject: [PATCH 1/6] fix: bumup verison 12 --- contracts/.tool-versions | 2 +- contracts/.vscode/settings.json | 2 +- contracts/Scarb.toml | 2 +- contracts/dojo_slot.toml | 4 ++-- .../manifests/slot/deployment/manifest.json | 22 +++++++++++++++---- .../manifests/slot/deployment/manifest.toml | 20 +++++++++++++---- contracts/scripts/paint_json.sh | 1 + 7 files changed, 40 insertions(+), 13 deletions(-) diff --git a/contracts/.tool-versions b/contracts/.tool-versions index e1e700a..f9c1e2f 100644 --- a/contracts/.tool-versions +++ b/contracts/.tool-versions @@ -1,2 +1,2 @@ -dojo 1.0.0-alpha.11 +dojo 1.0.0-alpha.12 scarb 2.7.0 diff --git a/contracts/.vscode/settings.json b/contracts/.vscode/settings.json index daae992..087695b 100644 --- a/contracts/.vscode/settings.json +++ b/contracts/.vscode/settings.json @@ -1,6 +1,6 @@ { "cairo1.enableLanguageServer": true, - "cairo1.languageServerPath": "${userHome}/.asdf/installs/dojo/1.0.0-alpha.11/bin/dojo-language-server", + "cairo1.languageServerPath": "${userHome}/.asdf/installs/dojo/1.0.0-alpha.12/bin/dojo-language-server", "cairo1.enableScarb": true, "cairo1.scarbPath": "${userHome}/.asdf/installs/scarb/2.7.0/bin/scarb", "cairo1.preferScarbLanguageServer": false diff --git a/contracts/Scarb.toml b/contracts/Scarb.toml index 50a2855..c31d82b 100644 --- a/contracts/Scarb.toml +++ b/contracts/Scarb.toml @@ -9,7 +9,7 @@ edition = "2024_07" sierra-replace-ids = true [dependencies] -dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.11" } +dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.12" } [tool.fmt] sort-module-level-items = true diff --git a/contracts/dojo_slot.toml b/contracts/dojo_slot.toml index 0d7a151..7a1e5e9 100644 --- a/contracts/dojo_slot.toml +++ b/contracts/dojo_slot.toml @@ -13,6 +13,6 @@ mappings = {} [env] rpc_url = "https://api.cartridge.gg/x/pixelaw-dev/katana/" -account_address = "0x75aab901b406698604a33f1c81c6487b8de3b2d7ad2456cf01658b68b12aa5" -private_key = "0x74825107c10098a1a991b1419e0afad3afc9e9ba4d16dec23995916cdca4366" +account_address = "0x4f81df02927e5b5c3797a0610009c6a64840c920ab87989db71f7cf9599c3df" +private_key = "0x2eaeabacb2a4cec59598e398df52846532f3b01091f578403b392f0862cc801" world_address = "0x263ae44e5414519a5c5a135cccaf3d9d7ee196d37e8de47a178da91f3de9b34" diff --git a/contracts/manifests/slot/deployment/manifest.json b/contracts/manifests/slot/deployment/manifest.json index 14cce60..e9db066 100644 --- a/contracts/manifests/slot/deployment/manifest.json +++ b/contracts/manifests/slot/deployment/manifest.json @@ -1235,7 +1235,7 @@ } ], "address": "0x263ae44e5414519a5c5a135cccaf3d9d7ee196d37e8de47a178da91f3de9b34", - "transaction_hash": "0xf97c1e5993326189b232d6abb37f8a3733557b231d9d8bfc10fb6a7a078f89", + "transaction_hash": "0x7adbf5f503d501eaacf2e2f9e5c7791aa6cfb4967e082e3be26ea8d7aad81b7", "block_number": 3, "seed": "pixelaw", "metadata": { @@ -2035,7 +2035,16 @@ } ], "reads": [], - "writes": [], + "writes": [ + "pixelaw-App", + "pixelaw-AppName", + "pixelaw-CoreActionsAddress", + "pixelaw-Pixel", + "pixelaw-Permissions", + "pixelaw-QueueItem", + "pixelaw-Snake", + "pixelaw-Instruction" + ], "init_calldata": [], "tag": "pixelaw-actions", "systems": [ @@ -2545,7 +2554,9 @@ } ], "reads": [], - "writes": [], + "writes": [ + "pixelaw-Pixel" + ], "init_calldata": [], "tag": "pixelaw-paint_actions", "systems": [ @@ -3100,7 +3111,10 @@ } ], "reads": [], - "writes": [], + "writes": [ + "pixelaw-Snake", + "pixelaw-SnakeSegment" + ], "init_calldata": [], "tag": "pixelaw-snake_actions", "systems": [ diff --git a/contracts/manifests/slot/deployment/manifest.toml b/contracts/manifests/slot/deployment/manifest.toml index 6ffef69..9366922 100644 --- a/contracts/manifests/slot/deployment/manifest.toml +++ b/contracts/manifests/slot/deployment/manifest.toml @@ -4,7 +4,7 @@ class_hash = "0x6f4515274ee23404789c3351a77107d0ec07508530119822046600ca6948d6e" original_class_hash = "0x6f4515274ee23404789c3351a77107d0ec07508530119822046600ca6948d6e" abi = "manifests/slot/deployment/abis/dojo-world.json" address = "0x263ae44e5414519a5c5a135cccaf3d9d7ee196d37e8de47a178da91f3de9b34" -transaction_hash = "0xf97c1e5993326189b232d6abb37f8a3733557b231d9d8bfc10fb6a7a078f89" +transaction_hash = "0x7adbf5f503d501eaacf2e2f9e5c7791aa6cfb4967e082e3be26ea8d7aad81b7" block_number = 3 seed = "pixelaw" manifest_name = "dojo-world" @@ -29,7 +29,16 @@ original_class_hash = "0x17d390af6c3b449b52da5a0969a00006a3b7935ffc08192dc8cefde base_class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2" abi = "manifests/slot/deployment/abis/contracts/pixelaw-actions-16928a49.json" reads = [] -writes = [] +writes = [ + "pixelaw-App", + "pixelaw-AppName", + "pixelaw-CoreActionsAddress", + "pixelaw-Pixel", + "pixelaw-Permissions", + "pixelaw-QueueItem", + "pixelaw-Snake", + "pixelaw-Instruction", +] init_calldata = [] tag = "pixelaw-actions" systems = [ @@ -51,7 +60,7 @@ original_class_hash = "0x26345888698fbdcfa98dca43542f038a02620c9b485c1487b7e76a2 base_class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2" abi = "manifests/slot/deployment/abis/contracts/pixelaw-paint_actions-2afb94fe.json" reads = [] -writes = [] +writes = ["pixelaw-Pixel"] init_calldata = [] tag = "pixelaw-paint_actions" systems = [ @@ -73,7 +82,10 @@ original_class_hash = "0x6dbe6fed41677edc917050c80b2e15727f48534fd7752e153e7cf74 base_class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2" abi = "manifests/slot/deployment/abis/contracts/pixelaw-snake_actions-4f967106.json" reads = [] -writes = [] +writes = [ + "pixelaw-Snake", + "pixelaw-SnakeSegment", +] init_calldata = [] tag = "pixelaw-snake_actions" systems = [ diff --git a/contracts/scripts/paint_json.sh b/contracts/scripts/paint_json.sh index 0a0627b..85b1f9c 100755 --- a/contracts/scripts/paint_json.sh +++ b/contracts/scripts/paint_json.sh @@ -4,6 +4,7 @@ set -uo pipefail function paint() { sozo \ execute \ + --profile $SCARB_PROFILE \ pixelaw-paint_actions \ interact \ -c 0,0,$1 From 46cb47945d51519bbe0d8696ad3c15ec03aa3062 Mon Sep 17 00:00:00 2001 From: Asuma Yamada Date: Tue, 24 Sep 2024 15:57:14 -0400 Subject: [PATCH 2/6] fix: update version in github action --- .github/workflows/ci-contracts.yml | 4 ++-- contracts/Scarb.lock | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-contracts.yml b/.github/workflows/ci-contracts.yml index d058162..cff2de7 100644 --- a/.github/workflows/ci-contracts.yml +++ b/.github/workflows/ci-contracts.yml @@ -35,6 +35,6 @@ jobs: - uses: asdf-vm/actions/setup@v3 - run: | asdf plugin add dojo https://github.com/dojoengine/asdf-dojo - asdf install dojo 1.0.0-alpha.11 - asdf global dojo 1.0.0-alpha.11 + asdf install dojo 1.0.0-alpha.12 + asdf global dojo 1.0.0-alpha.12 sozo test diff --git a/contracts/Scarb.lock b/contracts/Scarb.lock index 020ee45..dd87925 100644 --- a/contracts/Scarb.lock +++ b/contracts/Scarb.lock @@ -4,7 +4,7 @@ version = 1 [[package]] name = "dojo" version = "1.0.0-alpha.4" -source = "git+https://github.com/dojoengine/dojo?tag=v1.0.0-alpha.11#fbff45b249e2b931f5007edf2d526beef7dc553f" +source = "git+https://github.com/dojoengine/dojo?tag=v1.0.0-alpha.12#b391948911356cbf8a91daa93314809c87411098" dependencies = [ "dojo_plugin", ] From 75240c7f745330bfe60e8f420c774aca22a68002 Mon Sep 17 00:00:00 2001 From: Asuma Yamada Date: Tue, 24 Sep 2024 16:15:12 -0400 Subject: [PATCH 3/6] fix: modify scarb toml --- contracts/Scarb.toml | 4 ++-- .../dev/base/contracts/pixelaw-paint_actions-2afb94fe.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contracts/Scarb.toml b/contracts/Scarb.toml index c31d82b..579bba6 100644 --- a/contracts/Scarb.toml +++ b/contracts/Scarb.toml @@ -14,8 +14,8 @@ dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.12" } [tool.fmt] sort-module-level-items = true -# [lib] -[[target.dojo]] +[lib] +# [[target.dojo]] [profile.dev-pop] diff --git a/contracts/manifests/dev/base/contracts/pixelaw-paint_actions-2afb94fe.toml b/contracts/manifests/dev/base/contracts/pixelaw-paint_actions-2afb94fe.toml index 52dac22..f070524 100644 --- a/contracts/manifests/dev/base/contracts/pixelaw-paint_actions-2afb94fe.toml +++ b/contracts/manifests/dev/base/contracts/pixelaw-paint_actions-2afb94fe.toml @@ -1,6 +1,6 @@ kind = "DojoContract" -class_hash = "0xcd76621d6a3678a27c2d5424907d1151e04b4ceb28c02d800b3ddfe2d016f2" -original_class_hash = "0xcd76621d6a3678a27c2d5424907d1151e04b4ceb28c02d800b3ddfe2d016f2" +class_hash = "0x26345888698fbdcfa98dca43542f038a02620c9b485c1487b7e76a21f63aff" +original_class_hash = "0x26345888698fbdcfa98dca43542f038a02620c9b485c1487b7e76a21f63aff" base_class_hash = "0x0" abi = "manifests/dev/base/abis/contracts/pixelaw-paint_actions-2afb94fe.json" reads = [] From 8b6e7bba1ec04c7ef9e6a33ff131256d60e6b493 Mon Sep 17 00:00:00 2001 From: Asuma Yamada Date: Wed, 25 Sep 2024 06:52:27 -0400 Subject: [PATCH 4/6] feat: update manifest --- contracts/Scarb_deploy.toml | 2 +- contracts/dojo_slot.toml | 4 +- .../manifests/dev/deployment/manifest.json | 45 +++++++++++--- .../manifests/dev/deployment/manifest.toml | 59 ++++++++++++------- .../manifests/slot/deployment/manifest.json | 2 +- .../manifests/slot/deployment/manifest.toml | 2 +- 6 files changed, 79 insertions(+), 35 deletions(-) diff --git a/contracts/Scarb_deploy.toml b/contracts/Scarb_deploy.toml index 8aaca53..d18b5cb 100644 --- a/contracts/Scarb_deploy.toml +++ b/contracts/Scarb_deploy.toml @@ -9,7 +9,7 @@ edition = "2024_07" sierra-replace-ids = true [dependencies] -dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.11" } +dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.12" } [tool.fmt] sort-module-level-items = true diff --git a/contracts/dojo_slot.toml b/contracts/dojo_slot.toml index 7a1e5e9..a698076 100644 --- a/contracts/dojo_slot.toml +++ b/contracts/dojo_slot.toml @@ -13,6 +13,6 @@ mappings = {} [env] rpc_url = "https://api.cartridge.gg/x/pixelaw-dev/katana/" -account_address = "0x4f81df02927e5b5c3797a0610009c6a64840c920ab87989db71f7cf9599c3df" -private_key = "0x2eaeabacb2a4cec59598e398df52846532f3b01091f578403b392f0862cc801" +account_address = "0x798115b6af1edfeb17bf60973d2250bc7a12bcd4824293eecd8feead990ed50" +private_key = "0x24a070bc4fe89dc2415d651aba07d14e4460b6b02de60a0c6f9a0df40ddaf56" world_address = "0x263ae44e5414519a5c5a135cccaf3d9d7ee196d37e8de47a178da91f3de9b34" diff --git a/contracts/manifests/dev/deployment/manifest.json b/contracts/manifests/dev/deployment/manifest.json index 496323c..08c9967 100644 --- a/contracts/manifests/dev/deployment/manifest.json +++ b/contracts/manifests/dev/deployment/manifest.json @@ -1235,7 +1235,7 @@ } ], "address": "0x263ae44e5414519a5c5a135cccaf3d9d7ee196d37e8de47a178da91f3de9b34", - "transaction_hash": "0x507cd13b0e34b357d25bd0ddafa527c8caf0729f894e57ad9129c1f29311768", + "transaction_hash": "0x3f0a3ef84b6c8c32b8b2169f3d9cba4206e0704e8f780d0e3e35747123c56fc", "block_number": 3, "seed": "pixelaw", "metadata": { @@ -2035,7 +2035,16 @@ } ], "reads": [], - "writes": [], + "writes": [ + "pixelaw-App", + "pixelaw-AppName", + "pixelaw-CoreActionsAddress", + "pixelaw-Pixel", + "pixelaw-Permissions", + "pixelaw-QueueItem", + "pixelaw-Snake", + "pixelaw-Instruction" + ], "init_calldata": [], "tag": "pixelaw-actions", "systems": [ @@ -2052,8 +2061,8 @@ { "kind": "DojoContract", "address": "0x41b6ece4125198c4de0d9d7efa2fad0af34376178b2c0a5a4487c676f35d5c6", - "class_hash": "0xcd76621d6a3678a27c2d5424907d1151e04b4ceb28c02d800b3ddfe2d016f2", - "original_class_hash": "0xcd76621d6a3678a27c2d5424907d1151e04b4ceb28c02d800b3ddfe2d016f2", + "class_hash": "0x26345888698fbdcfa98dca43542f038a02620c9b485c1487b7e76a21f63aff", + "original_class_hash": "0x26345888698fbdcfa98dca43542f038a02620c9b485c1487b7e76a21f63aff", "base_class_hash": "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2", "abi": [ { @@ -2545,10 +2554,20 @@ } ], "reads": [], - "writes": [], + "writes": [ + "pixelaw-Pixel" + ], "init_calldata": [], "tag": "pixelaw-paint_actions", - "systems": ["on_pre_update", "on_post_update", "init", "interact", "put_color", "pixel_row", "fade"], + "systems": [ + "on_pre_update", + "on_post_update", + "init", + "interact", + "put_color", + "pixel_row", + "fade" + ], "manifest_name": "pixelaw-paint_actions-2afb94fe" }, { @@ -3092,10 +3111,18 @@ } ], "reads": [], - "writes": [], + "writes": [ + "pixelaw-Snake", + "pixelaw-SnakeSegment" + ], "init_calldata": [], "tag": "pixelaw-snake_actions", - "systems": ["on_pre_update", "on_post_update", "init", "move"], + "systems": [ + "on_pre_update", + "on_post_update", + "init", + "move" + ], "manifest_name": "pixelaw-snake_actions-4f967106" } ], @@ -7694,4 +7721,4 @@ "manifest_name": "pixelaw-SnakeSegment-302de0d8" } ] -} +} \ No newline at end of file diff --git a/contracts/manifests/dev/deployment/manifest.toml b/contracts/manifests/dev/deployment/manifest.toml index 4be6ef1..748cc48 100644 --- a/contracts/manifests/dev/deployment/manifest.toml +++ b/contracts/manifests/dev/deployment/manifest.toml @@ -4,7 +4,7 @@ class_hash = "0x6f4515274ee23404789c3351a77107d0ec07508530119822046600ca6948d6e" original_class_hash = "0x6f4515274ee23404789c3351a77107d0ec07508530119822046600ca6948d6e" abi = "manifests/dev/deployment/abis/dojo-world.json" address = "0x263ae44e5414519a5c5a135cccaf3d9d7ee196d37e8de47a178da91f3de9b34" -transaction_hash = "0x507cd13b0e34b357d25bd0ddafa527c8caf0729f894e57ad9129c1f29311768" +transaction_hash = "0x3f0a3ef84b6c8c32b8b2169f3d9cba4206e0704e8f780d0e3e35747123c56fc" block_number = 3 seed = "pixelaw" manifest_name = "dojo-world" @@ -29,39 +29,48 @@ original_class_hash = "0x17d390af6c3b449b52da5a0969a00006a3b7935ffc08192dc8cefde base_class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2" abi = "manifests/dev/deployment/abis/contracts/pixelaw-actions-16928a49.json" reads = [] -writes = [] +writes = [ + "pixelaw-App", + "pixelaw-AppName", + "pixelaw-CoreActionsAddress", + "pixelaw-Pixel", + "pixelaw-Permissions", + "pixelaw-QueueItem", + "pixelaw-Snake", + "pixelaw-Instruction", +] init_calldata = [] tag = "pixelaw-actions" systems = [ - "init", - "update_permission", - "schedule_queue", - "process_queue", - "update_pixel", - "alert_player", - "set_instruction", + "init", + "update_permission", + "schedule_queue", + "process_queue", + "update_pixel", + "alert_player", + "set_instruction", ] manifest_name = "pixelaw-actions-16928a49" [[contracts]] kind = "DojoContract" address = "0x41b6ece4125198c4de0d9d7efa2fad0af34376178b2c0a5a4487c676f35d5c6" -class_hash = "0xcd76621d6a3678a27c2d5424907d1151e04b4ceb28c02d800b3ddfe2d016f2" -original_class_hash = "0xcd76621d6a3678a27c2d5424907d1151e04b4ceb28c02d800b3ddfe2d016f2" +class_hash = "0x26345888698fbdcfa98dca43542f038a02620c9b485c1487b7e76a21f63aff" +original_class_hash = "0x26345888698fbdcfa98dca43542f038a02620c9b485c1487b7e76a21f63aff" base_class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2" abi = "manifests/dev/deployment/abis/contracts/pixelaw-paint_actions-2afb94fe.json" reads = [] -writes = [] +writes = ["pixelaw-Pixel"] init_calldata = [] tag = "pixelaw-paint_actions" systems = [ - "on_pre_update", - "on_post_update", - "init", - "interact", - "put_color", - "pixel_row", - "fade", + "on_pre_update", + "on_post_update", + "init", + "interact", + "put_color", + "pixel_row", + "fade", ] manifest_name = "pixelaw-paint_actions-2afb94fe" @@ -73,10 +82,18 @@ original_class_hash = "0x6dbe6fed41677edc917050c80b2e15727f48534fd7752e153e7cf74 base_class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2" abi = "manifests/dev/deployment/abis/contracts/pixelaw-snake_actions-4f967106.json" reads = [] -writes = [] +writes = [ + "pixelaw-Snake", + "pixelaw-SnakeSegment", +] init_calldata = [] tag = "pixelaw-snake_actions" -systems = ["on_pre_update", "on_post_update", "init", "move"] +systems = [ + "on_pre_update", + "on_post_update", + "init", + "move", +] manifest_name = "pixelaw-snake_actions-4f967106" [[models]] diff --git a/contracts/manifests/slot/deployment/manifest.json b/contracts/manifests/slot/deployment/manifest.json index e9db066..1beb808 100644 --- a/contracts/manifests/slot/deployment/manifest.json +++ b/contracts/manifests/slot/deployment/manifest.json @@ -1235,7 +1235,7 @@ } ], "address": "0x263ae44e5414519a5c5a135cccaf3d9d7ee196d37e8de47a178da91f3de9b34", - "transaction_hash": "0x7adbf5f503d501eaacf2e2f9e5c7791aa6cfb4967e082e3be26ea8d7aad81b7", + "transaction_hash": "0x3a6c907a6782b0d14c271fe62a3b3e9652a838e6dc4164fd3dc5a8fd706a4ed", "block_number": 3, "seed": "pixelaw", "metadata": { diff --git a/contracts/manifests/slot/deployment/manifest.toml b/contracts/manifests/slot/deployment/manifest.toml index 9366922..86c4ed2 100644 --- a/contracts/manifests/slot/deployment/manifest.toml +++ b/contracts/manifests/slot/deployment/manifest.toml @@ -4,7 +4,7 @@ class_hash = "0x6f4515274ee23404789c3351a77107d0ec07508530119822046600ca6948d6e" original_class_hash = "0x6f4515274ee23404789c3351a77107d0ec07508530119822046600ca6948d6e" abi = "manifests/slot/deployment/abis/dojo-world.json" address = "0x263ae44e5414519a5c5a135cccaf3d9d7ee196d37e8de47a178da91f3de9b34" -transaction_hash = "0x7adbf5f503d501eaacf2e2f9e5c7791aa6cfb4967e082e3be26ea8d7aad81b7" +transaction_hash = "0x3a6c907a6782b0d14c271fe62a3b3e9652a838e6dc4164fd3dc5a8fd706a4ed" block_number = 3 seed = "pixelaw" manifest_name = "dojo-world" From 1574032ee60b4c2c47220d56bf24b495b5cbbb25 Mon Sep 17 00:00:00 2001 From: Asuma Yamada Date: Fri, 27 Sep 2024 01:13:25 -0400 Subject: [PATCH 5/6] fix: bump up to alpha-13 --- .github/workflows/ci-contracts.yml | 4 +- contracts/.tool-versions | 2 +- contracts/.vscode/settings.json | 2 +- contracts/Scarb.lock | 10 +- contracts/Scarb.toml | 2 +- contracts/Scarb_deploy.toml | 2 +- .../contracts/pixelaw-actions-16928a49.json | 775 ----------- .../pixelaw-paint_actions-2afb94fe.json | 489 ------- .../pixelaw-snake_actions-4f967106.json | 534 ------- .../manifests/dev/base/abis/dojo-base.json | 98 -- .../manifests/dev/base/abis/dojo-world.json | 1231 ----------------- .../abis/models/pixelaw-App-36504565.json | 415 ------ .../abis/models/pixelaw-AppName-3b816829.json | 407 ------ .../abis/models/pixelaw-AppUser-4eda3c52.json | 411 ------ .../pixelaw-CoreActionsAddress-5379e1ce.json | 407 ------ .../models/pixelaw-Instruction-4c7c4844.json | 411 ------ .../models/pixelaw-Permissions-72b77307.json | 455 ------ .../abis/models/pixelaw-Pixel-7e607b2f.json | 439 ------ .../models/pixelaw-QueueItem-549a17f2.json | 421 ------ .../abis/models/pixelaw-Snake-62b876d4.json | 471 ------- .../models/pixelaw-SnakeSegment-302de0d8.json | 431 ------ .../contracts/pixelaw-actions-16928a49.toml | 19 - .../pixelaw-paint_actions-2afb94fe.toml | 19 - .../pixelaw-snake_actions-4f967106.toml | 16 - contracts/manifests/dev/base/dojo-base.toml | 6 - contracts/manifests/dev/base/dojo-world.toml | 6 - .../dev/base/models/pixelaw-App-36504565.toml | 27 - .../base/models/pixelaw-AppName-3b816829.toml | 17 - .../base/models/pixelaw-AppUser-4eda3c52.toml | 22 - .../pixelaw-CoreActionsAddress-5379e1ce.toml | 17 - .../models/pixelaw-Instruction-4c7c4844.toml | 22 - .../models/pixelaw-Permissions-72b77307.toml | 22 - .../base/models/pixelaw-Pixel-7e607b2f.toml | 57 - .../models/pixelaw-QueueItem-549a17f2.toml | 17 - .../base/models/pixelaw-Snake-62b876d4.toml | 47 - .../models/pixelaw-SnakeSegment-302de0d8.toml | 47 - 36 files changed, 7 insertions(+), 7771 deletions(-) delete mode 100644 contracts/manifests/dev/base/abis/contracts/pixelaw-actions-16928a49.json delete mode 100644 contracts/manifests/dev/base/abis/contracts/pixelaw-paint_actions-2afb94fe.json delete mode 100644 contracts/manifests/dev/base/abis/contracts/pixelaw-snake_actions-4f967106.json delete mode 100644 contracts/manifests/dev/base/abis/dojo-base.json delete mode 100644 contracts/manifests/dev/base/abis/dojo-world.json delete mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-App-36504565.json delete mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-AppName-3b816829.json delete mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-AppUser-4eda3c52.json delete mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-CoreActionsAddress-5379e1ce.json delete mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-Instruction-4c7c4844.json delete mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-Permissions-72b77307.json delete mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-Pixel-7e607b2f.json delete mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-QueueItem-549a17f2.json delete mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-Snake-62b876d4.json delete mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-SnakeSegment-302de0d8.json delete mode 100644 contracts/manifests/dev/base/contracts/pixelaw-actions-16928a49.toml delete mode 100644 contracts/manifests/dev/base/contracts/pixelaw-paint_actions-2afb94fe.toml delete mode 100644 contracts/manifests/dev/base/contracts/pixelaw-snake_actions-4f967106.toml delete mode 100644 contracts/manifests/dev/base/dojo-base.toml delete mode 100644 contracts/manifests/dev/base/dojo-world.toml delete mode 100644 contracts/manifests/dev/base/models/pixelaw-App-36504565.toml delete mode 100644 contracts/manifests/dev/base/models/pixelaw-AppName-3b816829.toml delete mode 100644 contracts/manifests/dev/base/models/pixelaw-AppUser-4eda3c52.toml delete mode 100644 contracts/manifests/dev/base/models/pixelaw-CoreActionsAddress-5379e1ce.toml delete mode 100644 contracts/manifests/dev/base/models/pixelaw-Instruction-4c7c4844.toml delete mode 100644 contracts/manifests/dev/base/models/pixelaw-Permissions-72b77307.toml delete mode 100644 contracts/manifests/dev/base/models/pixelaw-Pixel-7e607b2f.toml delete mode 100644 contracts/manifests/dev/base/models/pixelaw-QueueItem-549a17f2.toml delete mode 100644 contracts/manifests/dev/base/models/pixelaw-Snake-62b876d4.toml delete mode 100644 contracts/manifests/dev/base/models/pixelaw-SnakeSegment-302de0d8.toml diff --git a/.github/workflows/ci-contracts.yml b/.github/workflows/ci-contracts.yml index cff2de7..ea4d0ab 100644 --- a/.github/workflows/ci-contracts.yml +++ b/.github/workflows/ci-contracts.yml @@ -35,6 +35,6 @@ jobs: - uses: asdf-vm/actions/setup@v3 - run: | asdf plugin add dojo https://github.com/dojoengine/asdf-dojo - asdf install dojo 1.0.0-alpha.12 - asdf global dojo 1.0.0-alpha.12 + asdf install dojo 1.0.0-alpha.13 + asdf global dojo 1.0.0-alpha.13 sozo test diff --git a/contracts/.tool-versions b/contracts/.tool-versions index f9c1e2f..a29a6a7 100644 --- a/contracts/.tool-versions +++ b/contracts/.tool-versions @@ -1,2 +1,2 @@ -dojo 1.0.0-alpha.12 +dojo 1.0.0-alpha.13 scarb 2.7.0 diff --git a/contracts/.vscode/settings.json b/contracts/.vscode/settings.json index 087695b..1c524da 100644 --- a/contracts/.vscode/settings.json +++ b/contracts/.vscode/settings.json @@ -1,6 +1,6 @@ { "cairo1.enableLanguageServer": true, - "cairo1.languageServerPath": "${userHome}/.asdf/installs/dojo/1.0.0-alpha.12/bin/dojo-language-server", + "cairo1.languageServerPath": "${userHome}/.asdf/installs/dojo/1.0.0-alpha.13/bin/dojo-language-server", "cairo1.enableScarb": true, "cairo1.scarbPath": "${userHome}/.asdf/installs/scarb/2.7.0/bin/scarb", "cairo1.preferScarbLanguageServer": false diff --git a/contracts/Scarb.lock b/contracts/Scarb.lock index dd87925..f1fad38 100644 --- a/contracts/Scarb.lock +++ b/contracts/Scarb.lock @@ -4,15 +4,7 @@ version = 1 [[package]] name = "dojo" version = "1.0.0-alpha.4" -source = "git+https://github.com/dojoengine/dojo?tag=v1.0.0-alpha.12#b391948911356cbf8a91daa93314809c87411098" -dependencies = [ - "dojo_plugin", -] - -[[package]] -name = "dojo_plugin" -version = "1.0.0-alpha.4" -source = "git+https://github.com/dojoengine/dojo?rev=f15def33#f15def330c0d099e79351d11c197f63e8cc1ff36" +source = "git+https://github.com/dojoengine/dojo?tag=v1.0.0-alpha.13#9f95a68a957d45190a1e1c42877a4b828ab7a96d" [[package]] name = "pixelaw" diff --git a/contracts/Scarb.toml b/contracts/Scarb.toml index 579bba6..c185c30 100644 --- a/contracts/Scarb.toml +++ b/contracts/Scarb.toml @@ -9,7 +9,7 @@ edition = "2024_07" sierra-replace-ids = true [dependencies] -dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.12" } +dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.13" } [tool.fmt] sort-module-level-items = true diff --git a/contracts/Scarb_deploy.toml b/contracts/Scarb_deploy.toml index d18b5cb..b8c4240 100644 --- a/contracts/Scarb_deploy.toml +++ b/contracts/Scarb_deploy.toml @@ -9,7 +9,7 @@ edition = "2024_07" sierra-replace-ids = true [dependencies] -dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.12" } +dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.13" } [tool.fmt] sort-module-level-items = true diff --git a/contracts/manifests/dev/base/abis/contracts/pixelaw-actions-16928a49.json b/contracts/manifests/dev/base/abis/contracts/pixelaw-actions-16928a49.json deleted file mode 100644 index e71ba18..0000000 --- a/contracts/manifests/dev/base/abis/contracts/pixelaw-actions-16928a49.json +++ /dev/null @@ -1,775 +0,0 @@ -[ - { - "type": "impl", - "name": "ContractImpl", - "interface_name": "dojo::contract::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::contract::contract::IContract", - "items": [ - { - "type": "function", - "name": "contract_name", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "tag", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "name_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "selector", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "WorldProviderImpl", - "interface_name": "dojo::world::world_contract::IWorldProvider" - }, - { - "type": "struct", - "name": "dojo::world::world_contract::IWorldDispatcher", - "members": [ - { - "name": "contract_address", - "type": "core::starknet::contract_address::ContractAddress" - } - ] - }, - { - "type": "interface", - "name": "dojo::world::world_contract::IWorldProvider", - "items": [ - { - "type": "function", - "name": "world", - "inputs": [], - "outputs": [ - { - "type": "dojo::world::world_contract::IWorldDispatcher" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "ActionsImpl", - "interface_name": "pixelaw::core::actions::IActions" - }, - { - "type": "enum", - "name": "core::bool", - "variants": [ - { - "name": "False", - "type": "()" - }, - { - "name": "True", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "pixelaw::core::models::permissions::Permission", - "members": [ - { - "name": "app", - "type": "core::bool" - }, - { - "name": "color", - "type": "core::bool" - }, - { - "name": "owner", - "type": "core::bool" - }, - { - "name": "text", - "type": "core::bool" - }, - { - "name": "timestamp", - "type": "core::bool" - }, - { - "name": "action", - "type": "core::bool" - } - ] - }, - { - "type": "struct", - "name": "pixelaw::core::models::pixel::Pixel", - "members": [ - { - "name": "x", - "type": "core::integer::u32" - }, - { - "name": "y", - "type": "core::integer::u32" - }, - { - "name": "app", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "color", - "type": "core::integer::u32" - }, - { - "name": "created_at", - "type": "core::integer::u64" - }, - { - "name": "updated_at", - "type": "core::integer::u64" - }, - { - "name": "timestamp", - "type": "core::integer::u64" - }, - { - "name": "owner", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "text", - "type": "core::felt252" - }, - { - "name": "action", - "type": "core::felt252" - } - ] - }, - { - "type": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u32" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::felt252" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u64" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "pixelaw::core::models::pixel::PixelUpdate", - "members": [ - { - "name": "x", - "type": "core::integer::u32" - }, - { - "name": "y", - "type": "core::integer::u32" - }, - { - "name": "color", - "type": "core::option::Option::" - }, - { - "name": "owner", - "type": "core::option::Option::" - }, - { - "name": "app", - "type": "core::option::Option::" - }, - { - "name": "text", - "type": "core::option::Option::" - }, - { - "name": "timestamp", - "type": "core::option::Option::" - }, - { - "name": "action", - "type": "core::option::Option::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "pixelaw::core::models::registry::App", - "members": [ - { - "name": "system", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "icon", - "type": "core::felt252" - }, - { - "name": "action", - "type": "core::felt252" - } - ] - }, - { - "type": "struct", - "name": "pixelaw::core::utils::Position", - "members": [ - { - "name": "x", - "type": "core::integer::u32" - }, - { - "name": "y", - "type": "core::integer::u32" - } - ] - }, - { - "type": "interface", - "name": "pixelaw::core::actions::IActions", - "items": [ - { - "type": "function", - "name": "init", - "inputs": [], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "update_permission", - "inputs": [ - { - "name": "app_key", - "type": "core::felt252" - }, - { - "name": "permission", - "type": "pixelaw::core::models::permissions::Permission" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "has_write_access", - "inputs": [ - { - "name": "for_player", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "for_system", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "pixel", - "type": "pixelaw::core::models::pixel::Pixel" - }, - { - "name": "pixel_update", - "type": "pixelaw::core::models::pixel::PixelUpdate" - } - ], - "outputs": [ - { - "type": "core::bool" - } - ], - "state_mutability": "external" - }, - { - "type": "function", - "name": "process_queue", - "inputs": [ - { - "name": "id", - "type": "core::felt252" - }, - { - "name": "timestamp", - "type": "core::integer::u64" - }, - { - "name": "called_system", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "calldata", - "type": "core::array::Span::" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "schedule_queue", - "inputs": [ - { - "name": "timestamp", - "type": "core::integer::u64" - }, - { - "name": "called_system", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "calldata", - "type": "core::array::Span::" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "update_pixel", - "inputs": [ - { - "name": "for_player", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "for_system", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "pixel_update", - "type": "pixelaw::core::models::pixel::PixelUpdate" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "new_app", - "inputs": [ - { - "name": "system", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "icon", - "type": "core::felt252" - } - ], - "outputs": [ - { - "type": "pixelaw::core::models::registry::App" - } - ], - "state_mutability": "external" - }, - { - "type": "function", - "name": "get_system_address", - "inputs": [ - { - "name": "for_system", - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "outputs": [ - { - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "get_player_address", - "inputs": [ - { - "name": "for_player", - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "outputs": [ - { - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "alert_player", - "inputs": [ - { - "name": "position", - "type": "pixelaw::core::utils::Position" - }, - { - "name": "player", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "message", - "type": "core::felt252" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "set_instruction", - "inputs": [ - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "instruction", - "type": "core::felt252" - } - ], - "outputs": [], - "state_mutability": "external" - } - ] - }, - { - "type": "impl", - "name": "IDojoInitImpl", - "interface_name": "pixelaw::core::actions::actions::IDojoInit" - }, - { - "type": "interface", - "name": "pixelaw::core::actions::actions::IDojoInit", - "items": [ - { - "type": "function", - "name": "dojo_init", - "inputs": [], - "outputs": [], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "UpgradableImpl", - "interface_name": "dojo::contract::upgradeable::IUpgradeable" - }, - { - "type": "interface", - "name": "dojo::contract::upgradeable::IUpgradeable", - "items": [ - { - "type": "function", - "name": "upgrade", - "inputs": [ - { - "name": "new_class_hash", - "type": "core::starknet::class_hash::ClassHash" - } - ], - "outputs": [], - "state_mutability": "external" - } - ] - }, - { - "type": "event", - "name": "dojo::contract::upgradeable::upgradeable::Upgraded", - "kind": "struct", - "members": [ - { - "name": "class_hash", - "type": "core::starknet::class_hash::ClassHash", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::contract::upgradeable::upgradeable::Event", - "kind": "enum", - "variants": [ - { - "name": "Upgraded", - "type": "dojo::contract::upgradeable::upgradeable::Upgraded", - "kind": "nested" - } - ] - }, - { - "type": "event", - "name": "pixelaw::core::actions::actions::QueueScheduled", - "kind": "struct", - "members": [ - { - "name": "id", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "timestamp", - "type": "core::integer::u64", - "kind": "data" - }, - { - "name": "called_system", - "type": "core::starknet::contract_address::ContractAddress", - "kind": "data" - }, - { - "name": "selector", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "calldata", - "type": "core::array::Span::", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "pixelaw::core::actions::actions::QueueProcessed", - "kind": "struct", - "members": [ - { - "name": "id", - "type": "core::felt252", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "pixelaw::core::actions::actions::AppNameUpdated", - "kind": "struct", - "members": [ - { - "name": "app", - "type": "pixelaw::core::models::registry::App", - "kind": "data" - }, - { - "name": "caller", - "type": "core::felt252", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "pixelaw::core::actions::actions::Alert", - "kind": "struct", - "members": [ - { - "name": "position", - "type": "pixelaw::core::utils::Position", - "kind": "data" - }, - { - "name": "caller", - "type": "core::starknet::contract_address::ContractAddress", - "kind": "data" - }, - { - "name": "player", - "type": "core::starknet::contract_address::ContractAddress", - "kind": "data" - }, - { - "name": "message", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "timestamp", - "type": "core::integer::u64", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "pixelaw::core::actions::actions::Event", - "kind": "enum", - "variants": [ - { - "name": "UpgradeableEvent", - "type": "dojo::contract::upgradeable::upgradeable::Event", - "kind": "nested" - }, - { - "name": "QueueScheduled", - "type": "pixelaw::core::actions::actions::QueueScheduled", - "kind": "nested" - }, - { - "name": "QueueProcessed", - "type": "pixelaw::core::actions::actions::QueueProcessed", - "kind": "nested" - }, - { - "name": "AppNameUpdated", - "type": "pixelaw::core::actions::actions::AppNameUpdated", - "kind": "nested" - }, - { - "name": "Alert", - "type": "pixelaw::core::actions::actions::Alert", - "kind": "nested" - } - ] - } -] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/contracts/pixelaw-paint_actions-2afb94fe.json b/contracts/manifests/dev/base/abis/contracts/pixelaw-paint_actions-2afb94fe.json deleted file mode 100644 index 43c7d6b..0000000 --- a/contracts/manifests/dev/base/abis/contracts/pixelaw-paint_actions-2afb94fe.json +++ /dev/null @@ -1,489 +0,0 @@ -[ - { - "type": "impl", - "name": "ContractImpl", - "interface_name": "dojo::contract::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::contract::contract::IContract", - "items": [ - { - "type": "function", - "name": "contract_name", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "tag", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "name_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "selector", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "WorldProviderImpl", - "interface_name": "dojo::world::world_contract::IWorldProvider" - }, - { - "type": "struct", - "name": "dojo::world::world_contract::IWorldDispatcher", - "members": [ - { - "name": "contract_address", - "type": "core::starknet::contract_address::ContractAddress" - } - ] - }, - { - "type": "interface", - "name": "dojo::world::world_contract::IWorldProvider", - "items": [ - { - "type": "function", - "name": "world", - "inputs": [], - "outputs": [ - { - "type": "dojo::world::world_contract::IWorldDispatcher" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "ActionsInteroperability", - "interface_name": "pixelaw::core::traits::IInteroperability" - }, - { - "type": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u32" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::felt252" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u64" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "pixelaw::core::models::pixel::PixelUpdate", - "members": [ - { - "name": "x", - "type": "core::integer::u32" - }, - { - "name": "y", - "type": "core::integer::u32" - }, - { - "name": "color", - "type": "core::option::Option::" - }, - { - "name": "owner", - "type": "core::option::Option::" - }, - { - "name": "app", - "type": "core::option::Option::" - }, - { - "name": "text", - "type": "core::option::Option::" - }, - { - "name": "timestamp", - "type": "core::option::Option::" - }, - { - "name": "action", - "type": "core::option::Option::" - } - ] - }, - { - "type": "struct", - "name": "pixelaw::core::models::registry::App", - "members": [ - { - "name": "system", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "icon", - "type": "core::felt252" - }, - { - "name": "action", - "type": "core::felt252" - } - ] - }, - { - "type": "interface", - "name": "pixelaw::core::traits::IInteroperability", - "items": [ - { - "type": "function", - "name": "on_pre_update", - "inputs": [ - { - "name": "pixel_update", - "type": "pixelaw::core::models::pixel::PixelUpdate" - }, - { - "name": "app_caller", - "type": "pixelaw::core::models::registry::App" - }, - { - "name": "player_caller", - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "on_post_update", - "inputs": [ - { - "name": "pixel_update", - "type": "pixelaw::core::models::pixel::PixelUpdate" - }, - { - "name": "app_caller", - "type": "pixelaw::core::models::registry::App" - }, - { - "name": "player_caller", - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "outputs": [], - "state_mutability": "external" - } - ] - }, - { - "type": "impl", - "name": "ActionsImpl", - "interface_name": "pixelaw::apps::paint::app::IPaintActions" - }, - { - "type": "struct", - "name": "pixelaw::core::utils::Position", - "members": [ - { - "name": "x", - "type": "core::integer::u32" - }, - { - "name": "y", - "type": "core::integer::u32" - } - ] - }, - { - "type": "struct", - "name": "pixelaw::core::utils::DefaultParameters", - "members": [ - { - "name": "for_player", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "for_system", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "position", - "type": "pixelaw::core::utils::Position" - }, - { - "name": "color", - "type": "core::integer::u32" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "interface", - "name": "pixelaw::apps::paint::app::IPaintActions", - "items": [ - { - "type": "function", - "name": "init", - "inputs": [], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "interact", - "inputs": [ - { - "name": "default_params", - "type": "pixelaw::core::utils::DefaultParameters" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "put_color", - "inputs": [ - { - "name": "default_params", - "type": "pixelaw::core::utils::DefaultParameters" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "fade", - "inputs": [ - { - "name": "default_params", - "type": "pixelaw::core::utils::DefaultParameters" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "pixel_row", - "inputs": [ - { - "name": "default_params", - "type": "pixelaw::core::utils::DefaultParameters" - }, - { - "name": "image_data", - "type": "core::array::Span::" - } - ], - "outputs": [], - "state_mutability": "external" - } - ] - }, - { - "type": "impl", - "name": "IDojoInitImpl", - "interface_name": "pixelaw::apps::paint::app::paint_actions::IDojoInit" - }, - { - "type": "interface", - "name": "pixelaw::apps::paint::app::paint_actions::IDojoInit", - "items": [ - { - "type": "function", - "name": "dojo_init", - "inputs": [], - "outputs": [], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "UpgradableImpl", - "interface_name": "dojo::contract::upgradeable::IUpgradeable" - }, - { - "type": "interface", - "name": "dojo::contract::upgradeable::IUpgradeable", - "items": [ - { - "type": "function", - "name": "upgrade", - "inputs": [ - { - "name": "new_class_hash", - "type": "core::starknet::class_hash::ClassHash" - } - ], - "outputs": [], - "state_mutability": "external" - } - ] - }, - { - "type": "event", - "name": "dojo::contract::upgradeable::upgradeable::Upgraded", - "kind": "struct", - "members": [ - { - "name": "class_hash", - "type": "core::starknet::class_hash::ClassHash", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::contract::upgradeable::upgradeable::Event", - "kind": "enum", - "variants": [ - { - "name": "Upgraded", - "type": "dojo::contract::upgradeable::upgradeable::Upgraded", - "kind": "nested" - } - ] - }, - { - "type": "event", - "name": "pixelaw::apps::paint::app::paint_actions::Event", - "kind": "enum", - "variants": [ - { - "name": "UpgradeableEvent", - "type": "dojo::contract::upgradeable::upgradeable::Event", - "kind": "nested" - } - ] - } -] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/contracts/pixelaw-snake_actions-4f967106.json b/contracts/manifests/dev/base/abis/contracts/pixelaw-snake_actions-4f967106.json deleted file mode 100644 index 7db4153..0000000 --- a/contracts/manifests/dev/base/abis/contracts/pixelaw-snake_actions-4f967106.json +++ /dev/null @@ -1,534 +0,0 @@ -[ - { - "type": "impl", - "name": "ContractImpl", - "interface_name": "dojo::contract::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::contract::contract::IContract", - "items": [ - { - "type": "function", - "name": "contract_name", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "tag", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "name_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "selector", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "WorldProviderImpl", - "interface_name": "dojo::world::world_contract::IWorldProvider" - }, - { - "type": "struct", - "name": "dojo::world::world_contract::IWorldDispatcher", - "members": [ - { - "name": "contract_address", - "type": "core::starknet::contract_address::ContractAddress" - } - ] - }, - { - "type": "interface", - "name": "dojo::world::world_contract::IWorldProvider", - "items": [ - { - "type": "function", - "name": "world", - "inputs": [], - "outputs": [ - { - "type": "dojo::world::world_contract::IWorldDispatcher" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "ActionsInteroperability", - "interface_name": "pixelaw::core::traits::IInteroperability" - }, - { - "type": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u32" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::felt252" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u64" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "pixelaw::core::models::pixel::PixelUpdate", - "members": [ - { - "name": "x", - "type": "core::integer::u32" - }, - { - "name": "y", - "type": "core::integer::u32" - }, - { - "name": "color", - "type": "core::option::Option::" - }, - { - "name": "owner", - "type": "core::option::Option::" - }, - { - "name": "app", - "type": "core::option::Option::" - }, - { - "name": "text", - "type": "core::option::Option::" - }, - { - "name": "timestamp", - "type": "core::option::Option::" - }, - { - "name": "action", - "type": "core::option::Option::" - } - ] - }, - { - "type": "struct", - "name": "pixelaw::core::models::registry::App", - "members": [ - { - "name": "system", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "icon", - "type": "core::felt252" - }, - { - "name": "action", - "type": "core::felt252" - } - ] - }, - { - "type": "interface", - "name": "pixelaw::core::traits::IInteroperability", - "items": [ - { - "type": "function", - "name": "on_pre_update", - "inputs": [ - { - "name": "pixel_update", - "type": "pixelaw::core::models::pixel::PixelUpdate" - }, - { - "name": "app_caller", - "type": "pixelaw::core::models::registry::App" - }, - { - "name": "player_caller", - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "on_post_update", - "inputs": [ - { - "name": "pixel_update", - "type": "pixelaw::core::models::pixel::PixelUpdate" - }, - { - "name": "app_caller", - "type": "pixelaw::core::models::registry::App" - }, - { - "name": "player_caller", - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "outputs": [], - "state_mutability": "external" - } - ] - }, - { - "type": "impl", - "name": "ActionsImpl", - "interface_name": "pixelaw::apps::snake::app::ISnakeActions" - }, - { - "type": "struct", - "name": "pixelaw::core::utils::Position", - "members": [ - { - "name": "x", - "type": "core::integer::u32" - }, - { - "name": "y", - "type": "core::integer::u32" - } - ] - }, - { - "type": "struct", - "name": "pixelaw::core::utils::DefaultParameters", - "members": [ - { - "name": "for_player", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "for_system", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "position", - "type": "pixelaw::core::utils::Position" - }, - { - "name": "color", - "type": "core::integer::u32" - } - ] - }, - { - "type": "enum", - "name": "pixelaw::core::utils::Direction", - "variants": [ - { - "name": "None", - "type": "()" - }, - { - "name": "Left", - "type": "()" - }, - { - "name": "Right", - "type": "()" - }, - { - "name": "Up", - "type": "()" - }, - { - "name": "Down", - "type": "()" - } - ] - }, - { - "type": "interface", - "name": "pixelaw::apps::snake::app::ISnakeActions", - "items": [ - { - "type": "function", - "name": "init", - "inputs": [], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "interact", - "inputs": [ - { - "name": "default_params", - "type": "pixelaw::core::utils::DefaultParameters" - }, - { - "name": "direction", - "type": "pixelaw::core::utils::Direction" - } - ], - "outputs": [ - { - "type": "core::integer::u32" - } - ], - "state_mutability": "external" - }, - { - "type": "function", - "name": "move", - "inputs": [ - { - "name": "owner", - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "outputs": [], - "state_mutability": "external" - } - ] - }, - { - "type": "impl", - "name": "IDojoInitImpl", - "interface_name": "pixelaw::apps::snake::app::snake_actions::IDojoInit" - }, - { - "type": "interface", - "name": "pixelaw::apps::snake::app::snake_actions::IDojoInit", - "items": [ - { - "type": "function", - "name": "dojo_init", - "inputs": [], - "outputs": [], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "UpgradableImpl", - "interface_name": "dojo::contract::upgradeable::IUpgradeable" - }, - { - "type": "interface", - "name": "dojo::contract::upgradeable::IUpgradeable", - "items": [ - { - "type": "function", - "name": "upgrade", - "inputs": [ - { - "name": "new_class_hash", - "type": "core::starknet::class_hash::ClassHash" - } - ], - "outputs": [], - "state_mutability": "external" - } - ] - }, - { - "type": "event", - "name": "dojo::contract::upgradeable::upgradeable::Upgraded", - "kind": "struct", - "members": [ - { - "name": "class_hash", - "type": "core::starknet::class_hash::ClassHash", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::contract::upgradeable::upgradeable::Event", - "kind": "enum", - "variants": [ - { - "name": "Upgraded", - "type": "dojo::contract::upgradeable::upgradeable::Upgraded", - "kind": "nested" - } - ] - }, - { - "type": "event", - "name": "pixelaw::apps::snake::app::snake_actions::Moved", - "kind": "struct", - "members": [ - { - "name": "owner", - "type": "core::starknet::contract_address::ContractAddress", - "kind": "data" - }, - { - "name": "direction", - "type": "pixelaw::core::utils::Direction", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "pixelaw::apps::snake::app::snake_actions::Died", - "kind": "struct", - "members": [ - { - "name": "owner", - "type": "core::starknet::contract_address::ContractAddress", - "kind": "data" - }, - { - "name": "x", - "type": "core::integer::u32", - "kind": "data" - }, - { - "name": "y", - "type": "core::integer::u32", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "pixelaw::apps::snake::app::snake_actions::Event", - "kind": "enum", - "variants": [ - { - "name": "UpgradeableEvent", - "type": "dojo::contract::upgradeable::upgradeable::Event", - "kind": "nested" - }, - { - "name": "Moved", - "type": "pixelaw::apps::snake::app::snake_actions::Moved", - "kind": "nested" - }, - { - "name": "Died", - "type": "pixelaw::apps::snake::app::snake_actions::Died", - "kind": "nested" - } - ] - } -] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/dojo-base.json b/contracts/manifests/dev/base/abis/dojo-base.json deleted file mode 100644 index 4800464..0000000 --- a/contracts/manifests/dev/base/abis/dojo-base.json +++ /dev/null @@ -1,98 +0,0 @@ -[ - { - "type": "impl", - "name": "WorldProviderImpl", - "interface_name": "dojo::world::world_contract::IWorldProvider" - }, - { - "type": "struct", - "name": "dojo::world::world_contract::IWorldDispatcher", - "members": [ - { - "name": "contract_address", - "type": "core::starknet::contract_address::ContractAddress" - } - ] - }, - { - "type": "interface", - "name": "dojo::world::world_contract::IWorldProvider", - "items": [ - { - "type": "function", - "name": "world", - "inputs": [], - "outputs": [ - { - "type": "dojo::world::world_contract::IWorldDispatcher" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "UpgradableImpl", - "interface_name": "dojo::contract::upgradeable::IUpgradeable" - }, - { - "type": "interface", - "name": "dojo::contract::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::contract::upgradeable::upgradeable::Upgraded", - "kind": "struct", - "members": [ - { - "name": "class_hash", - "type": "core::starknet::class_hash::ClassHash", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::contract::upgradeable::upgradeable::Event", - "kind": "enum", - "variants": [ - { - "name": "Upgraded", - "type": "dojo::contract::upgradeable::upgradeable::Upgraded", - "kind": "nested" - } - ] - }, - { - "type": "event", - "name": "dojo::contract::base_contract::base::Event", - "kind": "enum", - "variants": [ - { - "name": "UpgradeableEvent", - "type": "dojo::contract::upgradeable::upgradeable::Event", - "kind": "flat" - } - ] - } -] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/dojo-world.json b/contracts/manifests/dev/base/abis/dojo-world.json deleted file mode 100644 index 8553809..0000000 --- a/contracts/manifests/dev/base/abis/dojo-world.json +++ /dev/null @@ -1,1231 +0,0 @@ -[ - { - "type": "impl", - "name": "World", - "interface_name": "dojo::world::world_contract::IWorld" - }, - { - "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": "struct", - "name": "dojo::model::metadata::ResourceMetadata", - "members": [ - { - "name": "resource_id", - "type": "core::felt252" - }, - { - "name": "metadata_uri", - "type": "core::byte_array::ByteArray" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::model::ModelIndex", - "variants": [ - { - "name": "Keys", - "type": "core::array::Span::" - }, - { - "name": "Id", - "type": "core::felt252" - }, - { - "name": "MemberId", - "type": "(core::felt252, core::felt252)" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::layout::FieldLayout", - "members": [ - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "layout", - "type": "dojo::model::layout::Layout" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::layout::Layout", - "variants": [ - { - "name": "Fixed", - "type": "core::array::Span::" - }, - { - "name": "Struct", - "type": "core::array::Span::" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - }, - { - "name": "Enum", - "type": "core::array::Span::" - } - ] - }, - { - "type": "enum", - "name": "dojo::world::world_contract::Resource", - "variants": [ - { - "name": "Model", - "type": "(core::starknet::class_hash::ClassHash, core::starknet::contract_address::ContractAddress)" - }, - { - "name": "Contract", - "type": "(core::starknet::class_hash::ClassHash, core::starknet::contract_address::ContractAddress)" - }, - { - "name": "Namespace", - "type": "()" - }, - { - "name": "World", - "type": "()" - }, - { - "name": "Unregistered", - "type": "()" - } - ] - }, - { - "type": "enum", - "name": "core::bool", - "variants": [ - { - "name": "False", - "type": "()" - }, - { - "name": "True", - "type": "()" - } - ] - }, - { - "type": "interface", - "name": "dojo::world::world_contract::IWorld", - "items": [ - { - "type": "function", - "name": "metadata", - "inputs": [ - { - "name": "resource_selector", - "type": "core::felt252" - } - ], - "outputs": [ - { - "type": "dojo::model::metadata::ResourceMetadata" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "set_metadata", - "inputs": [ - { - "name": "metadata", - "type": "dojo::model::metadata::ResourceMetadata" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "register_namespace", - "inputs": [ - { - "name": "namespace", - "type": "core::byte_array::ByteArray" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "register_model", - "inputs": [ - { - "name": "class_hash", - "type": "core::starknet::class_hash::ClassHash" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "upgrade_model", - "inputs": [ - { - "name": "class_hash", - "type": "core::starknet::class_hash::ClassHash" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "deploy_contract", - "inputs": [ - { - "name": "salt", - "type": "core::felt252" - }, - { - "name": "class_hash", - "type": "core::starknet::class_hash::ClassHash" - } - ], - "outputs": [ - { - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "state_mutability": "external" - }, - { - "type": "function", - "name": "upgrade_contract", - "inputs": [ - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "class_hash", - "type": "core::starknet::class_hash::ClassHash" - } - ], - "outputs": [ - { - "type": "core::starknet::class_hash::ClassHash" - } - ], - "state_mutability": "external" - }, - { - "type": "function", - "name": "init_contract", - "inputs": [ - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "init_calldata", - "type": "core::array::Span::" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "uuid", - "inputs": [], - "outputs": [ - { - "type": "core::integer::u32" - } - ], - "state_mutability": "external" - }, - { - "type": "function", - "name": "emit", - "inputs": [ - { - "name": "keys", - "type": "core::array::Array::" - }, - { - "name": "values", - "type": "core::array::Span::" - } - ], - "outputs": [], - "state_mutability": "view" - }, - { - "type": "function", - "name": "entity", - "inputs": [ - { - "name": "model_selector", - "type": "core::felt252" - }, - { - "name": "index", - "type": "dojo::model::model::ModelIndex" - }, - { - "name": "layout", - "type": "dojo::model::layout::Layout" - } - ], - "outputs": [ - { - "type": "core::array::Span::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "set_entity", - "inputs": [ - { - "name": "model_selector", - "type": "core::felt252" - }, - { - "name": "index", - "type": "dojo::model::model::ModelIndex" - }, - { - "name": "values", - "type": "core::array::Span::" - }, - { - "name": "layout", - "type": "dojo::model::layout::Layout" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "delete_entity", - "inputs": [ - { - "name": "model_selector", - "type": "core::felt252" - }, - { - "name": "index", - "type": "dojo::model::model::ModelIndex" - }, - { - "name": "layout", - "type": "dojo::model::layout::Layout" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "base", - "inputs": [], - "outputs": [ - { - "type": "core::starknet::class_hash::ClassHash" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "resource", - "inputs": [ - { - "name": "selector", - "type": "core::felt252" - } - ], - "outputs": [ - { - "type": "dojo::world::world_contract::Resource" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "is_owner", - "inputs": [ - { - "name": "resource", - "type": "core::felt252" - }, - { - "name": "address", - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "outputs": [ - { - "type": "core::bool" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "grant_owner", - "inputs": [ - { - "name": "resource", - "type": "core::felt252" - }, - { - "name": "address", - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "revoke_owner", - "inputs": [ - { - "name": "resource", - "type": "core::felt252" - }, - { - "name": "address", - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "is_writer", - "inputs": [ - { - "name": "resource", - "type": "core::felt252" - }, - { - "name": "contract", - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "outputs": [ - { - "type": "core::bool" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "grant_writer", - "inputs": [ - { - "name": "resource", - "type": "core::felt252" - }, - { - "name": "contract", - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "revoke_writer", - "inputs": [ - { - "name": "resource", - "type": "core::felt252" - }, - { - "name": "contract", - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "outputs": [], - "state_mutability": "external" - } - ] - }, - { - "type": "impl", - "name": "UpgradeableWorld", - "interface_name": "dojo::world::world_contract::IUpgradeableWorld" - }, - { - "type": "interface", - "name": "dojo::world::world_contract::IUpgradeableWorld", - "items": [ - { - "type": "function", - "name": "upgrade", - "inputs": [ - { - "name": "new_class_hash", - "type": "core::starknet::class_hash::ClassHash" - } - ], - "outputs": [], - "state_mutability": "external" - } - ] - }, - { - "type": "impl", - "name": "UpgradeableState", - "interface_name": "dojo::world::update::IUpgradeableState" - }, - { - "type": "struct", - "name": "dojo::world::update::StorageUpdate", - "members": [ - { - "name": "key", - "type": "core::felt252" - }, - { - "name": "value", - "type": "core::felt252" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::world::update::ProgramOutput", - "members": [ - { - "name": "prev_state_root", - "type": "core::felt252" - }, - { - "name": "new_state_root", - "type": "core::felt252" - }, - { - "name": "block_number", - "type": "core::felt252" - }, - { - "name": "block_hash", - "type": "core::felt252" - }, - { - "name": "config_hash", - "type": "core::felt252" - }, - { - "name": "world_da_hash", - "type": "core::felt252" - }, - { - "name": "message_to_starknet_segment", - "type": "core::array::Span::" - }, - { - "name": "message_to_appchain_segment", - "type": "core::array::Span::" - } - ] - }, - { - "type": "interface", - "name": "dojo::world::update::IUpgradeableState", - "items": [ - { - "type": "function", - "name": "upgrade_state", - "inputs": [ - { - "name": "new_state", - "type": "core::array::Span::" - }, - { - "name": "program_output", - "type": "dojo::world::update::ProgramOutput" - }, - { - "name": "program_hash", - "type": "core::felt252" - } - ], - "outputs": [], - "state_mutability": "external" - } - ] - }, - { - "type": "impl", - "name": "ConfigImpl", - "interface_name": "dojo::world::config::IConfig" - }, - { - "type": "interface", - "name": "dojo::world::config::IConfig", - "items": [ - { - "type": "function", - "name": "set_differ_program_hash", - "inputs": [ - { - "name": "program_hash", - "type": "core::felt252" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "set_merger_program_hash", - "inputs": [ - { - "name": "program_hash", - "type": "core::felt252" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "get_differ_program_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "get_merger_program_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "set_facts_registry", - "inputs": [ - { - "name": "address", - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "outputs": [], - "state_mutability": "external" - }, - { - "type": "function", - "name": "get_facts_registry", - "inputs": [], - "outputs": [ - { - "type": "core::starknet::contract_address::ContractAddress" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "constructor", - "name": "constructor", - "inputs": [ - { - "name": "contract_base", - "type": "core::starknet::class_hash::ClassHash" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::world::WorldSpawned", - "kind": "struct", - "members": [ - { - "name": "address", - "type": "core::starknet::contract_address::ContractAddress", - "kind": "data" - }, - { - "name": "creator", - "type": "core::starknet::contract_address::ContractAddress", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::world::ContractDeployed", - "kind": "struct", - "members": [ - { - "name": "salt", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "class_hash", - "type": "core::starknet::class_hash::ClassHash", - "kind": "data" - }, - { - "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" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::world::ContractUpgraded", - "kind": "struct", - "members": [ - { - "name": "class_hash", - "type": "core::starknet::class_hash::ClassHash", - "kind": "data" - }, - { - "name": "address", - "type": "core::starknet::contract_address::ContractAddress", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::world::ContractInitialized", - "kind": "struct", - "members": [ - { - "name": "selector", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "init_calldata", - "type": "core::array::Span::", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::world::WorldUpgraded", - "kind": "struct", - "members": [ - { - "name": "class_hash", - "type": "core::starknet::class_hash::ClassHash", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::world::MetadataUpdate", - "kind": "struct", - "members": [ - { - "name": "resource", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "uri", - "type": "core::byte_array::ByteArray", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::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_contract::world::ModelRegistered", - "kind": "struct", - "members": [ - { - "name": "name", - "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", - "kind": "data" - }, - { - "name": "address", - "type": "core::starknet::contract_address::ContractAddress", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::world::ModelUpgraded", - "kind": "struct", - "members": [ - { - "name": "name", - "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", - "kind": "data" - }, - { - "name": "prev_class_hash", - "type": "core::starknet::class_hash::ClassHash", - "kind": "data" - }, - { - "name": "address", - "type": "core::starknet::contract_address::ContractAddress", - "kind": "data" - }, - { - "name": "prev_address", - "type": "core::starknet::contract_address::ContractAddress", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::world::StoreSetRecord", - "kind": "struct", - "members": [ - { - "name": "table", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "entity_id", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "keys", - "type": "core::array::Span::", - "kind": "data" - }, - { - "name": "values", - "type": "core::array::Span::", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::world::StoreUpdateRecord", - "kind": "struct", - "members": [ - { - "name": "table", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "entity_id", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "values", - "type": "core::array::Span::", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::world::StoreUpdateMember", - "kind": "struct", - "members": [ - { - "name": "table", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "entity_id", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "member_selector", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "values", - "type": "core::array::Span::", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::world::StoreDelRecord", - "kind": "struct", - "members": [ - { - "name": "table", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "entity_id", - "type": "core::felt252", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::world::WriterUpdated", - "kind": "struct", - "members": [ - { - "name": "resource", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "contract", - "type": "core::starknet::contract_address::ContractAddress", - "kind": "data" - }, - { - "name": "value", - "type": "core::bool", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::world::OwnerUpdated", - "kind": "struct", - "members": [ - { - "name": "address", - "type": "core::starknet::contract_address::ContractAddress", - "kind": "data" - }, - { - "name": "resource", - "type": "core::felt252", - "kind": "data" - }, - { - "name": "value", - "type": "core::bool", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::config::Config::DifferProgramHashUpdate", - "kind": "struct", - "members": [ - { - "name": "program_hash", - "type": "core::felt252", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::config::Config::MergerProgramHashUpdate", - "kind": "struct", - "members": [ - { - "name": "program_hash", - "type": "core::felt252", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::config::Config::FactsRegistryUpdate", - "kind": "struct", - "members": [ - { - "name": "address", - "type": "core::starknet::contract_address::ContractAddress", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::config::Config::Event", - "kind": "enum", - "variants": [ - { - "name": "DifferProgramHashUpdate", - "type": "dojo::world::config::Config::DifferProgramHashUpdate", - "kind": "nested" - }, - { - "name": "MergerProgramHashUpdate", - "type": "dojo::world::config::Config::MergerProgramHashUpdate", - "kind": "nested" - }, - { - "name": "FactsRegistryUpdate", - "type": "dojo::world::config::Config::FactsRegistryUpdate", - "kind": "nested" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::world::StateUpdated", - "kind": "struct", - "members": [ - { - "name": "da_hash", - "type": "core::felt252", - "kind": "data" - } - ] - }, - { - "type": "event", - "name": "dojo::world::world_contract::world::Event", - "kind": "enum", - "variants": [ - { - "name": "WorldSpawned", - "type": "dojo::world::world_contract::world::WorldSpawned", - "kind": "nested" - }, - { - "name": "ContractDeployed", - "type": "dojo::world::world_contract::world::ContractDeployed", - "kind": "nested" - }, - { - "name": "ContractUpgraded", - "type": "dojo::world::world_contract::world::ContractUpgraded", - "kind": "nested" - }, - { - "name": "ContractInitialized", - "type": "dojo::world::world_contract::world::ContractInitialized", - "kind": "nested" - }, - { - "name": "WorldUpgraded", - "type": "dojo::world::world_contract::world::WorldUpgraded", - "kind": "nested" - }, - { - "name": "MetadataUpdate", - "type": "dojo::world::world_contract::world::MetadataUpdate", - "kind": "nested" - }, - { - "name": "NamespaceRegistered", - "type": "dojo::world::world_contract::world::NamespaceRegistered", - "kind": "nested" - }, - { - "name": "ModelRegistered", - "type": "dojo::world::world_contract::world::ModelRegistered", - "kind": "nested" - }, - { - "name": "ModelUpgraded", - "type": "dojo::world::world_contract::world::ModelUpgraded", - "kind": "nested" - }, - { - "name": "StoreSetRecord", - "type": "dojo::world::world_contract::world::StoreSetRecord", - "kind": "nested" - }, - { - "name": "StoreUpdateRecord", - "type": "dojo::world::world_contract::world::StoreUpdateRecord", - "kind": "nested" - }, - { - "name": "StoreUpdateMember", - "type": "dojo::world::world_contract::world::StoreUpdateMember", - "kind": "nested" - }, - { - "name": "StoreDelRecord", - "type": "dojo::world::world_contract::world::StoreDelRecord", - "kind": "nested" - }, - { - "name": "WriterUpdated", - "type": "dojo::world::world_contract::world::WriterUpdated", - "kind": "nested" - }, - { - "name": "OwnerUpdated", - "type": "dojo::world::world_contract::world::OwnerUpdated", - "kind": "nested" - }, - { - "name": "ConfigEvent", - "type": "dojo::world::config::Config::Event", - "kind": "nested" - }, - { - "name": "StateUpdated", - "type": "dojo::world::world_contract::world::StateUpdated", - "kind": "nested" - } - ] - } -] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-App-36504565.json b/contracts/manifests/dev/base/abis/models/pixelaw-App-36504565.json deleted file mode 100644 index c2e9c0e..0000000 --- a/contracts/manifests/dev/base/abis/models/pixelaw-App-36504565.json +++ /dev/null @@ -1,415 +0,0 @@ -[ - { - "type": "impl", - "name": "DojoModelImpl", - "interface_name": "dojo::model::model::IModel" - }, - { - "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": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u32" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::layout::FieldLayout", - "members": [ - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "layout", - "type": "dojo::model::layout::Layout" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::layout::Layout", - "variants": [ - { - "name": "Fixed", - "type": "core::array::Span::" - }, - { - "name": "Struct", - "type": "core::array::Span::" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - }, - { - "name": "Enum", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Member", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "ty", - "type": "dojo::model::introspect::Ty" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Struct", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Enum", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::introspect::Ty", - "variants": [ - { - "name": "Primitive", - "type": "core::felt252" - }, - { - "name": "Struct", - "type": "dojo::model::introspect::Struct" - }, - { - "name": "Enum", - "type": "dojo::model::introspect::Enum" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - } - ] - }, - { - "type": "interface", - "name": "dojo::model::model::IModel", - "items": [ - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "tag", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "type": "core::integer::u8" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "selector", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "name_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "unpacked_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "packed_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "layout", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::layout::Layout" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "schema", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::introspect::Ty" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "appImpl", - "interface_name": "pixelaw::core::models::registry::Iapp" - }, - { - "type": "struct", - "name": "pixelaw::core::models::registry::App", - "members": [ - { - "name": "system", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "icon", - "type": "core::felt252" - }, - { - "name": "action", - "type": "core::felt252" - } - ] - }, - { - "type": "interface", - "name": "pixelaw::core::models::registry::Iapp", - "items": [ - { - "type": "function", - "name": "ensure_abi", - "inputs": [ - { - "name": "model", - "type": "pixelaw::core::models::registry::App" - } - ], - "outputs": [], - "state_mutability": "view" - } - ] - }, - { - "type": "event", - "name": "pixelaw::core::models::registry::app::Event", - "kind": "enum", - "variants": [] - } -] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-AppName-3b816829.json b/contracts/manifests/dev/base/abis/models/pixelaw-AppName-3b816829.json deleted file mode 100644 index 87a5e61..0000000 --- a/contracts/manifests/dev/base/abis/models/pixelaw-AppName-3b816829.json +++ /dev/null @@ -1,407 +0,0 @@ -[ - { - "type": "impl", - "name": "DojoModelImpl", - "interface_name": "dojo::model::model::IModel" - }, - { - "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": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u32" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::layout::FieldLayout", - "members": [ - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "layout", - "type": "dojo::model::layout::Layout" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::layout::Layout", - "variants": [ - { - "name": "Fixed", - "type": "core::array::Span::" - }, - { - "name": "Struct", - "type": "core::array::Span::" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - }, - { - "name": "Enum", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Member", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "ty", - "type": "dojo::model::introspect::Ty" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Struct", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Enum", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::introspect::Ty", - "variants": [ - { - "name": "Primitive", - "type": "core::felt252" - }, - { - "name": "Struct", - "type": "dojo::model::introspect::Struct" - }, - { - "name": "Enum", - "type": "dojo::model::introspect::Enum" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - } - ] - }, - { - "type": "interface", - "name": "dojo::model::model::IModel", - "items": [ - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "tag", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "type": "core::integer::u8" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "selector", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "name_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "unpacked_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "packed_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "layout", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::layout::Layout" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "schema", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::introspect::Ty" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "app_nameImpl", - "interface_name": "pixelaw::core::models::registry::Iapp_name" - }, - { - "type": "struct", - "name": "pixelaw::core::models::registry::AppName", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "system", - "type": "core::starknet::contract_address::ContractAddress" - } - ] - }, - { - "type": "interface", - "name": "pixelaw::core::models::registry::Iapp_name", - "items": [ - { - "type": "function", - "name": "ensure_abi", - "inputs": [ - { - "name": "model", - "type": "pixelaw::core::models::registry::AppName" - } - ], - "outputs": [], - "state_mutability": "view" - } - ] - }, - { - "type": "event", - "name": "pixelaw::core::models::registry::app_name::Event", - "kind": "enum", - "variants": [] - } -] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-AppUser-4eda3c52.json b/contracts/manifests/dev/base/abis/models/pixelaw-AppUser-4eda3c52.json deleted file mode 100644 index a578a2c..0000000 --- a/contracts/manifests/dev/base/abis/models/pixelaw-AppUser-4eda3c52.json +++ /dev/null @@ -1,411 +0,0 @@ -[ - { - "type": "impl", - "name": "DojoModelImpl", - "interface_name": "dojo::model::model::IModel" - }, - { - "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": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u32" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::layout::FieldLayout", - "members": [ - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "layout", - "type": "dojo::model::layout::Layout" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::layout::Layout", - "variants": [ - { - "name": "Fixed", - "type": "core::array::Span::" - }, - { - "name": "Struct", - "type": "core::array::Span::" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - }, - { - "name": "Enum", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Member", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "ty", - "type": "dojo::model::introspect::Ty" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Struct", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Enum", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::introspect::Ty", - "variants": [ - { - "name": "Primitive", - "type": "core::felt252" - }, - { - "name": "Struct", - "type": "dojo::model::introspect::Struct" - }, - { - "name": "Enum", - "type": "dojo::model::introspect::Enum" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - } - ] - }, - { - "type": "interface", - "name": "dojo::model::model::IModel", - "items": [ - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "tag", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "type": "core::integer::u8" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "selector", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "name_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "unpacked_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "packed_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "layout", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::layout::Layout" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "schema", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::introspect::Ty" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "app_userImpl", - "interface_name": "pixelaw::core::models::registry::Iapp_user" - }, - { - "type": "struct", - "name": "pixelaw::core::models::registry::AppUser", - "members": [ - { - "name": "system", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "player", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "action", - "type": "core::felt252" - } - ] - }, - { - "type": "interface", - "name": "pixelaw::core::models::registry::Iapp_user", - "items": [ - { - "type": "function", - "name": "ensure_abi", - "inputs": [ - { - "name": "model", - "type": "pixelaw::core::models::registry::AppUser" - } - ], - "outputs": [], - "state_mutability": "view" - } - ] - }, - { - "type": "event", - "name": "pixelaw::core::models::registry::app_user::Event", - "kind": "enum", - "variants": [] - } -] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-CoreActionsAddress-5379e1ce.json b/contracts/manifests/dev/base/abis/models/pixelaw-CoreActionsAddress-5379e1ce.json deleted file mode 100644 index 512af25..0000000 --- a/contracts/manifests/dev/base/abis/models/pixelaw-CoreActionsAddress-5379e1ce.json +++ /dev/null @@ -1,407 +0,0 @@ -[ - { - "type": "impl", - "name": "DojoModelImpl", - "interface_name": "dojo::model::model::IModel" - }, - { - "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": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u32" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::layout::FieldLayout", - "members": [ - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "layout", - "type": "dojo::model::layout::Layout" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::layout::Layout", - "variants": [ - { - "name": "Fixed", - "type": "core::array::Span::" - }, - { - "name": "Struct", - "type": "core::array::Span::" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - }, - { - "name": "Enum", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Member", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "ty", - "type": "dojo::model::introspect::Ty" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Struct", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Enum", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::introspect::Ty", - "variants": [ - { - "name": "Primitive", - "type": "core::felt252" - }, - { - "name": "Struct", - "type": "dojo::model::introspect::Struct" - }, - { - "name": "Enum", - "type": "dojo::model::introspect::Enum" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - } - ] - }, - { - "type": "interface", - "name": "dojo::model::model::IModel", - "items": [ - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "tag", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "type": "core::integer::u8" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "selector", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "name_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "unpacked_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "packed_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "layout", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::layout::Layout" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "schema", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::introspect::Ty" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "core_actions_addressImpl", - "interface_name": "pixelaw::core::models::registry::Icore_actions_address" - }, - { - "type": "struct", - "name": "pixelaw::core::models::registry::CoreActionsAddress", - "members": [ - { - "name": "key", - "type": "core::felt252" - }, - { - "name": "value", - "type": "core::starknet::contract_address::ContractAddress" - } - ] - }, - { - "type": "interface", - "name": "pixelaw::core::models::registry::Icore_actions_address", - "items": [ - { - "type": "function", - "name": "ensure_abi", - "inputs": [ - { - "name": "model", - "type": "pixelaw::core::models::registry::CoreActionsAddress" - } - ], - "outputs": [], - "state_mutability": "view" - } - ] - }, - { - "type": "event", - "name": "pixelaw::core::models::registry::core_actions_address::Event", - "kind": "enum", - "variants": [] - } -] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-Instruction-4c7c4844.json b/contracts/manifests/dev/base/abis/models/pixelaw-Instruction-4c7c4844.json deleted file mode 100644 index a79b066..0000000 --- a/contracts/manifests/dev/base/abis/models/pixelaw-Instruction-4c7c4844.json +++ /dev/null @@ -1,411 +0,0 @@ -[ - { - "type": "impl", - "name": "DojoModelImpl", - "interface_name": "dojo::model::model::IModel" - }, - { - "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": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u32" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::layout::FieldLayout", - "members": [ - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "layout", - "type": "dojo::model::layout::Layout" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::layout::Layout", - "variants": [ - { - "name": "Fixed", - "type": "core::array::Span::" - }, - { - "name": "Struct", - "type": "core::array::Span::" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - }, - { - "name": "Enum", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Member", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "ty", - "type": "dojo::model::introspect::Ty" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Struct", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Enum", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::introspect::Ty", - "variants": [ - { - "name": "Primitive", - "type": "core::felt252" - }, - { - "name": "Struct", - "type": "dojo::model::introspect::Struct" - }, - { - "name": "Enum", - "type": "dojo::model::introspect::Enum" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - } - ] - }, - { - "type": "interface", - "name": "dojo::model::model::IModel", - "items": [ - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "tag", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "type": "core::integer::u8" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "selector", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "name_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "unpacked_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "packed_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "layout", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::layout::Layout" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "schema", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::introspect::Ty" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "instructionImpl", - "interface_name": "pixelaw::core::models::registry::Iinstruction" - }, - { - "type": "struct", - "name": "pixelaw::core::models::registry::Instruction", - "members": [ - { - "name": "system", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "instruction", - "type": "core::felt252" - } - ] - }, - { - "type": "interface", - "name": "pixelaw::core::models::registry::Iinstruction", - "items": [ - { - "type": "function", - "name": "ensure_abi", - "inputs": [ - { - "name": "model", - "type": "pixelaw::core::models::registry::Instruction" - } - ], - "outputs": [], - "state_mutability": "view" - } - ] - }, - { - "type": "event", - "name": "pixelaw::core::models::registry::instruction::Event", - "kind": "enum", - "variants": [] - } -] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-Permissions-72b77307.json b/contracts/manifests/dev/base/abis/models/pixelaw-Permissions-72b77307.json deleted file mode 100644 index 2e1a096..0000000 --- a/contracts/manifests/dev/base/abis/models/pixelaw-Permissions-72b77307.json +++ /dev/null @@ -1,455 +0,0 @@ -[ - { - "type": "impl", - "name": "DojoModelImpl", - "interface_name": "dojo::model::model::IModel" - }, - { - "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": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u32" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::layout::FieldLayout", - "members": [ - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "layout", - "type": "dojo::model::layout::Layout" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::layout::Layout", - "variants": [ - { - "name": "Fixed", - "type": "core::array::Span::" - }, - { - "name": "Struct", - "type": "core::array::Span::" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - }, - { - "name": "Enum", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Member", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "ty", - "type": "dojo::model::introspect::Ty" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Struct", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Enum", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::introspect::Ty", - "variants": [ - { - "name": "Primitive", - "type": "core::felt252" - }, - { - "name": "Struct", - "type": "dojo::model::introspect::Struct" - }, - { - "name": "Enum", - "type": "dojo::model::introspect::Enum" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - } - ] - }, - { - "type": "interface", - "name": "dojo::model::model::IModel", - "items": [ - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "tag", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "type": "core::integer::u8" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "selector", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "name_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "unpacked_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "packed_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "layout", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::layout::Layout" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "schema", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::introspect::Ty" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "permissionsImpl", - "interface_name": "pixelaw::core::models::permissions::Ipermissions" - }, - { - "type": "enum", - "name": "core::bool", - "variants": [ - { - "name": "False", - "type": "()" - }, - { - "name": "True", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "pixelaw::core::models::permissions::Permission", - "members": [ - { - "name": "app", - "type": "core::bool" - }, - { - "name": "color", - "type": "core::bool" - }, - { - "name": "owner", - "type": "core::bool" - }, - { - "name": "text", - "type": "core::bool" - }, - { - "name": "timestamp", - "type": "core::bool" - }, - { - "name": "action", - "type": "core::bool" - } - ] - }, - { - "type": "struct", - "name": "pixelaw::core::models::permissions::Permissions", - "members": [ - { - "name": "allowing_app", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "allowed_app", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "permission", - "type": "pixelaw::core::models::permissions::Permission" - } - ] - }, - { - "type": "interface", - "name": "pixelaw::core::models::permissions::Ipermissions", - "items": [ - { - "type": "function", - "name": "ensure_abi", - "inputs": [ - { - "name": "model", - "type": "pixelaw::core::models::permissions::Permissions" - } - ], - "outputs": [], - "state_mutability": "view" - } - ] - }, - { - "type": "event", - "name": "pixelaw::core::models::permissions::permissions::Event", - "kind": "enum", - "variants": [] - } -] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-Pixel-7e607b2f.json b/contracts/manifests/dev/base/abis/models/pixelaw-Pixel-7e607b2f.json deleted file mode 100644 index 8f6c36a..0000000 --- a/contracts/manifests/dev/base/abis/models/pixelaw-Pixel-7e607b2f.json +++ /dev/null @@ -1,439 +0,0 @@ -[ - { - "type": "impl", - "name": "DojoModelImpl", - "interface_name": "dojo::model::model::IModel" - }, - { - "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": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u32" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::layout::FieldLayout", - "members": [ - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "layout", - "type": "dojo::model::layout::Layout" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::layout::Layout", - "variants": [ - { - "name": "Fixed", - "type": "core::array::Span::" - }, - { - "name": "Struct", - "type": "core::array::Span::" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - }, - { - "name": "Enum", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Member", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "ty", - "type": "dojo::model::introspect::Ty" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Struct", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Enum", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::introspect::Ty", - "variants": [ - { - "name": "Primitive", - "type": "core::felt252" - }, - { - "name": "Struct", - "type": "dojo::model::introspect::Struct" - }, - { - "name": "Enum", - "type": "dojo::model::introspect::Enum" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - } - ] - }, - { - "type": "interface", - "name": "dojo::model::model::IModel", - "items": [ - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "tag", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "type": "core::integer::u8" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "selector", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "name_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "unpacked_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "packed_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "layout", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::layout::Layout" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "schema", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::introspect::Ty" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "pixelImpl", - "interface_name": "pixelaw::core::models::pixel::Ipixel" - }, - { - "type": "struct", - "name": "pixelaw::core::models::pixel::Pixel", - "members": [ - { - "name": "x", - "type": "core::integer::u32" - }, - { - "name": "y", - "type": "core::integer::u32" - }, - { - "name": "app", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "color", - "type": "core::integer::u32" - }, - { - "name": "created_at", - "type": "core::integer::u64" - }, - { - "name": "updated_at", - "type": "core::integer::u64" - }, - { - "name": "timestamp", - "type": "core::integer::u64" - }, - { - "name": "owner", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "text", - "type": "core::felt252" - }, - { - "name": "action", - "type": "core::felt252" - } - ] - }, - { - "type": "interface", - "name": "pixelaw::core::models::pixel::Ipixel", - "items": [ - { - "type": "function", - "name": "ensure_abi", - "inputs": [ - { - "name": "model", - "type": "pixelaw::core::models::pixel::Pixel" - } - ], - "outputs": [], - "state_mutability": "view" - } - ] - }, - { - "type": "event", - "name": "pixelaw::core::models::pixel::pixel::Event", - "kind": "enum", - "variants": [] - } -] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-QueueItem-549a17f2.json b/contracts/manifests/dev/base/abis/models/pixelaw-QueueItem-549a17f2.json deleted file mode 100644 index 8496a6c..0000000 --- a/contracts/manifests/dev/base/abis/models/pixelaw-QueueItem-549a17f2.json +++ /dev/null @@ -1,421 +0,0 @@ -[ - { - "type": "impl", - "name": "DojoModelImpl", - "interface_name": "dojo::model::model::IModel" - }, - { - "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": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u32" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::layout::FieldLayout", - "members": [ - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "layout", - "type": "dojo::model::layout::Layout" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::layout::Layout", - "variants": [ - { - "name": "Fixed", - "type": "core::array::Span::" - }, - { - "name": "Struct", - "type": "core::array::Span::" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - }, - { - "name": "Enum", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Member", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "ty", - "type": "dojo::model::introspect::Ty" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Struct", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Enum", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::introspect::Ty", - "variants": [ - { - "name": "Primitive", - "type": "core::felt252" - }, - { - "name": "Struct", - "type": "dojo::model::introspect::Struct" - }, - { - "name": "Enum", - "type": "dojo::model::introspect::Enum" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - } - ] - }, - { - "type": "interface", - "name": "dojo::model::model::IModel", - "items": [ - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "tag", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "type": "core::integer::u8" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "selector", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "name_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "unpacked_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "packed_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "layout", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::layout::Layout" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "schema", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::introspect::Ty" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "queue_itemImpl", - "interface_name": "pixelaw::core::models::queue::Iqueue_item" - }, - { - "type": "enum", - "name": "core::bool", - "variants": [ - { - "name": "False", - "type": "()" - }, - { - "name": "True", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "pixelaw::core::models::queue::QueueItem", - "members": [ - { - "name": "id", - "type": "core::felt252" - }, - { - "name": "valid", - "type": "core::bool" - } - ] - }, - { - "type": "interface", - "name": "pixelaw::core::models::queue::Iqueue_item", - "items": [ - { - "type": "function", - "name": "ensure_abi", - "inputs": [ - { - "name": "model", - "type": "pixelaw::core::models::queue::QueueItem" - } - ], - "outputs": [], - "state_mutability": "view" - } - ] - }, - { - "type": "event", - "name": "pixelaw::core::models::queue::queue_item::Event", - "kind": "enum", - "variants": [] - } -] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-Snake-62b876d4.json b/contracts/manifests/dev/base/abis/models/pixelaw-Snake-62b876d4.json deleted file mode 100644 index 427033f..0000000 --- a/contracts/manifests/dev/base/abis/models/pixelaw-Snake-62b876d4.json +++ /dev/null @@ -1,471 +0,0 @@ -[ - { - "type": "impl", - "name": "DojoModelImpl", - "interface_name": "dojo::model::model::IModel" - }, - { - "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": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u32" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::layout::FieldLayout", - "members": [ - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "layout", - "type": "dojo::model::layout::Layout" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::layout::Layout", - "variants": [ - { - "name": "Fixed", - "type": "core::array::Span::" - }, - { - "name": "Struct", - "type": "core::array::Span::" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - }, - { - "name": "Enum", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Member", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "ty", - "type": "dojo::model::introspect::Ty" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Struct", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Enum", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::introspect::Ty", - "variants": [ - { - "name": "Primitive", - "type": "core::felt252" - }, - { - "name": "Struct", - "type": "dojo::model::introspect::Struct" - }, - { - "name": "Enum", - "type": "dojo::model::introspect::Enum" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - } - ] - }, - { - "type": "interface", - "name": "dojo::model::model::IModel", - "items": [ - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "tag", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "type": "core::integer::u8" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "selector", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "name_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "unpacked_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "packed_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "layout", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::layout::Layout" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "schema", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::introspect::Ty" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "snakeImpl", - "interface_name": "pixelaw::apps::snake::app::Isnake" - }, - { - "type": "enum", - "name": "pixelaw::core::utils::Direction", - "variants": [ - { - "name": "None", - "type": "()" - }, - { - "name": "Left", - "type": "()" - }, - { - "name": "Right", - "type": "()" - }, - { - "name": "Up", - "type": "()" - }, - { - "name": "Down", - "type": "()" - } - ] - }, - { - "type": "enum", - "name": "core::bool", - "variants": [ - { - "name": "False", - "type": "()" - }, - { - "name": "True", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "pixelaw::apps::snake::app::Snake", - "members": [ - { - "name": "owner", - "type": "core::starknet::contract_address::ContractAddress" - }, - { - "name": "length", - "type": "core::integer::u8" - }, - { - "name": "first_segment_id", - "type": "core::integer::u32" - }, - { - "name": "last_segment_id", - "type": "core::integer::u32" - }, - { - "name": "direction", - "type": "pixelaw::core::utils::Direction" - }, - { - "name": "color", - "type": "core::integer::u32" - }, - { - "name": "text", - "type": "core::felt252" - }, - { - "name": "is_dying", - "type": "core::bool" - } - ] - }, - { - "type": "interface", - "name": "pixelaw::apps::snake::app::Isnake", - "items": [ - { - "type": "function", - "name": "ensure_abi", - "inputs": [ - { - "name": "model", - "type": "pixelaw::apps::snake::app::Snake" - } - ], - "outputs": [], - "state_mutability": "view" - } - ] - }, - { - "type": "event", - "name": "pixelaw::apps::snake::app::snake::Event", - "kind": "enum", - "variants": [] - } -] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-SnakeSegment-302de0d8.json b/contracts/manifests/dev/base/abis/models/pixelaw-SnakeSegment-302de0d8.json deleted file mode 100644 index 7baeb86..0000000 --- a/contracts/manifests/dev/base/abis/models/pixelaw-SnakeSegment-302de0d8.json +++ /dev/null @@ -1,431 +0,0 @@ -[ - { - "type": "impl", - "name": "DojoModelImpl", - "interface_name": "dojo::model::model::IModel" - }, - { - "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": "enum", - "name": "core::option::Option::", - "variants": [ - { - "name": "Some", - "type": "core::integer::u32" - }, - { - "name": "None", - "type": "()" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::layout::FieldLayout", - "members": [ - { - "name": "selector", - "type": "core::felt252" - }, - { - "name": "layout", - "type": "dojo::model::layout::Layout" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::layout::Layout", - "variants": [ - { - "name": "Fixed", - "type": "core::array::Span::" - }, - { - "name": "Struct", - "type": "core::array::Span::" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - }, - { - "name": "Enum", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Member", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "ty", - "type": "dojo::model::introspect::Ty" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Struct", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "dojo::model::introspect::Enum", - "members": [ - { - "name": "name", - "type": "core::felt252" - }, - { - "name": "attrs", - "type": "core::array::Span::" - }, - { - "name": "children", - "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" - } - ] - }, - { - "type": "struct", - "name": "core::array::Span::", - "members": [ - { - "name": "snapshot", - "type": "@core::array::Array::" - } - ] - }, - { - "type": "enum", - "name": "dojo::model::introspect::Ty", - "variants": [ - { - "name": "Primitive", - "type": "core::felt252" - }, - { - "name": "Struct", - "type": "dojo::model::introspect::Struct" - }, - { - "name": "Enum", - "type": "dojo::model::introspect::Enum" - }, - { - "name": "Tuple", - "type": "core::array::Span::" - }, - { - "name": "Array", - "type": "core::array::Span::" - }, - { - "name": "ByteArray", - "type": "()" - } - ] - }, - { - "type": "interface", - "name": "dojo::model::model::IModel", - "items": [ - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "tag", - "inputs": [], - "outputs": [ - { - "type": "core::byte_array::ByteArray" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "type": "core::integer::u8" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "selector", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "name_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "namespace_hash", - "inputs": [], - "outputs": [ - { - "type": "core::felt252" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "unpacked_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "packed_size", - "inputs": [], - "outputs": [ - { - "type": "core::option::Option::" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "layout", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::layout::Layout" - } - ], - "state_mutability": "view" - }, - { - "type": "function", - "name": "schema", - "inputs": [], - "outputs": [ - { - "type": "dojo::model::introspect::Ty" - } - ], - "state_mutability": "view" - } - ] - }, - { - "type": "impl", - "name": "snake_segmentImpl", - "interface_name": "pixelaw::apps::snake::app::Isnake_segment" - }, - { - "type": "struct", - "name": "pixelaw::apps::snake::app::SnakeSegment", - "members": [ - { - "name": "id", - "type": "core::integer::u32" - }, - { - "name": "previous_id", - "type": "core::integer::u32" - }, - { - "name": "next_id", - "type": "core::integer::u32" - }, - { - "name": "x", - "type": "core::integer::u32" - }, - { - "name": "y", - "type": "core::integer::u32" - }, - { - "name": "pixel_original_color", - "type": "core::integer::u32" - }, - { - "name": "pixel_original_text", - "type": "core::felt252" - }, - { - "name": "pixel_original_app", - "type": "core::starknet::contract_address::ContractAddress" - } - ] - }, - { - "type": "interface", - "name": "pixelaw::apps::snake::app::Isnake_segment", - "items": [ - { - "type": "function", - "name": "ensure_abi", - "inputs": [ - { - "name": "model", - "type": "pixelaw::apps::snake::app::SnakeSegment" - } - ], - "outputs": [], - "state_mutability": "view" - } - ] - }, - { - "type": "event", - "name": "pixelaw::apps::snake::app::snake_segment::Event", - "kind": "enum", - "variants": [] - } -] \ No newline at end of file diff --git a/contracts/manifests/dev/base/contracts/pixelaw-actions-16928a49.toml b/contracts/manifests/dev/base/contracts/pixelaw-actions-16928a49.toml deleted file mode 100644 index 5ab4bd2..0000000 --- a/contracts/manifests/dev/base/contracts/pixelaw-actions-16928a49.toml +++ /dev/null @@ -1,19 +0,0 @@ -kind = "DojoContract" -class_hash = "0x17d390af6c3b449b52da5a0969a00006a3b7935ffc08192dc8cefdeb563488f" -original_class_hash = "0x17d390af6c3b449b52da5a0969a00006a3b7935ffc08192dc8cefdeb563488f" -base_class_hash = "0x0" -abi = "manifests/dev/base/abis/contracts/pixelaw-actions-16928a49.json" -reads = [] -writes = [] -init_calldata = [] -tag = "pixelaw-actions" -systems = [ - "init", - "update_permission", - "schedule_queue", - "process_queue", - "update_pixel", - "alert_player", - "set_instruction", -] -manifest_name = "pixelaw-actions-16928a49" diff --git a/contracts/manifests/dev/base/contracts/pixelaw-paint_actions-2afb94fe.toml b/contracts/manifests/dev/base/contracts/pixelaw-paint_actions-2afb94fe.toml deleted file mode 100644 index f070524..0000000 --- a/contracts/manifests/dev/base/contracts/pixelaw-paint_actions-2afb94fe.toml +++ /dev/null @@ -1,19 +0,0 @@ -kind = "DojoContract" -class_hash = "0x26345888698fbdcfa98dca43542f038a02620c9b485c1487b7e76a21f63aff" -original_class_hash = "0x26345888698fbdcfa98dca43542f038a02620c9b485c1487b7e76a21f63aff" -base_class_hash = "0x0" -abi = "manifests/dev/base/abis/contracts/pixelaw-paint_actions-2afb94fe.json" -reads = [] -writes = [] -init_calldata = [] -tag = "pixelaw-paint_actions" -systems = [ - "on_pre_update", - "on_post_update", - "init", - "interact", - "put_color", - "pixel_row", - "fade", -] -manifest_name = "pixelaw-paint_actions-2afb94fe" diff --git a/contracts/manifests/dev/base/contracts/pixelaw-snake_actions-4f967106.toml b/contracts/manifests/dev/base/contracts/pixelaw-snake_actions-4f967106.toml deleted file mode 100644 index 4c8653d..0000000 --- a/contracts/manifests/dev/base/contracts/pixelaw-snake_actions-4f967106.toml +++ /dev/null @@ -1,16 +0,0 @@ -kind = "DojoContract" -class_hash = "0x6dbe6fed41677edc917050c80b2e15727f48534fd7752e153e7cf74542ebad9" -original_class_hash = "0x6dbe6fed41677edc917050c80b2e15727f48534fd7752e153e7cf74542ebad9" -base_class_hash = "0x0" -abi = "manifests/dev/base/abis/contracts/pixelaw-snake_actions-4f967106.json" -reads = [] -writes = [] -init_calldata = [] -tag = "pixelaw-snake_actions" -systems = [ - "on_pre_update", - "on_post_update", - "init", - "move", -] -manifest_name = "pixelaw-snake_actions-4f967106" diff --git a/contracts/manifests/dev/base/dojo-base.toml b/contracts/manifests/dev/base/dojo-base.toml deleted file mode 100644 index 44b3746..0000000 --- a/contracts/manifests/dev/base/dojo-base.toml +++ /dev/null @@ -1,6 +0,0 @@ -kind = "Class" -class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2" -original_class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2" -abi = "manifests/dev/base/abis/dojo-base.json" -tag = "dojo-base" -manifest_name = "dojo-base" diff --git a/contracts/manifests/dev/base/dojo-world.toml b/contracts/manifests/dev/base/dojo-world.toml deleted file mode 100644 index ff32465..0000000 --- a/contracts/manifests/dev/base/dojo-world.toml +++ /dev/null @@ -1,6 +0,0 @@ -kind = "Class" -class_hash = "0x6f4515274ee23404789c3351a77107d0ec07508530119822046600ca6948d6e" -original_class_hash = "0x6f4515274ee23404789c3351a77107d0ec07508530119822046600ca6948d6e" -abi = "manifests/dev/base/abis/dojo-world.json" -tag = "dojo-world" -manifest_name = "dojo-world" diff --git a/contracts/manifests/dev/base/models/pixelaw-App-36504565.toml b/contracts/manifests/dev/base/models/pixelaw-App-36504565.toml deleted file mode 100644 index ce308c9..0000000 --- a/contracts/manifests/dev/base/models/pixelaw-App-36504565.toml +++ /dev/null @@ -1,27 +0,0 @@ -kind = "DojoModel" -class_hash = "0x4107d94a66470b68d2e06102c87937c03cca51fafa84a3a4fc45c95a4d2403c" -original_class_hash = "0x4107d94a66470b68d2e06102c87937c03cca51fafa84a3a4fc45c95a4d2403c" -abi = "manifests/dev/base/abis/models/pixelaw-App-36504565.json" -tag = "pixelaw-App" -qualified_path = "pixelaw::core::models::registry::app" -manifest_name = "pixelaw-App-36504565" - -[[members]] -name = "system" -type = "ContractAddress" -key = true - -[[members]] -name = "name" -type = "felt252" -key = false - -[[members]] -name = "icon" -type = "felt252" -key = false - -[[members]] -name = "action" -type = "felt252" -key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-AppName-3b816829.toml b/contracts/manifests/dev/base/models/pixelaw-AppName-3b816829.toml deleted file mode 100644 index d48078e..0000000 --- a/contracts/manifests/dev/base/models/pixelaw-AppName-3b816829.toml +++ /dev/null @@ -1,17 +0,0 @@ -kind = "DojoModel" -class_hash = "0x7d54c34e9b4215ceaada6950e0b521ef3892de01fbaea2c8323e8c2cf3329c8" -original_class_hash = "0x7d54c34e9b4215ceaada6950e0b521ef3892de01fbaea2c8323e8c2cf3329c8" -abi = "manifests/dev/base/abis/models/pixelaw-AppName-3b816829.json" -tag = "pixelaw-AppName" -qualified_path = "pixelaw::core::models::registry::app_name" -manifest_name = "pixelaw-AppName-3b816829" - -[[members]] -name = "name" -type = "felt252" -key = true - -[[members]] -name = "system" -type = "ContractAddress" -key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-AppUser-4eda3c52.toml b/contracts/manifests/dev/base/models/pixelaw-AppUser-4eda3c52.toml deleted file mode 100644 index 426707a..0000000 --- a/contracts/manifests/dev/base/models/pixelaw-AppUser-4eda3c52.toml +++ /dev/null @@ -1,22 +0,0 @@ -kind = "DojoModel" -class_hash = "0x3d55e23acf8df5ef0c25b76d5a6b7765c241c494af075c7ce3858568bec45f1" -original_class_hash = "0x3d55e23acf8df5ef0c25b76d5a6b7765c241c494af075c7ce3858568bec45f1" -abi = "manifests/dev/base/abis/models/pixelaw-AppUser-4eda3c52.json" -tag = "pixelaw-AppUser" -qualified_path = "pixelaw::core::models::registry::app_user" -manifest_name = "pixelaw-AppUser-4eda3c52" - -[[members]] -name = "system" -type = "ContractAddress" -key = true - -[[members]] -name = "player" -type = "ContractAddress" -key = true - -[[members]] -name = "action" -type = "felt252" -key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-CoreActionsAddress-5379e1ce.toml b/contracts/manifests/dev/base/models/pixelaw-CoreActionsAddress-5379e1ce.toml deleted file mode 100644 index b6eec60..0000000 --- a/contracts/manifests/dev/base/models/pixelaw-CoreActionsAddress-5379e1ce.toml +++ /dev/null @@ -1,17 +0,0 @@ -kind = "DojoModel" -class_hash = "0x296cfe5fb82a8b03b4aa78e35955bc70971babeb414d70a6a8acc52a4eacab2" -original_class_hash = "0x296cfe5fb82a8b03b4aa78e35955bc70971babeb414d70a6a8acc52a4eacab2" -abi = "manifests/dev/base/abis/models/pixelaw-CoreActionsAddress-5379e1ce.json" -tag = "pixelaw-CoreActionsAddress" -qualified_path = "pixelaw::core::models::registry::core_actions_address" -manifest_name = "pixelaw-CoreActionsAddress-5379e1ce" - -[[members]] -name = "key" -type = "felt252" -key = true - -[[members]] -name = "value" -type = "ContractAddress" -key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-Instruction-4c7c4844.toml b/contracts/manifests/dev/base/models/pixelaw-Instruction-4c7c4844.toml deleted file mode 100644 index c6a8378..0000000 --- a/contracts/manifests/dev/base/models/pixelaw-Instruction-4c7c4844.toml +++ /dev/null @@ -1,22 +0,0 @@ -kind = "DojoModel" -class_hash = "0x710dc73b9f03542890421c368ca53fe61416010f69709337bc7b40b9c3115af" -original_class_hash = "0x710dc73b9f03542890421c368ca53fe61416010f69709337bc7b40b9c3115af" -abi = "manifests/dev/base/abis/models/pixelaw-Instruction-4c7c4844.json" -tag = "pixelaw-Instruction" -qualified_path = "pixelaw::core::models::registry::instruction" -manifest_name = "pixelaw-Instruction-4c7c4844" - -[[members]] -name = "system" -type = "ContractAddress" -key = true - -[[members]] -name = "selector" -type = "felt252" -key = true - -[[members]] -name = "instruction" -type = "felt252" -key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-Permissions-72b77307.toml b/contracts/manifests/dev/base/models/pixelaw-Permissions-72b77307.toml deleted file mode 100644 index e2dd2e5..0000000 --- a/contracts/manifests/dev/base/models/pixelaw-Permissions-72b77307.toml +++ /dev/null @@ -1,22 +0,0 @@ -kind = "DojoModel" -class_hash = "0x7083f333ceabd1e174c4f5b129b7d5cfeaccd7b4fcc5ea2e5a264cce7dc302" -original_class_hash = "0x7083f333ceabd1e174c4f5b129b7d5cfeaccd7b4fcc5ea2e5a264cce7dc302" -abi = "manifests/dev/base/abis/models/pixelaw-Permissions-72b77307.json" -tag = "pixelaw-Permissions" -qualified_path = "pixelaw::core::models::permissions::permissions" -manifest_name = "pixelaw-Permissions-72b77307" - -[[members]] -name = "allowing_app" -type = "ContractAddress" -key = true - -[[members]] -name = "allowed_app" -type = "ContractAddress" -key = true - -[[members]] -name = "permission" -type = "Permission" -key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-Pixel-7e607b2f.toml b/contracts/manifests/dev/base/models/pixelaw-Pixel-7e607b2f.toml deleted file mode 100644 index 31ddb3b..0000000 --- a/contracts/manifests/dev/base/models/pixelaw-Pixel-7e607b2f.toml +++ /dev/null @@ -1,57 +0,0 @@ -kind = "DojoModel" -class_hash = "0x71570f33b7f66331952b84691bb5794ee6b19f43ad729cc654c3930f47c5f0d" -original_class_hash = "0x71570f33b7f66331952b84691bb5794ee6b19f43ad729cc654c3930f47c5f0d" -abi = "manifests/dev/base/abis/models/pixelaw-Pixel-7e607b2f.json" -tag = "pixelaw-Pixel" -qualified_path = "pixelaw::core::models::pixel::pixel" -manifest_name = "pixelaw-Pixel-7e607b2f" - -[[members]] -name = "x" -type = "u32" -key = true - -[[members]] -name = "y" -type = "u32" -key = true - -[[members]] -name = "app" -type = "ContractAddress" -key = false - -[[members]] -name = "color" -type = "u32" -key = false - -[[members]] -name = "created_at" -type = "u64" -key = false - -[[members]] -name = "updated_at" -type = "u64" -key = false - -[[members]] -name = "timestamp" -type = "u64" -key = false - -[[members]] -name = "owner" -type = "ContractAddress" -key = false - -[[members]] -name = "text" -type = "felt252" -key = false - -[[members]] -name = "action" -type = "felt252" -key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-QueueItem-549a17f2.toml b/contracts/manifests/dev/base/models/pixelaw-QueueItem-549a17f2.toml deleted file mode 100644 index 8e33ac5..0000000 --- a/contracts/manifests/dev/base/models/pixelaw-QueueItem-549a17f2.toml +++ /dev/null @@ -1,17 +0,0 @@ -kind = "DojoModel" -class_hash = "0x672114a91934388e6a4950f164dc151894579281f4eab56fe439108fd4fca70" -original_class_hash = "0x672114a91934388e6a4950f164dc151894579281f4eab56fe439108fd4fca70" -abi = "manifests/dev/base/abis/models/pixelaw-QueueItem-549a17f2.json" -tag = "pixelaw-QueueItem" -qualified_path = "pixelaw::core::models::queue::queue_item" -manifest_name = "pixelaw-QueueItem-549a17f2" - -[[members]] -name = "id" -type = "felt252" -key = true - -[[members]] -name = "valid" -type = "bool" -key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-Snake-62b876d4.toml b/contracts/manifests/dev/base/models/pixelaw-Snake-62b876d4.toml deleted file mode 100644 index c26db49..0000000 --- a/contracts/manifests/dev/base/models/pixelaw-Snake-62b876d4.toml +++ /dev/null @@ -1,47 +0,0 @@ -kind = "DojoModel" -class_hash = "0x5a3afeed7a51a51cab27a99c9d99064fc467ecdb9a8cc606c4d4899dffb7f6c" -original_class_hash = "0x5a3afeed7a51a51cab27a99c9d99064fc467ecdb9a8cc606c4d4899dffb7f6c" -abi = "manifests/dev/base/abis/models/pixelaw-Snake-62b876d4.json" -tag = "pixelaw-Snake" -qualified_path = "pixelaw::apps::snake::app::snake" -manifest_name = "pixelaw-Snake-62b876d4" - -[[members]] -name = "owner" -type = "ContractAddress" -key = true - -[[members]] -name = "length" -type = "u8" -key = false - -[[members]] -name = "first_segment_id" -type = "u32" -key = false - -[[members]] -name = "last_segment_id" -type = "u32" -key = false - -[[members]] -name = "direction" -type = "Direction" -key = false - -[[members]] -name = "color" -type = "u32" -key = false - -[[members]] -name = "text" -type = "felt252" -key = false - -[[members]] -name = "is_dying" -type = "bool" -key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-SnakeSegment-302de0d8.toml b/contracts/manifests/dev/base/models/pixelaw-SnakeSegment-302de0d8.toml deleted file mode 100644 index b2091d4..0000000 --- a/contracts/manifests/dev/base/models/pixelaw-SnakeSegment-302de0d8.toml +++ /dev/null @@ -1,47 +0,0 @@ -kind = "DojoModel" -class_hash = "0x19a1ae61a4fb0ac303e15a4ca4befa5ae3962625eb37f379b941815e321191f" -original_class_hash = "0x19a1ae61a4fb0ac303e15a4ca4befa5ae3962625eb37f379b941815e321191f" -abi = "manifests/dev/base/abis/models/pixelaw-SnakeSegment-302de0d8.json" -tag = "pixelaw-SnakeSegment" -qualified_path = "pixelaw::apps::snake::app::snake_segment" -manifest_name = "pixelaw-SnakeSegment-302de0d8" - -[[members]] -name = "id" -type = "u32" -key = true - -[[members]] -name = "previous_id" -type = "u32" -key = false - -[[members]] -name = "next_id" -type = "u32" -key = false - -[[members]] -name = "x" -type = "u32" -key = false - -[[members]] -name = "y" -type = "u32" -key = false - -[[members]] -name = "pixel_original_color" -type = "u32" -key = false - -[[members]] -name = "pixel_original_text" -type = "felt252" -key = false - -[[members]] -name = "pixel_original_app" -type = "ContractAddress" -key = false From c891fc36c37db833915400b5cab2e51a59a91d2f Mon Sep 17 00:00:00 2001 From: Asuma Yamada Date: Fri, 27 Sep 2024 01:25:47 -0400 Subject: [PATCH 6/6] fix: update version --- contracts/.vscode/tasks.json | 2 +- contracts/dojo_dev.toml | 2 +- .../contracts/pixelaw-actions-16928a49.json | 775 +++++++++++ .../pixelaw-paint_actions-2afb94fe.json | 489 +++++++ .../pixelaw-snake_actions-4f967106.json | 534 +++++++ .../manifests/dev/base/abis/dojo-base.json | 98 ++ .../manifests/dev/base/abis/dojo-world.json | 1231 +++++++++++++++++ .../abis/models/pixelaw-App-36504565.json | 415 ++++++ .../abis/models/pixelaw-AppName-3b816829.json | 407 ++++++ .../abis/models/pixelaw-AppUser-4eda3c52.json | 411 ++++++ .../pixelaw-CoreActionsAddress-5379e1ce.json | 407 ++++++ .../models/pixelaw-Instruction-4c7c4844.json | 411 ++++++ .../models/pixelaw-Permissions-72b77307.json | 455 ++++++ .../abis/models/pixelaw-Pixel-7e607b2f.json | 439 ++++++ .../models/pixelaw-QueueItem-549a17f2.json | 421 ++++++ .../abis/models/pixelaw-Snake-62b876d4.json | 471 +++++++ .../models/pixelaw-SnakeSegment-302de0d8.json | 431 ++++++ .../contracts/pixelaw-actions-16928a49.toml | 19 + .../pixelaw-paint_actions-2afb94fe.toml | 19 + .../pixelaw-snake_actions-4f967106.toml | 16 + contracts/manifests/dev/base/dojo-base.toml | 6 + contracts/manifests/dev/base/dojo-world.toml | 6 + .../dev/base/models/pixelaw-App-36504565.toml | 27 + .../base/models/pixelaw-AppName-3b816829.toml | 17 + .../base/models/pixelaw-AppUser-4eda3c52.toml | 22 + .../pixelaw-CoreActionsAddress-5379e1ce.toml | 17 + .../models/pixelaw-Instruction-4c7c4844.toml | 22 + .../models/pixelaw-Permissions-72b77307.toml | 22 + .../base/models/pixelaw-Pixel-7e607b2f.toml | 57 + .../models/pixelaw-QueueItem-549a17f2.toml | 17 + .../base/models/pixelaw-Snake-62b876d4.toml | 47 + .../models/pixelaw-SnakeSegment-302de0d8.toml | 47 + .../manifests/dev/deployment/manifest.json | 14 +- .../manifests/dev/deployment/manifest.toml | 14 +- 34 files changed, 7772 insertions(+), 16 deletions(-) create mode 100644 contracts/manifests/dev/base/abis/contracts/pixelaw-actions-16928a49.json create mode 100644 contracts/manifests/dev/base/abis/contracts/pixelaw-paint_actions-2afb94fe.json create mode 100644 contracts/manifests/dev/base/abis/contracts/pixelaw-snake_actions-4f967106.json create mode 100644 contracts/manifests/dev/base/abis/dojo-base.json create mode 100644 contracts/manifests/dev/base/abis/dojo-world.json create mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-App-36504565.json create mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-AppName-3b816829.json create mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-AppUser-4eda3c52.json create mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-CoreActionsAddress-5379e1ce.json create mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-Instruction-4c7c4844.json create mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-Permissions-72b77307.json create mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-Pixel-7e607b2f.json create mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-QueueItem-549a17f2.json create mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-Snake-62b876d4.json create mode 100644 contracts/manifests/dev/base/abis/models/pixelaw-SnakeSegment-302de0d8.json create mode 100644 contracts/manifests/dev/base/contracts/pixelaw-actions-16928a49.toml create mode 100644 contracts/manifests/dev/base/contracts/pixelaw-paint_actions-2afb94fe.toml create mode 100644 contracts/manifests/dev/base/contracts/pixelaw-snake_actions-4f967106.toml create mode 100644 contracts/manifests/dev/base/dojo-base.toml create mode 100644 contracts/manifests/dev/base/dojo-world.toml create mode 100644 contracts/manifests/dev/base/models/pixelaw-App-36504565.toml create mode 100644 contracts/manifests/dev/base/models/pixelaw-AppName-3b816829.toml create mode 100644 contracts/manifests/dev/base/models/pixelaw-AppUser-4eda3c52.toml create mode 100644 contracts/manifests/dev/base/models/pixelaw-CoreActionsAddress-5379e1ce.toml create mode 100644 contracts/manifests/dev/base/models/pixelaw-Instruction-4c7c4844.toml create mode 100644 contracts/manifests/dev/base/models/pixelaw-Permissions-72b77307.toml create mode 100644 contracts/manifests/dev/base/models/pixelaw-Pixel-7e607b2f.toml create mode 100644 contracts/manifests/dev/base/models/pixelaw-QueueItem-549a17f2.toml create mode 100644 contracts/manifests/dev/base/models/pixelaw-Snake-62b876d4.toml create mode 100644 contracts/manifests/dev/base/models/pixelaw-SnakeSegment-302de0d8.toml diff --git a/contracts/.vscode/tasks.json b/contracts/.vscode/tasks.json index 001c2f5..70959e3 100644 --- a/contracts/.vscode/tasks.json +++ b/contracts/.vscode/tasks.json @@ -16,7 +16,7 @@ { "label": "Start Torii", "type": "shell", - "command": "torii --world 0x263ae44e5414519a5c5a135cccaf3d9d7ee196d37e8de47a178da91f3de9b34 --database db/torii --allowed-origins '*'", + "command": "torii --world 0x29861a9e7b2e8414e13c97819ff2b62f1245932abe8f05b3c6e58ad42a1d243 --database db/torii --allowed-origins '*'", "isBackground": true, "problemMatcher": [], "presentation": { diff --git a/contracts/dojo_dev.toml b/contracts/dojo_dev.toml index 14b92a4..2b1a10d 100644 --- a/contracts/dojo_dev.toml +++ b/contracts/dojo_dev.toml @@ -11,4 +11,4 @@ mappings = {} rpc_url = "http://localhost:5050/" account_address = "0xb3ff441a68610b30fd5e2abbf3a1548eb6ba6f3559f2862bf2dc757e5828ca" private_key = "0x2bbf4f9fd0bbb2e60b0316c1fe0b76cf7a4d0198bd493ced9b8df2a3a24d68a" -world_address = "0x263ae44e5414519a5c5a135cccaf3d9d7ee196d37e8de47a178da91f3de9b34" +world_address = "0x29861a9e7b2e8414e13c97819ff2b62f1245932abe8f05b3c6e58ad42a1d243" diff --git a/contracts/manifests/dev/base/abis/contracts/pixelaw-actions-16928a49.json b/contracts/manifests/dev/base/abis/contracts/pixelaw-actions-16928a49.json new file mode 100644 index 0000000..e71ba18 --- /dev/null +++ b/contracts/manifests/dev/base/abis/contracts/pixelaw-actions-16928a49.json @@ -0,0 +1,775 @@ +[ + { + "type": "impl", + "name": "ContractImpl", + "interface_name": "dojo::contract::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::contract::contract::IContract", + "items": [ + { + "type": "function", + "name": "contract_name", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "name_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "WorldProviderImpl", + "interface_name": "dojo::world::world_contract::IWorldProvider" + }, + { + "type": "struct", + "name": "dojo::world::world_contract::IWorldDispatcher", + "members": [ + { + "name": "contract_address", + "type": "core::starknet::contract_address::ContractAddress" + } + ] + }, + { + "type": "interface", + "name": "dojo::world::world_contract::IWorldProvider", + "items": [ + { + "type": "function", + "name": "world", + "inputs": [], + "outputs": [ + { + "type": "dojo::world::world_contract::IWorldDispatcher" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "ActionsImpl", + "interface_name": "pixelaw::core::actions::IActions" + }, + { + "type": "enum", + "name": "core::bool", + "variants": [ + { + "name": "False", + "type": "()" + }, + { + "name": "True", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "pixelaw::core::models::permissions::Permission", + "members": [ + { + "name": "app", + "type": "core::bool" + }, + { + "name": "color", + "type": "core::bool" + }, + { + "name": "owner", + "type": "core::bool" + }, + { + "name": "text", + "type": "core::bool" + }, + { + "name": "timestamp", + "type": "core::bool" + }, + { + "name": "action", + "type": "core::bool" + } + ] + }, + { + "type": "struct", + "name": "pixelaw::core::models::pixel::Pixel", + "members": [ + { + "name": "x", + "type": "core::integer::u32" + }, + { + "name": "y", + "type": "core::integer::u32" + }, + { + "name": "app", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "color", + "type": "core::integer::u32" + }, + { + "name": "created_at", + "type": "core::integer::u64" + }, + { + "name": "updated_at", + "type": "core::integer::u64" + }, + { + "name": "timestamp", + "type": "core::integer::u64" + }, + { + "name": "owner", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "text", + "type": "core::felt252" + }, + { + "name": "action", + "type": "core::felt252" + } + ] + }, + { + "type": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u32" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::felt252" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u64" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "pixelaw::core::models::pixel::PixelUpdate", + "members": [ + { + "name": "x", + "type": "core::integer::u32" + }, + { + "name": "y", + "type": "core::integer::u32" + }, + { + "name": "color", + "type": "core::option::Option::" + }, + { + "name": "owner", + "type": "core::option::Option::" + }, + { + "name": "app", + "type": "core::option::Option::" + }, + { + "name": "text", + "type": "core::option::Option::" + }, + { + "name": "timestamp", + "type": "core::option::Option::" + }, + { + "name": "action", + "type": "core::option::Option::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "pixelaw::core::models::registry::App", + "members": [ + { + "name": "system", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "icon", + "type": "core::felt252" + }, + { + "name": "action", + "type": "core::felt252" + } + ] + }, + { + "type": "struct", + "name": "pixelaw::core::utils::Position", + "members": [ + { + "name": "x", + "type": "core::integer::u32" + }, + { + "name": "y", + "type": "core::integer::u32" + } + ] + }, + { + "type": "interface", + "name": "pixelaw::core::actions::IActions", + "items": [ + { + "type": "function", + "name": "init", + "inputs": [], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "update_permission", + "inputs": [ + { + "name": "app_key", + "type": "core::felt252" + }, + { + "name": "permission", + "type": "pixelaw::core::models::permissions::Permission" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "has_write_access", + "inputs": [ + { + "name": "for_player", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "for_system", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "pixel", + "type": "pixelaw::core::models::pixel::Pixel" + }, + { + "name": "pixel_update", + "type": "pixelaw::core::models::pixel::PixelUpdate" + } + ], + "outputs": [ + { + "type": "core::bool" + } + ], + "state_mutability": "external" + }, + { + "type": "function", + "name": "process_queue", + "inputs": [ + { + "name": "id", + "type": "core::felt252" + }, + { + "name": "timestamp", + "type": "core::integer::u64" + }, + { + "name": "called_system", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "calldata", + "type": "core::array::Span::" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "schedule_queue", + "inputs": [ + { + "name": "timestamp", + "type": "core::integer::u64" + }, + { + "name": "called_system", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "calldata", + "type": "core::array::Span::" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "update_pixel", + "inputs": [ + { + "name": "for_player", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "for_system", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "pixel_update", + "type": "pixelaw::core::models::pixel::PixelUpdate" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "new_app", + "inputs": [ + { + "name": "system", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "icon", + "type": "core::felt252" + } + ], + "outputs": [ + { + "type": "pixelaw::core::models::registry::App" + } + ], + "state_mutability": "external" + }, + { + "type": "function", + "name": "get_system_address", + "inputs": [ + { + "name": "for_system", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [ + { + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "get_player_address", + "inputs": [ + { + "name": "for_player", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [ + { + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "alert_player", + "inputs": [ + { + "name": "position", + "type": "pixelaw::core::utils::Position" + }, + { + "name": "player", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "message", + "type": "core::felt252" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "set_instruction", + "inputs": [ + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "instruction", + "type": "core::felt252" + } + ], + "outputs": [], + "state_mutability": "external" + } + ] + }, + { + "type": "impl", + "name": "IDojoInitImpl", + "interface_name": "pixelaw::core::actions::actions::IDojoInit" + }, + { + "type": "interface", + "name": "pixelaw::core::actions::actions::IDojoInit", + "items": [ + { + "type": "function", + "name": "dojo_init", + "inputs": [], + "outputs": [], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "UpgradableImpl", + "interface_name": "dojo::contract::upgradeable::IUpgradeable" + }, + { + "type": "interface", + "name": "dojo::contract::upgradeable::IUpgradeable", + "items": [ + { + "type": "function", + "name": "upgrade", + "inputs": [ + { + "name": "new_class_hash", + "type": "core::starknet::class_hash::ClassHash" + } + ], + "outputs": [], + "state_mutability": "external" + } + ] + }, + { + "type": "event", + "name": "dojo::contract::upgradeable::upgradeable::Upgraded", + "kind": "struct", + "members": [ + { + "name": "class_hash", + "type": "core::starknet::class_hash::ClassHash", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::contract::upgradeable::upgradeable::Event", + "kind": "enum", + "variants": [ + { + "name": "Upgraded", + "type": "dojo::contract::upgradeable::upgradeable::Upgraded", + "kind": "nested" + } + ] + }, + { + "type": "event", + "name": "pixelaw::core::actions::actions::QueueScheduled", + "kind": "struct", + "members": [ + { + "name": "id", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "timestamp", + "type": "core::integer::u64", + "kind": "data" + }, + { + "name": "called_system", + "type": "core::starknet::contract_address::ContractAddress", + "kind": "data" + }, + { + "name": "selector", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "calldata", + "type": "core::array::Span::", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "pixelaw::core::actions::actions::QueueProcessed", + "kind": "struct", + "members": [ + { + "name": "id", + "type": "core::felt252", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "pixelaw::core::actions::actions::AppNameUpdated", + "kind": "struct", + "members": [ + { + "name": "app", + "type": "pixelaw::core::models::registry::App", + "kind": "data" + }, + { + "name": "caller", + "type": "core::felt252", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "pixelaw::core::actions::actions::Alert", + "kind": "struct", + "members": [ + { + "name": "position", + "type": "pixelaw::core::utils::Position", + "kind": "data" + }, + { + "name": "caller", + "type": "core::starknet::contract_address::ContractAddress", + "kind": "data" + }, + { + "name": "player", + "type": "core::starknet::contract_address::ContractAddress", + "kind": "data" + }, + { + "name": "message", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "timestamp", + "type": "core::integer::u64", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "pixelaw::core::actions::actions::Event", + "kind": "enum", + "variants": [ + { + "name": "UpgradeableEvent", + "type": "dojo::contract::upgradeable::upgradeable::Event", + "kind": "nested" + }, + { + "name": "QueueScheduled", + "type": "pixelaw::core::actions::actions::QueueScheduled", + "kind": "nested" + }, + { + "name": "QueueProcessed", + "type": "pixelaw::core::actions::actions::QueueProcessed", + "kind": "nested" + }, + { + "name": "AppNameUpdated", + "type": "pixelaw::core::actions::actions::AppNameUpdated", + "kind": "nested" + }, + { + "name": "Alert", + "type": "pixelaw::core::actions::actions::Alert", + "kind": "nested" + } + ] + } +] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/contracts/pixelaw-paint_actions-2afb94fe.json b/contracts/manifests/dev/base/abis/contracts/pixelaw-paint_actions-2afb94fe.json new file mode 100644 index 0000000..43c7d6b --- /dev/null +++ b/contracts/manifests/dev/base/abis/contracts/pixelaw-paint_actions-2afb94fe.json @@ -0,0 +1,489 @@ +[ + { + "type": "impl", + "name": "ContractImpl", + "interface_name": "dojo::contract::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::contract::contract::IContract", + "items": [ + { + "type": "function", + "name": "contract_name", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "name_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "WorldProviderImpl", + "interface_name": "dojo::world::world_contract::IWorldProvider" + }, + { + "type": "struct", + "name": "dojo::world::world_contract::IWorldDispatcher", + "members": [ + { + "name": "contract_address", + "type": "core::starknet::contract_address::ContractAddress" + } + ] + }, + { + "type": "interface", + "name": "dojo::world::world_contract::IWorldProvider", + "items": [ + { + "type": "function", + "name": "world", + "inputs": [], + "outputs": [ + { + "type": "dojo::world::world_contract::IWorldDispatcher" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "ActionsInteroperability", + "interface_name": "pixelaw::core::traits::IInteroperability" + }, + { + "type": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u32" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::felt252" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u64" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "pixelaw::core::models::pixel::PixelUpdate", + "members": [ + { + "name": "x", + "type": "core::integer::u32" + }, + { + "name": "y", + "type": "core::integer::u32" + }, + { + "name": "color", + "type": "core::option::Option::" + }, + { + "name": "owner", + "type": "core::option::Option::" + }, + { + "name": "app", + "type": "core::option::Option::" + }, + { + "name": "text", + "type": "core::option::Option::" + }, + { + "name": "timestamp", + "type": "core::option::Option::" + }, + { + "name": "action", + "type": "core::option::Option::" + } + ] + }, + { + "type": "struct", + "name": "pixelaw::core::models::registry::App", + "members": [ + { + "name": "system", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "icon", + "type": "core::felt252" + }, + { + "name": "action", + "type": "core::felt252" + } + ] + }, + { + "type": "interface", + "name": "pixelaw::core::traits::IInteroperability", + "items": [ + { + "type": "function", + "name": "on_pre_update", + "inputs": [ + { + "name": "pixel_update", + "type": "pixelaw::core::models::pixel::PixelUpdate" + }, + { + "name": "app_caller", + "type": "pixelaw::core::models::registry::App" + }, + { + "name": "player_caller", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "on_post_update", + "inputs": [ + { + "name": "pixel_update", + "type": "pixelaw::core::models::pixel::PixelUpdate" + }, + { + "name": "app_caller", + "type": "pixelaw::core::models::registry::App" + }, + { + "name": "player_caller", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [], + "state_mutability": "external" + } + ] + }, + { + "type": "impl", + "name": "ActionsImpl", + "interface_name": "pixelaw::apps::paint::app::IPaintActions" + }, + { + "type": "struct", + "name": "pixelaw::core::utils::Position", + "members": [ + { + "name": "x", + "type": "core::integer::u32" + }, + { + "name": "y", + "type": "core::integer::u32" + } + ] + }, + { + "type": "struct", + "name": "pixelaw::core::utils::DefaultParameters", + "members": [ + { + "name": "for_player", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "for_system", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "position", + "type": "pixelaw::core::utils::Position" + }, + { + "name": "color", + "type": "core::integer::u32" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "interface", + "name": "pixelaw::apps::paint::app::IPaintActions", + "items": [ + { + "type": "function", + "name": "init", + "inputs": [], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "interact", + "inputs": [ + { + "name": "default_params", + "type": "pixelaw::core::utils::DefaultParameters" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "put_color", + "inputs": [ + { + "name": "default_params", + "type": "pixelaw::core::utils::DefaultParameters" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "fade", + "inputs": [ + { + "name": "default_params", + "type": "pixelaw::core::utils::DefaultParameters" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "pixel_row", + "inputs": [ + { + "name": "default_params", + "type": "pixelaw::core::utils::DefaultParameters" + }, + { + "name": "image_data", + "type": "core::array::Span::" + } + ], + "outputs": [], + "state_mutability": "external" + } + ] + }, + { + "type": "impl", + "name": "IDojoInitImpl", + "interface_name": "pixelaw::apps::paint::app::paint_actions::IDojoInit" + }, + { + "type": "interface", + "name": "pixelaw::apps::paint::app::paint_actions::IDojoInit", + "items": [ + { + "type": "function", + "name": "dojo_init", + "inputs": [], + "outputs": [], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "UpgradableImpl", + "interface_name": "dojo::contract::upgradeable::IUpgradeable" + }, + { + "type": "interface", + "name": "dojo::contract::upgradeable::IUpgradeable", + "items": [ + { + "type": "function", + "name": "upgrade", + "inputs": [ + { + "name": "new_class_hash", + "type": "core::starknet::class_hash::ClassHash" + } + ], + "outputs": [], + "state_mutability": "external" + } + ] + }, + { + "type": "event", + "name": "dojo::contract::upgradeable::upgradeable::Upgraded", + "kind": "struct", + "members": [ + { + "name": "class_hash", + "type": "core::starknet::class_hash::ClassHash", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::contract::upgradeable::upgradeable::Event", + "kind": "enum", + "variants": [ + { + "name": "Upgraded", + "type": "dojo::contract::upgradeable::upgradeable::Upgraded", + "kind": "nested" + } + ] + }, + { + "type": "event", + "name": "pixelaw::apps::paint::app::paint_actions::Event", + "kind": "enum", + "variants": [ + { + "name": "UpgradeableEvent", + "type": "dojo::contract::upgradeable::upgradeable::Event", + "kind": "nested" + } + ] + } +] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/contracts/pixelaw-snake_actions-4f967106.json b/contracts/manifests/dev/base/abis/contracts/pixelaw-snake_actions-4f967106.json new file mode 100644 index 0000000..7db4153 --- /dev/null +++ b/contracts/manifests/dev/base/abis/contracts/pixelaw-snake_actions-4f967106.json @@ -0,0 +1,534 @@ +[ + { + "type": "impl", + "name": "ContractImpl", + "interface_name": "dojo::contract::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::contract::contract::IContract", + "items": [ + { + "type": "function", + "name": "contract_name", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "name_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "WorldProviderImpl", + "interface_name": "dojo::world::world_contract::IWorldProvider" + }, + { + "type": "struct", + "name": "dojo::world::world_contract::IWorldDispatcher", + "members": [ + { + "name": "contract_address", + "type": "core::starknet::contract_address::ContractAddress" + } + ] + }, + { + "type": "interface", + "name": "dojo::world::world_contract::IWorldProvider", + "items": [ + { + "type": "function", + "name": "world", + "inputs": [], + "outputs": [ + { + "type": "dojo::world::world_contract::IWorldDispatcher" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "ActionsInteroperability", + "interface_name": "pixelaw::core::traits::IInteroperability" + }, + { + "type": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u32" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::felt252" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u64" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "pixelaw::core::models::pixel::PixelUpdate", + "members": [ + { + "name": "x", + "type": "core::integer::u32" + }, + { + "name": "y", + "type": "core::integer::u32" + }, + { + "name": "color", + "type": "core::option::Option::" + }, + { + "name": "owner", + "type": "core::option::Option::" + }, + { + "name": "app", + "type": "core::option::Option::" + }, + { + "name": "text", + "type": "core::option::Option::" + }, + { + "name": "timestamp", + "type": "core::option::Option::" + }, + { + "name": "action", + "type": "core::option::Option::" + } + ] + }, + { + "type": "struct", + "name": "pixelaw::core::models::registry::App", + "members": [ + { + "name": "system", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "icon", + "type": "core::felt252" + }, + { + "name": "action", + "type": "core::felt252" + } + ] + }, + { + "type": "interface", + "name": "pixelaw::core::traits::IInteroperability", + "items": [ + { + "type": "function", + "name": "on_pre_update", + "inputs": [ + { + "name": "pixel_update", + "type": "pixelaw::core::models::pixel::PixelUpdate" + }, + { + "name": "app_caller", + "type": "pixelaw::core::models::registry::App" + }, + { + "name": "player_caller", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "on_post_update", + "inputs": [ + { + "name": "pixel_update", + "type": "pixelaw::core::models::pixel::PixelUpdate" + }, + { + "name": "app_caller", + "type": "pixelaw::core::models::registry::App" + }, + { + "name": "player_caller", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [], + "state_mutability": "external" + } + ] + }, + { + "type": "impl", + "name": "ActionsImpl", + "interface_name": "pixelaw::apps::snake::app::ISnakeActions" + }, + { + "type": "struct", + "name": "pixelaw::core::utils::Position", + "members": [ + { + "name": "x", + "type": "core::integer::u32" + }, + { + "name": "y", + "type": "core::integer::u32" + } + ] + }, + { + "type": "struct", + "name": "pixelaw::core::utils::DefaultParameters", + "members": [ + { + "name": "for_player", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "for_system", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "position", + "type": "pixelaw::core::utils::Position" + }, + { + "name": "color", + "type": "core::integer::u32" + } + ] + }, + { + "type": "enum", + "name": "pixelaw::core::utils::Direction", + "variants": [ + { + "name": "None", + "type": "()" + }, + { + "name": "Left", + "type": "()" + }, + { + "name": "Right", + "type": "()" + }, + { + "name": "Up", + "type": "()" + }, + { + "name": "Down", + "type": "()" + } + ] + }, + { + "type": "interface", + "name": "pixelaw::apps::snake::app::ISnakeActions", + "items": [ + { + "type": "function", + "name": "init", + "inputs": [], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "interact", + "inputs": [ + { + "name": "default_params", + "type": "pixelaw::core::utils::DefaultParameters" + }, + { + "name": "direction", + "type": "pixelaw::core::utils::Direction" + } + ], + "outputs": [ + { + "type": "core::integer::u32" + } + ], + "state_mutability": "external" + }, + { + "type": "function", + "name": "move", + "inputs": [ + { + "name": "owner", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [], + "state_mutability": "external" + } + ] + }, + { + "type": "impl", + "name": "IDojoInitImpl", + "interface_name": "pixelaw::apps::snake::app::snake_actions::IDojoInit" + }, + { + "type": "interface", + "name": "pixelaw::apps::snake::app::snake_actions::IDojoInit", + "items": [ + { + "type": "function", + "name": "dojo_init", + "inputs": [], + "outputs": [], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "UpgradableImpl", + "interface_name": "dojo::contract::upgradeable::IUpgradeable" + }, + { + "type": "interface", + "name": "dojo::contract::upgradeable::IUpgradeable", + "items": [ + { + "type": "function", + "name": "upgrade", + "inputs": [ + { + "name": "new_class_hash", + "type": "core::starknet::class_hash::ClassHash" + } + ], + "outputs": [], + "state_mutability": "external" + } + ] + }, + { + "type": "event", + "name": "dojo::contract::upgradeable::upgradeable::Upgraded", + "kind": "struct", + "members": [ + { + "name": "class_hash", + "type": "core::starknet::class_hash::ClassHash", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::contract::upgradeable::upgradeable::Event", + "kind": "enum", + "variants": [ + { + "name": "Upgraded", + "type": "dojo::contract::upgradeable::upgradeable::Upgraded", + "kind": "nested" + } + ] + }, + { + "type": "event", + "name": "pixelaw::apps::snake::app::snake_actions::Moved", + "kind": "struct", + "members": [ + { + "name": "owner", + "type": "core::starknet::contract_address::ContractAddress", + "kind": "data" + }, + { + "name": "direction", + "type": "pixelaw::core::utils::Direction", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "pixelaw::apps::snake::app::snake_actions::Died", + "kind": "struct", + "members": [ + { + "name": "owner", + "type": "core::starknet::contract_address::ContractAddress", + "kind": "data" + }, + { + "name": "x", + "type": "core::integer::u32", + "kind": "data" + }, + { + "name": "y", + "type": "core::integer::u32", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "pixelaw::apps::snake::app::snake_actions::Event", + "kind": "enum", + "variants": [ + { + "name": "UpgradeableEvent", + "type": "dojo::contract::upgradeable::upgradeable::Event", + "kind": "nested" + }, + { + "name": "Moved", + "type": "pixelaw::apps::snake::app::snake_actions::Moved", + "kind": "nested" + }, + { + "name": "Died", + "type": "pixelaw::apps::snake::app::snake_actions::Died", + "kind": "nested" + } + ] + } +] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/dojo-base.json b/contracts/manifests/dev/base/abis/dojo-base.json new file mode 100644 index 0000000..4800464 --- /dev/null +++ b/contracts/manifests/dev/base/abis/dojo-base.json @@ -0,0 +1,98 @@ +[ + { + "type": "impl", + "name": "WorldProviderImpl", + "interface_name": "dojo::world::world_contract::IWorldProvider" + }, + { + "type": "struct", + "name": "dojo::world::world_contract::IWorldDispatcher", + "members": [ + { + "name": "contract_address", + "type": "core::starknet::contract_address::ContractAddress" + } + ] + }, + { + "type": "interface", + "name": "dojo::world::world_contract::IWorldProvider", + "items": [ + { + "type": "function", + "name": "world", + "inputs": [], + "outputs": [ + { + "type": "dojo::world::world_contract::IWorldDispatcher" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "UpgradableImpl", + "interface_name": "dojo::contract::upgradeable::IUpgradeable" + }, + { + "type": "interface", + "name": "dojo::contract::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::contract::upgradeable::upgradeable::Upgraded", + "kind": "struct", + "members": [ + { + "name": "class_hash", + "type": "core::starknet::class_hash::ClassHash", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::contract::upgradeable::upgradeable::Event", + "kind": "enum", + "variants": [ + { + "name": "Upgraded", + "type": "dojo::contract::upgradeable::upgradeable::Upgraded", + "kind": "nested" + } + ] + }, + { + "type": "event", + "name": "dojo::contract::base_contract::base::Event", + "kind": "enum", + "variants": [ + { + "name": "UpgradeableEvent", + "type": "dojo::contract::upgradeable::upgradeable::Event", + "kind": "flat" + } + ] + } +] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/dojo-world.json b/contracts/manifests/dev/base/abis/dojo-world.json new file mode 100644 index 0000000..8553809 --- /dev/null +++ b/contracts/manifests/dev/base/abis/dojo-world.json @@ -0,0 +1,1231 @@ +[ + { + "type": "impl", + "name": "World", + "interface_name": "dojo::world::world_contract::IWorld" + }, + { + "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": "struct", + "name": "dojo::model::metadata::ResourceMetadata", + "members": [ + { + "name": "resource_id", + "type": "core::felt252" + }, + { + "name": "metadata_uri", + "type": "core::byte_array::ByteArray" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::model::ModelIndex", + "variants": [ + { + "name": "Keys", + "type": "core::array::Span::" + }, + { + "name": "Id", + "type": "core::felt252" + }, + { + "name": "MemberId", + "type": "(core::felt252, core::felt252)" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::layout::FieldLayout", + "members": [ + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "layout", + "type": "dojo::model::layout::Layout" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::layout::Layout", + "variants": [ + { + "name": "Fixed", + "type": "core::array::Span::" + }, + { + "name": "Struct", + "type": "core::array::Span::" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + }, + { + "name": "Enum", + "type": "core::array::Span::" + } + ] + }, + { + "type": "enum", + "name": "dojo::world::world_contract::Resource", + "variants": [ + { + "name": "Model", + "type": "(core::starknet::class_hash::ClassHash, core::starknet::contract_address::ContractAddress)" + }, + { + "name": "Contract", + "type": "(core::starknet::class_hash::ClassHash, core::starknet::contract_address::ContractAddress)" + }, + { + "name": "Namespace", + "type": "()" + }, + { + "name": "World", + "type": "()" + }, + { + "name": "Unregistered", + "type": "()" + } + ] + }, + { + "type": "enum", + "name": "core::bool", + "variants": [ + { + "name": "False", + "type": "()" + }, + { + "name": "True", + "type": "()" + } + ] + }, + { + "type": "interface", + "name": "dojo::world::world_contract::IWorld", + "items": [ + { + "type": "function", + "name": "metadata", + "inputs": [ + { + "name": "resource_selector", + "type": "core::felt252" + } + ], + "outputs": [ + { + "type": "dojo::model::metadata::ResourceMetadata" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "set_metadata", + "inputs": [ + { + "name": "metadata", + "type": "dojo::model::metadata::ResourceMetadata" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "register_namespace", + "inputs": [ + { + "name": "namespace", + "type": "core::byte_array::ByteArray" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "register_model", + "inputs": [ + { + "name": "class_hash", + "type": "core::starknet::class_hash::ClassHash" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "upgrade_model", + "inputs": [ + { + "name": "class_hash", + "type": "core::starknet::class_hash::ClassHash" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "deploy_contract", + "inputs": [ + { + "name": "salt", + "type": "core::felt252" + }, + { + "name": "class_hash", + "type": "core::starknet::class_hash::ClassHash" + } + ], + "outputs": [ + { + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "state_mutability": "external" + }, + { + "type": "function", + "name": "upgrade_contract", + "inputs": [ + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "class_hash", + "type": "core::starknet::class_hash::ClassHash" + } + ], + "outputs": [ + { + "type": "core::starknet::class_hash::ClassHash" + } + ], + "state_mutability": "external" + }, + { + "type": "function", + "name": "init_contract", + "inputs": [ + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "init_calldata", + "type": "core::array::Span::" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "uuid", + "inputs": [], + "outputs": [ + { + "type": "core::integer::u32" + } + ], + "state_mutability": "external" + }, + { + "type": "function", + "name": "emit", + "inputs": [ + { + "name": "keys", + "type": "core::array::Array::" + }, + { + "name": "values", + "type": "core::array::Span::" + } + ], + "outputs": [], + "state_mutability": "view" + }, + { + "type": "function", + "name": "entity", + "inputs": [ + { + "name": "model_selector", + "type": "core::felt252" + }, + { + "name": "index", + "type": "dojo::model::model::ModelIndex" + }, + { + "name": "layout", + "type": "dojo::model::layout::Layout" + } + ], + "outputs": [ + { + "type": "core::array::Span::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "set_entity", + "inputs": [ + { + "name": "model_selector", + "type": "core::felt252" + }, + { + "name": "index", + "type": "dojo::model::model::ModelIndex" + }, + { + "name": "values", + "type": "core::array::Span::" + }, + { + "name": "layout", + "type": "dojo::model::layout::Layout" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "delete_entity", + "inputs": [ + { + "name": "model_selector", + "type": "core::felt252" + }, + { + "name": "index", + "type": "dojo::model::model::ModelIndex" + }, + { + "name": "layout", + "type": "dojo::model::layout::Layout" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "base", + "inputs": [], + "outputs": [ + { + "type": "core::starknet::class_hash::ClassHash" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "resource", + "inputs": [ + { + "name": "selector", + "type": "core::felt252" + } + ], + "outputs": [ + { + "type": "dojo::world::world_contract::Resource" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "is_owner", + "inputs": [ + { + "name": "resource", + "type": "core::felt252" + }, + { + "name": "address", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [ + { + "type": "core::bool" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "grant_owner", + "inputs": [ + { + "name": "resource", + "type": "core::felt252" + }, + { + "name": "address", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "revoke_owner", + "inputs": [ + { + "name": "resource", + "type": "core::felt252" + }, + { + "name": "address", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "is_writer", + "inputs": [ + { + "name": "resource", + "type": "core::felt252" + }, + { + "name": "contract", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [ + { + "type": "core::bool" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "grant_writer", + "inputs": [ + { + "name": "resource", + "type": "core::felt252" + }, + { + "name": "contract", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "revoke_writer", + "inputs": [ + { + "name": "resource", + "type": "core::felt252" + }, + { + "name": "contract", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [], + "state_mutability": "external" + } + ] + }, + { + "type": "impl", + "name": "UpgradeableWorld", + "interface_name": "dojo::world::world_contract::IUpgradeableWorld" + }, + { + "type": "interface", + "name": "dojo::world::world_contract::IUpgradeableWorld", + "items": [ + { + "type": "function", + "name": "upgrade", + "inputs": [ + { + "name": "new_class_hash", + "type": "core::starknet::class_hash::ClassHash" + } + ], + "outputs": [], + "state_mutability": "external" + } + ] + }, + { + "type": "impl", + "name": "UpgradeableState", + "interface_name": "dojo::world::update::IUpgradeableState" + }, + { + "type": "struct", + "name": "dojo::world::update::StorageUpdate", + "members": [ + { + "name": "key", + "type": "core::felt252" + }, + { + "name": "value", + "type": "core::felt252" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::world::update::ProgramOutput", + "members": [ + { + "name": "prev_state_root", + "type": "core::felt252" + }, + { + "name": "new_state_root", + "type": "core::felt252" + }, + { + "name": "block_number", + "type": "core::felt252" + }, + { + "name": "block_hash", + "type": "core::felt252" + }, + { + "name": "config_hash", + "type": "core::felt252" + }, + { + "name": "world_da_hash", + "type": "core::felt252" + }, + { + "name": "message_to_starknet_segment", + "type": "core::array::Span::" + }, + { + "name": "message_to_appchain_segment", + "type": "core::array::Span::" + } + ] + }, + { + "type": "interface", + "name": "dojo::world::update::IUpgradeableState", + "items": [ + { + "type": "function", + "name": "upgrade_state", + "inputs": [ + { + "name": "new_state", + "type": "core::array::Span::" + }, + { + "name": "program_output", + "type": "dojo::world::update::ProgramOutput" + }, + { + "name": "program_hash", + "type": "core::felt252" + } + ], + "outputs": [], + "state_mutability": "external" + } + ] + }, + { + "type": "impl", + "name": "ConfigImpl", + "interface_name": "dojo::world::config::IConfig" + }, + { + "type": "interface", + "name": "dojo::world::config::IConfig", + "items": [ + { + "type": "function", + "name": "set_differ_program_hash", + "inputs": [ + { + "name": "program_hash", + "type": "core::felt252" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "set_merger_program_hash", + "inputs": [ + { + "name": "program_hash", + "type": "core::felt252" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "get_differ_program_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "get_merger_program_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "set_facts_registry", + "inputs": [ + { + "name": "address", + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "outputs": [], + "state_mutability": "external" + }, + { + "type": "function", + "name": "get_facts_registry", + "inputs": [], + "outputs": [ + { + "type": "core::starknet::contract_address::ContractAddress" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "constructor", + "name": "constructor", + "inputs": [ + { + "name": "contract_base", + "type": "core::starknet::class_hash::ClassHash" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::world::WorldSpawned", + "kind": "struct", + "members": [ + { + "name": "address", + "type": "core::starknet::contract_address::ContractAddress", + "kind": "data" + }, + { + "name": "creator", + "type": "core::starknet::contract_address::ContractAddress", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::world::ContractDeployed", + "kind": "struct", + "members": [ + { + "name": "salt", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "class_hash", + "type": "core::starknet::class_hash::ClassHash", + "kind": "data" + }, + { + "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" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::world::ContractUpgraded", + "kind": "struct", + "members": [ + { + "name": "class_hash", + "type": "core::starknet::class_hash::ClassHash", + "kind": "data" + }, + { + "name": "address", + "type": "core::starknet::contract_address::ContractAddress", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::world::ContractInitialized", + "kind": "struct", + "members": [ + { + "name": "selector", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "init_calldata", + "type": "core::array::Span::", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::world::WorldUpgraded", + "kind": "struct", + "members": [ + { + "name": "class_hash", + "type": "core::starknet::class_hash::ClassHash", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::world::MetadataUpdate", + "kind": "struct", + "members": [ + { + "name": "resource", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "uri", + "type": "core::byte_array::ByteArray", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::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_contract::world::ModelRegistered", + "kind": "struct", + "members": [ + { + "name": "name", + "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", + "kind": "data" + }, + { + "name": "address", + "type": "core::starknet::contract_address::ContractAddress", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::world::ModelUpgraded", + "kind": "struct", + "members": [ + { + "name": "name", + "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", + "kind": "data" + }, + { + "name": "prev_class_hash", + "type": "core::starknet::class_hash::ClassHash", + "kind": "data" + }, + { + "name": "address", + "type": "core::starknet::contract_address::ContractAddress", + "kind": "data" + }, + { + "name": "prev_address", + "type": "core::starknet::contract_address::ContractAddress", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::world::StoreSetRecord", + "kind": "struct", + "members": [ + { + "name": "table", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "entity_id", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "keys", + "type": "core::array::Span::", + "kind": "data" + }, + { + "name": "values", + "type": "core::array::Span::", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::world::StoreUpdateRecord", + "kind": "struct", + "members": [ + { + "name": "table", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "entity_id", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "values", + "type": "core::array::Span::", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::world::StoreUpdateMember", + "kind": "struct", + "members": [ + { + "name": "table", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "entity_id", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "member_selector", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "values", + "type": "core::array::Span::", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::world::StoreDelRecord", + "kind": "struct", + "members": [ + { + "name": "table", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "entity_id", + "type": "core::felt252", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::world::WriterUpdated", + "kind": "struct", + "members": [ + { + "name": "resource", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "contract", + "type": "core::starknet::contract_address::ContractAddress", + "kind": "data" + }, + { + "name": "value", + "type": "core::bool", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::world::OwnerUpdated", + "kind": "struct", + "members": [ + { + "name": "address", + "type": "core::starknet::contract_address::ContractAddress", + "kind": "data" + }, + { + "name": "resource", + "type": "core::felt252", + "kind": "data" + }, + { + "name": "value", + "type": "core::bool", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::config::Config::DifferProgramHashUpdate", + "kind": "struct", + "members": [ + { + "name": "program_hash", + "type": "core::felt252", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::config::Config::MergerProgramHashUpdate", + "kind": "struct", + "members": [ + { + "name": "program_hash", + "type": "core::felt252", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::config::Config::FactsRegistryUpdate", + "kind": "struct", + "members": [ + { + "name": "address", + "type": "core::starknet::contract_address::ContractAddress", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::config::Config::Event", + "kind": "enum", + "variants": [ + { + "name": "DifferProgramHashUpdate", + "type": "dojo::world::config::Config::DifferProgramHashUpdate", + "kind": "nested" + }, + { + "name": "MergerProgramHashUpdate", + "type": "dojo::world::config::Config::MergerProgramHashUpdate", + "kind": "nested" + }, + { + "name": "FactsRegistryUpdate", + "type": "dojo::world::config::Config::FactsRegistryUpdate", + "kind": "nested" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::world::StateUpdated", + "kind": "struct", + "members": [ + { + "name": "da_hash", + "type": "core::felt252", + "kind": "data" + } + ] + }, + { + "type": "event", + "name": "dojo::world::world_contract::world::Event", + "kind": "enum", + "variants": [ + { + "name": "WorldSpawned", + "type": "dojo::world::world_contract::world::WorldSpawned", + "kind": "nested" + }, + { + "name": "ContractDeployed", + "type": "dojo::world::world_contract::world::ContractDeployed", + "kind": "nested" + }, + { + "name": "ContractUpgraded", + "type": "dojo::world::world_contract::world::ContractUpgraded", + "kind": "nested" + }, + { + "name": "ContractInitialized", + "type": "dojo::world::world_contract::world::ContractInitialized", + "kind": "nested" + }, + { + "name": "WorldUpgraded", + "type": "dojo::world::world_contract::world::WorldUpgraded", + "kind": "nested" + }, + { + "name": "MetadataUpdate", + "type": "dojo::world::world_contract::world::MetadataUpdate", + "kind": "nested" + }, + { + "name": "NamespaceRegistered", + "type": "dojo::world::world_contract::world::NamespaceRegistered", + "kind": "nested" + }, + { + "name": "ModelRegistered", + "type": "dojo::world::world_contract::world::ModelRegistered", + "kind": "nested" + }, + { + "name": "ModelUpgraded", + "type": "dojo::world::world_contract::world::ModelUpgraded", + "kind": "nested" + }, + { + "name": "StoreSetRecord", + "type": "dojo::world::world_contract::world::StoreSetRecord", + "kind": "nested" + }, + { + "name": "StoreUpdateRecord", + "type": "dojo::world::world_contract::world::StoreUpdateRecord", + "kind": "nested" + }, + { + "name": "StoreUpdateMember", + "type": "dojo::world::world_contract::world::StoreUpdateMember", + "kind": "nested" + }, + { + "name": "StoreDelRecord", + "type": "dojo::world::world_contract::world::StoreDelRecord", + "kind": "nested" + }, + { + "name": "WriterUpdated", + "type": "dojo::world::world_contract::world::WriterUpdated", + "kind": "nested" + }, + { + "name": "OwnerUpdated", + "type": "dojo::world::world_contract::world::OwnerUpdated", + "kind": "nested" + }, + { + "name": "ConfigEvent", + "type": "dojo::world::config::Config::Event", + "kind": "nested" + }, + { + "name": "StateUpdated", + "type": "dojo::world::world_contract::world::StateUpdated", + "kind": "nested" + } + ] + } +] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-App-36504565.json b/contracts/manifests/dev/base/abis/models/pixelaw-App-36504565.json new file mode 100644 index 0000000..c2e9c0e --- /dev/null +++ b/contracts/manifests/dev/base/abis/models/pixelaw-App-36504565.json @@ -0,0 +1,415 @@ +[ + { + "type": "impl", + "name": "DojoModelImpl", + "interface_name": "dojo::model::model::IModel" + }, + { + "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": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u32" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::layout::FieldLayout", + "members": [ + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "layout", + "type": "dojo::model::layout::Layout" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::layout::Layout", + "variants": [ + { + "name": "Fixed", + "type": "core::array::Span::" + }, + { + "name": "Struct", + "type": "core::array::Span::" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + }, + { + "name": "Enum", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Member", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "ty", + "type": "dojo::model::introspect::Ty" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Struct", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Enum", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::introspect::Ty", + "variants": [ + { + "name": "Primitive", + "type": "core::felt252" + }, + { + "name": "Struct", + "type": "dojo::model::introspect::Struct" + }, + { + "name": "Enum", + "type": "dojo::model::introspect::Enum" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + } + ] + }, + { + "type": "interface", + "name": "dojo::model::model::IModel", + "items": [ + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "type": "core::integer::u8" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "name_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "unpacked_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "packed_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "layout", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::layout::Layout" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "schema", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::introspect::Ty" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "appImpl", + "interface_name": "pixelaw::core::models::registry::Iapp" + }, + { + "type": "struct", + "name": "pixelaw::core::models::registry::App", + "members": [ + { + "name": "system", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "icon", + "type": "core::felt252" + }, + { + "name": "action", + "type": "core::felt252" + } + ] + }, + { + "type": "interface", + "name": "pixelaw::core::models::registry::Iapp", + "items": [ + { + "type": "function", + "name": "ensure_abi", + "inputs": [ + { + "name": "model", + "type": "pixelaw::core::models::registry::App" + } + ], + "outputs": [], + "state_mutability": "view" + } + ] + }, + { + "type": "event", + "name": "pixelaw::core::models::registry::app::Event", + "kind": "enum", + "variants": [] + } +] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-AppName-3b816829.json b/contracts/manifests/dev/base/abis/models/pixelaw-AppName-3b816829.json new file mode 100644 index 0000000..87a5e61 --- /dev/null +++ b/contracts/manifests/dev/base/abis/models/pixelaw-AppName-3b816829.json @@ -0,0 +1,407 @@ +[ + { + "type": "impl", + "name": "DojoModelImpl", + "interface_name": "dojo::model::model::IModel" + }, + { + "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": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u32" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::layout::FieldLayout", + "members": [ + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "layout", + "type": "dojo::model::layout::Layout" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::layout::Layout", + "variants": [ + { + "name": "Fixed", + "type": "core::array::Span::" + }, + { + "name": "Struct", + "type": "core::array::Span::" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + }, + { + "name": "Enum", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Member", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "ty", + "type": "dojo::model::introspect::Ty" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Struct", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Enum", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::introspect::Ty", + "variants": [ + { + "name": "Primitive", + "type": "core::felt252" + }, + { + "name": "Struct", + "type": "dojo::model::introspect::Struct" + }, + { + "name": "Enum", + "type": "dojo::model::introspect::Enum" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + } + ] + }, + { + "type": "interface", + "name": "dojo::model::model::IModel", + "items": [ + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "type": "core::integer::u8" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "name_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "unpacked_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "packed_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "layout", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::layout::Layout" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "schema", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::introspect::Ty" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "app_nameImpl", + "interface_name": "pixelaw::core::models::registry::Iapp_name" + }, + { + "type": "struct", + "name": "pixelaw::core::models::registry::AppName", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "system", + "type": "core::starknet::contract_address::ContractAddress" + } + ] + }, + { + "type": "interface", + "name": "pixelaw::core::models::registry::Iapp_name", + "items": [ + { + "type": "function", + "name": "ensure_abi", + "inputs": [ + { + "name": "model", + "type": "pixelaw::core::models::registry::AppName" + } + ], + "outputs": [], + "state_mutability": "view" + } + ] + }, + { + "type": "event", + "name": "pixelaw::core::models::registry::app_name::Event", + "kind": "enum", + "variants": [] + } +] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-AppUser-4eda3c52.json b/contracts/manifests/dev/base/abis/models/pixelaw-AppUser-4eda3c52.json new file mode 100644 index 0000000..a578a2c --- /dev/null +++ b/contracts/manifests/dev/base/abis/models/pixelaw-AppUser-4eda3c52.json @@ -0,0 +1,411 @@ +[ + { + "type": "impl", + "name": "DojoModelImpl", + "interface_name": "dojo::model::model::IModel" + }, + { + "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": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u32" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::layout::FieldLayout", + "members": [ + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "layout", + "type": "dojo::model::layout::Layout" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::layout::Layout", + "variants": [ + { + "name": "Fixed", + "type": "core::array::Span::" + }, + { + "name": "Struct", + "type": "core::array::Span::" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + }, + { + "name": "Enum", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Member", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "ty", + "type": "dojo::model::introspect::Ty" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Struct", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Enum", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::introspect::Ty", + "variants": [ + { + "name": "Primitive", + "type": "core::felt252" + }, + { + "name": "Struct", + "type": "dojo::model::introspect::Struct" + }, + { + "name": "Enum", + "type": "dojo::model::introspect::Enum" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + } + ] + }, + { + "type": "interface", + "name": "dojo::model::model::IModel", + "items": [ + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "type": "core::integer::u8" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "name_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "unpacked_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "packed_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "layout", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::layout::Layout" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "schema", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::introspect::Ty" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "app_userImpl", + "interface_name": "pixelaw::core::models::registry::Iapp_user" + }, + { + "type": "struct", + "name": "pixelaw::core::models::registry::AppUser", + "members": [ + { + "name": "system", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "player", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "action", + "type": "core::felt252" + } + ] + }, + { + "type": "interface", + "name": "pixelaw::core::models::registry::Iapp_user", + "items": [ + { + "type": "function", + "name": "ensure_abi", + "inputs": [ + { + "name": "model", + "type": "pixelaw::core::models::registry::AppUser" + } + ], + "outputs": [], + "state_mutability": "view" + } + ] + }, + { + "type": "event", + "name": "pixelaw::core::models::registry::app_user::Event", + "kind": "enum", + "variants": [] + } +] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-CoreActionsAddress-5379e1ce.json b/contracts/manifests/dev/base/abis/models/pixelaw-CoreActionsAddress-5379e1ce.json new file mode 100644 index 0000000..512af25 --- /dev/null +++ b/contracts/manifests/dev/base/abis/models/pixelaw-CoreActionsAddress-5379e1ce.json @@ -0,0 +1,407 @@ +[ + { + "type": "impl", + "name": "DojoModelImpl", + "interface_name": "dojo::model::model::IModel" + }, + { + "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": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u32" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::layout::FieldLayout", + "members": [ + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "layout", + "type": "dojo::model::layout::Layout" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::layout::Layout", + "variants": [ + { + "name": "Fixed", + "type": "core::array::Span::" + }, + { + "name": "Struct", + "type": "core::array::Span::" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + }, + { + "name": "Enum", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Member", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "ty", + "type": "dojo::model::introspect::Ty" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Struct", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Enum", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::introspect::Ty", + "variants": [ + { + "name": "Primitive", + "type": "core::felt252" + }, + { + "name": "Struct", + "type": "dojo::model::introspect::Struct" + }, + { + "name": "Enum", + "type": "dojo::model::introspect::Enum" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + } + ] + }, + { + "type": "interface", + "name": "dojo::model::model::IModel", + "items": [ + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "type": "core::integer::u8" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "name_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "unpacked_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "packed_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "layout", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::layout::Layout" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "schema", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::introspect::Ty" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "core_actions_addressImpl", + "interface_name": "pixelaw::core::models::registry::Icore_actions_address" + }, + { + "type": "struct", + "name": "pixelaw::core::models::registry::CoreActionsAddress", + "members": [ + { + "name": "key", + "type": "core::felt252" + }, + { + "name": "value", + "type": "core::starknet::contract_address::ContractAddress" + } + ] + }, + { + "type": "interface", + "name": "pixelaw::core::models::registry::Icore_actions_address", + "items": [ + { + "type": "function", + "name": "ensure_abi", + "inputs": [ + { + "name": "model", + "type": "pixelaw::core::models::registry::CoreActionsAddress" + } + ], + "outputs": [], + "state_mutability": "view" + } + ] + }, + { + "type": "event", + "name": "pixelaw::core::models::registry::core_actions_address::Event", + "kind": "enum", + "variants": [] + } +] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-Instruction-4c7c4844.json b/contracts/manifests/dev/base/abis/models/pixelaw-Instruction-4c7c4844.json new file mode 100644 index 0000000..a79b066 --- /dev/null +++ b/contracts/manifests/dev/base/abis/models/pixelaw-Instruction-4c7c4844.json @@ -0,0 +1,411 @@ +[ + { + "type": "impl", + "name": "DojoModelImpl", + "interface_name": "dojo::model::model::IModel" + }, + { + "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": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u32" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::layout::FieldLayout", + "members": [ + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "layout", + "type": "dojo::model::layout::Layout" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::layout::Layout", + "variants": [ + { + "name": "Fixed", + "type": "core::array::Span::" + }, + { + "name": "Struct", + "type": "core::array::Span::" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + }, + { + "name": "Enum", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Member", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "ty", + "type": "dojo::model::introspect::Ty" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Struct", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Enum", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::introspect::Ty", + "variants": [ + { + "name": "Primitive", + "type": "core::felt252" + }, + { + "name": "Struct", + "type": "dojo::model::introspect::Struct" + }, + { + "name": "Enum", + "type": "dojo::model::introspect::Enum" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + } + ] + }, + { + "type": "interface", + "name": "dojo::model::model::IModel", + "items": [ + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "type": "core::integer::u8" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "name_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "unpacked_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "packed_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "layout", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::layout::Layout" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "schema", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::introspect::Ty" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "instructionImpl", + "interface_name": "pixelaw::core::models::registry::Iinstruction" + }, + { + "type": "struct", + "name": "pixelaw::core::models::registry::Instruction", + "members": [ + { + "name": "system", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "instruction", + "type": "core::felt252" + } + ] + }, + { + "type": "interface", + "name": "pixelaw::core::models::registry::Iinstruction", + "items": [ + { + "type": "function", + "name": "ensure_abi", + "inputs": [ + { + "name": "model", + "type": "pixelaw::core::models::registry::Instruction" + } + ], + "outputs": [], + "state_mutability": "view" + } + ] + }, + { + "type": "event", + "name": "pixelaw::core::models::registry::instruction::Event", + "kind": "enum", + "variants": [] + } +] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-Permissions-72b77307.json b/contracts/manifests/dev/base/abis/models/pixelaw-Permissions-72b77307.json new file mode 100644 index 0000000..2e1a096 --- /dev/null +++ b/contracts/manifests/dev/base/abis/models/pixelaw-Permissions-72b77307.json @@ -0,0 +1,455 @@ +[ + { + "type": "impl", + "name": "DojoModelImpl", + "interface_name": "dojo::model::model::IModel" + }, + { + "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": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u32" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::layout::FieldLayout", + "members": [ + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "layout", + "type": "dojo::model::layout::Layout" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::layout::Layout", + "variants": [ + { + "name": "Fixed", + "type": "core::array::Span::" + }, + { + "name": "Struct", + "type": "core::array::Span::" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + }, + { + "name": "Enum", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Member", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "ty", + "type": "dojo::model::introspect::Ty" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Struct", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Enum", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::introspect::Ty", + "variants": [ + { + "name": "Primitive", + "type": "core::felt252" + }, + { + "name": "Struct", + "type": "dojo::model::introspect::Struct" + }, + { + "name": "Enum", + "type": "dojo::model::introspect::Enum" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + } + ] + }, + { + "type": "interface", + "name": "dojo::model::model::IModel", + "items": [ + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "type": "core::integer::u8" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "name_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "unpacked_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "packed_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "layout", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::layout::Layout" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "schema", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::introspect::Ty" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "permissionsImpl", + "interface_name": "pixelaw::core::models::permissions::Ipermissions" + }, + { + "type": "enum", + "name": "core::bool", + "variants": [ + { + "name": "False", + "type": "()" + }, + { + "name": "True", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "pixelaw::core::models::permissions::Permission", + "members": [ + { + "name": "app", + "type": "core::bool" + }, + { + "name": "color", + "type": "core::bool" + }, + { + "name": "owner", + "type": "core::bool" + }, + { + "name": "text", + "type": "core::bool" + }, + { + "name": "timestamp", + "type": "core::bool" + }, + { + "name": "action", + "type": "core::bool" + } + ] + }, + { + "type": "struct", + "name": "pixelaw::core::models::permissions::Permissions", + "members": [ + { + "name": "allowing_app", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "allowed_app", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "permission", + "type": "pixelaw::core::models::permissions::Permission" + } + ] + }, + { + "type": "interface", + "name": "pixelaw::core::models::permissions::Ipermissions", + "items": [ + { + "type": "function", + "name": "ensure_abi", + "inputs": [ + { + "name": "model", + "type": "pixelaw::core::models::permissions::Permissions" + } + ], + "outputs": [], + "state_mutability": "view" + } + ] + }, + { + "type": "event", + "name": "pixelaw::core::models::permissions::permissions::Event", + "kind": "enum", + "variants": [] + } +] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-Pixel-7e607b2f.json b/contracts/manifests/dev/base/abis/models/pixelaw-Pixel-7e607b2f.json new file mode 100644 index 0000000..8f6c36a --- /dev/null +++ b/contracts/manifests/dev/base/abis/models/pixelaw-Pixel-7e607b2f.json @@ -0,0 +1,439 @@ +[ + { + "type": "impl", + "name": "DojoModelImpl", + "interface_name": "dojo::model::model::IModel" + }, + { + "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": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u32" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::layout::FieldLayout", + "members": [ + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "layout", + "type": "dojo::model::layout::Layout" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::layout::Layout", + "variants": [ + { + "name": "Fixed", + "type": "core::array::Span::" + }, + { + "name": "Struct", + "type": "core::array::Span::" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + }, + { + "name": "Enum", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Member", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "ty", + "type": "dojo::model::introspect::Ty" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Struct", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Enum", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::introspect::Ty", + "variants": [ + { + "name": "Primitive", + "type": "core::felt252" + }, + { + "name": "Struct", + "type": "dojo::model::introspect::Struct" + }, + { + "name": "Enum", + "type": "dojo::model::introspect::Enum" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + } + ] + }, + { + "type": "interface", + "name": "dojo::model::model::IModel", + "items": [ + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "type": "core::integer::u8" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "name_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "unpacked_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "packed_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "layout", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::layout::Layout" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "schema", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::introspect::Ty" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "pixelImpl", + "interface_name": "pixelaw::core::models::pixel::Ipixel" + }, + { + "type": "struct", + "name": "pixelaw::core::models::pixel::Pixel", + "members": [ + { + "name": "x", + "type": "core::integer::u32" + }, + { + "name": "y", + "type": "core::integer::u32" + }, + { + "name": "app", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "color", + "type": "core::integer::u32" + }, + { + "name": "created_at", + "type": "core::integer::u64" + }, + { + "name": "updated_at", + "type": "core::integer::u64" + }, + { + "name": "timestamp", + "type": "core::integer::u64" + }, + { + "name": "owner", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "text", + "type": "core::felt252" + }, + { + "name": "action", + "type": "core::felt252" + } + ] + }, + { + "type": "interface", + "name": "pixelaw::core::models::pixel::Ipixel", + "items": [ + { + "type": "function", + "name": "ensure_abi", + "inputs": [ + { + "name": "model", + "type": "pixelaw::core::models::pixel::Pixel" + } + ], + "outputs": [], + "state_mutability": "view" + } + ] + }, + { + "type": "event", + "name": "pixelaw::core::models::pixel::pixel::Event", + "kind": "enum", + "variants": [] + } +] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-QueueItem-549a17f2.json b/contracts/manifests/dev/base/abis/models/pixelaw-QueueItem-549a17f2.json new file mode 100644 index 0000000..8496a6c --- /dev/null +++ b/contracts/manifests/dev/base/abis/models/pixelaw-QueueItem-549a17f2.json @@ -0,0 +1,421 @@ +[ + { + "type": "impl", + "name": "DojoModelImpl", + "interface_name": "dojo::model::model::IModel" + }, + { + "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": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u32" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::layout::FieldLayout", + "members": [ + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "layout", + "type": "dojo::model::layout::Layout" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::layout::Layout", + "variants": [ + { + "name": "Fixed", + "type": "core::array::Span::" + }, + { + "name": "Struct", + "type": "core::array::Span::" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + }, + { + "name": "Enum", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Member", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "ty", + "type": "dojo::model::introspect::Ty" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Struct", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Enum", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::introspect::Ty", + "variants": [ + { + "name": "Primitive", + "type": "core::felt252" + }, + { + "name": "Struct", + "type": "dojo::model::introspect::Struct" + }, + { + "name": "Enum", + "type": "dojo::model::introspect::Enum" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + } + ] + }, + { + "type": "interface", + "name": "dojo::model::model::IModel", + "items": [ + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "type": "core::integer::u8" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "name_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "unpacked_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "packed_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "layout", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::layout::Layout" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "schema", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::introspect::Ty" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "queue_itemImpl", + "interface_name": "pixelaw::core::models::queue::Iqueue_item" + }, + { + "type": "enum", + "name": "core::bool", + "variants": [ + { + "name": "False", + "type": "()" + }, + { + "name": "True", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "pixelaw::core::models::queue::QueueItem", + "members": [ + { + "name": "id", + "type": "core::felt252" + }, + { + "name": "valid", + "type": "core::bool" + } + ] + }, + { + "type": "interface", + "name": "pixelaw::core::models::queue::Iqueue_item", + "items": [ + { + "type": "function", + "name": "ensure_abi", + "inputs": [ + { + "name": "model", + "type": "pixelaw::core::models::queue::QueueItem" + } + ], + "outputs": [], + "state_mutability": "view" + } + ] + }, + { + "type": "event", + "name": "pixelaw::core::models::queue::queue_item::Event", + "kind": "enum", + "variants": [] + } +] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-Snake-62b876d4.json b/contracts/manifests/dev/base/abis/models/pixelaw-Snake-62b876d4.json new file mode 100644 index 0000000..427033f --- /dev/null +++ b/contracts/manifests/dev/base/abis/models/pixelaw-Snake-62b876d4.json @@ -0,0 +1,471 @@ +[ + { + "type": "impl", + "name": "DojoModelImpl", + "interface_name": "dojo::model::model::IModel" + }, + { + "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": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u32" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::layout::FieldLayout", + "members": [ + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "layout", + "type": "dojo::model::layout::Layout" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::layout::Layout", + "variants": [ + { + "name": "Fixed", + "type": "core::array::Span::" + }, + { + "name": "Struct", + "type": "core::array::Span::" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + }, + { + "name": "Enum", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Member", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "ty", + "type": "dojo::model::introspect::Ty" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Struct", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Enum", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::introspect::Ty", + "variants": [ + { + "name": "Primitive", + "type": "core::felt252" + }, + { + "name": "Struct", + "type": "dojo::model::introspect::Struct" + }, + { + "name": "Enum", + "type": "dojo::model::introspect::Enum" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + } + ] + }, + { + "type": "interface", + "name": "dojo::model::model::IModel", + "items": [ + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "type": "core::integer::u8" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "name_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "unpacked_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "packed_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "layout", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::layout::Layout" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "schema", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::introspect::Ty" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "snakeImpl", + "interface_name": "pixelaw::apps::snake::app::Isnake" + }, + { + "type": "enum", + "name": "pixelaw::core::utils::Direction", + "variants": [ + { + "name": "None", + "type": "()" + }, + { + "name": "Left", + "type": "()" + }, + { + "name": "Right", + "type": "()" + }, + { + "name": "Up", + "type": "()" + }, + { + "name": "Down", + "type": "()" + } + ] + }, + { + "type": "enum", + "name": "core::bool", + "variants": [ + { + "name": "False", + "type": "()" + }, + { + "name": "True", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "pixelaw::apps::snake::app::Snake", + "members": [ + { + "name": "owner", + "type": "core::starknet::contract_address::ContractAddress" + }, + { + "name": "length", + "type": "core::integer::u8" + }, + { + "name": "first_segment_id", + "type": "core::integer::u32" + }, + { + "name": "last_segment_id", + "type": "core::integer::u32" + }, + { + "name": "direction", + "type": "pixelaw::core::utils::Direction" + }, + { + "name": "color", + "type": "core::integer::u32" + }, + { + "name": "text", + "type": "core::felt252" + }, + { + "name": "is_dying", + "type": "core::bool" + } + ] + }, + { + "type": "interface", + "name": "pixelaw::apps::snake::app::Isnake", + "items": [ + { + "type": "function", + "name": "ensure_abi", + "inputs": [ + { + "name": "model", + "type": "pixelaw::apps::snake::app::Snake" + } + ], + "outputs": [], + "state_mutability": "view" + } + ] + }, + { + "type": "event", + "name": "pixelaw::apps::snake::app::snake::Event", + "kind": "enum", + "variants": [] + } +] \ No newline at end of file diff --git a/contracts/manifests/dev/base/abis/models/pixelaw-SnakeSegment-302de0d8.json b/contracts/manifests/dev/base/abis/models/pixelaw-SnakeSegment-302de0d8.json new file mode 100644 index 0000000..7baeb86 --- /dev/null +++ b/contracts/manifests/dev/base/abis/models/pixelaw-SnakeSegment-302de0d8.json @@ -0,0 +1,431 @@ +[ + { + "type": "impl", + "name": "DojoModelImpl", + "interface_name": "dojo::model::model::IModel" + }, + { + "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": "enum", + "name": "core::option::Option::", + "variants": [ + { + "name": "Some", + "type": "core::integer::u32" + }, + { + "name": "None", + "type": "()" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::layout::FieldLayout", + "members": [ + { + "name": "selector", + "type": "core::felt252" + }, + { + "name": "layout", + "type": "dojo::model::layout::Layout" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::layout::Layout", + "variants": [ + { + "name": "Fixed", + "type": "core::array::Span::" + }, + { + "name": "Struct", + "type": "core::array::Span::" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + }, + { + "name": "Enum", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Member", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "ty", + "type": "dojo::model::introspect::Ty" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Struct", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "dojo::model::introspect::Enum", + "members": [ + { + "name": "name", + "type": "core::felt252" + }, + { + "name": "attrs", + "type": "core::array::Span::" + }, + { + "name": "children", + "type": "core::array::Span::<(core::felt252, dojo::model::introspect::Ty)>" + } + ] + }, + { + "type": "struct", + "name": "core::array::Span::", + "members": [ + { + "name": "snapshot", + "type": "@core::array::Array::" + } + ] + }, + { + "type": "enum", + "name": "dojo::model::introspect::Ty", + "variants": [ + { + "name": "Primitive", + "type": "core::felt252" + }, + { + "name": "Struct", + "type": "dojo::model::introspect::Struct" + }, + { + "name": "Enum", + "type": "dojo::model::introspect::Enum" + }, + { + "name": "Tuple", + "type": "core::array::Span::" + }, + { + "name": "Array", + "type": "core::array::Span::" + }, + { + "name": "ByteArray", + "type": "()" + } + ] + }, + { + "type": "interface", + "name": "dojo::model::model::IModel", + "items": [ + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "tag", + "inputs": [], + "outputs": [ + { + "type": "core::byte_array::ByteArray" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "type": "core::integer::u8" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "selector", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "name_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "namespace_hash", + "inputs": [], + "outputs": [ + { + "type": "core::felt252" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "unpacked_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "packed_size", + "inputs": [], + "outputs": [ + { + "type": "core::option::Option::" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "layout", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::layout::Layout" + } + ], + "state_mutability": "view" + }, + { + "type": "function", + "name": "schema", + "inputs": [], + "outputs": [ + { + "type": "dojo::model::introspect::Ty" + } + ], + "state_mutability": "view" + } + ] + }, + { + "type": "impl", + "name": "snake_segmentImpl", + "interface_name": "pixelaw::apps::snake::app::Isnake_segment" + }, + { + "type": "struct", + "name": "pixelaw::apps::snake::app::SnakeSegment", + "members": [ + { + "name": "id", + "type": "core::integer::u32" + }, + { + "name": "previous_id", + "type": "core::integer::u32" + }, + { + "name": "next_id", + "type": "core::integer::u32" + }, + { + "name": "x", + "type": "core::integer::u32" + }, + { + "name": "y", + "type": "core::integer::u32" + }, + { + "name": "pixel_original_color", + "type": "core::integer::u32" + }, + { + "name": "pixel_original_text", + "type": "core::felt252" + }, + { + "name": "pixel_original_app", + "type": "core::starknet::contract_address::ContractAddress" + } + ] + }, + { + "type": "interface", + "name": "pixelaw::apps::snake::app::Isnake_segment", + "items": [ + { + "type": "function", + "name": "ensure_abi", + "inputs": [ + { + "name": "model", + "type": "pixelaw::apps::snake::app::SnakeSegment" + } + ], + "outputs": [], + "state_mutability": "view" + } + ] + }, + { + "type": "event", + "name": "pixelaw::apps::snake::app::snake_segment::Event", + "kind": "enum", + "variants": [] + } +] \ No newline at end of file diff --git a/contracts/manifests/dev/base/contracts/pixelaw-actions-16928a49.toml b/contracts/manifests/dev/base/contracts/pixelaw-actions-16928a49.toml new file mode 100644 index 0000000..5ab4bd2 --- /dev/null +++ b/contracts/manifests/dev/base/contracts/pixelaw-actions-16928a49.toml @@ -0,0 +1,19 @@ +kind = "DojoContract" +class_hash = "0x17d390af6c3b449b52da5a0969a00006a3b7935ffc08192dc8cefdeb563488f" +original_class_hash = "0x17d390af6c3b449b52da5a0969a00006a3b7935ffc08192dc8cefdeb563488f" +base_class_hash = "0x0" +abi = "manifests/dev/base/abis/contracts/pixelaw-actions-16928a49.json" +reads = [] +writes = [] +init_calldata = [] +tag = "pixelaw-actions" +systems = [ + "init", + "update_permission", + "schedule_queue", + "process_queue", + "update_pixel", + "alert_player", + "set_instruction", +] +manifest_name = "pixelaw-actions-16928a49" diff --git a/contracts/manifests/dev/base/contracts/pixelaw-paint_actions-2afb94fe.toml b/contracts/manifests/dev/base/contracts/pixelaw-paint_actions-2afb94fe.toml new file mode 100644 index 0000000..f070524 --- /dev/null +++ b/contracts/manifests/dev/base/contracts/pixelaw-paint_actions-2afb94fe.toml @@ -0,0 +1,19 @@ +kind = "DojoContract" +class_hash = "0x26345888698fbdcfa98dca43542f038a02620c9b485c1487b7e76a21f63aff" +original_class_hash = "0x26345888698fbdcfa98dca43542f038a02620c9b485c1487b7e76a21f63aff" +base_class_hash = "0x0" +abi = "manifests/dev/base/abis/contracts/pixelaw-paint_actions-2afb94fe.json" +reads = [] +writes = [] +init_calldata = [] +tag = "pixelaw-paint_actions" +systems = [ + "on_pre_update", + "on_post_update", + "init", + "interact", + "put_color", + "pixel_row", + "fade", +] +manifest_name = "pixelaw-paint_actions-2afb94fe" diff --git a/contracts/manifests/dev/base/contracts/pixelaw-snake_actions-4f967106.toml b/contracts/manifests/dev/base/contracts/pixelaw-snake_actions-4f967106.toml new file mode 100644 index 0000000..4c8653d --- /dev/null +++ b/contracts/manifests/dev/base/contracts/pixelaw-snake_actions-4f967106.toml @@ -0,0 +1,16 @@ +kind = "DojoContract" +class_hash = "0x6dbe6fed41677edc917050c80b2e15727f48534fd7752e153e7cf74542ebad9" +original_class_hash = "0x6dbe6fed41677edc917050c80b2e15727f48534fd7752e153e7cf74542ebad9" +base_class_hash = "0x0" +abi = "manifests/dev/base/abis/contracts/pixelaw-snake_actions-4f967106.json" +reads = [] +writes = [] +init_calldata = [] +tag = "pixelaw-snake_actions" +systems = [ + "on_pre_update", + "on_post_update", + "init", + "move", +] +manifest_name = "pixelaw-snake_actions-4f967106" diff --git a/contracts/manifests/dev/base/dojo-base.toml b/contracts/manifests/dev/base/dojo-base.toml new file mode 100644 index 0000000..44b3746 --- /dev/null +++ b/contracts/manifests/dev/base/dojo-base.toml @@ -0,0 +1,6 @@ +kind = "Class" +class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2" +original_class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2" +abi = "manifests/dev/base/abis/dojo-base.json" +tag = "dojo-base" +manifest_name = "dojo-base" diff --git a/contracts/manifests/dev/base/dojo-world.toml b/contracts/manifests/dev/base/dojo-world.toml new file mode 100644 index 0000000..fcb2f0e --- /dev/null +++ b/contracts/manifests/dev/base/dojo-world.toml @@ -0,0 +1,6 @@ +kind = "Class" +class_hash = "0x5c4271c8cd454ceb8049d2b0724c99d12c2ef8077fc6ad325b18978f614aab0" +original_class_hash = "0x5c4271c8cd454ceb8049d2b0724c99d12c2ef8077fc6ad325b18978f614aab0" +abi = "manifests/dev/base/abis/dojo-world.json" +tag = "dojo-world" +manifest_name = "dojo-world" diff --git a/contracts/manifests/dev/base/models/pixelaw-App-36504565.toml b/contracts/manifests/dev/base/models/pixelaw-App-36504565.toml new file mode 100644 index 0000000..ce308c9 --- /dev/null +++ b/contracts/manifests/dev/base/models/pixelaw-App-36504565.toml @@ -0,0 +1,27 @@ +kind = "DojoModel" +class_hash = "0x4107d94a66470b68d2e06102c87937c03cca51fafa84a3a4fc45c95a4d2403c" +original_class_hash = "0x4107d94a66470b68d2e06102c87937c03cca51fafa84a3a4fc45c95a4d2403c" +abi = "manifests/dev/base/abis/models/pixelaw-App-36504565.json" +tag = "pixelaw-App" +qualified_path = "pixelaw::core::models::registry::app" +manifest_name = "pixelaw-App-36504565" + +[[members]] +name = "system" +type = "ContractAddress" +key = true + +[[members]] +name = "name" +type = "felt252" +key = false + +[[members]] +name = "icon" +type = "felt252" +key = false + +[[members]] +name = "action" +type = "felt252" +key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-AppName-3b816829.toml b/contracts/manifests/dev/base/models/pixelaw-AppName-3b816829.toml new file mode 100644 index 0000000..d48078e --- /dev/null +++ b/contracts/manifests/dev/base/models/pixelaw-AppName-3b816829.toml @@ -0,0 +1,17 @@ +kind = "DojoModel" +class_hash = "0x7d54c34e9b4215ceaada6950e0b521ef3892de01fbaea2c8323e8c2cf3329c8" +original_class_hash = "0x7d54c34e9b4215ceaada6950e0b521ef3892de01fbaea2c8323e8c2cf3329c8" +abi = "manifests/dev/base/abis/models/pixelaw-AppName-3b816829.json" +tag = "pixelaw-AppName" +qualified_path = "pixelaw::core::models::registry::app_name" +manifest_name = "pixelaw-AppName-3b816829" + +[[members]] +name = "name" +type = "felt252" +key = true + +[[members]] +name = "system" +type = "ContractAddress" +key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-AppUser-4eda3c52.toml b/contracts/manifests/dev/base/models/pixelaw-AppUser-4eda3c52.toml new file mode 100644 index 0000000..426707a --- /dev/null +++ b/contracts/manifests/dev/base/models/pixelaw-AppUser-4eda3c52.toml @@ -0,0 +1,22 @@ +kind = "DojoModel" +class_hash = "0x3d55e23acf8df5ef0c25b76d5a6b7765c241c494af075c7ce3858568bec45f1" +original_class_hash = "0x3d55e23acf8df5ef0c25b76d5a6b7765c241c494af075c7ce3858568bec45f1" +abi = "manifests/dev/base/abis/models/pixelaw-AppUser-4eda3c52.json" +tag = "pixelaw-AppUser" +qualified_path = "pixelaw::core::models::registry::app_user" +manifest_name = "pixelaw-AppUser-4eda3c52" + +[[members]] +name = "system" +type = "ContractAddress" +key = true + +[[members]] +name = "player" +type = "ContractAddress" +key = true + +[[members]] +name = "action" +type = "felt252" +key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-CoreActionsAddress-5379e1ce.toml b/contracts/manifests/dev/base/models/pixelaw-CoreActionsAddress-5379e1ce.toml new file mode 100644 index 0000000..b6eec60 --- /dev/null +++ b/contracts/manifests/dev/base/models/pixelaw-CoreActionsAddress-5379e1ce.toml @@ -0,0 +1,17 @@ +kind = "DojoModel" +class_hash = "0x296cfe5fb82a8b03b4aa78e35955bc70971babeb414d70a6a8acc52a4eacab2" +original_class_hash = "0x296cfe5fb82a8b03b4aa78e35955bc70971babeb414d70a6a8acc52a4eacab2" +abi = "manifests/dev/base/abis/models/pixelaw-CoreActionsAddress-5379e1ce.json" +tag = "pixelaw-CoreActionsAddress" +qualified_path = "pixelaw::core::models::registry::core_actions_address" +manifest_name = "pixelaw-CoreActionsAddress-5379e1ce" + +[[members]] +name = "key" +type = "felt252" +key = true + +[[members]] +name = "value" +type = "ContractAddress" +key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-Instruction-4c7c4844.toml b/contracts/manifests/dev/base/models/pixelaw-Instruction-4c7c4844.toml new file mode 100644 index 0000000..c6a8378 --- /dev/null +++ b/contracts/manifests/dev/base/models/pixelaw-Instruction-4c7c4844.toml @@ -0,0 +1,22 @@ +kind = "DojoModel" +class_hash = "0x710dc73b9f03542890421c368ca53fe61416010f69709337bc7b40b9c3115af" +original_class_hash = "0x710dc73b9f03542890421c368ca53fe61416010f69709337bc7b40b9c3115af" +abi = "manifests/dev/base/abis/models/pixelaw-Instruction-4c7c4844.json" +tag = "pixelaw-Instruction" +qualified_path = "pixelaw::core::models::registry::instruction" +manifest_name = "pixelaw-Instruction-4c7c4844" + +[[members]] +name = "system" +type = "ContractAddress" +key = true + +[[members]] +name = "selector" +type = "felt252" +key = true + +[[members]] +name = "instruction" +type = "felt252" +key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-Permissions-72b77307.toml b/contracts/manifests/dev/base/models/pixelaw-Permissions-72b77307.toml new file mode 100644 index 0000000..e2dd2e5 --- /dev/null +++ b/contracts/manifests/dev/base/models/pixelaw-Permissions-72b77307.toml @@ -0,0 +1,22 @@ +kind = "DojoModel" +class_hash = "0x7083f333ceabd1e174c4f5b129b7d5cfeaccd7b4fcc5ea2e5a264cce7dc302" +original_class_hash = "0x7083f333ceabd1e174c4f5b129b7d5cfeaccd7b4fcc5ea2e5a264cce7dc302" +abi = "manifests/dev/base/abis/models/pixelaw-Permissions-72b77307.json" +tag = "pixelaw-Permissions" +qualified_path = "pixelaw::core::models::permissions::permissions" +manifest_name = "pixelaw-Permissions-72b77307" + +[[members]] +name = "allowing_app" +type = "ContractAddress" +key = true + +[[members]] +name = "allowed_app" +type = "ContractAddress" +key = true + +[[members]] +name = "permission" +type = "Permission" +key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-Pixel-7e607b2f.toml b/contracts/manifests/dev/base/models/pixelaw-Pixel-7e607b2f.toml new file mode 100644 index 0000000..31ddb3b --- /dev/null +++ b/contracts/manifests/dev/base/models/pixelaw-Pixel-7e607b2f.toml @@ -0,0 +1,57 @@ +kind = "DojoModel" +class_hash = "0x71570f33b7f66331952b84691bb5794ee6b19f43ad729cc654c3930f47c5f0d" +original_class_hash = "0x71570f33b7f66331952b84691bb5794ee6b19f43ad729cc654c3930f47c5f0d" +abi = "manifests/dev/base/abis/models/pixelaw-Pixel-7e607b2f.json" +tag = "pixelaw-Pixel" +qualified_path = "pixelaw::core::models::pixel::pixel" +manifest_name = "pixelaw-Pixel-7e607b2f" + +[[members]] +name = "x" +type = "u32" +key = true + +[[members]] +name = "y" +type = "u32" +key = true + +[[members]] +name = "app" +type = "ContractAddress" +key = false + +[[members]] +name = "color" +type = "u32" +key = false + +[[members]] +name = "created_at" +type = "u64" +key = false + +[[members]] +name = "updated_at" +type = "u64" +key = false + +[[members]] +name = "timestamp" +type = "u64" +key = false + +[[members]] +name = "owner" +type = "ContractAddress" +key = false + +[[members]] +name = "text" +type = "felt252" +key = false + +[[members]] +name = "action" +type = "felt252" +key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-QueueItem-549a17f2.toml b/contracts/manifests/dev/base/models/pixelaw-QueueItem-549a17f2.toml new file mode 100644 index 0000000..8e33ac5 --- /dev/null +++ b/contracts/manifests/dev/base/models/pixelaw-QueueItem-549a17f2.toml @@ -0,0 +1,17 @@ +kind = "DojoModel" +class_hash = "0x672114a91934388e6a4950f164dc151894579281f4eab56fe439108fd4fca70" +original_class_hash = "0x672114a91934388e6a4950f164dc151894579281f4eab56fe439108fd4fca70" +abi = "manifests/dev/base/abis/models/pixelaw-QueueItem-549a17f2.json" +tag = "pixelaw-QueueItem" +qualified_path = "pixelaw::core::models::queue::queue_item" +manifest_name = "pixelaw-QueueItem-549a17f2" + +[[members]] +name = "id" +type = "felt252" +key = true + +[[members]] +name = "valid" +type = "bool" +key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-Snake-62b876d4.toml b/contracts/manifests/dev/base/models/pixelaw-Snake-62b876d4.toml new file mode 100644 index 0000000..c26db49 --- /dev/null +++ b/contracts/manifests/dev/base/models/pixelaw-Snake-62b876d4.toml @@ -0,0 +1,47 @@ +kind = "DojoModel" +class_hash = "0x5a3afeed7a51a51cab27a99c9d99064fc467ecdb9a8cc606c4d4899dffb7f6c" +original_class_hash = "0x5a3afeed7a51a51cab27a99c9d99064fc467ecdb9a8cc606c4d4899dffb7f6c" +abi = "manifests/dev/base/abis/models/pixelaw-Snake-62b876d4.json" +tag = "pixelaw-Snake" +qualified_path = "pixelaw::apps::snake::app::snake" +manifest_name = "pixelaw-Snake-62b876d4" + +[[members]] +name = "owner" +type = "ContractAddress" +key = true + +[[members]] +name = "length" +type = "u8" +key = false + +[[members]] +name = "first_segment_id" +type = "u32" +key = false + +[[members]] +name = "last_segment_id" +type = "u32" +key = false + +[[members]] +name = "direction" +type = "Direction" +key = false + +[[members]] +name = "color" +type = "u32" +key = false + +[[members]] +name = "text" +type = "felt252" +key = false + +[[members]] +name = "is_dying" +type = "bool" +key = false diff --git a/contracts/manifests/dev/base/models/pixelaw-SnakeSegment-302de0d8.toml b/contracts/manifests/dev/base/models/pixelaw-SnakeSegment-302de0d8.toml new file mode 100644 index 0000000..b2091d4 --- /dev/null +++ b/contracts/manifests/dev/base/models/pixelaw-SnakeSegment-302de0d8.toml @@ -0,0 +1,47 @@ +kind = "DojoModel" +class_hash = "0x19a1ae61a4fb0ac303e15a4ca4befa5ae3962625eb37f379b941815e321191f" +original_class_hash = "0x19a1ae61a4fb0ac303e15a4ca4befa5ae3962625eb37f379b941815e321191f" +abi = "manifests/dev/base/abis/models/pixelaw-SnakeSegment-302de0d8.json" +tag = "pixelaw-SnakeSegment" +qualified_path = "pixelaw::apps::snake::app::snake_segment" +manifest_name = "pixelaw-SnakeSegment-302de0d8" + +[[members]] +name = "id" +type = "u32" +key = true + +[[members]] +name = "previous_id" +type = "u32" +key = false + +[[members]] +name = "next_id" +type = "u32" +key = false + +[[members]] +name = "x" +type = "u32" +key = false + +[[members]] +name = "y" +type = "u32" +key = false + +[[members]] +name = "pixel_original_color" +type = "u32" +key = false + +[[members]] +name = "pixel_original_text" +type = "felt252" +key = false + +[[members]] +name = "pixel_original_app" +type = "ContractAddress" +key = false diff --git a/contracts/manifests/dev/deployment/manifest.json b/contracts/manifests/dev/deployment/manifest.json index 08c9967..c12fbed 100644 --- a/contracts/manifests/dev/deployment/manifest.json +++ b/contracts/manifests/dev/deployment/manifest.json @@ -1,8 +1,8 @@ { "world": { "kind": "WorldContract", - "class_hash": "0x6f4515274ee23404789c3351a77107d0ec07508530119822046600ca6948d6e", - "original_class_hash": "0x6f4515274ee23404789c3351a77107d0ec07508530119822046600ca6948d6e", + "class_hash": "0x5c4271c8cd454ceb8049d2b0724c99d12c2ef8077fc6ad325b18978f614aab0", + "original_class_hash": "0x5c4271c8cd454ceb8049d2b0724c99d12c2ef8077fc6ad325b18978f614aab0", "abi": [ { "type": "impl", @@ -1234,8 +1234,8 @@ ] } ], - "address": "0x263ae44e5414519a5c5a135cccaf3d9d7ee196d37e8de47a178da91f3de9b34", - "transaction_hash": "0x3f0a3ef84b6c8c32b8b2169f3d9cba4206e0704e8f780d0e3e35747123c56fc", + "address": "0x29861a9e7b2e8414e13c97819ff2b62f1245932abe8f05b3c6e58ad42a1d243", + "transaction_hash": "0x5ece9d6772ba3916ab7f14b93012f3891082bcb2aebe6a278842024a9c43d57", "block_number": 3, "seed": "pixelaw", "metadata": { @@ -1255,7 +1255,7 @@ "contracts": [ { "kind": "DojoContract", - "address": "0x6c2ffdd97cb5a1bca13de416adb23a1d0e24ae3c805114b2100f6af95a7f60e", + "address": "0x69101f6d916d1d992e4964696cd07d3cde9a1a9687d58b5db0af816465c0cc6", "class_hash": "0x17d390af6c3b449b52da5a0969a00006a3b7935ffc08192dc8cefdeb563488f", "original_class_hash": "0x17d390af6c3b449b52da5a0969a00006a3b7935ffc08192dc8cefdeb563488f", "base_class_hash": "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2", @@ -2060,7 +2060,7 @@ }, { "kind": "DojoContract", - "address": "0x41b6ece4125198c4de0d9d7efa2fad0af34376178b2c0a5a4487c676f35d5c6", + "address": "0x5eb3a0500622b2c8495d1c0756cda60353816e7099042dd52643b9c29baf64f", "class_hash": "0x26345888698fbdcfa98dca43542f038a02620c9b485c1487b7e76a21f63aff", "original_class_hash": "0x26345888698fbdcfa98dca43542f038a02620c9b485c1487b7e76a21f63aff", "base_class_hash": "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2", @@ -2572,7 +2572,7 @@ }, { "kind": "DojoContract", - "address": "0x7e90101cb87a2f0b670204fa83f70d42a48c64ef10ddf0aaf9862d84b4bc9df", + "address": "0x59180b232ad2ba9cb78adc01d84e4905cf847583c314b1cce2d8a2963d1515a", "class_hash": "0x6dbe6fed41677edc917050c80b2e15727f48534fd7752e153e7cf74542ebad9", "original_class_hash": "0x6dbe6fed41677edc917050c80b2e15727f48534fd7752e153e7cf74542ebad9", "base_class_hash": "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2", diff --git a/contracts/manifests/dev/deployment/manifest.toml b/contracts/manifests/dev/deployment/manifest.toml index 748cc48..b08becc 100644 --- a/contracts/manifests/dev/deployment/manifest.toml +++ b/contracts/manifests/dev/deployment/manifest.toml @@ -1,10 +1,10 @@ [world] kind = "WorldContract" -class_hash = "0x6f4515274ee23404789c3351a77107d0ec07508530119822046600ca6948d6e" -original_class_hash = "0x6f4515274ee23404789c3351a77107d0ec07508530119822046600ca6948d6e" +class_hash = "0x5c4271c8cd454ceb8049d2b0724c99d12c2ef8077fc6ad325b18978f614aab0" +original_class_hash = "0x5c4271c8cd454ceb8049d2b0724c99d12c2ef8077fc6ad325b18978f614aab0" abi = "manifests/dev/deployment/abis/dojo-world.json" -address = "0x263ae44e5414519a5c5a135cccaf3d9d7ee196d37e8de47a178da91f3de9b34" -transaction_hash = "0x3f0a3ef84b6c8c32b8b2169f3d9cba4206e0704e8f780d0e3e35747123c56fc" +address = "0x29861a9e7b2e8414e13c97819ff2b62f1245932abe8f05b3c6e58ad42a1d243" +transaction_hash = "0x5ece9d6772ba3916ab7f14b93012f3891082bcb2aebe6a278842024a9c43d57" block_number = 3 seed = "pixelaw" manifest_name = "dojo-world" @@ -23,7 +23,7 @@ manifest_name = "dojo-base" [[contracts]] kind = "DojoContract" -address = "0x6c2ffdd97cb5a1bca13de416adb23a1d0e24ae3c805114b2100f6af95a7f60e" +address = "0x69101f6d916d1d992e4964696cd07d3cde9a1a9687d58b5db0af816465c0cc6" class_hash = "0x17d390af6c3b449b52da5a0969a00006a3b7935ffc08192dc8cefdeb563488f" original_class_hash = "0x17d390af6c3b449b52da5a0969a00006a3b7935ffc08192dc8cefdeb563488f" base_class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2" @@ -54,7 +54,7 @@ manifest_name = "pixelaw-actions-16928a49" [[contracts]] kind = "DojoContract" -address = "0x41b6ece4125198c4de0d9d7efa2fad0af34376178b2c0a5a4487c676f35d5c6" +address = "0x5eb3a0500622b2c8495d1c0756cda60353816e7099042dd52643b9c29baf64f" class_hash = "0x26345888698fbdcfa98dca43542f038a02620c9b485c1487b7e76a21f63aff" original_class_hash = "0x26345888698fbdcfa98dca43542f038a02620c9b485c1487b7e76a21f63aff" base_class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2" @@ -76,7 +76,7 @@ manifest_name = "pixelaw-paint_actions-2afb94fe" [[contracts]] kind = "DojoContract" -address = "0x7e90101cb87a2f0b670204fa83f70d42a48c64ef10ddf0aaf9862d84b4bc9df" +address = "0x59180b232ad2ba9cb78adc01d84e4905cf847583c314b1cce2d8a2963d1515a" class_hash = "0x6dbe6fed41677edc917050c80b2e15727f48534fd7752e153e7cf74542ebad9" original_class_hash = "0x6dbe6fed41677edc917050c80b2e15727f48534fd7752e153e7cf74542ebad9" base_class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2"