juno-network 0.2.0 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main/codegen/JunoSwap.client.js +1 -1
- package/main/codegen/confio/proofs.js +1471 -0
- package/main/codegen/contracts.js +1 -3
- package/main/codegen/cosmos/app/v1alpha1/config.js +172 -0
- package/main/codegen/cosmos/app/v1alpha1/module.js +272 -0
- package/main/codegen/cosmos/app/v1alpha1/query.js +113 -0
- package/main/codegen/cosmos/app/v1alpha1/query.rpc.query.js +48 -0
- package/main/codegen/cosmos/auth/v1beta1/auth.js +323 -0
- package/main/codegen/cosmos/auth/v1beta1/genesis.js +118 -0
- package/main/codegen/cosmos/auth/v1beta1/query.js +827 -0
- package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +317 -0
- package/main/codegen/cosmos/auth/v1beta1/query.rpc.query.js +114 -0
- package/main/codegen/cosmos/authz/v1beta1/authz.js +324 -0
- package/main/codegen/cosmos/authz/v1beta1/event.js +178 -0
- package/main/codegen/cosmos/authz/v1beta1/genesis.js +102 -0
- package/main/codegen/cosmos/authz/v1beta1/query.js +533 -0
- package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +185 -0
- package/main/codegen/cosmos/authz/v1beta1/query.rpc.query.js +70 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +96 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.js +439 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +130 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +70 -0
- package/main/codegen/cosmos/bank/v1beta1/query.lcd.js +44 -26
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1128 -0
- package/main/codegen/cosmos/base/kv/v1beta1/kv.js +170 -0
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +277 -0
- package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +745 -0
- package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +251 -0
- package/main/codegen/cosmos/base/store/v1beta1/listening.js +109 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1130 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.js +103 -0
- package/main/codegen/cosmos/base/v1beta1/coin.js +268 -0
- package/main/codegen/cosmos/bundle.js +143 -55
- package/main/codegen/cosmos/client.js +52 -9
- package/main/codegen/cosmos/crisis/v1beta1/genesis.js +73 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +32 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.js +137 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +70 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +48 -0
- package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +37 -27
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +111 -0
- package/main/codegen/cosmos/evidence/v1beta1/genesis.js +102 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.js +285 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +135 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.rpc.query.js +59 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +34 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.js +144 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +70 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +48 -0
- package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +444 -0
- package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +102 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.js +472 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.lcd.js +162 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.query.js +70 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +57 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.js +248 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +100 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +59 -0
- package/main/codegen/cosmos/genutil/v1beta1/genesis.js +101 -0
- package/main/codegen/cosmos/gov/v1/query.lcd.js +12 -10
- package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +12 -10
- package/main/codegen/cosmos/group/v1/query.lcd.js +17 -15
- package/main/codegen/cosmos/lcd.js +168 -33
- package/main/codegen/cosmos/mint/v1beta1/genesis.js +85 -0
- package/main/codegen/cosmos/mint/v1beta1/mint.js +202 -0
- package/main/codegen/cosmos/mint/v1beta1/query.js +307 -0
- package/main/codegen/cosmos/mint/v1beta1/query.lcd.js +155 -0
- package/main/codegen/cosmos/mint/v1beta1/query.rpc.query.js +70 -0
- package/main/codegen/cosmos/nft/v1beta1/event.js +271 -0
- package/main/codegen/cosmos/nft/v1beta1/genesis.js +229 -0
- package/main/codegen/cosmos/nft/v1beta1/nft.js +252 -0
- package/main/codegen/cosmos/nft/v1beta1/query.js +944 -0
- package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +344 -0
- package/main/codegen/cosmos/nft/v1beta1/query.rpc.query.js +114 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +36 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.js +149 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +70 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +48 -0
- package/main/codegen/cosmos/orm/v1/orm.js +332 -0
- package/main/codegen/cosmos/params/v1beta1/params.js +206 -0
- package/main/codegen/cosmos/params/v1beta1/query.js +358 -0
- package/main/codegen/cosmos/params/v1beta1/query.lcd.js +128 -0
- package/main/codegen/cosmos/params/v1beta1/query.rpc.query.js +59 -0
- package/main/codegen/cosmos/rpc.query.js +164 -34
- package/main/codegen/cosmos/rpc.tx.js +137 -33
- package/main/codegen/cosmos/slashing/v1beta1/genesis.js +377 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.js +380 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +171 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.rpc.query.js +70 -0
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +242 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +24 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.js +113 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +70 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +48 -0
- package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +39 -29
- package/main/codegen/cosmos/upgrade/v1beta1/query.js +577 -0
- package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +238 -0
- package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.query.js +92 -0
- package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +64 -0
- package/main/codegen/cosmos/upgrade/v1beta1/tx.js +224 -0
- package/main/codegen/cosmos/upgrade/v1beta1/tx.registry.js +100 -0
- package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +59 -0
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +344 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +133 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +494 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +130 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +70 -0
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +570 -0
- package/main/codegen/cosmwasm/bundle.js +10 -10
- package/main/codegen/cosmwasm/client.js +28 -12
- package/main/codegen/cosmwasm/lcd.js +177 -42
- package/main/codegen/cosmwasm/rpc.query.js +172 -42
- package/main/codegen/cosmwasm/rpc.tx.js +146 -42
- package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +35 -21
- package/main/codegen/google/api/annotations.js +5 -0
- package/main/codegen/google/api/http.js +369 -0
- package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +25 -13
- package/main/codegen/ibc/bundle.js +41 -19
- package/main/codegen/ibc/client.js +36 -12
- package/main/codegen/ibc/core/channel/v1/query.lcd.js +40 -32
- package/main/codegen/ibc/core/client/v1/client.js +585 -0
- package/main/codegen/ibc/core/client/v1/genesis.js +367 -0
- package/main/codegen/ibc/core/client/v1/query.js +1047 -0
- package/main/codegen/ibc/core/client/v1/query.lcd.js +381 -0
- package/main/codegen/ibc/core/client/v1/query.rpc.query.js +125 -0
- package/main/codegen/ibc/core/client/v1/tx.amino.js +149 -0
- package/main/codegen/ibc/core/client/v1/tx.js +538 -0
- package/main/codegen/ibc/core/client/v1/tx.registry.js +160 -0
- package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +81 -0
- package/main/codegen/ibc/core/connection/v1/connection.js +755 -0
- package/main/codegen/ibc/core/connection/v1/genesis.js +162 -0
- package/main/codegen/ibc/core/connection/v1/query.js +799 -0
- package/main/codegen/ibc/core/connection/v1/query.lcd.js +266 -0
- package/main/codegen/ibc/core/connection/v1/query.rpc.query.js +92 -0
- package/main/codegen/ibc/core/connection/v1/tx.amino.js +274 -0
- package/main/codegen/ibc/core/connection/v1/tx.js +763 -0
- package/main/codegen/ibc/core/connection/v1/tx.registry.js +160 -0
- package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +81 -0
- package/main/codegen/ibc/core/port/v1/query.js +192 -0
- package/main/codegen/ibc/core/port/v1/query.rpc.query.js +48 -0
- package/main/codegen/ibc/core/types/v1/genesis.js +101 -0
- package/main/codegen/ibc/lcd.js +219 -54
- package/main/codegen/ibc/rpc.query.js +223 -54
- package/main/codegen/ibc/rpc.tx.js +184 -54
- package/main/codegen/juno/bundle.js +6 -6
- package/main/codegen/juno/lcd.js +175 -40
- package/main/codegen/juno/mint/query.lcd.js +30 -18
- package/main/codegen/juno/rpc.query.js +170 -40
- package/module/codegen/JunoSwap.client.js +1 -1
- package/module/codegen/confio/proofs.js +1371 -0
- package/module/codegen/contracts.js +2 -3
- package/module/codegen/cosmos/app/v1alpha1/config.js +148 -0
- package/module/codegen/cosmos/app/v1alpha1/module.js +227 -0
- package/module/codegen/cosmos/app/v1alpha1/query.js +104 -0
- package/module/codegen/cosmos/app/v1alpha1/query.rpc.query.js +20 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +297 -0
- package/module/codegen/cosmos/auth/v1beta1/genesis.js +82 -0
- package/module/codegen/cosmos/auth/v1beta1/query.js +806 -0
- package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +89 -0
- package/module/codegen/cosmos/auth/v1beta1/query.rpc.query.js +62 -0
- package/module/codegen/cosmos/authz/v1beta1/authz.js +298 -0
- package/module/codegen/cosmos/authz/v1beta1/event.js +169 -0
- package/module/codegen/cosmos/authz/v1beta1/genesis.js +67 -0
- package/module/codegen/cosmos/authz/v1beta1/query.js +473 -0
- package/module/codegen/cosmos/authz/v1beta1/query.lcd.js +73 -0
- package/module/codegen/cosmos/authz/v1beta1/query.rpc.query.js +34 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +91 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.js +402 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +124 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +34 -0
- package/module/codegen/cosmos/bank/v1beta1/query.lcd.js +13 -8
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +982 -0
- package/module/codegen/cosmos/base/kv/v1beta1/kv.js +139 -0
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +189 -0
- package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +235 -0
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +712 -0
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +225 -0
- package/module/codegen/cosmos/base/store/v1beta1/listening.js +104 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1091 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.js +55 -0
- package/module/codegen/cosmos/base/v1beta1/coin.js +268 -0
- package/module/codegen/cosmos/bundle.js +99 -55
- package/module/codegen/cosmos/client.js +28 -2
- package/module/codegen/cosmos/crisis/v1beta1/genesis.js +61 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +27 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.js +129 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/distribution/v1beta1/query.lcd.js +11 -10
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +102 -0
- package/module/codegen/cosmos/evidence/v1beta1/genesis.js +67 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.js +255 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +44 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.rpc.query.js +27 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +29 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.js +137 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +365 -0
- package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +67 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.js +429 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.lcd.js +50 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.query.js +34 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +54 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.js +247 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +89 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +27 -0
- package/module/codegen/cosmos/genutil/v1beta1/genesis.js +68 -0
- package/module/codegen/cosmos/gov/v1/query.lcd.js +11 -10
- package/module/codegen/cosmos/gov/v1beta1/query.lcd.js +11 -10
- package/module/codegen/cosmos/group/v1/query.lcd.js +16 -15
- package/module/codegen/cosmos/lcd.js +45 -0
- package/module/codegen/cosmos/mint/v1beta1/genesis.js +73 -0
- package/module/codegen/cosmos/mint/v1beta1/mint.js +193 -0
- package/module/codegen/cosmos/mint/v1beta1/query.js +308 -0
- package/module/codegen/cosmos/mint/v1beta1/query.lcd.js +32 -0
- package/module/codegen/cosmos/mint/v1beta1/query.rpc.query.js +34 -0
- package/module/codegen/cosmos/nft/v1beta1/event.js +264 -0
- package/module/codegen/cosmos/nft/v1beta1/genesis.js +163 -0
- package/module/codegen/cosmos/nft/v1beta1/nft.js +242 -0
- package/module/codegen/cosmos/nft/v1beta1/query.js +917 -0
- package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +128 -0
- package/module/codegen/cosmos/nft/v1beta1/query.rpc.query.js +62 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +31 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.js +141 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/orm/v1/orm.js +305 -0
- package/module/codegen/cosmos/params/v1beta1/params.js +175 -0
- package/module/codegen/cosmos/params/v1beta1/query.js +317 -0
- package/module/codegen/cosmos/params/v1beta1/query.lcd.js +38 -0
- package/module/codegen/cosmos/params/v1beta1/query.rpc.query.js +27 -0
- package/module/codegen/cosmos/rpc.query.js +30 -0
- package/module/codegen/cosmos/rpc.tx.js +24 -0
- package/module/codegen/cosmos/slashing/v1beta1/genesis.js +317 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.js +355 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +51 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.rpc.query.js +34 -0
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +234 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +19 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.js +105 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/staking/v1beta1/query.lcd.js +20 -19
- package/module/codegen/cosmos/upgrade/v1beta1/query.js +565 -0
- package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +69 -0
- package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.query.js +48 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +59 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.js +224 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.registry.js +89 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +27 -0
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +337 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +114 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +440 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +124 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +34 -0
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +480 -0
- package/module/codegen/cosmwasm/bundle.js +10 -10
- package/module/codegen/cosmwasm/client.js +16 -2
- package/module/codegen/cosmwasm/lcd.js +45 -0
- package/module/codegen/cosmwasm/rpc.query.js +30 -0
- package/module/codegen/cosmwasm/rpc.tx.js +24 -0
- package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +16 -11
- package/module/codegen/google/api/annotations.js +1 -0
- package/module/codegen/google/api/http.js +328 -0
- package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +6 -3
- package/module/codegen/ibc/bundle.js +30 -19
- package/module/codegen/ibc/client.js +20 -2
- package/module/codegen/ibc/core/channel/v1/query.lcd.js +19 -16
- package/module/codegen/ibc/core/client/v1/client.js +549 -0
- package/module/codegen/ibc/core/client/v1/genesis.js +287 -0
- package/module/codegen/ibc/core/client/v1/query.js +1029 -0
- package/module/codegen/ibc/core/client/v1/query.lcd.js +128 -0
- package/module/codegen/ibc/core/client/v1/query.rpc.query.js +69 -0
- package/module/codegen/ibc/core/client/v1/tx.amino.js +150 -0
- package/module/codegen/ibc/core/client/v1/tx.js +544 -0
- package/module/codegen/ibc/core/client/v1/tx.registry.js +159 -0
- package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/ibc/core/connection/v1/connection.js +663 -0
- package/module/codegen/ibc/core/connection/v1/genesis.js +110 -0
- package/module/codegen/ibc/core/connection/v1/query.js +766 -0
- package/module/codegen/ibc/core/connection/v1/query.lcd.js +100 -0
- package/module/codegen/ibc/core/connection/v1/query.rpc.query.js +48 -0
- package/module/codegen/ibc/core/connection/v1/tx.amino.js +269 -0
- package/module/codegen/ibc/core/connection/v1/tx.js +747 -0
- package/module/codegen/ibc/core/connection/v1/tx.registry.js +159 -0
- package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/ibc/core/port/v1/query.js +182 -0
- package/module/codegen/ibc/core/port/v1/query.rpc.query.js +20 -0
- package/module/codegen/ibc/core/types/v1/genesis.js +87 -0
- package/module/codegen/ibc/lcd.js +55 -0
- package/module/codegen/ibc/rpc.query.js +39 -0
- package/module/codegen/ibc/rpc.tx.js +30 -0
- package/module/codegen/index.js +1 -1
- package/module/codegen/juno/bundle.js +6 -6
- package/module/codegen/juno/lcd.js +45 -0
- package/module/codegen/juno/mint/query.lcd.js +3 -3
- package/module/codegen/juno/rpc.query.js +30 -0
- package/package.json +15 -14
- package/types/codegen/JunoSwap.client.d.ts +1 -1
- package/types/codegen/JunoSwap.react-query.d.ts +11 -11
- package/types/codegen/JunoSwap.types.d.ts +1 -1
- package/types/codegen/contracts.d.ts +5 -5
- package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +3 -3
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +79 -0
- package/types/codegen/cosmos/base/v1beta1/coin.d.ts +58 -0
- package/types/codegen/cosmos/bundle.d.ts +758 -153
- package/types/codegen/cosmos/client.d.ts +6 -2
- package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +2 -2
- package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +2 -2
- package/types/codegen/cosmwasm/bundle.d.ts +87 -18
- package/types/codegen/cosmwasm/client.d.ts +8 -2
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +2 -2
- package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +2 -2
- package/types/codegen/ibc/bundle.d.ts +878 -64
- package/types/codegen/ibc/client.d.ts +8 -2
- package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/client/v1/client.d.ts +143 -0
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +56 -0
- package/types/codegen/ibc/core/client/v1/query.d.ts +263 -0
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +15 -0
- package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +25 -0
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
- package/types/codegen/ibc/core/client/v1/tx.d.ts +131 -0
- package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +96 -0
- package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/ibc/lcd.d.ts +3 -0
- package/types/codegen/ibc/rpc.query.d.ts +3 -0
- package/types/codegen/ibc/rpc.tx.d.ts +3 -0
- package/types/codegen/index.d.ts +1 -1
- package/types/codegen/juno/bundle.d.ts +6 -6
- package/types/codegen/juno/mint/query.lcd.d.ts +3 -3
- package/main/codegen/JunoSwap.react-query.js +0 -152
- package/module/codegen/JunoSwap.react-query.js +0 -119
@@ -1,5 +1,11 @@
|
|
1
|
-
import { OfflineSigner, GeneratedType } from "@cosmjs/proto-signing";
|
2
|
-
import { SigningStargateClient } from "@cosmjs/stargate";
|
1
|
+
import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing";
|
2
|
+
import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
|
3
|
+
export declare const getSigningIbcClientOptions: ({ defaultTypes }?: {
|
4
|
+
defaultTypes?: ReadonlyArray<[string, GeneratedType]>;
|
5
|
+
}) => {
|
6
|
+
registry: Registry;
|
7
|
+
aminoTypes: AminoTypes;
|
8
|
+
};
|
3
9
|
export declare const getSigningIbcClient: ({ rpcEndpoint, signer, defaultTypes }: {
|
4
10
|
rpcEndpoint: string;
|
5
11
|
signer: OfflineSigner;
|
@@ -5,7 +5,7 @@ export declare class LCDQueryClient extends LCDClient {
|
|
5
5
|
restEndpoint: any;
|
6
6
|
});
|
7
7
|
channel(params: QueryChannelRequest): Promise<QueryChannelResponse>;
|
8
|
-
channels(params
|
8
|
+
channels(params?: QueryChannelsRequest): Promise<QueryChannelsResponse>;
|
9
9
|
connectionChannels(params: QueryConnectionChannelsRequest): Promise<QueryConnectionChannelsResponse>;
|
10
10
|
channelClientState(params: QueryChannelClientStateRequest): Promise<QueryChannelClientStateResponse>;
|
11
11
|
channelConsensusState(params: QueryChannelConsensusStateRequest): Promise<QueryChannelConsensusStateResponse>;
|
@@ -0,0 +1,143 @@
|
|
1
|
+
import { Any } from "../../../../google/protobuf/any";
|
2
|
+
import { Plan } from "../../../../cosmos/upgrade/v1beta1/upgrade";
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
4
|
+
import { DeepPartial, Long } from "@osmonauts/helpers";
|
5
|
+
/**
|
6
|
+
* IdentifiedClientState defines a client state with an additional client
|
7
|
+
* identifier field.
|
8
|
+
*/
|
9
|
+
export interface IdentifiedClientState {
|
10
|
+
/** client identifier */
|
11
|
+
clientId: string;
|
12
|
+
/** client state */
|
13
|
+
clientState: Any;
|
14
|
+
}
|
15
|
+
/**
|
16
|
+
* ConsensusStateWithHeight defines a consensus state with an additional height
|
17
|
+
* field.
|
18
|
+
*/
|
19
|
+
export interface ConsensusStateWithHeight {
|
20
|
+
/** consensus state height */
|
21
|
+
height: Height;
|
22
|
+
/** consensus state */
|
23
|
+
consensusState: Any;
|
24
|
+
}
|
25
|
+
/**
|
26
|
+
* ClientConsensusStates defines all the stored consensus states for a given
|
27
|
+
* client.
|
28
|
+
*/
|
29
|
+
export interface ClientConsensusStates {
|
30
|
+
/** client identifier */
|
31
|
+
clientId: string;
|
32
|
+
/** consensus states and their heights associated with the client */
|
33
|
+
consensusStates: ConsensusStateWithHeight[];
|
34
|
+
}
|
35
|
+
/**
|
36
|
+
* ClientUpdateProposal is a governance proposal. If it passes, the substitute
|
37
|
+
* client's latest consensus state is copied over to the subject client. The proposal
|
38
|
+
* handler may fail if the subject and the substitute do not match in client and
|
39
|
+
* chain parameters (with exception to latest height, frozen height, and chain-id).
|
40
|
+
*/
|
41
|
+
export interface ClientUpdateProposal {
|
42
|
+
/** the title of the update proposal */
|
43
|
+
title: string;
|
44
|
+
/** the description of the proposal */
|
45
|
+
description: string;
|
46
|
+
/** the client identifier for the client to be updated if the proposal passes */
|
47
|
+
subjectClientId: string;
|
48
|
+
/**
|
49
|
+
* the substitute client identifier for the client standing in for the subject
|
50
|
+
* client
|
51
|
+
*/
|
52
|
+
substituteClientId: string;
|
53
|
+
}
|
54
|
+
/**
|
55
|
+
* UpgradeProposal is a gov Content type for initiating an IBC breaking
|
56
|
+
* upgrade.
|
57
|
+
*/
|
58
|
+
export interface UpgradeProposal {
|
59
|
+
title: string;
|
60
|
+
description: string;
|
61
|
+
plan: Plan;
|
62
|
+
/**
|
63
|
+
* An UpgradedClientState must be provided to perform an IBC breaking upgrade.
|
64
|
+
* This will make the chain commit to the correct upgraded (self) client state
|
65
|
+
* before the upgrade occurs, so that connecting chains can verify that the
|
66
|
+
* new upgraded client is valid by verifying a proof on the previous version
|
67
|
+
* of the chain. This will allow IBC connections to persist smoothly across
|
68
|
+
* planned chain upgrades
|
69
|
+
*/
|
70
|
+
upgradedClientState: Any;
|
71
|
+
}
|
72
|
+
/**
|
73
|
+
* Height is a monotonically increasing data type
|
74
|
+
* that can be compared against another Height for the purposes of updating and
|
75
|
+
* freezing clients
|
76
|
+
*
|
77
|
+
* Normally the RevisionHeight is incremented at each height while keeping
|
78
|
+
* RevisionNumber the same. However some consensus algorithms may choose to
|
79
|
+
* reset the height in certain conditions e.g. hard forks, state-machine
|
80
|
+
* breaking changes In these cases, the RevisionNumber is incremented so that
|
81
|
+
* height continues to be monitonically increasing even as the RevisionHeight
|
82
|
+
* gets reset
|
83
|
+
*/
|
84
|
+
export interface Height {
|
85
|
+
/** the revision that the client is currently on */
|
86
|
+
revisionNumber: Long;
|
87
|
+
/** the height within the given revision */
|
88
|
+
revisionHeight: Long;
|
89
|
+
}
|
90
|
+
/** Params defines the set of IBC light client parameters. */
|
91
|
+
export interface Params {
|
92
|
+
/** allowed_clients defines the list of allowed client state types. */
|
93
|
+
allowedClients: string[];
|
94
|
+
}
|
95
|
+
export declare const IdentifiedClientState: {
|
96
|
+
encode(message: IdentifiedClientState, writer?: _m0.Writer): _m0.Writer;
|
97
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedClientState;
|
98
|
+
fromJSON(object: any): IdentifiedClientState;
|
99
|
+
toJSON(message: IdentifiedClientState): unknown;
|
100
|
+
fromPartial(object: DeepPartial<IdentifiedClientState>): IdentifiedClientState;
|
101
|
+
};
|
102
|
+
export declare const ConsensusStateWithHeight: {
|
103
|
+
encode(message: ConsensusStateWithHeight, writer?: _m0.Writer): _m0.Writer;
|
104
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateWithHeight;
|
105
|
+
fromJSON(object: any): ConsensusStateWithHeight;
|
106
|
+
toJSON(message: ConsensusStateWithHeight): unknown;
|
107
|
+
fromPartial(object: DeepPartial<ConsensusStateWithHeight>): ConsensusStateWithHeight;
|
108
|
+
};
|
109
|
+
export declare const ClientConsensusStates: {
|
110
|
+
encode(message: ClientConsensusStates, writer?: _m0.Writer): _m0.Writer;
|
111
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ClientConsensusStates;
|
112
|
+
fromJSON(object: any): ClientConsensusStates;
|
113
|
+
toJSON(message: ClientConsensusStates): unknown;
|
114
|
+
fromPartial(object: DeepPartial<ClientConsensusStates>): ClientConsensusStates;
|
115
|
+
};
|
116
|
+
export declare const ClientUpdateProposal: {
|
117
|
+
encode(message: ClientUpdateProposal, writer?: _m0.Writer): _m0.Writer;
|
118
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ClientUpdateProposal;
|
119
|
+
fromJSON(object: any): ClientUpdateProposal;
|
120
|
+
toJSON(message: ClientUpdateProposal): unknown;
|
121
|
+
fromPartial(object: DeepPartial<ClientUpdateProposal>): ClientUpdateProposal;
|
122
|
+
};
|
123
|
+
export declare const UpgradeProposal: {
|
124
|
+
encode(message: UpgradeProposal, writer?: _m0.Writer): _m0.Writer;
|
125
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): UpgradeProposal;
|
126
|
+
fromJSON(object: any): UpgradeProposal;
|
127
|
+
toJSON(message: UpgradeProposal): unknown;
|
128
|
+
fromPartial(object: DeepPartial<UpgradeProposal>): UpgradeProposal;
|
129
|
+
};
|
130
|
+
export declare const Height: {
|
131
|
+
encode(message: Height, writer?: _m0.Writer): _m0.Writer;
|
132
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Height;
|
133
|
+
fromJSON(object: any): Height;
|
134
|
+
toJSON(message: Height): unknown;
|
135
|
+
fromPartial(object: DeepPartial<Height>): Height;
|
136
|
+
};
|
137
|
+
export declare const Params: {
|
138
|
+
encode(message: Params, writer?: _m0.Writer): _m0.Writer;
|
139
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Params;
|
140
|
+
fromJSON(object: any): Params;
|
141
|
+
toJSON(message: Params): unknown;
|
142
|
+
fromPartial(object: DeepPartial<Params>): Params;
|
143
|
+
};
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import { IdentifiedClientState, ClientConsensusStates, Params } from "./client";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { Long, DeepPartial } from "@osmonauts/helpers";
|
4
|
+
/** GenesisState defines the ibc client submodule's genesis state. */
|
5
|
+
export interface GenesisState {
|
6
|
+
/** client states with their corresponding identifiers */
|
7
|
+
clients: IdentifiedClientState[];
|
8
|
+
/** consensus states from each client */
|
9
|
+
clientsConsensus: ClientConsensusStates[];
|
10
|
+
/** metadata from each client */
|
11
|
+
clientsMetadata: IdentifiedGenesisMetadata[];
|
12
|
+
params: Params;
|
13
|
+
/** create localhost on initialization */
|
14
|
+
createLocalhost: boolean;
|
15
|
+
/** the sequence for the next generated client identifier */
|
16
|
+
nextClientSequence: Long;
|
17
|
+
}
|
18
|
+
/**
|
19
|
+
* GenesisMetadata defines the genesis type for metadata that clients may return
|
20
|
+
* with ExportMetadata
|
21
|
+
*/
|
22
|
+
export interface GenesisMetadata {
|
23
|
+
/** store key of metadata without clientID-prefix */
|
24
|
+
key: Uint8Array;
|
25
|
+
/** metadata value */
|
26
|
+
value: Uint8Array;
|
27
|
+
}
|
28
|
+
/**
|
29
|
+
* IdentifiedGenesisMetadata has the client metadata with the corresponding
|
30
|
+
* client id.
|
31
|
+
*/
|
32
|
+
export interface IdentifiedGenesisMetadata {
|
33
|
+
clientId: string;
|
34
|
+
clientMetadata: GenesisMetadata[];
|
35
|
+
}
|
36
|
+
export declare const GenesisState: {
|
37
|
+
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
|
38
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
|
39
|
+
fromJSON(object: any): GenesisState;
|
40
|
+
toJSON(message: GenesisState): unknown;
|
41
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
|
42
|
+
};
|
43
|
+
export declare const GenesisMetadata: {
|
44
|
+
encode(message: GenesisMetadata, writer?: _m0.Writer): _m0.Writer;
|
45
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisMetadata;
|
46
|
+
fromJSON(object: any): GenesisMetadata;
|
47
|
+
toJSON(message: GenesisMetadata): unknown;
|
48
|
+
fromPartial(object: DeepPartial<GenesisMetadata>): GenesisMetadata;
|
49
|
+
};
|
50
|
+
export declare const IdentifiedGenesisMetadata: {
|
51
|
+
encode(message: IdentifiedGenesisMetadata, writer?: _m0.Writer): _m0.Writer;
|
52
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedGenesisMetadata;
|
53
|
+
fromJSON(object: any): IdentifiedGenesisMetadata;
|
54
|
+
toJSON(message: IdentifiedGenesisMetadata): unknown;
|
55
|
+
fromPartial(object: DeepPartial<IdentifiedGenesisMetadata>): IdentifiedGenesisMetadata;
|
56
|
+
};
|
@@ -0,0 +1,263 @@
|
|
1
|
+
import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination";
|
2
|
+
import { Any } from "../../../../google/protobuf/any";
|
3
|
+
import { Height, IdentifiedClientState, ConsensusStateWithHeight, Params } from "./client";
|
4
|
+
import * as _m0 from "protobufjs/minimal";
|
5
|
+
import { DeepPartial, Long } from "@osmonauts/helpers";
|
6
|
+
/**
|
7
|
+
* QueryClientStateRequest is the request type for the Query/ClientState RPC
|
8
|
+
* method
|
9
|
+
*/
|
10
|
+
export interface QueryClientStateRequest {
|
11
|
+
/** client state unique identifier */
|
12
|
+
clientId: string;
|
13
|
+
}
|
14
|
+
/**
|
15
|
+
* QueryClientStateResponse is the response type for the Query/ClientState RPC
|
16
|
+
* method. Besides the client state, it includes a proof and the height from
|
17
|
+
* which the proof was retrieved.
|
18
|
+
*/
|
19
|
+
export interface QueryClientStateResponse {
|
20
|
+
/** client state associated with the request identifier */
|
21
|
+
clientState: Any;
|
22
|
+
/** merkle proof of existence */
|
23
|
+
proof: Uint8Array;
|
24
|
+
/** height at which the proof was retrieved */
|
25
|
+
proofHeight: Height;
|
26
|
+
}
|
27
|
+
/**
|
28
|
+
* QueryClientStatesRequest is the request type for the Query/ClientStates RPC
|
29
|
+
* method
|
30
|
+
*/
|
31
|
+
export interface QueryClientStatesRequest {
|
32
|
+
/** pagination request */
|
33
|
+
pagination: PageRequest;
|
34
|
+
}
|
35
|
+
/**
|
36
|
+
* QueryClientStatesResponse is the response type for the Query/ClientStates RPC
|
37
|
+
* method.
|
38
|
+
*/
|
39
|
+
export interface QueryClientStatesResponse {
|
40
|
+
/** list of stored ClientStates of the chain. */
|
41
|
+
clientStates: IdentifiedClientState[];
|
42
|
+
/** pagination response */
|
43
|
+
pagination: PageResponse;
|
44
|
+
}
|
45
|
+
/**
|
46
|
+
* QueryConsensusStateRequest is the request type for the Query/ConsensusState
|
47
|
+
* RPC method. Besides the consensus state, it includes a proof and the height
|
48
|
+
* from which the proof was retrieved.
|
49
|
+
*/
|
50
|
+
export interface QueryConsensusStateRequest {
|
51
|
+
/** client identifier */
|
52
|
+
clientId: string;
|
53
|
+
/** consensus state revision number */
|
54
|
+
revisionNumber: Long;
|
55
|
+
/** consensus state revision height */
|
56
|
+
revisionHeight: Long;
|
57
|
+
/**
|
58
|
+
* latest_height overrrides the height field and queries the latest stored
|
59
|
+
* ConsensusState
|
60
|
+
*/
|
61
|
+
latestHeight: boolean;
|
62
|
+
}
|
63
|
+
/**
|
64
|
+
* QueryConsensusStateResponse is the response type for the Query/ConsensusState
|
65
|
+
* RPC method
|
66
|
+
*/
|
67
|
+
export interface QueryConsensusStateResponse {
|
68
|
+
/** consensus state associated with the client identifier at the given height */
|
69
|
+
consensusState: Any;
|
70
|
+
/** merkle proof of existence */
|
71
|
+
proof: Uint8Array;
|
72
|
+
/** height at which the proof was retrieved */
|
73
|
+
proofHeight: Height;
|
74
|
+
}
|
75
|
+
/**
|
76
|
+
* QueryConsensusStatesRequest is the request type for the Query/ConsensusStates
|
77
|
+
* RPC method.
|
78
|
+
*/
|
79
|
+
export interface QueryConsensusStatesRequest {
|
80
|
+
/** client identifier */
|
81
|
+
clientId: string;
|
82
|
+
/** pagination request */
|
83
|
+
pagination: PageRequest;
|
84
|
+
}
|
85
|
+
/**
|
86
|
+
* QueryConsensusStatesResponse is the response type for the
|
87
|
+
* Query/ConsensusStates RPC method
|
88
|
+
*/
|
89
|
+
export interface QueryConsensusStatesResponse {
|
90
|
+
/** consensus states associated with the identifier */
|
91
|
+
consensusStates: ConsensusStateWithHeight[];
|
92
|
+
/** pagination response */
|
93
|
+
pagination: PageResponse;
|
94
|
+
}
|
95
|
+
/**
|
96
|
+
* QueryClientStatusRequest is the request type for the Query/ClientStatus RPC
|
97
|
+
* method
|
98
|
+
*/
|
99
|
+
export interface QueryClientStatusRequest {
|
100
|
+
/** client unique identifier */
|
101
|
+
clientId: string;
|
102
|
+
}
|
103
|
+
/**
|
104
|
+
* QueryClientStatusResponse is the response type for the Query/ClientStatus RPC
|
105
|
+
* method. It returns the current status of the IBC client.
|
106
|
+
*/
|
107
|
+
export interface QueryClientStatusResponse {
|
108
|
+
status: string;
|
109
|
+
}
|
110
|
+
/**
|
111
|
+
* QueryClientParamsRequest is the request type for the Query/ClientParams RPC
|
112
|
+
* method.
|
113
|
+
*/
|
114
|
+
export interface QueryClientParamsRequest {
|
115
|
+
}
|
116
|
+
/**
|
117
|
+
* QueryClientParamsResponse is the response type for the Query/ClientParams RPC
|
118
|
+
* method.
|
119
|
+
*/
|
120
|
+
export interface QueryClientParamsResponse {
|
121
|
+
/** params defines the parameters of the module. */
|
122
|
+
params: Params;
|
123
|
+
}
|
124
|
+
/**
|
125
|
+
* QueryUpgradedClientStateRequest is the request type for the
|
126
|
+
* Query/UpgradedClientState RPC method
|
127
|
+
*/
|
128
|
+
export interface QueryUpgradedClientStateRequest {
|
129
|
+
}
|
130
|
+
/**
|
131
|
+
* QueryUpgradedClientStateResponse is the response type for the
|
132
|
+
* Query/UpgradedClientState RPC method.
|
133
|
+
*/
|
134
|
+
export interface QueryUpgradedClientStateResponse {
|
135
|
+
/** client state associated with the request identifier */
|
136
|
+
upgradedClientState: Any;
|
137
|
+
}
|
138
|
+
/**
|
139
|
+
* QueryUpgradedConsensusStateRequest is the request type for the
|
140
|
+
* Query/UpgradedConsensusState RPC method
|
141
|
+
*/
|
142
|
+
export interface QueryUpgradedConsensusStateRequest {
|
143
|
+
}
|
144
|
+
/**
|
145
|
+
* QueryUpgradedConsensusStateResponse is the response type for the
|
146
|
+
* Query/UpgradedConsensusState RPC method.
|
147
|
+
*/
|
148
|
+
export interface QueryUpgradedConsensusStateResponse {
|
149
|
+
/** Consensus state associated with the request identifier */
|
150
|
+
upgradedConsensusState: Any;
|
151
|
+
}
|
152
|
+
export declare const QueryClientStateRequest: {
|
153
|
+
encode(message: QueryClientStateRequest, writer?: _m0.Writer): _m0.Writer;
|
154
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateRequest;
|
155
|
+
fromJSON(object: any): QueryClientStateRequest;
|
156
|
+
toJSON(message: QueryClientStateRequest): unknown;
|
157
|
+
fromPartial(object: DeepPartial<QueryClientStateRequest>): QueryClientStateRequest;
|
158
|
+
};
|
159
|
+
export declare const QueryClientStateResponse: {
|
160
|
+
encode(message: QueryClientStateResponse, writer?: _m0.Writer): _m0.Writer;
|
161
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponse;
|
162
|
+
fromJSON(object: any): QueryClientStateResponse;
|
163
|
+
toJSON(message: QueryClientStateResponse): unknown;
|
164
|
+
fromPartial(object: DeepPartial<QueryClientStateResponse>): QueryClientStateResponse;
|
165
|
+
};
|
166
|
+
export declare const QueryClientStatesRequest: {
|
167
|
+
encode(message: QueryClientStatesRequest, writer?: _m0.Writer): _m0.Writer;
|
168
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesRequest;
|
169
|
+
fromJSON(object: any): QueryClientStatesRequest;
|
170
|
+
toJSON(message: QueryClientStatesRequest): unknown;
|
171
|
+
fromPartial(object: DeepPartial<QueryClientStatesRequest>): QueryClientStatesRequest;
|
172
|
+
};
|
173
|
+
export declare const QueryClientStatesResponse: {
|
174
|
+
encode(message: QueryClientStatesResponse, writer?: _m0.Writer): _m0.Writer;
|
175
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponse;
|
176
|
+
fromJSON(object: any): QueryClientStatesResponse;
|
177
|
+
toJSON(message: QueryClientStatesResponse): unknown;
|
178
|
+
fromPartial(object: DeepPartial<QueryClientStatesResponse>): QueryClientStatesResponse;
|
179
|
+
};
|
180
|
+
export declare const QueryConsensusStateRequest: {
|
181
|
+
encode(message: QueryConsensusStateRequest, writer?: _m0.Writer): _m0.Writer;
|
182
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateRequest;
|
183
|
+
fromJSON(object: any): QueryConsensusStateRequest;
|
184
|
+
toJSON(message: QueryConsensusStateRequest): unknown;
|
185
|
+
fromPartial(object: DeepPartial<QueryConsensusStateRequest>): QueryConsensusStateRequest;
|
186
|
+
};
|
187
|
+
export declare const QueryConsensusStateResponse: {
|
188
|
+
encode(message: QueryConsensusStateResponse, writer?: _m0.Writer): _m0.Writer;
|
189
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponse;
|
190
|
+
fromJSON(object: any): QueryConsensusStateResponse;
|
191
|
+
toJSON(message: QueryConsensusStateResponse): unknown;
|
192
|
+
fromPartial(object: DeepPartial<QueryConsensusStateResponse>): QueryConsensusStateResponse;
|
193
|
+
};
|
194
|
+
export declare const QueryConsensusStatesRequest: {
|
195
|
+
encode(message: QueryConsensusStatesRequest, writer?: _m0.Writer): _m0.Writer;
|
196
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesRequest;
|
197
|
+
fromJSON(object: any): QueryConsensusStatesRequest;
|
198
|
+
toJSON(message: QueryConsensusStatesRequest): unknown;
|
199
|
+
fromPartial(object: DeepPartial<QueryConsensusStatesRequest>): QueryConsensusStatesRequest;
|
200
|
+
};
|
201
|
+
export declare const QueryConsensusStatesResponse: {
|
202
|
+
encode(message: QueryConsensusStatesResponse, writer?: _m0.Writer): _m0.Writer;
|
203
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponse;
|
204
|
+
fromJSON(object: any): QueryConsensusStatesResponse;
|
205
|
+
toJSON(message: QueryConsensusStatesResponse): unknown;
|
206
|
+
fromPartial(object: DeepPartial<QueryConsensusStatesResponse>): QueryConsensusStatesResponse;
|
207
|
+
};
|
208
|
+
export declare const QueryClientStatusRequest: {
|
209
|
+
encode(message: QueryClientStatusRequest, writer?: _m0.Writer): _m0.Writer;
|
210
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusRequest;
|
211
|
+
fromJSON(object: any): QueryClientStatusRequest;
|
212
|
+
toJSON(message: QueryClientStatusRequest): unknown;
|
213
|
+
fromPartial(object: DeepPartial<QueryClientStatusRequest>): QueryClientStatusRequest;
|
214
|
+
};
|
215
|
+
export declare const QueryClientStatusResponse: {
|
216
|
+
encode(message: QueryClientStatusResponse, writer?: _m0.Writer): _m0.Writer;
|
217
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponse;
|
218
|
+
fromJSON(object: any): QueryClientStatusResponse;
|
219
|
+
toJSON(message: QueryClientStatusResponse): unknown;
|
220
|
+
fromPartial(object: DeepPartial<QueryClientStatusResponse>): QueryClientStatusResponse;
|
221
|
+
};
|
222
|
+
export declare const QueryClientParamsRequest: {
|
223
|
+
encode(_: QueryClientParamsRequest, writer?: _m0.Writer): _m0.Writer;
|
224
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsRequest;
|
225
|
+
fromJSON(_: any): QueryClientParamsRequest;
|
226
|
+
toJSON(_: QueryClientParamsRequest): unknown;
|
227
|
+
fromPartial(_: DeepPartial<QueryClientParamsRequest>): QueryClientParamsRequest;
|
228
|
+
};
|
229
|
+
export declare const QueryClientParamsResponse: {
|
230
|
+
encode(message: QueryClientParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
231
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponse;
|
232
|
+
fromJSON(object: any): QueryClientParamsResponse;
|
233
|
+
toJSON(message: QueryClientParamsResponse): unknown;
|
234
|
+
fromPartial(object: DeepPartial<QueryClientParamsResponse>): QueryClientParamsResponse;
|
235
|
+
};
|
236
|
+
export declare const QueryUpgradedClientStateRequest: {
|
237
|
+
encode(_: QueryUpgradedClientStateRequest, writer?: _m0.Writer): _m0.Writer;
|
238
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateRequest;
|
239
|
+
fromJSON(_: any): QueryUpgradedClientStateRequest;
|
240
|
+
toJSON(_: QueryUpgradedClientStateRequest): unknown;
|
241
|
+
fromPartial(_: DeepPartial<QueryUpgradedClientStateRequest>): QueryUpgradedClientStateRequest;
|
242
|
+
};
|
243
|
+
export declare const QueryUpgradedClientStateResponse: {
|
244
|
+
encode(message: QueryUpgradedClientStateResponse, writer?: _m0.Writer): _m0.Writer;
|
245
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponse;
|
246
|
+
fromJSON(object: any): QueryUpgradedClientStateResponse;
|
247
|
+
toJSON(message: QueryUpgradedClientStateResponse): unknown;
|
248
|
+
fromPartial(object: DeepPartial<QueryUpgradedClientStateResponse>): QueryUpgradedClientStateResponse;
|
249
|
+
};
|
250
|
+
export declare const QueryUpgradedConsensusStateRequest: {
|
251
|
+
encode(_: QueryUpgradedConsensusStateRequest, writer?: _m0.Writer): _m0.Writer;
|
252
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest;
|
253
|
+
fromJSON(_: any): QueryUpgradedConsensusStateRequest;
|
254
|
+
toJSON(_: QueryUpgradedConsensusStateRequest): unknown;
|
255
|
+
fromPartial(_: DeepPartial<QueryUpgradedConsensusStateRequest>): QueryUpgradedConsensusStateRequest;
|
256
|
+
};
|
257
|
+
export declare const QueryUpgradedConsensusStateResponse: {
|
258
|
+
encode(message: QueryUpgradedConsensusStateResponse, writer?: _m0.Writer): _m0.Writer;
|
259
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse;
|
260
|
+
fromJSON(object: any): QueryUpgradedConsensusStateResponse;
|
261
|
+
toJSON(message: QueryUpgradedConsensusStateResponse): unknown;
|
262
|
+
fromPartial(object: DeepPartial<QueryUpgradedConsensusStateResponse>): QueryUpgradedConsensusStateResponse;
|
263
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { LCDClient } from "@osmonauts/lcd";
|
2
|
+
import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query";
|
3
|
+
export declare class LCDQueryClient extends LCDClient {
|
4
|
+
constructor({ restEndpoint }: {
|
5
|
+
restEndpoint: any;
|
6
|
+
});
|
7
|
+
clientState(params: QueryClientStateRequest): Promise<QueryClientStateResponse>;
|
8
|
+
clientStates(params?: QueryClientStatesRequest): Promise<QueryClientStatesResponse>;
|
9
|
+
consensusState(params: QueryConsensusStateRequest): Promise<QueryConsensusStateResponse>;
|
10
|
+
consensusStates(params: QueryConsensusStatesRequest): Promise<QueryConsensusStatesResponse>;
|
11
|
+
clientStatus(params: QueryClientStatusRequest): Promise<QueryClientStatusResponse>;
|
12
|
+
clientParams(_params?: QueryClientParamsRequest): Promise<QueryClientParamsResponse>;
|
13
|
+
upgradedClientState(_params?: QueryUpgradedClientStateRequest): Promise<QueryUpgradedClientStateResponse>;
|
14
|
+
upgradedConsensusState(_params?: QueryUpgradedConsensusStateRequest): Promise<QueryUpgradedConsensusStateResponse>;
|
15
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { Rpc } from "@osmonauts/helpers";
|
2
|
+
import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query";
|
3
|
+
/** Query defines the RPC service */
|
4
|
+
export interface Query {
|
5
|
+
clientState(request: QueryClientStateRequest): Promise<QueryClientStateResponse>;
|
6
|
+
clientStates(request: QueryClientStatesRequest): Promise<QueryClientStatesResponse>;
|
7
|
+
consensusState(request: QueryConsensusStateRequest): Promise<QueryConsensusStateResponse>;
|
8
|
+
consensusStates(request: QueryConsensusStatesRequest): Promise<QueryConsensusStatesResponse>;
|
9
|
+
clientStatus(request: QueryClientStatusRequest): Promise<QueryClientStatusResponse>;
|
10
|
+
clientParams(request: QueryClientParamsRequest): Promise<QueryClientParamsResponse>;
|
11
|
+
upgradedClientState(request: QueryUpgradedClientStateRequest): Promise<QueryUpgradedClientStateResponse>;
|
12
|
+
upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise<QueryUpgradedConsensusStateResponse>;
|
13
|
+
}
|
14
|
+
export declare class QueryClientImpl implements Query {
|
15
|
+
private readonly rpc;
|
16
|
+
constructor(rpc: Rpc);
|
17
|
+
clientState(request: QueryClientStateRequest): Promise<QueryClientStateResponse>;
|
18
|
+
clientStates(request: QueryClientStatesRequest): Promise<QueryClientStatesResponse>;
|
19
|
+
consensusState(request: QueryConsensusStateRequest): Promise<QueryConsensusStateResponse>;
|
20
|
+
consensusStates(request: QueryConsensusStatesRequest): Promise<QueryConsensusStatesResponse>;
|
21
|
+
clientStatus(request: QueryClientStatusRequest): Promise<QueryClientStatusResponse>;
|
22
|
+
clientParams(request: QueryClientParamsRequest): Promise<QueryClientParamsResponse>;
|
23
|
+
upgradedClientState(request: QueryUpgradedClientStateRequest): Promise<QueryUpgradedClientStateResponse>;
|
24
|
+
upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise<QueryUpgradedConsensusStateResponse>;
|
25
|
+
}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
import { AminoMsg } from "@cosmjs/amino";
|
2
|
+
import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx";
|
3
|
+
export interface AminoMsgCreateClient extends AminoMsg {
|
4
|
+
type: "cosmos-sdk/MsgCreateClient";
|
5
|
+
value: {
|
6
|
+
client_state: {
|
7
|
+
type_url: string;
|
8
|
+
value: Uint8Array;
|
9
|
+
};
|
10
|
+
consensus_state: {
|
11
|
+
type_url: string;
|
12
|
+
value: Uint8Array;
|
13
|
+
};
|
14
|
+
signer: string;
|
15
|
+
};
|
16
|
+
}
|
17
|
+
export interface AminoMsgUpdateClient extends AminoMsg {
|
18
|
+
type: "cosmos-sdk/MsgUpdateClient";
|
19
|
+
value: {
|
20
|
+
client_id: string;
|
21
|
+
header: {
|
22
|
+
type_url: string;
|
23
|
+
value: Uint8Array;
|
24
|
+
};
|
25
|
+
signer: string;
|
26
|
+
};
|
27
|
+
}
|
28
|
+
export interface AminoMsgUpgradeClient extends AminoMsg {
|
29
|
+
type: "cosmos-sdk/MsgUpgradeClient";
|
30
|
+
value: {
|
31
|
+
client_id: string;
|
32
|
+
client_state: {
|
33
|
+
type_url: string;
|
34
|
+
value: Uint8Array;
|
35
|
+
};
|
36
|
+
consensus_state: {
|
37
|
+
type_url: string;
|
38
|
+
value: Uint8Array;
|
39
|
+
};
|
40
|
+
proof_upgrade_client: Uint8Array;
|
41
|
+
proof_upgrade_consensus_state: Uint8Array;
|
42
|
+
signer: string;
|
43
|
+
};
|
44
|
+
}
|
45
|
+
export interface AminoMsgSubmitMisbehaviour extends AminoMsg {
|
46
|
+
type: "cosmos-sdk/MsgSubmitMisbehaviour";
|
47
|
+
value: {
|
48
|
+
client_id: string;
|
49
|
+
misbehaviour: {
|
50
|
+
type_url: string;
|
51
|
+
value: Uint8Array;
|
52
|
+
};
|
53
|
+
signer: string;
|
54
|
+
};
|
55
|
+
}
|
56
|
+
export declare const AminoConverter: {
|
57
|
+
"/ibc.core.client.v1.MsgCreateClient": {
|
58
|
+
aminoType: string;
|
59
|
+
toAmino: ({ clientState, consensusState, signer }: MsgCreateClient) => AminoMsgCreateClient["value"];
|
60
|
+
fromAmino: ({ client_state, consensus_state, signer }: AminoMsgCreateClient["value"]) => MsgCreateClient;
|
61
|
+
};
|
62
|
+
"/ibc.core.client.v1.MsgUpdateClient": {
|
63
|
+
aminoType: string;
|
64
|
+
toAmino: ({ clientId, header, signer }: MsgUpdateClient) => AminoMsgUpdateClient["value"];
|
65
|
+
fromAmino: ({ client_id, header, signer }: AminoMsgUpdateClient["value"]) => MsgUpdateClient;
|
66
|
+
};
|
67
|
+
"/ibc.core.client.v1.MsgUpgradeClient": {
|
68
|
+
aminoType: string;
|
69
|
+
toAmino: ({ clientId, clientState, consensusState, proofUpgradeClient, proofUpgradeConsensusState, signer }: MsgUpgradeClient) => AminoMsgUpgradeClient["value"];
|
70
|
+
fromAmino: ({ client_id, client_state, consensus_state, proof_upgrade_client, proof_upgrade_consensus_state, signer }: AminoMsgUpgradeClient["value"]) => MsgUpgradeClient;
|
71
|
+
};
|
72
|
+
"/ibc.core.client.v1.MsgSubmitMisbehaviour": {
|
73
|
+
aminoType: string;
|
74
|
+
toAmino: ({ clientId, misbehaviour, signer }: MsgSubmitMisbehaviour) => AminoMsgSubmitMisbehaviour["value"];
|
75
|
+
fromAmino: ({ client_id, misbehaviour, signer }: AminoMsgSubmitMisbehaviour["value"]) => MsgSubmitMisbehaviour;
|
76
|
+
};
|
77
|
+
};
|