@sentio/runtime 2.63.0-rc2.1 → 2.63.0-rc2.3

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.
@@ -15,7 +15,7 @@ import {
15
15
  require_roots,
16
16
  require_rpc,
17
17
  require_writer
18
- } from "./chunk-OFR7W4ZG.js";
18
+ } from "./chunk-WJM2EBJH.js";
19
19
  import {
20
20
  init_esm,
21
21
  metrics
@@ -60174,4 +60174,4 @@ long/umd/index.js:
60174
60174
  @noble/curves/esm/secp256k1.js:
60175
60175
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
60176
60176
  */
60177
- //# sourceMappingURL=chunk-IIAZZZPV.js.map
60177
+ //# sourceMappingURL=chunk-3IULUWFB.js.map
@@ -10980,13 +10980,16 @@ var Data_EthLog = {
10980
10980
  }
10981
10981
  };
10982
10982
  function createBaseData_EthBlock() {
10983
- return { block: void 0 };
10983
+ return { block: void 0, rawBlock: "" };
10984
10984
  }
10985
10985
  var Data_EthBlock = {
10986
10986
  encode(message, writer = import_minimal6.default.Writer.create()) {
10987
10987
  if (message.block !== void 0) {
10988
10988
  Struct.encode(Struct.wrap(message.block), writer.uint32(18).fork()).ldelim();
10989
10989
  }
10990
+ if (message.rawBlock !== "") {
10991
+ writer.uint32(10).string(message.rawBlock);
10992
+ }
10990
10993
  return writer;
10991
10994
  },
10992
10995
  decode(input, length) {
@@ -11002,6 +11005,12 @@ var Data_EthBlock = {
11002
11005
  }
11003
11006
  message.block = Struct.unwrap(Struct.decode(reader, reader.uint32()));
11004
11007
  continue;
11008
+ case 1:
11009
+ if (tag !== 10) {
11010
+ break;
11011
+ }
11012
+ message.rawBlock = reader.string();
11013
+ continue;
11005
11014
  }
11006
11015
  if ((tag & 7) === 4 || tag === 0) {
11007
11016
  break;
@@ -11011,13 +11020,19 @@ var Data_EthBlock = {
11011
11020
  return message;
11012
11021
  },
11013
11022
  fromJSON(object) {
11014
- return { block: isObject3(object.block) ? object.block : void 0 };
11023
+ return {
11024
+ block: isObject3(object.block) ? object.block : void 0,
11025
+ rawBlock: isSet4(object.rawBlock) ? globalThis.String(object.rawBlock) : ""
11026
+ };
11015
11027
  },
11016
11028
  toJSON(message) {
11017
11029
  const obj = {};
11018
11030
  if (message.block !== void 0) {
11019
11031
  obj.block = message.block;
11020
11032
  }
11033
+ if (message.rawBlock !== "") {
11034
+ obj.rawBlock = message.rawBlock;
11035
+ }
11021
11036
  return obj;
11022
11037
  },
11023
11038
  create(base) {
@@ -11026,6 +11041,7 @@ var Data_EthBlock = {
11026
11041
  fromPartial(object) {
11027
11042
  const message = createBaseData_EthBlock();
11028
11043
  message.block = object.block ?? void 0;
11044
+ message.rawBlock = object.rawBlock ?? "";
11029
11045
  return message;
11030
11046
  }
11031
11047
  };
@@ -11209,7 +11225,11 @@ function createBaseData_EthTrace() {
11209
11225
  timestamp: void 0,
11210
11226
  transaction: void 0,
11211
11227
  transactionReceipt: void 0,
11212
- block: void 0
11228
+ block: void 0,
11229
+ rawTrace: "",
11230
+ rawTransaction: void 0,
11231
+ rawTransactionReceipt: void 0,
11232
+ rawBlock: void 0
11213
11233
  };
11214
11234
  }
11215
11235
  var Data_EthTrace = {
@@ -11229,6 +11249,18 @@ var Data_EthTrace = {
11229
11249
  if (message.block !== void 0) {
11230
11250
  Struct.encode(Struct.wrap(message.block), writer.uint32(50).fork()).ldelim();
11231
11251
  }
11252
+ if (message.rawTrace !== "") {
11253
+ writer.uint32(58).string(message.rawTrace);
11254
+ }
11255
+ if (message.rawTransaction !== void 0) {
11256
+ writer.uint32(66).string(message.rawTransaction);
11257
+ }
11258
+ if (message.rawTransactionReceipt !== void 0) {
11259
+ writer.uint32(74).string(message.rawTransactionReceipt);
11260
+ }
11261
+ if (message.rawBlock !== void 0) {
11262
+ writer.uint32(82).string(message.rawBlock);
11263
+ }
11232
11264
  return writer;
11233
11265
  },
11234
11266
  decode(input, length) {
@@ -11268,6 +11300,30 @@ var Data_EthTrace = {
11268
11300
  }
11269
11301
  message.block = Struct.unwrap(Struct.decode(reader, reader.uint32()));
11270
11302
  continue;
11303
+ case 7:
11304
+ if (tag !== 58) {
11305
+ break;
11306
+ }
11307
+ message.rawTrace = reader.string();
11308
+ continue;
11309
+ case 8:
11310
+ if (tag !== 66) {
11311
+ break;
11312
+ }
11313
+ message.rawTransaction = reader.string();
11314
+ continue;
11315
+ case 9:
11316
+ if (tag !== 74) {
11317
+ break;
11318
+ }
11319
+ message.rawTransactionReceipt = reader.string();
11320
+ continue;
11321
+ case 10:
11322
+ if (tag !== 82) {
11323
+ break;
11324
+ }
11325
+ message.rawBlock = reader.string();
11326
+ continue;
11271
11327
  }
11272
11328
  if ((tag & 7) === 4 || tag === 0) {
11273
11329
  break;
@@ -11282,7 +11338,11 @@ var Data_EthTrace = {
11282
11338
  timestamp: isSet4(object.timestamp) ? fromJsonTimestamp2(object.timestamp) : void 0,
11283
11339
  transaction: isObject3(object.transaction) ? object.transaction : void 0,
11284
11340
  transactionReceipt: isObject3(object.transactionReceipt) ? object.transactionReceipt : void 0,
11285
- block: isObject3(object.block) ? object.block : void 0
11341
+ block: isObject3(object.block) ? object.block : void 0,
11342
+ rawTrace: isSet4(object.rawTrace) ? globalThis.String(object.rawTrace) : "",
11343
+ rawTransaction: isSet4(object.rawTransaction) ? globalThis.String(object.rawTransaction) : void 0,
11344
+ rawTransactionReceipt: isSet4(object.rawTransactionReceipt) ? globalThis.String(object.rawTransactionReceipt) : void 0,
11345
+ rawBlock: isSet4(object.rawBlock) ? globalThis.String(object.rawBlock) : void 0
11286
11346
  };
11287
11347
  },
11288
11348
  toJSON(message) {
@@ -11302,6 +11362,18 @@ var Data_EthTrace = {
11302
11362
  if (message.block !== void 0) {
11303
11363
  obj.block = message.block;
11304
11364
  }
11365
+ if (message.rawTrace !== "") {
11366
+ obj.rawTrace = message.rawTrace;
11367
+ }
11368
+ if (message.rawTransaction !== void 0) {
11369
+ obj.rawTransaction = message.rawTransaction;
11370
+ }
11371
+ if (message.rawTransactionReceipt !== void 0) {
11372
+ obj.rawTransactionReceipt = message.rawTransactionReceipt;
11373
+ }
11374
+ if (message.rawBlock !== void 0) {
11375
+ obj.rawBlock = message.rawBlock;
11376
+ }
11305
11377
  return obj;
11306
11378
  },
11307
11379
  create(base) {
@@ -11314,11 +11386,22 @@ var Data_EthTrace = {
11314
11386
  message.transaction = object.transaction ?? void 0;
11315
11387
  message.transactionReceipt = object.transactionReceipt ?? void 0;
11316
11388
  message.block = object.block ?? void 0;
11389
+ message.rawTrace = object.rawTrace ?? "";
11390
+ message.rawTransaction = object.rawTransaction ?? void 0;
11391
+ message.rawTransactionReceipt = object.rawTransactionReceipt ?? void 0;
11392
+ message.rawBlock = object.rawBlock ?? void 0;
11317
11393
  return message;
11318
11394
  }
11319
11395
  };
11320
11396
  function createBaseData_SolInstruction() {
11321
- return { instructionData: "", slot: BigInt("0"), programAccountId: "", accounts: [], parsed: void 0 };
11397
+ return {
11398
+ instructionData: "",
11399
+ slot: BigInt("0"),
11400
+ programAccountId: "",
11401
+ accounts: [],
11402
+ parsed: void 0,
11403
+ rawParsed: void 0
11404
+ };
11322
11405
  }
11323
11406
  var Data_SolInstruction = {
11324
11407
  encode(message, writer = import_minimal6.default.Writer.create()) {
@@ -11340,6 +11423,9 @@ var Data_SolInstruction = {
11340
11423
  if (message.parsed !== void 0) {
11341
11424
  Struct.encode(Struct.wrap(message.parsed), writer.uint32(34).fork()).ldelim();
11342
11425
  }
11426
+ if (message.rawParsed !== void 0) {
11427
+ writer.uint32(58).string(message.rawParsed);
11428
+ }
11343
11429
  return writer;
11344
11430
  },
11345
11431
  decode(input, length) {
@@ -11379,6 +11465,12 @@ var Data_SolInstruction = {
11379
11465
  }
11380
11466
  message.parsed = Struct.unwrap(Struct.decode(reader, reader.uint32()));
11381
11467
  continue;
11468
+ case 7:
11469
+ if (tag !== 58) {
11470
+ break;
11471
+ }
11472
+ message.rawParsed = reader.string();
11473
+ continue;
11382
11474
  }
11383
11475
  if ((tag & 7) === 4 || tag === 0) {
11384
11476
  break;
@@ -11393,7 +11485,8 @@ var Data_SolInstruction = {
11393
11485
  slot: isSet4(object.slot) ? BigInt(object.slot) : BigInt("0"),
11394
11486
  programAccountId: isSet4(object.programAccountId) ? globalThis.String(object.programAccountId) : "",
11395
11487
  accounts: globalThis.Array.isArray(object?.accounts) ? object.accounts.map((e) => globalThis.String(e)) : [],
11396
- parsed: isObject3(object.parsed) ? object.parsed : void 0
11488
+ parsed: isObject3(object.parsed) ? object.parsed : void 0,
11489
+ rawParsed: isSet4(object.rawParsed) ? globalThis.String(object.rawParsed) : void 0
11397
11490
  };
11398
11491
  },
11399
11492
  toJSON(message) {
@@ -11413,6 +11506,9 @@ var Data_SolInstruction = {
11413
11506
  if (message.parsed !== void 0) {
11414
11507
  obj.parsed = message.parsed;
11415
11508
  }
11509
+ if (message.rawParsed !== void 0) {
11510
+ obj.rawParsed = message.rawParsed;
11511
+ }
11416
11512
  return obj;
11417
11513
  },
11418
11514
  create(base) {
@@ -11425,6 +11521,7 @@ var Data_SolInstruction = {
11425
11521
  message.programAccountId = object.programAccountId ?? "";
11426
11522
  message.accounts = object.accounts?.map((e) => e) || [];
11427
11523
  message.parsed = object.parsed ?? void 0;
11524
+ message.rawParsed = object.rawParsed ?? void 0;
11428
11525
  return message;
11429
11526
  }
11430
11527
  };
@@ -22828,13 +22925,16 @@ var Data_EthLog2 = {
22828
22925
  }
22829
22926
  };
22830
22927
  function createBaseData_EthBlock2() {
22831
- return { block: void 0 };
22928
+ return { block: void 0, rawBlock: "" };
22832
22929
  }
22833
22930
  var Data_EthBlock2 = {
22834
22931
  encode(message, writer = import_minimal12.default.Writer.create()) {
22835
22932
  if (message.block !== void 0) {
22836
22933
  Struct2.encode(Struct2.wrap(message.block), writer.uint32(18).fork()).ldelim();
22837
22934
  }
22935
+ if (message.rawBlock !== "") {
22936
+ writer.uint32(10).string(message.rawBlock);
22937
+ }
22838
22938
  return writer;
22839
22939
  },
22840
22940
  decode(input, length) {
@@ -22850,6 +22950,12 @@ var Data_EthBlock2 = {
22850
22950
  }
22851
22951
  message.block = Struct2.unwrap(Struct2.decode(reader, reader.uint32()));
22852
22952
  continue;
22953
+ case 1:
22954
+ if (tag !== 10) {
22955
+ break;
22956
+ }
22957
+ message.rawBlock = reader.string();
22958
+ continue;
22853
22959
  }
22854
22960
  if ((tag & 7) === 4 || tag === 0) {
22855
22961
  break;
@@ -22859,13 +22965,19 @@ var Data_EthBlock2 = {
22859
22965
  return message;
22860
22966
  },
22861
22967
  fromJSON(object) {
22862
- return { block: isObject6(object.block) ? object.block : void 0 };
22968
+ return {
22969
+ block: isObject6(object.block) ? object.block : void 0,
22970
+ rawBlock: isSet8(object.rawBlock) ? globalThis.String(object.rawBlock) : ""
22971
+ };
22863
22972
  },
22864
22973
  toJSON(message) {
22865
22974
  const obj = {};
22866
22975
  if (message.block !== void 0) {
22867
22976
  obj.block = message.block;
22868
22977
  }
22978
+ if (message.rawBlock !== "") {
22979
+ obj.rawBlock = message.rawBlock;
22980
+ }
22869
22981
  return obj;
22870
22982
  },
22871
22983
  create(base) {
@@ -22874,6 +22986,7 @@ var Data_EthBlock2 = {
22874
22986
  fromPartial(object) {
22875
22987
  const message = createBaseData_EthBlock2();
22876
22988
  message.block = object.block ?? void 0;
22989
+ message.rawBlock = object.rawBlock ?? "";
22877
22990
  return message;
22878
22991
  }
22879
22992
  };
@@ -23057,7 +23170,11 @@ function createBaseData_EthTrace2() {
23057
23170
  timestamp: void 0,
23058
23171
  transaction: void 0,
23059
23172
  transactionReceipt: void 0,
23060
- block: void 0
23173
+ block: void 0,
23174
+ rawTrace: "",
23175
+ rawTransaction: void 0,
23176
+ rawTransactionReceipt: void 0,
23177
+ rawBlock: void 0
23061
23178
  };
23062
23179
  }
23063
23180
  var Data_EthTrace2 = {
@@ -23077,6 +23194,18 @@ var Data_EthTrace2 = {
23077
23194
  if (message.block !== void 0) {
23078
23195
  Struct2.encode(Struct2.wrap(message.block), writer.uint32(50).fork()).ldelim();
23079
23196
  }
23197
+ if (message.rawTrace !== "") {
23198
+ writer.uint32(58).string(message.rawTrace);
23199
+ }
23200
+ if (message.rawTransaction !== void 0) {
23201
+ writer.uint32(66).string(message.rawTransaction);
23202
+ }
23203
+ if (message.rawTransactionReceipt !== void 0) {
23204
+ writer.uint32(74).string(message.rawTransactionReceipt);
23205
+ }
23206
+ if (message.rawBlock !== void 0) {
23207
+ writer.uint32(82).string(message.rawBlock);
23208
+ }
23080
23209
  return writer;
23081
23210
  },
23082
23211
  decode(input, length) {
@@ -23116,6 +23245,30 @@ var Data_EthTrace2 = {
23116
23245
  }
23117
23246
  message.block = Struct2.unwrap(Struct2.decode(reader, reader.uint32()));
23118
23247
  continue;
23248
+ case 7:
23249
+ if (tag !== 58) {
23250
+ break;
23251
+ }
23252
+ message.rawTrace = reader.string();
23253
+ continue;
23254
+ case 8:
23255
+ if (tag !== 66) {
23256
+ break;
23257
+ }
23258
+ message.rawTransaction = reader.string();
23259
+ continue;
23260
+ case 9:
23261
+ if (tag !== 74) {
23262
+ break;
23263
+ }
23264
+ message.rawTransactionReceipt = reader.string();
23265
+ continue;
23266
+ case 10:
23267
+ if (tag !== 82) {
23268
+ break;
23269
+ }
23270
+ message.rawBlock = reader.string();
23271
+ continue;
23119
23272
  }
23120
23273
  if ((tag & 7) === 4 || tag === 0) {
23121
23274
  break;
@@ -23130,7 +23283,11 @@ var Data_EthTrace2 = {
23130
23283
  timestamp: isSet8(object.timestamp) ? fromJsonTimestamp4(object.timestamp) : void 0,
23131
23284
  transaction: isObject6(object.transaction) ? object.transaction : void 0,
23132
23285
  transactionReceipt: isObject6(object.transactionReceipt) ? object.transactionReceipt : void 0,
23133
- block: isObject6(object.block) ? object.block : void 0
23286
+ block: isObject6(object.block) ? object.block : void 0,
23287
+ rawTrace: isSet8(object.rawTrace) ? globalThis.String(object.rawTrace) : "",
23288
+ rawTransaction: isSet8(object.rawTransaction) ? globalThis.String(object.rawTransaction) : void 0,
23289
+ rawTransactionReceipt: isSet8(object.rawTransactionReceipt) ? globalThis.String(object.rawTransactionReceipt) : void 0,
23290
+ rawBlock: isSet8(object.rawBlock) ? globalThis.String(object.rawBlock) : void 0
23134
23291
  };
23135
23292
  },
23136
23293
  toJSON(message) {
@@ -23150,6 +23307,18 @@ var Data_EthTrace2 = {
23150
23307
  if (message.block !== void 0) {
23151
23308
  obj.block = message.block;
23152
23309
  }
23310
+ if (message.rawTrace !== "") {
23311
+ obj.rawTrace = message.rawTrace;
23312
+ }
23313
+ if (message.rawTransaction !== void 0) {
23314
+ obj.rawTransaction = message.rawTransaction;
23315
+ }
23316
+ if (message.rawTransactionReceipt !== void 0) {
23317
+ obj.rawTransactionReceipt = message.rawTransactionReceipt;
23318
+ }
23319
+ if (message.rawBlock !== void 0) {
23320
+ obj.rawBlock = message.rawBlock;
23321
+ }
23153
23322
  return obj;
23154
23323
  },
23155
23324
  create(base) {
@@ -23162,11 +23331,22 @@ var Data_EthTrace2 = {
23162
23331
  message.transaction = object.transaction ?? void 0;
23163
23332
  message.transactionReceipt = object.transactionReceipt ?? void 0;
23164
23333
  message.block = object.block ?? void 0;
23334
+ message.rawTrace = object.rawTrace ?? "";
23335
+ message.rawTransaction = object.rawTransaction ?? void 0;
23336
+ message.rawTransactionReceipt = object.rawTransactionReceipt ?? void 0;
23337
+ message.rawBlock = object.rawBlock ?? void 0;
23165
23338
  return message;
23166
23339
  }
23167
23340
  };
23168
23341
  function createBaseData_SolInstruction2() {
23169
- return { instructionData: "", slot: BigInt("0"), programAccountId: "", accounts: [], parsed: void 0 };
23342
+ return {
23343
+ instructionData: "",
23344
+ slot: BigInt("0"),
23345
+ programAccountId: "",
23346
+ accounts: [],
23347
+ parsed: void 0,
23348
+ rawParsed: void 0
23349
+ };
23170
23350
  }
23171
23351
  var Data_SolInstruction2 = {
23172
23352
  encode(message, writer = import_minimal12.default.Writer.create()) {
@@ -23188,6 +23368,9 @@ var Data_SolInstruction2 = {
23188
23368
  if (message.parsed !== void 0) {
23189
23369
  Struct2.encode(Struct2.wrap(message.parsed), writer.uint32(34).fork()).ldelim();
23190
23370
  }
23371
+ if (message.rawParsed !== void 0) {
23372
+ writer.uint32(58).string(message.rawParsed);
23373
+ }
23191
23374
  return writer;
23192
23375
  },
23193
23376
  decode(input, length) {
@@ -23227,6 +23410,12 @@ var Data_SolInstruction2 = {
23227
23410
  }
23228
23411
  message.parsed = Struct2.unwrap(Struct2.decode(reader, reader.uint32()));
23229
23412
  continue;
23413
+ case 7:
23414
+ if (tag !== 58) {
23415
+ break;
23416
+ }
23417
+ message.rawParsed = reader.string();
23418
+ continue;
23230
23419
  }
23231
23420
  if ((tag & 7) === 4 || tag === 0) {
23232
23421
  break;
@@ -23241,7 +23430,8 @@ var Data_SolInstruction2 = {
23241
23430
  slot: isSet8(object.slot) ? BigInt(object.slot) : BigInt("0"),
23242
23431
  programAccountId: isSet8(object.programAccountId) ? globalThis.String(object.programAccountId) : "",
23243
23432
  accounts: globalThis.Array.isArray(object?.accounts) ? object.accounts.map((e) => globalThis.String(e)) : [],
23244
- parsed: isObject6(object.parsed) ? object.parsed : void 0
23433
+ parsed: isObject6(object.parsed) ? object.parsed : void 0,
23434
+ rawParsed: isSet8(object.rawParsed) ? globalThis.String(object.rawParsed) : void 0
23245
23435
  };
23246
23436
  },
23247
23437
  toJSON(message) {
@@ -23261,6 +23451,9 @@ var Data_SolInstruction2 = {
23261
23451
  if (message.parsed !== void 0) {
23262
23452
  obj.parsed = message.parsed;
23263
23453
  }
23454
+ if (message.rawParsed !== void 0) {
23455
+ obj.rawParsed = message.rawParsed;
23456
+ }
23264
23457
  return obj;
23265
23458
  },
23266
23459
  create(base) {
@@ -23273,6 +23466,7 @@ var Data_SolInstruction2 = {
23273
23466
  message.programAccountId = object.programAccountId ?? "";
23274
23467
  message.accounts = object.accounts?.map((e) => e) || [];
23275
23468
  message.parsed = object.parsed ?? void 0;
23469
+ message.rawParsed = object.rawParsed ?? void 0;
23276
23470
  return message;
23277
23471
  }
23278
23472
  };
@@ -25770,4 +25964,4 @@ long/index.js:
25770
25964
  * SPDX-License-Identifier: Apache-2.0
25771
25965
  *)
25772
25966
  */
25773
- //# sourceMappingURL=chunk-OFR7W4ZG.js.map
25967
+ //# sourceMappingURL=chunk-WJM2EBJH.js.map