@sentio/protos 2.24.3 → 2.25.0-rc.2

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.
@@ -1254,6 +1254,7 @@ function createBaseAccountConfig() {
1254
1254
  startBlock: BigInt("0"),
1255
1255
  intervalConfigs: [],
1256
1256
  moveIntervalConfigs: [],
1257
+ moveCallConfigs: [],
1257
1258
  logConfigs: [],
1258
1259
  };
1259
1260
  }
@@ -1274,6 +1275,9 @@ export const AccountConfig = {
1274
1275
  for (const v of message.moveIntervalConfigs) {
1275
1276
  MoveOnIntervalConfig.encode(v, writer.uint32(58).fork()).ldelim();
1276
1277
  }
1278
+ for (const v of message.moveCallConfigs) {
1279
+ MoveCallHandlerConfig.encode(v, writer.uint32(66).fork()).ldelim();
1280
+ }
1277
1281
  for (const v of message.logConfigs) {
1278
1282
  LogHandlerConfig.encode(v, writer.uint32(50).fork()).ldelim();
1279
1283
  }
@@ -1301,6 +1305,9 @@ export const AccountConfig = {
1301
1305
  case 7:
1302
1306
  message.moveIntervalConfigs.push(MoveOnIntervalConfig.decode(reader, reader.uint32()));
1303
1307
  break;
1308
+ case 8:
1309
+ message.moveCallConfigs.push(MoveCallHandlerConfig.decode(reader, reader.uint32()));
1310
+ break;
1304
1311
  case 6:
1305
1312
  message.logConfigs.push(LogHandlerConfig.decode(reader, reader.uint32()));
1306
1313
  break;
@@ -1322,6 +1329,9 @@ export const AccountConfig = {
1322
1329
  moveIntervalConfigs: Array.isArray(object?.moveIntervalConfigs)
1323
1330
  ? object.moveIntervalConfigs.map((e) => MoveOnIntervalConfig.fromJSON(e))
1324
1331
  : [],
1332
+ moveCallConfigs: Array.isArray(object?.moveCallConfigs)
1333
+ ? object.moveCallConfigs.map((e) => MoveCallHandlerConfig.fromJSON(e))
1334
+ : [],
1325
1335
  logConfigs: Array.isArray(object?.logConfigs)
1326
1336
  ? object.logConfigs.map((e) => LogHandlerConfig.fromJSON(e))
1327
1337
  : [],
@@ -1344,6 +1354,12 @@ export const AccountConfig = {
1344
1354
  else {
1345
1355
  obj.moveIntervalConfigs = [];
1346
1356
  }
1357
+ if (message.moveCallConfigs) {
1358
+ obj.moveCallConfigs = message.moveCallConfigs.map((e) => e ? MoveCallHandlerConfig.toJSON(e) : undefined);
1359
+ }
1360
+ else {
1361
+ obj.moveCallConfigs = [];
1362
+ }
1347
1363
  if (message.logConfigs) {
1348
1364
  obj.logConfigs = message.logConfigs.map((e) => e ? LogHandlerConfig.toJSON(e) : undefined);
1349
1365
  }
@@ -1362,6 +1378,7 @@ export const AccountConfig = {
1362
1378
  message.startBlock = object.startBlock ?? BigInt("0");
1363
1379
  message.intervalConfigs = object.intervalConfigs?.map((e) => OnIntervalConfig.fromPartial(e)) || [];
1364
1380
  message.moveIntervalConfigs = object.moveIntervalConfigs?.map((e) => MoveOnIntervalConfig.fromPartial(e)) || [];
1381
+ message.moveCallConfigs = object.moveCallConfigs?.map((e) => MoveCallHandlerConfig.fromPartial(e)) || [];
1365
1382
  message.logConfigs = object.logConfigs?.map((e) => LogHandlerConfig.fromPartial(e)) || [];
1366
1383
  return message;
1367
1384
  },