Skip to content

Commit

Permalink
Merge pull request #63 from neutron-org/feat/add_simulateXXQueries
Browse files Browse the repository at this point in the history
Feat: add simulateXX queries
  • Loading branch information
pr0n00gler authored Sep 24, 2024
2 parents 44f1d4a + 866f66f commit aec1f29
Show file tree
Hide file tree
Showing 7 changed files with 456 additions and 18 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ incremental = false
overflow-checks = true

[workspace.dependencies]
neutron-sdk = { package = "neutron-sdk", git = "https://github.com/neutron-org/neutron-sdk", branch = "main" }
neutron-sdk = { package = "neutron-sdk", git = "https://github.com/neutron-org/neutron-sdk", branch = "feat/add_simulateXXQueries" }
prost = "0.12.4"
prost-types = "0.12.4"
cosmos-sdk-proto = { version = "0.20.0", default-features = false }
Expand Down
20 changes: 13 additions & 7 deletions contracts/dex/schema/dex_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"description": "Additional deposit options",
"type": "array",
"items": {
"$ref": "#/definitions/DepositOption"
"$ref": "#/definitions/DepositOptions"
}
},
"receiver": {
Expand Down Expand Up @@ -322,14 +322,20 @@
}
],
"definitions": {
"DepositOption": {
"DepositOptions": {
"type": "object",
"required": [
"disable_swap"
],
"properties": {
"disable_swap": {
"type": "boolean"
"disable_autoswap": {
"type": [
"boolean",
"null"
]
},
"fail_tx_on_bel": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
Expand Down
Loading

0 comments on commit aec1f29

Please sign in to comment.