-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test new account version with execute
- Loading branch information
Showing
15 changed files
with
10,822 additions
and
0 deletions.
There are no files selected for viewing
5,415 changes: 5,415 additions & 0 deletions
5,415
abstract/account/0.24.0-test.1/abstract-account.json
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,6 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "MigrateMsg", | ||
"type": "object", | ||
"additionalProperties": false | ||
} |
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,212 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "QueryMsg", | ||
"oneOf": [ | ||
{ | ||
"description": "Contains the enabled modules Returns [`ConfigResponse`]", | ||
"type": "object", | ||
"required": [ | ||
"config" | ||
], | ||
"properties": { | ||
"config": { | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
{ | ||
"description": "Query the versions of modules installed on the account given their `ids`. Returns [`ModuleVersionsResponse`]", | ||
"type": "object", | ||
"required": [ | ||
"module_versions" | ||
], | ||
"properties": { | ||
"module_versions": { | ||
"type": "object", | ||
"required": [ | ||
"ids" | ||
], | ||
"properties": { | ||
"ids": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
{ | ||
"description": "Query the addresses of modules installed on the account given their `ids`. Returns [`ModuleAddressesResponse`]", | ||
"type": "object", | ||
"required": [ | ||
"module_addresses" | ||
], | ||
"properties": { | ||
"module_addresses": { | ||
"type": "object", | ||
"required": [ | ||
"ids" | ||
], | ||
"properties": { | ||
"ids": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
{ | ||
"description": "Query information of all modules installed on the account. Returns [`ModuleInfosResponse`]", | ||
"type": "object", | ||
"required": [ | ||
"module_infos" | ||
], | ||
"properties": { | ||
"module_infos": { | ||
"type": "object", | ||
"properties": { | ||
"limit": { | ||
"type": [ | ||
"integer", | ||
"null" | ||
], | ||
"format": "uint8", | ||
"minimum": 0.0 | ||
}, | ||
"start_after": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
{ | ||
"description": "Query the Account info. Returns [`InfoResponse`]", | ||
"type": "object", | ||
"required": [ | ||
"info" | ||
], | ||
"properties": { | ||
"info": { | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
{ | ||
"description": "Returns [`SubAccountIdsResponse`]", | ||
"type": "object", | ||
"required": [ | ||
"sub_account_ids" | ||
], | ||
"properties": { | ||
"sub_account_ids": { | ||
"type": "object", | ||
"properties": { | ||
"limit": { | ||
"type": [ | ||
"integer", | ||
"null" | ||
], | ||
"format": "uint8", | ||
"minimum": 0.0 | ||
}, | ||
"start_after": { | ||
"type": [ | ||
"integer", | ||
"null" | ||
], | ||
"format": "uint32", | ||
"minimum": 0.0 | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
{ | ||
"description": "Returns [`TopLevelOwnerResponse`]", | ||
"type": "object", | ||
"required": [ | ||
"top_level_owner" | ||
], | ||
"properties": { | ||
"top_level_owner": { | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
{ | ||
"description": "Query the contract's ownership information", | ||
"type": "object", | ||
"required": [ | ||
"ownership" | ||
], | ||
"properties": { | ||
"ownership": { | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
{ | ||
"description": "Query the pubkey associated with this account.", | ||
"type": "object", | ||
"required": [ | ||
"authenticator_by_i_d" | ||
], | ||
"properties": { | ||
"authenticator_by_i_d": { | ||
"type": "object", | ||
"required": [ | ||
"id" | ||
], | ||
"properties": { | ||
"id": { | ||
"type": "integer", | ||
"format": "uint8", | ||
"minimum": 0.0 | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
{ | ||
"description": "Query the pubkey associated with this account.", | ||
"type": "object", | ||
"required": [ | ||
"authenticator_i_ds" | ||
], | ||
"properties": { | ||
"authenticator_i_ds": { | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
] | ||
} |
6 changes: 6 additions & 0 deletions
6
abstract/account/0.24.0-test.1/raw/response_to_authenticator_by_i_d.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,6 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Binary", | ||
"description": "Binary is a wrapper around Vec<u8> to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec<u8>. See also <https://github.com/CosmWasm/cosmwasm/blob/main/docs/MESSAGE_TYPES.md>.", | ||
"type": "string" | ||
} |
6 changes: 6 additions & 0 deletions
6
abstract/account/0.24.0-test.1/raw/response_to_authenticator_i_ds.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,6 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Binary", | ||
"description": "Binary is a wrapper around Vec<u8> to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec<u8>. See also <https://github.com/CosmWasm/cosmwasm/blob/main/docs/MESSAGE_TYPES.md>.", | ||
"type": "string" | ||
} |
94 changes: 94 additions & 0 deletions
94
abstract/account/0.24.0-test.1/raw/response_to_config.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,94 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "ConfigResponse", | ||
"type": "object", | ||
"required": [ | ||
"account_id", | ||
"is_suspended", | ||
"module_factory_address", | ||
"registry_address", | ||
"whitelisted_addresses" | ||
], | ||
"properties": { | ||
"account_id": { | ||
"$ref": "#/definitions/AccountId" | ||
}, | ||
"is_suspended": { | ||
"type": "boolean" | ||
}, | ||
"module_factory_address": { | ||
"$ref": "#/definitions/Addr" | ||
}, | ||
"registry_address": { | ||
"$ref": "#/definitions/Addr" | ||
}, | ||
"whitelisted_addresses": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/Addr" | ||
} | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"definitions": { | ||
"AccountId": { | ||
"description": "Unique identifier for an account. On each chain this is unique.", | ||
"type": "object", | ||
"required": [ | ||
"seq", | ||
"trace" | ||
], | ||
"properties": { | ||
"seq": { | ||
"description": "Unique identifier for the accounts create on a local chain. Is reused when creating an interchain account.", | ||
"type": "integer", | ||
"format": "uint32", | ||
"minimum": 0.0 | ||
}, | ||
"trace": { | ||
"description": "Sequence of the chain that triggered the IBC account creation `AccountTrace::Local` if the account was created locally Example: Account created on Juno which has an abstract interchain account on Osmosis, which in turn creates an interchain account on Terra -> `AccountTrace::Remote(vec![\"juno\", \"osmosis\"])`", | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/AccountTrace" | ||
} | ||
] | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"AccountTrace": { | ||
"description": "The identifier of chain that triggered the account creation", | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"local" | ||
] | ||
}, | ||
{ | ||
"type": "object", | ||
"required": [ | ||
"remote" | ||
], | ||
"properties": { | ||
"remote": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/TruncatedChainId" | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
] | ||
}, | ||
"Addr": { | ||
"description": "A human readable address.\n\nIn Cosmos, this is typically bech32 encoded. But for multi-chain smart contracts no assumptions should be made other than being UTF-8 encoded and of reasonable length.\n\nThis type represents a validated address. It can be created in the following ways 1. Use `Addr::unchecked(input)` 2. Use `let checked: Addr = deps.api.addr_validate(input)?` 3. Use `let checked: Addr = deps.api.addr_humanize(canonical_addr)?` 4. Deserialize from JSON. This must only be done from JSON that was validated before such as a contract's state. `Addr` must not be used in messages sent by the user because this would result in unvalidated instances.\n\nThis type is immutable. If you really need to mutate it (Really? Are you sure?), create a mutable copy using `let mut mutable = Addr::to_string()` and operate on that `String` instance.", | ||
"type": "string" | ||
}, | ||
"TruncatedChainId": { | ||
"description": "The name of a chain, aka the chain-id without the post-fix number. ex. `cosmoshub-4` -> `cosmoshub`, `juno-1` -> `juno`", | ||
"type": "string" | ||
} | ||
} | ||
} |
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,41 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "InfoResponse", | ||
"type": "object", | ||
"required": [ | ||
"info" | ||
], | ||
"properties": { | ||
"info": { | ||
"$ref": "#/definitions/AccountInfo" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"definitions": { | ||
"AccountInfo": { | ||
"description": "Abstract Account details.", | ||
"type": "object", | ||
"properties": { | ||
"description": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"link": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"name": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
} | ||
} |
Oops, something went wrong.
1a31d05
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adairrr So we should include raw schemas as well?