@uniswap/client-liquidity 0.0.19 → 0.0.21
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/api-LiquidityService_connectquery.d.ts +15 -1
- package/dist/uniswap/liquidity/v1/api-LiquidityService_connectquery.js +15 -1
- package/dist/uniswap/liquidity/v1/api_connect.d.ts +11 -1
- package/dist/uniswap/liquidity/v1/api_connect.js +11 -1
- package/dist/uniswap/liquidity/v1/api_pb.d.ts +91 -1
- package/dist/uniswap/liquidity/v1/api_pb.js +119 -1
- package/dist/uniswap/liquidity/v1/auction_pb.d.ts +67 -1
- package/dist/uniswap/liquidity/v1/auction_pb.js +94 -1
- package/dist/uniswap/liquidity/v1/types_pb.d.ts +44 -0
- package/dist/uniswap/liquidity/v1/types_pb.js +59 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { CheckApprovalLPRequest, CheckApprovalLPResponse, ClaimLPFeesRequest, ClaimLPFeesResponse, ClaimLPRewardsRequest, ClaimLPRewardsResponse, CreateLPPositionRequest, CreateLPPositionResponse, DecreaseLPPositionRequest, DecreaseLPPositionResponse, IncreaseLPPositionRequest, IncreaseLPPositionResponse, MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse, PoolInfoRequest, PoolInfoResponse } from "./api_pb.js";
|
|
2
|
+
import { CheckApprovalLPRequest, CheckApprovalLPResponse, ClaimLPFeesRequest, ClaimLPFeesResponse, ClaimLPRewardsRequest, ClaimLPRewardsResponse, CreateLPPositionRequest, CreateLPPositionResponse, DecreaseLPPositionRequest, DecreaseLPPositionResponse, GetLPPriceDiscrepancyRequest, GetLPPriceDiscrepancyResponse, IncreaseLPPositionRequest, IncreaseLPPositionResponse, MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse, PoolInfoRequest, PoolInfoResponse } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc uniswap.liquidity.v1.LiquidityService.MigrateV2ToV3LPPosition
|
|
5
5
|
*/
|
|
@@ -126,3 +126,17 @@ export declare const checkLPApproval: {
|
|
|
126
126
|
readonly typeName: "uniswap.liquidity.v1.LiquidityService";
|
|
127
127
|
};
|
|
128
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* @generated from rpc uniswap.liquidity.v1.LiquidityService.GetLPPriceDiscrepancy
|
|
131
|
+
*/
|
|
132
|
+
export declare const getLPPriceDiscrepancy: {
|
|
133
|
+
readonly localName: "getLPPriceDiscrepancy";
|
|
134
|
+
readonly name: "GetLPPriceDiscrepancy";
|
|
135
|
+
readonly kind: MethodKind.Unary;
|
|
136
|
+
readonly I: typeof GetLPPriceDiscrepancyRequest;
|
|
137
|
+
readonly O: typeof GetLPPriceDiscrepancyResponse;
|
|
138
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
139
|
+
readonly service: {
|
|
140
|
+
readonly typeName: "uniswap.liquidity.v1.LiquidityService";
|
|
141
|
+
};
|
|
142
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { CheckApprovalLPRequest, CheckApprovalLPResponse, ClaimLPFeesRequest, ClaimLPFeesResponse, ClaimLPRewardsRequest, ClaimLPRewardsResponse, CreateLPPositionRequest, CreateLPPositionResponse, DecreaseLPPositionRequest, DecreaseLPPositionResponse, IncreaseLPPositionRequest, IncreaseLPPositionResponse, MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse, PoolInfoRequest, PoolInfoResponse } from "./api_pb.js";
|
|
6
|
+
import { CheckApprovalLPRequest, CheckApprovalLPResponse, ClaimLPFeesRequest, ClaimLPFeesResponse, ClaimLPRewardsRequest, ClaimLPRewardsResponse, CreateLPPositionRequest, CreateLPPositionResponse, DecreaseLPPositionRequest, DecreaseLPPositionResponse, GetLPPriceDiscrepancyRequest, GetLPPriceDiscrepancyResponse, IncreaseLPPositionRequest, IncreaseLPPositionResponse, MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse, PoolInfoRequest, PoolInfoResponse } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc uniswap.liquidity.v1.LiquidityService.MigrateV2ToV3LPPosition
|
|
9
9
|
*/
|
|
@@ -130,3 +130,17 @@ export const checkLPApproval = {
|
|
|
130
130
|
typeName: "uniswap.liquidity.v1.LiquidityService"
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
|
+
/**
|
|
134
|
+
* @generated from rpc uniswap.liquidity.v1.LiquidityService.GetLPPriceDiscrepancy
|
|
135
|
+
*/
|
|
136
|
+
export const getLPPriceDiscrepancy = {
|
|
137
|
+
localName: "getLPPriceDiscrepancy",
|
|
138
|
+
name: "GetLPPriceDiscrepancy",
|
|
139
|
+
kind: MethodKind.Unary,
|
|
140
|
+
I: GetLPPriceDiscrepancyRequest,
|
|
141
|
+
O: GetLPPriceDiscrepancyResponse,
|
|
142
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
143
|
+
service: {
|
|
144
|
+
typeName: "uniswap.liquidity.v1.LiquidityService"
|
|
145
|
+
}
|
|
146
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckApprovalLPRequest, CheckApprovalLPResponse, ClaimLPFeesRequest, ClaimLPFeesResponse, ClaimLPRewardsRequest, ClaimLPRewardsResponse, CreateLPPositionRequest, CreateLPPositionResponse, DecreaseLPPositionRequest, DecreaseLPPositionResponse, IncreaseLPPositionRequest, IncreaseLPPositionResponse, MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse, PoolInfoRequest, PoolInfoResponse } from "./api_pb.js";
|
|
1
|
+
import { CheckApprovalLPRequest, CheckApprovalLPResponse, ClaimLPFeesRequest, ClaimLPFeesResponse, ClaimLPRewardsRequest, ClaimLPRewardsResponse, CreateLPPositionRequest, CreateLPPositionResponse, DecreaseLPPositionRequest, DecreaseLPPositionResponse, GetLPPriceDiscrepancyRequest, GetLPPriceDiscrepancyResponse, IncreaseLPPositionRequest, IncreaseLPPositionResponse, MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse, PoolInfoRequest, PoolInfoResponse } from "./api_pb.js";
|
|
2
2
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service uniswap.liquidity.v1.LiquidityService
|
|
@@ -96,5 +96,15 @@ export declare const LiquidityService: {
|
|
|
96
96
|
readonly kind: MethodKind.Unary;
|
|
97
97
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
98
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* @generated from rpc uniswap.liquidity.v1.LiquidityService.GetLPPriceDiscrepancy
|
|
101
|
+
*/
|
|
102
|
+
readonly getLPPriceDiscrepancy: {
|
|
103
|
+
readonly name: "GetLPPriceDiscrepancy";
|
|
104
|
+
readonly I: typeof GetLPPriceDiscrepancyRequest;
|
|
105
|
+
readonly O: typeof GetLPPriceDiscrepancyResponse;
|
|
106
|
+
readonly kind: MethodKind.Unary;
|
|
107
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
108
|
+
};
|
|
99
109
|
};
|
|
100
110
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file uniswap/liquidity/v1/api.proto (package uniswap.liquidity.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { CheckApprovalLPRequest, CheckApprovalLPResponse, ClaimLPFeesRequest, ClaimLPFeesResponse, ClaimLPRewardsRequest, ClaimLPRewardsResponse, CreateLPPositionRequest, CreateLPPositionResponse, DecreaseLPPositionRequest, DecreaseLPPositionResponse, IncreaseLPPositionRequest, IncreaseLPPositionResponse, MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse, PoolInfoRequest, PoolInfoResponse } from "./api_pb.js";
|
|
5
|
+
import { CheckApprovalLPRequest, CheckApprovalLPResponse, ClaimLPFeesRequest, ClaimLPFeesResponse, ClaimLPRewardsRequest, ClaimLPRewardsResponse, CreateLPPositionRequest, CreateLPPositionResponse, DecreaseLPPositionRequest, DecreaseLPPositionResponse, GetLPPriceDiscrepancyRequest, GetLPPriceDiscrepancyResponse, IncreaseLPPositionRequest, IncreaseLPPositionResponse, MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, MigrateV3ToV4LPPositionRequest, MigrateV3ToV4LPPositionResponse, PoolInfoRequest, PoolInfoResponse } from "./api_pb.js";
|
|
6
6
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service uniswap.liquidity.v1.LiquidityService
|
|
@@ -100,5 +100,15 @@ export const LiquidityService = {
|
|
|
100
100
|
kind: MethodKind.Unary,
|
|
101
101
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
102
102
|
},
|
|
103
|
+
/**
|
|
104
|
+
* @generated from rpc uniswap.liquidity.v1.LiquidityService.GetLPPriceDiscrepancy
|
|
105
|
+
*/
|
|
106
|
+
getLPPriceDiscrepancy: {
|
|
107
|
+
name: "GetLPPriceDiscrepancy",
|
|
108
|
+
I: GetLPPriceDiscrepancyRequest,
|
|
109
|
+
O: GetLPPriceDiscrepancyResponse,
|
|
110
|
+
kind: MethodKind.Unary,
|
|
111
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
112
|
+
},
|
|
103
113
|
}
|
|
104
114
|
};
|
|
@@ -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 { ChainId, Distributor, NFTPermitData, PermitBatchData, PoolInformation, PoolParameters, PoolReferenceByProtocol, Protocols, TransactionRequest, V2CheckApprovalLPRequest, V2ClaimLPFeesRequest, V2CreateLPPosition, V2DecreaseLPPosition, V2IncreaseLPPosition, V3CheckApprovalLPRequest, V3ClaimLPFeesRequest, V3CreateLPPosition, V3DecreaseLPPosition, V3IncreaseLPPosition, V3Position, V4CheckApprovalLPRequest, V4ClaimLPFeesRequest, V4CreateLPPosition, V4DecreaseLPPosition, V4IncreaseLPPosition, V4Position } from "./types_pb.js";
|
|
3
|
+
import { ChainId, Distributor, NFTPermitData, OnChainStatus, PermitBatchData, PoolInformation, PoolParameters, PoolReferenceByProtocol, Protocols, TransactionRequest, V2CheckApprovalLPRequest, V2ClaimLPFeesRequest, V2CreateLPPosition, V2DecreaseLPPosition, V2IncreaseLPPosition, V3CheckApprovalLPRequest, V3ClaimLPFeesRequest, V3CreateLPPosition, V3DecreaseLPPosition, V3IncreaseLPPosition, V3Position, V4CheckApprovalLPRequest, V4ClaimLPFeesRequest, V4CreateLPPosition, V4DecreaseLPPosition, V4IncreaseLPPosition, V4Position } from "./types_pb.js";
|
|
4
4
|
/**
|
|
5
5
|
* REQUESTS & RESPONSES
|
|
6
6
|
*
|
|
@@ -737,3 +737,93 @@ export declare class CheckApprovalLPResponse extends Message<CheckApprovalLPResp
|
|
|
737
737
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckApprovalLPResponse;
|
|
738
738
|
static equals(a: CheckApprovalLPResponse | PlainMessage<CheckApprovalLPResponse> | undefined, b: CheckApprovalLPResponse | PlainMessage<CheckApprovalLPResponse> | undefined): boolean;
|
|
739
739
|
}
|
|
740
|
+
/**
|
|
741
|
+
* @generated from message uniswap.liquidity.v1.GetLPPriceDiscrepancyRequest
|
|
742
|
+
*/
|
|
743
|
+
export declare class GetLPPriceDiscrepancyRequest extends Message<GetLPPriceDiscrepancyRequest> {
|
|
744
|
+
/**
|
|
745
|
+
* @generated from field: string txn_hash = 1;
|
|
746
|
+
*/
|
|
747
|
+
txnHash: string;
|
|
748
|
+
/**
|
|
749
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 2;
|
|
750
|
+
*/
|
|
751
|
+
chainId: ChainId;
|
|
752
|
+
/**
|
|
753
|
+
* @generated from field: string token0 = 3;
|
|
754
|
+
*/
|
|
755
|
+
token0: string;
|
|
756
|
+
/**
|
|
757
|
+
* @generated from field: string token1 = 4;
|
|
758
|
+
*/
|
|
759
|
+
token1: string;
|
|
760
|
+
/**
|
|
761
|
+
* @generated from field: optional int32 tick_spacing = 5;
|
|
762
|
+
*/
|
|
763
|
+
tickSpacing?: number;
|
|
764
|
+
/**
|
|
765
|
+
* @generated from field: optional int32 fee = 6;
|
|
766
|
+
*/
|
|
767
|
+
fee?: number;
|
|
768
|
+
/**
|
|
769
|
+
* @generated from field: optional string hooks = 7;
|
|
770
|
+
*/
|
|
771
|
+
hooks?: string;
|
|
772
|
+
/**
|
|
773
|
+
* @generated from field: string sqrt_ratio_x96 = 8;
|
|
774
|
+
*/
|
|
775
|
+
sqrtRatioX96: string;
|
|
776
|
+
/**
|
|
777
|
+
* @generated from field: uniswap.liquidity.v1.Protocols protocol = 9;
|
|
778
|
+
*/
|
|
779
|
+
protocol: Protocols;
|
|
780
|
+
constructor(data?: PartialMessage<GetLPPriceDiscrepancyRequest>);
|
|
781
|
+
static readonly runtime: typeof proto3;
|
|
782
|
+
static readonly typeName = "uniswap.liquidity.v1.GetLPPriceDiscrepancyRequest";
|
|
783
|
+
static readonly fields: FieldList;
|
|
784
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLPPriceDiscrepancyRequest;
|
|
785
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyRequest;
|
|
786
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyRequest;
|
|
787
|
+
static equals(a: GetLPPriceDiscrepancyRequest | PlainMessage<GetLPPriceDiscrepancyRequest> | undefined, b: GetLPPriceDiscrepancyRequest | PlainMessage<GetLPPriceDiscrepancyRequest> | undefined): boolean;
|
|
788
|
+
}
|
|
789
|
+
/**
|
|
790
|
+
* @generated from message uniswap.liquidity.v1.GetLPPriceDiscrepancyResponse
|
|
791
|
+
*/
|
|
792
|
+
export declare class GetLPPriceDiscrepancyResponse extends Message<GetLPPriceDiscrepancyResponse> {
|
|
793
|
+
/**
|
|
794
|
+
* @generated from field: string request_id = 1;
|
|
795
|
+
*/
|
|
796
|
+
requestId: string;
|
|
797
|
+
/**
|
|
798
|
+
* @generated from field: string percent_price_difference = 2;
|
|
799
|
+
*/
|
|
800
|
+
percentPriceDifference: string;
|
|
801
|
+
/**
|
|
802
|
+
* @generated from field: uniswap.liquidity.v1.OnChainStatus status = 3;
|
|
803
|
+
*/
|
|
804
|
+
status: OnChainStatus;
|
|
805
|
+
/**
|
|
806
|
+
* @generated from field: string sqrt_ratio_x96_before = 4;
|
|
807
|
+
*/
|
|
808
|
+
sqrtRatioX96Before: string;
|
|
809
|
+
/**
|
|
810
|
+
* @generated from field: string sqrt_ratio_x96_after = 5;
|
|
811
|
+
*/
|
|
812
|
+
sqrtRatioX96After: string;
|
|
813
|
+
/**
|
|
814
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 6;
|
|
815
|
+
*/
|
|
816
|
+
chainId: ChainId;
|
|
817
|
+
/**
|
|
818
|
+
* @generated from field: uniswap.liquidity.v1.Protocols protocol = 7;
|
|
819
|
+
*/
|
|
820
|
+
protocol: Protocols;
|
|
821
|
+
constructor(data?: PartialMessage<GetLPPriceDiscrepancyResponse>);
|
|
822
|
+
static readonly runtime: typeof proto3;
|
|
823
|
+
static readonly typeName = "uniswap.liquidity.v1.GetLPPriceDiscrepancyResponse";
|
|
824
|
+
static readonly fields: FieldList;
|
|
825
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLPPriceDiscrepancyResponse;
|
|
826
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyResponse;
|
|
827
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLPPriceDiscrepancyResponse;
|
|
828
|
+
static equals(a: GetLPPriceDiscrepancyResponse | PlainMessage<GetLPPriceDiscrepancyResponse> | undefined, b: GetLPPriceDiscrepancyResponse | PlainMessage<GetLPPriceDiscrepancyResponse> | undefined): boolean;
|
|
829
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
|
-
import { ChainId, Distributor, NFTPermitData, PermitBatchData, PoolInformation, PoolParameters, PoolReferenceByProtocol, Protocols, TransactionRequest, V2CheckApprovalLPRequest, V2ClaimLPFeesRequest, V2CreateLPPosition, V2DecreaseLPPosition, V2IncreaseLPPosition, V3CheckApprovalLPRequest, V3ClaimLPFeesRequest, V3CreateLPPosition, V3DecreaseLPPosition, V3IncreaseLPPosition, V3Position, V4CheckApprovalLPRequest, V4ClaimLPFeesRequest, V4CreateLPPosition, V4DecreaseLPPosition, V4IncreaseLPPosition, V4Position } from "./types_pb.js";
|
|
6
|
+
import { ChainId, Distributor, NFTPermitData, OnChainStatus, PermitBatchData, PoolInformation, PoolParameters, PoolReferenceByProtocol, Protocols, TransactionRequest, V2CheckApprovalLPRequest, V2ClaimLPFeesRequest, V2CreateLPPosition, V2DecreaseLPPosition, V2IncreaseLPPosition, V3CheckApprovalLPRequest, V3ClaimLPFeesRequest, V3CreateLPPosition, V3DecreaseLPPosition, V3IncreaseLPPosition, V3Position, V4CheckApprovalLPRequest, V4ClaimLPFeesRequest, V4CreateLPPosition, V4DecreaseLPPosition, V4IncreaseLPPosition, V4Position } from "./types_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* REQUESTS & RESPONSES
|
|
9
9
|
*
|
|
@@ -706,3 +706,121 @@ CheckApprovalLPResponse.fields = proto3.util.newFieldList(() => [
|
|
|
706
706
|
{ no: 16, name: "gas_fee_token_0_permit", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
707
707
|
{ no: 17, name: "gas_fee_token_1_permit", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
708
708
|
]);
|
|
709
|
+
/**
|
|
710
|
+
* @generated from message uniswap.liquidity.v1.GetLPPriceDiscrepancyRequest
|
|
711
|
+
*/
|
|
712
|
+
export class GetLPPriceDiscrepancyRequest extends Message {
|
|
713
|
+
constructor(data) {
|
|
714
|
+
super();
|
|
715
|
+
/**
|
|
716
|
+
* @generated from field: string txn_hash = 1;
|
|
717
|
+
*/
|
|
718
|
+
this.txnHash = "";
|
|
719
|
+
/**
|
|
720
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 2;
|
|
721
|
+
*/
|
|
722
|
+
this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
|
|
723
|
+
/**
|
|
724
|
+
* @generated from field: string token0 = 3;
|
|
725
|
+
*/
|
|
726
|
+
this.token0 = "";
|
|
727
|
+
/**
|
|
728
|
+
* @generated from field: string token1 = 4;
|
|
729
|
+
*/
|
|
730
|
+
this.token1 = "";
|
|
731
|
+
/**
|
|
732
|
+
* @generated from field: string sqrt_ratio_x96 = 8;
|
|
733
|
+
*/
|
|
734
|
+
this.sqrtRatioX96 = "";
|
|
735
|
+
/**
|
|
736
|
+
* @generated from field: uniswap.liquidity.v1.Protocols protocol = 9;
|
|
737
|
+
*/
|
|
738
|
+
this.protocol = Protocols.V2;
|
|
739
|
+
proto3.util.initPartial(data, this);
|
|
740
|
+
}
|
|
741
|
+
static fromBinary(bytes, options) {
|
|
742
|
+
return new GetLPPriceDiscrepancyRequest().fromBinary(bytes, options);
|
|
743
|
+
}
|
|
744
|
+
static fromJson(jsonValue, options) {
|
|
745
|
+
return new GetLPPriceDiscrepancyRequest().fromJson(jsonValue, options);
|
|
746
|
+
}
|
|
747
|
+
static fromJsonString(jsonString, options) {
|
|
748
|
+
return new GetLPPriceDiscrepancyRequest().fromJsonString(jsonString, options);
|
|
749
|
+
}
|
|
750
|
+
static equals(a, b) {
|
|
751
|
+
return proto3.util.equals(GetLPPriceDiscrepancyRequest, a, b);
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
GetLPPriceDiscrepancyRequest.runtime = proto3;
|
|
755
|
+
GetLPPriceDiscrepancyRequest.typeName = "uniswap.liquidity.v1.GetLPPriceDiscrepancyRequest";
|
|
756
|
+
GetLPPriceDiscrepancyRequest.fields = proto3.util.newFieldList(() => [
|
|
757
|
+
{ no: 1, name: "txn_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
758
|
+
{ no: 2, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
|
|
759
|
+
{ no: 3, name: "token0", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
760
|
+
{ no: 4, name: "token1", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
761
|
+
{ no: 5, name: "tick_spacing", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
762
|
+
{ no: 6, name: "fee", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
763
|
+
{ no: 7, name: "hooks", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
764
|
+
{ no: 8, name: "sqrt_ratio_x96", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
765
|
+
{ no: 9, name: "protocol", kind: "enum", T: proto3.getEnumType(Protocols) },
|
|
766
|
+
]);
|
|
767
|
+
/**
|
|
768
|
+
* @generated from message uniswap.liquidity.v1.GetLPPriceDiscrepancyResponse
|
|
769
|
+
*/
|
|
770
|
+
export class GetLPPriceDiscrepancyResponse extends Message {
|
|
771
|
+
constructor(data) {
|
|
772
|
+
super();
|
|
773
|
+
/**
|
|
774
|
+
* @generated from field: string request_id = 1;
|
|
775
|
+
*/
|
|
776
|
+
this.requestId = "";
|
|
777
|
+
/**
|
|
778
|
+
* @generated from field: string percent_price_difference = 2;
|
|
779
|
+
*/
|
|
780
|
+
this.percentPriceDifference = "";
|
|
781
|
+
/**
|
|
782
|
+
* @generated from field: uniswap.liquidity.v1.OnChainStatus status = 3;
|
|
783
|
+
*/
|
|
784
|
+
this.status = OnChainStatus.ON_CHAIN_STATUS_UNSPECIFIED;
|
|
785
|
+
/**
|
|
786
|
+
* @generated from field: string sqrt_ratio_x96_before = 4;
|
|
787
|
+
*/
|
|
788
|
+
this.sqrtRatioX96Before = "";
|
|
789
|
+
/**
|
|
790
|
+
* @generated from field: string sqrt_ratio_x96_after = 5;
|
|
791
|
+
*/
|
|
792
|
+
this.sqrtRatioX96After = "";
|
|
793
|
+
/**
|
|
794
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 6;
|
|
795
|
+
*/
|
|
796
|
+
this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
|
|
797
|
+
/**
|
|
798
|
+
* @generated from field: uniswap.liquidity.v1.Protocols protocol = 7;
|
|
799
|
+
*/
|
|
800
|
+
this.protocol = Protocols.V2;
|
|
801
|
+
proto3.util.initPartial(data, this);
|
|
802
|
+
}
|
|
803
|
+
static fromBinary(bytes, options) {
|
|
804
|
+
return new GetLPPriceDiscrepancyResponse().fromBinary(bytes, options);
|
|
805
|
+
}
|
|
806
|
+
static fromJson(jsonValue, options) {
|
|
807
|
+
return new GetLPPriceDiscrepancyResponse().fromJson(jsonValue, options);
|
|
808
|
+
}
|
|
809
|
+
static fromJsonString(jsonString, options) {
|
|
810
|
+
return new GetLPPriceDiscrepancyResponse().fromJsonString(jsonString, options);
|
|
811
|
+
}
|
|
812
|
+
static equals(a, b) {
|
|
813
|
+
return proto3.util.equals(GetLPPriceDiscrepancyResponse, a, b);
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
GetLPPriceDiscrepancyResponse.runtime = proto3;
|
|
817
|
+
GetLPPriceDiscrepancyResponse.typeName = "uniswap.liquidity.v1.GetLPPriceDiscrepancyResponse";
|
|
818
|
+
GetLPPriceDiscrepancyResponse.fields = proto3.util.newFieldList(() => [
|
|
819
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
820
|
+
{ no: 2, name: "percent_price_difference", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
821
|
+
{ no: 3, name: "status", kind: "enum", T: proto3.getEnumType(OnChainStatus) },
|
|
822
|
+
{ no: 4, name: "sqrt_ratio_x96_before", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
823
|
+
{ no: 5, name: "sqrt_ratio_x96_after", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
824
|
+
{ no: 6, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
|
|
825
|
+
{ no: 7, name: "protocol", kind: "enum", T: proto3.getEnumType(Protocols) },
|
|
826
|
+
]);
|
|
@@ -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 { BidToExit, ChainId, TransactionRequest } from "./types_pb.js";
|
|
3
|
+
import { BidToExit, ChainId, TransactionRequest, VerificationStatus } from "./types_pb.js";
|
|
4
4
|
/**
|
|
5
5
|
* REQUESTS & RESPONSES
|
|
6
6
|
*
|
|
@@ -293,3 +293,69 @@ export declare class TokenCountAllocatedToLpForAuctionResponse extends Message<T
|
|
|
293
293
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenCountAllocatedToLpForAuctionResponse;
|
|
294
294
|
static equals(a: TokenCountAllocatedToLpForAuctionResponse | PlainMessage<TokenCountAllocatedToLpForAuctionResponse> | undefined, b: TokenCountAllocatedToLpForAuctionResponse | PlainMessage<TokenCountAllocatedToLpForAuctionResponse> | undefined): boolean;
|
|
295
295
|
}
|
|
296
|
+
/**
|
|
297
|
+
* @generated from message uniswap.liquidity.v1.VerifyWalletRequest
|
|
298
|
+
*/
|
|
299
|
+
export declare class VerifyWalletRequest extends Message<VerifyWalletRequest> {
|
|
300
|
+
/**
|
|
301
|
+
* @generated from field: string wallet_address = 1;
|
|
302
|
+
*/
|
|
303
|
+
walletAddress: string;
|
|
304
|
+
/**
|
|
305
|
+
* @generated from field: string auction_address = 2;
|
|
306
|
+
*/
|
|
307
|
+
auctionAddress: string;
|
|
308
|
+
constructor(data?: PartialMessage<VerifyWalletRequest>);
|
|
309
|
+
static readonly runtime: typeof proto3;
|
|
310
|
+
static readonly typeName = "uniswap.liquidity.v1.VerifyWalletRequest";
|
|
311
|
+
static readonly fields: FieldList;
|
|
312
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyWalletRequest;
|
|
313
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyWalletRequest;
|
|
314
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyWalletRequest;
|
|
315
|
+
static equals(a: VerifyWalletRequest | PlainMessage<VerifyWalletRequest> | undefined, b: VerifyWalletRequest | PlainMessage<VerifyWalletRequest> | undefined): boolean;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* @generated from message uniswap.liquidity.v1.VerifyWalletResponse
|
|
319
|
+
*/
|
|
320
|
+
export declare class VerifyWalletResponse extends Message<VerifyWalletResponse> {
|
|
321
|
+
/**
|
|
322
|
+
* @generated from field: bool is_verified = 1;
|
|
323
|
+
*/
|
|
324
|
+
isVerified: boolean;
|
|
325
|
+
/**
|
|
326
|
+
* @generated from field: uniswap.liquidity.v1.VerificationStatus status = 2;
|
|
327
|
+
*/
|
|
328
|
+
status: VerificationStatus;
|
|
329
|
+
/**
|
|
330
|
+
* Predicate unsigned URL if not verified
|
|
331
|
+
*
|
|
332
|
+
* @generated from field: string redirect_url = 3;
|
|
333
|
+
*/
|
|
334
|
+
redirectUrl: string;
|
|
335
|
+
/**
|
|
336
|
+
* Only set if is presale and KYC verified
|
|
337
|
+
*
|
|
338
|
+
* @generated from field: optional bool is_whitelisted = 4;
|
|
339
|
+
*/
|
|
340
|
+
isWhitelisted?: boolean;
|
|
341
|
+
/**
|
|
342
|
+
* @generated from field: string failure_reason = 5;
|
|
343
|
+
*/
|
|
344
|
+
failureReason: string;
|
|
345
|
+
/**
|
|
346
|
+
* @generated from field: bool auction_has_presale = 6;
|
|
347
|
+
*/
|
|
348
|
+
auctionHasPresale: boolean;
|
|
349
|
+
/**
|
|
350
|
+
* @generated from field: bool auction_needs_verification = 7;
|
|
351
|
+
*/
|
|
352
|
+
auctionNeedsVerification: boolean;
|
|
353
|
+
constructor(data?: PartialMessage<VerifyWalletResponse>);
|
|
354
|
+
static readonly runtime: typeof proto3;
|
|
355
|
+
static readonly typeName = "uniswap.liquidity.v1.VerifyWalletResponse";
|
|
356
|
+
static readonly fields: FieldList;
|
|
357
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyWalletResponse;
|
|
358
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyWalletResponse;
|
|
359
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyWalletResponse;
|
|
360
|
+
static equals(a: VerifyWalletResponse | PlainMessage<VerifyWalletResponse> | undefined, b: VerifyWalletResponse | PlainMessage<VerifyWalletResponse> | undefined): boolean;
|
|
361
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
|
-
import { BidToExit, ChainId, TransactionRequest } from "./types_pb.js";
|
|
6
|
+
import { BidToExit, ChainId, TransactionRequest, VerificationStatus } from "./types_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* REQUESTS & RESPONSES
|
|
9
9
|
*
|
|
@@ -396,3 +396,96 @@ TokenCountAllocatedToLpForAuctionResponse.fields = proto3.util.newFieldList(() =
|
|
|
396
396
|
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
397
397
|
{ no: 2, name: "token_count_allocated_to_lp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
398
398
|
]);
|
|
399
|
+
/**
|
|
400
|
+
* @generated from message uniswap.liquidity.v1.VerifyWalletRequest
|
|
401
|
+
*/
|
|
402
|
+
export class VerifyWalletRequest extends Message {
|
|
403
|
+
constructor(data) {
|
|
404
|
+
super();
|
|
405
|
+
/**
|
|
406
|
+
* @generated from field: string wallet_address = 1;
|
|
407
|
+
*/
|
|
408
|
+
this.walletAddress = "";
|
|
409
|
+
/**
|
|
410
|
+
* @generated from field: string auction_address = 2;
|
|
411
|
+
*/
|
|
412
|
+
this.auctionAddress = "";
|
|
413
|
+
proto3.util.initPartial(data, this);
|
|
414
|
+
}
|
|
415
|
+
static fromBinary(bytes, options) {
|
|
416
|
+
return new VerifyWalletRequest().fromBinary(bytes, options);
|
|
417
|
+
}
|
|
418
|
+
static fromJson(jsonValue, options) {
|
|
419
|
+
return new VerifyWalletRequest().fromJson(jsonValue, options);
|
|
420
|
+
}
|
|
421
|
+
static fromJsonString(jsonString, options) {
|
|
422
|
+
return new VerifyWalletRequest().fromJsonString(jsonString, options);
|
|
423
|
+
}
|
|
424
|
+
static equals(a, b) {
|
|
425
|
+
return proto3.util.equals(VerifyWalletRequest, a, b);
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
VerifyWalletRequest.runtime = proto3;
|
|
429
|
+
VerifyWalletRequest.typeName = "uniswap.liquidity.v1.VerifyWalletRequest";
|
|
430
|
+
VerifyWalletRequest.fields = proto3.util.newFieldList(() => [
|
|
431
|
+
{ no: 1, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
432
|
+
{ no: 2, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
433
|
+
]);
|
|
434
|
+
/**
|
|
435
|
+
* @generated from message uniswap.liquidity.v1.VerifyWalletResponse
|
|
436
|
+
*/
|
|
437
|
+
export class VerifyWalletResponse extends Message {
|
|
438
|
+
constructor(data) {
|
|
439
|
+
super();
|
|
440
|
+
/**
|
|
441
|
+
* @generated from field: bool is_verified = 1;
|
|
442
|
+
*/
|
|
443
|
+
this.isVerified = false;
|
|
444
|
+
/**
|
|
445
|
+
* @generated from field: uniswap.liquidity.v1.VerificationStatus status = 2;
|
|
446
|
+
*/
|
|
447
|
+
this.status = VerificationStatus.UNSPECIFIED;
|
|
448
|
+
/**
|
|
449
|
+
* Predicate unsigned URL if not verified
|
|
450
|
+
*
|
|
451
|
+
* @generated from field: string redirect_url = 3;
|
|
452
|
+
*/
|
|
453
|
+
this.redirectUrl = "";
|
|
454
|
+
/**
|
|
455
|
+
* @generated from field: string failure_reason = 5;
|
|
456
|
+
*/
|
|
457
|
+
this.failureReason = "";
|
|
458
|
+
/**
|
|
459
|
+
* @generated from field: bool auction_has_presale = 6;
|
|
460
|
+
*/
|
|
461
|
+
this.auctionHasPresale = false;
|
|
462
|
+
/**
|
|
463
|
+
* @generated from field: bool auction_needs_verification = 7;
|
|
464
|
+
*/
|
|
465
|
+
this.auctionNeedsVerification = false;
|
|
466
|
+
proto3.util.initPartial(data, this);
|
|
467
|
+
}
|
|
468
|
+
static fromBinary(bytes, options) {
|
|
469
|
+
return new VerifyWalletResponse().fromBinary(bytes, options);
|
|
470
|
+
}
|
|
471
|
+
static fromJson(jsonValue, options) {
|
|
472
|
+
return new VerifyWalletResponse().fromJson(jsonValue, options);
|
|
473
|
+
}
|
|
474
|
+
static fromJsonString(jsonString, options) {
|
|
475
|
+
return new VerifyWalletResponse().fromJsonString(jsonString, options);
|
|
476
|
+
}
|
|
477
|
+
static equals(a, b) {
|
|
478
|
+
return proto3.util.equals(VerifyWalletResponse, a, b);
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
VerifyWalletResponse.runtime = proto3;
|
|
482
|
+
VerifyWalletResponse.typeName = "uniswap.liquidity.v1.VerifyWalletResponse";
|
|
483
|
+
VerifyWalletResponse.fields = proto3.util.newFieldList(() => [
|
|
484
|
+
{ no: 1, name: "is_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
485
|
+
{ no: 2, name: "status", kind: "enum", T: proto3.getEnumType(VerificationStatus) },
|
|
486
|
+
{ no: 3, name: "redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
487
|
+
{ no: 4, name: "is_whitelisted", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
488
|
+
{ no: 5, name: "failure_reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
489
|
+
{ no: 6, name: "auction_has_presale", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
490
|
+
{ no: 7, name: "auction_needs_verification", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
491
|
+
]);
|
|
@@ -130,6 +130,50 @@ export declare enum IndependentToken {
|
|
|
130
130
|
*/
|
|
131
131
|
TOKEN_1 = 1
|
|
132
132
|
}
|
|
133
|
+
/**
|
|
134
|
+
* @generated from enum uniswap.liquidity.v1.VerificationStatus
|
|
135
|
+
*/
|
|
136
|
+
export declare enum VerificationStatus {
|
|
137
|
+
/**
|
|
138
|
+
* @generated from enum value: VERIFICATION_STATUS_UNSPECIFIED = 0;
|
|
139
|
+
*/
|
|
140
|
+
UNSPECIFIED = 0,
|
|
141
|
+
/**
|
|
142
|
+
* Predicate: "verified"
|
|
143
|
+
*
|
|
144
|
+
* @generated from enum value: VERIFICATION_STATUS_VERIFIED = 1;
|
|
145
|
+
*/
|
|
146
|
+
VERIFIED = 1,
|
|
147
|
+
/**
|
|
148
|
+
* Predicate: "unknown" (no entry)
|
|
149
|
+
*
|
|
150
|
+
* @generated from enum value: VERIFICATION_STATUS_NOT_STARTED = 2;
|
|
151
|
+
*/
|
|
152
|
+
NOT_STARTED = 2,
|
|
153
|
+
/**
|
|
154
|
+
* Predicate: "not_verified"
|
|
155
|
+
*
|
|
156
|
+
* @generated from enum value: VERIFICATION_STATUS_PENDING = 3;
|
|
157
|
+
*/
|
|
158
|
+
PENDING = 3
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* @generated from enum uniswap.liquidity.v1.OnChainStatus
|
|
162
|
+
*/
|
|
163
|
+
export declare enum OnChainStatus {
|
|
164
|
+
/**
|
|
165
|
+
* @generated from enum value: ON_CHAIN_STATUS_UNSPECIFIED = 0;
|
|
166
|
+
*/
|
|
167
|
+
ON_CHAIN_STATUS_UNSPECIFIED = 0,
|
|
168
|
+
/**
|
|
169
|
+
* @generated from enum value: SUCCESS = 1;
|
|
170
|
+
*/
|
|
171
|
+
SUCCESS = 1,
|
|
172
|
+
/**
|
|
173
|
+
* @generated from enum value: FAILED = 2;
|
|
174
|
+
*/
|
|
175
|
+
FAILED = 2
|
|
176
|
+
}
|
|
133
177
|
/**
|
|
134
178
|
* CORE TYPE OBJECTS
|
|
135
179
|
*
|
|
@@ -176,6 +176,65 @@ proto3.util.setEnumType(IndependentToken, "uniswap.liquidity.v1.IndependentToken
|
|
|
176
176
|
{ no: 0, name: "TOKEN_0" },
|
|
177
177
|
{ no: 1, name: "TOKEN_1" },
|
|
178
178
|
]);
|
|
179
|
+
/**
|
|
180
|
+
* @generated from enum uniswap.liquidity.v1.VerificationStatus
|
|
181
|
+
*/
|
|
182
|
+
export var VerificationStatus;
|
|
183
|
+
(function (VerificationStatus) {
|
|
184
|
+
/**
|
|
185
|
+
* @generated from enum value: VERIFICATION_STATUS_UNSPECIFIED = 0;
|
|
186
|
+
*/
|
|
187
|
+
VerificationStatus[VerificationStatus["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
188
|
+
/**
|
|
189
|
+
* Predicate: "verified"
|
|
190
|
+
*
|
|
191
|
+
* @generated from enum value: VERIFICATION_STATUS_VERIFIED = 1;
|
|
192
|
+
*/
|
|
193
|
+
VerificationStatus[VerificationStatus["VERIFIED"] = 1] = "VERIFIED";
|
|
194
|
+
/**
|
|
195
|
+
* Predicate: "unknown" (no entry)
|
|
196
|
+
*
|
|
197
|
+
* @generated from enum value: VERIFICATION_STATUS_NOT_STARTED = 2;
|
|
198
|
+
*/
|
|
199
|
+
VerificationStatus[VerificationStatus["NOT_STARTED"] = 2] = "NOT_STARTED";
|
|
200
|
+
/**
|
|
201
|
+
* Predicate: "not_verified"
|
|
202
|
+
*
|
|
203
|
+
* @generated from enum value: VERIFICATION_STATUS_PENDING = 3;
|
|
204
|
+
*/
|
|
205
|
+
VerificationStatus[VerificationStatus["PENDING"] = 3] = "PENDING";
|
|
206
|
+
})(VerificationStatus || (VerificationStatus = {}));
|
|
207
|
+
// Retrieve enum metadata with: proto3.getEnumType(VerificationStatus)
|
|
208
|
+
proto3.util.setEnumType(VerificationStatus, "uniswap.liquidity.v1.VerificationStatus", [
|
|
209
|
+
{ no: 0, name: "VERIFICATION_STATUS_UNSPECIFIED" },
|
|
210
|
+
{ no: 1, name: "VERIFICATION_STATUS_VERIFIED" },
|
|
211
|
+
{ no: 2, name: "VERIFICATION_STATUS_NOT_STARTED" },
|
|
212
|
+
{ no: 3, name: "VERIFICATION_STATUS_PENDING" },
|
|
213
|
+
]);
|
|
214
|
+
/**
|
|
215
|
+
* @generated from enum uniswap.liquidity.v1.OnChainStatus
|
|
216
|
+
*/
|
|
217
|
+
export var OnChainStatus;
|
|
218
|
+
(function (OnChainStatus) {
|
|
219
|
+
/**
|
|
220
|
+
* @generated from enum value: ON_CHAIN_STATUS_UNSPECIFIED = 0;
|
|
221
|
+
*/
|
|
222
|
+
OnChainStatus[OnChainStatus["ON_CHAIN_STATUS_UNSPECIFIED"] = 0] = "ON_CHAIN_STATUS_UNSPECIFIED";
|
|
223
|
+
/**
|
|
224
|
+
* @generated from enum value: SUCCESS = 1;
|
|
225
|
+
*/
|
|
226
|
+
OnChainStatus[OnChainStatus["SUCCESS"] = 1] = "SUCCESS";
|
|
227
|
+
/**
|
|
228
|
+
* @generated from enum value: FAILED = 2;
|
|
229
|
+
*/
|
|
230
|
+
OnChainStatus[OnChainStatus["FAILED"] = 2] = "FAILED";
|
|
231
|
+
})(OnChainStatus || (OnChainStatus = {}));
|
|
232
|
+
// Retrieve enum metadata with: proto3.getEnumType(OnChainStatus)
|
|
233
|
+
proto3.util.setEnumType(OnChainStatus, "uniswap.liquidity.v1.OnChainStatus", [
|
|
234
|
+
{ no: 0, name: "ON_CHAIN_STATUS_UNSPECIFIED" },
|
|
235
|
+
{ no: 1, name: "SUCCESS" },
|
|
236
|
+
{ no: 2, name: "FAILED" },
|
|
237
|
+
]);
|
|
179
238
|
/**
|
|
180
239
|
* CORE TYPE OBJECTS
|
|
181
240
|
*
|