Skip to content

Commit

Permalink
chore: regenerate schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
kerber0x committed Apr 25, 2024
1 parent 880815a commit 168299d
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 14 deletions.
48 changes: 41 additions & 7 deletions contracts/liquidity_hub/pool-manager/schema/pool-manager.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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"
},
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
16 changes: 16 additions & 0 deletions contracts/liquidity_hub/pool-manager/schema/raw/execute.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 168299d

Please sign in to comment.