Skip to content

Commit 412ed86

Browse files
committed
Fixed up bot
1 parent f92fc91 commit 412ed86

6 files changed

Lines changed: 174 additions & 169 deletions

File tree

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@
1010
"build:watch": "tsc -p tsconfig.node.json --watch",
1111
"start": "ts-node -P tsconfig.node.json src/index.ts start",
1212
"cli": "ts-node -P tsconfig.node.json src/index.ts",
13-
"deploy": "wrangler deploy",
14-
"dev": "wrangler dev --port 8888",
1513
"dev:node": "npm start",
1614
"test": "vitest",
1715
"test:run": "vitest --run",
18-
"test:watch": "vitest",
19-
"cf-typegen": "wrangler types"
16+
"test:watch": "vitest"
2017
},
2118
"devDependencies": {
2219
"@types/node": "^20.0.0",

src/contracts/abis/Act.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -203,15 +203,15 @@
203203
},
204204
{
205205
"type": "function",
206-
"name": "chooseDoor",
206+
"name": "chooseRoom",
207207
"inputs": [
208208
{
209209
"name": "_partyId",
210210
"type": "uint256",
211211
"internalType": "uint256"
212212
},
213213
{
214-
"name": "_chosenDoorIndex",
214+
"name": "_chosenRoomIndex",
215215
"type": "uint256",
216216
"internalType": "uint256"
217217
}
@@ -324,7 +324,7 @@
324324
},
325325
{
326326
"type": "function",
327-
"name": "enterDoor",
327+
"name": "enterRoom",
328328
"inputs": [
329329
{
330330
"name": "_partyId",
@@ -1063,10 +1063,10 @@
10631063
"internalType": "uint256"
10641064
},
10651065
{
1066-
"name": "doorIndex",
1067-
"type": "uint256",
1066+
"name": "roomHash",
1067+
"type": "bytes32",
10681068
"indexed": true,
1069-
"internalType": "uint256"
1069+
"internalType": "bytes32"
10701070
}
10711071
],
10721072
"anonymous": false
@@ -1304,17 +1304,17 @@
13041304
},
13051305
{
13061306
"type": "error",
1307-
"name": "InvalidDoorIndexError",
1307+
"name": "InvalidOperator",
13081308
"inputs": []
13091309
},
13101310
{
13111311
"type": "error",
1312-
"name": "InvalidOperator",
1312+
"name": "InvalidPartyStateError",
13131313
"inputs": []
13141314
},
13151315
{
13161316
"type": "error",
1317-
"name": "InvalidPartyStateError",
1317+
"name": "InvalidRoomIndexError",
13181318
"inputs": []
13191319
},
13201320
{

src/contracts/abis/Ziggurat.json

Whitespace-only changes.

src/contracts/deployments.json

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,74 @@
11
[
22
{
33
"contractName": "Battle",
4-
"contractAddress": "0x81d6e3b5e1fe5ef2122772415d046ded68a61c12",
5-
"transactionHash": "0x938ad6f12d8342c1d27cc0bfe9ff71120ca59adcdcd0fe4173412b7183249245",
6-
"blockNumber": "0x5777c4"
4+
"contractAddress": "0x352833549c56b9c56dff43ace66ea8a09d2f11ec",
5+
"transactionHash": "0xcd4d0bec22819789062e329e4f6f0c14ee241254154a3d1d31a598b70bbda2d9",
6+
"blockNumber": "0x59caa5"
77
},
88
{
99
"contractName": "StandardDeck",
10-
"contractAddress": "0x78c66f7edcddcbde3d07f14405b8d60ffc5df300",
11-
"transactionHash": "0xf8a322d283403f0e22614a9e37fd3f29107595f715365ea6c1c1fe4c2715b7fc",
12-
"blockNumber": "0x5777c5"
10+
"contractAddress": "0x9667349aa02118e3c6b848c38f4d3c2041eff218",
11+
"transactionHash": "0x6894166b42c7e9c8ddca840b181aeec738d5d3e636beea95c7761af0a24534e4",
12+
"blockNumber": "0x59caa6"
1313
},
1414
{
1515
"contractName": "StandardDeckLogic",
16-
"contractAddress": "0xc2bd0698baa2ca6b235f1004e201185afe408f0d",
17-
"transactionHash": "0x85ba97c7fa082c98c88b9346278c8a7ecfe8354b174468cc4ae3036bc9e110e2",
18-
"blockNumber": "0x5777c5"
16+
"contractAddress": "0xf3c8acdb60c5c374a5ee563f8e61644ad6d95917",
17+
"transactionHash": "0x504c80d73f59dcfb43fe24d04f7fd542fe1ad36a3282c2e505a3cce456ebdbad",
18+
"blockNumber": "0x59caa7"
1919
},
2020
{
2121
"contractName": "DeckConfiguration",
22-
"contractAddress": "0x7b46e7b0abcc032cc781ebb6ca351fac6fa1ff47",
23-
"transactionHash": "0x6e144ed8d18d2dba739bfb0da5870984d71ebfa78a539bb03504e895a2a6b816",
24-
"blockNumber": "0x5777c5"
22+
"contractAddress": "0x106b339dcdabd4d56541fd38bb70c97a152bcf11",
23+
"transactionHash": "0xd87c98a66a415361da0cd33eaed5bec02875925d96ad870ae737ffee4ceb619b",
24+
"blockNumber": "0x59caa7"
2525
},
2626
{
2727
"contractName": "Minter",
28-
"contractAddress": "0x279ab104252d559ba8e779710f7a67807b72f61c",
29-
"transactionHash": "0xbeba1c89feafcb3a2ed0e13637d919bbaa14edd9d0215bace719769a3211f218",
30-
"blockNumber": "0x5777c5"
28+
"contractAddress": "0xbc0a9d456ac9935a92e3a8a16a924adab836d03a",
29+
"transactionHash": "0xcc28c4d8fb8ab3cb4594861e3b8e3ee083c6a625019918665bd1e93b8408e22b",
30+
"blockNumber": "0x59caa7"
3131
},
3232
{
3333
"contractName": "BattleFactory",
34-
"contractAddress": "0xd22e574ada6df27794cdab2969b177fa067cca3c",
35-
"transactionHash": "0xc0c25811766049bcc3c4492b6f6fdc25b78d89890def8824d797a561a876588a",
36-
"blockNumber": "0x5777c5"
34+
"contractAddress": "0x006368bd5c1beb2736722b4a4bf14e0fcea076a4",
35+
"transactionHash": "0xb0f94bb610b90512189e3ec42cf7cb3375f90133898ef377a5a9be9d682b4191",
36+
"blockNumber": "0x59caa7"
3737
},
3838
{
3939
"contractName": "MonsterRegistry",
40-
"contractAddress": "0x19479546f8a1eb32a6a3cd11f9f066eb97332f1e",
41-
"transactionHash": "0x1848e91ecd40f7b7217dbb25d7a191df016c8050d7e51d3ae36238a696fc9847",
42-
"blockNumber": "0x5777c6"
40+
"contractAddress": "0x93508f174aba17602234b67e286bcacf6a30e2f3",
41+
"transactionHash": "0x9290597a73bda479d8f788efdca0224beee1bb5d9df3d4517ad3cd7c2f5a4c63",
42+
"blockNumber": "0x59caa7"
4343
},
4444
{
4545
"contractName": "CharacterFactory",
46-
"contractAddress": "0x813857538934a9621b255d3f19536bcdedbc258b",
47-
"transactionHash": "0x058481861970b0dbf26cd024e3d97a3ff4fb0328e89dde377f4233f61c672007",
48-
"blockNumber": "0x5777c6"
46+
"contractAddress": "0x0dafcd38f5edca3345de16542197ae5319ae46e0",
47+
"transactionHash": "0xae6e1a466848778977c21dbab456e9793e7c54c756b4720ffadd7b662f1f742e",
48+
"blockNumber": "0x59caa8"
4949
},
5050
{
5151
"contractName": "PlayerDeckManager",
52-
"contractAddress": "0x20bf1cf448e59d84ffc263371a5b3346fe3fc9bf",
53-
"transactionHash": "0xd120f784444eb232c9ebac3d138ad58f65c26f3abeecdf76ffb182494a1765c1",
54-
"blockNumber": "0x5777c6"
52+
"contractAddress": "0x8706f5eb7cc02bc2f16c3516635457b954f933da",
53+
"transactionHash": "0x0ab5c861cd4a6cdba8780828231d9a8cdfee78defdcab429c9102274a17367e5",
54+
"blockNumber": "0x59caa8"
5555
},
5656
{
5757
"contractName": "Season",
58-
"contractAddress": "0x3b37250e5be6e8274eb350281b206b258f935a88",
59-
"transactionHash": "0x9e0d9faa7eb27e3af85dd73da9d26dc9e350fa413793a9aad07cb973347ac509",
60-
"blockNumber": "0x5777c6"
58+
"contractAddress": "0x5b131a8f4fcf63004e3c4ae5943e20e27ec2b90b",
59+
"transactionHash": "0x542c814ad6dacb6ef081f75a0aad658a6676bc6e2c9ca7f254803e39b83808ef",
60+
"blockNumber": "0x59caa8"
6161
},
6262
{
6363
"contractName": "Act",
64-
"contractAddress": "0x9ddbedb28cd25d210aa3e3e18be9359164517983",
65-
"transactionHash": "0x4095667692c2d91f9b02fa91970d086ebaaaa07a7321c48bcce332f37ee1bcf2",
66-
"blockNumber": "0x5777c7"
64+
"contractAddress": "0xc0d308acbe59ae3cff4c44d313097aaa06f97222",
65+
"transactionHash": "0x7f8e5b73425ac40d85a2791e154ed79e1030c736f705bfbf7858ec965d344174",
66+
"blockNumber": "0x59caa9"
6767
},
6868
{
6969
"contractName": "RoomRewards",
70-
"contractAddress": "0x5e822076560931979718b5ef3c360a02a1449cd0",
71-
"transactionHash": "0x7dab3b6b4e88951f541b85dc287e3ab1c87c2328188cdfc9ef0581b62adde1f0",
72-
"blockNumber": "0x5777cd"
70+
"contractAddress": "0x9e3fecf3cfe5913e79f3eaaa942c23493650fe33",
71+
"transactionHash": "0xf9432334a7a71ad29c3563f59303e1ab67f45820f96de4888de6807dead9c5e9",
72+
"blockNumber": "0x59caaf"
7373
}
7474
]

0 commit comments

Comments
 (0)