-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #512 from CosmWasm/494-cw1-whitelist-ng-ci
Added cw1-whitelist-ng to CI
- Loading branch information
Showing
5 changed files
with
101 additions
and
52 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
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
15 changes: 1 addition & 14 deletions
15
...ts/cw1-whitelist-ng/schema/query_msg.json → ...w1-whitelist-ng/schema/cw1_query_msg.json
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
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 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "WhitelistExecMsg", | ||
"anyOf": [ | ||
{ | ||
"description": "Freeze will make a mutable contract immutable, must be called by an admin", | ||
"type": "object", | ||
"required": [ | ||
"freeze" | ||
], | ||
"properties": { | ||
"freeze": { | ||
"type": "object" | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
{ | ||
"description": "UpdateAdmins will change the admin set of the contract, must be called by an existing admin, and only works if the contract is mutable", | ||
"type": "object", | ||
"required": [ | ||
"update_admins" | ||
], | ||
"properties": { | ||
"update_admins": { | ||
"type": "object", | ||
"required": [ | ||
"admins" | ||
], | ||
"properties": { | ||
"admins": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
contracts/cw1-whitelist-ng/schema/whitelist_query_msg.json
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 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "WhitelistQueryMsg", | ||
"anyOf": [ | ||
{ | ||
"description": "Shows all admins and whether or not it is mutable", | ||
"type": "object", | ||
"required": [ | ||
"admin_list" | ||
], | ||
"properties": { | ||
"admin_list": { | ||
"type": "object" | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
] | ||
} |