Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions artifacts/checksums.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bf095310e0fd04c48eff6d9cb3cefc9063af9f19289e2c133891f7cfefe580a3 cw_amaci-aarch64.wasm
faa7d0f2e1fbc9878223d8c5b048bc5d41237360de840c7ca1c730aa9840213a cw_amaci_registry-aarch64.wasm
86583bd5db998cff1bd9b45c62e9d207875fa3ae63929d69afeacf4cb3938fab cw_api_saas-aarch64.wasm
54fd6ace524bf346d7371aafff85404c655b687fb0e35e21b868ac616e378512 cw_amaci-aarch64.wasm
4e02d95ec17d8d94ba275a213b505c09e88ce8412be96133794b274b12eff4e3 cw_amaci_registry-aarch64.wasm
c121245c634c28a967c858175834475bfc8f3636fa4417af8a98d95e5281f096 cw_api_saas-aarch64.wasm
9b20be65d366f0c05a678448c3cf90a9717ed394e0e77df5aec71cfed7df80e4 cw_maci-aarch64.wasm
904c160324e3f943f5841e4acfdb61402332c228d3fad4345f9c1f9c0b23f237 cw_test-aarch64.wasm
78 changes: 51 additions & 27 deletions contracts/amaci/schema/cw-amaci.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,17 @@
"fee_recipient": {
"$ref": "#/definitions/Addr"
},
"max_votes_per_option": {
"default": null,
"anyOf": [
{
"$ref": "#/definitions/Uint256"
},
{
"type": "null"
}
]
},
"message_delay": {
"type": "integer",
"format": "uint64",
Expand Down Expand Up @@ -420,6 +431,27 @@
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"set_max_votes_per_option"
],
"properties": {
"set_max_votes_per_option": {
"type": "object",
"required": [
"max_votes_per_option"
],
"properties": {
"max_votes_per_option": {
"$ref": "#/definitions/Uint256"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
Expand Down Expand Up @@ -495,33 +527,6 @@
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"upload_deactivate_message"
],
"properties": {
"upload_deactivate_message": {
"type": "object",
"required": [
"deactivate_message"
],
"properties": {
"deactivate_message": {
"type": "array",
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/Uint256"
}
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
Expand Down Expand Up @@ -1332,6 +1337,19 @@
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"max_votes_per_option"
],
"properties": {
"max_votes_per_option": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
Expand Down Expand Up @@ -2252,6 +2270,12 @@
"description": "An implementation of u256 that is using strings for JSON encoding/decoding, such that the full u256 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 out of primitive uint types or `new` to provide big endian bytes:\n\n``` # use cosmwasm_std::Uint256; let a = Uint256::from(258u128); let b = Uint256::new([ 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 1u8, 2u8, ]); assert_eq!(a, b); ```",
"type": "string"
},
"max_votes_per_option": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Uint256",
"description": "An implementation of u256 that is using strings for JSON encoding/decoding, such that the full u256 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 out of primitive uint types or `new` to provide big endian bytes:\n\n``` # use cosmwasm_std::Uint256; let a = Uint256::from(258u128); let b = Uint256::new([ 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 1u8, 2u8, ]); assert_eq!(a, b); ```",
"type": "string"
},
"operator": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Addr",
Expand Down
48 changes: 21 additions & 27 deletions contracts/amaci/schema/raw/execute.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,27 @@
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"set_max_votes_per_option"
],
"properties": {
"set_max_votes_per_option": {
"type": "object",
"required": [
"max_votes_per_option"
],
"properties": {
"max_votes_per_option": {
"$ref": "#/definitions/Uint256"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
Expand Down Expand Up @@ -143,33 +164,6 @@
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"upload_deactivate_message"
],
"properties": {
"upload_deactivate_message": {
"type": "object",
"required": [
"deactivate_message"
],
"properties": {
"deactivate_message": {
"type": "array",
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/Uint256"
}
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
Expand Down
11 changes: 11 additions & 0 deletions contracts/amaci/schema/raw/instantiate.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@
"fee_recipient": {
"$ref": "#/definitions/Addr"
},
"max_votes_per_option": {
"default": null,
"anyOf": [
{
"$ref": "#/definitions/Uint256"
},
{
"type": "null"
}
]
},
"message_delay": {
"type": "integer",
"format": "uint64",
Expand Down
13 changes: 13 additions & 0 deletions contracts/amaci/schema/raw/query.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,19 @@
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"max_votes_per_option"
],
"properties": {
"max_votes_per_option": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Uint256",
"description": "An implementation of u256 that is using strings for JSON encoding/decoding, such that the full u256 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 out of primitive uint types or `new` to provide big endian bytes:\n\n``` # use cosmwasm_std::Uint256; let a = Uint256::from(258u128); let b = Uint256::new([ 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 1u8, 2u8, ]); assert_eq!(a, b); ```",
"type": "string"
}
Loading
Loading