@sentio/sdk-bundle 2.62.0-rc.15 → 2.62.0-rc.17
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/lib/aptos/builtin/0x1.js +6 -6
- package/lib/aptos/builtin/0x3.js +7 -7
- package/lib/aptos/builtin/0x4.js +7 -7
- package/lib/aptos/builtin/index.js +10 -10
- package/lib/aptos/ext/index.js +6 -6
- package/lib/aptos/index.js +6 -6
- package/lib/{chunk-76XFMBKR.js → chunk-2MPIMNL5.js} +2 -2
- package/lib/{chunk-2YA6EDBX.js → chunk-544UJGVR.js} +3 -3
- package/lib/{chunk-R5RTVQ56.js → chunk-5RW6IKKT.js} +3 -3
- package/lib/{chunk-C5FVO5NU.js → chunk-6Q4MO5ON.js} +5 -5
- package/lib/{chunk-M6I43BZC.js → chunk-7J2ZJ4YO.js} +3 -3
- package/lib/{chunk-3L34RK3M.js → chunk-A3VJFF7F.js} +117 -1077
- package/lib/{chunk-3L34RK3M.js.map → chunk-A3VJFF7F.js.map} +1 -1
- package/lib/{chunk-YQYOA6VT.js → chunk-AITNMGRP.js} +3 -3
- package/lib/{chunk-FN7K5CJL.js → chunk-CR5Q2XTO.js} +2 -2
- package/lib/{chunk-AIVP74YD.js → chunk-FPZCUCSC.js} +23 -23
- package/lib/{chunk-3AGHQPPD.js → chunk-HDCKO4KG.js} +2 -2
- package/lib/{chunk-SK337FFE.js → chunk-KDQIYQPV.js} +5 -5
- package/lib/{chunk-JSUDZ4BC.js → chunk-Q7NQMXQ3.js} +4489 -300
- package/lib/chunk-Q7NQMXQ3.js.map +1 -0
- package/lib/{chunk-XG2SJDUV.js → chunk-R5MT5JZW.js} +4 -4
- package/lib/{chunk-6RCZSY3K.js → chunk-S6S3S5OV.js} +6 -6
- package/lib/{chunk-CFJY5DU3.js → chunk-S7XUL5IQ.js} +4 -4
- package/lib/{chunk-6VBLR5FN.js → chunk-UHKY5GG3.js} +6 -6
- package/lib/{chunk-KSXVJFO6.js → chunk-VJE4WRAO.js} +2 -2
- package/lib/{chunk-26F34PRB.js → chunk-X45UXRNP.js} +5 -5
- package/lib/{chunk-7IV3OBAD.js → chunk-Z6A35PQV.js} +2 -2
- package/lib/core/index.js +1 -1
- package/lib/eth/builtin/eacaggregatorproxy.js +2 -2
- package/lib/eth/builtin/erc1155.js +3 -3
- package/lib/eth/builtin/erc20.js +2 -2
- package/lib/eth/builtin/erc721.js +2 -2
- package/lib/eth/builtin/index.js +8 -8
- package/lib/eth/builtin/weth9.js +3 -3
- package/lib/eth/index.js +2 -2
- package/lib/fuel/index.js +2 -2
- package/lib/index.js +1 -21
- package/lib/iota/builtin/0x1.js +9 -9
- package/lib/iota/builtin/0x2.js +10 -10
- package/lib/iota/builtin/0x3.js +11 -11
- package/lib/iota/builtin/index.js +11 -11
- package/lib/iota/ext/index.js +5 -5
- package/lib/iota/index.js +8 -8
- package/lib/move/index.js +2 -2
- package/lib/solana/builtin/index.js +2 -3
- package/lib/solana/builtin/index.js.map +1 -1
- package/lib/solana/index.js +2 -3
- package/lib/store/index.js +1 -1
- package/lib/sui/builtin/0x1.js +9 -9
- package/lib/sui/builtin/0x2.js +10 -10
- package/lib/sui/builtin/0x3.js +11 -11
- package/lib/sui/builtin/index.js +11 -11
- package/lib/sui/ext/index.js +5 -5
- package/lib/sui/index.js +8 -8
- package/lib/testing/index.js +11 -115
- package/lib/testing/index.js.map +1 -1
- package/lib/utils/index.js +2 -2
- package/package.json +2 -2
- package/lib/btc/index.js +0 -26
- package/lib/btc/index.js.map +0 -1
- package/lib/chunk-6UVWNOIX.js +0 -4207
- package/lib/chunk-6UVWNOIX.js.map +0 -1
- package/lib/chunk-JSUDZ4BC.js.map +0 -1
- package/lib/chunk-R7A4ZYUK.js +0 -528
- package/lib/chunk-R7A4ZYUK.js.map +0 -1
- package/lib/stark/index.js +0 -25426
- package/lib/stark/index.js.map +0 -1
- /package/lib/{chunk-76XFMBKR.js.map → chunk-2MPIMNL5.js.map} +0 -0
- /package/lib/{chunk-2YA6EDBX.js.map → chunk-544UJGVR.js.map} +0 -0
- /package/lib/{chunk-R5RTVQ56.js.map → chunk-5RW6IKKT.js.map} +0 -0
- /package/lib/{chunk-C5FVO5NU.js.map → chunk-6Q4MO5ON.js.map} +0 -0
- /package/lib/{chunk-M6I43BZC.js.map → chunk-7J2ZJ4YO.js.map} +0 -0
- /package/lib/{chunk-YQYOA6VT.js.map → chunk-AITNMGRP.js.map} +0 -0
- /package/lib/{chunk-FN7K5CJL.js.map → chunk-CR5Q2XTO.js.map} +0 -0
- /package/lib/{chunk-AIVP74YD.js.map → chunk-FPZCUCSC.js.map} +0 -0
- /package/lib/{chunk-3AGHQPPD.js.map → chunk-HDCKO4KG.js.map} +0 -0
- /package/lib/{chunk-SK337FFE.js.map → chunk-KDQIYQPV.js.map} +0 -0
- /package/lib/{chunk-XG2SJDUV.js.map → chunk-R5MT5JZW.js.map} +0 -0
- /package/lib/{chunk-6RCZSY3K.js.map → chunk-S6S3S5OV.js.map} +0 -0
- /package/lib/{chunk-CFJY5DU3.js.map → chunk-S7XUL5IQ.js.map} +0 -0
- /package/lib/{chunk-6VBLR5FN.js.map → chunk-UHKY5GG3.js.map} +0 -0
- /package/lib/{chunk-KSXVJFO6.js.map → chunk-VJE4WRAO.js.map} +0 -0
- /package/lib/{chunk-26F34PRB.js.map → chunk-X45UXRNP.js.map} +0 -0
- /package/lib/{chunk-7IV3OBAD.js.map → chunk-Z6A35PQV.js.map} +0 -0
|
@@ -63121,6 +63121,8 @@ var Selector_OperatorType;
|
|
|
63121
63121
|
Selector_OperatorType2[Selector_OperatorType2["NOT_BETWEEN"] = 8] = "NOT_BETWEEN";
|
|
63122
63122
|
Selector_OperatorType2[Selector_OperatorType2["CONTAINS"] = 11] = "CONTAINS";
|
|
63123
63123
|
Selector_OperatorType2[Selector_OperatorType2["NOT_CONTAINS"] = 12] = "NOT_CONTAINS";
|
|
63124
|
+
Selector_OperatorType2[Selector_OperatorType2["IN"] = 15] = "IN";
|
|
63125
|
+
Selector_OperatorType2[Selector_OperatorType2["NOT_IN"] = 16] = "NOT_IN";
|
|
63124
63126
|
Selector_OperatorType2[Selector_OperatorType2["IN_COHORTS"] = 13] = "IN_COHORTS";
|
|
63125
63127
|
Selector_OperatorType2[Selector_OperatorType2["NOT_IN_COHORTS"] = 14] = "NOT_IN_COHORTS";
|
|
63126
63128
|
Selector_OperatorType2[Selector_OperatorType2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
@@ -63227,16 +63229,6 @@ var RetentionQuery_Interval_Unit;
|
|
|
63227
63229
|
RetentionQuery_Interval_Unit2[RetentionQuery_Interval_Unit2["Month"] = 2] = "Month";
|
|
63228
63230
|
RetentionQuery_Interval_Unit2[RetentionQuery_Interval_Unit2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
63229
63231
|
})(RetentionQuery_Interval_Unit || (RetentionQuery_Interval_Unit = {}));
|
|
63230
|
-
var SystemSQLQuery_Aggregation_AggregateProperties_AggregationType;
|
|
63231
|
-
(function(SystemSQLQuery_Aggregation_AggregateProperties_AggregationType2) {
|
|
63232
|
-
SystemSQLQuery_Aggregation_AggregateProperties_AggregationType2[SystemSQLQuery_Aggregation_AggregateProperties_AggregationType2["SUM"] = 0] = "SUM";
|
|
63233
|
-
SystemSQLQuery_Aggregation_AggregateProperties_AggregationType2[SystemSQLQuery_Aggregation_AggregateProperties_AggregationType2["AVG"] = 1] = "AVG";
|
|
63234
|
-
SystemSQLQuery_Aggregation_AggregateProperties_AggregationType2[SystemSQLQuery_Aggregation_AggregateProperties_AggregationType2["MEDIAN"] = 2] = "MEDIAN";
|
|
63235
|
-
SystemSQLQuery_Aggregation_AggregateProperties_AggregationType2[SystemSQLQuery_Aggregation_AggregateProperties_AggregationType2["MIN"] = 3] = "MIN";
|
|
63236
|
-
SystemSQLQuery_Aggregation_AggregateProperties_AggregationType2[SystemSQLQuery_Aggregation_AggregateProperties_AggregationType2["MAX"] = 4] = "MAX";
|
|
63237
|
-
SystemSQLQuery_Aggregation_AggregateProperties_AggregationType2[SystemSQLQuery_Aggregation_AggregateProperties_AggregationType2["DISTINCT_COUNT"] = 5] = "DISTINCT_COUNT";
|
|
63238
|
-
SystemSQLQuery_Aggregation_AggregateProperties_AggregationType2[SystemSQLQuery_Aggregation_AggregateProperties_AggregationType2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
63239
|
-
})(SystemSQLQuery_Aggregation_AggregateProperties_AggregationType || (SystemSQLQuery_Aggregation_AggregateProperties_AggregationType = {}));
|
|
63240
63232
|
var RichValue_NullValue;
|
|
63241
63233
|
(function(RichValue_NullValue2) {
|
|
63242
63234
|
RichValue_NullValue2[RichValue_NullValue2["NULL_VALUE"] = 0] = "NULL_VALUE";
|
|
@@ -64366,8 +64358,6 @@ var HandlerType;
|
|
|
64366
64358
|
HandlerType3[HandlerType3["FUEL_BLOCK"] = 17] = "FUEL_BLOCK";
|
|
64367
64359
|
HandlerType3[HandlerType3["COSMOS_CALL"] = 14] = "COSMOS_CALL";
|
|
64368
64360
|
HandlerType3[HandlerType3["STARKNET_EVENT"] = 15] = "STARKNET_EVENT";
|
|
64369
|
-
HandlerType3[HandlerType3["BTC_TRANSACTION"] = 16] = "BTC_TRANSACTION";
|
|
64370
|
-
HandlerType3[HandlerType3["BTC_BLOCK"] = 18] = "BTC_BLOCK";
|
|
64371
64361
|
HandlerType3[HandlerType3["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
64372
64362
|
})(HandlerType || (HandlerType = {}));
|
|
64373
64363
|
function handlerTypeFromJSON(object) {
|
|
@@ -64429,12 +64419,6 @@ function handlerTypeFromJSON(object) {
|
|
|
64429
64419
|
case 15:
|
|
64430
64420
|
case "STARKNET_EVENT":
|
|
64431
64421
|
return HandlerType.STARKNET_EVENT;
|
|
64432
|
-
case 16:
|
|
64433
|
-
case "BTC_TRANSACTION":
|
|
64434
|
-
return HandlerType.BTC_TRANSACTION;
|
|
64435
|
-
case 18:
|
|
64436
|
-
case "BTC_BLOCK":
|
|
64437
|
-
return HandlerType.BTC_BLOCK;
|
|
64438
64422
|
case -1:
|
|
64439
64423
|
case "UNRECOGNIZED":
|
|
64440
64424
|
default:
|
|
@@ -64482,10 +64466,6 @@ function handlerTypeToJSON(object) {
|
|
|
64482
64466
|
return "COSMOS_CALL";
|
|
64483
64467
|
case HandlerType.STARKNET_EVENT:
|
|
64484
64468
|
return "STARKNET_EVENT";
|
|
64485
|
-
case HandlerType.BTC_TRANSACTION:
|
|
64486
|
-
return "BTC_TRANSACTION";
|
|
64487
|
-
case HandlerType.BTC_BLOCK:
|
|
64488
|
-
return "BTC_BLOCK";
|
|
64489
64469
|
case HandlerType.UNRECOGNIZED:
|
|
64490
64470
|
default:
|
|
64491
64471
|
return "UNRECOGNIZED";
|
|
@@ -65465,7 +65445,6 @@ function createBaseContractConfig() {
|
|
|
65465
65445
|
fuelReceiptConfigs: [],
|
|
65466
65446
|
cosmosLogConfigs: [],
|
|
65467
65447
|
starknetEventConfigs: [],
|
|
65468
|
-
btcTransactionConfigs: [],
|
|
65469
65448
|
instructionConfig: void 0,
|
|
65470
65449
|
startBlock: BigInt("0"),
|
|
65471
65450
|
endBlock: BigInt("0"),
|
|
@@ -65517,9 +65496,6 @@ var ContractConfig = {
|
|
|
65517
65496
|
for (const v of message.starknetEventConfigs) {
|
|
65518
65497
|
StarknetEventHandlerConfig.encode(v, writer.uint32(138).fork()).ldelim();
|
|
65519
65498
|
}
|
|
65520
|
-
for (const v of message.btcTransactionConfigs) {
|
|
65521
|
-
BTCTransactionHandlerConfig.encode(v, writer.uint32(146).fork()).ldelim();
|
|
65522
|
-
}
|
|
65523
65499
|
if (message.instructionConfig !== void 0) {
|
|
65524
65500
|
InstructionHandlerConfig.encode(message.instructionConfig, writer.uint32(50).fork()).ldelim();
|
|
65525
65501
|
}
|
|
@@ -65631,12 +65607,6 @@ var ContractConfig = {
|
|
|
65631
65607
|
}
|
|
65632
65608
|
message.starknetEventConfigs.push(StarknetEventHandlerConfig.decode(reader, reader.uint32()));
|
|
65633
65609
|
continue;
|
|
65634
|
-
case 18:
|
|
65635
|
-
if (tag !== 146) {
|
|
65636
|
-
break;
|
|
65637
|
-
}
|
|
65638
|
-
message.btcTransactionConfigs.push(BTCTransactionHandlerConfig.decode(reader, reader.uint32()));
|
|
65639
|
-
continue;
|
|
65640
65610
|
case 6:
|
|
65641
65611
|
if (tag !== 50) {
|
|
65642
65612
|
break;
|
|
@@ -65685,7 +65655,6 @@ var ContractConfig = {
|
|
|
65685
65655
|
fuelReceiptConfigs: globalThis.Array.isArray(object?.fuelReceiptConfigs) ? object.fuelReceiptConfigs.map((e) => FuelReceiptHandlerConfig.fromJSON(e)) : [],
|
|
65686
65656
|
cosmosLogConfigs: globalThis.Array.isArray(object?.cosmosLogConfigs) ? object.cosmosLogConfigs.map((e) => CosmosLogHandlerConfig.fromJSON(e)) : [],
|
|
65687
65657
|
starknetEventConfigs: globalThis.Array.isArray(object?.starknetEventConfigs) ? object.starknetEventConfigs.map((e) => StarknetEventHandlerConfig.fromJSON(e)) : [],
|
|
65688
|
-
btcTransactionConfigs: globalThis.Array.isArray(object?.btcTransactionConfigs) ? object.btcTransactionConfigs.map((e) => BTCTransactionHandlerConfig.fromJSON(e)) : [],
|
|
65689
65658
|
instructionConfig: isSet4(object.instructionConfig) ? InstructionHandlerConfig.fromJSON(object.instructionConfig) : void 0,
|
|
65690
65659
|
startBlock: isSet4(object.startBlock) ? BigInt(object.startBlock) : BigInt("0"),
|
|
65691
65660
|
endBlock: isSet4(object.endBlock) ? BigInt(object.endBlock) : BigInt("0"),
|
|
@@ -65736,9 +65705,6 @@ var ContractConfig = {
|
|
|
65736
65705
|
if (message.starknetEventConfigs?.length) {
|
|
65737
65706
|
obj.starknetEventConfigs = message.starknetEventConfigs.map((e) => StarknetEventHandlerConfig.toJSON(e));
|
|
65738
65707
|
}
|
|
65739
|
-
if (message.btcTransactionConfigs?.length) {
|
|
65740
|
-
obj.btcTransactionConfigs = message.btcTransactionConfigs.map((e) => BTCTransactionHandlerConfig.toJSON(e));
|
|
65741
|
-
}
|
|
65742
65708
|
if (message.instructionConfig !== void 0) {
|
|
65743
65709
|
obj.instructionConfig = InstructionHandlerConfig.toJSON(message.instructionConfig);
|
|
65744
65710
|
}
|
|
@@ -65772,7 +65738,6 @@ var ContractConfig = {
|
|
|
65772
65738
|
message.fuelReceiptConfigs = object.fuelReceiptConfigs?.map((e) => FuelReceiptHandlerConfig.fromPartial(e)) || [];
|
|
65773
65739
|
message.cosmosLogConfigs = object.cosmosLogConfigs?.map((e) => CosmosLogHandlerConfig.fromPartial(e)) || [];
|
|
65774
65740
|
message.starknetEventConfigs = object.starknetEventConfigs?.map((e) => StarknetEventHandlerConfig.fromPartial(e)) || [];
|
|
65775
|
-
message.btcTransactionConfigs = object.btcTransactionConfigs?.map((e) => BTCTransactionHandlerConfig.fromPartial(e)) || [];
|
|
65776
65741
|
message.instructionConfig = object.instructionConfig !== void 0 && object.instructionConfig !== null ? InstructionHandlerConfig.fromPartial(object.instructionConfig) : void 0;
|
|
65777
65742
|
message.startBlock = object.startBlock ?? BigInt("0");
|
|
65778
65743
|
message.endBlock = object.endBlock ?? BigInt("0");
|
|
@@ -69307,814 +69272,24 @@ var MoveCallFilter = {
|
|
|
69307
69272
|
break;
|
|
69308
69273
|
}
|
|
69309
69274
|
message.withTypeArguments = reader.bool();
|
|
69310
|
-
continue;
|
|
69311
|
-
case 4:
|
|
69312
|
-
if (tag !== 32) {
|
|
69313
|
-
break;
|
|
69314
|
-
}
|
|
69315
|
-
message.includeFailed = reader.bool();
|
|
69316
|
-
continue;
|
|
69317
|
-
case 5:
|
|
69318
|
-
if (tag !== 42) {
|
|
69319
|
-
break;
|
|
69320
|
-
}
|
|
69321
|
-
message.publicKeyPrefix = reader.string();
|
|
69322
|
-
continue;
|
|
69323
|
-
case 6:
|
|
69324
|
-
if (tag !== 50) {
|
|
69325
|
-
break;
|
|
69326
|
-
}
|
|
69327
|
-
message.fromAndToAddress = MoveCallFilter_FromAndToAddress.decode(reader, reader.uint32());
|
|
69328
|
-
continue;
|
|
69329
|
-
}
|
|
69330
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
69331
|
-
break;
|
|
69332
|
-
}
|
|
69333
|
-
reader.skipType(tag & 7);
|
|
69334
|
-
}
|
|
69335
|
-
return message;
|
|
69336
|
-
},
|
|
69337
|
-
fromJSON(object) {
|
|
69338
|
-
return {
|
|
69339
|
-
function: isSet4(object.function) ? globalThis.String(object.function) : "",
|
|
69340
|
-
typeArguments: globalThis.Array.isArray(object?.typeArguments) ? object.typeArguments.map((e) => globalThis.String(e)) : [],
|
|
69341
|
-
withTypeArguments: isSet4(object.withTypeArguments) ? globalThis.Boolean(object.withTypeArguments) : false,
|
|
69342
|
-
includeFailed: isSet4(object.includeFailed) ? globalThis.Boolean(object.includeFailed) : false,
|
|
69343
|
-
publicKeyPrefix: isSet4(object.publicKeyPrefix) ? globalThis.String(object.publicKeyPrefix) : "",
|
|
69344
|
-
fromAndToAddress: isSet4(object.fromAndToAddress) ? MoveCallFilter_FromAndToAddress.fromJSON(object.fromAndToAddress) : void 0
|
|
69345
|
-
};
|
|
69346
|
-
},
|
|
69347
|
-
toJSON(message) {
|
|
69348
|
-
const obj = {};
|
|
69349
|
-
if (message.function !== "") {
|
|
69350
|
-
obj.function = message.function;
|
|
69351
|
-
}
|
|
69352
|
-
if (message.typeArguments?.length) {
|
|
69353
|
-
obj.typeArguments = message.typeArguments;
|
|
69354
|
-
}
|
|
69355
|
-
if (message.withTypeArguments !== false) {
|
|
69356
|
-
obj.withTypeArguments = message.withTypeArguments;
|
|
69357
|
-
}
|
|
69358
|
-
if (message.includeFailed !== false) {
|
|
69359
|
-
obj.includeFailed = message.includeFailed;
|
|
69360
|
-
}
|
|
69361
|
-
if (message.publicKeyPrefix !== "") {
|
|
69362
|
-
obj.publicKeyPrefix = message.publicKeyPrefix;
|
|
69363
|
-
}
|
|
69364
|
-
if (message.fromAndToAddress !== void 0) {
|
|
69365
|
-
obj.fromAndToAddress = MoveCallFilter_FromAndToAddress.toJSON(message.fromAndToAddress);
|
|
69366
|
-
}
|
|
69367
|
-
return obj;
|
|
69368
|
-
},
|
|
69369
|
-
create(base) {
|
|
69370
|
-
return MoveCallFilter.fromPartial(base ?? {});
|
|
69371
|
-
},
|
|
69372
|
-
fromPartial(object) {
|
|
69373
|
-
const message = createBaseMoveCallFilter();
|
|
69374
|
-
message.function = object.function ?? "";
|
|
69375
|
-
message.typeArguments = object.typeArguments?.map((e) => e) || [];
|
|
69376
|
-
message.withTypeArguments = object.withTypeArguments ?? false;
|
|
69377
|
-
message.includeFailed = object.includeFailed ?? false;
|
|
69378
|
-
message.publicKeyPrefix = object.publicKeyPrefix ?? "";
|
|
69379
|
-
message.fromAndToAddress = object.fromAndToAddress !== void 0 && object.fromAndToAddress !== null ? MoveCallFilter_FromAndToAddress.fromPartial(object.fromAndToAddress) : void 0;
|
|
69380
|
-
return message;
|
|
69381
|
-
}
|
|
69382
|
-
};
|
|
69383
|
-
function createBaseMoveCallFilter_FromAndToAddress() {
|
|
69384
|
-
return { from: "", to: "" };
|
|
69385
|
-
}
|
|
69386
|
-
__name(createBaseMoveCallFilter_FromAndToAddress, "createBaseMoveCallFilter_FromAndToAddress");
|
|
69387
|
-
var MoveCallFilter_FromAndToAddress = {
|
|
69388
|
-
encode(message, writer = import_minimal6.default.Writer.create()) {
|
|
69389
|
-
if (message.from !== "") {
|
|
69390
|
-
writer.uint32(10).string(message.from);
|
|
69391
|
-
}
|
|
69392
|
-
if (message.to !== "") {
|
|
69393
|
-
writer.uint32(18).string(message.to);
|
|
69394
|
-
}
|
|
69395
|
-
return writer;
|
|
69396
|
-
},
|
|
69397
|
-
decode(input, length) {
|
|
69398
|
-
const reader = input instanceof import_minimal6.default.Reader ? input : import_minimal6.default.Reader.create(input);
|
|
69399
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
69400
|
-
const message = createBaseMoveCallFilter_FromAndToAddress();
|
|
69401
|
-
while (reader.pos < end) {
|
|
69402
|
-
const tag = reader.uint32();
|
|
69403
|
-
switch (tag >>> 3) {
|
|
69404
|
-
case 1:
|
|
69405
|
-
if (tag !== 10) {
|
|
69406
|
-
break;
|
|
69407
|
-
}
|
|
69408
|
-
message.from = reader.string();
|
|
69409
|
-
continue;
|
|
69410
|
-
case 2:
|
|
69411
|
-
if (tag !== 18) {
|
|
69412
|
-
break;
|
|
69413
|
-
}
|
|
69414
|
-
message.to = reader.string();
|
|
69415
|
-
continue;
|
|
69416
|
-
}
|
|
69417
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
69418
|
-
break;
|
|
69419
|
-
}
|
|
69420
|
-
reader.skipType(tag & 7);
|
|
69421
|
-
}
|
|
69422
|
-
return message;
|
|
69423
|
-
},
|
|
69424
|
-
fromJSON(object) {
|
|
69425
|
-
return {
|
|
69426
|
-
from: isSet4(object.from) ? globalThis.String(object.from) : "",
|
|
69427
|
-
to: isSet4(object.to) ? globalThis.String(object.to) : ""
|
|
69428
|
-
};
|
|
69429
|
-
},
|
|
69430
|
-
toJSON(message) {
|
|
69431
|
-
const obj = {};
|
|
69432
|
-
if (message.from !== "") {
|
|
69433
|
-
obj.from = message.from;
|
|
69434
|
-
}
|
|
69435
|
-
if (message.to !== "") {
|
|
69436
|
-
obj.to = message.to;
|
|
69437
|
-
}
|
|
69438
|
-
return obj;
|
|
69439
|
-
},
|
|
69440
|
-
create(base) {
|
|
69441
|
-
return MoveCallFilter_FromAndToAddress.fromPartial(base ?? {});
|
|
69442
|
-
},
|
|
69443
|
-
fromPartial(object) {
|
|
69444
|
-
const message = createBaseMoveCallFilter_FromAndToAddress();
|
|
69445
|
-
message.from = object.from ?? "";
|
|
69446
|
-
message.to = object.to ?? "";
|
|
69447
|
-
return message;
|
|
69448
|
-
}
|
|
69449
|
-
};
|
|
69450
|
-
function createBaseStarknetEventHandlerConfig() {
|
|
69451
|
-
return { filters: [], handlerId: 0, handlerName: "" };
|
|
69452
|
-
}
|
|
69453
|
-
__name(createBaseStarknetEventHandlerConfig, "createBaseStarknetEventHandlerConfig");
|
|
69454
|
-
var StarknetEventHandlerConfig = {
|
|
69455
|
-
encode(message, writer = import_minimal6.default.Writer.create()) {
|
|
69456
|
-
for (const v of message.filters) {
|
|
69457
|
-
StarknetEventFilter.encode(v, writer.uint32(10).fork()).ldelim();
|
|
69458
|
-
}
|
|
69459
|
-
if (message.handlerId !== 0) {
|
|
69460
|
-
writer.uint32(16).int32(message.handlerId);
|
|
69461
|
-
}
|
|
69462
|
-
if (message.handlerName !== "") {
|
|
69463
|
-
writer.uint32(26).string(message.handlerName);
|
|
69464
|
-
}
|
|
69465
|
-
return writer;
|
|
69466
|
-
},
|
|
69467
|
-
decode(input, length) {
|
|
69468
|
-
const reader = input instanceof import_minimal6.default.Reader ? input : import_minimal6.default.Reader.create(input);
|
|
69469
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
69470
|
-
const message = createBaseStarknetEventHandlerConfig();
|
|
69471
|
-
while (reader.pos < end) {
|
|
69472
|
-
const tag = reader.uint32();
|
|
69473
|
-
switch (tag >>> 3) {
|
|
69474
|
-
case 1:
|
|
69475
|
-
if (tag !== 10) {
|
|
69476
|
-
break;
|
|
69477
|
-
}
|
|
69478
|
-
message.filters.push(StarknetEventFilter.decode(reader, reader.uint32()));
|
|
69479
|
-
continue;
|
|
69480
|
-
case 2:
|
|
69481
|
-
if (tag !== 16) {
|
|
69482
|
-
break;
|
|
69483
|
-
}
|
|
69484
|
-
message.handlerId = reader.int32();
|
|
69485
|
-
continue;
|
|
69486
|
-
case 3:
|
|
69487
|
-
if (tag !== 26) {
|
|
69488
|
-
break;
|
|
69489
|
-
}
|
|
69490
|
-
message.handlerName = reader.string();
|
|
69491
|
-
continue;
|
|
69492
|
-
}
|
|
69493
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
69494
|
-
break;
|
|
69495
|
-
}
|
|
69496
|
-
reader.skipType(tag & 7);
|
|
69497
|
-
}
|
|
69498
|
-
return message;
|
|
69499
|
-
},
|
|
69500
|
-
fromJSON(object) {
|
|
69501
|
-
return {
|
|
69502
|
-
filters: globalThis.Array.isArray(object?.filters) ? object.filters.map((e) => StarknetEventFilter.fromJSON(e)) : [],
|
|
69503
|
-
handlerId: isSet4(object.handlerId) ? globalThis.Number(object.handlerId) : 0,
|
|
69504
|
-
handlerName: isSet4(object.handlerName) ? globalThis.String(object.handlerName) : ""
|
|
69505
|
-
};
|
|
69506
|
-
},
|
|
69507
|
-
toJSON(message) {
|
|
69508
|
-
const obj = {};
|
|
69509
|
-
if (message.filters?.length) {
|
|
69510
|
-
obj.filters = message.filters.map((e) => StarknetEventFilter.toJSON(e));
|
|
69511
|
-
}
|
|
69512
|
-
if (message.handlerId !== 0) {
|
|
69513
|
-
obj.handlerId = Math.round(message.handlerId);
|
|
69514
|
-
}
|
|
69515
|
-
if (message.handlerName !== "") {
|
|
69516
|
-
obj.handlerName = message.handlerName;
|
|
69517
|
-
}
|
|
69518
|
-
return obj;
|
|
69519
|
-
},
|
|
69520
|
-
create(base) {
|
|
69521
|
-
return StarknetEventHandlerConfig.fromPartial(base ?? {});
|
|
69522
|
-
},
|
|
69523
|
-
fromPartial(object) {
|
|
69524
|
-
const message = createBaseStarknetEventHandlerConfig();
|
|
69525
|
-
message.filters = object.filters?.map((e) => StarknetEventFilter.fromPartial(e)) || [];
|
|
69526
|
-
message.handlerId = object.handlerId ?? 0;
|
|
69527
|
-
message.handlerName = object.handlerName ?? "";
|
|
69528
|
-
return message;
|
|
69529
|
-
}
|
|
69530
|
-
};
|
|
69531
|
-
function createBaseBTCTransactionHandlerConfig() {
|
|
69532
|
-
return { filters: [], handlerId: 0, handlerName: "" };
|
|
69533
|
-
}
|
|
69534
|
-
__name(createBaseBTCTransactionHandlerConfig, "createBaseBTCTransactionHandlerConfig");
|
|
69535
|
-
var BTCTransactionHandlerConfig = {
|
|
69536
|
-
encode(message, writer = import_minimal6.default.Writer.create()) {
|
|
69537
|
-
for (const v of message.filters) {
|
|
69538
|
-
BTCTransactionFilter.encode(v, writer.uint32(10).fork()).ldelim();
|
|
69539
|
-
}
|
|
69540
|
-
if (message.handlerId !== 0) {
|
|
69541
|
-
writer.uint32(16).int32(message.handlerId);
|
|
69542
|
-
}
|
|
69543
|
-
if (message.handlerName !== "") {
|
|
69544
|
-
writer.uint32(26).string(message.handlerName);
|
|
69545
|
-
}
|
|
69546
|
-
return writer;
|
|
69547
|
-
},
|
|
69548
|
-
decode(input, length) {
|
|
69549
|
-
const reader = input instanceof import_minimal6.default.Reader ? input : import_minimal6.default.Reader.create(input);
|
|
69550
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
69551
|
-
const message = createBaseBTCTransactionHandlerConfig();
|
|
69552
|
-
while (reader.pos < end) {
|
|
69553
|
-
const tag = reader.uint32();
|
|
69554
|
-
switch (tag >>> 3) {
|
|
69555
|
-
case 1:
|
|
69556
|
-
if (tag !== 10) {
|
|
69557
|
-
break;
|
|
69558
|
-
}
|
|
69559
|
-
message.filters.push(BTCTransactionFilter.decode(reader, reader.uint32()));
|
|
69560
|
-
continue;
|
|
69561
|
-
case 2:
|
|
69562
|
-
if (tag !== 16) {
|
|
69563
|
-
break;
|
|
69564
|
-
}
|
|
69565
|
-
message.handlerId = reader.int32();
|
|
69566
|
-
continue;
|
|
69567
|
-
case 3:
|
|
69568
|
-
if (tag !== 26) {
|
|
69569
|
-
break;
|
|
69570
|
-
}
|
|
69571
|
-
message.handlerName = reader.string();
|
|
69572
|
-
continue;
|
|
69573
|
-
}
|
|
69574
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
69575
|
-
break;
|
|
69576
|
-
}
|
|
69577
|
-
reader.skipType(tag & 7);
|
|
69578
|
-
}
|
|
69579
|
-
return message;
|
|
69580
|
-
},
|
|
69581
|
-
fromJSON(object) {
|
|
69582
|
-
return {
|
|
69583
|
-
filters: globalThis.Array.isArray(object?.filters) ? object.filters.map((e) => BTCTransactionFilter.fromJSON(e)) : [],
|
|
69584
|
-
handlerId: isSet4(object.handlerId) ? globalThis.Number(object.handlerId) : 0,
|
|
69585
|
-
handlerName: isSet4(object.handlerName) ? globalThis.String(object.handlerName) : ""
|
|
69586
|
-
};
|
|
69587
|
-
},
|
|
69588
|
-
toJSON(message) {
|
|
69589
|
-
const obj = {};
|
|
69590
|
-
if (message.filters?.length) {
|
|
69591
|
-
obj.filters = message.filters.map((e) => BTCTransactionFilter.toJSON(e));
|
|
69592
|
-
}
|
|
69593
|
-
if (message.handlerId !== 0) {
|
|
69594
|
-
obj.handlerId = Math.round(message.handlerId);
|
|
69595
|
-
}
|
|
69596
|
-
if (message.handlerName !== "") {
|
|
69597
|
-
obj.handlerName = message.handlerName;
|
|
69598
|
-
}
|
|
69599
|
-
return obj;
|
|
69600
|
-
},
|
|
69601
|
-
create(base) {
|
|
69602
|
-
return BTCTransactionHandlerConfig.fromPartial(base ?? {});
|
|
69603
|
-
},
|
|
69604
|
-
fromPartial(object) {
|
|
69605
|
-
const message = createBaseBTCTransactionHandlerConfig();
|
|
69606
|
-
message.filters = object.filters?.map((e) => BTCTransactionFilter.fromPartial(e)) || [];
|
|
69607
|
-
message.handlerId = object.handlerId ?? 0;
|
|
69608
|
-
message.handlerName = object.handlerName ?? "";
|
|
69609
|
-
return message;
|
|
69610
|
-
}
|
|
69611
|
-
};
|
|
69612
|
-
function createBaseBTCTransactionFilter() {
|
|
69613
|
-
return { inputFilter: void 0, outputFilter: void 0, filter: [] };
|
|
69614
|
-
}
|
|
69615
|
-
__name(createBaseBTCTransactionFilter, "createBaseBTCTransactionFilter");
|
|
69616
|
-
var BTCTransactionFilter = {
|
|
69617
|
-
encode(message, writer = import_minimal6.default.Writer.create()) {
|
|
69618
|
-
if (message.inputFilter !== void 0) {
|
|
69619
|
-
BTCTransactionFilter_VinFilter.encode(message.inputFilter, writer.uint32(10).fork()).ldelim();
|
|
69620
|
-
}
|
|
69621
|
-
if (message.outputFilter !== void 0) {
|
|
69622
|
-
BTCTransactionFilter_VOutFilter.encode(message.outputFilter, writer.uint32(18).fork()).ldelim();
|
|
69623
|
-
}
|
|
69624
|
-
for (const v of message.filter) {
|
|
69625
|
-
BTCTransactionFilter_Filter.encode(v, writer.uint32(26).fork()).ldelim();
|
|
69626
|
-
}
|
|
69627
|
-
return writer;
|
|
69628
|
-
},
|
|
69629
|
-
decode(input, length) {
|
|
69630
|
-
const reader = input instanceof import_minimal6.default.Reader ? input : import_minimal6.default.Reader.create(input);
|
|
69631
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
69632
|
-
const message = createBaseBTCTransactionFilter();
|
|
69633
|
-
while (reader.pos < end) {
|
|
69634
|
-
const tag = reader.uint32();
|
|
69635
|
-
switch (tag >>> 3) {
|
|
69636
|
-
case 1:
|
|
69637
|
-
if (tag !== 10) {
|
|
69638
|
-
break;
|
|
69639
|
-
}
|
|
69640
|
-
message.inputFilter = BTCTransactionFilter_VinFilter.decode(reader, reader.uint32());
|
|
69641
|
-
continue;
|
|
69642
|
-
case 2:
|
|
69643
|
-
if (tag !== 18) {
|
|
69644
|
-
break;
|
|
69645
|
-
}
|
|
69646
|
-
message.outputFilter = BTCTransactionFilter_VOutFilter.decode(reader, reader.uint32());
|
|
69647
|
-
continue;
|
|
69648
|
-
case 3:
|
|
69649
|
-
if (tag !== 26) {
|
|
69650
|
-
break;
|
|
69651
|
-
}
|
|
69652
|
-
message.filter.push(BTCTransactionFilter_Filter.decode(reader, reader.uint32()));
|
|
69653
|
-
continue;
|
|
69654
|
-
}
|
|
69655
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
69656
|
-
break;
|
|
69657
|
-
}
|
|
69658
|
-
reader.skipType(tag & 7);
|
|
69659
|
-
}
|
|
69660
|
-
return message;
|
|
69661
|
-
},
|
|
69662
|
-
fromJSON(object) {
|
|
69663
|
-
return {
|
|
69664
|
-
inputFilter: isSet4(object.inputFilter) ? BTCTransactionFilter_VinFilter.fromJSON(object.inputFilter) : void 0,
|
|
69665
|
-
outputFilter: isSet4(object.outputFilter) ? BTCTransactionFilter_VOutFilter.fromJSON(object.outputFilter) : void 0,
|
|
69666
|
-
filter: globalThis.Array.isArray(object?.filter) ? object.filter.map((e) => BTCTransactionFilter_Filter.fromJSON(e)) : []
|
|
69667
|
-
};
|
|
69668
|
-
},
|
|
69669
|
-
toJSON(message) {
|
|
69670
|
-
const obj = {};
|
|
69671
|
-
if (message.inputFilter !== void 0) {
|
|
69672
|
-
obj.inputFilter = BTCTransactionFilter_VinFilter.toJSON(message.inputFilter);
|
|
69673
|
-
}
|
|
69674
|
-
if (message.outputFilter !== void 0) {
|
|
69675
|
-
obj.outputFilter = BTCTransactionFilter_VOutFilter.toJSON(message.outputFilter);
|
|
69676
|
-
}
|
|
69677
|
-
if (message.filter?.length) {
|
|
69678
|
-
obj.filter = message.filter.map((e) => BTCTransactionFilter_Filter.toJSON(e));
|
|
69679
|
-
}
|
|
69680
|
-
return obj;
|
|
69681
|
-
},
|
|
69682
|
-
create(base) {
|
|
69683
|
-
return BTCTransactionFilter.fromPartial(base ?? {});
|
|
69684
|
-
},
|
|
69685
|
-
fromPartial(object) {
|
|
69686
|
-
const message = createBaseBTCTransactionFilter();
|
|
69687
|
-
message.inputFilter = object.inputFilter !== void 0 && object.inputFilter !== null ? BTCTransactionFilter_VinFilter.fromPartial(object.inputFilter) : void 0;
|
|
69688
|
-
message.outputFilter = object.outputFilter !== void 0 && object.outputFilter !== null ? BTCTransactionFilter_VOutFilter.fromPartial(object.outputFilter) : void 0;
|
|
69689
|
-
message.filter = object.filter?.map((e) => BTCTransactionFilter_Filter.fromPartial(e)) || [];
|
|
69690
|
-
return message;
|
|
69691
|
-
}
|
|
69692
|
-
};
|
|
69693
|
-
function createBaseBTCTransactionFilter_Condition() {
|
|
69694
|
-
return {
|
|
69695
|
-
eq: void 0,
|
|
69696
|
-
gt: void 0,
|
|
69697
|
-
gte: void 0,
|
|
69698
|
-
lt: void 0,
|
|
69699
|
-
lte: void 0,
|
|
69700
|
-
ne: void 0,
|
|
69701
|
-
prefix: void 0,
|
|
69702
|
-
contains: void 0,
|
|
69703
|
-
notContains: void 0,
|
|
69704
|
-
lengthEq: void 0,
|
|
69705
|
-
lengthGt: void 0,
|
|
69706
|
-
lengthLt: void 0,
|
|
69707
|
-
hasAny: void 0,
|
|
69708
|
-
hasAll: void 0,
|
|
69709
|
-
in: void 0
|
|
69710
|
-
};
|
|
69711
|
-
}
|
|
69712
|
-
__name(createBaseBTCTransactionFilter_Condition, "createBaseBTCTransactionFilter_Condition");
|
|
69713
|
-
var BTCTransactionFilter_Condition = {
|
|
69714
|
-
encode(message, writer = import_minimal6.default.Writer.create()) {
|
|
69715
|
-
if (message.eq !== void 0) {
|
|
69716
|
-
RichValue.encode(message.eq, writer.uint32(10).fork()).ldelim();
|
|
69717
|
-
}
|
|
69718
|
-
if (message.gt !== void 0) {
|
|
69719
|
-
RichValue.encode(message.gt, writer.uint32(18).fork()).ldelim();
|
|
69720
|
-
}
|
|
69721
|
-
if (message.gte !== void 0) {
|
|
69722
|
-
RichValue.encode(message.gte, writer.uint32(26).fork()).ldelim();
|
|
69723
|
-
}
|
|
69724
|
-
if (message.lt !== void 0) {
|
|
69725
|
-
RichValue.encode(message.lt, writer.uint32(34).fork()).ldelim();
|
|
69726
|
-
}
|
|
69727
|
-
if (message.lte !== void 0) {
|
|
69728
|
-
RichValue.encode(message.lte, writer.uint32(42).fork()).ldelim();
|
|
69729
|
-
}
|
|
69730
|
-
if (message.ne !== void 0) {
|
|
69731
|
-
RichValue.encode(message.ne, writer.uint32(50).fork()).ldelim();
|
|
69732
|
-
}
|
|
69733
|
-
if (message.prefix !== void 0) {
|
|
69734
|
-
writer.uint32(58).string(message.prefix);
|
|
69735
|
-
}
|
|
69736
|
-
if (message.contains !== void 0) {
|
|
69737
|
-
writer.uint32(66).string(message.contains);
|
|
69738
|
-
}
|
|
69739
|
-
if (message.notContains !== void 0) {
|
|
69740
|
-
writer.uint32(74).string(message.notContains);
|
|
69741
|
-
}
|
|
69742
|
-
if (message.lengthEq !== void 0) {
|
|
69743
|
-
writer.uint32(80).int32(message.lengthEq);
|
|
69744
|
-
}
|
|
69745
|
-
if (message.lengthGt !== void 0) {
|
|
69746
|
-
writer.uint32(88).int32(message.lengthGt);
|
|
69747
|
-
}
|
|
69748
|
-
if (message.lengthLt !== void 0) {
|
|
69749
|
-
writer.uint32(96).int32(message.lengthLt);
|
|
69750
|
-
}
|
|
69751
|
-
if (message.hasAny !== void 0) {
|
|
69752
|
-
RichValueList.encode(message.hasAny, writer.uint32(106).fork()).ldelim();
|
|
69753
|
-
}
|
|
69754
|
-
if (message.hasAll !== void 0) {
|
|
69755
|
-
RichValueList.encode(message.hasAll, writer.uint32(114).fork()).ldelim();
|
|
69756
|
-
}
|
|
69757
|
-
if (message.in !== void 0) {
|
|
69758
|
-
RichValueList.encode(message.in, writer.uint32(122).fork()).ldelim();
|
|
69759
|
-
}
|
|
69760
|
-
return writer;
|
|
69761
|
-
},
|
|
69762
|
-
decode(input, length) {
|
|
69763
|
-
const reader = input instanceof import_minimal6.default.Reader ? input : import_minimal6.default.Reader.create(input);
|
|
69764
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
69765
|
-
const message = createBaseBTCTransactionFilter_Condition();
|
|
69766
|
-
while (reader.pos < end) {
|
|
69767
|
-
const tag = reader.uint32();
|
|
69768
|
-
switch (tag >>> 3) {
|
|
69769
|
-
case 1:
|
|
69770
|
-
if (tag !== 10) {
|
|
69771
|
-
break;
|
|
69772
|
-
}
|
|
69773
|
-
message.eq = RichValue.decode(reader, reader.uint32());
|
|
69774
|
-
continue;
|
|
69775
|
-
case 2:
|
|
69776
|
-
if (tag !== 18) {
|
|
69777
|
-
break;
|
|
69778
|
-
}
|
|
69779
|
-
message.gt = RichValue.decode(reader, reader.uint32());
|
|
69780
|
-
continue;
|
|
69781
|
-
case 3:
|
|
69782
|
-
if (tag !== 26) {
|
|
69783
|
-
break;
|
|
69784
|
-
}
|
|
69785
|
-
message.gte = RichValue.decode(reader, reader.uint32());
|
|
69786
|
-
continue;
|
|
69787
|
-
case 4:
|
|
69788
|
-
if (tag !== 34) {
|
|
69789
|
-
break;
|
|
69790
|
-
}
|
|
69791
|
-
message.lt = RichValue.decode(reader, reader.uint32());
|
|
69792
|
-
continue;
|
|
69793
|
-
case 5:
|
|
69794
|
-
if (tag !== 42) {
|
|
69795
|
-
break;
|
|
69796
|
-
}
|
|
69797
|
-
message.lte = RichValue.decode(reader, reader.uint32());
|
|
69798
|
-
continue;
|
|
69799
|
-
case 6:
|
|
69800
|
-
if (tag !== 50) {
|
|
69801
|
-
break;
|
|
69802
|
-
}
|
|
69803
|
-
message.ne = RichValue.decode(reader, reader.uint32());
|
|
69804
|
-
continue;
|
|
69805
|
-
case 7:
|
|
69806
|
-
if (tag !== 58) {
|
|
69807
|
-
break;
|
|
69808
|
-
}
|
|
69809
|
-
message.prefix = reader.string();
|
|
69810
|
-
continue;
|
|
69811
|
-
case 8:
|
|
69812
|
-
if (tag !== 66) {
|
|
69813
|
-
break;
|
|
69814
|
-
}
|
|
69815
|
-
message.contains = reader.string();
|
|
69816
|
-
continue;
|
|
69817
|
-
case 9:
|
|
69818
|
-
if (tag !== 74) {
|
|
69819
|
-
break;
|
|
69820
|
-
}
|
|
69821
|
-
message.notContains = reader.string();
|
|
69822
|
-
continue;
|
|
69823
|
-
case 10:
|
|
69824
|
-
if (tag !== 80) {
|
|
69825
|
-
break;
|
|
69826
|
-
}
|
|
69827
|
-
message.lengthEq = reader.int32();
|
|
69828
|
-
continue;
|
|
69829
|
-
case 11:
|
|
69830
|
-
if (tag !== 88) {
|
|
69831
|
-
break;
|
|
69832
|
-
}
|
|
69833
|
-
message.lengthGt = reader.int32();
|
|
69834
|
-
continue;
|
|
69835
|
-
case 12:
|
|
69836
|
-
if (tag !== 96) {
|
|
69837
|
-
break;
|
|
69838
|
-
}
|
|
69839
|
-
message.lengthLt = reader.int32();
|
|
69840
|
-
continue;
|
|
69841
|
-
case 13:
|
|
69842
|
-
if (tag !== 106) {
|
|
69843
|
-
break;
|
|
69844
|
-
}
|
|
69845
|
-
message.hasAny = RichValueList.decode(reader, reader.uint32());
|
|
69846
|
-
continue;
|
|
69847
|
-
case 14:
|
|
69848
|
-
if (tag !== 114) {
|
|
69849
|
-
break;
|
|
69850
|
-
}
|
|
69851
|
-
message.hasAll = RichValueList.decode(reader, reader.uint32());
|
|
69852
|
-
continue;
|
|
69853
|
-
case 15:
|
|
69854
|
-
if (tag !== 122) {
|
|
69855
|
-
break;
|
|
69856
|
-
}
|
|
69857
|
-
message.in = RichValueList.decode(reader, reader.uint32());
|
|
69858
|
-
continue;
|
|
69859
|
-
}
|
|
69860
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
69861
|
-
break;
|
|
69862
|
-
}
|
|
69863
|
-
reader.skipType(tag & 7);
|
|
69864
|
-
}
|
|
69865
|
-
return message;
|
|
69866
|
-
},
|
|
69867
|
-
fromJSON(object) {
|
|
69868
|
-
return {
|
|
69869
|
-
eq: isSet4(object.eq) ? RichValue.fromJSON(object.eq) : void 0,
|
|
69870
|
-
gt: isSet4(object.gt) ? RichValue.fromJSON(object.gt) : void 0,
|
|
69871
|
-
gte: isSet4(object.gte) ? RichValue.fromJSON(object.gte) : void 0,
|
|
69872
|
-
lt: isSet4(object.lt) ? RichValue.fromJSON(object.lt) : void 0,
|
|
69873
|
-
lte: isSet4(object.lte) ? RichValue.fromJSON(object.lte) : void 0,
|
|
69874
|
-
ne: isSet4(object.ne) ? RichValue.fromJSON(object.ne) : void 0,
|
|
69875
|
-
prefix: isSet4(object.prefix) ? globalThis.String(object.prefix) : void 0,
|
|
69876
|
-
contains: isSet4(object.contains) ? globalThis.String(object.contains) : void 0,
|
|
69877
|
-
notContains: isSet4(object.notContains) ? globalThis.String(object.notContains) : void 0,
|
|
69878
|
-
lengthEq: isSet4(object.lengthEq) ? globalThis.Number(object.lengthEq) : void 0,
|
|
69879
|
-
lengthGt: isSet4(object.lengthGt) ? globalThis.Number(object.lengthGt) : void 0,
|
|
69880
|
-
lengthLt: isSet4(object.lengthLt) ? globalThis.Number(object.lengthLt) : void 0,
|
|
69881
|
-
hasAny: isSet4(object.hasAny) ? RichValueList.fromJSON(object.hasAny) : void 0,
|
|
69882
|
-
hasAll: isSet4(object.hasAll) ? RichValueList.fromJSON(object.hasAll) : void 0,
|
|
69883
|
-
in: isSet4(object.in) ? RichValueList.fromJSON(object.in) : void 0
|
|
69884
|
-
};
|
|
69885
|
-
},
|
|
69886
|
-
toJSON(message) {
|
|
69887
|
-
const obj = {};
|
|
69888
|
-
if (message.eq !== void 0) {
|
|
69889
|
-
obj.eq = RichValue.toJSON(message.eq);
|
|
69890
|
-
}
|
|
69891
|
-
if (message.gt !== void 0) {
|
|
69892
|
-
obj.gt = RichValue.toJSON(message.gt);
|
|
69893
|
-
}
|
|
69894
|
-
if (message.gte !== void 0) {
|
|
69895
|
-
obj.gte = RichValue.toJSON(message.gte);
|
|
69896
|
-
}
|
|
69897
|
-
if (message.lt !== void 0) {
|
|
69898
|
-
obj.lt = RichValue.toJSON(message.lt);
|
|
69899
|
-
}
|
|
69900
|
-
if (message.lte !== void 0) {
|
|
69901
|
-
obj.lte = RichValue.toJSON(message.lte);
|
|
69902
|
-
}
|
|
69903
|
-
if (message.ne !== void 0) {
|
|
69904
|
-
obj.ne = RichValue.toJSON(message.ne);
|
|
69905
|
-
}
|
|
69906
|
-
if (message.prefix !== void 0) {
|
|
69907
|
-
obj.prefix = message.prefix;
|
|
69908
|
-
}
|
|
69909
|
-
if (message.contains !== void 0) {
|
|
69910
|
-
obj.contains = message.contains;
|
|
69911
|
-
}
|
|
69912
|
-
if (message.notContains !== void 0) {
|
|
69913
|
-
obj.notContains = message.notContains;
|
|
69914
|
-
}
|
|
69915
|
-
if (message.lengthEq !== void 0) {
|
|
69916
|
-
obj.lengthEq = Math.round(message.lengthEq);
|
|
69917
|
-
}
|
|
69918
|
-
if (message.lengthGt !== void 0) {
|
|
69919
|
-
obj.lengthGt = Math.round(message.lengthGt);
|
|
69920
|
-
}
|
|
69921
|
-
if (message.lengthLt !== void 0) {
|
|
69922
|
-
obj.lengthLt = Math.round(message.lengthLt);
|
|
69923
|
-
}
|
|
69924
|
-
if (message.hasAny !== void 0) {
|
|
69925
|
-
obj.hasAny = RichValueList.toJSON(message.hasAny);
|
|
69926
|
-
}
|
|
69927
|
-
if (message.hasAll !== void 0) {
|
|
69928
|
-
obj.hasAll = RichValueList.toJSON(message.hasAll);
|
|
69929
|
-
}
|
|
69930
|
-
if (message.in !== void 0) {
|
|
69931
|
-
obj.in = RichValueList.toJSON(message.in);
|
|
69932
|
-
}
|
|
69933
|
-
return obj;
|
|
69934
|
-
},
|
|
69935
|
-
create(base) {
|
|
69936
|
-
return BTCTransactionFilter_Condition.fromPartial(base ?? {});
|
|
69937
|
-
},
|
|
69938
|
-
fromPartial(object) {
|
|
69939
|
-
const message = createBaseBTCTransactionFilter_Condition();
|
|
69940
|
-
message.eq = object.eq !== void 0 && object.eq !== null ? RichValue.fromPartial(object.eq) : void 0;
|
|
69941
|
-
message.gt = object.gt !== void 0 && object.gt !== null ? RichValue.fromPartial(object.gt) : void 0;
|
|
69942
|
-
message.gte = object.gte !== void 0 && object.gte !== null ? RichValue.fromPartial(object.gte) : void 0;
|
|
69943
|
-
message.lt = object.lt !== void 0 && object.lt !== null ? RichValue.fromPartial(object.lt) : void 0;
|
|
69944
|
-
message.lte = object.lte !== void 0 && object.lte !== null ? RichValue.fromPartial(object.lte) : void 0;
|
|
69945
|
-
message.ne = object.ne !== void 0 && object.ne !== null ? RichValue.fromPartial(object.ne) : void 0;
|
|
69946
|
-
message.prefix = object.prefix ?? void 0;
|
|
69947
|
-
message.contains = object.contains ?? void 0;
|
|
69948
|
-
message.notContains = object.notContains ?? void 0;
|
|
69949
|
-
message.lengthEq = object.lengthEq ?? void 0;
|
|
69950
|
-
message.lengthGt = object.lengthGt ?? void 0;
|
|
69951
|
-
message.lengthLt = object.lengthLt ?? void 0;
|
|
69952
|
-
message.hasAny = object.hasAny !== void 0 && object.hasAny !== null ? RichValueList.fromPartial(object.hasAny) : void 0;
|
|
69953
|
-
message.hasAll = object.hasAll !== void 0 && object.hasAll !== null ? RichValueList.fromPartial(object.hasAll) : void 0;
|
|
69954
|
-
message.in = object.in !== void 0 && object.in !== null ? RichValueList.fromPartial(object.in) : void 0;
|
|
69955
|
-
return message;
|
|
69956
|
-
}
|
|
69957
|
-
};
|
|
69958
|
-
function createBaseBTCTransactionFilter_Filter() {
|
|
69959
|
-
return { conditions: {} };
|
|
69960
|
-
}
|
|
69961
|
-
__name(createBaseBTCTransactionFilter_Filter, "createBaseBTCTransactionFilter_Filter");
|
|
69962
|
-
var BTCTransactionFilter_Filter = {
|
|
69963
|
-
encode(message, writer = import_minimal6.default.Writer.create()) {
|
|
69964
|
-
Object.entries(message.conditions).forEach(([key, value]) => {
|
|
69965
|
-
BTCTransactionFilter_Filter_ConditionsEntry.encode({ key, value }, writer.uint32(10).fork()).ldelim();
|
|
69966
|
-
});
|
|
69967
|
-
return writer;
|
|
69968
|
-
},
|
|
69969
|
-
decode(input, length) {
|
|
69970
|
-
const reader = input instanceof import_minimal6.default.Reader ? input : import_minimal6.default.Reader.create(input);
|
|
69971
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
69972
|
-
const message = createBaseBTCTransactionFilter_Filter();
|
|
69973
|
-
while (reader.pos < end) {
|
|
69974
|
-
const tag = reader.uint32();
|
|
69975
|
-
switch (tag >>> 3) {
|
|
69976
|
-
case 1:
|
|
69977
|
-
if (tag !== 10) {
|
|
69978
|
-
break;
|
|
69979
|
-
}
|
|
69980
|
-
const entry1 = BTCTransactionFilter_Filter_ConditionsEntry.decode(reader, reader.uint32());
|
|
69981
|
-
if (entry1.value !== void 0) {
|
|
69982
|
-
message.conditions[entry1.key] = entry1.value;
|
|
69983
|
-
}
|
|
69984
|
-
continue;
|
|
69985
|
-
}
|
|
69986
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
69987
|
-
break;
|
|
69988
|
-
}
|
|
69989
|
-
reader.skipType(tag & 7);
|
|
69990
|
-
}
|
|
69991
|
-
return message;
|
|
69992
|
-
},
|
|
69993
|
-
fromJSON(object) {
|
|
69994
|
-
return {
|
|
69995
|
-
conditions: isObject3(object.conditions) ? Object.entries(object.conditions).reduce((acc, [key, value]) => {
|
|
69996
|
-
acc[key] = BTCTransactionFilter_Condition.fromJSON(value);
|
|
69997
|
-
return acc;
|
|
69998
|
-
}, {}) : {}
|
|
69999
|
-
};
|
|
70000
|
-
},
|
|
70001
|
-
toJSON(message) {
|
|
70002
|
-
const obj = {};
|
|
70003
|
-
if (message.conditions) {
|
|
70004
|
-
const entries = Object.entries(message.conditions);
|
|
70005
|
-
if (entries.length > 0) {
|
|
70006
|
-
obj.conditions = {};
|
|
70007
|
-
entries.forEach(([k, v]) => {
|
|
70008
|
-
obj.conditions[k] = BTCTransactionFilter_Condition.toJSON(v);
|
|
70009
|
-
});
|
|
70010
|
-
}
|
|
70011
|
-
}
|
|
70012
|
-
return obj;
|
|
70013
|
-
},
|
|
70014
|
-
create(base) {
|
|
70015
|
-
return BTCTransactionFilter_Filter.fromPartial(base ?? {});
|
|
70016
|
-
},
|
|
70017
|
-
fromPartial(object) {
|
|
70018
|
-
const message = createBaseBTCTransactionFilter_Filter();
|
|
70019
|
-
message.conditions = Object.entries(object.conditions ?? {}).reduce((acc, [key, value]) => {
|
|
70020
|
-
if (value !== void 0) {
|
|
70021
|
-
acc[key] = BTCTransactionFilter_Condition.fromPartial(value);
|
|
70022
|
-
}
|
|
70023
|
-
return acc;
|
|
70024
|
-
}, {});
|
|
70025
|
-
return message;
|
|
70026
|
-
}
|
|
70027
|
-
};
|
|
70028
|
-
function createBaseBTCTransactionFilter_Filter_ConditionsEntry() {
|
|
70029
|
-
return { key: "", value: void 0 };
|
|
70030
|
-
}
|
|
70031
|
-
__name(createBaseBTCTransactionFilter_Filter_ConditionsEntry, "createBaseBTCTransactionFilter_Filter_ConditionsEntry");
|
|
70032
|
-
var BTCTransactionFilter_Filter_ConditionsEntry = {
|
|
70033
|
-
encode(message, writer = import_minimal6.default.Writer.create()) {
|
|
70034
|
-
if (message.key !== "") {
|
|
70035
|
-
writer.uint32(10).string(message.key);
|
|
70036
|
-
}
|
|
70037
|
-
if (message.value !== void 0) {
|
|
70038
|
-
BTCTransactionFilter_Condition.encode(message.value, writer.uint32(18).fork()).ldelim();
|
|
70039
|
-
}
|
|
70040
|
-
return writer;
|
|
70041
|
-
},
|
|
70042
|
-
decode(input, length) {
|
|
70043
|
-
const reader = input instanceof import_minimal6.default.Reader ? input : import_minimal6.default.Reader.create(input);
|
|
70044
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
70045
|
-
const message = createBaseBTCTransactionFilter_Filter_ConditionsEntry();
|
|
70046
|
-
while (reader.pos < end) {
|
|
70047
|
-
const tag = reader.uint32();
|
|
70048
|
-
switch (tag >>> 3) {
|
|
70049
|
-
case 1:
|
|
70050
|
-
if (tag !== 10) {
|
|
70051
|
-
break;
|
|
70052
|
-
}
|
|
70053
|
-
message.key = reader.string();
|
|
70054
|
-
continue;
|
|
70055
|
-
case 2:
|
|
70056
|
-
if (tag !== 18) {
|
|
70057
|
-
break;
|
|
70058
|
-
}
|
|
70059
|
-
message.value = BTCTransactionFilter_Condition.decode(reader, reader.uint32());
|
|
70060
|
-
continue;
|
|
70061
|
-
}
|
|
70062
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
70063
|
-
break;
|
|
70064
|
-
}
|
|
70065
|
-
reader.skipType(tag & 7);
|
|
70066
|
-
}
|
|
70067
|
-
return message;
|
|
70068
|
-
},
|
|
70069
|
-
fromJSON(object) {
|
|
70070
|
-
return {
|
|
70071
|
-
key: isSet4(object.key) ? globalThis.String(object.key) : "",
|
|
70072
|
-
value: isSet4(object.value) ? BTCTransactionFilter_Condition.fromJSON(object.value) : void 0
|
|
70073
|
-
};
|
|
70074
|
-
},
|
|
70075
|
-
toJSON(message) {
|
|
70076
|
-
const obj = {};
|
|
70077
|
-
if (message.key !== "") {
|
|
70078
|
-
obj.key = message.key;
|
|
70079
|
-
}
|
|
70080
|
-
if (message.value !== void 0) {
|
|
70081
|
-
obj.value = BTCTransactionFilter_Condition.toJSON(message.value);
|
|
70082
|
-
}
|
|
70083
|
-
return obj;
|
|
70084
|
-
},
|
|
70085
|
-
create(base) {
|
|
70086
|
-
return BTCTransactionFilter_Filter_ConditionsEntry.fromPartial(base ?? {});
|
|
70087
|
-
},
|
|
70088
|
-
fromPartial(object) {
|
|
70089
|
-
const message = createBaseBTCTransactionFilter_Filter_ConditionsEntry();
|
|
70090
|
-
message.key = object.key ?? "";
|
|
70091
|
-
message.value = object.value !== void 0 && object.value !== null ? BTCTransactionFilter_Condition.fromPartial(object.value) : void 0;
|
|
70092
|
-
return message;
|
|
70093
|
-
}
|
|
70094
|
-
};
|
|
70095
|
-
function createBaseBTCTransactionFilter_Filters() {
|
|
70096
|
-
return { filters: [] };
|
|
70097
|
-
}
|
|
70098
|
-
__name(createBaseBTCTransactionFilter_Filters, "createBaseBTCTransactionFilter_Filters");
|
|
70099
|
-
var BTCTransactionFilter_Filters = {
|
|
70100
|
-
encode(message, writer = import_minimal6.default.Writer.create()) {
|
|
70101
|
-
for (const v of message.filters) {
|
|
70102
|
-
BTCTransactionFilter_Filter.encode(v, writer.uint32(10).fork()).ldelim();
|
|
70103
|
-
}
|
|
70104
|
-
return writer;
|
|
70105
|
-
},
|
|
70106
|
-
decode(input, length) {
|
|
70107
|
-
const reader = input instanceof import_minimal6.default.Reader ? input : import_minimal6.default.Reader.create(input);
|
|
70108
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
70109
|
-
const message = createBaseBTCTransactionFilter_Filters();
|
|
70110
|
-
while (reader.pos < end) {
|
|
70111
|
-
const tag = reader.uint32();
|
|
70112
|
-
switch (tag >>> 3) {
|
|
70113
|
-
case 1:
|
|
70114
|
-
if (tag !== 10) {
|
|
69275
|
+
continue;
|
|
69276
|
+
case 4:
|
|
69277
|
+
if (tag !== 32) {
|
|
69278
|
+
break;
|
|
69279
|
+
}
|
|
69280
|
+
message.includeFailed = reader.bool();
|
|
69281
|
+
continue;
|
|
69282
|
+
case 5:
|
|
69283
|
+
if (tag !== 42) {
|
|
69284
|
+
break;
|
|
69285
|
+
}
|
|
69286
|
+
message.publicKeyPrefix = reader.string();
|
|
69287
|
+
continue;
|
|
69288
|
+
case 6:
|
|
69289
|
+
if (tag !== 50) {
|
|
70115
69290
|
break;
|
|
70116
69291
|
}
|
|
70117
|
-
message.
|
|
69292
|
+
message.fromAndToAddress = MoveCallFilter_FromAndToAddress.decode(reader, reader.uint32());
|
|
70118
69293
|
continue;
|
|
70119
69294
|
}
|
|
70120
69295
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -70126,46 +69301,68 @@ var BTCTransactionFilter_Filters = {
|
|
|
70126
69301
|
},
|
|
70127
69302
|
fromJSON(object) {
|
|
70128
69303
|
return {
|
|
70129
|
-
|
|
69304
|
+
function: isSet4(object.function) ? globalThis.String(object.function) : "",
|
|
69305
|
+
typeArguments: globalThis.Array.isArray(object?.typeArguments) ? object.typeArguments.map((e) => globalThis.String(e)) : [],
|
|
69306
|
+
withTypeArguments: isSet4(object.withTypeArguments) ? globalThis.Boolean(object.withTypeArguments) : false,
|
|
69307
|
+
includeFailed: isSet4(object.includeFailed) ? globalThis.Boolean(object.includeFailed) : false,
|
|
69308
|
+
publicKeyPrefix: isSet4(object.publicKeyPrefix) ? globalThis.String(object.publicKeyPrefix) : "",
|
|
69309
|
+
fromAndToAddress: isSet4(object.fromAndToAddress) ? MoveCallFilter_FromAndToAddress.fromJSON(object.fromAndToAddress) : void 0
|
|
70130
69310
|
};
|
|
70131
69311
|
},
|
|
70132
69312
|
toJSON(message) {
|
|
70133
69313
|
const obj = {};
|
|
70134
|
-
if (message.
|
|
70135
|
-
obj.
|
|
69314
|
+
if (message.function !== "") {
|
|
69315
|
+
obj.function = message.function;
|
|
69316
|
+
}
|
|
69317
|
+
if (message.typeArguments?.length) {
|
|
69318
|
+
obj.typeArguments = message.typeArguments;
|
|
69319
|
+
}
|
|
69320
|
+
if (message.withTypeArguments !== false) {
|
|
69321
|
+
obj.withTypeArguments = message.withTypeArguments;
|
|
69322
|
+
}
|
|
69323
|
+
if (message.includeFailed !== false) {
|
|
69324
|
+
obj.includeFailed = message.includeFailed;
|
|
69325
|
+
}
|
|
69326
|
+
if (message.publicKeyPrefix !== "") {
|
|
69327
|
+
obj.publicKeyPrefix = message.publicKeyPrefix;
|
|
69328
|
+
}
|
|
69329
|
+
if (message.fromAndToAddress !== void 0) {
|
|
69330
|
+
obj.fromAndToAddress = MoveCallFilter_FromAndToAddress.toJSON(message.fromAndToAddress);
|
|
70136
69331
|
}
|
|
70137
69332
|
return obj;
|
|
70138
69333
|
},
|
|
70139
69334
|
create(base) {
|
|
70140
|
-
return
|
|
69335
|
+
return MoveCallFilter.fromPartial(base ?? {});
|
|
70141
69336
|
},
|
|
70142
69337
|
fromPartial(object) {
|
|
70143
|
-
const message =
|
|
70144
|
-
message.
|
|
69338
|
+
const message = createBaseMoveCallFilter();
|
|
69339
|
+
message.function = object.function ?? "";
|
|
69340
|
+
message.typeArguments = object.typeArguments?.map((e) => e) || [];
|
|
69341
|
+
message.withTypeArguments = object.withTypeArguments ?? false;
|
|
69342
|
+
message.includeFailed = object.includeFailed ?? false;
|
|
69343
|
+
message.publicKeyPrefix = object.publicKeyPrefix ?? "";
|
|
69344
|
+
message.fromAndToAddress = object.fromAndToAddress !== void 0 && object.fromAndToAddress !== null ? MoveCallFilter_FromAndToAddress.fromPartial(object.fromAndToAddress) : void 0;
|
|
70145
69345
|
return message;
|
|
70146
69346
|
}
|
|
70147
69347
|
};
|
|
70148
|
-
function
|
|
70149
|
-
return {
|
|
69348
|
+
function createBaseMoveCallFilter_FromAndToAddress() {
|
|
69349
|
+
return { from: "", to: "" };
|
|
70150
69350
|
}
|
|
70151
|
-
__name(
|
|
70152
|
-
var
|
|
69351
|
+
__name(createBaseMoveCallFilter_FromAndToAddress, "createBaseMoveCallFilter_FromAndToAddress");
|
|
69352
|
+
var MoveCallFilter_FromAndToAddress = {
|
|
70153
69353
|
encode(message, writer = import_minimal6.default.Writer.create()) {
|
|
70154
|
-
if (message.
|
|
70155
|
-
|
|
70156
|
-
}
|
|
70157
|
-
if (message.preVOut !== void 0) {
|
|
70158
|
-
BTCTransactionFilter_Filter.encode(message.preVOut, writer.uint32(18).fork()).ldelim();
|
|
69354
|
+
if (message.from !== "") {
|
|
69355
|
+
writer.uint32(10).string(message.from);
|
|
70159
69356
|
}
|
|
70160
|
-
if (message.
|
|
70161
|
-
|
|
69357
|
+
if (message.to !== "") {
|
|
69358
|
+
writer.uint32(18).string(message.to);
|
|
70162
69359
|
}
|
|
70163
69360
|
return writer;
|
|
70164
69361
|
},
|
|
70165
69362
|
decode(input, length) {
|
|
70166
69363
|
const reader = input instanceof import_minimal6.default.Reader ? input : import_minimal6.default.Reader.create(input);
|
|
70167
69364
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
70168
|
-
const message =
|
|
69365
|
+
const message = createBaseMoveCallFilter_FromAndToAddress();
|
|
70169
69366
|
while (reader.pos < end) {
|
|
70170
69367
|
const tag = reader.uint32();
|
|
70171
69368
|
switch (tag >>> 3) {
|
|
@@ -70173,19 +69370,13 @@ var BTCTransactionFilter_VinFilter = {
|
|
|
70173
69370
|
if (tag !== 10) {
|
|
70174
69371
|
break;
|
|
70175
69372
|
}
|
|
70176
|
-
message.
|
|
69373
|
+
message.from = reader.string();
|
|
70177
69374
|
continue;
|
|
70178
69375
|
case 2:
|
|
70179
69376
|
if (tag !== 18) {
|
|
70180
69377
|
break;
|
|
70181
69378
|
}
|
|
70182
|
-
message.
|
|
70183
|
-
continue;
|
|
70184
|
-
case 3:
|
|
70185
|
-
if (tag !== 26) {
|
|
70186
|
-
break;
|
|
70187
|
-
}
|
|
70188
|
-
message.preTransaction = BTCTransactionFilter.decode(reader, reader.uint32());
|
|
69379
|
+
message.to = reader.string();
|
|
70189
69380
|
continue;
|
|
70190
69381
|
}
|
|
70191
69382
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -70197,50 +69388,51 @@ var BTCTransactionFilter_VinFilter = {
|
|
|
70197
69388
|
},
|
|
70198
69389
|
fromJSON(object) {
|
|
70199
69390
|
return {
|
|
70200
|
-
|
|
70201
|
-
|
|
70202
|
-
preTransaction: isSet4(object.preTransaction) ? BTCTransactionFilter.fromJSON(object.preTransaction) : void 0
|
|
69391
|
+
from: isSet4(object.from) ? globalThis.String(object.from) : "",
|
|
69392
|
+
to: isSet4(object.to) ? globalThis.String(object.to) : ""
|
|
70203
69393
|
};
|
|
70204
69394
|
},
|
|
70205
69395
|
toJSON(message) {
|
|
70206
69396
|
const obj = {};
|
|
70207
|
-
if (message.
|
|
70208
|
-
obj.
|
|
70209
|
-
}
|
|
70210
|
-
if (message.preVOut !== void 0) {
|
|
70211
|
-
obj.preVOut = BTCTransactionFilter_Filter.toJSON(message.preVOut);
|
|
69397
|
+
if (message.from !== "") {
|
|
69398
|
+
obj.from = message.from;
|
|
70212
69399
|
}
|
|
70213
|
-
if (message.
|
|
70214
|
-
obj.
|
|
69400
|
+
if (message.to !== "") {
|
|
69401
|
+
obj.to = message.to;
|
|
70215
69402
|
}
|
|
70216
69403
|
return obj;
|
|
70217
69404
|
},
|
|
70218
69405
|
create(base) {
|
|
70219
|
-
return
|
|
69406
|
+
return MoveCallFilter_FromAndToAddress.fromPartial(base ?? {});
|
|
70220
69407
|
},
|
|
70221
69408
|
fromPartial(object) {
|
|
70222
|
-
const message =
|
|
70223
|
-
message.
|
|
70224
|
-
message.
|
|
70225
|
-
message.preTransaction = object.preTransaction !== void 0 && object.preTransaction !== null ? BTCTransactionFilter.fromPartial(object.preTransaction) : void 0;
|
|
69409
|
+
const message = createBaseMoveCallFilter_FromAndToAddress();
|
|
69410
|
+
message.from = object.from ?? "";
|
|
69411
|
+
message.to = object.to ?? "";
|
|
70226
69412
|
return message;
|
|
70227
69413
|
}
|
|
70228
69414
|
};
|
|
70229
|
-
function
|
|
70230
|
-
return { filters:
|
|
69415
|
+
function createBaseStarknetEventHandlerConfig() {
|
|
69416
|
+
return { filters: [], handlerId: 0, handlerName: "" };
|
|
70231
69417
|
}
|
|
70232
|
-
__name(
|
|
70233
|
-
var
|
|
69418
|
+
__name(createBaseStarknetEventHandlerConfig, "createBaseStarknetEventHandlerConfig");
|
|
69419
|
+
var StarknetEventHandlerConfig = {
|
|
70234
69420
|
encode(message, writer = import_minimal6.default.Writer.create()) {
|
|
70235
|
-
|
|
70236
|
-
|
|
69421
|
+
for (const v of message.filters) {
|
|
69422
|
+
StarknetEventFilter.encode(v, writer.uint32(10).fork()).ldelim();
|
|
69423
|
+
}
|
|
69424
|
+
if (message.handlerId !== 0) {
|
|
69425
|
+
writer.uint32(16).int32(message.handlerId);
|
|
69426
|
+
}
|
|
69427
|
+
if (message.handlerName !== "") {
|
|
69428
|
+
writer.uint32(26).string(message.handlerName);
|
|
70237
69429
|
}
|
|
70238
69430
|
return writer;
|
|
70239
69431
|
},
|
|
70240
69432
|
decode(input, length) {
|
|
70241
69433
|
const reader = input instanceof import_minimal6.default.Reader ? input : import_minimal6.default.Reader.create(input);
|
|
70242
69434
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
70243
|
-
const message =
|
|
69435
|
+
const message = createBaseStarknetEventHandlerConfig();
|
|
70244
69436
|
while (reader.pos < end) {
|
|
70245
69437
|
const tag = reader.uint32();
|
|
70246
69438
|
switch (tag >>> 3) {
|
|
@@ -70248,7 +69440,19 @@ var BTCTransactionFilter_VOutFilter = {
|
|
|
70248
69440
|
if (tag !== 10) {
|
|
70249
69441
|
break;
|
|
70250
69442
|
}
|
|
70251
|
-
message.filters
|
|
69443
|
+
message.filters.push(StarknetEventFilter.decode(reader, reader.uint32()));
|
|
69444
|
+
continue;
|
|
69445
|
+
case 2:
|
|
69446
|
+
if (tag !== 16) {
|
|
69447
|
+
break;
|
|
69448
|
+
}
|
|
69449
|
+
message.handlerId = reader.int32();
|
|
69450
|
+
continue;
|
|
69451
|
+
case 3:
|
|
69452
|
+
if (tag !== 26) {
|
|
69453
|
+
break;
|
|
69454
|
+
}
|
|
69455
|
+
message.handlerName = reader.string();
|
|
70252
69456
|
continue;
|
|
70253
69457
|
}
|
|
70254
69458
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -70259,21 +69463,33 @@ var BTCTransactionFilter_VOutFilter = {
|
|
|
70259
69463
|
return message;
|
|
70260
69464
|
},
|
|
70261
69465
|
fromJSON(object) {
|
|
70262
|
-
return {
|
|
69466
|
+
return {
|
|
69467
|
+
filters: globalThis.Array.isArray(object?.filters) ? object.filters.map((e) => StarknetEventFilter.fromJSON(e)) : [],
|
|
69468
|
+
handlerId: isSet4(object.handlerId) ? globalThis.Number(object.handlerId) : 0,
|
|
69469
|
+
handlerName: isSet4(object.handlerName) ? globalThis.String(object.handlerName) : ""
|
|
69470
|
+
};
|
|
70263
69471
|
},
|
|
70264
69472
|
toJSON(message) {
|
|
70265
69473
|
const obj = {};
|
|
70266
|
-
if (message.filters
|
|
70267
|
-
obj.filters =
|
|
69474
|
+
if (message.filters?.length) {
|
|
69475
|
+
obj.filters = message.filters.map((e) => StarknetEventFilter.toJSON(e));
|
|
69476
|
+
}
|
|
69477
|
+
if (message.handlerId !== 0) {
|
|
69478
|
+
obj.handlerId = Math.round(message.handlerId);
|
|
69479
|
+
}
|
|
69480
|
+
if (message.handlerName !== "") {
|
|
69481
|
+
obj.handlerName = message.handlerName;
|
|
70268
69482
|
}
|
|
70269
69483
|
return obj;
|
|
70270
69484
|
},
|
|
70271
69485
|
create(base) {
|
|
70272
|
-
return
|
|
69486
|
+
return StarknetEventHandlerConfig.fromPartial(base ?? {});
|
|
70273
69487
|
},
|
|
70274
69488
|
fromPartial(object) {
|
|
70275
|
-
const message =
|
|
70276
|
-
message.filters = object.filters
|
|
69489
|
+
const message = createBaseStarknetEventHandlerConfig();
|
|
69490
|
+
message.filters = object.filters?.map((e) => StarknetEventFilter.fromPartial(e)) || [];
|
|
69491
|
+
message.handlerId = object.handlerId ?? 0;
|
|
69492
|
+
message.handlerName = object.handlerName ?? "";
|
|
70277
69493
|
return message;
|
|
70278
69494
|
}
|
|
70279
69495
|
};
|
|
@@ -72701,9 +71917,7 @@ function createBaseData() {
|
|
|
72701
71917
|
fuelTransaction: void 0,
|
|
72702
71918
|
fuelBlock: void 0,
|
|
72703
71919
|
cosmosCall: void 0,
|
|
72704
|
-
starknetEvents: void 0
|
|
72705
|
-
btcTransaction: void 0,
|
|
72706
|
-
btcBlock: void 0
|
|
71920
|
+
starknetEvents: void 0
|
|
72707
71921
|
};
|
|
72708
71922
|
}
|
|
72709
71923
|
__name(createBaseData, "createBaseData");
|
|
@@ -72760,12 +71974,6 @@ var Data = {
|
|
|
72760
71974
|
if (message.starknetEvents !== void 0) {
|
|
72761
71975
|
Data_StarknetEvent.encode(message.starknetEvents, writer.uint32(130).fork()).ldelim();
|
|
72762
71976
|
}
|
|
72763
|
-
if (message.btcTransaction !== void 0) {
|
|
72764
|
-
Data_BTCTransaction.encode(message.btcTransaction, writer.uint32(138).fork()).ldelim();
|
|
72765
|
-
}
|
|
72766
|
-
if (message.btcBlock !== void 0) {
|
|
72767
|
-
Data_BTCBlock.encode(message.btcBlock, writer.uint32(154).fork()).ldelim();
|
|
72768
|
-
}
|
|
72769
71977
|
return writer;
|
|
72770
71978
|
},
|
|
72771
71979
|
decode(input, length) {
|
|
@@ -72877,18 +72085,6 @@ var Data = {
|
|
|
72877
72085
|
}
|
|
72878
72086
|
message.starknetEvents = Data_StarknetEvent.decode(reader, reader.uint32());
|
|
72879
72087
|
continue;
|
|
72880
|
-
case 17:
|
|
72881
|
-
if (tag !== 138) {
|
|
72882
|
-
break;
|
|
72883
|
-
}
|
|
72884
|
-
message.btcTransaction = Data_BTCTransaction.decode(reader, reader.uint32());
|
|
72885
|
-
continue;
|
|
72886
|
-
case 19:
|
|
72887
|
-
if (tag !== 154) {
|
|
72888
|
-
break;
|
|
72889
|
-
}
|
|
72890
|
-
message.btcBlock = Data_BTCBlock.decode(reader, reader.uint32());
|
|
72891
|
-
continue;
|
|
72892
72088
|
}
|
|
72893
72089
|
if ((tag & 7) === 4 || tag === 0) {
|
|
72894
72090
|
break;
|
|
@@ -72915,9 +72111,7 @@ var Data = {
|
|
|
72915
72111
|
fuelTransaction: isSet4(object.fuelTransaction) ? Data_FuelTransaction.fromJSON(object.fuelTransaction) : void 0,
|
|
72916
72112
|
fuelBlock: isSet4(object.fuelBlock) ? Data_FuelBlock.fromJSON(object.fuelBlock) : void 0,
|
|
72917
72113
|
cosmosCall: isSet4(object.cosmosCall) ? Data_CosmosCall.fromJSON(object.cosmosCall) : void 0,
|
|
72918
|
-
starknetEvents: isSet4(object.starknetEvents) ? Data_StarknetEvent.fromJSON(object.starknetEvents) : void 0
|
|
72919
|
-
btcTransaction: isSet4(object.btcTransaction) ? Data_BTCTransaction.fromJSON(object.btcTransaction) : void 0,
|
|
72920
|
-
btcBlock: isSet4(object.btcBlock) ? Data_BTCBlock.fromJSON(object.btcBlock) : void 0
|
|
72114
|
+
starknetEvents: isSet4(object.starknetEvents) ? Data_StarknetEvent.fromJSON(object.starknetEvents) : void 0
|
|
72921
72115
|
};
|
|
72922
72116
|
},
|
|
72923
72117
|
toJSON(message) {
|
|
@@ -72973,12 +72167,6 @@ var Data = {
|
|
|
72973
72167
|
if (message.starknetEvents !== void 0) {
|
|
72974
72168
|
obj.starknetEvents = Data_StarknetEvent.toJSON(message.starknetEvents);
|
|
72975
72169
|
}
|
|
72976
|
-
if (message.btcTransaction !== void 0) {
|
|
72977
|
-
obj.btcTransaction = Data_BTCTransaction.toJSON(message.btcTransaction);
|
|
72978
|
-
}
|
|
72979
|
-
if (message.btcBlock !== void 0) {
|
|
72980
|
-
obj.btcBlock = Data_BTCBlock.toJSON(message.btcBlock);
|
|
72981
|
-
}
|
|
72982
72170
|
return obj;
|
|
72983
72171
|
},
|
|
72984
72172
|
create(base) {
|
|
@@ -73003,8 +72191,6 @@ var Data = {
|
|
|
73003
72191
|
message.fuelBlock = object.fuelBlock !== void 0 && object.fuelBlock !== null ? Data_FuelBlock.fromPartial(object.fuelBlock) : void 0;
|
|
73004
72192
|
message.cosmosCall = object.cosmosCall !== void 0 && object.cosmosCall !== null ? Data_CosmosCall.fromPartial(object.cosmosCall) : void 0;
|
|
73005
72193
|
message.starknetEvents = object.starknetEvents !== void 0 && object.starknetEvents !== null ? Data_StarknetEvent.fromPartial(object.starknetEvents) : void 0;
|
|
73006
|
-
message.btcTransaction = object.btcTransaction !== void 0 && object.btcTransaction !== null ? Data_BTCTransaction.fromPartial(object.btcTransaction) : void 0;
|
|
73007
|
-
message.btcBlock = object.btcBlock !== void 0 && object.btcBlock !== null ? Data_BTCBlock.fromPartial(object.btcBlock) : void 0;
|
|
73008
72194
|
return message;
|
|
73009
72195
|
}
|
|
73010
72196
|
};
|
|
@@ -74638,140 +73824,6 @@ var Data_StarknetEvent = {
|
|
|
74638
73824
|
return message;
|
|
74639
73825
|
}
|
|
74640
73826
|
};
|
|
74641
|
-
function createBaseData_BTCTransaction() {
|
|
74642
|
-
return { transaction: void 0, timestamp: void 0 };
|
|
74643
|
-
}
|
|
74644
|
-
__name(createBaseData_BTCTransaction, "createBaseData_BTCTransaction");
|
|
74645
|
-
var Data_BTCTransaction = {
|
|
74646
|
-
encode(message, writer = import_minimal6.default.Writer.create()) {
|
|
74647
|
-
if (message.transaction !== void 0) {
|
|
74648
|
-
Struct.encode(Struct.wrap(message.transaction), writer.uint32(34).fork()).ldelim();
|
|
74649
|
-
}
|
|
74650
|
-
if (message.timestamp !== void 0) {
|
|
74651
|
-
Timestamp.encode(toTimestamp2(message.timestamp), writer.uint32(42).fork()).ldelim();
|
|
74652
|
-
}
|
|
74653
|
-
return writer;
|
|
74654
|
-
},
|
|
74655
|
-
decode(input, length) {
|
|
74656
|
-
const reader = input instanceof import_minimal6.default.Reader ? input : import_minimal6.default.Reader.create(input);
|
|
74657
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
74658
|
-
const message = createBaseData_BTCTransaction();
|
|
74659
|
-
while (reader.pos < end) {
|
|
74660
|
-
const tag = reader.uint32();
|
|
74661
|
-
switch (tag >>> 3) {
|
|
74662
|
-
case 4:
|
|
74663
|
-
if (tag !== 34) {
|
|
74664
|
-
break;
|
|
74665
|
-
}
|
|
74666
|
-
message.transaction = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
74667
|
-
continue;
|
|
74668
|
-
case 5:
|
|
74669
|
-
if (tag !== 42) {
|
|
74670
|
-
break;
|
|
74671
|
-
}
|
|
74672
|
-
message.timestamp = fromTimestamp2(Timestamp.decode(reader, reader.uint32()));
|
|
74673
|
-
continue;
|
|
74674
|
-
}
|
|
74675
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
74676
|
-
break;
|
|
74677
|
-
}
|
|
74678
|
-
reader.skipType(tag & 7);
|
|
74679
|
-
}
|
|
74680
|
-
return message;
|
|
74681
|
-
},
|
|
74682
|
-
fromJSON(object) {
|
|
74683
|
-
return {
|
|
74684
|
-
transaction: isObject3(object.transaction) ? object.transaction : void 0,
|
|
74685
|
-
timestamp: isSet4(object.timestamp) ? fromJsonTimestamp2(object.timestamp) : void 0
|
|
74686
|
-
};
|
|
74687
|
-
},
|
|
74688
|
-
toJSON(message) {
|
|
74689
|
-
const obj = {};
|
|
74690
|
-
if (message.transaction !== void 0) {
|
|
74691
|
-
obj.transaction = message.transaction;
|
|
74692
|
-
}
|
|
74693
|
-
if (message.timestamp !== void 0) {
|
|
74694
|
-
obj.timestamp = message.timestamp.toISOString();
|
|
74695
|
-
}
|
|
74696
|
-
return obj;
|
|
74697
|
-
},
|
|
74698
|
-
create(base) {
|
|
74699
|
-
return Data_BTCTransaction.fromPartial(base ?? {});
|
|
74700
|
-
},
|
|
74701
|
-
fromPartial(object) {
|
|
74702
|
-
const message = createBaseData_BTCTransaction();
|
|
74703
|
-
message.transaction = object.transaction ?? void 0;
|
|
74704
|
-
message.timestamp = object.timestamp ?? void 0;
|
|
74705
|
-
return message;
|
|
74706
|
-
}
|
|
74707
|
-
};
|
|
74708
|
-
function createBaseData_BTCBlock() {
|
|
74709
|
-
return { block: void 0, timestamp: void 0 };
|
|
74710
|
-
}
|
|
74711
|
-
__name(createBaseData_BTCBlock, "createBaseData_BTCBlock");
|
|
74712
|
-
var Data_BTCBlock = {
|
|
74713
|
-
encode(message, writer = import_minimal6.default.Writer.create()) {
|
|
74714
|
-
if (message.block !== void 0) {
|
|
74715
|
-
Struct.encode(Struct.wrap(message.block), writer.uint32(10).fork()).ldelim();
|
|
74716
|
-
}
|
|
74717
|
-
if (message.timestamp !== void 0) {
|
|
74718
|
-
Timestamp.encode(toTimestamp2(message.timestamp), writer.uint32(18).fork()).ldelim();
|
|
74719
|
-
}
|
|
74720
|
-
return writer;
|
|
74721
|
-
},
|
|
74722
|
-
decode(input, length) {
|
|
74723
|
-
const reader = input instanceof import_minimal6.default.Reader ? input : import_minimal6.default.Reader.create(input);
|
|
74724
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
74725
|
-
const message = createBaseData_BTCBlock();
|
|
74726
|
-
while (reader.pos < end) {
|
|
74727
|
-
const tag = reader.uint32();
|
|
74728
|
-
switch (tag >>> 3) {
|
|
74729
|
-
case 1:
|
|
74730
|
-
if (tag !== 10) {
|
|
74731
|
-
break;
|
|
74732
|
-
}
|
|
74733
|
-
message.block = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
74734
|
-
continue;
|
|
74735
|
-
case 2:
|
|
74736
|
-
if (tag !== 18) {
|
|
74737
|
-
break;
|
|
74738
|
-
}
|
|
74739
|
-
message.timestamp = fromTimestamp2(Timestamp.decode(reader, reader.uint32()));
|
|
74740
|
-
continue;
|
|
74741
|
-
}
|
|
74742
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
74743
|
-
break;
|
|
74744
|
-
}
|
|
74745
|
-
reader.skipType(tag & 7);
|
|
74746
|
-
}
|
|
74747
|
-
return message;
|
|
74748
|
-
},
|
|
74749
|
-
fromJSON(object) {
|
|
74750
|
-
return {
|
|
74751
|
-
block: isObject3(object.block) ? object.block : void 0,
|
|
74752
|
-
timestamp: isSet4(object.timestamp) ? fromJsonTimestamp2(object.timestamp) : void 0
|
|
74753
|
-
};
|
|
74754
|
-
},
|
|
74755
|
-
toJSON(message) {
|
|
74756
|
-
const obj = {};
|
|
74757
|
-
if (message.block !== void 0) {
|
|
74758
|
-
obj.block = message.block;
|
|
74759
|
-
}
|
|
74760
|
-
if (message.timestamp !== void 0) {
|
|
74761
|
-
obj.timestamp = message.timestamp.toISOString();
|
|
74762
|
-
}
|
|
74763
|
-
return obj;
|
|
74764
|
-
},
|
|
74765
|
-
create(base) {
|
|
74766
|
-
return Data_BTCBlock.fromPartial(base ?? {});
|
|
74767
|
-
},
|
|
74768
|
-
fromPartial(object) {
|
|
74769
|
-
const message = createBaseData_BTCBlock();
|
|
74770
|
-
message.block = object.block ?? void 0;
|
|
74771
|
-
message.timestamp = object.timestamp ?? void 0;
|
|
74772
|
-
return message;
|
|
74773
|
-
}
|
|
74774
|
-
};
|
|
74775
73827
|
function createBaseDataBinding() {
|
|
74776
73828
|
return { data: void 0, handlerType: 0, handlerIds: [], chainId: "" };
|
|
74777
73829
|
}
|
|
@@ -78455,14 +77507,6 @@ export {
|
|
|
78455
77507
|
MoveCallFilter,
|
|
78456
77508
|
MoveCallFilter_FromAndToAddress,
|
|
78457
77509
|
StarknetEventHandlerConfig,
|
|
78458
|
-
BTCTransactionHandlerConfig,
|
|
78459
|
-
BTCTransactionFilter,
|
|
78460
|
-
BTCTransactionFilter_Condition,
|
|
78461
|
-
BTCTransactionFilter_Filter,
|
|
78462
|
-
BTCTransactionFilter_Filter_ConditionsEntry,
|
|
78463
|
-
BTCTransactionFilter_Filters,
|
|
78464
|
-
BTCTransactionFilter_VinFilter,
|
|
78465
|
-
BTCTransactionFilter_VOutFilter,
|
|
78466
77510
|
StarknetEventFilter,
|
|
78467
77511
|
FuelCallFilter,
|
|
78468
77512
|
FuelCallHandlerConfig,
|
|
@@ -78512,8 +77556,6 @@ export {
|
|
|
78512
77556
|
Data_FuelBlock,
|
|
78513
77557
|
Data_CosmosCall,
|
|
78514
77558
|
Data_StarknetEvent,
|
|
78515
|
-
Data_BTCTransaction,
|
|
78516
|
-
Data_BTCBlock,
|
|
78517
77559
|
DataBinding,
|
|
78518
77560
|
StateResult,
|
|
78519
77561
|
ProcessResult,
|
|
@@ -78543,7 +77585,6 @@ export {
|
|
|
78543
77585
|
ReceiptType,
|
|
78544
77586
|
TransactionCoder,
|
|
78545
77587
|
lib_default,
|
|
78546
|
-
lib_exports,
|
|
78547
77588
|
init_lib,
|
|
78548
77589
|
require_node_ponyfill,
|
|
78549
77590
|
deserializeReceipt,
|
|
@@ -78597,7 +77638,6 @@ export {
|
|
|
78597
77638
|
add2 as add,
|
|
78598
77639
|
multiply3 as multiply,
|
|
78599
77640
|
AbstractEntity,
|
|
78600
|
-
serializeRichValue,
|
|
78601
77641
|
getEntityName,
|
|
78602
77642
|
getEntityField,
|
|
78603
77643
|
Store,
|
|
@@ -78654,4 +77694,4 @@ long/index.js:
|
|
|
78654
77694
|
* SPDX-License-Identifier: Apache-2.0
|
|
78655
77695
|
*)
|
|
78656
77696
|
*/
|
|
78657
|
-
//# sourceMappingURL=chunk-
|
|
77697
|
+
//# sourceMappingURL=chunk-A3VJFF7F.js.map
|