@apibara/starknet 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cursor.d.ts +1 -1
- package/dist/filter.js.map +1 -1
- package/dist/proto/generated.d.ts +382 -0
- package/dist/proto/generated.js +1114 -0
- package/dist/proto/generated.js.map +1 -1
- package/dist/proto/index.js +0 -1
- package/dist/proto/index.js.map +1 -1
- package/dist/proto/starknet.proto +55 -1
- package/package.json +1 -1
- package/src/cursor.ts +1 -1
- package/src/filter.ts +1 -1
- package/src/proto/generated.d.ts +382 -0
- package/src/proto/generated.js +1162 -0
- package/src/proto/index.ts +0 -1
- package/src/proto/starknet.proto +55 -1
package/dist/proto/generated.js
CHANGED
|
@@ -5546,6 +5546,8 @@ $root.apibara = (function () {
|
|
|
5546
5546
|
* @property {google.protobuf.ITimestamp|null} [timestamp] BlockHeader timestamp
|
|
5547
5547
|
* @property {string|null} [starknetVersion] BlockHeader starknetVersion
|
|
5548
5548
|
* @property {apibara.starknet.v1alpha2.IResourcePrice|null} [l1GasPrice] BlockHeader l1GasPrice
|
|
5549
|
+
* @property {apibara.starknet.v1alpha2.IResourcePrice|null} [l1DataGasPrice] BlockHeader l1DataGasPrice
|
|
5550
|
+
* @property {apibara.starknet.v1alpha2.L1DataAvailabilityMode|null} [l1DataAvailabilityMode] BlockHeader l1DataAvailabilityMode
|
|
5549
5551
|
*/
|
|
5550
5552
|
/**
|
|
5551
5553
|
* Constructs a new BlockHeader.
|
|
@@ -5617,6 +5619,20 @@ $root.apibara = (function () {
|
|
|
5617
5619
|
* @instance
|
|
5618
5620
|
*/
|
|
5619
5621
|
BlockHeader.prototype.l1GasPrice = null;
|
|
5622
|
+
/**
|
|
5623
|
+
* BlockHeader l1DataGasPrice.
|
|
5624
|
+
* @member {apibara.starknet.v1alpha2.IResourcePrice|null|undefined} l1DataGasPrice
|
|
5625
|
+
* @memberof apibara.starknet.v1alpha2.BlockHeader
|
|
5626
|
+
* @instance
|
|
5627
|
+
*/
|
|
5628
|
+
BlockHeader.prototype.l1DataGasPrice = null;
|
|
5629
|
+
/**
|
|
5630
|
+
* BlockHeader l1DataAvailabilityMode.
|
|
5631
|
+
* @member {apibara.starknet.v1alpha2.L1DataAvailabilityMode} l1DataAvailabilityMode
|
|
5632
|
+
* @memberof apibara.starknet.v1alpha2.BlockHeader
|
|
5633
|
+
* @instance
|
|
5634
|
+
*/
|
|
5635
|
+
BlockHeader.prototype.l1DataAvailabilityMode = 0;
|
|
5620
5636
|
/**
|
|
5621
5637
|
* Creates a new BlockHeader instance using the specified properties.
|
|
5622
5638
|
* @function create
|
|
@@ -5656,6 +5672,10 @@ $root.apibara = (function () {
|
|
|
5656
5672
|
writer.uint32(/* id 7, wireType 2 =*/ 58).string(message.starknetVersion);
|
|
5657
5673
|
if (message.l1GasPrice != null && Object.hasOwnProperty.call(message, "l1GasPrice"))
|
|
5658
5674
|
$root.apibara.starknet.v1alpha2.ResourcePrice.encode(message.l1GasPrice, writer.uint32(/* id 8, wireType 2 =*/ 66).fork()).ldelim();
|
|
5675
|
+
if (message.l1DataGasPrice != null && Object.hasOwnProperty.call(message, "l1DataGasPrice"))
|
|
5676
|
+
$root.apibara.starknet.v1alpha2.ResourcePrice.encode(message.l1DataGasPrice, writer.uint32(/* id 9, wireType 2 =*/ 74).fork()).ldelim();
|
|
5677
|
+
if (message.l1DataAvailabilityMode != null && Object.hasOwnProperty.call(message, "l1DataAvailabilityMode"))
|
|
5678
|
+
writer.uint32(/* id 10, wireType 0 =*/ 80).int32(message.l1DataAvailabilityMode);
|
|
5659
5679
|
return writer;
|
|
5660
5680
|
};
|
|
5661
5681
|
/**
|
|
@@ -5720,6 +5740,14 @@ $root.apibara = (function () {
|
|
|
5720
5740
|
message.l1GasPrice = $root.apibara.starknet.v1alpha2.ResourcePrice.decode(reader, reader.uint32());
|
|
5721
5741
|
break;
|
|
5722
5742
|
}
|
|
5743
|
+
case 9: {
|
|
5744
|
+
message.l1DataGasPrice = $root.apibara.starknet.v1alpha2.ResourcePrice.decode(reader, reader.uint32());
|
|
5745
|
+
break;
|
|
5746
|
+
}
|
|
5747
|
+
case 10: {
|
|
5748
|
+
message.l1DataAvailabilityMode = reader.int32();
|
|
5749
|
+
break;
|
|
5750
|
+
}
|
|
5723
5751
|
default:
|
|
5724
5752
|
reader.skipType(tag & 7);
|
|
5725
5753
|
break;
|
|
@@ -5789,6 +5817,20 @@ $root.apibara = (function () {
|
|
|
5789
5817
|
if (error)
|
|
5790
5818
|
return "l1GasPrice." + error;
|
|
5791
5819
|
}
|
|
5820
|
+
if (message.l1DataGasPrice != null && message.hasOwnProperty("l1DataGasPrice")) {
|
|
5821
|
+
var error = $root.apibara.starknet.v1alpha2.ResourcePrice.verify(message.l1DataGasPrice);
|
|
5822
|
+
if (error)
|
|
5823
|
+
return "l1DataGasPrice." + error;
|
|
5824
|
+
}
|
|
5825
|
+
if (message.l1DataAvailabilityMode != null && message.hasOwnProperty("l1DataAvailabilityMode"))
|
|
5826
|
+
switch (message.l1DataAvailabilityMode) {
|
|
5827
|
+
default:
|
|
5828
|
+
return "l1DataAvailabilityMode: enum value expected";
|
|
5829
|
+
case 0:
|
|
5830
|
+
case 1:
|
|
5831
|
+
case 2:
|
|
5832
|
+
break;
|
|
5833
|
+
}
|
|
5792
5834
|
return null;
|
|
5793
5835
|
};
|
|
5794
5836
|
/**
|
|
@@ -5844,6 +5886,31 @@ $root.apibara = (function () {
|
|
|
5844
5886
|
throw TypeError(".apibara.starknet.v1alpha2.BlockHeader.l1GasPrice: object expected");
|
|
5845
5887
|
message.l1GasPrice = $root.apibara.starknet.v1alpha2.ResourcePrice.fromObject(object.l1GasPrice);
|
|
5846
5888
|
}
|
|
5889
|
+
if (object.l1DataGasPrice != null) {
|
|
5890
|
+
if (typeof object.l1DataGasPrice !== "object")
|
|
5891
|
+
throw TypeError(".apibara.starknet.v1alpha2.BlockHeader.l1DataGasPrice: object expected");
|
|
5892
|
+
message.l1DataGasPrice = $root.apibara.starknet.v1alpha2.ResourcePrice.fromObject(object.l1DataGasPrice);
|
|
5893
|
+
}
|
|
5894
|
+
switch (object.l1DataAvailabilityMode) {
|
|
5895
|
+
default:
|
|
5896
|
+
if (typeof object.l1DataAvailabilityMode === "number") {
|
|
5897
|
+
message.l1DataAvailabilityMode = object.l1DataAvailabilityMode;
|
|
5898
|
+
break;
|
|
5899
|
+
}
|
|
5900
|
+
break;
|
|
5901
|
+
case "L1_DATA_AVAILABILITY_MODE_UNSPECIFIED":
|
|
5902
|
+
case 0:
|
|
5903
|
+
message.l1DataAvailabilityMode = 0;
|
|
5904
|
+
break;
|
|
5905
|
+
case "L1_DATA_AVAILABILITY_MODE_BLOB":
|
|
5906
|
+
case 1:
|
|
5907
|
+
message.l1DataAvailabilityMode = 1;
|
|
5908
|
+
break;
|
|
5909
|
+
case "L1_DATA_AVAILABILITY_MODE_CALLDATA":
|
|
5910
|
+
case 2:
|
|
5911
|
+
message.l1DataAvailabilityMode = 2;
|
|
5912
|
+
break;
|
|
5913
|
+
}
|
|
5847
5914
|
return message;
|
|
5848
5915
|
};
|
|
5849
5916
|
/**
|
|
@@ -5873,6 +5940,8 @@ $root.apibara = (function () {
|
|
|
5873
5940
|
object.timestamp = null;
|
|
5874
5941
|
object.starknetVersion = "";
|
|
5875
5942
|
object.l1GasPrice = null;
|
|
5943
|
+
object.l1DataGasPrice = null;
|
|
5944
|
+
object.l1DataAvailabilityMode = options.enums === String ? "L1_DATA_AVAILABILITY_MODE_UNSPECIFIED" : 0;
|
|
5876
5945
|
}
|
|
5877
5946
|
if (message.blockHash != null && message.hasOwnProperty("blockHash"))
|
|
5878
5947
|
object.blockHash = $root.apibara.starknet.v1alpha2.FieldElement.toObject(message.blockHash, options);
|
|
@@ -5893,6 +5962,10 @@ $root.apibara = (function () {
|
|
|
5893
5962
|
object.starknetVersion = message.starknetVersion;
|
|
5894
5963
|
if (message.l1GasPrice != null && message.hasOwnProperty("l1GasPrice"))
|
|
5895
5964
|
object.l1GasPrice = $root.apibara.starknet.v1alpha2.ResourcePrice.toObject(message.l1GasPrice, options);
|
|
5965
|
+
if (message.l1DataGasPrice != null && message.hasOwnProperty("l1DataGasPrice"))
|
|
5966
|
+
object.l1DataGasPrice = $root.apibara.starknet.v1alpha2.ResourcePrice.toObject(message.l1DataGasPrice, options);
|
|
5967
|
+
if (message.l1DataAvailabilityMode != null && message.hasOwnProperty("l1DataAvailabilityMode"))
|
|
5968
|
+
object.l1DataAvailabilityMode = options.enums === String ? $root.apibara.starknet.v1alpha2.L1DataAvailabilityMode[message.l1DataAvailabilityMode] === undefined ? message.l1DataAvailabilityMode : $root.apibara.starknet.v1alpha2.L1DataAvailabilityMode[message.l1DataAvailabilityMode] : message.l1DataAvailabilityMode;
|
|
5896
5969
|
return object;
|
|
5897
5970
|
};
|
|
5898
5971
|
/**
|
|
@@ -5921,6 +5994,21 @@ $root.apibara = (function () {
|
|
|
5921
5994
|
};
|
|
5922
5995
|
return BlockHeader;
|
|
5923
5996
|
})();
|
|
5997
|
+
/**
|
|
5998
|
+
* L1DataAvailabilityMode enum.
|
|
5999
|
+
* @name apibara.starknet.v1alpha2.L1DataAvailabilityMode
|
|
6000
|
+
* @enum {number}
|
|
6001
|
+
* @property {number} L1_DATA_AVAILABILITY_MODE_UNSPECIFIED=0 L1_DATA_AVAILABILITY_MODE_UNSPECIFIED value
|
|
6002
|
+
* @property {number} L1_DATA_AVAILABILITY_MODE_BLOB=1 L1_DATA_AVAILABILITY_MODE_BLOB value
|
|
6003
|
+
* @property {number} L1_DATA_AVAILABILITY_MODE_CALLDATA=2 L1_DATA_AVAILABILITY_MODE_CALLDATA value
|
|
6004
|
+
*/
|
|
6005
|
+
v1alpha2.L1DataAvailabilityMode = (function () {
|
|
6006
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
6007
|
+
values[valuesById[0] = "L1_DATA_AVAILABILITY_MODE_UNSPECIFIED"] = 0;
|
|
6008
|
+
values[valuesById[1] = "L1_DATA_AVAILABILITY_MODE_BLOB"] = 1;
|
|
6009
|
+
values[valuesById[2] = "L1_DATA_AVAILABILITY_MODE_CALLDATA"] = 2;
|
|
6010
|
+
return values;
|
|
6011
|
+
})();
|
|
5924
6012
|
/**
|
|
5925
6013
|
* BlockStatus enum.
|
|
5926
6014
|
* @name apibara.starknet.v1alpha2.BlockStatus
|
|
@@ -9649,6 +9737,7 @@ $root.apibara = (function () {
|
|
|
9649
9737
|
* @property {apibara.starknet.v1alpha2.ExecutionStatus|null} [executionStatus] TransactionReceipt executionStatus
|
|
9650
9738
|
* @property {string|null} [revertReason] TransactionReceipt revertReason
|
|
9651
9739
|
* @property {apibara.starknet.v1alpha2.IFeePayment|null} [actualFeePaid] TransactionReceipt actualFeePaid
|
|
9740
|
+
* @property {apibara.starknet.v1alpha2.IExecutionResources|null} [executionResources] TransactionReceipt executionResources
|
|
9652
9741
|
*/
|
|
9653
9742
|
/**
|
|
9654
9743
|
* Constructs a new TransactionReceipt.
|
|
@@ -9729,6 +9818,13 @@ $root.apibara = (function () {
|
|
|
9729
9818
|
* @instance
|
|
9730
9819
|
*/
|
|
9731
9820
|
TransactionReceipt.prototype.actualFeePaid = null;
|
|
9821
|
+
/**
|
|
9822
|
+
* TransactionReceipt executionResources.
|
|
9823
|
+
* @member {apibara.starknet.v1alpha2.IExecutionResources|null|undefined} executionResources
|
|
9824
|
+
* @memberof apibara.starknet.v1alpha2.TransactionReceipt
|
|
9825
|
+
* @instance
|
|
9826
|
+
*/
|
|
9827
|
+
TransactionReceipt.prototype.executionResources = null;
|
|
9732
9828
|
/**
|
|
9733
9829
|
* Creates a new TransactionReceipt instance using the specified properties.
|
|
9734
9830
|
* @function create
|
|
@@ -9772,6 +9868,8 @@ $root.apibara = (function () {
|
|
|
9772
9868
|
writer.uint32(/* id 8, wireType 2 =*/ 66).string(message.revertReason);
|
|
9773
9869
|
if (message.actualFeePaid != null && Object.hasOwnProperty.call(message, "actualFeePaid"))
|
|
9774
9870
|
$root.apibara.starknet.v1alpha2.FeePayment.encode(message.actualFeePaid, writer.uint32(/* id 9, wireType 2 =*/ 74).fork()).ldelim();
|
|
9871
|
+
if (message.executionResources != null && Object.hasOwnProperty.call(message, "executionResources"))
|
|
9872
|
+
$root.apibara.starknet.v1alpha2.ExecutionResources.encode(message.executionResources, writer.uint32(/* id 10, wireType 2 =*/ 82).fork()).ldelim();
|
|
9775
9873
|
return writer;
|
|
9776
9874
|
};
|
|
9777
9875
|
/**
|
|
@@ -9844,6 +9942,10 @@ $root.apibara = (function () {
|
|
|
9844
9942
|
message.actualFeePaid = $root.apibara.starknet.v1alpha2.FeePayment.decode(reader, reader.uint32());
|
|
9845
9943
|
break;
|
|
9846
9944
|
}
|
|
9945
|
+
case 10: {
|
|
9946
|
+
message.executionResources = $root.apibara.starknet.v1alpha2.ExecutionResources.decode(reader, reader.uint32());
|
|
9947
|
+
break;
|
|
9948
|
+
}
|
|
9847
9949
|
default:
|
|
9848
9950
|
reader.skipType(tag & 7);
|
|
9849
9951
|
break;
|
|
@@ -9930,6 +10032,11 @@ $root.apibara = (function () {
|
|
|
9930
10032
|
if (error)
|
|
9931
10033
|
return "actualFeePaid." + error;
|
|
9932
10034
|
}
|
|
10035
|
+
if (message.executionResources != null && message.hasOwnProperty("executionResources")) {
|
|
10036
|
+
var error = $root.apibara.starknet.v1alpha2.ExecutionResources.verify(message.executionResources);
|
|
10037
|
+
if (error)
|
|
10038
|
+
return "executionResources." + error;
|
|
10039
|
+
}
|
|
9933
10040
|
return null;
|
|
9934
10041
|
};
|
|
9935
10042
|
/**
|
|
@@ -10015,6 +10122,11 @@ $root.apibara = (function () {
|
|
|
10015
10122
|
throw TypeError(".apibara.starknet.v1alpha2.TransactionReceipt.actualFeePaid: object expected");
|
|
10016
10123
|
message.actualFeePaid = $root.apibara.starknet.v1alpha2.FeePayment.fromObject(object.actualFeePaid);
|
|
10017
10124
|
}
|
|
10125
|
+
if (object.executionResources != null) {
|
|
10126
|
+
if (typeof object.executionResources !== "object")
|
|
10127
|
+
throw TypeError(".apibara.starknet.v1alpha2.TransactionReceipt.executionResources: object expected");
|
|
10128
|
+
message.executionResources = $root.apibara.starknet.v1alpha2.ExecutionResources.fromObject(object.executionResources);
|
|
10129
|
+
}
|
|
10018
10130
|
return message;
|
|
10019
10131
|
};
|
|
10020
10132
|
/**
|
|
@@ -10047,6 +10159,7 @@ $root.apibara = (function () {
|
|
|
10047
10159
|
object.executionStatus = options.enums === String ? "EXECUTION_STATUS_UNSPECIFIED" : 0;
|
|
10048
10160
|
object.revertReason = "";
|
|
10049
10161
|
object.actualFeePaid = null;
|
|
10162
|
+
object.executionResources = null;
|
|
10050
10163
|
}
|
|
10051
10164
|
if (message.transactionHash != null && message.hasOwnProperty("transactionHash"))
|
|
10052
10165
|
object.transactionHash = $root.apibara.starknet.v1alpha2.FieldElement.toObject(message.transactionHash, options);
|
|
@@ -10075,6 +10188,8 @@ $root.apibara = (function () {
|
|
|
10075
10188
|
object.revertReason = message.revertReason;
|
|
10076
10189
|
if (message.actualFeePaid != null && message.hasOwnProperty("actualFeePaid"))
|
|
10077
10190
|
object.actualFeePaid = $root.apibara.starknet.v1alpha2.FeePayment.toObject(message.actualFeePaid, options);
|
|
10191
|
+
if (message.executionResources != null && message.hasOwnProperty("executionResources"))
|
|
10192
|
+
object.executionResources = $root.apibara.starknet.v1alpha2.ExecutionResources.toObject(message.executionResources, options);
|
|
10078
10193
|
return object;
|
|
10079
10194
|
};
|
|
10080
10195
|
/**
|
|
@@ -13904,6 +14019,1005 @@ $root.apibara = (function () {
|
|
|
13904
14019
|
values[valuesById[2] = "PRICE_UNIT_FRI"] = 2;
|
|
13905
14020
|
return values;
|
|
13906
14021
|
})();
|
|
14022
|
+
v1alpha2.ExecutionResources = (function () {
|
|
14023
|
+
/**
|
|
14024
|
+
* Properties of an ExecutionResources.
|
|
14025
|
+
* @memberof apibara.starknet.v1alpha2
|
|
14026
|
+
* @interface IExecutionResources
|
|
14027
|
+
* @property {apibara.starknet.v1alpha2.IComputationResources|null} [computation] ExecutionResources computation
|
|
14028
|
+
* @property {apibara.starknet.v1alpha2.IDataAvailabilityResources|null} [dataAvailability] ExecutionResources dataAvailability
|
|
14029
|
+
*/
|
|
14030
|
+
/**
|
|
14031
|
+
* Constructs a new ExecutionResources.
|
|
14032
|
+
* @memberof apibara.starknet.v1alpha2
|
|
14033
|
+
* @classdesc Represents an ExecutionResources.
|
|
14034
|
+
* @implements IExecutionResources
|
|
14035
|
+
* @constructor
|
|
14036
|
+
* @param {apibara.starknet.v1alpha2.IExecutionResources=} [properties] Properties to set
|
|
14037
|
+
*/
|
|
14038
|
+
function ExecutionResources(properties) {
|
|
14039
|
+
if (properties)
|
|
14040
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14041
|
+
if (properties[keys[i]] != null)
|
|
14042
|
+
this[keys[i]] = properties[keys[i]];
|
|
14043
|
+
}
|
|
14044
|
+
/**
|
|
14045
|
+
* ExecutionResources computation.
|
|
14046
|
+
* @member {apibara.starknet.v1alpha2.IComputationResources|null|undefined} computation
|
|
14047
|
+
* @memberof apibara.starknet.v1alpha2.ExecutionResources
|
|
14048
|
+
* @instance
|
|
14049
|
+
*/
|
|
14050
|
+
ExecutionResources.prototype.computation = null;
|
|
14051
|
+
/**
|
|
14052
|
+
* ExecutionResources dataAvailability.
|
|
14053
|
+
* @member {apibara.starknet.v1alpha2.IDataAvailabilityResources|null|undefined} dataAvailability
|
|
14054
|
+
* @memberof apibara.starknet.v1alpha2.ExecutionResources
|
|
14055
|
+
* @instance
|
|
14056
|
+
*/
|
|
14057
|
+
ExecutionResources.prototype.dataAvailability = null;
|
|
14058
|
+
/**
|
|
14059
|
+
* Creates a new ExecutionResources instance using the specified properties.
|
|
14060
|
+
* @function create
|
|
14061
|
+
* @memberof apibara.starknet.v1alpha2.ExecutionResources
|
|
14062
|
+
* @static
|
|
14063
|
+
* @param {apibara.starknet.v1alpha2.IExecutionResources=} [properties] Properties to set
|
|
14064
|
+
* @returns {apibara.starknet.v1alpha2.ExecutionResources} ExecutionResources instance
|
|
14065
|
+
*/
|
|
14066
|
+
ExecutionResources.create = function create(properties) {
|
|
14067
|
+
return new ExecutionResources(properties);
|
|
14068
|
+
};
|
|
14069
|
+
/**
|
|
14070
|
+
* Encodes the specified ExecutionResources message. Does not implicitly {@link apibara.starknet.v1alpha2.ExecutionResources.verify|verify} messages.
|
|
14071
|
+
* @function encode
|
|
14072
|
+
* @memberof apibara.starknet.v1alpha2.ExecutionResources
|
|
14073
|
+
* @static
|
|
14074
|
+
* @param {apibara.starknet.v1alpha2.IExecutionResources} message ExecutionResources message or plain object to encode
|
|
14075
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14076
|
+
* @returns {$protobuf.Writer} Writer
|
|
14077
|
+
*/
|
|
14078
|
+
ExecutionResources.encode = function encode(message, writer) {
|
|
14079
|
+
if (!writer)
|
|
14080
|
+
writer = $Writer.create();
|
|
14081
|
+
if (message.computation != null && Object.hasOwnProperty.call(message, "computation"))
|
|
14082
|
+
$root.apibara.starknet.v1alpha2.ComputationResources.encode(message.computation, writer.uint32(/* id 1, wireType 2 =*/ 10).fork()).ldelim();
|
|
14083
|
+
if (message.dataAvailability != null && Object.hasOwnProperty.call(message, "dataAvailability"))
|
|
14084
|
+
$root.apibara.starknet.v1alpha2.DataAvailabilityResources.encode(message.dataAvailability, writer.uint32(/* id 2, wireType 2 =*/ 18).fork()).ldelim();
|
|
14085
|
+
return writer;
|
|
14086
|
+
};
|
|
14087
|
+
/**
|
|
14088
|
+
* Encodes the specified ExecutionResources message, length delimited. Does not implicitly {@link apibara.starknet.v1alpha2.ExecutionResources.verify|verify} messages.
|
|
14089
|
+
* @function encodeDelimited
|
|
14090
|
+
* @memberof apibara.starknet.v1alpha2.ExecutionResources
|
|
14091
|
+
* @static
|
|
14092
|
+
* @param {apibara.starknet.v1alpha2.IExecutionResources} message ExecutionResources message or plain object to encode
|
|
14093
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14094
|
+
* @returns {$protobuf.Writer} Writer
|
|
14095
|
+
*/
|
|
14096
|
+
ExecutionResources.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14097
|
+
return this.encode(message, writer).ldelim();
|
|
14098
|
+
};
|
|
14099
|
+
/**
|
|
14100
|
+
* Decodes an ExecutionResources message from the specified reader or buffer.
|
|
14101
|
+
* @function decode
|
|
14102
|
+
* @memberof apibara.starknet.v1alpha2.ExecutionResources
|
|
14103
|
+
* @static
|
|
14104
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14105
|
+
* @param {number} [length] Message length if known beforehand
|
|
14106
|
+
* @returns {apibara.starknet.v1alpha2.ExecutionResources} ExecutionResources
|
|
14107
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14108
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14109
|
+
*/
|
|
14110
|
+
ExecutionResources.decode = function decode(reader, length) {
|
|
14111
|
+
if (!(reader instanceof $Reader))
|
|
14112
|
+
reader = $Reader.create(reader);
|
|
14113
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.apibara.starknet.v1alpha2.ExecutionResources();
|
|
14114
|
+
while (reader.pos < end) {
|
|
14115
|
+
var tag = reader.uint32();
|
|
14116
|
+
switch (tag >>> 3) {
|
|
14117
|
+
case 1: {
|
|
14118
|
+
message.computation = $root.apibara.starknet.v1alpha2.ComputationResources.decode(reader, reader.uint32());
|
|
14119
|
+
break;
|
|
14120
|
+
}
|
|
14121
|
+
case 2: {
|
|
14122
|
+
message.dataAvailability = $root.apibara.starknet.v1alpha2.DataAvailabilityResources.decode(reader, reader.uint32());
|
|
14123
|
+
break;
|
|
14124
|
+
}
|
|
14125
|
+
default:
|
|
14126
|
+
reader.skipType(tag & 7);
|
|
14127
|
+
break;
|
|
14128
|
+
}
|
|
14129
|
+
}
|
|
14130
|
+
return message;
|
|
14131
|
+
};
|
|
14132
|
+
/**
|
|
14133
|
+
* Decodes an ExecutionResources message from the specified reader or buffer, length delimited.
|
|
14134
|
+
* @function decodeDelimited
|
|
14135
|
+
* @memberof apibara.starknet.v1alpha2.ExecutionResources
|
|
14136
|
+
* @static
|
|
14137
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14138
|
+
* @returns {apibara.starknet.v1alpha2.ExecutionResources} ExecutionResources
|
|
14139
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14140
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14141
|
+
*/
|
|
14142
|
+
ExecutionResources.decodeDelimited = function decodeDelimited(reader) {
|
|
14143
|
+
if (!(reader instanceof $Reader))
|
|
14144
|
+
reader = new $Reader(reader);
|
|
14145
|
+
return this.decode(reader, reader.uint32());
|
|
14146
|
+
};
|
|
14147
|
+
/**
|
|
14148
|
+
* Verifies an ExecutionResources message.
|
|
14149
|
+
* @function verify
|
|
14150
|
+
* @memberof apibara.starknet.v1alpha2.ExecutionResources
|
|
14151
|
+
* @static
|
|
14152
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
14153
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14154
|
+
*/
|
|
14155
|
+
ExecutionResources.verify = function verify(message) {
|
|
14156
|
+
if (typeof message !== "object" || message === null)
|
|
14157
|
+
return "object expected";
|
|
14158
|
+
if (message.computation != null && message.hasOwnProperty("computation")) {
|
|
14159
|
+
var error = $root.apibara.starknet.v1alpha2.ComputationResources.verify(message.computation);
|
|
14160
|
+
if (error)
|
|
14161
|
+
return "computation." + error;
|
|
14162
|
+
}
|
|
14163
|
+
if (message.dataAvailability != null && message.hasOwnProperty("dataAvailability")) {
|
|
14164
|
+
var error = $root.apibara.starknet.v1alpha2.DataAvailabilityResources.verify(message.dataAvailability);
|
|
14165
|
+
if (error)
|
|
14166
|
+
return "dataAvailability." + error;
|
|
14167
|
+
}
|
|
14168
|
+
return null;
|
|
14169
|
+
};
|
|
14170
|
+
/**
|
|
14171
|
+
* Creates an ExecutionResources message from a plain object. Also converts values to their respective internal types.
|
|
14172
|
+
* @function fromObject
|
|
14173
|
+
* @memberof apibara.starknet.v1alpha2.ExecutionResources
|
|
14174
|
+
* @static
|
|
14175
|
+
* @param {Object.<string,*>} object Plain object
|
|
14176
|
+
* @returns {apibara.starknet.v1alpha2.ExecutionResources} ExecutionResources
|
|
14177
|
+
*/
|
|
14178
|
+
ExecutionResources.fromObject = function fromObject(object) {
|
|
14179
|
+
if (object instanceof $root.apibara.starknet.v1alpha2.ExecutionResources)
|
|
14180
|
+
return object;
|
|
14181
|
+
var message = new $root.apibara.starknet.v1alpha2.ExecutionResources();
|
|
14182
|
+
if (object.computation != null) {
|
|
14183
|
+
if (typeof object.computation !== "object")
|
|
14184
|
+
throw TypeError(".apibara.starknet.v1alpha2.ExecutionResources.computation: object expected");
|
|
14185
|
+
message.computation = $root.apibara.starknet.v1alpha2.ComputationResources.fromObject(object.computation);
|
|
14186
|
+
}
|
|
14187
|
+
if (object.dataAvailability != null) {
|
|
14188
|
+
if (typeof object.dataAvailability !== "object")
|
|
14189
|
+
throw TypeError(".apibara.starknet.v1alpha2.ExecutionResources.dataAvailability: object expected");
|
|
14190
|
+
message.dataAvailability = $root.apibara.starknet.v1alpha2.DataAvailabilityResources.fromObject(object.dataAvailability);
|
|
14191
|
+
}
|
|
14192
|
+
return message;
|
|
14193
|
+
};
|
|
14194
|
+
/**
|
|
14195
|
+
* Creates a plain object from an ExecutionResources message. Also converts values to other types if specified.
|
|
14196
|
+
* @function toObject
|
|
14197
|
+
* @memberof apibara.starknet.v1alpha2.ExecutionResources
|
|
14198
|
+
* @static
|
|
14199
|
+
* @param {apibara.starknet.v1alpha2.ExecutionResources} message ExecutionResources
|
|
14200
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14201
|
+
* @returns {Object.<string,*>} Plain object
|
|
14202
|
+
*/
|
|
14203
|
+
ExecutionResources.toObject = function toObject(message, options) {
|
|
14204
|
+
if (!options)
|
|
14205
|
+
options = {};
|
|
14206
|
+
var object = {};
|
|
14207
|
+
if (options.defaults) {
|
|
14208
|
+
object.computation = null;
|
|
14209
|
+
object.dataAvailability = null;
|
|
14210
|
+
}
|
|
14211
|
+
if (message.computation != null && message.hasOwnProperty("computation"))
|
|
14212
|
+
object.computation = $root.apibara.starknet.v1alpha2.ComputationResources.toObject(message.computation, options);
|
|
14213
|
+
if (message.dataAvailability != null && message.hasOwnProperty("dataAvailability"))
|
|
14214
|
+
object.dataAvailability = $root.apibara.starknet.v1alpha2.DataAvailabilityResources.toObject(message.dataAvailability, options);
|
|
14215
|
+
return object;
|
|
14216
|
+
};
|
|
14217
|
+
/**
|
|
14218
|
+
* Converts this ExecutionResources to JSON.
|
|
14219
|
+
* @function toJSON
|
|
14220
|
+
* @memberof apibara.starknet.v1alpha2.ExecutionResources
|
|
14221
|
+
* @instance
|
|
14222
|
+
* @returns {Object.<string,*>} JSON object
|
|
14223
|
+
*/
|
|
14224
|
+
ExecutionResources.prototype.toJSON = function toJSON() {
|
|
14225
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
14226
|
+
};
|
|
14227
|
+
/**
|
|
14228
|
+
* Gets the default type url for ExecutionResources
|
|
14229
|
+
* @function getTypeUrl
|
|
14230
|
+
* @memberof apibara.starknet.v1alpha2.ExecutionResources
|
|
14231
|
+
* @static
|
|
14232
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14233
|
+
* @returns {string} The default type url
|
|
14234
|
+
*/
|
|
14235
|
+
ExecutionResources.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
14236
|
+
if (typeUrlPrefix === undefined) {
|
|
14237
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
14238
|
+
}
|
|
14239
|
+
return typeUrlPrefix + "/apibara.starknet.v1alpha2.ExecutionResources";
|
|
14240
|
+
};
|
|
14241
|
+
return ExecutionResources;
|
|
14242
|
+
})();
|
|
14243
|
+
v1alpha2.ComputationResources = (function () {
|
|
14244
|
+
/**
|
|
14245
|
+
* Properties of a ComputationResources.
|
|
14246
|
+
* @memberof apibara.starknet.v1alpha2
|
|
14247
|
+
* @interface IComputationResources
|
|
14248
|
+
* @property {number|Long|null} [steps] ComputationResources steps
|
|
14249
|
+
* @property {number|Long|null} [memoryHoles] ComputationResources memoryHoles
|
|
14250
|
+
* @property {number|Long|null} [rangeCheckBuiltinApplications] ComputationResources rangeCheckBuiltinApplications
|
|
14251
|
+
* @property {number|Long|null} [pedersenBuiltinApplications] ComputationResources pedersenBuiltinApplications
|
|
14252
|
+
* @property {number|Long|null} [poseidonBuiltinApplications] ComputationResources poseidonBuiltinApplications
|
|
14253
|
+
* @property {number|Long|null} [ecOpBuiltinApplications] ComputationResources ecOpBuiltinApplications
|
|
14254
|
+
* @property {number|Long|null} [ecdsaBuiltinApplications] ComputationResources ecdsaBuiltinApplications
|
|
14255
|
+
* @property {number|Long|null} [bitwiseBuiltinApplications] ComputationResources bitwiseBuiltinApplications
|
|
14256
|
+
* @property {number|Long|null} [keccakBuiltinApplications] ComputationResources keccakBuiltinApplications
|
|
14257
|
+
* @property {number|Long|null} [segmentArenaBuiltin] ComputationResources segmentArenaBuiltin
|
|
14258
|
+
*/
|
|
14259
|
+
/**
|
|
14260
|
+
* Constructs a new ComputationResources.
|
|
14261
|
+
* @memberof apibara.starknet.v1alpha2
|
|
14262
|
+
* @classdesc Represents a ComputationResources.
|
|
14263
|
+
* @implements IComputationResources
|
|
14264
|
+
* @constructor
|
|
14265
|
+
* @param {apibara.starknet.v1alpha2.IComputationResources=} [properties] Properties to set
|
|
14266
|
+
*/
|
|
14267
|
+
function ComputationResources(properties) {
|
|
14268
|
+
if (properties)
|
|
14269
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14270
|
+
if (properties[keys[i]] != null)
|
|
14271
|
+
this[keys[i]] = properties[keys[i]];
|
|
14272
|
+
}
|
|
14273
|
+
/**
|
|
14274
|
+
* ComputationResources steps.
|
|
14275
|
+
* @member {number|Long} steps
|
|
14276
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14277
|
+
* @instance
|
|
14278
|
+
*/
|
|
14279
|
+
ComputationResources.prototype.steps = $util.Long ? $util.Long.fromBits(0, 0, true) : 0;
|
|
14280
|
+
/**
|
|
14281
|
+
* ComputationResources memoryHoles.
|
|
14282
|
+
* @member {number|Long} memoryHoles
|
|
14283
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14284
|
+
* @instance
|
|
14285
|
+
*/
|
|
14286
|
+
ComputationResources.prototype.memoryHoles = $util.Long ? $util.Long.fromBits(0, 0, true) : 0;
|
|
14287
|
+
/**
|
|
14288
|
+
* ComputationResources rangeCheckBuiltinApplications.
|
|
14289
|
+
* @member {number|Long} rangeCheckBuiltinApplications
|
|
14290
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14291
|
+
* @instance
|
|
14292
|
+
*/
|
|
14293
|
+
ComputationResources.prototype.rangeCheckBuiltinApplications = $util.Long ? $util.Long.fromBits(0, 0, true) : 0;
|
|
14294
|
+
/**
|
|
14295
|
+
* ComputationResources pedersenBuiltinApplications.
|
|
14296
|
+
* @member {number|Long} pedersenBuiltinApplications
|
|
14297
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14298
|
+
* @instance
|
|
14299
|
+
*/
|
|
14300
|
+
ComputationResources.prototype.pedersenBuiltinApplications = $util.Long ? $util.Long.fromBits(0, 0, true) : 0;
|
|
14301
|
+
/**
|
|
14302
|
+
* ComputationResources poseidonBuiltinApplications.
|
|
14303
|
+
* @member {number|Long} poseidonBuiltinApplications
|
|
14304
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14305
|
+
* @instance
|
|
14306
|
+
*/
|
|
14307
|
+
ComputationResources.prototype.poseidonBuiltinApplications = $util.Long ? $util.Long.fromBits(0, 0, true) : 0;
|
|
14308
|
+
/**
|
|
14309
|
+
* ComputationResources ecOpBuiltinApplications.
|
|
14310
|
+
* @member {number|Long} ecOpBuiltinApplications
|
|
14311
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14312
|
+
* @instance
|
|
14313
|
+
*/
|
|
14314
|
+
ComputationResources.prototype.ecOpBuiltinApplications = $util.Long ? $util.Long.fromBits(0, 0, true) : 0;
|
|
14315
|
+
/**
|
|
14316
|
+
* ComputationResources ecdsaBuiltinApplications.
|
|
14317
|
+
* @member {number|Long} ecdsaBuiltinApplications
|
|
14318
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14319
|
+
* @instance
|
|
14320
|
+
*/
|
|
14321
|
+
ComputationResources.prototype.ecdsaBuiltinApplications = $util.Long ? $util.Long.fromBits(0, 0, true) : 0;
|
|
14322
|
+
/**
|
|
14323
|
+
* ComputationResources bitwiseBuiltinApplications.
|
|
14324
|
+
* @member {number|Long} bitwiseBuiltinApplications
|
|
14325
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14326
|
+
* @instance
|
|
14327
|
+
*/
|
|
14328
|
+
ComputationResources.prototype.bitwiseBuiltinApplications = $util.Long ? $util.Long.fromBits(0, 0, true) : 0;
|
|
14329
|
+
/**
|
|
14330
|
+
* ComputationResources keccakBuiltinApplications.
|
|
14331
|
+
* @member {number|Long} keccakBuiltinApplications
|
|
14332
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14333
|
+
* @instance
|
|
14334
|
+
*/
|
|
14335
|
+
ComputationResources.prototype.keccakBuiltinApplications = $util.Long ? $util.Long.fromBits(0, 0, true) : 0;
|
|
14336
|
+
/**
|
|
14337
|
+
* ComputationResources segmentArenaBuiltin.
|
|
14338
|
+
* @member {number|Long} segmentArenaBuiltin
|
|
14339
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14340
|
+
* @instance
|
|
14341
|
+
*/
|
|
14342
|
+
ComputationResources.prototype.segmentArenaBuiltin = $util.Long ? $util.Long.fromBits(0, 0, true) : 0;
|
|
14343
|
+
/**
|
|
14344
|
+
* Creates a new ComputationResources instance using the specified properties.
|
|
14345
|
+
* @function create
|
|
14346
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14347
|
+
* @static
|
|
14348
|
+
* @param {apibara.starknet.v1alpha2.IComputationResources=} [properties] Properties to set
|
|
14349
|
+
* @returns {apibara.starknet.v1alpha2.ComputationResources} ComputationResources instance
|
|
14350
|
+
*/
|
|
14351
|
+
ComputationResources.create = function create(properties) {
|
|
14352
|
+
return new ComputationResources(properties);
|
|
14353
|
+
};
|
|
14354
|
+
/**
|
|
14355
|
+
* Encodes the specified ComputationResources message. Does not implicitly {@link apibara.starknet.v1alpha2.ComputationResources.verify|verify} messages.
|
|
14356
|
+
* @function encode
|
|
14357
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14358
|
+
* @static
|
|
14359
|
+
* @param {apibara.starknet.v1alpha2.IComputationResources} message ComputationResources message or plain object to encode
|
|
14360
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14361
|
+
* @returns {$protobuf.Writer} Writer
|
|
14362
|
+
*/
|
|
14363
|
+
ComputationResources.encode = function encode(message, writer) {
|
|
14364
|
+
if (!writer)
|
|
14365
|
+
writer = $Writer.create();
|
|
14366
|
+
if (message.steps != null && Object.hasOwnProperty.call(message, "steps"))
|
|
14367
|
+
writer.uint32(/* id 1, wireType 0 =*/ 8).uint64(message.steps);
|
|
14368
|
+
if (message.memoryHoles != null && Object.hasOwnProperty.call(message, "memoryHoles"))
|
|
14369
|
+
writer.uint32(/* id 2, wireType 0 =*/ 16).uint64(message.memoryHoles);
|
|
14370
|
+
if (message.rangeCheckBuiltinApplications != null && Object.hasOwnProperty.call(message, "rangeCheckBuiltinApplications"))
|
|
14371
|
+
writer.uint32(/* id 3, wireType 0 =*/ 24).uint64(message.rangeCheckBuiltinApplications);
|
|
14372
|
+
if (message.pedersenBuiltinApplications != null && Object.hasOwnProperty.call(message, "pedersenBuiltinApplications"))
|
|
14373
|
+
writer.uint32(/* id 4, wireType 0 =*/ 32).uint64(message.pedersenBuiltinApplications);
|
|
14374
|
+
if (message.poseidonBuiltinApplications != null && Object.hasOwnProperty.call(message, "poseidonBuiltinApplications"))
|
|
14375
|
+
writer.uint32(/* id 5, wireType 0 =*/ 40).uint64(message.poseidonBuiltinApplications);
|
|
14376
|
+
if (message.ecOpBuiltinApplications != null && Object.hasOwnProperty.call(message, "ecOpBuiltinApplications"))
|
|
14377
|
+
writer.uint32(/* id 6, wireType 0 =*/ 48).uint64(message.ecOpBuiltinApplications);
|
|
14378
|
+
if (message.ecdsaBuiltinApplications != null && Object.hasOwnProperty.call(message, "ecdsaBuiltinApplications"))
|
|
14379
|
+
writer.uint32(/* id 7, wireType 0 =*/ 56).uint64(message.ecdsaBuiltinApplications);
|
|
14380
|
+
if (message.bitwiseBuiltinApplications != null && Object.hasOwnProperty.call(message, "bitwiseBuiltinApplications"))
|
|
14381
|
+
writer.uint32(/* id 8, wireType 0 =*/ 64).uint64(message.bitwiseBuiltinApplications);
|
|
14382
|
+
if (message.keccakBuiltinApplications != null && Object.hasOwnProperty.call(message, "keccakBuiltinApplications"))
|
|
14383
|
+
writer.uint32(/* id 9, wireType 0 =*/ 72).uint64(message.keccakBuiltinApplications);
|
|
14384
|
+
if (message.segmentArenaBuiltin != null && Object.hasOwnProperty.call(message, "segmentArenaBuiltin"))
|
|
14385
|
+
writer.uint32(/* id 10, wireType 0 =*/ 80).uint64(message.segmentArenaBuiltin);
|
|
14386
|
+
return writer;
|
|
14387
|
+
};
|
|
14388
|
+
/**
|
|
14389
|
+
* Encodes the specified ComputationResources message, length delimited. Does not implicitly {@link apibara.starknet.v1alpha2.ComputationResources.verify|verify} messages.
|
|
14390
|
+
* @function encodeDelimited
|
|
14391
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14392
|
+
* @static
|
|
14393
|
+
* @param {apibara.starknet.v1alpha2.IComputationResources} message ComputationResources message or plain object to encode
|
|
14394
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14395
|
+
* @returns {$protobuf.Writer} Writer
|
|
14396
|
+
*/
|
|
14397
|
+
ComputationResources.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14398
|
+
return this.encode(message, writer).ldelim();
|
|
14399
|
+
};
|
|
14400
|
+
/**
|
|
14401
|
+
* Decodes a ComputationResources message from the specified reader or buffer.
|
|
14402
|
+
* @function decode
|
|
14403
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14404
|
+
* @static
|
|
14405
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14406
|
+
* @param {number} [length] Message length if known beforehand
|
|
14407
|
+
* @returns {apibara.starknet.v1alpha2.ComputationResources} ComputationResources
|
|
14408
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14409
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14410
|
+
*/
|
|
14411
|
+
ComputationResources.decode = function decode(reader, length) {
|
|
14412
|
+
if (!(reader instanceof $Reader))
|
|
14413
|
+
reader = $Reader.create(reader);
|
|
14414
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.apibara.starknet.v1alpha2.ComputationResources();
|
|
14415
|
+
while (reader.pos < end) {
|
|
14416
|
+
var tag = reader.uint32();
|
|
14417
|
+
switch (tag >>> 3) {
|
|
14418
|
+
case 1: {
|
|
14419
|
+
message.steps = reader.uint64();
|
|
14420
|
+
break;
|
|
14421
|
+
}
|
|
14422
|
+
case 2: {
|
|
14423
|
+
message.memoryHoles = reader.uint64();
|
|
14424
|
+
break;
|
|
14425
|
+
}
|
|
14426
|
+
case 3: {
|
|
14427
|
+
message.rangeCheckBuiltinApplications = reader.uint64();
|
|
14428
|
+
break;
|
|
14429
|
+
}
|
|
14430
|
+
case 4: {
|
|
14431
|
+
message.pedersenBuiltinApplications = reader.uint64();
|
|
14432
|
+
break;
|
|
14433
|
+
}
|
|
14434
|
+
case 5: {
|
|
14435
|
+
message.poseidonBuiltinApplications = reader.uint64();
|
|
14436
|
+
break;
|
|
14437
|
+
}
|
|
14438
|
+
case 6: {
|
|
14439
|
+
message.ecOpBuiltinApplications = reader.uint64();
|
|
14440
|
+
break;
|
|
14441
|
+
}
|
|
14442
|
+
case 7: {
|
|
14443
|
+
message.ecdsaBuiltinApplications = reader.uint64();
|
|
14444
|
+
break;
|
|
14445
|
+
}
|
|
14446
|
+
case 8: {
|
|
14447
|
+
message.bitwiseBuiltinApplications = reader.uint64();
|
|
14448
|
+
break;
|
|
14449
|
+
}
|
|
14450
|
+
case 9: {
|
|
14451
|
+
message.keccakBuiltinApplications = reader.uint64();
|
|
14452
|
+
break;
|
|
14453
|
+
}
|
|
14454
|
+
case 10: {
|
|
14455
|
+
message.segmentArenaBuiltin = reader.uint64();
|
|
14456
|
+
break;
|
|
14457
|
+
}
|
|
14458
|
+
default:
|
|
14459
|
+
reader.skipType(tag & 7);
|
|
14460
|
+
break;
|
|
14461
|
+
}
|
|
14462
|
+
}
|
|
14463
|
+
return message;
|
|
14464
|
+
};
|
|
14465
|
+
/**
|
|
14466
|
+
* Decodes a ComputationResources message from the specified reader or buffer, length delimited.
|
|
14467
|
+
* @function decodeDelimited
|
|
14468
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14469
|
+
* @static
|
|
14470
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14471
|
+
* @returns {apibara.starknet.v1alpha2.ComputationResources} ComputationResources
|
|
14472
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14473
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14474
|
+
*/
|
|
14475
|
+
ComputationResources.decodeDelimited = function decodeDelimited(reader) {
|
|
14476
|
+
if (!(reader instanceof $Reader))
|
|
14477
|
+
reader = new $Reader(reader);
|
|
14478
|
+
return this.decode(reader, reader.uint32());
|
|
14479
|
+
};
|
|
14480
|
+
/**
|
|
14481
|
+
* Verifies a ComputationResources message.
|
|
14482
|
+
* @function verify
|
|
14483
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14484
|
+
* @static
|
|
14485
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
14486
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14487
|
+
*/
|
|
14488
|
+
ComputationResources.verify = function verify(message) {
|
|
14489
|
+
if (typeof message !== "object" || message === null)
|
|
14490
|
+
return "object expected";
|
|
14491
|
+
if (message.steps != null && message.hasOwnProperty("steps"))
|
|
14492
|
+
if (!$util.isInteger(message.steps) && !(message.steps && $util.isInteger(message.steps.low) && $util.isInteger(message.steps.high)))
|
|
14493
|
+
return "steps: integer|Long expected";
|
|
14494
|
+
if (message.memoryHoles != null && message.hasOwnProperty("memoryHoles"))
|
|
14495
|
+
if (!$util.isInteger(message.memoryHoles) && !(message.memoryHoles && $util.isInteger(message.memoryHoles.low) && $util.isInteger(message.memoryHoles.high)))
|
|
14496
|
+
return "memoryHoles: integer|Long expected";
|
|
14497
|
+
if (message.rangeCheckBuiltinApplications != null && message.hasOwnProperty("rangeCheckBuiltinApplications"))
|
|
14498
|
+
if (!$util.isInteger(message.rangeCheckBuiltinApplications) && !(message.rangeCheckBuiltinApplications && $util.isInteger(message.rangeCheckBuiltinApplications.low) && $util.isInteger(message.rangeCheckBuiltinApplications.high)))
|
|
14499
|
+
return "rangeCheckBuiltinApplications: integer|Long expected";
|
|
14500
|
+
if (message.pedersenBuiltinApplications != null && message.hasOwnProperty("pedersenBuiltinApplications"))
|
|
14501
|
+
if (!$util.isInteger(message.pedersenBuiltinApplications) && !(message.pedersenBuiltinApplications && $util.isInteger(message.pedersenBuiltinApplications.low) && $util.isInteger(message.pedersenBuiltinApplications.high)))
|
|
14502
|
+
return "pedersenBuiltinApplications: integer|Long expected";
|
|
14503
|
+
if (message.poseidonBuiltinApplications != null && message.hasOwnProperty("poseidonBuiltinApplications"))
|
|
14504
|
+
if (!$util.isInteger(message.poseidonBuiltinApplications) && !(message.poseidonBuiltinApplications && $util.isInteger(message.poseidonBuiltinApplications.low) && $util.isInteger(message.poseidonBuiltinApplications.high)))
|
|
14505
|
+
return "poseidonBuiltinApplications: integer|Long expected";
|
|
14506
|
+
if (message.ecOpBuiltinApplications != null && message.hasOwnProperty("ecOpBuiltinApplications"))
|
|
14507
|
+
if (!$util.isInteger(message.ecOpBuiltinApplications) && !(message.ecOpBuiltinApplications && $util.isInteger(message.ecOpBuiltinApplications.low) && $util.isInteger(message.ecOpBuiltinApplications.high)))
|
|
14508
|
+
return "ecOpBuiltinApplications: integer|Long expected";
|
|
14509
|
+
if (message.ecdsaBuiltinApplications != null && message.hasOwnProperty("ecdsaBuiltinApplications"))
|
|
14510
|
+
if (!$util.isInteger(message.ecdsaBuiltinApplications) && !(message.ecdsaBuiltinApplications && $util.isInteger(message.ecdsaBuiltinApplications.low) && $util.isInteger(message.ecdsaBuiltinApplications.high)))
|
|
14511
|
+
return "ecdsaBuiltinApplications: integer|Long expected";
|
|
14512
|
+
if (message.bitwiseBuiltinApplications != null && message.hasOwnProperty("bitwiseBuiltinApplications"))
|
|
14513
|
+
if (!$util.isInteger(message.bitwiseBuiltinApplications) && !(message.bitwiseBuiltinApplications && $util.isInteger(message.bitwiseBuiltinApplications.low) && $util.isInteger(message.bitwiseBuiltinApplications.high)))
|
|
14514
|
+
return "bitwiseBuiltinApplications: integer|Long expected";
|
|
14515
|
+
if (message.keccakBuiltinApplications != null && message.hasOwnProperty("keccakBuiltinApplications"))
|
|
14516
|
+
if (!$util.isInteger(message.keccakBuiltinApplications) && !(message.keccakBuiltinApplications && $util.isInteger(message.keccakBuiltinApplications.low) && $util.isInteger(message.keccakBuiltinApplications.high)))
|
|
14517
|
+
return "keccakBuiltinApplications: integer|Long expected";
|
|
14518
|
+
if (message.segmentArenaBuiltin != null && message.hasOwnProperty("segmentArenaBuiltin"))
|
|
14519
|
+
if (!$util.isInteger(message.segmentArenaBuiltin) && !(message.segmentArenaBuiltin && $util.isInteger(message.segmentArenaBuiltin.low) && $util.isInteger(message.segmentArenaBuiltin.high)))
|
|
14520
|
+
return "segmentArenaBuiltin: integer|Long expected";
|
|
14521
|
+
return null;
|
|
14522
|
+
};
|
|
14523
|
+
/**
|
|
14524
|
+
* Creates a ComputationResources message from a plain object. Also converts values to their respective internal types.
|
|
14525
|
+
* @function fromObject
|
|
14526
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14527
|
+
* @static
|
|
14528
|
+
* @param {Object.<string,*>} object Plain object
|
|
14529
|
+
* @returns {apibara.starknet.v1alpha2.ComputationResources} ComputationResources
|
|
14530
|
+
*/
|
|
14531
|
+
ComputationResources.fromObject = function fromObject(object) {
|
|
14532
|
+
if (object instanceof $root.apibara.starknet.v1alpha2.ComputationResources)
|
|
14533
|
+
return object;
|
|
14534
|
+
var message = new $root.apibara.starknet.v1alpha2.ComputationResources();
|
|
14535
|
+
if (object.steps != null)
|
|
14536
|
+
if ($util.Long)
|
|
14537
|
+
(message.steps = $util.Long.fromValue(object.steps)).unsigned = true;
|
|
14538
|
+
else if (typeof object.steps === "string")
|
|
14539
|
+
message.steps = parseInt(object.steps, 10);
|
|
14540
|
+
else if (typeof object.steps === "number")
|
|
14541
|
+
message.steps = object.steps;
|
|
14542
|
+
else if (typeof object.steps === "object")
|
|
14543
|
+
message.steps = new $util.LongBits(object.steps.low >>> 0, object.steps.high >>> 0).toNumber(true);
|
|
14544
|
+
if (object.memoryHoles != null)
|
|
14545
|
+
if ($util.Long)
|
|
14546
|
+
(message.memoryHoles = $util.Long.fromValue(object.memoryHoles)).unsigned = true;
|
|
14547
|
+
else if (typeof object.memoryHoles === "string")
|
|
14548
|
+
message.memoryHoles = parseInt(object.memoryHoles, 10);
|
|
14549
|
+
else if (typeof object.memoryHoles === "number")
|
|
14550
|
+
message.memoryHoles = object.memoryHoles;
|
|
14551
|
+
else if (typeof object.memoryHoles === "object")
|
|
14552
|
+
message.memoryHoles = new $util.LongBits(object.memoryHoles.low >>> 0, object.memoryHoles.high >>> 0).toNumber(true);
|
|
14553
|
+
if (object.rangeCheckBuiltinApplications != null)
|
|
14554
|
+
if ($util.Long)
|
|
14555
|
+
(message.rangeCheckBuiltinApplications = $util.Long.fromValue(object.rangeCheckBuiltinApplications)).unsigned = true;
|
|
14556
|
+
else if (typeof object.rangeCheckBuiltinApplications === "string")
|
|
14557
|
+
message.rangeCheckBuiltinApplications = parseInt(object.rangeCheckBuiltinApplications, 10);
|
|
14558
|
+
else if (typeof object.rangeCheckBuiltinApplications === "number")
|
|
14559
|
+
message.rangeCheckBuiltinApplications = object.rangeCheckBuiltinApplications;
|
|
14560
|
+
else if (typeof object.rangeCheckBuiltinApplications === "object")
|
|
14561
|
+
message.rangeCheckBuiltinApplications = new $util.LongBits(object.rangeCheckBuiltinApplications.low >>> 0, object.rangeCheckBuiltinApplications.high >>> 0).toNumber(true);
|
|
14562
|
+
if (object.pedersenBuiltinApplications != null)
|
|
14563
|
+
if ($util.Long)
|
|
14564
|
+
(message.pedersenBuiltinApplications = $util.Long.fromValue(object.pedersenBuiltinApplications)).unsigned = true;
|
|
14565
|
+
else if (typeof object.pedersenBuiltinApplications === "string")
|
|
14566
|
+
message.pedersenBuiltinApplications = parseInt(object.pedersenBuiltinApplications, 10);
|
|
14567
|
+
else if (typeof object.pedersenBuiltinApplications === "number")
|
|
14568
|
+
message.pedersenBuiltinApplications = object.pedersenBuiltinApplications;
|
|
14569
|
+
else if (typeof object.pedersenBuiltinApplications === "object")
|
|
14570
|
+
message.pedersenBuiltinApplications = new $util.LongBits(object.pedersenBuiltinApplications.low >>> 0, object.pedersenBuiltinApplications.high >>> 0).toNumber(true);
|
|
14571
|
+
if (object.poseidonBuiltinApplications != null)
|
|
14572
|
+
if ($util.Long)
|
|
14573
|
+
(message.poseidonBuiltinApplications = $util.Long.fromValue(object.poseidonBuiltinApplications)).unsigned = true;
|
|
14574
|
+
else if (typeof object.poseidonBuiltinApplications === "string")
|
|
14575
|
+
message.poseidonBuiltinApplications = parseInt(object.poseidonBuiltinApplications, 10);
|
|
14576
|
+
else if (typeof object.poseidonBuiltinApplications === "number")
|
|
14577
|
+
message.poseidonBuiltinApplications = object.poseidonBuiltinApplications;
|
|
14578
|
+
else if (typeof object.poseidonBuiltinApplications === "object")
|
|
14579
|
+
message.poseidonBuiltinApplications = new $util.LongBits(object.poseidonBuiltinApplications.low >>> 0, object.poseidonBuiltinApplications.high >>> 0).toNumber(true);
|
|
14580
|
+
if (object.ecOpBuiltinApplications != null)
|
|
14581
|
+
if ($util.Long)
|
|
14582
|
+
(message.ecOpBuiltinApplications = $util.Long.fromValue(object.ecOpBuiltinApplications)).unsigned = true;
|
|
14583
|
+
else if (typeof object.ecOpBuiltinApplications === "string")
|
|
14584
|
+
message.ecOpBuiltinApplications = parseInt(object.ecOpBuiltinApplications, 10);
|
|
14585
|
+
else if (typeof object.ecOpBuiltinApplications === "number")
|
|
14586
|
+
message.ecOpBuiltinApplications = object.ecOpBuiltinApplications;
|
|
14587
|
+
else if (typeof object.ecOpBuiltinApplications === "object")
|
|
14588
|
+
message.ecOpBuiltinApplications = new $util.LongBits(object.ecOpBuiltinApplications.low >>> 0, object.ecOpBuiltinApplications.high >>> 0).toNumber(true);
|
|
14589
|
+
if (object.ecdsaBuiltinApplications != null)
|
|
14590
|
+
if ($util.Long)
|
|
14591
|
+
(message.ecdsaBuiltinApplications = $util.Long.fromValue(object.ecdsaBuiltinApplications)).unsigned = true;
|
|
14592
|
+
else if (typeof object.ecdsaBuiltinApplications === "string")
|
|
14593
|
+
message.ecdsaBuiltinApplications = parseInt(object.ecdsaBuiltinApplications, 10);
|
|
14594
|
+
else if (typeof object.ecdsaBuiltinApplications === "number")
|
|
14595
|
+
message.ecdsaBuiltinApplications = object.ecdsaBuiltinApplications;
|
|
14596
|
+
else if (typeof object.ecdsaBuiltinApplications === "object")
|
|
14597
|
+
message.ecdsaBuiltinApplications = new $util.LongBits(object.ecdsaBuiltinApplications.low >>> 0, object.ecdsaBuiltinApplications.high >>> 0).toNumber(true);
|
|
14598
|
+
if (object.bitwiseBuiltinApplications != null)
|
|
14599
|
+
if ($util.Long)
|
|
14600
|
+
(message.bitwiseBuiltinApplications = $util.Long.fromValue(object.bitwiseBuiltinApplications)).unsigned = true;
|
|
14601
|
+
else if (typeof object.bitwiseBuiltinApplications === "string")
|
|
14602
|
+
message.bitwiseBuiltinApplications = parseInt(object.bitwiseBuiltinApplications, 10);
|
|
14603
|
+
else if (typeof object.bitwiseBuiltinApplications === "number")
|
|
14604
|
+
message.bitwiseBuiltinApplications = object.bitwiseBuiltinApplications;
|
|
14605
|
+
else if (typeof object.bitwiseBuiltinApplications === "object")
|
|
14606
|
+
message.bitwiseBuiltinApplications = new $util.LongBits(object.bitwiseBuiltinApplications.low >>> 0, object.bitwiseBuiltinApplications.high >>> 0).toNumber(true);
|
|
14607
|
+
if (object.keccakBuiltinApplications != null)
|
|
14608
|
+
if ($util.Long)
|
|
14609
|
+
(message.keccakBuiltinApplications = $util.Long.fromValue(object.keccakBuiltinApplications)).unsigned = true;
|
|
14610
|
+
else if (typeof object.keccakBuiltinApplications === "string")
|
|
14611
|
+
message.keccakBuiltinApplications = parseInt(object.keccakBuiltinApplications, 10);
|
|
14612
|
+
else if (typeof object.keccakBuiltinApplications === "number")
|
|
14613
|
+
message.keccakBuiltinApplications = object.keccakBuiltinApplications;
|
|
14614
|
+
else if (typeof object.keccakBuiltinApplications === "object")
|
|
14615
|
+
message.keccakBuiltinApplications = new $util.LongBits(object.keccakBuiltinApplications.low >>> 0, object.keccakBuiltinApplications.high >>> 0).toNumber(true);
|
|
14616
|
+
if (object.segmentArenaBuiltin != null)
|
|
14617
|
+
if ($util.Long)
|
|
14618
|
+
(message.segmentArenaBuiltin = $util.Long.fromValue(object.segmentArenaBuiltin)).unsigned = true;
|
|
14619
|
+
else if (typeof object.segmentArenaBuiltin === "string")
|
|
14620
|
+
message.segmentArenaBuiltin = parseInt(object.segmentArenaBuiltin, 10);
|
|
14621
|
+
else if (typeof object.segmentArenaBuiltin === "number")
|
|
14622
|
+
message.segmentArenaBuiltin = object.segmentArenaBuiltin;
|
|
14623
|
+
else if (typeof object.segmentArenaBuiltin === "object")
|
|
14624
|
+
message.segmentArenaBuiltin = new $util.LongBits(object.segmentArenaBuiltin.low >>> 0, object.segmentArenaBuiltin.high >>> 0).toNumber(true);
|
|
14625
|
+
return message;
|
|
14626
|
+
};
|
|
14627
|
+
/**
|
|
14628
|
+
* Creates a plain object from a ComputationResources message. Also converts values to other types if specified.
|
|
14629
|
+
* @function toObject
|
|
14630
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14631
|
+
* @static
|
|
14632
|
+
* @param {apibara.starknet.v1alpha2.ComputationResources} message ComputationResources
|
|
14633
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14634
|
+
* @returns {Object.<string,*>} Plain object
|
|
14635
|
+
*/
|
|
14636
|
+
ComputationResources.toObject = function toObject(message, options) {
|
|
14637
|
+
if (!options)
|
|
14638
|
+
options = {};
|
|
14639
|
+
var object = {};
|
|
14640
|
+
if (options.defaults) {
|
|
14641
|
+
if ($util.Long) {
|
|
14642
|
+
var long = new $util.Long(0, 0, true);
|
|
14643
|
+
object.steps = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14644
|
+
}
|
|
14645
|
+
else
|
|
14646
|
+
object.steps = options.longs === String ? "0" : 0;
|
|
14647
|
+
if ($util.Long) {
|
|
14648
|
+
var long = new $util.Long(0, 0, true);
|
|
14649
|
+
object.memoryHoles = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14650
|
+
}
|
|
14651
|
+
else
|
|
14652
|
+
object.memoryHoles = options.longs === String ? "0" : 0;
|
|
14653
|
+
if ($util.Long) {
|
|
14654
|
+
var long = new $util.Long(0, 0, true);
|
|
14655
|
+
object.rangeCheckBuiltinApplications = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14656
|
+
}
|
|
14657
|
+
else
|
|
14658
|
+
object.rangeCheckBuiltinApplications = options.longs === String ? "0" : 0;
|
|
14659
|
+
if ($util.Long) {
|
|
14660
|
+
var long = new $util.Long(0, 0, true);
|
|
14661
|
+
object.pedersenBuiltinApplications = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14662
|
+
}
|
|
14663
|
+
else
|
|
14664
|
+
object.pedersenBuiltinApplications = options.longs === String ? "0" : 0;
|
|
14665
|
+
if ($util.Long) {
|
|
14666
|
+
var long = new $util.Long(0, 0, true);
|
|
14667
|
+
object.poseidonBuiltinApplications = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14668
|
+
}
|
|
14669
|
+
else
|
|
14670
|
+
object.poseidonBuiltinApplications = options.longs === String ? "0" : 0;
|
|
14671
|
+
if ($util.Long) {
|
|
14672
|
+
var long = new $util.Long(0, 0, true);
|
|
14673
|
+
object.ecOpBuiltinApplications = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14674
|
+
}
|
|
14675
|
+
else
|
|
14676
|
+
object.ecOpBuiltinApplications = options.longs === String ? "0" : 0;
|
|
14677
|
+
if ($util.Long) {
|
|
14678
|
+
var long = new $util.Long(0, 0, true);
|
|
14679
|
+
object.ecdsaBuiltinApplications = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14680
|
+
}
|
|
14681
|
+
else
|
|
14682
|
+
object.ecdsaBuiltinApplications = options.longs === String ? "0" : 0;
|
|
14683
|
+
if ($util.Long) {
|
|
14684
|
+
var long = new $util.Long(0, 0, true);
|
|
14685
|
+
object.bitwiseBuiltinApplications = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14686
|
+
}
|
|
14687
|
+
else
|
|
14688
|
+
object.bitwiseBuiltinApplications = options.longs === String ? "0" : 0;
|
|
14689
|
+
if ($util.Long) {
|
|
14690
|
+
var long = new $util.Long(0, 0, true);
|
|
14691
|
+
object.keccakBuiltinApplications = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14692
|
+
}
|
|
14693
|
+
else
|
|
14694
|
+
object.keccakBuiltinApplications = options.longs === String ? "0" : 0;
|
|
14695
|
+
if ($util.Long) {
|
|
14696
|
+
var long = new $util.Long(0, 0, true);
|
|
14697
|
+
object.segmentArenaBuiltin = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14698
|
+
}
|
|
14699
|
+
else
|
|
14700
|
+
object.segmentArenaBuiltin = options.longs === String ? "0" : 0;
|
|
14701
|
+
}
|
|
14702
|
+
if (message.steps != null && message.hasOwnProperty("steps"))
|
|
14703
|
+
if (typeof message.steps === "number")
|
|
14704
|
+
object.steps = options.longs === String ? String(message.steps) : message.steps;
|
|
14705
|
+
else
|
|
14706
|
+
object.steps = options.longs === String ? $util.Long.prototype.toString.call(message.steps) : options.longs === Number ? new $util.LongBits(message.steps.low >>> 0, message.steps.high >>> 0).toNumber(true) : message.steps;
|
|
14707
|
+
if (message.memoryHoles != null && message.hasOwnProperty("memoryHoles"))
|
|
14708
|
+
if (typeof message.memoryHoles === "number")
|
|
14709
|
+
object.memoryHoles = options.longs === String ? String(message.memoryHoles) : message.memoryHoles;
|
|
14710
|
+
else
|
|
14711
|
+
object.memoryHoles = options.longs === String ? $util.Long.prototype.toString.call(message.memoryHoles) : options.longs === Number ? new $util.LongBits(message.memoryHoles.low >>> 0, message.memoryHoles.high >>> 0).toNumber(true) : message.memoryHoles;
|
|
14712
|
+
if (message.rangeCheckBuiltinApplications != null && message.hasOwnProperty("rangeCheckBuiltinApplications"))
|
|
14713
|
+
if (typeof message.rangeCheckBuiltinApplications === "number")
|
|
14714
|
+
object.rangeCheckBuiltinApplications = options.longs === String ? String(message.rangeCheckBuiltinApplications) : message.rangeCheckBuiltinApplications;
|
|
14715
|
+
else
|
|
14716
|
+
object.rangeCheckBuiltinApplications = options.longs === String ? $util.Long.prototype.toString.call(message.rangeCheckBuiltinApplications) : options.longs === Number ? new $util.LongBits(message.rangeCheckBuiltinApplications.low >>> 0, message.rangeCheckBuiltinApplications.high >>> 0).toNumber(true) : message.rangeCheckBuiltinApplications;
|
|
14717
|
+
if (message.pedersenBuiltinApplications != null && message.hasOwnProperty("pedersenBuiltinApplications"))
|
|
14718
|
+
if (typeof message.pedersenBuiltinApplications === "number")
|
|
14719
|
+
object.pedersenBuiltinApplications = options.longs === String ? String(message.pedersenBuiltinApplications) : message.pedersenBuiltinApplications;
|
|
14720
|
+
else
|
|
14721
|
+
object.pedersenBuiltinApplications = options.longs === String ? $util.Long.prototype.toString.call(message.pedersenBuiltinApplications) : options.longs === Number ? new $util.LongBits(message.pedersenBuiltinApplications.low >>> 0, message.pedersenBuiltinApplications.high >>> 0).toNumber(true) : message.pedersenBuiltinApplications;
|
|
14722
|
+
if (message.poseidonBuiltinApplications != null && message.hasOwnProperty("poseidonBuiltinApplications"))
|
|
14723
|
+
if (typeof message.poseidonBuiltinApplications === "number")
|
|
14724
|
+
object.poseidonBuiltinApplications = options.longs === String ? String(message.poseidonBuiltinApplications) : message.poseidonBuiltinApplications;
|
|
14725
|
+
else
|
|
14726
|
+
object.poseidonBuiltinApplications = options.longs === String ? $util.Long.prototype.toString.call(message.poseidonBuiltinApplications) : options.longs === Number ? new $util.LongBits(message.poseidonBuiltinApplications.low >>> 0, message.poseidonBuiltinApplications.high >>> 0).toNumber(true) : message.poseidonBuiltinApplications;
|
|
14727
|
+
if (message.ecOpBuiltinApplications != null && message.hasOwnProperty("ecOpBuiltinApplications"))
|
|
14728
|
+
if (typeof message.ecOpBuiltinApplications === "number")
|
|
14729
|
+
object.ecOpBuiltinApplications = options.longs === String ? String(message.ecOpBuiltinApplications) : message.ecOpBuiltinApplications;
|
|
14730
|
+
else
|
|
14731
|
+
object.ecOpBuiltinApplications = options.longs === String ? $util.Long.prototype.toString.call(message.ecOpBuiltinApplications) : options.longs === Number ? new $util.LongBits(message.ecOpBuiltinApplications.low >>> 0, message.ecOpBuiltinApplications.high >>> 0).toNumber(true) : message.ecOpBuiltinApplications;
|
|
14732
|
+
if (message.ecdsaBuiltinApplications != null && message.hasOwnProperty("ecdsaBuiltinApplications"))
|
|
14733
|
+
if (typeof message.ecdsaBuiltinApplications === "number")
|
|
14734
|
+
object.ecdsaBuiltinApplications = options.longs === String ? String(message.ecdsaBuiltinApplications) : message.ecdsaBuiltinApplications;
|
|
14735
|
+
else
|
|
14736
|
+
object.ecdsaBuiltinApplications = options.longs === String ? $util.Long.prototype.toString.call(message.ecdsaBuiltinApplications) : options.longs === Number ? new $util.LongBits(message.ecdsaBuiltinApplications.low >>> 0, message.ecdsaBuiltinApplications.high >>> 0).toNumber(true) : message.ecdsaBuiltinApplications;
|
|
14737
|
+
if (message.bitwiseBuiltinApplications != null && message.hasOwnProperty("bitwiseBuiltinApplications"))
|
|
14738
|
+
if (typeof message.bitwiseBuiltinApplications === "number")
|
|
14739
|
+
object.bitwiseBuiltinApplications = options.longs === String ? String(message.bitwiseBuiltinApplications) : message.bitwiseBuiltinApplications;
|
|
14740
|
+
else
|
|
14741
|
+
object.bitwiseBuiltinApplications = options.longs === String ? $util.Long.prototype.toString.call(message.bitwiseBuiltinApplications) : options.longs === Number ? new $util.LongBits(message.bitwiseBuiltinApplications.low >>> 0, message.bitwiseBuiltinApplications.high >>> 0).toNumber(true) : message.bitwiseBuiltinApplications;
|
|
14742
|
+
if (message.keccakBuiltinApplications != null && message.hasOwnProperty("keccakBuiltinApplications"))
|
|
14743
|
+
if (typeof message.keccakBuiltinApplications === "number")
|
|
14744
|
+
object.keccakBuiltinApplications = options.longs === String ? String(message.keccakBuiltinApplications) : message.keccakBuiltinApplications;
|
|
14745
|
+
else
|
|
14746
|
+
object.keccakBuiltinApplications = options.longs === String ? $util.Long.prototype.toString.call(message.keccakBuiltinApplications) : options.longs === Number ? new $util.LongBits(message.keccakBuiltinApplications.low >>> 0, message.keccakBuiltinApplications.high >>> 0).toNumber(true) : message.keccakBuiltinApplications;
|
|
14747
|
+
if (message.segmentArenaBuiltin != null && message.hasOwnProperty("segmentArenaBuiltin"))
|
|
14748
|
+
if (typeof message.segmentArenaBuiltin === "number")
|
|
14749
|
+
object.segmentArenaBuiltin = options.longs === String ? String(message.segmentArenaBuiltin) : message.segmentArenaBuiltin;
|
|
14750
|
+
else
|
|
14751
|
+
object.segmentArenaBuiltin = options.longs === String ? $util.Long.prototype.toString.call(message.segmentArenaBuiltin) : options.longs === Number ? new $util.LongBits(message.segmentArenaBuiltin.low >>> 0, message.segmentArenaBuiltin.high >>> 0).toNumber(true) : message.segmentArenaBuiltin;
|
|
14752
|
+
return object;
|
|
14753
|
+
};
|
|
14754
|
+
/**
|
|
14755
|
+
* Converts this ComputationResources to JSON.
|
|
14756
|
+
* @function toJSON
|
|
14757
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14758
|
+
* @instance
|
|
14759
|
+
* @returns {Object.<string,*>} JSON object
|
|
14760
|
+
*/
|
|
14761
|
+
ComputationResources.prototype.toJSON = function toJSON() {
|
|
14762
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
14763
|
+
};
|
|
14764
|
+
/**
|
|
14765
|
+
* Gets the default type url for ComputationResources
|
|
14766
|
+
* @function getTypeUrl
|
|
14767
|
+
* @memberof apibara.starknet.v1alpha2.ComputationResources
|
|
14768
|
+
* @static
|
|
14769
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14770
|
+
* @returns {string} The default type url
|
|
14771
|
+
*/
|
|
14772
|
+
ComputationResources.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
14773
|
+
if (typeUrlPrefix === undefined) {
|
|
14774
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
14775
|
+
}
|
|
14776
|
+
return typeUrlPrefix + "/apibara.starknet.v1alpha2.ComputationResources";
|
|
14777
|
+
};
|
|
14778
|
+
return ComputationResources;
|
|
14779
|
+
})();
|
|
14780
|
+
v1alpha2.DataAvailabilityResources = (function () {
|
|
14781
|
+
/**
|
|
14782
|
+
* Properties of a DataAvailabilityResources.
|
|
14783
|
+
* @memberof apibara.starknet.v1alpha2
|
|
14784
|
+
* @interface IDataAvailabilityResources
|
|
14785
|
+
* @property {number|Long|null} [l1Gas] DataAvailabilityResources l1Gas
|
|
14786
|
+
* @property {number|Long|null} [l1DataGas] DataAvailabilityResources l1DataGas
|
|
14787
|
+
*/
|
|
14788
|
+
/**
|
|
14789
|
+
* Constructs a new DataAvailabilityResources.
|
|
14790
|
+
* @memberof apibara.starknet.v1alpha2
|
|
14791
|
+
* @classdesc Represents a DataAvailabilityResources.
|
|
14792
|
+
* @implements IDataAvailabilityResources
|
|
14793
|
+
* @constructor
|
|
14794
|
+
* @param {apibara.starknet.v1alpha2.IDataAvailabilityResources=} [properties] Properties to set
|
|
14795
|
+
*/
|
|
14796
|
+
function DataAvailabilityResources(properties) {
|
|
14797
|
+
if (properties)
|
|
14798
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14799
|
+
if (properties[keys[i]] != null)
|
|
14800
|
+
this[keys[i]] = properties[keys[i]];
|
|
14801
|
+
}
|
|
14802
|
+
/**
|
|
14803
|
+
* DataAvailabilityResources l1Gas.
|
|
14804
|
+
* @member {number|Long} l1Gas
|
|
14805
|
+
* @memberof apibara.starknet.v1alpha2.DataAvailabilityResources
|
|
14806
|
+
* @instance
|
|
14807
|
+
*/
|
|
14808
|
+
DataAvailabilityResources.prototype.l1Gas = $util.Long ? $util.Long.fromBits(0, 0, true) : 0;
|
|
14809
|
+
/**
|
|
14810
|
+
* DataAvailabilityResources l1DataGas.
|
|
14811
|
+
* @member {number|Long} l1DataGas
|
|
14812
|
+
* @memberof apibara.starknet.v1alpha2.DataAvailabilityResources
|
|
14813
|
+
* @instance
|
|
14814
|
+
*/
|
|
14815
|
+
DataAvailabilityResources.prototype.l1DataGas = $util.Long ? $util.Long.fromBits(0, 0, true) : 0;
|
|
14816
|
+
/**
|
|
14817
|
+
* Creates a new DataAvailabilityResources instance using the specified properties.
|
|
14818
|
+
* @function create
|
|
14819
|
+
* @memberof apibara.starknet.v1alpha2.DataAvailabilityResources
|
|
14820
|
+
* @static
|
|
14821
|
+
* @param {apibara.starknet.v1alpha2.IDataAvailabilityResources=} [properties] Properties to set
|
|
14822
|
+
* @returns {apibara.starknet.v1alpha2.DataAvailabilityResources} DataAvailabilityResources instance
|
|
14823
|
+
*/
|
|
14824
|
+
DataAvailabilityResources.create = function create(properties) {
|
|
14825
|
+
return new DataAvailabilityResources(properties);
|
|
14826
|
+
};
|
|
14827
|
+
/**
|
|
14828
|
+
* Encodes the specified DataAvailabilityResources message. Does not implicitly {@link apibara.starknet.v1alpha2.DataAvailabilityResources.verify|verify} messages.
|
|
14829
|
+
* @function encode
|
|
14830
|
+
* @memberof apibara.starknet.v1alpha2.DataAvailabilityResources
|
|
14831
|
+
* @static
|
|
14832
|
+
* @param {apibara.starknet.v1alpha2.IDataAvailabilityResources} message DataAvailabilityResources message or plain object to encode
|
|
14833
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14834
|
+
* @returns {$protobuf.Writer} Writer
|
|
14835
|
+
*/
|
|
14836
|
+
DataAvailabilityResources.encode = function encode(message, writer) {
|
|
14837
|
+
if (!writer)
|
|
14838
|
+
writer = $Writer.create();
|
|
14839
|
+
if (message.l1Gas != null && Object.hasOwnProperty.call(message, "l1Gas"))
|
|
14840
|
+
writer.uint32(/* id 1, wireType 0 =*/ 8).uint64(message.l1Gas);
|
|
14841
|
+
if (message.l1DataGas != null && Object.hasOwnProperty.call(message, "l1DataGas"))
|
|
14842
|
+
writer.uint32(/* id 2, wireType 0 =*/ 16).uint64(message.l1DataGas);
|
|
14843
|
+
return writer;
|
|
14844
|
+
};
|
|
14845
|
+
/**
|
|
14846
|
+
* Encodes the specified DataAvailabilityResources message, length delimited. Does not implicitly {@link apibara.starknet.v1alpha2.DataAvailabilityResources.verify|verify} messages.
|
|
14847
|
+
* @function encodeDelimited
|
|
14848
|
+
* @memberof apibara.starknet.v1alpha2.DataAvailabilityResources
|
|
14849
|
+
* @static
|
|
14850
|
+
* @param {apibara.starknet.v1alpha2.IDataAvailabilityResources} message DataAvailabilityResources message or plain object to encode
|
|
14851
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14852
|
+
* @returns {$protobuf.Writer} Writer
|
|
14853
|
+
*/
|
|
14854
|
+
DataAvailabilityResources.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14855
|
+
return this.encode(message, writer).ldelim();
|
|
14856
|
+
};
|
|
14857
|
+
/**
|
|
14858
|
+
* Decodes a DataAvailabilityResources message from the specified reader or buffer.
|
|
14859
|
+
* @function decode
|
|
14860
|
+
* @memberof apibara.starknet.v1alpha2.DataAvailabilityResources
|
|
14861
|
+
* @static
|
|
14862
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14863
|
+
* @param {number} [length] Message length if known beforehand
|
|
14864
|
+
* @returns {apibara.starknet.v1alpha2.DataAvailabilityResources} DataAvailabilityResources
|
|
14865
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14866
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14867
|
+
*/
|
|
14868
|
+
DataAvailabilityResources.decode = function decode(reader, length) {
|
|
14869
|
+
if (!(reader instanceof $Reader))
|
|
14870
|
+
reader = $Reader.create(reader);
|
|
14871
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.apibara.starknet.v1alpha2.DataAvailabilityResources();
|
|
14872
|
+
while (reader.pos < end) {
|
|
14873
|
+
var tag = reader.uint32();
|
|
14874
|
+
switch (tag >>> 3) {
|
|
14875
|
+
case 1: {
|
|
14876
|
+
message.l1Gas = reader.uint64();
|
|
14877
|
+
break;
|
|
14878
|
+
}
|
|
14879
|
+
case 2: {
|
|
14880
|
+
message.l1DataGas = reader.uint64();
|
|
14881
|
+
break;
|
|
14882
|
+
}
|
|
14883
|
+
default:
|
|
14884
|
+
reader.skipType(tag & 7);
|
|
14885
|
+
break;
|
|
14886
|
+
}
|
|
14887
|
+
}
|
|
14888
|
+
return message;
|
|
14889
|
+
};
|
|
14890
|
+
/**
|
|
14891
|
+
* Decodes a DataAvailabilityResources message from the specified reader or buffer, length delimited.
|
|
14892
|
+
* @function decodeDelimited
|
|
14893
|
+
* @memberof apibara.starknet.v1alpha2.DataAvailabilityResources
|
|
14894
|
+
* @static
|
|
14895
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14896
|
+
* @returns {apibara.starknet.v1alpha2.DataAvailabilityResources} DataAvailabilityResources
|
|
14897
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14898
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14899
|
+
*/
|
|
14900
|
+
DataAvailabilityResources.decodeDelimited = function decodeDelimited(reader) {
|
|
14901
|
+
if (!(reader instanceof $Reader))
|
|
14902
|
+
reader = new $Reader(reader);
|
|
14903
|
+
return this.decode(reader, reader.uint32());
|
|
14904
|
+
};
|
|
14905
|
+
/**
|
|
14906
|
+
* Verifies a DataAvailabilityResources message.
|
|
14907
|
+
* @function verify
|
|
14908
|
+
* @memberof apibara.starknet.v1alpha2.DataAvailabilityResources
|
|
14909
|
+
* @static
|
|
14910
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
14911
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14912
|
+
*/
|
|
14913
|
+
DataAvailabilityResources.verify = function verify(message) {
|
|
14914
|
+
if (typeof message !== "object" || message === null)
|
|
14915
|
+
return "object expected";
|
|
14916
|
+
if (message.l1Gas != null && message.hasOwnProperty("l1Gas"))
|
|
14917
|
+
if (!$util.isInteger(message.l1Gas) && !(message.l1Gas && $util.isInteger(message.l1Gas.low) && $util.isInteger(message.l1Gas.high)))
|
|
14918
|
+
return "l1Gas: integer|Long expected";
|
|
14919
|
+
if (message.l1DataGas != null && message.hasOwnProperty("l1DataGas"))
|
|
14920
|
+
if (!$util.isInteger(message.l1DataGas) && !(message.l1DataGas && $util.isInteger(message.l1DataGas.low) && $util.isInteger(message.l1DataGas.high)))
|
|
14921
|
+
return "l1DataGas: integer|Long expected";
|
|
14922
|
+
return null;
|
|
14923
|
+
};
|
|
14924
|
+
/**
|
|
14925
|
+
* Creates a DataAvailabilityResources message from a plain object. Also converts values to their respective internal types.
|
|
14926
|
+
* @function fromObject
|
|
14927
|
+
* @memberof apibara.starknet.v1alpha2.DataAvailabilityResources
|
|
14928
|
+
* @static
|
|
14929
|
+
* @param {Object.<string,*>} object Plain object
|
|
14930
|
+
* @returns {apibara.starknet.v1alpha2.DataAvailabilityResources} DataAvailabilityResources
|
|
14931
|
+
*/
|
|
14932
|
+
DataAvailabilityResources.fromObject = function fromObject(object) {
|
|
14933
|
+
if (object instanceof $root.apibara.starknet.v1alpha2.DataAvailabilityResources)
|
|
14934
|
+
return object;
|
|
14935
|
+
var message = new $root.apibara.starknet.v1alpha2.DataAvailabilityResources();
|
|
14936
|
+
if (object.l1Gas != null)
|
|
14937
|
+
if ($util.Long)
|
|
14938
|
+
(message.l1Gas = $util.Long.fromValue(object.l1Gas)).unsigned = true;
|
|
14939
|
+
else if (typeof object.l1Gas === "string")
|
|
14940
|
+
message.l1Gas = parseInt(object.l1Gas, 10);
|
|
14941
|
+
else if (typeof object.l1Gas === "number")
|
|
14942
|
+
message.l1Gas = object.l1Gas;
|
|
14943
|
+
else if (typeof object.l1Gas === "object")
|
|
14944
|
+
message.l1Gas = new $util.LongBits(object.l1Gas.low >>> 0, object.l1Gas.high >>> 0).toNumber(true);
|
|
14945
|
+
if (object.l1DataGas != null)
|
|
14946
|
+
if ($util.Long)
|
|
14947
|
+
(message.l1DataGas = $util.Long.fromValue(object.l1DataGas)).unsigned = true;
|
|
14948
|
+
else if (typeof object.l1DataGas === "string")
|
|
14949
|
+
message.l1DataGas = parseInt(object.l1DataGas, 10);
|
|
14950
|
+
else if (typeof object.l1DataGas === "number")
|
|
14951
|
+
message.l1DataGas = object.l1DataGas;
|
|
14952
|
+
else if (typeof object.l1DataGas === "object")
|
|
14953
|
+
message.l1DataGas = new $util.LongBits(object.l1DataGas.low >>> 0, object.l1DataGas.high >>> 0).toNumber(true);
|
|
14954
|
+
return message;
|
|
14955
|
+
};
|
|
14956
|
+
/**
|
|
14957
|
+
* Creates a plain object from a DataAvailabilityResources message. Also converts values to other types if specified.
|
|
14958
|
+
* @function toObject
|
|
14959
|
+
* @memberof apibara.starknet.v1alpha2.DataAvailabilityResources
|
|
14960
|
+
* @static
|
|
14961
|
+
* @param {apibara.starknet.v1alpha2.DataAvailabilityResources} message DataAvailabilityResources
|
|
14962
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14963
|
+
* @returns {Object.<string,*>} Plain object
|
|
14964
|
+
*/
|
|
14965
|
+
DataAvailabilityResources.toObject = function toObject(message, options) {
|
|
14966
|
+
if (!options)
|
|
14967
|
+
options = {};
|
|
14968
|
+
var object = {};
|
|
14969
|
+
if (options.defaults) {
|
|
14970
|
+
if ($util.Long) {
|
|
14971
|
+
var long = new $util.Long(0, 0, true);
|
|
14972
|
+
object.l1Gas = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14973
|
+
}
|
|
14974
|
+
else
|
|
14975
|
+
object.l1Gas = options.longs === String ? "0" : 0;
|
|
14976
|
+
if ($util.Long) {
|
|
14977
|
+
var long = new $util.Long(0, 0, true);
|
|
14978
|
+
object.l1DataGas = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14979
|
+
}
|
|
14980
|
+
else
|
|
14981
|
+
object.l1DataGas = options.longs === String ? "0" : 0;
|
|
14982
|
+
}
|
|
14983
|
+
if (message.l1Gas != null && message.hasOwnProperty("l1Gas"))
|
|
14984
|
+
if (typeof message.l1Gas === "number")
|
|
14985
|
+
object.l1Gas = options.longs === String ? String(message.l1Gas) : message.l1Gas;
|
|
14986
|
+
else
|
|
14987
|
+
object.l1Gas = options.longs === String ? $util.Long.prototype.toString.call(message.l1Gas) : options.longs === Number ? new $util.LongBits(message.l1Gas.low >>> 0, message.l1Gas.high >>> 0).toNumber(true) : message.l1Gas;
|
|
14988
|
+
if (message.l1DataGas != null && message.hasOwnProperty("l1DataGas"))
|
|
14989
|
+
if (typeof message.l1DataGas === "number")
|
|
14990
|
+
object.l1DataGas = options.longs === String ? String(message.l1DataGas) : message.l1DataGas;
|
|
14991
|
+
else
|
|
14992
|
+
object.l1DataGas = options.longs === String ? $util.Long.prototype.toString.call(message.l1DataGas) : options.longs === Number ? new $util.LongBits(message.l1DataGas.low >>> 0, message.l1DataGas.high >>> 0).toNumber(true) : message.l1DataGas;
|
|
14993
|
+
return object;
|
|
14994
|
+
};
|
|
14995
|
+
/**
|
|
14996
|
+
* Converts this DataAvailabilityResources to JSON.
|
|
14997
|
+
* @function toJSON
|
|
14998
|
+
* @memberof apibara.starknet.v1alpha2.DataAvailabilityResources
|
|
14999
|
+
* @instance
|
|
15000
|
+
* @returns {Object.<string,*>} JSON object
|
|
15001
|
+
*/
|
|
15002
|
+
DataAvailabilityResources.prototype.toJSON = function toJSON() {
|
|
15003
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
15004
|
+
};
|
|
15005
|
+
/**
|
|
15006
|
+
* Gets the default type url for DataAvailabilityResources
|
|
15007
|
+
* @function getTypeUrl
|
|
15008
|
+
* @memberof apibara.starknet.v1alpha2.DataAvailabilityResources
|
|
15009
|
+
* @static
|
|
15010
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
15011
|
+
* @returns {string} The default type url
|
|
15012
|
+
*/
|
|
15013
|
+
DataAvailabilityResources.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
15014
|
+
if (typeUrlPrefix === undefined) {
|
|
15015
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
15016
|
+
}
|
|
15017
|
+
return typeUrlPrefix + "/apibara.starknet.v1alpha2.DataAvailabilityResources";
|
|
15018
|
+
};
|
|
15019
|
+
return DataAvailabilityResources;
|
|
15020
|
+
})();
|
|
13907
15021
|
v1alpha2.ResourceBoundsMapping = (function () {
|
|
13908
15022
|
/**
|
|
13909
15023
|
* Properties of a ResourceBoundsMapping.
|