generated from okp4/template-rust
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
441 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# README | ||
|
||
## Top-level Schemas | ||
|
||
* [cw-template](./cw-template.md "CW TemplateBase smart contract to start coding into the blockchain 🚀") – `-` | ||
|
||
## Other Schemas | ||
|
||
### Objects | ||
|
||
* [GetCount](./cw-template-querymsg-oneof-getcount.md "GetCount returns the current count as a json-encoded number") – `undefined#/query/oneOf/0` | ||
|
||
* [GetCountResponse](./cw-template-responses-getcountresponse.md "We define a custom struct for each query response") – `undefined#/responses/get_count` | ||
|
||
* [InstantiateMsg](./cw-template-instantiatemsg.md "Instantiate CW-Template") – `undefined#/instantiate` | ||
|
||
* [Untitled object in cw-template](./cw-template-executemsg-oneof-0.md) – `undefined#/execute/oneOf/0` | ||
|
||
* [Untitled object in cw-template](./cw-template-executemsg-oneof-0-properties-increment.md) – `undefined#/execute/oneOf/0/properties/increment` | ||
|
||
* [Untitled object in cw-template](./cw-template-executemsg-oneof-1.md) – `undefined#/execute/oneOf/1` | ||
|
||
* [Untitled object in cw-template](./cw-template-executemsg-oneof-1-properties-reset.md) – `undefined#/execute/oneOf/1/properties/reset` | ||
|
||
* [Untitled object in cw-template](./cw-template-querymsg-oneof-getcount-properties-get_count.md) – `undefined#/query/oneOf/0/properties/get_count` | ||
|
||
### Arrays | ||
|
||
|
||
|
||
## Version Note | ||
|
||
The schemas linked above follow the JSON Schema Spec version: `http://json-schema.org/draft-07/schema#` |
15 changes: 15 additions & 0 deletions
15
docs/cw-template-executemsg-oneof-0-properties-increment.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Untitled object in cw-template Schema | ||
|
||
```txt | ||
undefined#/execute/oneOf/0/properties/increment | ||
``` | ||
|
||
|
||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Forbidden | none | [cw-template.json\*](schema/cw-template.json "open original schema") | | ||
|
||
## increment Type | ||
|
||
`object` ([Details](cw-template-executemsg-oneof-0-properties-increment.md)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Untitled object in cw-template Schema | ||
|
||
```txt | ||
undefined#/execute/oneOf/0 | ||
``` | ||
|
||
|
||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | [cw-template.json\*](schema/cw-template.json "open original schema") | | ||
|
||
## 0 Type | ||
|
||
`object` ([Details](cw-template-executemsg-oneof-0.md)) | ||
|
||
# 0 Properties | ||
|
||
| Property | Type | Required | Nullable | Defined by | | ||
| :---------------------- | :------- | :------- | :------------- | :---------------------------------------------------------------------------------------------------------------------- | | ||
| [increment](#increment) | `object` | Required | cannot be null | [cw-template](cw-template-executemsg-oneof-0-properties-increment.md "undefined#/execute/oneOf/0/properties/increment") | | ||
|
||
## increment | ||
|
||
|
||
|
||
`increment` | ||
|
||
* is required | ||
|
||
* Type: `object` ([Details](cw-template-executemsg-oneof-0-properties-increment.md)) | ||
|
||
* cannot be null | ||
|
||
* defined in: [cw-template](cw-template-executemsg-oneof-0-properties-increment.md "undefined#/execute/oneOf/0/properties/increment") | ||
|
||
### increment Type | ||
|
||
`object` ([Details](cw-template-executemsg-oneof-0-properties-increment.md)) |
19 changes: 19 additions & 0 deletions
19
docs/cw-template-executemsg-oneof-1-properties-reset-properties-count.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Untitled integer in cw-template Schema | ||
|
||
```txt | ||
undefined#/execute/oneOf/1/properties/reset/properties/count | ||
``` | ||
|
||
|
||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [cw-template.json\*](schema/cw-template.json "open original schema") | | ||
|
||
## count Type | ||
|
||
`integer` | ||
|
||
## count Constraints | ||
|
||
**unknown format**: the value of this string must follow the format: `int32` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Untitled object in cw-template Schema | ||
|
||
```txt | ||
undefined#/execute/oneOf/1/properties/reset | ||
``` | ||
|
||
|
||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | [cw-template.json\*](schema/cw-template.json "open original schema") | | ||
|
||
## reset Type | ||
|
||
`object` ([Details](cw-template-executemsg-oneof-1-properties-reset.md)) | ||
|
||
# reset Properties | ||
|
||
| Property | Type | Required | Nullable | Defined by | | ||
| :-------------- | :-------- | :------- | :------------- | :------------------------------------------------------------------------------------------------------------------------------------------------ | | ||
| [count](#count) | `integer` | Required | cannot be null | [cw-template](cw-template-executemsg-oneof-1-properties-reset-properties-count.md "undefined#/execute/oneOf/1/properties/reset/properties/count") | | ||
|
||
## count | ||
|
||
|
||
|
||
`count` | ||
|
||
* is required | ||
|
||
* Type: `integer` | ||
|
||
* cannot be null | ||
|
||
* defined in: [cw-template](cw-template-executemsg-oneof-1-properties-reset-properties-count.md "undefined#/execute/oneOf/1/properties/reset/properties/count") | ||
|
||
### count Type | ||
|
||
`integer` | ||
|
||
### count Constraints | ||
|
||
**unknown format**: the value of this string must follow the format: `int32` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Untitled object in cw-template Schema | ||
|
||
```txt | ||
undefined#/execute/oneOf/1 | ||
``` | ||
|
||
|
||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | [cw-template.json\*](schema/cw-template.json "open original schema") | | ||
|
||
## 1 Type | ||
|
||
`object` ([Details](cw-template-executemsg-oneof-1.md)) | ||
|
||
# 1 Properties | ||
|
||
| Property | Type | Required | Nullable | Defined by | | ||
| :-------------- | :------- | :------- | :------------- | :-------------------------------------------------------------------------------------------------------------- | | ||
| [reset](#reset) | `object` | Required | cannot be null | [cw-template](cw-template-executemsg-oneof-1-properties-reset.md "undefined#/execute/oneOf/1/properties/reset") | | ||
|
||
## reset | ||
|
||
|
||
|
||
`reset` | ||
|
||
* is required | ||
|
||
* Type: `object` ([Details](cw-template-executemsg-oneof-1-properties-reset.md)) | ||
|
||
* cannot be null | ||
|
||
* defined in: [cw-template](cw-template-executemsg-oneof-1-properties-reset.md "undefined#/execute/oneOf/1/properties/reset") | ||
|
||
### reset Type | ||
|
||
`object` ([Details](cw-template-executemsg-oneof-1-properties-reset.md)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# ExecuteMsg Schema | ||
|
||
```txt | ||
undefined#/execute | ||
``` | ||
|
||
Execute messages | ||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [cw-template.json\*](schema/cw-template.json "open original schema") | | ||
|
||
## execute Type | ||
|
||
merged type ([ExecuteMsg](cw-template-executemsg.md)) | ||
|
||
one (and only one) of | ||
|
||
* [Untitled object in cw-template](cw-template-executemsg-oneof-0.md "check type definition") | ||
|
||
* [Untitled object in cw-template](cw-template-executemsg-oneof-1.md "check type definition") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Untitled integer in cw-template Schema | ||
|
||
```txt | ||
undefined#/instantiate/properties/count | ||
``` | ||
|
||
|
||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [cw-template.json\*](schema/cw-template.json "open original schema") | | ||
|
||
## count Type | ||
|
||
`integer` | ||
|
||
## count Constraints | ||
|
||
**unknown format**: the value of this string must follow the format: `int32` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# InstantiateMsg Schema | ||
|
||
```txt | ||
undefined#/instantiate | ||
``` | ||
|
||
Instantiate CW-Template | ||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | [cw-template.json\*](schema/cw-template.json "open original schema") | | ||
|
||
## instantiate Type | ||
|
||
`object` ([InstantiateMsg](cw-template-instantiatemsg.md)) | ||
|
||
# instantiate Properties | ||
|
||
| Property | Type | Required | Nullable | Defined by | | ||
| :-------------- | :-------- | :------- | :------------- | :------------------------------------------------------------------------------------------------------ | | ||
| [count](#count) | `integer` | Required | cannot be null | [cw-template](cw-template-instantiatemsg-properties-count.md "undefined#/instantiate/properties/count") | | ||
|
||
## count | ||
|
||
|
||
|
||
`count` | ||
|
||
* is required | ||
|
||
* Type: `integer` | ||
|
||
* cannot be null | ||
|
||
* defined in: [cw-template](cw-template-instantiatemsg-properties-count.md "undefined#/instantiate/properties/count") | ||
|
||
### count Type | ||
|
||
`integer` | ||
|
||
### count Constraints | ||
|
||
**unknown format**: the value of this string must follow the format: `int32` |
15 changes: 15 additions & 0 deletions
15
docs/cw-template-querymsg-oneof-getcount-properties-get_count.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Untitled object in cw-template Schema | ||
|
||
```txt | ||
undefined#/query/oneOf/0/properties/get_count | ||
``` | ||
|
||
|
||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Forbidden | none | [cw-template.json\*](schema/cw-template.json "open original schema") | | ||
|
||
## get\_count Type | ||
|
||
`object` ([Details](cw-template-querymsg-oneof-getcount-properties-get_count.md)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# GetCount Schema | ||
|
||
```txt | ||
undefined#/query/oneOf/0 | ||
``` | ||
|
||
GetCount returns the current count as a json-encoded number | ||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | [cw-template.json\*](schema/cw-template.json "open original schema") | | ||
|
||
## 0 Type | ||
|
||
`object` ([GetCount](cw-template-querymsg-oneof-getcount.md)) | ||
|
||
# 0 Properties | ||
|
||
| Property | Type | Required | Nullable | Defined by | | ||
| :----------------------- | :------- | :------- | :------------- | :------------------------------------------------------------------------------------------------------------------------- | | ||
| [get\_count](#get_count) | `object` | Required | cannot be null | [cw-template](cw-template-querymsg-oneof-getcount-properties-get_count.md "undefined#/query/oneOf/0/properties/get_count") | | ||
|
||
## get\_count | ||
|
||
|
||
|
||
`get_count` | ||
|
||
* is required | ||
|
||
* Type: `object` ([Details](cw-template-querymsg-oneof-getcount-properties-get_count.md)) | ||
|
||
* cannot be null | ||
|
||
* defined in: [cw-template](cw-template-querymsg-oneof-getcount-properties-get_count.md "undefined#/query/oneOf/0/properties/get_count") | ||
|
||
### get\_count Type | ||
|
||
`object` ([Details](cw-template-querymsg-oneof-getcount-properties-get_count.md)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# QueryMsg Schema | ||
|
||
```txt | ||
undefined#/query | ||
``` | ||
|
||
Query messages | ||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [cw-template.json\*](schema/cw-template.json "open original schema") | | ||
|
||
## query Type | ||
|
||
merged type ([QueryMsg](cw-template-querymsg.md)) | ||
|
||
one (and only one) of | ||
|
||
* [GetCount](cw-template-querymsg-oneof-getcount.md "check type definition") |
19 changes: 19 additions & 0 deletions
19
docs/cw-template-responses-getcountresponse-properties-count.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Untitled integer in cw-template Schema | ||
|
||
```txt | ||
undefined#/responses/get_count/properties/count | ||
``` | ||
|
||
|
||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [cw-template.json\*](schema/cw-template.json "open original schema") | | ||
|
||
## count Type | ||
|
||
`integer` | ||
|
||
## count Constraints | ||
|
||
**unknown format**: the value of this string must follow the format: `int32` |
Oops, something went wrong.