@uniswap/client-liquidity 0.0.6 → 0.0.9
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 +29 -1
- package/dist/uniswap/liquidity/v1/api-LiquidityService_connectquery.js +30 -2
- package/dist/uniswap/liquidity/v1/api_connect.d.ts +21 -1
- package/dist/uniswap/liquidity/v1/api_connect.js +22 -2
- package/dist/uniswap/liquidity/v1/api_pb.d.ts +217 -1
- package/dist/uniswap/liquidity/v1/api_pb.js +220 -2
- package/dist/uniswap/liquidity/v1/auction-AuctionService_connectquery.js +1 -1
- package/dist/uniswap/liquidity/v1/auction_connect.js +1 -1
- package/dist/uniswap/liquidity/v1/auction_pb.js +1 -1
- package/dist/uniswap/liquidity/v1/types_pb.d.ts +557 -0
- package/dist/uniswap/liquidity/v1/types_pb.js +532 -1
- package/package.json +1 -1
|
@@ -940,3 +940,560 @@ export declare class V4CreateLPPosition extends Message<V4CreateLPPosition> {
|
|
|
940
940
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4CreateLPPosition;
|
|
941
941
|
static equals(a: V4CreateLPPosition | PlainMessage<V4CreateLPPosition> | undefined, b: V4CreateLPPosition | PlainMessage<V4CreateLPPosition> | undefined): boolean;
|
|
942
942
|
}
|
|
943
|
+
/**
|
|
944
|
+
* @generated from message uniswap.liquidity.v1.PoolInformation
|
|
945
|
+
*/
|
|
946
|
+
export declare class PoolInformation extends Message<PoolInformation> {
|
|
947
|
+
/**
|
|
948
|
+
* @generated from field: string pool_reference_identifier = 1;
|
|
949
|
+
*/
|
|
950
|
+
poolReferenceIdentifier: string;
|
|
951
|
+
/**
|
|
952
|
+
* @generated from field: uniswap.liquidity.v1.Protocols pool_protocol = 2;
|
|
953
|
+
*/
|
|
954
|
+
poolProtocol: Protocols;
|
|
955
|
+
/**
|
|
956
|
+
* @generated from field: string token_address_A = 3;
|
|
957
|
+
*/
|
|
958
|
+
tokenAddressA: string;
|
|
959
|
+
/**
|
|
960
|
+
* @generated from field: string token_address_B = 4;
|
|
961
|
+
*/
|
|
962
|
+
tokenAddressB: string;
|
|
963
|
+
/**
|
|
964
|
+
* @generated from field: optional int32 tick_spacing = 5;
|
|
965
|
+
*/
|
|
966
|
+
tickSpacing?: number;
|
|
967
|
+
/**
|
|
968
|
+
* @generated from field: optional int32 fee = 6;
|
|
969
|
+
*/
|
|
970
|
+
fee?: number;
|
|
971
|
+
/**
|
|
972
|
+
* @generated from field: optional string hook_address = 7;
|
|
973
|
+
*/
|
|
974
|
+
hookAddress?: string;
|
|
975
|
+
/**
|
|
976
|
+
* @generated from field: int32 chain_id = 8;
|
|
977
|
+
*/
|
|
978
|
+
chainId: number;
|
|
979
|
+
/**
|
|
980
|
+
* @generated from field: optional string token_amount_A = 9;
|
|
981
|
+
*/
|
|
982
|
+
tokenAmountA?: string;
|
|
983
|
+
/**
|
|
984
|
+
* @generated from field: optional string token_amount_B = 10;
|
|
985
|
+
*/
|
|
986
|
+
tokenAmountB?: string;
|
|
987
|
+
/**
|
|
988
|
+
* @generated from field: string token_decimals_A = 11;
|
|
989
|
+
*/
|
|
990
|
+
tokenDecimalsA: string;
|
|
991
|
+
/**
|
|
992
|
+
* @generated from field: string token_decimals_B = 12;
|
|
993
|
+
*/
|
|
994
|
+
tokenDecimalsB: string;
|
|
995
|
+
/**
|
|
996
|
+
* @generated from field: optional string pool_liquidity = 13;
|
|
997
|
+
*/
|
|
998
|
+
poolLiquidity?: string;
|
|
999
|
+
/**
|
|
1000
|
+
* @generated from field: optional string sqrt_ratio_x96 = 14;
|
|
1001
|
+
*/
|
|
1002
|
+
sqrtRatioX96?: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* @generated from field: optional int32 current_tick = 15;
|
|
1005
|
+
*/
|
|
1006
|
+
currentTick?: number;
|
|
1007
|
+
/**
|
|
1008
|
+
* @generated from field: optional string token_0_reserves = 16;
|
|
1009
|
+
*/
|
|
1010
|
+
token0Reserves?: string;
|
|
1011
|
+
/**
|
|
1012
|
+
* @generated from field: optional string token_1_reserves = 17;
|
|
1013
|
+
*/
|
|
1014
|
+
token1Reserves?: string;
|
|
1015
|
+
constructor(data?: PartialMessage<PoolInformation>);
|
|
1016
|
+
static readonly runtime: typeof proto3;
|
|
1017
|
+
static readonly typeName = "uniswap.liquidity.v1.PoolInformation";
|
|
1018
|
+
static readonly fields: FieldList;
|
|
1019
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolInformation;
|
|
1020
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolInformation;
|
|
1021
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolInformation;
|
|
1022
|
+
static equals(a: PoolInformation | PlainMessage<PoolInformation> | undefined, b: PoolInformation | PlainMessage<PoolInformation> | undefined): boolean;
|
|
1023
|
+
}
|
|
1024
|
+
/**
|
|
1025
|
+
* @generated from message uniswap.liquidity.v1.PoolReferenceByProtocol
|
|
1026
|
+
*/
|
|
1027
|
+
export declare class PoolReferenceByProtocol extends Message<PoolReferenceByProtocol> {
|
|
1028
|
+
/**
|
|
1029
|
+
* @generated from field: string reference_identifier = 1;
|
|
1030
|
+
*/
|
|
1031
|
+
referenceIdentifier: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* @generated from field: uniswap.liquidity.v1.Protocols protocol = 2;
|
|
1034
|
+
*/
|
|
1035
|
+
protocol: Protocols;
|
|
1036
|
+
/**
|
|
1037
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 3;
|
|
1038
|
+
*/
|
|
1039
|
+
chainId: ChainId;
|
|
1040
|
+
constructor(data?: PartialMessage<PoolReferenceByProtocol>);
|
|
1041
|
+
static readonly runtime: typeof proto3;
|
|
1042
|
+
static readonly typeName = "uniswap.liquidity.v1.PoolReferenceByProtocol";
|
|
1043
|
+
static readonly fields: FieldList;
|
|
1044
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolReferenceByProtocol;
|
|
1045
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolReferenceByProtocol;
|
|
1046
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolReferenceByProtocol;
|
|
1047
|
+
static equals(a: PoolReferenceByProtocol | PlainMessage<PoolReferenceByProtocol> | undefined, b: PoolReferenceByProtocol | PlainMessage<PoolReferenceByProtocol> | undefined): boolean;
|
|
1048
|
+
}
|
|
1049
|
+
/**
|
|
1050
|
+
* @generated from message uniswap.liquidity.v1.PoolParameters
|
|
1051
|
+
*/
|
|
1052
|
+
export declare class PoolParameters extends Message<PoolParameters> {
|
|
1053
|
+
/**
|
|
1054
|
+
* @generated from field: string token_address_A = 2;
|
|
1055
|
+
*/
|
|
1056
|
+
tokenAddressA: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* @generated from field: string token_address_B = 3;
|
|
1059
|
+
*/
|
|
1060
|
+
tokenAddressB: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* @generated from field: optional int32 tick_spacing = 4;
|
|
1063
|
+
*/
|
|
1064
|
+
tickSpacing?: number;
|
|
1065
|
+
/**
|
|
1066
|
+
* @generated from field: optional int32 fee = 5;
|
|
1067
|
+
*/
|
|
1068
|
+
fee?: number;
|
|
1069
|
+
/**
|
|
1070
|
+
* @generated from field: optional string hook_address = 6;
|
|
1071
|
+
*/
|
|
1072
|
+
hookAddress?: string;
|
|
1073
|
+
constructor(data?: PartialMessage<PoolParameters>);
|
|
1074
|
+
static readonly runtime: typeof proto3;
|
|
1075
|
+
static readonly typeName = "uniswap.liquidity.v1.PoolParameters";
|
|
1076
|
+
static readonly fields: FieldList;
|
|
1077
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolParameters;
|
|
1078
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolParameters;
|
|
1079
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolParameters;
|
|
1080
|
+
static equals(a: PoolParameters | PlainMessage<PoolParameters> | undefined, b: PoolParameters | PlainMessage<PoolParameters> | undefined): boolean;
|
|
1081
|
+
}
|
|
1082
|
+
/**
|
|
1083
|
+
* @generated from message uniswap.liquidity.v1.V2IncreaseLPPosition
|
|
1084
|
+
*/
|
|
1085
|
+
export declare class V2IncreaseLPPosition extends Message<V2IncreaseLPPosition> {
|
|
1086
|
+
/**
|
|
1087
|
+
* @generated from field: uniswap.liquidity.v1.Protocols protocols = 1;
|
|
1088
|
+
*/
|
|
1089
|
+
protocols: Protocols;
|
|
1090
|
+
/**
|
|
1091
|
+
* @generated from field: uniswap.liquidity.v1.V2Position position = 2;
|
|
1092
|
+
*/
|
|
1093
|
+
position?: V2Position;
|
|
1094
|
+
/**
|
|
1095
|
+
* @generated from field: string wallet_address = 3;
|
|
1096
|
+
*/
|
|
1097
|
+
walletAddress: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 4;
|
|
1100
|
+
*/
|
|
1101
|
+
chainId: ChainId;
|
|
1102
|
+
/**
|
|
1103
|
+
* @generated from field: optional string amount0 = 5;
|
|
1104
|
+
*/
|
|
1105
|
+
amount0?: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* @generated from field: optional string amount1 = 6;
|
|
1108
|
+
*/
|
|
1109
|
+
amount1?: string;
|
|
1110
|
+
/**
|
|
1111
|
+
* @generated from field: optional string independentAmount = 7;
|
|
1112
|
+
*/
|
|
1113
|
+
independentAmount?: string;
|
|
1114
|
+
/**
|
|
1115
|
+
* @generated from field: optional uniswap.liquidity.v1.IndependentToken independent_token = 8;
|
|
1116
|
+
*/
|
|
1117
|
+
independentToken?: IndependentToken;
|
|
1118
|
+
/**
|
|
1119
|
+
* @generated from field: optional string default_dependent_amount = 9;
|
|
1120
|
+
*/
|
|
1121
|
+
defaultDependentAmount?: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* @generated from field: optional int32 slippage_tolerance = 10;
|
|
1124
|
+
*/
|
|
1125
|
+
slippageTolerance?: number;
|
|
1126
|
+
/**
|
|
1127
|
+
* @generated from field: optional int32 deadline = 11;
|
|
1128
|
+
*/
|
|
1129
|
+
deadline?: number;
|
|
1130
|
+
/**
|
|
1131
|
+
* @generated from field: bool simulate_transaction = 12;
|
|
1132
|
+
*/
|
|
1133
|
+
simulateTransaction: boolean;
|
|
1134
|
+
constructor(data?: PartialMessage<V2IncreaseLPPosition>);
|
|
1135
|
+
static readonly runtime: typeof proto3;
|
|
1136
|
+
static readonly typeName = "uniswap.liquidity.v1.V2IncreaseLPPosition";
|
|
1137
|
+
static readonly fields: FieldList;
|
|
1138
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2IncreaseLPPosition;
|
|
1139
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2IncreaseLPPosition;
|
|
1140
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2IncreaseLPPosition;
|
|
1141
|
+
static equals(a: V2IncreaseLPPosition | PlainMessage<V2IncreaseLPPosition> | undefined, b: V2IncreaseLPPosition | PlainMessage<V2IncreaseLPPosition> | undefined): boolean;
|
|
1142
|
+
}
|
|
1143
|
+
/**
|
|
1144
|
+
* @generated from message uniswap.liquidity.v1.V3IncreaseLPPosition
|
|
1145
|
+
*/
|
|
1146
|
+
export declare class V3IncreaseLPPosition extends Message<V3IncreaseLPPosition> {
|
|
1147
|
+
/**
|
|
1148
|
+
* @generated from field: uniswap.liquidity.v1.Protocols protocols = 1;
|
|
1149
|
+
*/
|
|
1150
|
+
protocols: Protocols;
|
|
1151
|
+
/**
|
|
1152
|
+
* @generated from field: int32 tokenId = 2;
|
|
1153
|
+
*/
|
|
1154
|
+
tokenId: number;
|
|
1155
|
+
/**
|
|
1156
|
+
* @generated from field: uniswap.liquidity.v1.V3Position position = 3;
|
|
1157
|
+
*/
|
|
1158
|
+
position?: V3Position;
|
|
1159
|
+
/**
|
|
1160
|
+
* @generated from field: string wallet_address = 4;
|
|
1161
|
+
*/
|
|
1162
|
+
walletAddress: string;
|
|
1163
|
+
/**
|
|
1164
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 5;
|
|
1165
|
+
*/
|
|
1166
|
+
chainId: ChainId;
|
|
1167
|
+
/**
|
|
1168
|
+
* @generated from field: optional string amount0 = 6;
|
|
1169
|
+
*/
|
|
1170
|
+
amount0?: string;
|
|
1171
|
+
/**
|
|
1172
|
+
* @generated from field: optional string amount1 = 7;
|
|
1173
|
+
*/
|
|
1174
|
+
amount1?: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* @generated from field: optional string independentAmount = 8;
|
|
1177
|
+
*/
|
|
1178
|
+
independentAmount?: string;
|
|
1179
|
+
/**
|
|
1180
|
+
* @generated from field: optional uniswap.liquidity.v1.IndependentToken independent_token = 9;
|
|
1181
|
+
*/
|
|
1182
|
+
independentToken?: IndependentToken;
|
|
1183
|
+
/**
|
|
1184
|
+
* @generated from field: optional string pool_liquidity = 10;
|
|
1185
|
+
*/
|
|
1186
|
+
poolLiquidity?: string;
|
|
1187
|
+
/**
|
|
1188
|
+
* @generated from field: optional sint32 current_tick = 11;
|
|
1189
|
+
*/
|
|
1190
|
+
currentTick?: number;
|
|
1191
|
+
/**
|
|
1192
|
+
* @generated from field: optional string sqrtRatioX96 = 12;
|
|
1193
|
+
*/
|
|
1194
|
+
sqrtRatioX96?: string;
|
|
1195
|
+
/**
|
|
1196
|
+
* @generated from field: optional int32 slippage_tolerance = 14;
|
|
1197
|
+
*/
|
|
1198
|
+
slippageTolerance?: number;
|
|
1199
|
+
/**
|
|
1200
|
+
* @generated from field: optional int32 deadline = 15;
|
|
1201
|
+
*/
|
|
1202
|
+
deadline?: number;
|
|
1203
|
+
/**
|
|
1204
|
+
* @generated from field: bool simulate_transaction = 16;
|
|
1205
|
+
*/
|
|
1206
|
+
simulateTransaction: boolean;
|
|
1207
|
+
constructor(data?: PartialMessage<V3IncreaseLPPosition>);
|
|
1208
|
+
static readonly runtime: typeof proto3;
|
|
1209
|
+
static readonly typeName = "uniswap.liquidity.v1.V3IncreaseLPPosition";
|
|
1210
|
+
static readonly fields: FieldList;
|
|
1211
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3IncreaseLPPosition;
|
|
1212
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3IncreaseLPPosition;
|
|
1213
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3IncreaseLPPosition;
|
|
1214
|
+
static equals(a: V3IncreaseLPPosition | PlainMessage<V3IncreaseLPPosition> | undefined, b: V3IncreaseLPPosition | PlainMessage<V3IncreaseLPPosition> | undefined): boolean;
|
|
1215
|
+
}
|
|
1216
|
+
/**
|
|
1217
|
+
* @generated from message uniswap.liquidity.v1.V4IncreaseLPPosition
|
|
1218
|
+
*/
|
|
1219
|
+
export declare class V4IncreaseLPPosition extends Message<V4IncreaseLPPosition> {
|
|
1220
|
+
/**
|
|
1221
|
+
* @generated from field: uniswap.liquidity.v1.Protocols protocols = 1;
|
|
1222
|
+
*/
|
|
1223
|
+
protocols: Protocols;
|
|
1224
|
+
/**
|
|
1225
|
+
* @generated from field: int32 tokenId = 2;
|
|
1226
|
+
*/
|
|
1227
|
+
tokenId: number;
|
|
1228
|
+
/**
|
|
1229
|
+
* @generated from field: uniswap.liquidity.v1.V4Position position = 3;
|
|
1230
|
+
*/
|
|
1231
|
+
position?: V4Position;
|
|
1232
|
+
/**
|
|
1233
|
+
* @generated from field: string wallet_address = 4;
|
|
1234
|
+
*/
|
|
1235
|
+
walletAddress: string;
|
|
1236
|
+
/**
|
|
1237
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 5;
|
|
1238
|
+
*/
|
|
1239
|
+
chainId: ChainId;
|
|
1240
|
+
/**
|
|
1241
|
+
* @generated from field: optional string amount0 = 6;
|
|
1242
|
+
*/
|
|
1243
|
+
amount0?: string;
|
|
1244
|
+
/**
|
|
1245
|
+
* @generated from field: optional string amount1 = 7;
|
|
1246
|
+
*/
|
|
1247
|
+
amount1?: string;
|
|
1248
|
+
/**
|
|
1249
|
+
* @generated from field: optional string independentAmount = 8;
|
|
1250
|
+
*/
|
|
1251
|
+
independentAmount?: string;
|
|
1252
|
+
/**
|
|
1253
|
+
* @generated from field: optional uniswap.liquidity.v1.IndependentToken independent_token = 9;
|
|
1254
|
+
*/
|
|
1255
|
+
independentToken?: IndependentToken;
|
|
1256
|
+
/**
|
|
1257
|
+
* @generated from field: optional string pool_liquidity = 10;
|
|
1258
|
+
*/
|
|
1259
|
+
poolLiquidity?: string;
|
|
1260
|
+
/**
|
|
1261
|
+
* @generated from field: optional sint32 current_tick = 11;
|
|
1262
|
+
*/
|
|
1263
|
+
currentTick?: number;
|
|
1264
|
+
/**
|
|
1265
|
+
* @generated from field: optional string sqrtRatioX96 = 12;
|
|
1266
|
+
*/
|
|
1267
|
+
sqrtRatioX96?: string;
|
|
1268
|
+
/**
|
|
1269
|
+
* @generated from field: optional int32 slippage_tolerance = 14;
|
|
1270
|
+
*/
|
|
1271
|
+
slippageTolerance?: number;
|
|
1272
|
+
/**
|
|
1273
|
+
* @generated from field: optional int32 deadline = 15;
|
|
1274
|
+
*/
|
|
1275
|
+
deadline?: number;
|
|
1276
|
+
/**
|
|
1277
|
+
* @generated from field: bool simulate_transaction = 16;
|
|
1278
|
+
*/
|
|
1279
|
+
simulateTransaction: boolean;
|
|
1280
|
+
/**
|
|
1281
|
+
* @generated from field: optional string signature = 17;
|
|
1282
|
+
*/
|
|
1283
|
+
signature?: string;
|
|
1284
|
+
/**
|
|
1285
|
+
* @generated from field: optional uniswap.liquidity.v1.PermitBatchData batchPermitData = 18;
|
|
1286
|
+
*/
|
|
1287
|
+
batchPermitData?: PermitBatchData;
|
|
1288
|
+
constructor(data?: PartialMessage<V4IncreaseLPPosition>);
|
|
1289
|
+
static readonly runtime: typeof proto3;
|
|
1290
|
+
static readonly typeName = "uniswap.liquidity.v1.V4IncreaseLPPosition";
|
|
1291
|
+
static readonly fields: FieldList;
|
|
1292
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4IncreaseLPPosition;
|
|
1293
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4IncreaseLPPosition;
|
|
1294
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4IncreaseLPPosition;
|
|
1295
|
+
static equals(a: V4IncreaseLPPosition | PlainMessage<V4IncreaseLPPosition> | undefined, b: V4IncreaseLPPosition | PlainMessage<V4IncreaseLPPosition> | undefined): boolean;
|
|
1296
|
+
}
|
|
1297
|
+
/**
|
|
1298
|
+
* @generated from message uniswap.liquidity.v1.V2DecreaseLPPosition
|
|
1299
|
+
*/
|
|
1300
|
+
export declare class V2DecreaseLPPosition extends Message<V2DecreaseLPPosition> {
|
|
1301
|
+
/**
|
|
1302
|
+
* @generated from field: uniswap.liquidity.v1.Protocols protocol = 1;
|
|
1303
|
+
*/
|
|
1304
|
+
protocol: Protocols;
|
|
1305
|
+
/**
|
|
1306
|
+
* @generated from field: uniswap.liquidity.v1.V2Position position = 2;
|
|
1307
|
+
*/
|
|
1308
|
+
position?: V2Position;
|
|
1309
|
+
/**
|
|
1310
|
+
* @generated from field: string wallet_address = 3;
|
|
1311
|
+
*/
|
|
1312
|
+
walletAddress: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 4;
|
|
1315
|
+
*/
|
|
1316
|
+
chainId: ChainId;
|
|
1317
|
+
/**
|
|
1318
|
+
* @generated from field: string positionLiquidity = 5;
|
|
1319
|
+
*/
|
|
1320
|
+
positionLiquidity: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* @generated from field: int32 liquidityPercentageToDecrease = 6;
|
|
1323
|
+
*/
|
|
1324
|
+
liquidityPercentageToDecrease: number;
|
|
1325
|
+
/**
|
|
1326
|
+
* @generated from field: string liquidity0 = 7;
|
|
1327
|
+
*/
|
|
1328
|
+
liquidity0: string;
|
|
1329
|
+
/**
|
|
1330
|
+
* @generated from field: string liquidity1 = 8;
|
|
1331
|
+
*/
|
|
1332
|
+
liquidity1: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* @generated from field: bool collectAsWETH = 10;
|
|
1335
|
+
*/
|
|
1336
|
+
collectAsWETH: boolean;
|
|
1337
|
+
/**
|
|
1338
|
+
* @generated from field: optional bool simulate_transaction = 11;
|
|
1339
|
+
*/
|
|
1340
|
+
simulateTransaction?: boolean;
|
|
1341
|
+
/**
|
|
1342
|
+
* @generated from field: optional int32 slippage_tolerance = 12;
|
|
1343
|
+
*/
|
|
1344
|
+
slippageTolerance?: number;
|
|
1345
|
+
/**
|
|
1346
|
+
* @generated from field: optional int32 deadline = 13;
|
|
1347
|
+
*/
|
|
1348
|
+
deadline?: number;
|
|
1349
|
+
constructor(data?: PartialMessage<V2DecreaseLPPosition>);
|
|
1350
|
+
static readonly runtime: typeof proto3;
|
|
1351
|
+
static readonly typeName = "uniswap.liquidity.v1.V2DecreaseLPPosition";
|
|
1352
|
+
static readonly fields: FieldList;
|
|
1353
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V2DecreaseLPPosition;
|
|
1354
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V2DecreaseLPPosition;
|
|
1355
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V2DecreaseLPPosition;
|
|
1356
|
+
static equals(a: V2DecreaseLPPosition | PlainMessage<V2DecreaseLPPosition> | undefined, b: V2DecreaseLPPosition | PlainMessage<V2DecreaseLPPosition> | undefined): boolean;
|
|
1357
|
+
}
|
|
1358
|
+
/**
|
|
1359
|
+
* @generated from message uniswap.liquidity.v1.V3DecreaseLPPosition
|
|
1360
|
+
*/
|
|
1361
|
+
export declare class V3DecreaseLPPosition extends Message<V3DecreaseLPPosition> {
|
|
1362
|
+
/**
|
|
1363
|
+
* @generated from field: uniswap.liquidity.v1.Protocols protocol = 1;
|
|
1364
|
+
*/
|
|
1365
|
+
protocol: Protocols;
|
|
1366
|
+
/**
|
|
1367
|
+
* @generated from field: int32 tokenId = 2;
|
|
1368
|
+
*/
|
|
1369
|
+
tokenId: number;
|
|
1370
|
+
/**
|
|
1371
|
+
* @generated from field: uniswap.liquidity.v1.V3Position position = 3;
|
|
1372
|
+
*/
|
|
1373
|
+
position?: V3Position;
|
|
1374
|
+
/**
|
|
1375
|
+
* @generated from field: string wallet_address = 4;
|
|
1376
|
+
*/
|
|
1377
|
+
walletAddress: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 5;
|
|
1380
|
+
*/
|
|
1381
|
+
chainId: ChainId;
|
|
1382
|
+
/**
|
|
1383
|
+
* @generated from field: string liquidityPercentageToDecrease = 7;
|
|
1384
|
+
*/
|
|
1385
|
+
liquidityPercentageToDecrease: string;
|
|
1386
|
+
/**
|
|
1387
|
+
* @generated from field: optional string poolLiquidity = 8;
|
|
1388
|
+
*/
|
|
1389
|
+
poolLiquidity?: string;
|
|
1390
|
+
/**
|
|
1391
|
+
* @generated from field: optional int32 current_tick = 9;
|
|
1392
|
+
*/
|
|
1393
|
+
currentTick?: number;
|
|
1394
|
+
/**
|
|
1395
|
+
* @generated from field: optional string sqrtRatioX96 = 10;
|
|
1396
|
+
*/
|
|
1397
|
+
sqrtRatioX96?: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* @generated from field: string positionLiquidity = 11;
|
|
1400
|
+
*/
|
|
1401
|
+
positionLiquidity: string;
|
|
1402
|
+
/**
|
|
1403
|
+
* @generated from field: string expectedTokenOwed0RawAmount = 12;
|
|
1404
|
+
*/
|
|
1405
|
+
expectedTokenOwed0RawAmount: string;
|
|
1406
|
+
/**
|
|
1407
|
+
* @generated from field: string expectedTokenOwed1RawAmount = 13;
|
|
1408
|
+
*/
|
|
1409
|
+
expectedTokenOwed1RawAmount: string;
|
|
1410
|
+
/**
|
|
1411
|
+
* @generated from field: bool collectAsWETH = 14;
|
|
1412
|
+
*/
|
|
1413
|
+
collectAsWETH: boolean;
|
|
1414
|
+
/**
|
|
1415
|
+
* @generated from field: optional bool simulate_transaction = 15;
|
|
1416
|
+
*/
|
|
1417
|
+
simulateTransaction?: boolean;
|
|
1418
|
+
/**
|
|
1419
|
+
* @generated from field: optional int32 slippage_tolerance = 16;
|
|
1420
|
+
*/
|
|
1421
|
+
slippageTolerance?: number;
|
|
1422
|
+
/**
|
|
1423
|
+
* @generated from field: optional int32 deadline = 17;
|
|
1424
|
+
*/
|
|
1425
|
+
deadline?: number;
|
|
1426
|
+
constructor(data?: PartialMessage<V3DecreaseLPPosition>);
|
|
1427
|
+
static readonly runtime: typeof proto3;
|
|
1428
|
+
static readonly typeName = "uniswap.liquidity.v1.V3DecreaseLPPosition";
|
|
1429
|
+
static readonly fields: FieldList;
|
|
1430
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V3DecreaseLPPosition;
|
|
1431
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V3DecreaseLPPosition;
|
|
1432
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V3DecreaseLPPosition;
|
|
1433
|
+
static equals(a: V3DecreaseLPPosition | PlainMessage<V3DecreaseLPPosition> | undefined, b: V3DecreaseLPPosition | PlainMessage<V3DecreaseLPPosition> | undefined): boolean;
|
|
1434
|
+
}
|
|
1435
|
+
/**
|
|
1436
|
+
* @generated from message uniswap.liquidity.v1.V4DecreaseLPPosition
|
|
1437
|
+
*/
|
|
1438
|
+
export declare class V4DecreaseLPPosition extends Message<V4DecreaseLPPosition> {
|
|
1439
|
+
/**
|
|
1440
|
+
* @generated from field: uniswap.liquidity.v1.Protocols protocol = 1;
|
|
1441
|
+
*/
|
|
1442
|
+
protocol: Protocols;
|
|
1443
|
+
/**
|
|
1444
|
+
* @generated from field: int32 tokenId = 2;
|
|
1445
|
+
*/
|
|
1446
|
+
tokenId: number;
|
|
1447
|
+
/**
|
|
1448
|
+
* @generated from field: uniswap.liquidity.v1.V4Position position = 3;
|
|
1449
|
+
*/
|
|
1450
|
+
position?: V4Position;
|
|
1451
|
+
/**
|
|
1452
|
+
* @generated from field: string wallet_address = 4;
|
|
1453
|
+
*/
|
|
1454
|
+
walletAddress: string;
|
|
1455
|
+
/**
|
|
1456
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 5;
|
|
1457
|
+
*/
|
|
1458
|
+
chainId: ChainId;
|
|
1459
|
+
/**
|
|
1460
|
+
* @generated from field: int32 liquidityPercentageToDecrease = 6;
|
|
1461
|
+
*/
|
|
1462
|
+
liquidityPercentageToDecrease: number;
|
|
1463
|
+
/**
|
|
1464
|
+
* @generated from field: optional string poolLiquidity = 7;
|
|
1465
|
+
*/
|
|
1466
|
+
poolLiquidity?: string;
|
|
1467
|
+
/**
|
|
1468
|
+
* @generated from field: optional int32 current_tick = 8;
|
|
1469
|
+
*/
|
|
1470
|
+
currentTick?: number;
|
|
1471
|
+
/**
|
|
1472
|
+
* @generated from field: optional string sqrtRatioX96 = 9;
|
|
1473
|
+
*/
|
|
1474
|
+
sqrtRatioX96?: string;
|
|
1475
|
+
/**
|
|
1476
|
+
* @generated from field: string positionLiquidity = 10;
|
|
1477
|
+
*/
|
|
1478
|
+
positionLiquidity: string;
|
|
1479
|
+
/**
|
|
1480
|
+
* @generated from field: optional bool simulate_transaction = 11;
|
|
1481
|
+
*/
|
|
1482
|
+
simulateTransaction?: boolean;
|
|
1483
|
+
/**
|
|
1484
|
+
* @generated from field: optional int32 slippage_tolerance = 12;
|
|
1485
|
+
*/
|
|
1486
|
+
slippageTolerance?: number;
|
|
1487
|
+
/**
|
|
1488
|
+
* @generated from field: optional int32 deadline = 13;
|
|
1489
|
+
*/
|
|
1490
|
+
deadline?: number;
|
|
1491
|
+
constructor(data?: PartialMessage<V4DecreaseLPPosition>);
|
|
1492
|
+
static readonly runtime: typeof proto3;
|
|
1493
|
+
static readonly typeName = "uniswap.liquidity.v1.V4DecreaseLPPosition";
|
|
1494
|
+
static readonly fields: FieldList;
|
|
1495
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): V4DecreaseLPPosition;
|
|
1496
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): V4DecreaseLPPosition;
|
|
1497
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): V4DecreaseLPPosition;
|
|
1498
|
+
static equals(a: V4DecreaseLPPosition | PlainMessage<V4DecreaseLPPosition> | undefined, b: V4DecreaseLPPosition | PlainMessage<V4DecreaseLPPosition> | undefined): boolean;
|
|
1499
|
+
}
|