@latticexyz/world-modules 2.0.0-main-2b8c0bcc → 2.0.0-main-9448c3f1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/out/ERC20.t.sol/ERC20Test.json +1 -1
  2. package/out/ERC721.t.sol/ERC721Recipient.json +1 -1
  3. package/out/ERC721.t.sol/ERC721Test.json +1 -1
  4. package/out/ERC721.t.sol/ERC721TokenReceiver.json +1 -1
  5. package/out/ERC721.t.sol/NonERC721Recipient.json +1 -1
  6. package/out/ERC721.t.sol/RevertingERC721Recipient.json +1 -1
  7. package/out/ERC721.t.sol/WrongReturnDataERC721Recipient.json +1 -1
  8. package/out/KeysInTableModule.t.sol/KeysInTableModuleTest.json +1 -1
  9. package/out/KeysWithValueModule.t.sol/KeysWithValueModuleTest.json +1 -1
  10. package/out/PuppetModule.t.sol/PuppetModuleTest.json +1 -1
  11. package/out/PuppetModule.t.sol/PuppetTestSystem.json +1 -1
  12. package/out/StandardDelegationsModule.t.sol/StandardDelegationsModuleTest.json +1 -1
  13. package/out/SystemSwitch.sol/SystemSwitch.json +1 -1
  14. package/out/SystemSwitch.t.sol/EchoSystem.abi.json +98 -1
  15. package/out/SystemSwitch.t.sol/EchoSystem.abi.json.d.ts +98 -1
  16. package/out/SystemSwitch.t.sol/EchoSystem.json +1 -1
  17. package/out/SystemSwitch.t.sol/SystemSwitchTest.abi.json +59 -15
  18. package/out/SystemSwitch.t.sol/SystemSwitchTest.abi.json.d.ts +59 -15
  19. package/out/SystemSwitch.t.sol/SystemSwitchTest.json +1 -1
  20. package/out/UniqueEntityModule.t.sol/UniqueEntityModuleTest.json +1 -1
  21. package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.abi.json +68 -0
  22. package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.abi.json.d.ts +68 -0
  23. package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.json +1 -1
  24. package/out/getUniqueEntity.sol/getUniqueEntity.json +1 -1
  25. package/out/query.t.sol/QueryTest.json +1 -1
  26. package/out/registerERC721.sol/registerERC721.json +1 -1
  27. package/package.json +8 -8
  28. package/src/utils/SystemSwitch.sol +6 -9
@@ -70,6 +70,74 @@
70
70
  ],
71
71
  "stateMutability": "pure"
72
72
  },
73
+ {
74
+ "type": "event",
75
+ "name": "Store_SpliceStaticData",
76
+ "inputs": [
77
+ {
78
+ "name": "tableId",
79
+ "type": "bytes32",
80
+ "indexed": true,
81
+ "internalType": "ResourceId"
82
+ },
83
+ {
84
+ "name": "keyTuple",
85
+ "type": "bytes32[]",
86
+ "indexed": false,
87
+ "internalType": "bytes32[]"
88
+ },
89
+ {
90
+ "name": "start",
91
+ "type": "uint48",
92
+ "indexed": false,
93
+ "internalType": "uint48"
94
+ },
95
+ {
96
+ "name": "data",
97
+ "type": "bytes",
98
+ "indexed": false,
99
+ "internalType": "bytes"
100
+ }
101
+ ],
102
+ "anonymous": false
103
+ },
104
+ {
105
+ "type": "error",
106
+ "name": "Slice_OutOfBounds",
107
+ "inputs": [
108
+ {
109
+ "name": "data",
110
+ "type": "bytes",
111
+ "internalType": "bytes"
112
+ },
113
+ {
114
+ "name": "start",
115
+ "type": "uint256",
116
+ "internalType": "uint256"
117
+ },
118
+ {
119
+ "name": "end",
120
+ "type": "uint256",
121
+ "internalType": "uint256"
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "type": "error",
127
+ "name": "World_AccessDenied",
128
+ "inputs": [
129
+ {
130
+ "name": "resource",
131
+ "type": "string",
132
+ "internalType": "string"
133
+ },
134
+ {
135
+ "name": "caller",
136
+ "type": "address",
137
+ "internalType": "address"
138
+ }
139
+ ]
140
+ },
73
141
  {
74
142
  "type": "error",
75
143
  "name": "World_ResourceNotFound",
@@ -70,6 +70,74 @@ declare const abi: [
70
70
  ],
71
71
  "stateMutability": "pure"
72
72
  },
73
+ {
74
+ "type": "event",
75
+ "name": "Store_SpliceStaticData",
76
+ "inputs": [
77
+ {
78
+ "name": "tableId",
79
+ "type": "bytes32",
80
+ "indexed": true,
81
+ "internalType": "ResourceId"
82
+ },
83
+ {
84
+ "name": "keyTuple",
85
+ "type": "bytes32[]",
86
+ "indexed": false,
87
+ "internalType": "bytes32[]"
88
+ },
89
+ {
90
+ "name": "start",
91
+ "type": "uint48",
92
+ "indexed": false,
93
+ "internalType": "uint48"
94
+ },
95
+ {
96
+ "name": "data",
97
+ "type": "bytes",
98
+ "indexed": false,
99
+ "internalType": "bytes"
100
+ }
101
+ ],
102
+ "anonymous": false
103
+ },
104
+ {
105
+ "type": "error",
106
+ "name": "Slice_OutOfBounds",
107
+ "inputs": [
108
+ {
109
+ "name": "data",
110
+ "type": "bytes",
111
+ "internalType": "bytes"
112
+ },
113
+ {
114
+ "name": "start",
115
+ "type": "uint256",
116
+ "internalType": "uint256"
117
+ },
118
+ {
119
+ "name": "end",
120
+ "type": "uint256",
121
+ "internalType": "uint256"
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "type": "error",
127
+ "name": "World_AccessDenied",
128
+ "inputs": [
129
+ {
130
+ "name": "resource",
131
+ "type": "string",
132
+ "internalType": "string"
133
+ },
134
+ {
135
+ "name": "caller",
136
+ "type": "address",
137
+ "internalType": "address"
138
+ }
139
+ ]
140
+ },
73
141
  {
74
142
  "type": "error",
75
143
  "name": "World_ResourceNotFound",