@latticexyz/world-module-erc20 2.2.20 → 2.2.21-1d354b89f3aeb28e9dc085bdde27647a7ba6d8ae
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.
- package/dist/{ccip-VJWDNI4X.js → ccip-VIBPEQNI.js} +3 -3
- package/dist/{chunk-2VXHCW2O.js → chunk-M5FHJZR5.js} +37 -30
- package/dist/chunk-M5FHJZR5.js.map +1 -0
- package/dist/{chunk-LIWKL347.js → chunk-XE443CMG.js} +305 -249
- package/dist/chunk-XE443CMG.js.map +1 -0
- package/dist/internal.js +2 -2
- package/dist/{secp256k1-XVT662DN.js → secp256k1-QT34R5PW.js} +507 -428
- package/dist/secp256k1-QT34R5PW.js.map +1 -0
- package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
- package/out/Constants.sol/ERC20TableNames.json +1 -1
- package/out/Constants.sol/ModuleConstants.json +1 -1
- package/out/Constants.sol/PausableTableNames.json +1 -1
- package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.abi.json +324 -0
- package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.abi.json.d.ts +324 -0
- package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.json +1 -1
- package/out/ERC20BaseTest.t.sol/ERC20Test.abi.json +324 -0
- package/out/ERC20BaseTest.t.sol/ERC20Test.abi.json.d.ts +324 -0
- package/out/ERC20BaseTest.t.sol/ERC20Test.json +1 -1
- package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json +21 -280
- package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json.d.ts +21 -280
- package/out/ERC20BaseTest.t.sol/MockERC20Base.json +1 -1
- package/out/ERC20Burnable.sol/ERC20Burnable.abi.json +8 -317
- package/out/ERC20Burnable.sol/ERC20Burnable.abi.json.d.ts +8 -317
- package/out/ERC20Burnable.sol/ERC20Burnable.json +1 -1
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json +324 -0
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json.d.ts +324 -0
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.json +1 -1
- package/out/ERC20Burnable.t.sol/MockERC20Burnable.abi.json +25 -279
- package/out/ERC20Burnable.t.sol/MockERC20Burnable.abi.json.d.ts +25 -279
- package/out/ERC20Burnable.t.sol/MockERC20Burnable.json +1 -1
- package/out/ERC20Module.sol/ERC20Module.json +1 -1
- package/out/ERC20Module.sol/ERC20ModuleLib.json +1 -0
- package/out/ERC20Module.t.sol/ERC20ModuleTest.json +1 -1
- package/out/ERC20Module.t.sol/TestConstants.json +1 -1
- package/out/ERC20Pausable.sol/ERC20Pausable.abi.json +8 -317
- package/out/ERC20Pausable.sol/ERC20Pausable.abi.json.d.ts +8 -317
- package/out/ERC20Pausable.sol/ERC20Pausable.json +1 -1
- package/out/ERC20Pausable.t.sol/{ERC20PausableBehaviorTest.abi.json → ERC20PausableTest.abi.json} +324 -0
- package/out/ERC20Pausable.t.sol/{ERC20PausableBehaviorTest.abi.json.d.ts → ERC20PausableTest.abi.json.d.ts} +324 -0
- package/out/ERC20Pausable.t.sol/ERC20PausableTest.json +1 -0
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json +25 -279
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json.d.ts +25 -279
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.json +1 -1
- package/out/ERC20PausableBurnable.sol/ERC20PausableBurnable.abi.json +50 -284
- package/out/ERC20PausableBurnable.sol/ERC20PausableBurnable.abi.json.d.ts +50 -284
- package/out/ERC20PausableBurnable.sol/ERC20PausableBurnable.json +1 -1
- package/out/InitModule.sol/InitModule.json +1 -1
- package/out/MUDERC20.sol/MUDERC20.abi.json +8 -317
- package/out/MUDERC20.sol/MUDERC20.abi.json.d.ts +8 -317
- package/out/MUDERC20.sol/MUDERC20.json +1 -1
- package/out/Pausable.sol/Pausable.abi.json +8 -369
- package/out/Pausable.sol/Pausable.abi.json.d.ts +8 -369
- package/out/Pausable.sol/Pausable.json +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
- package/out/World.sol/World.json +1 -1
- package/out/WorldConsumer.sol/WorldConsumer.abi.json +8 -45
- package/out/WorldConsumer.sol/WorldConsumer.abi.json.d.ts +8 -45
- package/out/WorldConsumer.sol/WorldConsumer.json +1 -1
- package/out/build-info/{575e1001b22e51590748b4ce55e7c596.json → 5dec426f2d87057b9b49f18296a28057.json} +1 -1
- package/package.json +8 -8
- package/src/examples/ERC20PausableBurnable.sol +21 -8
- package/src/experimental/Constants.sol +0 -4
- package/src/experimental/ERC20Module.sol +46 -9
- package/src/experimental/ERC20Pausable.sol +3 -0
- package/src/experimental/MUDERC20.sol +24 -29
- package/src/experimental/Pausable.sol +15 -15
- package/dist/chunk-2VXHCW2O.js.map +0 -1
- package/dist/chunk-LIWKL347.js.map +0 -1
- package/dist/secp256k1-XVT662DN.js.map +0 -1
- package/out/Constants.sol/OwnableTableNames.abi.json +0 -1
- package/out/Constants.sol/OwnableTableNames.json +0 -1
- package/out/ERC20BaseTest.t.sol/TestConstants.abi.json +0 -1
- package/out/ERC20BaseTest.t.sol/TestConstants.json +0 -1
- package/out/ERC20Module.sol/ERC20RegistryLib.json +0 -1
- package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.json +0 -1
- /package/dist/{ccip-VJWDNI4X.js.map → ccip-VIBPEQNI.js.map} +0 -0
- /package/out/ERC20Module.sol/{ERC20RegistryLib.abi.json → ERC20ModuleLib.abi.json} +0 -0
- /package/out/ERC20Module.sol/{ERC20RegistryLib.abi.json.d.ts → ERC20ModuleLib.abi.json.d.ts} +0 -0
package/out/ERC20Pausable.t.sol/{ERC20PausableBehaviorTest.abi.json → ERC20PausableTest.abi.json}
RENAMED
|
@@ -485,6 +485,74 @@
|
|
|
485
485
|
],
|
|
486
486
|
"anonymous": false
|
|
487
487
|
},
|
|
488
|
+
{
|
|
489
|
+
"type": "event",
|
|
490
|
+
"name": "Store_SetRecord",
|
|
491
|
+
"inputs": [
|
|
492
|
+
{
|
|
493
|
+
"name": "tableId",
|
|
494
|
+
"type": "bytes32",
|
|
495
|
+
"indexed": true,
|
|
496
|
+
"internalType": "ResourceId"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"name": "keyTuple",
|
|
500
|
+
"type": "bytes32[]",
|
|
501
|
+
"indexed": false,
|
|
502
|
+
"internalType": "bytes32[]"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "staticData",
|
|
506
|
+
"type": "bytes",
|
|
507
|
+
"indexed": false,
|
|
508
|
+
"internalType": "bytes"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"name": "encodedLengths",
|
|
512
|
+
"type": "bytes32",
|
|
513
|
+
"indexed": false,
|
|
514
|
+
"internalType": "EncodedLengths"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "dynamicData",
|
|
518
|
+
"type": "bytes",
|
|
519
|
+
"indexed": false,
|
|
520
|
+
"internalType": "bytes"
|
|
521
|
+
}
|
|
522
|
+
],
|
|
523
|
+
"anonymous": false
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"type": "event",
|
|
527
|
+
"name": "Store_SpliceStaticData",
|
|
528
|
+
"inputs": [
|
|
529
|
+
{
|
|
530
|
+
"name": "tableId",
|
|
531
|
+
"type": "bytes32",
|
|
532
|
+
"indexed": true,
|
|
533
|
+
"internalType": "ResourceId"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"name": "keyTuple",
|
|
537
|
+
"type": "bytes32[]",
|
|
538
|
+
"indexed": false,
|
|
539
|
+
"internalType": "bytes32[]"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "start",
|
|
543
|
+
"type": "uint48",
|
|
544
|
+
"indexed": false,
|
|
545
|
+
"internalType": "uint48"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"name": "data",
|
|
549
|
+
"type": "bytes",
|
|
550
|
+
"indexed": false,
|
|
551
|
+
"internalType": "bytes"
|
|
552
|
+
}
|
|
553
|
+
],
|
|
554
|
+
"anonymous": false
|
|
555
|
+
},
|
|
488
556
|
{
|
|
489
557
|
"type": "event",
|
|
490
558
|
"name": "Transfer",
|
|
@@ -959,5 +1027,261 @@
|
|
|
959
1027
|
"internalType": "address"
|
|
960
1028
|
}
|
|
961
1029
|
]
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"type": "error",
|
|
1033
|
+
"name": "FieldLayout_Empty",
|
|
1034
|
+
"inputs": []
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"type": "error",
|
|
1038
|
+
"name": "FieldLayout_InvalidStaticDataLength",
|
|
1039
|
+
"inputs": [
|
|
1040
|
+
{
|
|
1041
|
+
"name": "staticDataLength",
|
|
1042
|
+
"type": "uint256",
|
|
1043
|
+
"internalType": "uint256"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"name": "computedStaticDataLength",
|
|
1047
|
+
"type": "uint256",
|
|
1048
|
+
"internalType": "uint256"
|
|
1049
|
+
}
|
|
1050
|
+
]
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"type": "error",
|
|
1054
|
+
"name": "FieldLayout_StaticLengthDoesNotFitInAWord",
|
|
1055
|
+
"inputs": [
|
|
1056
|
+
{
|
|
1057
|
+
"name": "index",
|
|
1058
|
+
"type": "uint256",
|
|
1059
|
+
"internalType": "uint256"
|
|
1060
|
+
}
|
|
1061
|
+
]
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"type": "error",
|
|
1065
|
+
"name": "FieldLayout_StaticLengthIsNotZero",
|
|
1066
|
+
"inputs": [
|
|
1067
|
+
{
|
|
1068
|
+
"name": "index",
|
|
1069
|
+
"type": "uint256",
|
|
1070
|
+
"internalType": "uint256"
|
|
1071
|
+
}
|
|
1072
|
+
]
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"type": "error",
|
|
1076
|
+
"name": "FieldLayout_StaticLengthIsZero",
|
|
1077
|
+
"inputs": [
|
|
1078
|
+
{
|
|
1079
|
+
"name": "index",
|
|
1080
|
+
"type": "uint256",
|
|
1081
|
+
"internalType": "uint256"
|
|
1082
|
+
}
|
|
1083
|
+
]
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"type": "error",
|
|
1087
|
+
"name": "FieldLayout_TooManyDynamicFields",
|
|
1088
|
+
"inputs": [
|
|
1089
|
+
{
|
|
1090
|
+
"name": "numFields",
|
|
1091
|
+
"type": "uint256",
|
|
1092
|
+
"internalType": "uint256"
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"name": "maxFields",
|
|
1096
|
+
"type": "uint256",
|
|
1097
|
+
"internalType": "uint256"
|
|
1098
|
+
}
|
|
1099
|
+
]
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"type": "error",
|
|
1103
|
+
"name": "FieldLayout_TooManyFields",
|
|
1104
|
+
"inputs": [
|
|
1105
|
+
{
|
|
1106
|
+
"name": "numFields",
|
|
1107
|
+
"type": "uint256",
|
|
1108
|
+
"internalType": "uint256"
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
"name": "maxFields",
|
|
1112
|
+
"type": "uint256",
|
|
1113
|
+
"internalType": "uint256"
|
|
1114
|
+
}
|
|
1115
|
+
]
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"type": "error",
|
|
1119
|
+
"name": "Schema_InvalidLength",
|
|
1120
|
+
"inputs": [
|
|
1121
|
+
{
|
|
1122
|
+
"name": "length",
|
|
1123
|
+
"type": "uint256",
|
|
1124
|
+
"internalType": "uint256"
|
|
1125
|
+
}
|
|
1126
|
+
]
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"type": "error",
|
|
1130
|
+
"name": "Schema_StaticTypeAfterDynamicType",
|
|
1131
|
+
"inputs": []
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"type": "error",
|
|
1135
|
+
"name": "Slice_OutOfBounds",
|
|
1136
|
+
"inputs": [
|
|
1137
|
+
{
|
|
1138
|
+
"name": "data",
|
|
1139
|
+
"type": "bytes",
|
|
1140
|
+
"internalType": "bytes"
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"name": "start",
|
|
1144
|
+
"type": "uint256",
|
|
1145
|
+
"internalType": "uint256"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"name": "end",
|
|
1149
|
+
"type": "uint256",
|
|
1150
|
+
"internalType": "uint256"
|
|
1151
|
+
}
|
|
1152
|
+
]
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
"type": "error",
|
|
1156
|
+
"name": "Store_InvalidFieldNamesLength",
|
|
1157
|
+
"inputs": [
|
|
1158
|
+
{
|
|
1159
|
+
"name": "expected",
|
|
1160
|
+
"type": "uint256",
|
|
1161
|
+
"internalType": "uint256"
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"name": "received",
|
|
1165
|
+
"type": "uint256",
|
|
1166
|
+
"internalType": "uint256"
|
|
1167
|
+
}
|
|
1168
|
+
]
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"type": "error",
|
|
1172
|
+
"name": "Store_InvalidKeyNamesLength",
|
|
1173
|
+
"inputs": [
|
|
1174
|
+
{
|
|
1175
|
+
"name": "expected",
|
|
1176
|
+
"type": "uint256",
|
|
1177
|
+
"internalType": "uint256"
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
"name": "received",
|
|
1181
|
+
"type": "uint256",
|
|
1182
|
+
"internalType": "uint256"
|
|
1183
|
+
}
|
|
1184
|
+
]
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"type": "error",
|
|
1188
|
+
"name": "Store_InvalidResourceType",
|
|
1189
|
+
"inputs": [
|
|
1190
|
+
{
|
|
1191
|
+
"name": "expected",
|
|
1192
|
+
"type": "bytes2",
|
|
1193
|
+
"internalType": "bytes2"
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"name": "resourceId",
|
|
1197
|
+
"type": "bytes32",
|
|
1198
|
+
"internalType": "ResourceId"
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"name": "resourceIdString",
|
|
1202
|
+
"type": "string",
|
|
1203
|
+
"internalType": "string"
|
|
1204
|
+
}
|
|
1205
|
+
]
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"type": "error",
|
|
1209
|
+
"name": "Store_InvalidStaticDataLength",
|
|
1210
|
+
"inputs": [
|
|
1211
|
+
{
|
|
1212
|
+
"name": "expected",
|
|
1213
|
+
"type": "uint256",
|
|
1214
|
+
"internalType": "uint256"
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"name": "received",
|
|
1218
|
+
"type": "uint256",
|
|
1219
|
+
"internalType": "uint256"
|
|
1220
|
+
}
|
|
1221
|
+
]
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"type": "error",
|
|
1225
|
+
"name": "Store_InvalidValueSchemaDynamicLength",
|
|
1226
|
+
"inputs": [
|
|
1227
|
+
{
|
|
1228
|
+
"name": "expected",
|
|
1229
|
+
"type": "uint256",
|
|
1230
|
+
"internalType": "uint256"
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"name": "received",
|
|
1234
|
+
"type": "uint256",
|
|
1235
|
+
"internalType": "uint256"
|
|
1236
|
+
}
|
|
1237
|
+
]
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"type": "error",
|
|
1241
|
+
"name": "Store_InvalidValueSchemaLength",
|
|
1242
|
+
"inputs": [
|
|
1243
|
+
{
|
|
1244
|
+
"name": "expected",
|
|
1245
|
+
"type": "uint256",
|
|
1246
|
+
"internalType": "uint256"
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"name": "received",
|
|
1250
|
+
"type": "uint256",
|
|
1251
|
+
"internalType": "uint256"
|
|
1252
|
+
}
|
|
1253
|
+
]
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
"type": "error",
|
|
1257
|
+
"name": "Store_InvalidValueSchemaStaticLength",
|
|
1258
|
+
"inputs": [
|
|
1259
|
+
{
|
|
1260
|
+
"name": "expected",
|
|
1261
|
+
"type": "uint256",
|
|
1262
|
+
"internalType": "uint256"
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"name": "received",
|
|
1266
|
+
"type": "uint256",
|
|
1267
|
+
"internalType": "uint256"
|
|
1268
|
+
}
|
|
1269
|
+
]
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"type": "error",
|
|
1273
|
+
"name": "Store_TableAlreadyExists",
|
|
1274
|
+
"inputs": [
|
|
1275
|
+
{
|
|
1276
|
+
"name": "tableId",
|
|
1277
|
+
"type": "bytes32",
|
|
1278
|
+
"internalType": "ResourceId"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"name": "tableIdString",
|
|
1282
|
+
"type": "string",
|
|
1283
|
+
"internalType": "string"
|
|
1284
|
+
}
|
|
1285
|
+
]
|
|
962
1286
|
}
|
|
963
1287
|
]
|
|
@@ -485,6 +485,74 @@ declare const abi: [
|
|
|
485
485
|
],
|
|
486
486
|
"anonymous": false
|
|
487
487
|
},
|
|
488
|
+
{
|
|
489
|
+
"type": "event",
|
|
490
|
+
"name": "Store_SetRecord",
|
|
491
|
+
"inputs": [
|
|
492
|
+
{
|
|
493
|
+
"name": "tableId",
|
|
494
|
+
"type": "bytes32",
|
|
495
|
+
"indexed": true,
|
|
496
|
+
"internalType": "ResourceId"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"name": "keyTuple",
|
|
500
|
+
"type": "bytes32[]",
|
|
501
|
+
"indexed": false,
|
|
502
|
+
"internalType": "bytes32[]"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "staticData",
|
|
506
|
+
"type": "bytes",
|
|
507
|
+
"indexed": false,
|
|
508
|
+
"internalType": "bytes"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"name": "encodedLengths",
|
|
512
|
+
"type": "bytes32",
|
|
513
|
+
"indexed": false,
|
|
514
|
+
"internalType": "EncodedLengths"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "dynamicData",
|
|
518
|
+
"type": "bytes",
|
|
519
|
+
"indexed": false,
|
|
520
|
+
"internalType": "bytes"
|
|
521
|
+
}
|
|
522
|
+
],
|
|
523
|
+
"anonymous": false
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"type": "event",
|
|
527
|
+
"name": "Store_SpliceStaticData",
|
|
528
|
+
"inputs": [
|
|
529
|
+
{
|
|
530
|
+
"name": "tableId",
|
|
531
|
+
"type": "bytes32",
|
|
532
|
+
"indexed": true,
|
|
533
|
+
"internalType": "ResourceId"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"name": "keyTuple",
|
|
537
|
+
"type": "bytes32[]",
|
|
538
|
+
"indexed": false,
|
|
539
|
+
"internalType": "bytes32[]"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "start",
|
|
543
|
+
"type": "uint48",
|
|
544
|
+
"indexed": false,
|
|
545
|
+
"internalType": "uint48"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"name": "data",
|
|
549
|
+
"type": "bytes",
|
|
550
|
+
"indexed": false,
|
|
551
|
+
"internalType": "bytes"
|
|
552
|
+
}
|
|
553
|
+
],
|
|
554
|
+
"anonymous": false
|
|
555
|
+
},
|
|
488
556
|
{
|
|
489
557
|
"type": "event",
|
|
490
558
|
"name": "Transfer",
|
|
@@ -959,6 +1027,262 @@ declare const abi: [
|
|
|
959
1027
|
"internalType": "address"
|
|
960
1028
|
}
|
|
961
1029
|
]
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"type": "error",
|
|
1033
|
+
"name": "FieldLayout_Empty",
|
|
1034
|
+
"inputs": []
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"type": "error",
|
|
1038
|
+
"name": "FieldLayout_InvalidStaticDataLength",
|
|
1039
|
+
"inputs": [
|
|
1040
|
+
{
|
|
1041
|
+
"name": "staticDataLength",
|
|
1042
|
+
"type": "uint256",
|
|
1043
|
+
"internalType": "uint256"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"name": "computedStaticDataLength",
|
|
1047
|
+
"type": "uint256",
|
|
1048
|
+
"internalType": "uint256"
|
|
1049
|
+
}
|
|
1050
|
+
]
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"type": "error",
|
|
1054
|
+
"name": "FieldLayout_StaticLengthDoesNotFitInAWord",
|
|
1055
|
+
"inputs": [
|
|
1056
|
+
{
|
|
1057
|
+
"name": "index",
|
|
1058
|
+
"type": "uint256",
|
|
1059
|
+
"internalType": "uint256"
|
|
1060
|
+
}
|
|
1061
|
+
]
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"type": "error",
|
|
1065
|
+
"name": "FieldLayout_StaticLengthIsNotZero",
|
|
1066
|
+
"inputs": [
|
|
1067
|
+
{
|
|
1068
|
+
"name": "index",
|
|
1069
|
+
"type": "uint256",
|
|
1070
|
+
"internalType": "uint256"
|
|
1071
|
+
}
|
|
1072
|
+
]
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"type": "error",
|
|
1076
|
+
"name": "FieldLayout_StaticLengthIsZero",
|
|
1077
|
+
"inputs": [
|
|
1078
|
+
{
|
|
1079
|
+
"name": "index",
|
|
1080
|
+
"type": "uint256",
|
|
1081
|
+
"internalType": "uint256"
|
|
1082
|
+
}
|
|
1083
|
+
]
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"type": "error",
|
|
1087
|
+
"name": "FieldLayout_TooManyDynamicFields",
|
|
1088
|
+
"inputs": [
|
|
1089
|
+
{
|
|
1090
|
+
"name": "numFields",
|
|
1091
|
+
"type": "uint256",
|
|
1092
|
+
"internalType": "uint256"
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"name": "maxFields",
|
|
1096
|
+
"type": "uint256",
|
|
1097
|
+
"internalType": "uint256"
|
|
1098
|
+
}
|
|
1099
|
+
]
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"type": "error",
|
|
1103
|
+
"name": "FieldLayout_TooManyFields",
|
|
1104
|
+
"inputs": [
|
|
1105
|
+
{
|
|
1106
|
+
"name": "numFields",
|
|
1107
|
+
"type": "uint256",
|
|
1108
|
+
"internalType": "uint256"
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
"name": "maxFields",
|
|
1112
|
+
"type": "uint256",
|
|
1113
|
+
"internalType": "uint256"
|
|
1114
|
+
}
|
|
1115
|
+
]
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"type": "error",
|
|
1119
|
+
"name": "Schema_InvalidLength",
|
|
1120
|
+
"inputs": [
|
|
1121
|
+
{
|
|
1122
|
+
"name": "length",
|
|
1123
|
+
"type": "uint256",
|
|
1124
|
+
"internalType": "uint256"
|
|
1125
|
+
}
|
|
1126
|
+
]
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"type": "error",
|
|
1130
|
+
"name": "Schema_StaticTypeAfterDynamicType",
|
|
1131
|
+
"inputs": []
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"type": "error",
|
|
1135
|
+
"name": "Slice_OutOfBounds",
|
|
1136
|
+
"inputs": [
|
|
1137
|
+
{
|
|
1138
|
+
"name": "data",
|
|
1139
|
+
"type": "bytes",
|
|
1140
|
+
"internalType": "bytes"
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"name": "start",
|
|
1144
|
+
"type": "uint256",
|
|
1145
|
+
"internalType": "uint256"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"name": "end",
|
|
1149
|
+
"type": "uint256",
|
|
1150
|
+
"internalType": "uint256"
|
|
1151
|
+
}
|
|
1152
|
+
]
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
"type": "error",
|
|
1156
|
+
"name": "Store_InvalidFieldNamesLength",
|
|
1157
|
+
"inputs": [
|
|
1158
|
+
{
|
|
1159
|
+
"name": "expected",
|
|
1160
|
+
"type": "uint256",
|
|
1161
|
+
"internalType": "uint256"
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"name": "received",
|
|
1165
|
+
"type": "uint256",
|
|
1166
|
+
"internalType": "uint256"
|
|
1167
|
+
}
|
|
1168
|
+
]
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"type": "error",
|
|
1172
|
+
"name": "Store_InvalidKeyNamesLength",
|
|
1173
|
+
"inputs": [
|
|
1174
|
+
{
|
|
1175
|
+
"name": "expected",
|
|
1176
|
+
"type": "uint256",
|
|
1177
|
+
"internalType": "uint256"
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
"name": "received",
|
|
1181
|
+
"type": "uint256",
|
|
1182
|
+
"internalType": "uint256"
|
|
1183
|
+
}
|
|
1184
|
+
]
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"type": "error",
|
|
1188
|
+
"name": "Store_InvalidResourceType",
|
|
1189
|
+
"inputs": [
|
|
1190
|
+
{
|
|
1191
|
+
"name": "expected",
|
|
1192
|
+
"type": "bytes2",
|
|
1193
|
+
"internalType": "bytes2"
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"name": "resourceId",
|
|
1197
|
+
"type": "bytes32",
|
|
1198
|
+
"internalType": "ResourceId"
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"name": "resourceIdString",
|
|
1202
|
+
"type": "string",
|
|
1203
|
+
"internalType": "string"
|
|
1204
|
+
}
|
|
1205
|
+
]
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"type": "error",
|
|
1209
|
+
"name": "Store_InvalidStaticDataLength",
|
|
1210
|
+
"inputs": [
|
|
1211
|
+
{
|
|
1212
|
+
"name": "expected",
|
|
1213
|
+
"type": "uint256",
|
|
1214
|
+
"internalType": "uint256"
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"name": "received",
|
|
1218
|
+
"type": "uint256",
|
|
1219
|
+
"internalType": "uint256"
|
|
1220
|
+
}
|
|
1221
|
+
]
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"type": "error",
|
|
1225
|
+
"name": "Store_InvalidValueSchemaDynamicLength",
|
|
1226
|
+
"inputs": [
|
|
1227
|
+
{
|
|
1228
|
+
"name": "expected",
|
|
1229
|
+
"type": "uint256",
|
|
1230
|
+
"internalType": "uint256"
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"name": "received",
|
|
1234
|
+
"type": "uint256",
|
|
1235
|
+
"internalType": "uint256"
|
|
1236
|
+
}
|
|
1237
|
+
]
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"type": "error",
|
|
1241
|
+
"name": "Store_InvalidValueSchemaLength",
|
|
1242
|
+
"inputs": [
|
|
1243
|
+
{
|
|
1244
|
+
"name": "expected",
|
|
1245
|
+
"type": "uint256",
|
|
1246
|
+
"internalType": "uint256"
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"name": "received",
|
|
1250
|
+
"type": "uint256",
|
|
1251
|
+
"internalType": "uint256"
|
|
1252
|
+
}
|
|
1253
|
+
]
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
"type": "error",
|
|
1257
|
+
"name": "Store_InvalidValueSchemaStaticLength",
|
|
1258
|
+
"inputs": [
|
|
1259
|
+
{
|
|
1260
|
+
"name": "expected",
|
|
1261
|
+
"type": "uint256",
|
|
1262
|
+
"internalType": "uint256"
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"name": "received",
|
|
1266
|
+
"type": "uint256",
|
|
1267
|
+
"internalType": "uint256"
|
|
1268
|
+
}
|
|
1269
|
+
]
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"type": "error",
|
|
1273
|
+
"name": "Store_TableAlreadyExists",
|
|
1274
|
+
"inputs": [
|
|
1275
|
+
{
|
|
1276
|
+
"name": "tableId",
|
|
1277
|
+
"type": "bytes32",
|
|
1278
|
+
"internalType": "ResourceId"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"name": "tableIdString",
|
|
1282
|
+
"type": "string",
|
|
1283
|
+
"internalType": "string"
|
|
1284
|
+
}
|
|
1285
|
+
]
|
|
962
1286
|
}
|
|
963
1287
|
];
|
|
964
1288
|
|