@uniswap/client-liquidity 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/uniswap/liquidity/v1/auction-AuctionService_connectquery.d.ts +15 -1
- package/dist/uniswap/liquidity/v1/auction-AuctionService_connectquery.js +15 -1
- package/dist/uniswap/liquidity/v1/auction_connect.d.ts +11 -1
- package/dist/uniswap/liquidity/v1/auction_connect.js +11 -1
- package/dist/uniswap/liquidity/v1/auction_pb.d.ts +88 -1
- package/dist/uniswap/liquidity/v1/auction_pb.js +135 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
|
|
2
|
+
import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
|
|
5
5
|
*/
|
|
@@ -84,3 +84,17 @@ export declare const verifyWallet: {
|
|
|
84
84
|
readonly typeName: "uniswap.liquidity.v1.AuctionService";
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
|
+
/**
|
|
88
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.ValidateAuctionHook
|
|
89
|
+
*/
|
|
90
|
+
export declare const validateAuctionHook: {
|
|
91
|
+
readonly localName: "validateAuctionHook";
|
|
92
|
+
readonly name: "ValidateAuctionHook";
|
|
93
|
+
readonly kind: MethodKind.Unary;
|
|
94
|
+
readonly I: typeof ValidateAuctionHookRequest;
|
|
95
|
+
readonly O: typeof ValidateAuctionHookResponse;
|
|
96
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
97
|
+
readonly service: {
|
|
98
|
+
readonly typeName: "uniswap.liquidity.v1.AuctionService";
|
|
99
|
+
};
|
|
100
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
|
|
6
|
+
import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
|
|
9
9
|
*/
|
|
@@ -88,3 +88,17 @@ export const verifyWallet = {
|
|
|
88
88
|
typeName: "uniswap.liquidity.v1.AuctionService"
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
+
/**
|
|
92
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.ValidateAuctionHook
|
|
93
|
+
*/
|
|
94
|
+
export const validateAuctionHook = {
|
|
95
|
+
localName: "validateAuctionHook",
|
|
96
|
+
name: "ValidateAuctionHook",
|
|
97
|
+
kind: MethodKind.Unary,
|
|
98
|
+
I: ValidateAuctionHookRequest,
|
|
99
|
+
O: ValidateAuctionHookResponse,
|
|
100
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
101
|
+
service: {
|
|
102
|
+
typeName: "uniswap.liquidity.v1.AuctionService"
|
|
103
|
+
}
|
|
104
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
|
|
1
|
+
import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
|
|
2
2
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service uniswap.liquidity.v1.AuctionService
|
|
@@ -66,5 +66,15 @@ export declare const AuctionService: {
|
|
|
66
66
|
readonly kind: MethodKind.Unary;
|
|
67
67
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
68
68
|
};
|
|
69
|
+
/**
|
|
70
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.ValidateAuctionHook
|
|
71
|
+
*/
|
|
72
|
+
readonly validateAuctionHook: {
|
|
73
|
+
readonly name: "ValidateAuctionHook";
|
|
74
|
+
readonly I: typeof ValidateAuctionHookRequest;
|
|
75
|
+
readonly O: typeof ValidateAuctionHookResponse;
|
|
76
|
+
readonly kind: MethodKind.Unary;
|
|
77
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
78
|
+
};
|
|
69
79
|
};
|
|
70
80
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file uniswap/liquidity/v1/auction.proto (package uniswap.liquidity.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
|
|
5
|
+
import { ClaimTokensRequest, ClaimTokensResponse, ExitBidAndClaimTokensRequest, ExitBidAndClaimTokensResponse, ExitBidPositionRequest, ExitBidPositionResponse, SubmitBidRequest, SubmitBidResponse, TokenCountAllocatedToLpForAuctionRequest, TokenCountAllocatedToLpForAuctionResponse, ValidateAuctionHookRequest, ValidateAuctionHookResponse, VerifyWalletRequest, VerifyWalletResponse } from "./auction_pb.js";
|
|
6
6
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service uniswap.liquidity.v1.AuctionService
|
|
@@ -70,5 +70,15 @@ export const AuctionService = {
|
|
|
70
70
|
kind: MethodKind.Unary,
|
|
71
71
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
72
72
|
},
|
|
73
|
+
/**
|
|
74
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.ValidateAuctionHook
|
|
75
|
+
*/
|
|
76
|
+
validateAuctionHook: {
|
|
77
|
+
name: "ValidateAuctionHook",
|
|
78
|
+
I: ValidateAuctionHookRequest,
|
|
79
|
+
O: ValidateAuctionHookResponse,
|
|
80
|
+
kind: MethodKind.Unary,
|
|
81
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
82
|
+
},
|
|
73
83
|
}
|
|
74
84
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
-
import { AuctionValidation, BidToExit, ChainId, TransactionRequest } from "./types_pb.js";
|
|
3
|
+
import { AuctionValidation, BidToExit, ChainId, TransactionRequest, ValidationType } from "./types_pb.js";
|
|
4
4
|
/**
|
|
5
5
|
* REQUESTS & RESPONSES
|
|
6
6
|
*
|
|
@@ -335,3 +335,90 @@ export declare class VerifyWalletResponse extends Message<VerifyWalletResponse>
|
|
|
335
335
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyWalletResponse;
|
|
336
336
|
static equals(a: VerifyWalletResponse | PlainMessage<VerifyWalletResponse> | undefined, b: VerifyWalletResponse | PlainMessage<VerifyWalletResponse> | undefined): boolean;
|
|
337
337
|
}
|
|
338
|
+
/**
|
|
339
|
+
* @generated from message uniswap.liquidity.v1.ValidateAuctionHookRequest
|
|
340
|
+
*/
|
|
341
|
+
export declare class ValidateAuctionHookRequest extends Message<ValidateAuctionHookRequest> {
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: string hook_address = 1;
|
|
344
|
+
*/
|
|
345
|
+
hookAddress: string;
|
|
346
|
+
/**
|
|
347
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 2;
|
|
348
|
+
*/
|
|
349
|
+
chainId: ChainId;
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: uniswap.liquidity.v1.ValidationType hook_type = 3;
|
|
352
|
+
*/
|
|
353
|
+
hookType: ValidationType;
|
|
354
|
+
constructor(data?: PartialMessage<ValidateAuctionHookRequest>);
|
|
355
|
+
static readonly runtime: typeof proto3;
|
|
356
|
+
static readonly typeName = "uniswap.liquidity.v1.ValidateAuctionHookRequest";
|
|
357
|
+
static readonly fields: FieldList;
|
|
358
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ValidateAuctionHookRequest;
|
|
359
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ValidateAuctionHookRequest;
|
|
360
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ValidateAuctionHookRequest;
|
|
361
|
+
static equals(a: ValidateAuctionHookRequest | PlainMessage<ValidateAuctionHookRequest> | undefined, b: ValidateAuctionHookRequest | PlainMessage<ValidateAuctionHookRequest> | undefined): boolean;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* @generated from message uniswap.liquidity.v1.ValidateAuctionHookResponse
|
|
365
|
+
*/
|
|
366
|
+
export declare class ValidateAuctionHookResponse extends Message<ValidateAuctionHookResponse> {
|
|
367
|
+
/**
|
|
368
|
+
* @generated from field: string request_id = 1;
|
|
369
|
+
*/
|
|
370
|
+
requestId: string;
|
|
371
|
+
/**
|
|
372
|
+
* getCode() returned a non-empty bytecode blob. e.g. for wallet addresses
|
|
373
|
+
*
|
|
374
|
+
* @generated from field: bool is_contract = 2;
|
|
375
|
+
*/
|
|
376
|
+
isContract: boolean;
|
|
377
|
+
/**
|
|
378
|
+
* Per-type results. currently exactly one entry (requested or defaulted type).
|
|
379
|
+
*
|
|
380
|
+
* @generated from field: repeated uniswap.liquidity.v1.HookValidationResult results = 3;
|
|
381
|
+
*/
|
|
382
|
+
results: HookValidationResult[];
|
|
383
|
+
constructor(data?: PartialMessage<ValidateAuctionHookResponse>);
|
|
384
|
+
static readonly runtime: typeof proto3;
|
|
385
|
+
static readonly typeName = "uniswap.liquidity.v1.ValidateAuctionHookResponse";
|
|
386
|
+
static readonly fields: FieldList;
|
|
387
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ValidateAuctionHookResponse;
|
|
388
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ValidateAuctionHookResponse;
|
|
389
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ValidateAuctionHookResponse;
|
|
390
|
+
static equals(a: ValidateAuctionHookResponse | PlainMessage<ValidateAuctionHookResponse> | undefined, b: ValidateAuctionHookResponse | PlainMessage<ValidateAuctionHookResponse> | undefined): boolean;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* @generated from message uniswap.liquidity.v1.HookValidationResult
|
|
394
|
+
*/
|
|
395
|
+
export declare class HookValidationResult extends Message<HookValidationResult> {
|
|
396
|
+
/**
|
|
397
|
+
* @generated from field: uniswap.liquidity.v1.ValidationType hook_type = 1;
|
|
398
|
+
*/
|
|
399
|
+
hookType: ValidationType;
|
|
400
|
+
/**
|
|
401
|
+
* @generated from field: bool supported = 2;
|
|
402
|
+
*/
|
|
403
|
+
supported: boolean;
|
|
404
|
+
/**
|
|
405
|
+
* @generated from field: string interface_id = 3;
|
|
406
|
+
*/
|
|
407
|
+
interfaceId: string;
|
|
408
|
+
/**
|
|
409
|
+
* @generated from field: string hook_name = 4;
|
|
410
|
+
*/
|
|
411
|
+
hookName: string;
|
|
412
|
+
/**
|
|
413
|
+
* @generated from field: string description = 5;
|
|
414
|
+
*/
|
|
415
|
+
description: string;
|
|
416
|
+
constructor(data?: PartialMessage<HookValidationResult>);
|
|
417
|
+
static readonly runtime: typeof proto3;
|
|
418
|
+
static readonly typeName = "uniswap.liquidity.v1.HookValidationResult";
|
|
419
|
+
static readonly fields: FieldList;
|
|
420
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HookValidationResult;
|
|
421
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HookValidationResult;
|
|
422
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HookValidationResult;
|
|
423
|
+
static equals(a: HookValidationResult | PlainMessage<HookValidationResult> | undefined, b: HookValidationResult | PlainMessage<HookValidationResult> | undefined): boolean;
|
|
424
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
|
-
import { AuctionValidation, BidToExit, ChainId, TransactionRequest } from "./types_pb.js";
|
|
6
|
+
import { AuctionValidation, BidToExit, ChainId, TransactionRequest, ValidationType } from "./types_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* REQUESTS & RESPONSES
|
|
9
9
|
*
|
|
@@ -466,3 +466,137 @@ VerifyWalletResponse.typeName = "uniswap.liquidity.v1.VerifyWalletResponse";
|
|
|
466
466
|
VerifyWalletResponse.fields = proto3.util.newFieldList(() => [
|
|
467
467
|
{ no: 1, name: "validations", kind: "message", T: AuctionValidation, repeated: true },
|
|
468
468
|
]);
|
|
469
|
+
/**
|
|
470
|
+
* @generated from message uniswap.liquidity.v1.ValidateAuctionHookRequest
|
|
471
|
+
*/
|
|
472
|
+
export class ValidateAuctionHookRequest extends Message {
|
|
473
|
+
constructor(data) {
|
|
474
|
+
super();
|
|
475
|
+
/**
|
|
476
|
+
* @generated from field: string hook_address = 1;
|
|
477
|
+
*/
|
|
478
|
+
this.hookAddress = "";
|
|
479
|
+
/**
|
|
480
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 2;
|
|
481
|
+
*/
|
|
482
|
+
this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
|
|
483
|
+
/**
|
|
484
|
+
* @generated from field: uniswap.liquidity.v1.ValidationType hook_type = 3;
|
|
485
|
+
*/
|
|
486
|
+
this.hookType = ValidationType.VALIDATION_TYPE_UNSPECIFIED;
|
|
487
|
+
proto3.util.initPartial(data, this);
|
|
488
|
+
}
|
|
489
|
+
static fromBinary(bytes, options) {
|
|
490
|
+
return new ValidateAuctionHookRequest().fromBinary(bytes, options);
|
|
491
|
+
}
|
|
492
|
+
static fromJson(jsonValue, options) {
|
|
493
|
+
return new ValidateAuctionHookRequest().fromJson(jsonValue, options);
|
|
494
|
+
}
|
|
495
|
+
static fromJsonString(jsonString, options) {
|
|
496
|
+
return new ValidateAuctionHookRequest().fromJsonString(jsonString, options);
|
|
497
|
+
}
|
|
498
|
+
static equals(a, b) {
|
|
499
|
+
return proto3.util.equals(ValidateAuctionHookRequest, a, b);
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
ValidateAuctionHookRequest.runtime = proto3;
|
|
503
|
+
ValidateAuctionHookRequest.typeName = "uniswap.liquidity.v1.ValidateAuctionHookRequest";
|
|
504
|
+
ValidateAuctionHookRequest.fields = proto3.util.newFieldList(() => [
|
|
505
|
+
{ no: 1, name: "hook_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
506
|
+
{ no: 2, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
|
|
507
|
+
{ no: 3, name: "hook_type", kind: "enum", T: proto3.getEnumType(ValidationType) },
|
|
508
|
+
]);
|
|
509
|
+
/**
|
|
510
|
+
* @generated from message uniswap.liquidity.v1.ValidateAuctionHookResponse
|
|
511
|
+
*/
|
|
512
|
+
export class ValidateAuctionHookResponse extends Message {
|
|
513
|
+
constructor(data) {
|
|
514
|
+
super();
|
|
515
|
+
/**
|
|
516
|
+
* @generated from field: string request_id = 1;
|
|
517
|
+
*/
|
|
518
|
+
this.requestId = "";
|
|
519
|
+
/**
|
|
520
|
+
* getCode() returned a non-empty bytecode blob. e.g. for wallet addresses
|
|
521
|
+
*
|
|
522
|
+
* @generated from field: bool is_contract = 2;
|
|
523
|
+
*/
|
|
524
|
+
this.isContract = false;
|
|
525
|
+
/**
|
|
526
|
+
* Per-type results. currently exactly one entry (requested or defaulted type).
|
|
527
|
+
*
|
|
528
|
+
* @generated from field: repeated uniswap.liquidity.v1.HookValidationResult results = 3;
|
|
529
|
+
*/
|
|
530
|
+
this.results = [];
|
|
531
|
+
proto3.util.initPartial(data, this);
|
|
532
|
+
}
|
|
533
|
+
static fromBinary(bytes, options) {
|
|
534
|
+
return new ValidateAuctionHookResponse().fromBinary(bytes, options);
|
|
535
|
+
}
|
|
536
|
+
static fromJson(jsonValue, options) {
|
|
537
|
+
return new ValidateAuctionHookResponse().fromJson(jsonValue, options);
|
|
538
|
+
}
|
|
539
|
+
static fromJsonString(jsonString, options) {
|
|
540
|
+
return new ValidateAuctionHookResponse().fromJsonString(jsonString, options);
|
|
541
|
+
}
|
|
542
|
+
static equals(a, b) {
|
|
543
|
+
return proto3.util.equals(ValidateAuctionHookResponse, a, b);
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
ValidateAuctionHookResponse.runtime = proto3;
|
|
547
|
+
ValidateAuctionHookResponse.typeName = "uniswap.liquidity.v1.ValidateAuctionHookResponse";
|
|
548
|
+
ValidateAuctionHookResponse.fields = proto3.util.newFieldList(() => [
|
|
549
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
550
|
+
{ no: 2, name: "is_contract", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
551
|
+
{ no: 3, name: "results", kind: "message", T: HookValidationResult, repeated: true },
|
|
552
|
+
]);
|
|
553
|
+
/**
|
|
554
|
+
* @generated from message uniswap.liquidity.v1.HookValidationResult
|
|
555
|
+
*/
|
|
556
|
+
export class HookValidationResult extends Message {
|
|
557
|
+
constructor(data) {
|
|
558
|
+
super();
|
|
559
|
+
/**
|
|
560
|
+
* @generated from field: uniswap.liquidity.v1.ValidationType hook_type = 1;
|
|
561
|
+
*/
|
|
562
|
+
this.hookType = ValidationType.VALIDATION_TYPE_UNSPECIFIED;
|
|
563
|
+
/**
|
|
564
|
+
* @generated from field: bool supported = 2;
|
|
565
|
+
*/
|
|
566
|
+
this.supported = false;
|
|
567
|
+
/**
|
|
568
|
+
* @generated from field: string interface_id = 3;
|
|
569
|
+
*/
|
|
570
|
+
this.interfaceId = "";
|
|
571
|
+
/**
|
|
572
|
+
* @generated from field: string hook_name = 4;
|
|
573
|
+
*/
|
|
574
|
+
this.hookName = "";
|
|
575
|
+
/**
|
|
576
|
+
* @generated from field: string description = 5;
|
|
577
|
+
*/
|
|
578
|
+
this.description = "";
|
|
579
|
+
proto3.util.initPartial(data, this);
|
|
580
|
+
}
|
|
581
|
+
static fromBinary(bytes, options) {
|
|
582
|
+
return new HookValidationResult().fromBinary(bytes, options);
|
|
583
|
+
}
|
|
584
|
+
static fromJson(jsonValue, options) {
|
|
585
|
+
return new HookValidationResult().fromJson(jsonValue, options);
|
|
586
|
+
}
|
|
587
|
+
static fromJsonString(jsonString, options) {
|
|
588
|
+
return new HookValidationResult().fromJsonString(jsonString, options);
|
|
589
|
+
}
|
|
590
|
+
static equals(a, b) {
|
|
591
|
+
return proto3.util.equals(HookValidationResult, a, b);
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
HookValidationResult.runtime = proto3;
|
|
595
|
+
HookValidationResult.typeName = "uniswap.liquidity.v1.HookValidationResult";
|
|
596
|
+
HookValidationResult.fields = proto3.util.newFieldList(() => [
|
|
597
|
+
{ no: 1, name: "hook_type", kind: "enum", T: proto3.getEnumType(ValidationType) },
|
|
598
|
+
{ no: 2, name: "supported", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
599
|
+
{ no: 3, name: "interface_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
600
|
+
{ no: 4, name: "hook_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
601
|
+
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
602
|
+
]);
|