-
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.
Merge pull request #65 from AbstractSDK/ibcmail/client/0.3
Add schemas for ibcmail client 0.3
- Loading branch information
Showing
15 changed files
with
3,875 additions
and
0 deletions.
There are no files selected for viewing
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,77 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "InstantiateMsg", | ||
"type": "object", | ||
"required": [ | ||
"base", | ||
"module" | ||
], | ||
"properties": { | ||
"base": { | ||
"description": "base instantiate information", | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/BaseInstantiateMsg" | ||
} | ||
] | ||
}, | ||
"module": { | ||
"description": "custom instantiate msg", | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/ClientInstantiateMsg" | ||
} | ||
] | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"definitions": { | ||
"AccountBase": { | ||
"description": "Contains the minimal Abstract Account contract addresses.", | ||
"type": "object", | ||
"required": [ | ||
"manager", | ||
"proxy" | ||
], | ||
"properties": { | ||
"manager": { | ||
"$ref": "#/definitions/Addr" | ||
}, | ||
"proxy": { | ||
"$ref": "#/definitions/Addr" | ||
} | ||
}, | ||
"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" | ||
}, | ||
"BaseInstantiateMsg": { | ||
"description": "Used by Module Factory to instantiate App", | ||
"type": "object", | ||
"required": [ | ||
"account_base", | ||
"ans_host_address", | ||
"registry_address" | ||
], | ||
"properties": { | ||
"account_base": { | ||
"$ref": "#/definitions/AccountBase" | ||
}, | ||
"ans_host_address": { | ||
"type": "string" | ||
}, | ||
"registry_address": { | ||
"type": "string" | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"ClientInstantiateMsg": { | ||
"description": "App instantiate message", | ||
"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,38 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "MigrateMsg", | ||
"type": "object", | ||
"required": [ | ||
"base", | ||
"module" | ||
], | ||
"properties": { | ||
"base": { | ||
"description": "base migrate information", | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/BaseMigrateMsg" | ||
} | ||
] | ||
}, | ||
"module": { | ||
"description": "custom migrate msg", | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/AppMigrateMsg" | ||
} | ||
] | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"definitions": { | ||
"AppMigrateMsg": { | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"BaseMigrateMsg": { | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
} | ||
} |
Oops, something went wrong.