Skip to content

Commit

Permalink
updated schema and ran clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Jul 6, 2024
1 parent 0729960 commit 18e0b72
Show file tree
Hide file tree
Showing 29 changed files with 8,460 additions and 2,500 deletions.
825 changes: 643 additions & 182 deletions contracts/dao-dao-core/schema/dao-dao-core.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

19 changes: 15 additions & 4 deletions contracts/external/cw-admin-factory/schema/cw-admin-factory.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"properties": {
"admin": {
"description": "The account allowed to execute this contract. If no admin, anyone can execute it.",
"type": ["string", "null"]
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
Expand All @@ -21,11 +24,17 @@
{
"description": "Instantiates the target contract with the provided instantiate message and code id and updates the contract's admin to be itself.",
"type": "object",
"required": ["instantiate_contract_with_self_admin"],
"required": [
"instantiate_contract_with_self_admin"
],
"properties": {
"instantiate_contract_with_self_admin": {
"type": "object",
"required": ["code_id", "instantiate_msg", "label"],
"required": [
"code_id",
"instantiate_msg",
"label"
],
"properties": {
"code_id": {
"type": "integer",
Expand Down Expand Up @@ -58,7 +67,9 @@
"oneOf": [
{
"type": "object",
"required": ["admin"],
"required": [
"admin"
],
"properties": {
"admin": {
"type": "object",
Expand Down
Loading

0 comments on commit 18e0b72

Please sign in to comment.