Files
nym/contracts/vesting/schema/raw/response_to_get_contract_version.json
Jędrzej Stuczyński 9285aaf487 Generate json schema for all used contracts (#3693)
* removed sealed impl of serde for tx::Fee

* further upgraded cosmwasm to 1.3.0

* wip

* created schema for mixnet contract

* updated return type of 'GetBondedMixnodeDetailsByIdentity' query

* fixed imported version of serde_json_wasm

* updated return type of 'GetFamilyByHead' query

* updated return type of 'GetFamilyByLabel' query

* updated return type of 'GetFamilyMembersByHead' and 'GetFamilyMembersByLabel' queries

* fixed broken tests due to type changes

* added support for GetFamilyMembersByLabel and GetFamilyMembersByHead queries in 'mixnet_query_client'

* moved 'Account' and 'VestingContractError' to common crate

* created schema for vesting contract

* Added documentation for all query messages in the vesting contract

* improved mixnet contract schema by adding documentation to all query types

* feature-locking cw2 import

* created schema for the name service contract

* created schema for the service provider directory contract

* created schema for the coconut bandwidth contract

* created schema for the coconut dkg contract

* created schema for the coconut cw4 group contract

* created schema for the coconut cw3 multisig contract

* fixed missing import and adjusted makefile

* cargo fmt

* clippy

* adjusted contract CI to build with --lib flag

* missing --lib flag in the makefile

* updated lock files

* makefile for generating the schemas

* added github action to check for schema difference

* adding missing step to checkout the repo
2023-08-03 15:09:07 +01:00

41 lines
1.3 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ContractBuildInformation",
"type": "object",
"required": [
"build_timestamp",
"build_version",
"commit_branch",
"commit_sha",
"commit_timestamp",
"rustc_version"
],
"properties": {
"build_timestamp": {
"description": "Provides the build timestamp, for example `2021-02-23T20:14:46.558472672+00:00`.",
"type": "string"
},
"build_version": {
"description": "Provides the build version, for example `0.1.0-9-g46f83e1`.",
"type": "string"
},
"commit_branch": {
"description": "Provides the name of the git branch that was used for the build, for example `master`.",
"type": "string"
},
"commit_sha": {
"description": "Provides the hash of the commit that was used for the build, for example `46f83e112520533338245862d366f6a02cef07d4`.",
"type": "string"
},
"commit_timestamp": {
"description": "Provides the timestamp of the commit that was used for the build, for example `2021-02-23T08:08:02-05:00`.",
"type": "string"
},
"rustc_version": {
"description": "Provides the rustc version that was used for the build, for example `1.52.0-nightly`.",
"type": "string"
}
},
"additionalProperties": false
}