Skip to content

Commit

Permalink
Fix competition response, deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ismellike committed Oct 21, 2024
1 parent 224eb67 commit 20f90a7
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 316 deletions.
97 changes: 8 additions & 89 deletions contracts/arena-league-module/schema/arena-league-module.json
Original file line number Diff line number Diff line change
Expand Up @@ -1675,45 +1675,6 @@
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"members"
],
"properties": {
"members": {
"type": "object",
"required": [
"competition_id"
],
"properties": {
"competition_id": {
"$ref": "#/definitions/Uint128"
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0.0
},
"start_after": {
"anyOf": [
{
"$ref": "#/definitions/MemberMsg_for_String"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"description": "Query the contract's ownership information",
"type": "object",
Expand Down Expand Up @@ -1969,22 +1930,6 @@
}
]
},
"MemberMsg_for_String": {
"type": "object",
"required": [
"addr",
"seed"
],
"properties": {
"addr": {
"type": "string"
},
"seed": {
"$ref": "#/definitions/Uint64"
}
},
"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); ```",
"type": "string"
Expand Down Expand Up @@ -2164,6 +2109,7 @@
"description",
"expiration",
"extension",
"group_contract",
"host",
"id",
"is_expired",
Expand Down Expand Up @@ -2216,6 +2162,9 @@
"$ref": "#/definitions/FeeInformation_for_Addr"
}
},
"group_contract": {
"$ref": "#/definitions/Addr"
},
"host": {
"$ref": "#/definitions/Addr"
},
Expand Down Expand Up @@ -2499,6 +2448,7 @@
"description",
"expiration",
"extension",
"group_contract",
"host",
"id",
"is_expired",
Expand Down Expand Up @@ -2551,6 +2501,9 @@
"$ref": "#/definitions/FeeInformation_for_Addr"
}
},
"group_contract": {
"$ref": "#/definitions/Addr"
},
"host": {
"$ref": "#/definitions/Addr"
},
Expand Down Expand Up @@ -3022,40 +2975,6 @@
}
}
},
"members": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Array_of_MemberMsg_for_Addr",
"type": "array",
"items": {
"$ref": "#/definitions/MemberMsg_for_Addr"
},
"definitions": {
"Addr": {
"description": "A human readable address.\n\nIn Cosmos, this is typically bech32 encoded. But for multi-chain smart contracts no assumptions should be made other than being UTF-8 encoded and of reasonable length.\n\nThis type represents a validated address. It can be created in the following ways 1. Use `Addr::unchecked(input)` 2. Use `let checked: Addr = deps.api.addr_validate(input)?` 3. Use `let checked: Addr = deps.api.addr_humanize(canonical_addr)?` 4. Deserialize from JSON. This must only be done from JSON that was validated before such as a contract's state. `Addr` must not be used in messages sent by the user because this would result in unvalidated instances.\n\nThis type is immutable. If you really need to mutate it (Really? Are you sure?), create a mutable copy using `let mut mutable = Addr::to_string()` and operate on that `String` instance.",
"type": "string"
},
"MemberMsg_for_Addr": {
"type": "object",
"required": [
"addr",
"seed"
],
"properties": {
"addr": {
"$ref": "#/definitions/Addr"
},
"seed": {
"$ref": "#/definitions/Uint64"
}
},
"additionalProperties": false
},
"Uint64": {
"description": "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 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 `u64` to get the value out:\n\n``` # use cosmwasm_std::Uint64; let a = Uint64::from(42u64); assert_eq!(a.u64(), 42);\n\nlet b = Uint64::from(70u32); assert_eq!(b.u64(), 70); ```",
"type": "string"
}
}
},
"ownership": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Ownership_for_String",
Expand Down
101 changes: 8 additions & 93 deletions contracts/arena-tournament-module/schema/arena-tournament-module.json
Original file line number Diff line number Diff line change
Expand Up @@ -1612,45 +1612,6 @@
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"members"
],
"properties": {
"members": {
"type": "object",
"required": [
"competition_id"
],
"properties": {
"competition_id": {
"$ref": "#/definitions/Uint128"
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0.0
},
"start_after": {
"anyOf": [
{
"$ref": "#/definitions/MemberMsg_for_String"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"description": "Query the contract's ownership information",
"type": "object",
Expand Down Expand Up @@ -1786,22 +1747,6 @@
}
]
},
"MemberMsg_for_String": {
"type": "object",
"required": [
"addr",
"seed"
],
"properties": {
"addr": {
"type": "string"
},
"seed": {
"$ref": "#/definitions/Uint64"
}
},
"additionalProperties": false
},
"QueryExt": {
"oneOf": [
{
Expand Down Expand Up @@ -1865,10 +1810,6 @@
"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); ```",
"type": "string"
},
"Uint64": {
"description": "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 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 `u64` to get the value out:\n\n``` # use cosmwasm_std::Uint64; let a = Uint64::from(42u64); assert_eq!(a.u64(), 42);\n\nlet b = Uint64::from(70u32); assert_eq!(b.u64(), 70); ```",
"type": "string"
}
}
},
Expand Down Expand Up @@ -2030,6 +1971,7 @@
"description",
"expiration",
"extension",
"group_contract",
"host",
"id",
"is_expired",
Expand Down Expand Up @@ -2082,6 +2024,9 @@
"$ref": "#/definitions/FeeInformation_for_Addr"
}
},
"group_contract": {
"$ref": "#/definitions/Addr"
},
"host": {
"$ref": "#/definitions/Addr"
},
Expand Down Expand Up @@ -2380,6 +2325,7 @@
"description",
"expiration",
"extension",
"group_contract",
"host",
"id",
"is_expired",
Expand Down Expand Up @@ -2432,6 +2378,9 @@
"$ref": "#/definitions/FeeInformation_for_Addr"
}
},
"group_contract": {
"$ref": "#/definitions/Addr"
},
"host": {
"$ref": "#/definitions/Addr"
},
Expand Down Expand Up @@ -2918,40 +2867,6 @@
}
}
},
"members": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Array_of_MemberMsg_for_Addr",
"type": "array",
"items": {
"$ref": "#/definitions/MemberMsg_for_Addr"
},
"definitions": {
"Addr": {
"description": "A human readable address.\n\nIn Cosmos, this is typically bech32 encoded. But for multi-chain smart contracts no assumptions should be made other than being UTF-8 encoded and of reasonable length.\n\nThis type represents a validated address. It can be created in the following ways 1. Use `Addr::unchecked(input)` 2. Use `let checked: Addr = deps.api.addr_validate(input)?` 3. Use `let checked: Addr = deps.api.addr_humanize(canonical_addr)?` 4. Deserialize from JSON. This must only be done from JSON that was validated before such as a contract's state. `Addr` must not be used in messages sent by the user because this would result in unvalidated instances.\n\nThis type is immutable. If you really need to mutate it (Really? Are you sure?), create a mutable copy using `let mut mutable = Addr::to_string()` and operate on that `String` instance.",
"type": "string"
},
"MemberMsg_for_Addr": {
"type": "object",
"required": [
"addr",
"seed"
],
"properties": {
"addr": {
"$ref": "#/definitions/Addr"
},
"seed": {
"$ref": "#/definitions/Uint64"
}
},
"additionalProperties": false
},
"Uint64": {
"description": "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 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 `u64` to get the value out:\n\n``` # use cosmwasm_std::Uint64; let a = Uint64::from(42u64); assert_eq!(a.u64(), 42);\n\nlet b = Uint64::from(70u32); assert_eq!(b.u64(), 70); ```",
"type": "string"
}
}
},
"ownership": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Ownership_for_String",
Expand Down
Loading

0 comments on commit 20f90a7

Please sign in to comment.