Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,416 changes: 697 additions & 1,719 deletions Cargo.lock

Large diffs are not rendered by default.

57 changes: 28 additions & 29 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ incremental = false
overflow-checks = true

[workspace.dependencies]
valence-program-manager = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-program-manager", branch = "art3mix/manager-env-admin" }
valence-program-manager = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-program-manager", tag = "v0.1.2" }
deployer-lib = { path = "lib" }
serde_json = "1.0.125"
clap = { version = "4.5.13", features = ["derive"] }
Expand All @@ -35,35 +35,34 @@ tokio = "1.40.0"
chrono = "0.4.40"
dotenvy = "0.15.7"
cmd_lib = "1.3.0"
cosmwasm-std = "2.2.0"

# Libraries
valence-authorization = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-authorization", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-base-account = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-base-account", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-storage-account = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-storage-account", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-processor = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-processor", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-splitter-library = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-splitter-library", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-astroport-lper = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-astroport-lper", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-forwarder-library = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-forwarder-library", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-astroport-withdrawer = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-astroport-withdrawer", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-generic-ibc-transfer-library = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-generic-ibc-transfer-library", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-neutron-ibc-transfer-library = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-neutron-ibc-transfer-library", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-reverse-splitter-library = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-reverse-splitter-library", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-osmosis-gamm-lper = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-osmosis-gamm-lper", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-osmosis-gamm-withdrawer = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-osmosis-gamm-withdrawer", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-osmosis-cl-lper = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-osmosis-cl-lper", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-osmosis-cl-withdrawer = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-osmosis-cl-withdrawer", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-encoder-broker = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-encoder-broker", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-neutron-ic-querier = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-neutron-ic-querier", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-drop-liquid-staker = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-drop-liquid-staker", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-program-registry = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-program-registry", features = ["library"], branch = "art3mix/manager-env-admin" }
valence-authorization = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-base-account = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-storage-account = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-processor = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-splitter-library = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-astroport-lper = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-forwarder-library = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-astroport-withdrawer = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-generic-ibc-transfer-library = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-neutron-ibc-transfer-library = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-reverse-splitter-library = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-osmosis-gamm-lper = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-osmosis-gamm-withdrawer = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-osmosis-cl-lper = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-osmosis-cl-withdrawer = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-neutron-ic-querier = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-program-registry = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }

# utils
valence-account-utils = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-account-utils", branch = "art3mix/manager-env-admin" }
valence-astroport-utils = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-astroport-utils", branch = "art3mix/manager-env-admin" }
valence-osmosis-utils = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-osmosis-utils", branch = "art3mix/manager-env-admin" }
valence-authorization-utils = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-authorization-utils", branch = "art3mix/manager-env-admin" }
valence-ibc-utils = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-ibc-utils", branch = "art3mix/manager-env-admin" }
valence-macros = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-macros", branch = "art3mix/manager-env-admin" }
valence-processor-utils = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-processor-utils", branch = "art3mix/manager-env-admin" }
valence-library-base = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-library-base", branch = "art3mix/manager-env-admin" }
valence-library-utils = { git = "https://github.com/timewave-computer/valence-protocol", package = "valence-library-utils", branch = "art3mix/manager-env-admin" }
valence-account-utils = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-astroport-utils = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-osmosis-utils = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-authorization-utils = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-ibc-utils = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-macros = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-processor-utils = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-library-base = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
valence-library-utils = { git = "https://github.com/timewave-computer/valence-protocol", tag = "v0.1.2" }
12 changes: 0 additions & 12 deletions manager_configs/mainnet/bridges/neutron_gaia.toml

This file was deleted.

12 changes: 12 additions & 0 deletions manager_configs/mainnet/bridges/neutron_juno.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[bridges.neutron.juno.polytone.neutron]
voice_addr = "neutron15c0d3k8nf5t82zzkl8l7he3smx033hsr9dvzjeeuj7e8n46rqy5se0pn3e"
note_addr = "neutron174ne8p7zh539sht8sfjsa9r6uwe3pzlvqedr0yquml9crfzsfnlshvlse8"
other_note_port = "wasm.juno1yt5kcplze0sark8f55fklk70uay3863t5q3j3a8kgvs3rlmjya9qys0d2y"
connection_id = "connection-95"
channel_id = "channel-4721"
[bridges.neutron.juno.polytone.juno]
voice_addr = "juno1c9hx3q7sd2d0xgknc52ft6qsqxemkuxh3nt8d4rmdtdua25x5h0sdd2zm5"
note_addr = "juno1yt5kcplze0sark8f55fklk70uay3863t5q3j3a8kgvs3rlmjya9qys0d2y"
other_note_port = "wasm.neutron174ne8p7zh539sht8sfjsa9r6uwe3pzlvqedr0yquml9crfzsfnlshvlse8"
connection_id = "connection-530"
channel_id = "channel-620"
12 changes: 12 additions & 0 deletions manager_configs/mainnet/bridges/neutron_osmosis.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[bridges.neutron.osmosis.polytone.neutron]
voice_addr = "neutron14wfsdrpp9fhdfeh3wnfedz0jeeguxgz2jh5kk335zc9ghjac7mzs88tfau"
note_addr = "neutron1767kfqeglqyctuqsmvyzgjecs60lpqju2f590smxevk9duq5fhaqgk5eca"
other_note_port = "wasm.osmo10j4qku3lzsqayyq6uhta4pzkv4fc97w3em9mjaxtvmv84y0fcats96lv89"
connection_id = "connection-18"
channel_id = "channel-54"
[bridges.neutron.osmosis.polytone.osmosis]
voice_addr = "osmo1vw02frqejfw2v2w7dy6ws35jp9743dwkxy0laalwsuvzzvkszz7s8d93yw"
note_addr = "osmo10j4qku3lzsqayyq6uhta4pzkv4fc97w3em9mjaxtvmv84y0fcats96lv89"
other_note_port = "wasm.neutron1767kfqeglqyctuqsmvyzgjecs60lpqju2f590smxevk9duq5fhaqgk5eca"
connection_id = "connection-2338"
channel_id = "channel-13103"
12 changes: 12 additions & 0 deletions manager_configs/mainnet/bridges/neutron_terra.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[bridges.neutron.terra.polytone.neutron]
voice_addr = "neutron1dsxy6h7cfnrguqe09ym599wk09a9zpyzw6r6yttrkquqffp06l6sfptpfp"
note_addr = "neutron143aydj5zcgh7fudhsjq7878z7v8dmj0ckn9un2hsrxgnslvgymfsln0tkw"
other_note_port = "wasm.terra1eumwktcszm8p5p3apuxq4mrk008rx8sakntq68a5x6l6my33jl2qfvsfge"
connection_id = "connection-9"
channel_id = "channel-53"
[bridges.neutron.terra.polytone.terra]
voice_addr = "terra1669p39l9gg4ajjwyta5psf5g4aen05d392mzp9efpa06vnaa7j6s3czzd3"
note_addr = "terra1eumwktcszm8p5p3apuxq4mrk008rx8sakntq68a5x6l6my33jl2qfvsfge"
other_note_port = "wasm.neutron143aydj5zcgh7fudhsjq7878z7v8dmj0ckn9un2hsrxgnslvgymfsln0tkw"
connection_id = "connection-192"
channel_id = "channel-388"
31 changes: 31 additions & 0 deletions manager_configs/mainnet/chains.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,41 @@
[chains]

[chains.neutron]
chain_id = "neutron-1"
name = "neutron"
rpc = "https://rpc-voidara.neutron-1.neutron.org"
grpc = "https://grpc-kralum.neutron-1.neutron.org:80"
prefix = "neutron"
gas_price = "0.0053"
gas_denom = "untrn"
coin_type = "118"

[chains.juno]
chain_id = "juno-1"
name = "juno"
rpc = "https://juno-rpc.polkachu.com:443"
grpc = "https://juno-grpc.polkachu.com:12690"
prefix = "juno"
gas_price = "0.075"
gas_denom = "ujuno"
coin_type = "118"

[chains.terra]
chain_id = "phoenix-1"
name = "terra"
rpc = "https://terra-rpc.polkachu.com:443"
grpc = "https://terra-grpc.polkachu.com:11790"
prefix = "terra"
gas_price = "0.015"
gas_denom = "uluna"
coin_type = "330"

[chains.osmosis]
chain_id = "osmosis-1"
name = "osmosis"
rpc = "https://osmosis-rpc.polkachu.com:443"
grpc = "https://osmosis-grpc.polkachu.com:12590"
prefix = "osmo"
gas_price = "0.025"
gas_denom = "uosmo"
coin_type = "118"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

It's a good practice to end files with a newline character. Some tools and systems might have issues with files that don't end with a newline.

coin_type = "118"

40 changes: 40 additions & 0 deletions manager_configs/mainnet/contracts-data/juno.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
valence_astroport_lper:
code_id: '4801'
hash: cb1a6b60c421bbaefec0a64c6be74fb4cd02a80f981c5a04aba71ba61cf853b3
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_astroport_withdrawer:
code_id: '4802'
hash: 63e5621a1673b0720caf246764b825c9a8c2ca9b86d2c409a71976b2a5880d35
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_base_account:
code_id: '4803'
hash: 6ece232677d7c61e866dea3cf936a3e61afe28c30c124987a2fe623b496f7882
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_forwarder_library:
code_id: '4806'
hash: 0845a9eb22783e30c166978d465ad43931cff708a53667e524e471a7e5b1e42a
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_processor:
code_id: '4807'
hash: 5ac61ef6b5969e812162745b9afe9c2c45fa1cfa30ddea554b9e5bad9bdf5ed3
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_reverse_splitter_library:
code_id: '4808'
hash: 3e63a03bb1dc0e2fb24c384629b4d6a7240c2af87c0055db6c03eb7285871fe8
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_splitter_library:
code_id: '4809'
hash: 425ac4a38090bfba13bf2db78894f9de0f2d09031c9f36b5e3e41bb4d966194a
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_drop_liquid_staker:
code_id: '4804'
hash: b657ec0eaa6baa19763d2c1a8dc640e5e1379c50e9a2780ac433751907b6d8f8
source: 9a37fe1dc2feafb5283879915bf8597776ffb443
valence_drop_liquid_unstaker:
code_id: '4805'
hash: e7b7bdeb7f7af1ae6948162fd7e7896a58c2b94a507ece4ce12008a34ca25515
source: 9a37fe1dc2feafb5283879915bf8597776ffb443
valence_generic_ibc_transfer_library:
code_id: '4810'
hash: 70828076e2f4e58648f368b6aa237d1718ca80eb8233e682a85989739ba2df3a
source: 16e604bcdeb54d9b458809487166b8e9c3371299
52 changes: 52 additions & 0 deletions manager_configs/mainnet/contracts-data/neutron.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
valence_astroport_lper:
code_id: '3316'
hash: cb1a6b60c421bbaefec0a64c6be74fb4cd02a80f981c5a04aba71ba61cf853b3
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_astroport_withdrawer:
code_id: '3317'
hash: 63e5621a1673b0720caf246764b825c9a8c2ca9b86d2c409a71976b2a5880d35
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_authorization:
code_id: '3318'
hash: f4ef9db8d60d62f7bc57c7620717b269940495fe0c06713131e3c37034863939
source: 6e604bcdeb54d9b458809487166b8e9c3371299
valence_base_account:
code_id: '3319'
hash: 6ece232677d7c61e866dea3cf936a3e61afe28c30c124987a2fe623b496f7882
source: 6e604bcdeb54d9b458809487166b8e9c3371299
valence_forwarder_library:
code_id: '3322'
hash: 0845a9eb22783e30c166978d465ad43931cff708a53667e524e471a7e5b1e42a
source: 6e604bcdeb54d9b458809487166b8e9c3371299
valence_processor:
code_id: '3325'
hash: 5ac61ef6b5969e812162745b9afe9c2c45fa1cfa30ddea554b9e5bad9bdf5ed3
source: 6e604bcdeb54d9b458809487166b8e9c3371299
valence_program_registry:
code_id: '3326'
hash: b63351ef9c82e8df4f6e1e138ca8a422319696dc6f9315c8cf2f805e8856ec11
source: 6e604bcdeb54d9b458809487166b8e9c3371299
valence_reverse_splitter_library:
code_id: '3327'
hash: 3e63a03bb1dc0e2fb24c384629b4d6a7240c2af87c0055db6c03eb7285871fe8
source: 6e604bcdeb54d9b458809487166b8e9c3371299
valence_splitter_library:
code_id: '3328'
hash: 425ac4a38090bfba13bf2db78894f9de0f2d09031c9f36b5e3e41bb4d966194a
source: 6e604bcdeb54d9b458809487166b8e9c3371299
valence_generic_ibc_transfer_library:
code_id: '3323'
hash: 70828076e2f4e58648f368b6aa237d1718ca80eb8233e682a85989739ba2df3a
source: 6e604bcdeb54d9b458809487166b8e9c3371299
valence_neutron_ibc_transfer_library:
code_id: '3324'
hash: d2befc5670ce3bbb1d8e16de07eaa07054b294a1102e2585a24b160f523bff12
source: 6e604bcdeb54d9b458809487166b8e9c3371299
valence_drop_liquid_staker:
code_id: '3320'
hash: b657ec0eaa6baa19763d2c1a8dc640e5e1379c50e9a2780ac433751907b6d8f8
source: 9a37fe1dc2feafb5283879915bf8597776ffb443
valence_drop_liquid_unstaker:
code_id: '3321'
hash: e7b7bdeb7f7af1ae6948162fd7e7896a58c2b94a507ece4ce12008a34ca25515
source: 9a37fe1dc2feafb5283879915bf8597776ffb443
44 changes: 44 additions & 0 deletions manager_configs/mainnet/contracts-data/osmosis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
valence_mars_lending:
code_id: '1619'
hash: f022aa3eb06dcdade2bb9dd2b6c3aa730d0c3e53a680fc504e0051ac6fd67271
source: 91bb2e27311a36b85564ea2d4f50b95242297c14
valence_splitter_library:
code_id: '1620'
hash: 425ac4a38090bfba13bf2db78894f9de0f2d09031c9f36b5e3e41bb4d966194a
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_base_account:
code_id: '1621'
hash: 6ece232677d7c61e866dea3cf936a3e61afe28c30c124987a2fe623b496f7882
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_forwarder_library:
code_id: '1622'
hash: 0845a9eb22783e30c166978d465ad43931cff708a53667e524e471a7e5b1e42a
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_generic_ibc_transfer_library:
code_id: '1623'
hash: 70828076e2f4e58648f368b6aa237d1718ca80eb8233e682a85989739ba2df3a
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_osmosis_cl_lper:
code_id: '1624'
hash: 1ec7757b05afd87bc70cc2ef18525a0d13b8e6e38b777031386e0195eb256bea
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_osmosis_cl_withdrawer:
code_id: '1625'
hash: e6c6b44f4ea2165ffe9b8c378e8b8f18e5f6aeff12d4e1d9145dc1775b8aea7b
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_osmosis_gamm_lper:
code_id: '1626'
hash: 17efb3553354ab5340625f52517953d8c51040dce4fa9b99a48d46847831cb6d
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_osmosis_gamm_withdrawer:
code_id: '1627'
hash: dbf9e4ee350846c14a78ef393c5f0cf0b7589e405d00a8161cf72d0e5b4cfe3b
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_processor:
code_id: '1628'
hash: 5ac61ef6b5969e812162745b9afe9c2c45fa1cfa30ddea554b9e5bad9bdf5ed3
source: 16e604bcdeb54d9b458809487166b8e9c3371299
valence_reverse_splitter_library:
code_id: '1629'
hash: 3e63a03bb1dc0e2fb24c384629b4d6a7240c2af87c0055db6c03eb7285871fe8
source: 16e604bcdeb54d9b458809487166b8e9c3371299
Loading