From 168299dfbf60eb15cb669c72107a4bd617b5998b Mon Sep 17 00:00:00 2001 From: Kerber0x Date: Thu, 25 Apr 2024 16:42:01 +0100 Subject: [PATCH] chore: regenerate schemas --- .../pool-manager/schema/pool-manager.json | 48 ++++++++++++++++--- .../pool-manager/schema/raw/execute.json | 16 +++++++ .../pool-manager/schema/raw/instantiate.json | 8 +++- .../schema/raw/response_to_config.json | 24 ++++++++-- 4 files changed, 82 insertions(+), 14 deletions(-) diff --git a/contracts/liquidity_hub/pool-manager/schema/pool-manager.json b/contracts/liquidity_hub/pool-manager/schema/pool-manager.json index 6e4527c7..cd853a16 100644 --- a/contracts/liquidity_hub/pool-manager/schema/pool-manager.json +++ b/contracts/liquidity_hub/pool-manager/schema/pool-manager.json @@ -7,11 +7,15 @@ "title": "InstantiateMsg", "type": "object", "required": [ - "fee_collector_addr", + "bonding_manager_addr", + "incentive_manager_addr", "pool_creation_fee" ], "properties": { - "fee_collector_addr": { + "bonding_manager_addr": { + "type": "string" + }, + "incentive_manager_addr": { "type": "string" }, "pool_creation_fee": { @@ -105,6 +109,13 @@ "pair_identifier" ], "properties": { + "lock_position_identifier": { + "description": "The identifier of the position to lock the LP tokens in the incentive manager, if any.", + "type": [ + "string", + "null" + ] + }, "pair_identifier": { "type": "string" }, @@ -123,6 +134,15 @@ "type": "null" } ] + }, + "unlocking_duration": { + "description": "The amount of time in seconds to unlock tokens if taking part on the incentives. If not passed, the tokens will not be locked and the LP tokens will be returned to the user.", + "type": [ + "integer", + "null" + ], + "format": "uint64", + "minimum": 0.0 } }, "additionalProperties": false @@ -925,19 +945,33 @@ "Config": { "type": "object", "required": [ + "bonding_manager_addr", "feature_toggle", - "pool_creation_fee", - "whale_lair_addr" + "incentive_manager_addr", + "pool_creation_fee" ], "properties": { + "bonding_manager_addr": { + "description": "The address of the bonding manager contract.", + "allOf": [ + { + "$ref": "#/definitions/Addr" + } + ] + }, "feature_toggle": { "$ref": "#/definitions/FeatureToggle" }, + "incentive_manager_addr": { + "description": "The address of the incentive manager contract.", + "allOf": [ + { + "$ref": "#/definitions/Addr" + } + ] + }, "pool_creation_fee": { "$ref": "#/definitions/Coin" - }, - "whale_lair_addr": { - "$ref": "#/definitions/Addr" } }, "additionalProperties": false diff --git a/contracts/liquidity_hub/pool-manager/schema/raw/execute.json b/contracts/liquidity_hub/pool-manager/schema/raw/execute.json index a268cfc0..f56817af 100644 --- a/contracts/liquidity_hub/pool-manager/schema/raw/execute.json +++ b/contracts/liquidity_hub/pool-manager/schema/raw/execute.json @@ -62,6 +62,13 @@ "pair_identifier" ], "properties": { + "lock_position_identifier": { + "description": "The identifier of the position to lock the LP tokens in the incentive manager, if any.", + "type": [ + "string", + "null" + ] + }, "pair_identifier": { "type": "string" }, @@ -80,6 +87,15 @@ "type": "null" } ] + }, + "unlocking_duration": { + "description": "The amount of time in seconds to unlock tokens if taking part on the incentives. If not passed, the tokens will not be locked and the LP tokens will be returned to the user.", + "type": [ + "integer", + "null" + ], + "format": "uint64", + "minimum": 0.0 } }, "additionalProperties": false diff --git a/contracts/liquidity_hub/pool-manager/schema/raw/instantiate.json b/contracts/liquidity_hub/pool-manager/schema/raw/instantiate.json index e87e515e..8fdc4795 100644 --- a/contracts/liquidity_hub/pool-manager/schema/raw/instantiate.json +++ b/contracts/liquidity_hub/pool-manager/schema/raw/instantiate.json @@ -3,11 +3,15 @@ "title": "InstantiateMsg", "type": "object", "required": [ - "fee_collector_addr", + "bonding_manager_addr", + "incentive_manager_addr", "pool_creation_fee" ], "properties": { - "fee_collector_addr": { + "bonding_manager_addr": { + "type": "string" + }, + "incentive_manager_addr": { "type": "string" }, "pool_creation_fee": { diff --git a/contracts/liquidity_hub/pool-manager/schema/raw/response_to_config.json b/contracts/liquidity_hub/pool-manager/schema/raw/response_to_config.json index 7284764a..b1b907f1 100644 --- a/contracts/liquidity_hub/pool-manager/schema/raw/response_to_config.json +++ b/contracts/liquidity_hub/pool-manager/schema/raw/response_to_config.json @@ -34,19 +34,33 @@ "Config": { "type": "object", "required": [ + "bonding_manager_addr", "feature_toggle", - "pool_creation_fee", - "whale_lair_addr" + "incentive_manager_addr", + "pool_creation_fee" ], "properties": { + "bonding_manager_addr": { + "description": "The address of the bonding manager contract.", + "allOf": [ + { + "$ref": "#/definitions/Addr" + } + ] + }, "feature_toggle": { "$ref": "#/definitions/FeatureToggle" }, + "incentive_manager_addr": { + "description": "The address of the incentive manager contract.", + "allOf": [ + { + "$ref": "#/definitions/Addr" + } + ] + }, "pool_creation_fee": { "$ref": "#/definitions/Coin" - }, - "whale_lair_addr": { - "$ref": "#/definitions/Addr" } }, "additionalProperties": false