@sentio/runtime 3.8.0-rc3.2 → 3.8.0-rc3.4

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.
@@ -11036,13 +11036,16 @@ var Data_EthLog = {
11036
11036
  }
11037
11037
  };
11038
11038
  function createBaseData_EthBlock() {
11039
- return { block: void 0 };
11039
+ return { block: void 0, rawBlock: "" };
11040
11040
  }
11041
11041
  var Data_EthBlock = {
11042
11042
  encode(message, writer = import_minimal6.default.Writer.create()) {
11043
11043
  if (message.block !== void 0) {
11044
11044
  Struct.encode(Struct.wrap(message.block), writer.uint32(18).fork()).ldelim();
11045
11045
  }
11046
+ if (message.rawBlock !== "") {
11047
+ writer.uint32(10).string(message.rawBlock);
11048
+ }
11046
11049
  return writer;
11047
11050
  },
11048
11051
  decode(input, length) {
@@ -11058,6 +11061,12 @@ var Data_EthBlock = {
11058
11061
  }
11059
11062
  message.block = Struct.unwrap(Struct.decode(reader, reader.uint32()));
11060
11063
  continue;
11064
+ case 1:
11065
+ if (tag !== 10) {
11066
+ break;
11067
+ }
11068
+ message.rawBlock = reader.string();
11069
+ continue;
11061
11070
  }
11062
11071
  if ((tag & 7) === 4 || tag === 0) {
11063
11072
  break;
@@ -11067,13 +11076,19 @@ var Data_EthBlock = {
11067
11076
  return message;
11068
11077
  },
11069
11078
  fromJSON(object) {
11070
- return { block: isObject3(object.block) ? object.block : void 0 };
11079
+ return {
11080
+ block: isObject3(object.block) ? object.block : void 0,
11081
+ rawBlock: isSet4(object.rawBlock) ? globalThis.String(object.rawBlock) : ""
11082
+ };
11071
11083
  },
11072
11084
  toJSON(message) {
11073
11085
  const obj = {};
11074
11086
  if (message.block !== void 0) {
11075
11087
  obj.block = message.block;
11076
11088
  }
11089
+ if (message.rawBlock !== "") {
11090
+ obj.rawBlock = message.rawBlock;
11091
+ }
11077
11092
  return obj;
11078
11093
  },
11079
11094
  create(base) {
@@ -11082,6 +11097,7 @@ var Data_EthBlock = {
11082
11097
  fromPartial(object) {
11083
11098
  const message = createBaseData_EthBlock();
11084
11099
  message.block = object.block ?? void 0;
11100
+ message.rawBlock = object.rawBlock ?? "";
11085
11101
  return message;
11086
11102
  }
11087
11103
  };
@@ -11265,7 +11281,11 @@ function createBaseData_EthTrace() {
11265
11281
  timestamp: void 0,
11266
11282
  transaction: void 0,
11267
11283
  transactionReceipt: void 0,
11268
- block: void 0
11284
+ block: void 0,
11285
+ rawTrace: "",
11286
+ rawTransaction: void 0,
11287
+ rawTransactionReceipt: void 0,
11288
+ rawBlock: void 0
11269
11289
  };
11270
11290
  }
11271
11291
  var Data_EthTrace = {
@@ -11285,6 +11305,18 @@ var Data_EthTrace = {
11285
11305
  if (message.block !== void 0) {
11286
11306
  Struct.encode(Struct.wrap(message.block), writer.uint32(50).fork()).ldelim();
11287
11307
  }
11308
+ if (message.rawTrace !== "") {
11309
+ writer.uint32(58).string(message.rawTrace);
11310
+ }
11311
+ if (message.rawTransaction !== void 0) {
11312
+ writer.uint32(66).string(message.rawTransaction);
11313
+ }
11314
+ if (message.rawTransactionReceipt !== void 0) {
11315
+ writer.uint32(74).string(message.rawTransactionReceipt);
11316
+ }
11317
+ if (message.rawBlock !== void 0) {
11318
+ writer.uint32(82).string(message.rawBlock);
11319
+ }
11288
11320
  return writer;
11289
11321
  },
11290
11322
  decode(input, length) {
@@ -11324,6 +11356,30 @@ var Data_EthTrace = {
11324
11356
  }
11325
11357
  message.block = Struct.unwrap(Struct.decode(reader, reader.uint32()));
11326
11358
  continue;
11359
+ case 7:
11360
+ if (tag !== 58) {
11361
+ break;
11362
+ }
11363
+ message.rawTrace = reader.string();
11364
+ continue;
11365
+ case 8:
11366
+ if (tag !== 66) {
11367
+ break;
11368
+ }
11369
+ message.rawTransaction = reader.string();
11370
+ continue;
11371
+ case 9:
11372
+ if (tag !== 74) {
11373
+ break;
11374
+ }
11375
+ message.rawTransactionReceipt = reader.string();
11376
+ continue;
11377
+ case 10:
11378
+ if (tag !== 82) {
11379
+ break;
11380
+ }
11381
+ message.rawBlock = reader.string();
11382
+ continue;
11327
11383
  }
11328
11384
  if ((tag & 7) === 4 || tag === 0) {
11329
11385
  break;
@@ -11338,7 +11394,11 @@ var Data_EthTrace = {
11338
11394
  timestamp: isSet4(object.timestamp) ? fromJsonTimestamp2(object.timestamp) : void 0,
11339
11395
  transaction: isObject3(object.transaction) ? object.transaction : void 0,
11340
11396
  transactionReceipt: isObject3(object.transactionReceipt) ? object.transactionReceipt : void 0,
11341
- block: isObject3(object.block) ? object.block : void 0
11397
+ block: isObject3(object.block) ? object.block : void 0,
11398
+ rawTrace: isSet4(object.rawTrace) ? globalThis.String(object.rawTrace) : "",
11399
+ rawTransaction: isSet4(object.rawTransaction) ? globalThis.String(object.rawTransaction) : void 0,
11400
+ rawTransactionReceipt: isSet4(object.rawTransactionReceipt) ? globalThis.String(object.rawTransactionReceipt) : void 0,
11401
+ rawBlock: isSet4(object.rawBlock) ? globalThis.String(object.rawBlock) : void 0
11342
11402
  };
11343
11403
  },
11344
11404
  toJSON(message) {
@@ -11358,6 +11418,18 @@ var Data_EthTrace = {
11358
11418
  if (message.block !== void 0) {
11359
11419
  obj.block = message.block;
11360
11420
  }
11421
+ if (message.rawTrace !== "") {
11422
+ obj.rawTrace = message.rawTrace;
11423
+ }
11424
+ if (message.rawTransaction !== void 0) {
11425
+ obj.rawTransaction = message.rawTransaction;
11426
+ }
11427
+ if (message.rawTransactionReceipt !== void 0) {
11428
+ obj.rawTransactionReceipt = message.rawTransactionReceipt;
11429
+ }
11430
+ if (message.rawBlock !== void 0) {
11431
+ obj.rawBlock = message.rawBlock;
11432
+ }
11361
11433
  return obj;
11362
11434
  },
11363
11435
  create(base) {
@@ -11370,6 +11442,10 @@ var Data_EthTrace = {
11370
11442
  message.transaction = object.transaction ?? void 0;
11371
11443
  message.transactionReceipt = object.transactionReceipt ?? void 0;
11372
11444
  message.block = object.block ?? void 0;
11445
+ message.rawTrace = object.rawTrace ?? "";
11446
+ message.rawTransaction = object.rawTransaction ?? void 0;
11447
+ message.rawTransactionReceipt = object.rawTransactionReceipt ?? void 0;
11448
+ message.rawBlock = object.rawBlock ?? void 0;
11373
11449
  return message;
11374
11450
  }
11375
11451
  };
@@ -11380,6 +11456,7 @@ function createBaseData_SolInstruction() {
11380
11456
  programAccountId: "",
11381
11457
  accounts: [],
11382
11458
  parsed: void 0,
11459
+ rawParsed: void 0,
11383
11460
  rawTransaction: void 0
11384
11461
  };
11385
11462
  }
@@ -11403,6 +11480,9 @@ var Data_SolInstruction = {
11403
11480
  if (message.parsed !== void 0) {
11404
11481
  Struct.encode(Struct.wrap(message.parsed), writer.uint32(34).fork()).ldelim();
11405
11482
  }
11483
+ if (message.rawParsed !== void 0) {
11484
+ writer.uint32(58).string(message.rawParsed);
11485
+ }
11406
11486
  if (message.rawTransaction !== void 0) {
11407
11487
  writer.uint32(50).string(message.rawTransaction);
11408
11488
  }
@@ -11445,6 +11525,12 @@ var Data_SolInstruction = {
11445
11525
  }
11446
11526
  message.parsed = Struct.unwrap(Struct.decode(reader, reader.uint32()));
11447
11527
  continue;
11528
+ case 7:
11529
+ if (tag !== 58) {
11530
+ break;
11531
+ }
11532
+ message.rawParsed = reader.string();
11533
+ continue;
11448
11534
  case 6:
11449
11535
  if (tag !== 50) {
11450
11536
  break;
@@ -11466,6 +11552,7 @@ var Data_SolInstruction = {
11466
11552
  programAccountId: isSet4(object.programAccountId) ? globalThis.String(object.programAccountId) : "",
11467
11553
  accounts: globalThis.Array.isArray(object?.accounts) ? object.accounts.map((e) => globalThis.String(e)) : [],
11468
11554
  parsed: isObject3(object.parsed) ? object.parsed : void 0,
11555
+ rawParsed: isSet4(object.rawParsed) ? globalThis.String(object.rawParsed) : void 0,
11469
11556
  rawTransaction: isSet4(object.rawTransaction) ? globalThis.String(object.rawTransaction) : void 0
11470
11557
  };
11471
11558
  },
@@ -11486,6 +11573,9 @@ var Data_SolInstruction = {
11486
11573
  if (message.parsed !== void 0) {
11487
11574
  obj.parsed = message.parsed;
11488
11575
  }
11576
+ if (message.rawParsed !== void 0) {
11577
+ obj.rawParsed = message.rawParsed;
11578
+ }
11489
11579
  if (message.rawTransaction !== void 0) {
11490
11580
  obj.rawTransaction = message.rawTransaction;
11491
11581
  }
@@ -11501,6 +11591,7 @@ var Data_SolInstruction = {
11501
11591
  message.programAccountId = object.programAccountId ?? "";
11502
11592
  message.accounts = object.accounts?.map((e) => e) || [];
11503
11593
  message.parsed = object.parsed ?? void 0;
11594
+ message.rawParsed = object.rawParsed ?? void 0;
11504
11595
  message.rawTransaction = object.rawTransaction ?? void 0;
11505
11596
  return message;
11506
11597
  }
@@ -23036,13 +23127,16 @@ var Data_EthLog2 = {
23036
23127
  }
23037
23128
  };
23038
23129
  function createBaseData_EthBlock2() {
23039
- return { block: void 0 };
23130
+ return { block: void 0, rawBlock: "" };
23040
23131
  }
23041
23132
  var Data_EthBlock2 = {
23042
23133
  encode(message, writer = import_minimal12.default.Writer.create()) {
23043
23134
  if (message.block !== void 0) {
23044
23135
  Struct2.encode(Struct2.wrap(message.block), writer.uint32(18).fork()).ldelim();
23045
23136
  }
23137
+ if (message.rawBlock !== "") {
23138
+ writer.uint32(10).string(message.rawBlock);
23139
+ }
23046
23140
  return writer;
23047
23141
  },
23048
23142
  decode(input, length) {
@@ -23058,6 +23152,12 @@ var Data_EthBlock2 = {
23058
23152
  }
23059
23153
  message.block = Struct2.unwrap(Struct2.decode(reader, reader.uint32()));
23060
23154
  continue;
23155
+ case 1:
23156
+ if (tag !== 10) {
23157
+ break;
23158
+ }
23159
+ message.rawBlock = reader.string();
23160
+ continue;
23061
23161
  }
23062
23162
  if ((tag & 7) === 4 || tag === 0) {
23063
23163
  break;
@@ -23067,13 +23167,19 @@ var Data_EthBlock2 = {
23067
23167
  return message;
23068
23168
  },
23069
23169
  fromJSON(object) {
23070
- return { block: isObject6(object.block) ? object.block : void 0 };
23170
+ return {
23171
+ block: isObject6(object.block) ? object.block : void 0,
23172
+ rawBlock: isSet8(object.rawBlock) ? globalThis.String(object.rawBlock) : ""
23173
+ };
23071
23174
  },
23072
23175
  toJSON(message) {
23073
23176
  const obj = {};
23074
23177
  if (message.block !== void 0) {
23075
23178
  obj.block = message.block;
23076
23179
  }
23180
+ if (message.rawBlock !== "") {
23181
+ obj.rawBlock = message.rawBlock;
23182
+ }
23077
23183
  return obj;
23078
23184
  },
23079
23185
  create(base) {
@@ -23082,6 +23188,7 @@ var Data_EthBlock2 = {
23082
23188
  fromPartial(object) {
23083
23189
  const message = createBaseData_EthBlock2();
23084
23190
  message.block = object.block ?? void 0;
23191
+ message.rawBlock = object.rawBlock ?? "";
23085
23192
  return message;
23086
23193
  }
23087
23194
  };
@@ -23265,7 +23372,11 @@ function createBaseData_EthTrace2() {
23265
23372
  timestamp: void 0,
23266
23373
  transaction: void 0,
23267
23374
  transactionReceipt: void 0,
23268
- block: void 0
23375
+ block: void 0,
23376
+ rawTrace: "",
23377
+ rawTransaction: void 0,
23378
+ rawTransactionReceipt: void 0,
23379
+ rawBlock: void 0
23269
23380
  };
23270
23381
  }
23271
23382
  var Data_EthTrace2 = {
@@ -23285,6 +23396,18 @@ var Data_EthTrace2 = {
23285
23396
  if (message.block !== void 0) {
23286
23397
  Struct2.encode(Struct2.wrap(message.block), writer.uint32(50).fork()).ldelim();
23287
23398
  }
23399
+ if (message.rawTrace !== "") {
23400
+ writer.uint32(58).string(message.rawTrace);
23401
+ }
23402
+ if (message.rawTransaction !== void 0) {
23403
+ writer.uint32(66).string(message.rawTransaction);
23404
+ }
23405
+ if (message.rawTransactionReceipt !== void 0) {
23406
+ writer.uint32(74).string(message.rawTransactionReceipt);
23407
+ }
23408
+ if (message.rawBlock !== void 0) {
23409
+ writer.uint32(82).string(message.rawBlock);
23410
+ }
23288
23411
  return writer;
23289
23412
  },
23290
23413
  decode(input, length) {
@@ -23324,6 +23447,30 @@ var Data_EthTrace2 = {
23324
23447
  }
23325
23448
  message.block = Struct2.unwrap(Struct2.decode(reader, reader.uint32()));
23326
23449
  continue;
23450
+ case 7:
23451
+ if (tag !== 58) {
23452
+ break;
23453
+ }
23454
+ message.rawTrace = reader.string();
23455
+ continue;
23456
+ case 8:
23457
+ if (tag !== 66) {
23458
+ break;
23459
+ }
23460
+ message.rawTransaction = reader.string();
23461
+ continue;
23462
+ case 9:
23463
+ if (tag !== 74) {
23464
+ break;
23465
+ }
23466
+ message.rawTransactionReceipt = reader.string();
23467
+ continue;
23468
+ case 10:
23469
+ if (tag !== 82) {
23470
+ break;
23471
+ }
23472
+ message.rawBlock = reader.string();
23473
+ continue;
23327
23474
  }
23328
23475
  if ((tag & 7) === 4 || tag === 0) {
23329
23476
  break;
@@ -23338,7 +23485,11 @@ var Data_EthTrace2 = {
23338
23485
  timestamp: isSet8(object.timestamp) ? fromJsonTimestamp4(object.timestamp) : void 0,
23339
23486
  transaction: isObject6(object.transaction) ? object.transaction : void 0,
23340
23487
  transactionReceipt: isObject6(object.transactionReceipt) ? object.transactionReceipt : void 0,
23341
- block: isObject6(object.block) ? object.block : void 0
23488
+ block: isObject6(object.block) ? object.block : void 0,
23489
+ rawTrace: isSet8(object.rawTrace) ? globalThis.String(object.rawTrace) : "",
23490
+ rawTransaction: isSet8(object.rawTransaction) ? globalThis.String(object.rawTransaction) : void 0,
23491
+ rawTransactionReceipt: isSet8(object.rawTransactionReceipt) ? globalThis.String(object.rawTransactionReceipt) : void 0,
23492
+ rawBlock: isSet8(object.rawBlock) ? globalThis.String(object.rawBlock) : void 0
23342
23493
  };
23343
23494
  },
23344
23495
  toJSON(message) {
@@ -23358,6 +23509,18 @@ var Data_EthTrace2 = {
23358
23509
  if (message.block !== void 0) {
23359
23510
  obj.block = message.block;
23360
23511
  }
23512
+ if (message.rawTrace !== "") {
23513
+ obj.rawTrace = message.rawTrace;
23514
+ }
23515
+ if (message.rawTransaction !== void 0) {
23516
+ obj.rawTransaction = message.rawTransaction;
23517
+ }
23518
+ if (message.rawTransactionReceipt !== void 0) {
23519
+ obj.rawTransactionReceipt = message.rawTransactionReceipt;
23520
+ }
23521
+ if (message.rawBlock !== void 0) {
23522
+ obj.rawBlock = message.rawBlock;
23523
+ }
23361
23524
  return obj;
23362
23525
  },
23363
23526
  create(base) {
@@ -23370,6 +23533,10 @@ var Data_EthTrace2 = {
23370
23533
  message.transaction = object.transaction ?? void 0;
23371
23534
  message.transactionReceipt = object.transactionReceipt ?? void 0;
23372
23535
  message.block = object.block ?? void 0;
23536
+ message.rawTrace = object.rawTrace ?? "";
23537
+ message.rawTransaction = object.rawTransaction ?? void 0;
23538
+ message.rawTransactionReceipt = object.rawTransactionReceipt ?? void 0;
23539
+ message.rawBlock = object.rawBlock ?? void 0;
23373
23540
  return message;
23374
23541
  }
23375
23542
  };
@@ -23380,6 +23547,7 @@ function createBaseData_SolInstruction2() {
23380
23547
  programAccountId: "",
23381
23548
  accounts: [],
23382
23549
  parsed: void 0,
23550
+ rawParsed: void 0,
23383
23551
  rawTransaction: void 0
23384
23552
  };
23385
23553
  }
@@ -23403,6 +23571,9 @@ var Data_SolInstruction2 = {
23403
23571
  if (message.parsed !== void 0) {
23404
23572
  Struct2.encode(Struct2.wrap(message.parsed), writer.uint32(34).fork()).ldelim();
23405
23573
  }
23574
+ if (message.rawParsed !== void 0) {
23575
+ writer.uint32(58).string(message.rawParsed);
23576
+ }
23406
23577
  if (message.rawTransaction !== void 0) {
23407
23578
  writer.uint32(50).string(message.rawTransaction);
23408
23579
  }
@@ -23445,6 +23616,12 @@ var Data_SolInstruction2 = {
23445
23616
  }
23446
23617
  message.parsed = Struct2.unwrap(Struct2.decode(reader, reader.uint32()));
23447
23618
  continue;
23619
+ case 7:
23620
+ if (tag !== 58) {
23621
+ break;
23622
+ }
23623
+ message.rawParsed = reader.string();
23624
+ continue;
23448
23625
  case 6:
23449
23626
  if (tag !== 50) {
23450
23627
  break;
@@ -23466,6 +23643,7 @@ var Data_SolInstruction2 = {
23466
23643
  programAccountId: isSet8(object.programAccountId) ? globalThis.String(object.programAccountId) : "",
23467
23644
  accounts: globalThis.Array.isArray(object?.accounts) ? object.accounts.map((e) => globalThis.String(e)) : [],
23468
23645
  parsed: isObject6(object.parsed) ? object.parsed : void 0,
23646
+ rawParsed: isSet8(object.rawParsed) ? globalThis.String(object.rawParsed) : void 0,
23469
23647
  rawTransaction: isSet8(object.rawTransaction) ? globalThis.String(object.rawTransaction) : void 0
23470
23648
  };
23471
23649
  },
@@ -23486,6 +23664,9 @@ var Data_SolInstruction2 = {
23486
23664
  if (message.parsed !== void 0) {
23487
23665
  obj.parsed = message.parsed;
23488
23666
  }
23667
+ if (message.rawParsed !== void 0) {
23668
+ obj.rawParsed = message.rawParsed;
23669
+ }
23489
23670
  if (message.rawTransaction !== void 0) {
23490
23671
  obj.rawTransaction = message.rawTransaction;
23491
23672
  }
@@ -23501,6 +23682,7 @@ var Data_SolInstruction2 = {
23501
23682
  message.programAccountId = object.programAccountId ?? "";
23502
23683
  message.accounts = object.accounts?.map((e) => e) || [];
23503
23684
  message.parsed = object.parsed ?? void 0;
23685
+ message.rawParsed = object.rawParsed ?? void 0;
23504
23686
  message.rawTransaction = object.rawTransaction ?? void 0;
23505
23687
  return message;
23506
23688
  }
@@ -26081,4 +26263,4 @@ long/index.js:
26081
26263
  * SPDX-License-Identifier: Apache-2.0
26082
26264
  *)
26083
26265
  */
26084
- //# sourceMappingURL=chunk-EXIISBRV.js.map
26266
+ //# sourceMappingURL=chunk-HLJD4QOP.js.map