Skip to content

Commit

Permalink
schema
Browse files Browse the repository at this point in the history
  • Loading branch information
pr0n00gler committed Jul 11, 2024
1 parent c41ec5a commit 6e7e83d
Show file tree
Hide file tree
Showing 13 changed files with 264 additions and 132 deletions.
3 changes: 2 additions & 1 deletion contracts/ibc_transfer/schema/execute_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"to": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down
3 changes: 2 additions & 1 deletion contracts/ibc_transfer/schema/instantiate_msg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "InstantiateMsg",
"type": "object"
"type": "object",
"additionalProperties": false
}
39 changes: 26 additions & 13 deletions contracts/neutron_interchain_queries/schema/execute_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down Expand Up @@ -67,7 +68,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -93,7 +95,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down Expand Up @@ -126,7 +129,8 @@
"type": "string"
}
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down Expand Up @@ -159,7 +163,8 @@
"type": "string"
}
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down Expand Up @@ -194,7 +199,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down Expand Up @@ -232,7 +238,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down Expand Up @@ -269,7 +276,8 @@
"type": "string"
}
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down Expand Up @@ -306,7 +314,8 @@
"type": "string"
}
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down Expand Up @@ -340,7 +349,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down Expand Up @@ -385,7 +395,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -407,7 +418,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down Expand Up @@ -438,7 +450,8 @@
"description": "*path** is a path to the storage (storage prefix) where you want to read value by key (usually name of cosmos-packages module: 'staking', 'bank', etc.)",
"type": "string"
}
}
},
"additionalProperties": false
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "InstantiateMsg",
"type": "object"
"type": "object",
"additionalProperties": false
}
33 changes: 22 additions & 11 deletions contracts/neutron_interchain_queries/schema/query_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -41,7 +42,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -63,7 +65,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -85,7 +88,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -107,7 +111,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -129,7 +134,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -151,7 +157,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -173,7 +180,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -195,7 +203,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -217,7 +226,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -237,7 +247,8 @@
"recipient": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down
12 changes: 8 additions & 4 deletions contracts/neutron_interchain_txs/schema/execute_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"$ref": "#/definitions/Coin"
}
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down Expand Up @@ -70,7 +71,8 @@
"validator": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down Expand Up @@ -112,7 +114,8 @@
"validator": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -132,7 +135,8 @@
"denom": {
"type": "string"
}
}
},
"additionalProperties": false
},
"Uint128": {
"description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```",
Expand Down
3 changes: 2 additions & 1 deletion contracts/neutron_interchain_txs/schema/instantiate_msg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "InstantiateMsg",
"type": "object"
"type": "object",
"additionalProperties": false
}
3 changes: 2 additions & 1 deletion contracts/neutron_interchain_txs/schema/migrate_msg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "MigrateMsg",
"type": "object"
"type": "object",
"additionalProperties": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"description": "*interchain_account_address** is a interchain account address on the remote chain",
"type": "string"
}
}
},
"additionalProperties": false
}
12 changes: 8 additions & 4 deletions contracts/neutron_interchain_txs/schema/query_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"interchain_account_id": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -43,7 +44,8 @@
"interchain_account_id": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -69,7 +71,8 @@
"format": "uint64",
"minimum": 0.0
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand All @@ -81,7 +84,8 @@
],
"properties": {
"errors_queue": {
"type": "object"
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down
Loading

0 comments on commit 6e7e83d

Please sign in to comment.