Skip to content

Commit

Permalink
chore(schema): regenerate cargo schema
Browse files Browse the repository at this point in the history
  • Loading branch information
nseguias committed Apr 8, 2024
1 parent 87bfe31 commit 079f59b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 58 deletions.
33 changes: 4 additions & 29 deletions contracts/liquidity_hub/pool-manager/schema/pool-manager.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@
"required": [
"asset_denoms",
"pair_type",
"pool_fees",
"token_factory_lp"
"pool_fees"
],
"properties": {
"asset_denoms": {
Expand All @@ -81,9 +80,6 @@
},
"pool_fees": {
"$ref": "#/definitions/PoolFee"
},
"token_factory_lp": {
"type": "boolean"
}
},
"additionalProperties": false
Expand All @@ -101,16 +97,9 @@
"provide_liquidity": {
"type": "object",
"required": [
"assets",
"pair_identifier"
],
"properties": {
"assets": {
"type": "array",
"items": {
"$ref": "#/definitions/Coin"
}
},
"pair_identifier": {
"type": "string"
},
Expand Down Expand Up @@ -201,16 +190,9 @@
"withdraw_liquidity": {
"type": "object",
"required": [
"assets",
"pair_identifier"
],
"properties": {
"assets": {
"type": "array",
"items": {
"$ref": "#/definitions/Coin"
}
},
"pair_identifier": {
"type": "string"
}
Expand Down Expand Up @@ -901,14 +883,13 @@
},
"pair": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "NPairInfo",
"title": "PairInfo",
"type": "object",
"required": [
"asset_decimals",
"asset_denoms",
"assets",
"balances",
"liquidity_token",
"lp_denom",
"pair_type",
"pool_fees"
],
Expand All @@ -933,13 +914,7 @@
"$ref": "#/definitions/Coin"
}
},
"balances": {
"type": "array",
"items": {
"$ref": "#/definitions/Uint128"
}
},
"liquidity_token": {
"lp_denom": {
"type": "string"
},
"pair_type": {
Expand Down
20 changes: 1 addition & 19 deletions contracts/liquidity_hub/pool-manager/schema/raw/execute.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"required": [
"asset_denoms",
"pair_type",
"pool_fees",
"token_factory_lp"
"pool_fees"
],
"properties": {
"asset_denoms": {
Expand All @@ -34,9 +33,6 @@
},
"pool_fees": {
"$ref": "#/definitions/PoolFee"
},
"token_factory_lp": {
"type": "boolean"
}
},
"additionalProperties": false
Expand All @@ -54,16 +50,9 @@
"provide_liquidity": {
"type": "object",
"required": [
"assets",
"pair_identifier"
],
"properties": {
"assets": {
"type": "array",
"items": {
"$ref": "#/definitions/Coin"
}
},
"pair_identifier": {
"type": "string"
},
Expand Down Expand Up @@ -154,16 +143,9 @@
"withdraw_liquidity": {
"type": "object",
"required": [
"assets",
"pair_identifier"
],
"properties": {
"assets": {
"type": "array",
"items": {
"$ref": "#/definitions/Coin"
}
},
"pair_identifier": {
"type": "string"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "NPairInfo",
"title": "PairInfo",
"type": "object",
"required": [
"asset_decimals",
"asset_denoms",
"assets",
"balances",
"liquidity_token",
"lp_denom",
"pair_type",
"pool_fees"
],
Expand All @@ -32,13 +31,7 @@
"$ref": "#/definitions/Coin"
}
},
"balances": {
"type": "array",
"items": {
"$ref": "#/definitions/Uint128"
}
},
"liquidity_token": {
"lp_denom": {
"type": "string"
},
"pair_type": {
Expand Down

0 comments on commit 079f59b

Please sign in to comment.