@uniswap/client-liquidity 1.3.5 → 1.3.6
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.
|
@@ -706,7 +706,8 @@ export declare class PoolConfig extends Message<PoolConfig> {
|
|
|
706
706
|
poolOwner: string;
|
|
707
707
|
/**
|
|
708
708
|
* Optional. When present, the migrated LP positions are owned by a per-launch
|
|
709
|
-
* position-recipient contract
|
|
709
|
+
* position-recipient contract (or, for BURN, by the burn address) instead of
|
|
710
|
+
* pool_owner. Absent = no lock.
|
|
710
711
|
*
|
|
711
712
|
* @generated from field: uniswap.liquidity.v1.LiquidityLockConfig liquidity_lock = 8;
|
|
712
713
|
*/
|
|
@@ -721,16 +722,17 @@ export declare class PoolConfig extends Message<PoolConfig> {
|
|
|
721
722
|
static equals(a: PoolConfig | PlainMessage<PoolConfig> | undefined, b: PoolConfig | PlainMessage<PoolConfig> | undefined): boolean;
|
|
722
723
|
}
|
|
723
724
|
/**
|
|
724
|
-
* Locks the migrated LP positions in a per-launch position-recipient contract
|
|
725
|
-
* oneof selects the recipient type; each variant
|
|
726
|
-
* so a parameter can never be set for the wrong mode.
|
|
725
|
+
* Locks the migrated LP positions in a per-launch position-recipient contract (or burns
|
|
726
|
+
* them outright — see BurnLock). The `mode` oneof selects the recipient type; each variant
|
|
727
|
+
* carries only the fields that apply to it, so a parameter can never be set for the wrong mode.
|
|
727
728
|
*
|
|
728
729
|
* @generated from message uniswap.liquidity.v1.LiquidityLockConfig
|
|
729
730
|
*/
|
|
730
731
|
export declare class LiquidityLockConfig extends Message<LiquidityLockConfig> {
|
|
731
732
|
/**
|
|
732
733
|
* Absolute unix seconds when the lock expires; the backend converts this to a block number.
|
|
733
|
-
* Applies to every mode — all recipients hold the LP until this block.
|
|
734
|
+
* Applies to every contract-held mode — all recipients hold the LP until this block.
|
|
735
|
+
* Must be UNSET (0) for BURN: a burned position can never be unlocked.
|
|
734
736
|
*
|
|
735
737
|
* @generated from field: uint64 unlock_time_unix = 1;
|
|
736
738
|
*/
|
|
@@ -756,6 +758,12 @@ export declare class LiquidityLockConfig extends Message<LiquidityLockConfig> {
|
|
|
756
758
|
*/
|
|
757
759
|
value: BuybackBurnLock;
|
|
758
760
|
case: "buybackBurn";
|
|
761
|
+
} | {
|
|
762
|
+
/**
|
|
763
|
+
* @generated from field: uniswap.liquidity.v1.BurnLock burn = 5;
|
|
764
|
+
*/
|
|
765
|
+
value: BurnLock;
|
|
766
|
+
case: "burn";
|
|
759
767
|
} | {
|
|
760
768
|
case: undefined;
|
|
761
769
|
value?: undefined;
|
|
@@ -825,6 +833,26 @@ export declare class BuybackBurnLock extends Message<BuybackBurnLock> {
|
|
|
825
833
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BuybackBurnLock;
|
|
826
834
|
static equals(a: BuybackBurnLock | PlainMessage<BuybackBurnLock> | undefined, b: BuybackBurnLock | PlainMessage<BuybackBurnLock> | undefined): boolean;
|
|
827
835
|
}
|
|
836
|
+
/**
|
|
837
|
+
* Permanently burns the migrated LP position: on successful graduation it is minted directly
|
|
838
|
+
* to the burn address (0x000000000000000000000000000000000000dEaD) — no per-launch recipient
|
|
839
|
+
* contract is deployed and the position can never be withdrawn. Only the migrated LP position
|
|
840
|
+
* is affected: the auction tokensRecipient, the failure-recovery recipient, and pool_owner
|
|
841
|
+
* semantics are unchanged (the creator keeps them), so a failed (non-graduated) auction
|
|
842
|
+
* returns funds to the creator instead of burning them.
|
|
843
|
+
*
|
|
844
|
+
* @generated from message uniswap.liquidity.v1.BurnLock
|
|
845
|
+
*/
|
|
846
|
+
export declare class BurnLock extends Message<BurnLock> {
|
|
847
|
+
constructor(data?: PartialMessage<BurnLock>);
|
|
848
|
+
static readonly runtime: typeof proto3;
|
|
849
|
+
static readonly typeName = "uniswap.liquidity.v1.BurnLock";
|
|
850
|
+
static readonly fields: FieldList;
|
|
851
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BurnLock;
|
|
852
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BurnLock;
|
|
853
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BurnLock;
|
|
854
|
+
static equals(a: BurnLock | PlainMessage<BurnLock> | undefined, b: BurnLock | PlainMessage<BurnLock> | undefined): boolean;
|
|
855
|
+
}
|
|
828
856
|
/**
|
|
829
857
|
* @generated from message uniswap.liquidity.v1.CustomPriceRange
|
|
830
858
|
*/
|
|
@@ -972,9 +972,9 @@ PoolConfig.fields = proto3.util.newFieldList(() => [
|
|
|
972
972
|
{ no: 8, name: "liquidity_lock", kind: "message", T: LiquidityLockConfig },
|
|
973
973
|
]);
|
|
974
974
|
/**
|
|
975
|
-
* Locks the migrated LP positions in a per-launch position-recipient contract
|
|
976
|
-
* oneof selects the recipient type; each variant
|
|
977
|
-
* so a parameter can never be set for the wrong mode.
|
|
975
|
+
* Locks the migrated LP positions in a per-launch position-recipient contract (or burns
|
|
976
|
+
* them outright — see BurnLock). The `mode` oneof selects the recipient type; each variant
|
|
977
|
+
* carries only the fields that apply to it, so a parameter can never be set for the wrong mode.
|
|
978
978
|
*
|
|
979
979
|
* @generated from message uniswap.liquidity.v1.LiquidityLockConfig
|
|
980
980
|
*/
|
|
@@ -983,7 +983,8 @@ export class LiquidityLockConfig extends Message {
|
|
|
983
983
|
super();
|
|
984
984
|
/**
|
|
985
985
|
* Absolute unix seconds when the lock expires; the backend converts this to a block number.
|
|
986
|
-
* Applies to every mode — all recipients hold the LP until this block.
|
|
986
|
+
* Applies to every contract-held mode — all recipients hold the LP until this block.
|
|
987
|
+
* Must be UNSET (0) for BURN: a burned position can never be unlocked.
|
|
987
988
|
*
|
|
988
989
|
* @generated from field: uint64 unlock_time_unix = 1;
|
|
989
990
|
*/
|
|
@@ -1014,6 +1015,7 @@ LiquidityLockConfig.fields = proto3.util.newFieldList(() => [
|
|
|
1014
1015
|
{ no: 2, name: "timelock", kind: "message", T: TimelockLock, oneof: "mode" },
|
|
1015
1016
|
{ no: 3, name: "fees_forwarder", kind: "message", T: FeesForwarderLock, oneof: "mode" },
|
|
1016
1017
|
{ no: 4, name: "buyback_burn", kind: "message", T: BuybackBurnLock, oneof: "mode" },
|
|
1018
|
+
{ no: 5, name: "burn", kind: "message", T: BurnLock, oneof: "mode" },
|
|
1017
1019
|
]);
|
|
1018
1020
|
/**
|
|
1019
1021
|
* Holds the LP until unlock_time_unix, then lets the configured operator withdraw it.
|
|
@@ -1108,6 +1110,37 @@ BuybackBurnLock.typeName = "uniswap.liquidity.v1.BuybackBurnLock";
|
|
|
1108
1110
|
BuybackBurnLock.fields = proto3.util.newFieldList(() => [
|
|
1109
1111
|
{ no: 1, name: "min_token_burn_amount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1110
1112
|
]);
|
|
1113
|
+
/**
|
|
1114
|
+
* Permanently burns the migrated LP position: on successful graduation it is minted directly
|
|
1115
|
+
* to the burn address (0x000000000000000000000000000000000000dEaD) — no per-launch recipient
|
|
1116
|
+
* contract is deployed and the position can never be withdrawn. Only the migrated LP position
|
|
1117
|
+
* is affected: the auction tokensRecipient, the failure-recovery recipient, and pool_owner
|
|
1118
|
+
* semantics are unchanged (the creator keeps them), so a failed (non-graduated) auction
|
|
1119
|
+
* returns funds to the creator instead of burning them.
|
|
1120
|
+
*
|
|
1121
|
+
* @generated from message uniswap.liquidity.v1.BurnLock
|
|
1122
|
+
*/
|
|
1123
|
+
export class BurnLock extends Message {
|
|
1124
|
+
constructor(data) {
|
|
1125
|
+
super();
|
|
1126
|
+
proto3.util.initPartial(data, this);
|
|
1127
|
+
}
|
|
1128
|
+
static fromBinary(bytes, options) {
|
|
1129
|
+
return new BurnLock().fromBinary(bytes, options);
|
|
1130
|
+
}
|
|
1131
|
+
static fromJson(jsonValue, options) {
|
|
1132
|
+
return new BurnLock().fromJson(jsonValue, options);
|
|
1133
|
+
}
|
|
1134
|
+
static fromJsonString(jsonString, options) {
|
|
1135
|
+
return new BurnLock().fromJsonString(jsonString, options);
|
|
1136
|
+
}
|
|
1137
|
+
static equals(a, b) {
|
|
1138
|
+
return proto3.util.equals(BurnLock, a, b);
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
BurnLock.runtime = proto3;
|
|
1142
|
+
BurnLock.typeName = "uniswap.liquidity.v1.BurnLock";
|
|
1143
|
+
BurnLock.fields = proto3.util.newFieldList(() => []);
|
|
1111
1144
|
/**
|
|
1112
1145
|
* @generated from message uniswap.liquidity.v1.CustomPriceRange
|
|
1113
1146
|
*/
|