@@ -3,209 +3,209 @@ import Long = require("long");
33/** Namespace pyth_lazer_transaction. */
44export namespace pyth_lazer_transaction {
55
6- /** Properties of a PublisherUpdatePayload . */
7- interface IPublisherUpdatePayload {
6+ /** Properties of a PublisherUpdate . */
7+ interface IPublisherUpdate {
88
9- /** PublisherUpdatePayload updates */
10- updates ?: ( pyth_lazer_transaction . IPublisherUpdate [ ] | null ) ;
9+ /** PublisherUpdate updates */
10+ updates ?: ( pyth_lazer_transaction . IFeedUpdate [ ] | null ) ;
1111
12- /** PublisherUpdatePayload batchTimestampUs */
12+ /** PublisherUpdate batchTimestampUs */
1313 batchTimestampUs ?: ( number | Long | null ) ;
1414 }
1515
16- /** Represents a PublisherUpdatePayload . */
17- class PublisherUpdatePayload implements IPublisherUpdatePayload {
16+ /** Represents a PublisherUpdate . */
17+ class PublisherUpdate implements IPublisherUpdate {
1818
1919 /**
20- * Constructs a new PublisherUpdatePayload .
20+ * Constructs a new PublisherUpdate .
2121 * @param [properties] Properties to set
2222 */
23- constructor ( properties ?: pyth_lazer_transaction . IPublisherUpdatePayload ) ;
23+ constructor ( properties ?: pyth_lazer_transaction . IPublisherUpdate ) ;
2424
25- /** PublisherUpdatePayload updates. */
26- public updates : pyth_lazer_transaction . IPublisherUpdate [ ] ;
25+ /** PublisherUpdate updates. */
26+ public updates : pyth_lazer_transaction . IFeedUpdate [ ] ;
2727
28- /** PublisherUpdatePayload batchTimestampUs. */
28+ /** PublisherUpdate batchTimestampUs. */
2929 public batchTimestampUs : ( number | Long ) ;
3030
3131 /**
32- * Creates a new PublisherUpdatePayload instance using the specified properties.
32+ * Creates a new PublisherUpdate instance using the specified properties.
3333 * @param [properties] Properties to set
34- * @returns PublisherUpdatePayload instance
34+ * @returns PublisherUpdate instance
3535 */
36- public static create ( properties ?: pyth_lazer_transaction . IPublisherUpdatePayload ) : pyth_lazer_transaction . PublisherUpdatePayload ;
36+ public static create ( properties ?: pyth_lazer_transaction . IPublisherUpdate ) : pyth_lazer_transaction . PublisherUpdate ;
3737
3838 /**
39- * Encodes the specified PublisherUpdatePayload message. Does not implicitly {@link pyth_lazer_transaction.PublisherUpdatePayload .verify|verify} messages.
40- * @param message PublisherUpdatePayload message or plain object to encode
39+ * Encodes the specified PublisherUpdate message. Does not implicitly {@link pyth_lazer_transaction.PublisherUpdate .verify|verify} messages.
40+ * @param message PublisherUpdate message or plain object to encode
4141 * @param [writer] Writer to encode to
4242 * @returns Writer
4343 */
44- public static encode ( message : pyth_lazer_transaction . IPublisherUpdatePayload , writer ?: $protobuf . Writer ) : $protobuf . Writer ;
44+ public static encode ( message : pyth_lazer_transaction . IPublisherUpdate , writer ?: $protobuf . Writer ) : $protobuf . Writer ;
4545
4646 /**
47- * Encodes the specified PublisherUpdatePayload message, length delimited. Does not implicitly {@link pyth_lazer_transaction.PublisherUpdatePayload .verify|verify} messages.
48- * @param message PublisherUpdatePayload message or plain object to encode
47+ * Encodes the specified PublisherUpdate message, length delimited. Does not implicitly {@link pyth_lazer_transaction.PublisherUpdate .verify|verify} messages.
48+ * @param message PublisherUpdate message or plain object to encode
4949 * @param [writer] Writer to encode to
5050 * @returns Writer
5151 */
52- public static encodeDelimited ( message : pyth_lazer_transaction . IPublisherUpdatePayload , writer ?: $protobuf . Writer ) : $protobuf . Writer ;
52+ public static encodeDelimited ( message : pyth_lazer_transaction . IPublisherUpdate , writer ?: $protobuf . Writer ) : $protobuf . Writer ;
5353
5454 /**
55- * Decodes a PublisherUpdatePayload message from the specified reader or buffer.
55+ * Decodes a PublisherUpdate message from the specified reader or buffer.
5656 * @param reader Reader or buffer to decode from
5757 * @param [length] Message length if known beforehand
58- * @returns PublisherUpdatePayload
58+ * @returns PublisherUpdate
5959 * @throws {Error } If the payload is not a reader or valid buffer
6060 * @throws {$protobuf.util.ProtocolError } If required fields are missing
6161 */
62- public static decode ( reader : ( $protobuf . Reader | Uint8Array ) , length ?: number ) : pyth_lazer_transaction . PublisherUpdatePayload ;
62+ public static decode ( reader : ( $protobuf . Reader | Uint8Array ) , length ?: number ) : pyth_lazer_transaction . PublisherUpdate ;
6363
6464 /**
65- * Decodes a PublisherUpdatePayload message from the specified reader or buffer, length delimited.
65+ * Decodes a PublisherUpdate message from the specified reader or buffer, length delimited.
6666 * @param reader Reader or buffer to decode from
67- * @returns PublisherUpdatePayload
67+ * @returns PublisherUpdate
6868 * @throws {Error } If the payload is not a reader or valid buffer
6969 * @throws {$protobuf.util.ProtocolError } If required fields are missing
7070 */
71- public static decodeDelimited ( reader : ( $protobuf . Reader | Uint8Array ) ) : pyth_lazer_transaction . PublisherUpdatePayload ;
71+ public static decodeDelimited ( reader : ( $protobuf . Reader | Uint8Array ) ) : pyth_lazer_transaction . PublisherUpdate ;
7272
7373 /**
74- * Verifies a PublisherUpdatePayload message.
74+ * Verifies a PublisherUpdate message.
7575 * @param message Plain object to verify
7676 * @returns `null` if valid, otherwise the reason why it is not
7777 */
7878 public static verify ( message : { [ k : string ] : any } ) : ( string | null ) ;
7979
8080 /**
81- * Creates a PublisherUpdatePayload message from a plain object. Also converts values to their respective internal types.
81+ * Creates a PublisherUpdate message from a plain object. Also converts values to their respective internal types.
8282 * @param object Plain object
83- * @returns PublisherUpdatePayload
83+ * @returns PublisherUpdate
8484 */
85- public static fromObject ( object : { [ k : string ] : any } ) : pyth_lazer_transaction . PublisherUpdatePayload ;
85+ public static fromObject ( object : { [ k : string ] : any } ) : pyth_lazer_transaction . PublisherUpdate ;
8686
8787 /**
88- * Creates a plain object from a PublisherUpdatePayload message. Also converts values to other types if specified.
89- * @param message PublisherUpdatePayload
88+ * Creates a plain object from a PublisherUpdate message. Also converts values to other types if specified.
89+ * @param message PublisherUpdate
9090 * @param [options] Conversion options
9191 * @returns Plain object
9292 */
93- public static toObject ( message : pyth_lazer_transaction . PublisherUpdatePayload , options ?: $protobuf . IConversionOptions ) : { [ k : string ] : any } ;
93+ public static toObject ( message : pyth_lazer_transaction . PublisherUpdate , options ?: $protobuf . IConversionOptions ) : { [ k : string ] : any } ;
9494
9595 /**
96- * Converts this PublisherUpdatePayload to JSON.
96+ * Converts this PublisherUpdate to JSON.
9797 * @returns JSON object
9898 */
9999 public toJSON ( ) : { [ k : string ] : any } ;
100100
101101 /**
102- * Gets the default type url for PublisherUpdatePayload
102+ * Gets the default type url for PublisherUpdate
103103 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
104104 * @returns The default type url
105105 */
106106 public static getTypeUrl ( typeUrlPrefix ?: string ) : string ;
107107 }
108108
109- /** Properties of a PublisherUpdate . */
110- interface IPublisherUpdate {
109+ /** Properties of a FeedUpdate . */
110+ interface IFeedUpdate {
111111
112- /** PublisherUpdate priceUpdateV1 */
112+ /** FeedUpdate priceUpdateV1 */
113113 priceUpdateV1 ?: ( pyth_lazer_transaction . IPriceUpdateV1 | null ) ;
114114
115- /** PublisherUpdate fundingRateUpdateV1 */
115+ /** FeedUpdate fundingRateUpdateV1 */
116116 fundingRateUpdateV1 ?: ( pyth_lazer_transaction . IFundingRateUpdateV1 | null ) ;
117117 }
118118
119- /** Represents a PublisherUpdate . */
120- class PublisherUpdate implements IPublisherUpdate {
119+ /** Represents a FeedUpdate . */
120+ class FeedUpdate implements IFeedUpdate {
121121
122122 /**
123- * Constructs a new PublisherUpdate .
123+ * Constructs a new FeedUpdate .
124124 * @param [properties] Properties to set
125125 */
126- constructor ( properties ?: pyth_lazer_transaction . IPublisherUpdate ) ;
126+ constructor ( properties ?: pyth_lazer_transaction . IFeedUpdate ) ;
127127
128- /** PublisherUpdate priceUpdateV1. */
128+ /** FeedUpdate priceUpdateV1. */
129129 public priceUpdateV1 ?: ( pyth_lazer_transaction . IPriceUpdateV1 | null ) ;
130130
131- /** PublisherUpdate fundingRateUpdateV1. */
131+ /** FeedUpdate fundingRateUpdateV1. */
132132 public fundingRateUpdateV1 ?: ( pyth_lazer_transaction . IFundingRateUpdateV1 | null ) ;
133133
134- /** PublisherUpdate update. */
134+ /** FeedUpdate update. */
135135 public update ?: ( "priceUpdateV1" | "fundingRateUpdateV1" ) ;
136136
137137 /**
138- * Creates a new PublisherUpdate instance using the specified properties.
138+ * Creates a new FeedUpdate instance using the specified properties.
139139 * @param [properties] Properties to set
140- * @returns PublisherUpdate instance
140+ * @returns FeedUpdate instance
141141 */
142- public static create ( properties ?: pyth_lazer_transaction . IPublisherUpdate ) : pyth_lazer_transaction . PublisherUpdate ;
142+ public static create ( properties ?: pyth_lazer_transaction . IFeedUpdate ) : pyth_lazer_transaction . FeedUpdate ;
143143
144144 /**
145- * Encodes the specified PublisherUpdate message. Does not implicitly {@link pyth_lazer_transaction.PublisherUpdate .verify|verify} messages.
146- * @param message PublisherUpdate message or plain object to encode
145+ * Encodes the specified FeedUpdate message. Does not implicitly {@link pyth_lazer_transaction.FeedUpdate .verify|verify} messages.
146+ * @param message FeedUpdate message or plain object to encode
147147 * @param [writer] Writer to encode to
148148 * @returns Writer
149149 */
150- public static encode ( message : pyth_lazer_transaction . IPublisherUpdate , writer ?: $protobuf . Writer ) : $protobuf . Writer ;
150+ public static encode ( message : pyth_lazer_transaction . IFeedUpdate , writer ?: $protobuf . Writer ) : $protobuf . Writer ;
151151
152152 /**
153- * Encodes the specified PublisherUpdate message, length delimited. Does not implicitly {@link pyth_lazer_transaction.PublisherUpdate .verify|verify} messages.
154- * @param message PublisherUpdate message or plain object to encode
153+ * Encodes the specified FeedUpdate message, length delimited. Does not implicitly {@link pyth_lazer_transaction.FeedUpdate .verify|verify} messages.
154+ * @param message FeedUpdate message or plain object to encode
155155 * @param [writer] Writer to encode to
156156 * @returns Writer
157157 */
158- public static encodeDelimited ( message : pyth_lazer_transaction . IPublisherUpdate , writer ?: $protobuf . Writer ) : $protobuf . Writer ;
158+ public static encodeDelimited ( message : pyth_lazer_transaction . IFeedUpdate , writer ?: $protobuf . Writer ) : $protobuf . Writer ;
159159
160160 /**
161- * Decodes a PublisherUpdate message from the specified reader or buffer.
161+ * Decodes a FeedUpdate message from the specified reader or buffer.
162162 * @param reader Reader or buffer to decode from
163163 * @param [length] Message length if known beforehand
164- * @returns PublisherUpdate
164+ * @returns FeedUpdate
165165 * @throws {Error } If the payload is not a reader or valid buffer
166166 * @throws {$protobuf.util.ProtocolError } If required fields are missing
167167 */
168- public static decode ( reader : ( $protobuf . Reader | Uint8Array ) , length ?: number ) : pyth_lazer_transaction . PublisherUpdate ;
168+ public static decode ( reader : ( $protobuf . Reader | Uint8Array ) , length ?: number ) : pyth_lazer_transaction . FeedUpdate ;
169169
170170 /**
171- * Decodes a PublisherUpdate message from the specified reader or buffer, length delimited.
171+ * Decodes a FeedUpdate message from the specified reader or buffer, length delimited.
172172 * @param reader Reader or buffer to decode from
173- * @returns PublisherUpdate
173+ * @returns FeedUpdate
174174 * @throws {Error } If the payload is not a reader or valid buffer
175175 * @throws {$protobuf.util.ProtocolError } If required fields are missing
176176 */
177- public static decodeDelimited ( reader : ( $protobuf . Reader | Uint8Array ) ) : pyth_lazer_transaction . PublisherUpdate ;
177+ public static decodeDelimited ( reader : ( $protobuf . Reader | Uint8Array ) ) : pyth_lazer_transaction . FeedUpdate ;
178178
179179 /**
180- * Verifies a PublisherUpdate message.
180+ * Verifies a FeedUpdate message.
181181 * @param message Plain object to verify
182182 * @returns `null` if valid, otherwise the reason why it is not
183183 */
184184 public static verify ( message : { [ k : string ] : any } ) : ( string | null ) ;
185185
186186 /**
187- * Creates a PublisherUpdate message from a plain object. Also converts values to their respective internal types.
187+ * Creates a FeedUpdate message from a plain object. Also converts values to their respective internal types.
188188 * @param object Plain object
189- * @returns PublisherUpdate
189+ * @returns FeedUpdate
190190 */
191- public static fromObject ( object : { [ k : string ] : any } ) : pyth_lazer_transaction . PublisherUpdate ;
191+ public static fromObject ( object : { [ k : string ] : any } ) : pyth_lazer_transaction . FeedUpdate ;
192192
193193 /**
194- * Creates a plain object from a PublisherUpdate message. Also converts values to other types if specified.
195- * @param message PublisherUpdate
194+ * Creates a plain object from a FeedUpdate message. Also converts values to other types if specified.
195+ * @param message FeedUpdate
196196 * @param [options] Conversion options
197197 * @returns Plain object
198198 */
199- public static toObject ( message : pyth_lazer_transaction . PublisherUpdate , options ?: $protobuf . IConversionOptions ) : { [ k : string ] : any } ;
199+ public static toObject ( message : pyth_lazer_transaction . FeedUpdate , options ?: $protobuf . IConversionOptions ) : { [ k : string ] : any } ;
200200
201201 /**
202- * Converts this PublisherUpdate to JSON.
202+ * Converts this FeedUpdate to JSON.
203203 * @returns JSON object
204204 */
205205 public toJSON ( ) : { [ k : string ] : any } ;
206206
207207 /**
208- * Gets the default type url for PublisherUpdate
208+ * Gets the default type url for FeedUpdate
209209 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
210210 * @returns The default type url
211211 */
@@ -215,8 +215,8 @@ export namespace pyth_lazer_transaction {
215215 /** Properties of a PriceUpdateV1. */
216216 interface IPriceUpdateV1 {
217217
218- /** PriceUpdateV1 priceFeedId */
219- priceFeedId ?: ( number | null ) ;
218+ /** PriceUpdateV1 feedId */
219+ feedId ?: ( number | null ) ;
220220
221221 /** PriceUpdateV1 sourceTimestampUs */
222222 sourceTimestampUs ?: ( number | Long | null ) ;
@@ -243,8 +243,8 @@ export namespace pyth_lazer_transaction {
243243 */
244244 constructor ( properties ?: pyth_lazer_transaction . IPriceUpdateV1 ) ;
245245
246- /** PriceUpdateV1 priceFeedId . */
247- public priceFeedId : number ;
246+ /** PriceUpdateV1 feedId . */
247+ public feedId : number ;
248248
249249 /** PriceUpdateV1 sourceTimestampUs. */
250250 public sourceTimestampUs : ( number | Long ) ;
@@ -342,8 +342,8 @@ export namespace pyth_lazer_transaction {
342342 /** Properties of a FundingRateUpdateV1. */
343343 interface IFundingRateUpdateV1 {
344344
345- /** FundingRateUpdateV1 priceFeedId */
346- priceFeedId ?: ( number | null ) ;
345+ /** FundingRateUpdateV1 feedId */
346+ feedId ?: ( number | null ) ;
347347
348348 /** FundingRateUpdateV1 sourceTimestampUs */
349349 sourceTimestampUs ?: ( number | Long | null ) ;
@@ -367,8 +367,8 @@ export namespace pyth_lazer_transaction {
367367 */
368368 constructor ( properties ?: pyth_lazer_transaction . IFundingRateUpdateV1 ) ;
369369
370- /** FundingRateUpdateV1 priceFeedId . */
371- public priceFeedId : number ;
370+ /** FundingRateUpdateV1 feedId . */
371+ public feedId : number ;
372372
373373 /** FundingRateUpdateV1 sourceTimestampUs. */
374374 public sourceTimestampUs : ( number | Long ) ;
@@ -578,7 +578,7 @@ export namespace pyth_lazer_transaction {
578578 interface ILazerTransaction {
579579
580580 /** LazerTransaction publisherUpdates */
581- publisherUpdates ?: ( pyth_lazer_transaction . IPublisherUpdatePayload | null ) ;
581+ publisherUpdates ?: ( pyth_lazer_transaction . IPublisherUpdate | null ) ;
582582 }
583583
584584 /** Represents a LazerTransaction. */
@@ -591,10 +591,10 @@ export namespace pyth_lazer_transaction {
591591 constructor ( properties ?: pyth_lazer_transaction . ILazerTransaction ) ;
592592
593593 /** LazerTransaction publisherUpdates. */
594- public publisherUpdates ?: ( pyth_lazer_transaction . IPublisherUpdatePayload | null ) ;
594+ public publisherUpdates ?: ( pyth_lazer_transaction . IPublisherUpdate | null ) ;
595595
596- /** LazerTransaction transaction . */
597- public transaction ?: "publisherUpdates" ;
596+ /** LazerTransaction payload . */
597+ public payload ?: "publisherUpdates" ;
598598
599599 /**
600600 * Creates a new LazerTransaction instance using the specified properties.
0 commit comments