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
@@ -23,6 +23,8 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
|
|
23
23
|
|
24
24
|
var _lcd = require("@osmonauts/lcd");
|
25
25
|
|
26
|
+
var _helpers = require("@osmonauts/helpers");
|
27
|
+
|
26
28
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
27
29
|
|
28
30
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
@@ -59,7 +61,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
59
61
|
options.params.proposal_id = params.proposalId;
|
60
62
|
}
|
61
63
|
|
62
|
-
endpoint = "cosmos/gov/v1/proposals/".concat(params.
|
64
|
+
endpoint = "cosmos/gov/v1/proposals/".concat(params.proposalId);
|
63
65
|
_context.next = 5;
|
64
66
|
return this.request(endpoint, options);
|
65
67
|
|
@@ -108,7 +110,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
108
110
|
}
|
109
111
|
|
110
112
|
if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
|
111
|
-
options
|
113
|
+
(0, _helpers.setPaginationParams)(options, params.pagination);
|
112
114
|
}
|
113
115
|
|
114
116
|
endpoint = "cosmos/gov/v1/proposals";
|
@@ -151,7 +153,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
151
153
|
options.params.proposal_id = params.proposalId;
|
152
154
|
}
|
153
155
|
|
154
|
-
endpoint = "cosmos/gov/v1/proposals/".concat(params.
|
156
|
+
endpoint = "cosmos/gov/v1/proposals/".concat(params.proposalId, "votes/").concat(params.voter);
|
155
157
|
_context3.next = 5;
|
156
158
|
return this.request(endpoint, options);
|
157
159
|
|
@@ -192,10 +194,10 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
192
194
|
}
|
193
195
|
|
194
196
|
if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
|
195
|
-
options
|
197
|
+
(0, _helpers.setPaginationParams)(options, params.pagination);
|
196
198
|
}
|
197
199
|
|
198
|
-
endpoint = "cosmos/gov/v1/proposals/".concat(params.
|
200
|
+
endpoint = "cosmos/gov/v1/proposals/".concat(params.proposalId, "/votes");
|
199
201
|
_context4.next = 6;
|
200
202
|
return this.request(endpoint, options);
|
201
203
|
|
@@ -235,7 +237,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
235
237
|
options.params.params_type = _params.paramsType;
|
236
238
|
}
|
237
239
|
|
238
|
-
endpoint = "cosmos/gov/v1/params/".concat(_params.
|
240
|
+
endpoint = "cosmos/gov/v1/params/".concat(_params.paramsType);
|
239
241
|
_context5.next = 5;
|
240
242
|
return this.request(endpoint, options);
|
241
243
|
|
@@ -275,7 +277,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
275
277
|
options.params.proposal_id = params.proposalId;
|
276
278
|
}
|
277
279
|
|
278
|
-
endpoint = "cosmos/gov/v1/proposals/".concat(params.
|
280
|
+
endpoint = "cosmos/gov/v1/proposals/".concat(params.proposalId, "deposits/").concat(params.depositor);
|
279
281
|
_context6.next = 5;
|
280
282
|
return this.request(endpoint, options);
|
281
283
|
|
@@ -316,10 +318,10 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
316
318
|
}
|
317
319
|
|
318
320
|
if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
|
319
|
-
options
|
321
|
+
(0, _helpers.setPaginationParams)(options, params.pagination);
|
320
322
|
}
|
321
323
|
|
322
|
-
endpoint = "cosmos/gov/v1/proposals/".concat(params.
|
324
|
+
endpoint = "cosmos/gov/v1/proposals/".concat(params.proposalId, "/deposits");
|
323
325
|
_context7.next = 6;
|
324
326
|
return this.request(endpoint, options);
|
325
327
|
|
@@ -359,7 +361,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
359
361
|
options.params.proposal_id = params.proposalId;
|
360
362
|
}
|
361
363
|
|
362
|
-
endpoint = "cosmos/gov/v1/proposals/".concat(params.
|
364
|
+
endpoint = "cosmos/gov/v1/proposals/".concat(params.proposalId, "/tally");
|
363
365
|
_context8.next = 5;
|
364
366
|
return this.request(endpoint, options);
|
365
367
|
|
@@ -23,6 +23,8 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
|
|
23
23
|
|
24
24
|
var _lcd = require("@osmonauts/lcd");
|
25
25
|
|
26
|
+
var _helpers = require("@osmonauts/helpers");
|
27
|
+
|
26
28
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
27
29
|
|
28
30
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
@@ -59,7 +61,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
59
61
|
options.params.proposal_id = params.proposalId;
|
60
62
|
}
|
61
63
|
|
62
|
-
endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.
|
64
|
+
endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.proposalId);
|
63
65
|
_context.next = 5;
|
64
66
|
return this.request(endpoint, options);
|
65
67
|
|
@@ -108,7 +110,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
108
110
|
}
|
109
111
|
|
110
112
|
if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
|
111
|
-
options
|
113
|
+
(0, _helpers.setPaginationParams)(options, params.pagination);
|
112
114
|
}
|
113
115
|
|
114
116
|
endpoint = "cosmos/gov/v1beta1/proposals";
|
@@ -151,7 +153,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
151
153
|
options.params.proposal_id = params.proposalId;
|
152
154
|
}
|
153
155
|
|
154
|
-
endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.
|
156
|
+
endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.proposalId, "votes/").concat(params.voter);
|
155
157
|
_context3.next = 5;
|
156
158
|
return this.request(endpoint, options);
|
157
159
|
|
@@ -192,10 +194,10 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
192
194
|
}
|
193
195
|
|
194
196
|
if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
|
195
|
-
options
|
197
|
+
(0, _helpers.setPaginationParams)(options, params.pagination);
|
196
198
|
}
|
197
199
|
|
198
|
-
endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.
|
200
|
+
endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.proposalId, "/votes");
|
199
201
|
_context4.next = 6;
|
200
202
|
return this.request(endpoint, options);
|
201
203
|
|
@@ -235,7 +237,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
235
237
|
options.params.params_type = _params.paramsType;
|
236
238
|
}
|
237
239
|
|
238
|
-
endpoint = "cosmos/gov/v1beta1/params/".concat(_params.
|
240
|
+
endpoint = "cosmos/gov/v1beta1/params/".concat(_params.paramsType);
|
239
241
|
_context5.next = 5;
|
240
242
|
return this.request(endpoint, options);
|
241
243
|
|
@@ -275,7 +277,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
275
277
|
options.params.proposal_id = params.proposalId;
|
276
278
|
}
|
277
279
|
|
278
|
-
endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.
|
280
|
+
endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.proposalId, "deposits/").concat(params.depositor);
|
279
281
|
_context6.next = 5;
|
280
282
|
return this.request(endpoint, options);
|
281
283
|
|
@@ -316,10 +318,10 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
316
318
|
}
|
317
319
|
|
318
320
|
if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
|
319
|
-
options
|
321
|
+
(0, _helpers.setPaginationParams)(options, params.pagination);
|
320
322
|
}
|
321
323
|
|
322
|
-
endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.
|
324
|
+
endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.proposalId, "/deposits");
|
323
325
|
_context7.next = 6;
|
324
326
|
return this.request(endpoint, options);
|
325
327
|
|
@@ -359,7 +361,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
359
361
|
options.params.proposal_id = params.proposalId;
|
360
362
|
}
|
361
363
|
|
362
|
-
endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.
|
364
|
+
endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.proposalId, "/tally");
|
363
365
|
_context8.next = 5;
|
364
366
|
return this.request(endpoint, options);
|
365
367
|
|
@@ -23,6 +23,8 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
|
|
23
23
|
|
24
24
|
var _lcd = require("@osmonauts/lcd");
|
25
25
|
|
26
|
+
var _helpers = require("@osmonauts/helpers");
|
27
|
+
|
26
28
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
27
29
|
|
28
30
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
@@ -59,7 +61,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
59
61
|
options.params.group_id = params.groupId;
|
60
62
|
}
|
61
63
|
|
62
|
-
endpoint = "cosmos/group/v1/group_info/".concat(params.
|
64
|
+
endpoint = "cosmos/group/v1/group_info/".concat(params.groupId);
|
63
65
|
_context.next = 5;
|
64
66
|
return this.request(endpoint, options);
|
65
67
|
|
@@ -132,10 +134,10 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
132
134
|
}
|
133
135
|
|
134
136
|
if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
|
135
|
-
options
|
137
|
+
(0, _helpers.setPaginationParams)(options, params.pagination);
|
136
138
|
}
|
137
139
|
|
138
|
-
endpoint = "cosmos/group/v1/group_members/".concat(params.
|
140
|
+
endpoint = "cosmos/group/v1/group_members/".concat(params.groupId);
|
139
141
|
_context3.next = 6;
|
140
142
|
return this.request(endpoint, options);
|
141
143
|
|
@@ -172,7 +174,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
172
174
|
};
|
173
175
|
|
174
176
|
if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
|
175
|
-
options
|
177
|
+
(0, _helpers.setPaginationParams)(options, params.pagination);
|
176
178
|
}
|
177
179
|
|
178
180
|
endpoint = "cosmos/group/v1/groups_by_admin/".concat(params.admin);
|
@@ -216,10 +218,10 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
216
218
|
}
|
217
219
|
|
218
220
|
if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
|
219
|
-
options
|
221
|
+
(0, _helpers.setPaginationParams)(options, params.pagination);
|
220
222
|
}
|
221
223
|
|
222
|
-
endpoint = "cosmos/group/v1/group_policies_by_group/".concat(params.
|
224
|
+
endpoint = "cosmos/group/v1/group_policies_by_group/".concat(params.groupId);
|
223
225
|
_context5.next = 6;
|
224
226
|
return this.request(endpoint, options);
|
225
227
|
|
@@ -256,7 +258,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
256
258
|
};
|
257
259
|
|
258
260
|
if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
|
259
|
-
options
|
261
|
+
(0, _helpers.setPaginationParams)(options, params.pagination);
|
260
262
|
}
|
261
263
|
|
262
264
|
endpoint = "cosmos/group/v1/group_policies_by_admin/".concat(params.admin);
|
@@ -299,7 +301,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
299
301
|
options.params.proposal_id = params.proposalId;
|
300
302
|
}
|
301
303
|
|
302
|
-
endpoint = "cosmos/group/v1/proposal/".concat(params.
|
304
|
+
endpoint = "cosmos/group/v1/proposal/".concat(params.proposalId);
|
303
305
|
_context7.next = 5;
|
304
306
|
return this.request(endpoint, options);
|
305
307
|
|
@@ -336,7 +338,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
336
338
|
};
|
337
339
|
|
338
340
|
if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
|
339
|
-
options
|
341
|
+
(0, _helpers.setPaginationParams)(options, params.pagination);
|
340
342
|
}
|
341
343
|
|
342
344
|
endpoint = "cosmos/group/v1/proposals_by_group_policy/".concat(params.address);
|
@@ -379,7 +381,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
379
381
|
options.params.proposal_id = params.proposalId;
|
380
382
|
}
|
381
383
|
|
382
|
-
endpoint = "cosmos/group/v1/vote_by_proposal_voter/".concat(params.
|
384
|
+
endpoint = "cosmos/group/v1/vote_by_proposal_voter/".concat(params.proposalId, "/").concat(params.voter);
|
383
385
|
_context9.next = 5;
|
384
386
|
return this.request(endpoint, options);
|
385
387
|
|
@@ -420,10 +422,10 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
420
422
|
}
|
421
423
|
|
422
424
|
if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
|
423
|
-
options
|
425
|
+
(0, _helpers.setPaginationParams)(options, params.pagination);
|
424
426
|
}
|
425
427
|
|
426
|
-
endpoint = "cosmos/group/v1/votes_by_proposal/".concat(params.
|
428
|
+
endpoint = "cosmos/group/v1/votes_by_proposal/".concat(params.proposalId);
|
427
429
|
_context10.next = 6;
|
428
430
|
return this.request(endpoint, options);
|
429
431
|
|
@@ -460,7 +462,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
460
462
|
};
|
461
463
|
|
462
464
|
if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
|
463
|
-
options
|
465
|
+
(0, _helpers.setPaginationParams)(options, params.pagination);
|
464
466
|
}
|
465
467
|
|
466
468
|
endpoint = "cosmos/group/v1/votes_by_voter/".concat(params.voter);
|
@@ -500,7 +502,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
500
502
|
};
|
501
503
|
|
502
504
|
if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
|
503
|
-
options
|
505
|
+
(0, _helpers.setPaginationParams)(options, params.pagination);
|
504
506
|
}
|
505
507
|
|
506
508
|
endpoint = "cosmos/group/v1/groups_by_member/".concat(params.address);
|
@@ -543,7 +545,7 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
|
|
543
545
|
options.params.proposal_id = params.proposalId;
|
544
546
|
}
|
545
547
|
|
546
|
-
endpoint = "cosmos/group/v1/proposals/".concat(params.
|
548
|
+
endpoint = "cosmos/group/v1/proposals/".concat(params.proposalId, "/tally");
|
547
549
|
_context13.next = 5;
|
548
550
|
return this.request(endpoint, options);
|
549
551
|
|
@@ -27,7 +27,7 @@ var createLCDClient = /*#__PURE__*/function () {
|
|
27
27
|
restEndpoint = _ref.restEndpoint;
|
28
28
|
_context.next = 3;
|
29
29
|
return Promise.resolve().then(function () {
|
30
|
-
return _interopRequireWildcard(require("./
|
30
|
+
return _interopRequireWildcard(require("./auth/v1beta1/query.lcd"));
|
31
31
|
});
|
32
32
|
|
33
33
|
case 3:
|
@@ -41,7 +41,7 @@ var createLCDClient = /*#__PURE__*/function () {
|
|
41
41
|
};
|
42
42
|
_context.next = 9;
|
43
43
|
return Promise.resolve().then(function () {
|
44
|
-
return _interopRequireWildcard(require("./
|
44
|
+
return _interopRequireWildcard(require("./authz/v1beta1/query.lcd"));
|
45
45
|
});
|
46
46
|
|
47
47
|
case 9:
|
@@ -55,7 +55,7 @@ var createLCDClient = /*#__PURE__*/function () {
|
|
55
55
|
};
|
56
56
|
_context.next = 15;
|
57
57
|
return Promise.resolve().then(function () {
|
58
|
-
return _interopRequireWildcard(require("./
|
58
|
+
return _interopRequireWildcard(require("./bank/v1beta1/query.lcd"));
|
59
59
|
});
|
60
60
|
|
61
61
|
case 15:
|
@@ -64,61 +64,196 @@ var createLCDClient = /*#__PURE__*/function () {
|
|
64
64
|
restEndpoint: restEndpoint
|
65
65
|
};
|
66
66
|
_context.t10 = new _context.t8(_context.t9);
|
67
|
-
_context.
|
67
|
+
_context.t11 = {
|
68
|
+
v1beta1: _context.t10
|
69
|
+
};
|
70
|
+
_context.next = 21;
|
71
|
+
return Promise.resolve().then(function () {
|
72
|
+
return _interopRequireWildcard(require("./distribution/v1beta1/query.lcd"));
|
73
|
+
});
|
74
|
+
|
75
|
+
case 21:
|
76
|
+
_context.t12 = _context.sent.LCDQueryClient;
|
77
|
+
_context.t13 = {
|
78
|
+
restEndpoint: restEndpoint
|
79
|
+
};
|
80
|
+
_context.t14 = new _context.t12(_context.t13);
|
81
|
+
_context.t15 = {
|
82
|
+
v1beta1: _context.t14
|
83
|
+
};
|
84
|
+
_context.next = 27;
|
85
|
+
return Promise.resolve().then(function () {
|
86
|
+
return _interopRequireWildcard(require("./evidence/v1beta1/query.lcd"));
|
87
|
+
});
|
88
|
+
|
89
|
+
case 27:
|
90
|
+
_context.t16 = _context.sent.LCDQueryClient;
|
91
|
+
_context.t17 = {
|
92
|
+
restEndpoint: restEndpoint
|
93
|
+
};
|
94
|
+
_context.t18 = new _context.t16(_context.t17);
|
95
|
+
_context.t19 = {
|
96
|
+
v1beta1: _context.t18
|
97
|
+
};
|
98
|
+
_context.next = 33;
|
99
|
+
return Promise.resolve().then(function () {
|
100
|
+
return _interopRequireWildcard(require("./feegrant/v1beta1/query.lcd"));
|
101
|
+
});
|
102
|
+
|
103
|
+
case 33:
|
104
|
+
_context.t20 = _context.sent.LCDQueryClient;
|
105
|
+
_context.t21 = {
|
106
|
+
restEndpoint: restEndpoint
|
107
|
+
};
|
108
|
+
_context.t22 = new _context.t20(_context.t21);
|
109
|
+
_context.t23 = {
|
110
|
+
v1beta1: _context.t22
|
111
|
+
};
|
112
|
+
_context.next = 39;
|
113
|
+
return Promise.resolve().then(function () {
|
114
|
+
return _interopRequireWildcard(require("./gov/v1/query.lcd"));
|
115
|
+
});
|
116
|
+
|
117
|
+
case 39:
|
118
|
+
_context.t24 = _context.sent.LCDQueryClient;
|
119
|
+
_context.t25 = {
|
120
|
+
restEndpoint: restEndpoint
|
121
|
+
};
|
122
|
+
_context.t26 = new _context.t24(_context.t25);
|
123
|
+
_context.next = 44;
|
68
124
|
return Promise.resolve().then(function () {
|
69
125
|
return _interopRequireWildcard(require("./gov/v1beta1/query.lcd"));
|
70
126
|
});
|
71
127
|
|
72
|
-
case
|
73
|
-
_context.
|
74
|
-
_context.
|
128
|
+
case 44:
|
129
|
+
_context.t27 = _context.sent.LCDQueryClient;
|
130
|
+
_context.t28 = {
|
75
131
|
restEndpoint: restEndpoint
|
76
132
|
};
|
77
|
-
_context.
|
78
|
-
_context.
|
79
|
-
v1: _context.
|
80
|
-
v1beta1: _context.
|
133
|
+
_context.t29 = new _context.t27(_context.t28);
|
134
|
+
_context.t30 = {
|
135
|
+
v1: _context.t26,
|
136
|
+
v1beta1: _context.t29
|
81
137
|
};
|
82
|
-
_context.next =
|
138
|
+
_context.next = 50;
|
83
139
|
return Promise.resolve().then(function () {
|
84
140
|
return _interopRequireWildcard(require("./group/v1/query.lcd"));
|
85
141
|
});
|
86
142
|
|
87
|
-
case
|
88
|
-
_context.
|
89
|
-
_context.
|
143
|
+
case 50:
|
144
|
+
_context.t31 = _context.sent.LCDQueryClient;
|
145
|
+
_context.t32 = {
|
90
146
|
restEndpoint: restEndpoint
|
91
147
|
};
|
92
|
-
_context.
|
93
|
-
_context.
|
94
|
-
v1: _context.
|
148
|
+
_context.t33 = new _context.t31(_context.t32);
|
149
|
+
_context.t34 = {
|
150
|
+
v1: _context.t33
|
95
151
|
};
|
96
|
-
_context.next =
|
152
|
+
_context.next = 56;
|
153
|
+
return Promise.resolve().then(function () {
|
154
|
+
return _interopRequireWildcard(require("./mint/v1beta1/query.lcd"));
|
155
|
+
});
|
156
|
+
|
157
|
+
case 56:
|
158
|
+
_context.t35 = _context.sent.LCDQueryClient;
|
159
|
+
_context.t36 = {
|
160
|
+
restEndpoint: restEndpoint
|
161
|
+
};
|
162
|
+
_context.t37 = new _context.t35(_context.t36);
|
163
|
+
_context.t38 = {
|
164
|
+
v1beta1: _context.t37
|
165
|
+
};
|
166
|
+
_context.next = 62;
|
167
|
+
return Promise.resolve().then(function () {
|
168
|
+
return _interopRequireWildcard(require("./nft/v1beta1/query.lcd"));
|
169
|
+
});
|
170
|
+
|
171
|
+
case 62:
|
172
|
+
_context.t39 = _context.sent.LCDQueryClient;
|
173
|
+
_context.t40 = {
|
174
|
+
restEndpoint: restEndpoint
|
175
|
+
};
|
176
|
+
_context.t41 = new _context.t39(_context.t40);
|
177
|
+
_context.t42 = {
|
178
|
+
v1beta1: _context.t41
|
179
|
+
};
|
180
|
+
_context.next = 68;
|
181
|
+
return Promise.resolve().then(function () {
|
182
|
+
return _interopRequireWildcard(require("./params/v1beta1/query.lcd"));
|
183
|
+
});
|
184
|
+
|
185
|
+
case 68:
|
186
|
+
_context.t43 = _context.sent.LCDQueryClient;
|
187
|
+
_context.t44 = {
|
188
|
+
restEndpoint: restEndpoint
|
189
|
+
};
|
190
|
+
_context.t45 = new _context.t43(_context.t44);
|
191
|
+
_context.t46 = {
|
192
|
+
v1beta1: _context.t45
|
193
|
+
};
|
194
|
+
_context.next = 74;
|
195
|
+
return Promise.resolve().then(function () {
|
196
|
+
return _interopRequireWildcard(require("./slashing/v1beta1/query.lcd"));
|
197
|
+
});
|
198
|
+
|
199
|
+
case 74:
|
200
|
+
_context.t47 = _context.sent.LCDQueryClient;
|
201
|
+
_context.t48 = {
|
202
|
+
restEndpoint: restEndpoint
|
203
|
+
};
|
204
|
+
_context.t49 = new _context.t47(_context.t48);
|
205
|
+
_context.t50 = {
|
206
|
+
v1beta1: _context.t49
|
207
|
+
};
|
208
|
+
_context.next = 80;
|
97
209
|
return Promise.resolve().then(function () {
|
98
210
|
return _interopRequireWildcard(require("./staking/v1beta1/query.lcd"));
|
99
211
|
});
|
100
212
|
|
101
|
-
case
|
102
|
-
_context.
|
103
|
-
_context.
|
213
|
+
case 80:
|
214
|
+
_context.t51 = _context.sent.LCDQueryClient;
|
215
|
+
_context.t52 = {
|
104
216
|
restEndpoint: restEndpoint
|
105
217
|
};
|
106
|
-
_context.
|
107
|
-
_context.
|
108
|
-
v1beta1: _context.
|
218
|
+
_context.t53 = new _context.t51(_context.t52);
|
219
|
+
_context.t54 = {
|
220
|
+
v1beta1: _context.t53
|
109
221
|
};
|
110
|
-
_context.
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
222
|
+
_context.next = 86;
|
223
|
+
return Promise.resolve().then(function () {
|
224
|
+
return _interopRequireWildcard(require("./upgrade/v1beta1/query.lcd"));
|
225
|
+
});
|
226
|
+
|
227
|
+
case 86:
|
228
|
+
_context.t55 = _context.sent.LCDQueryClient;
|
229
|
+
_context.t56 = {
|
230
|
+
restEndpoint: restEndpoint
|
231
|
+
};
|
232
|
+
_context.t57 = new _context.t55(_context.t56);
|
233
|
+
_context.t58 = {
|
234
|
+
v1beta1: _context.t57
|
235
|
+
};
|
236
|
+
_context.t59 = {
|
237
|
+
auth: _context.t3,
|
238
|
+
authz: _context.t7,
|
239
|
+
bank: _context.t11,
|
240
|
+
distribution: _context.t15,
|
241
|
+
evidence: _context.t19,
|
242
|
+
feegrant: _context.t23,
|
243
|
+
gov: _context.t30,
|
244
|
+
group: _context.t34,
|
245
|
+
mint: _context.t38,
|
246
|
+
nft: _context.t42,
|
247
|
+
params: _context.t46,
|
248
|
+
slashing: _context.t50,
|
249
|
+
staking: _context.t54,
|
250
|
+
upgrade: _context.t58
|
116
251
|
};
|
117
252
|
return _context.abrupt("return", {
|
118
|
-
cosmos: _context.
|
253
|
+
cosmos: _context.t59
|
119
254
|
});
|
120
255
|
|
121
|
-
case
|
256
|
+
case 92:
|
122
257
|
case "end":
|
123
258
|
return _context.stop();
|
124
259
|
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
4
|
+
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports.GenesisState = void 0;
|
9
|
+
|
10
|
+
var _mint = require("./mint");
|
11
|
+
|
12
|
+
var _m0 = _interopRequireWildcard(require("protobufjs/minimal"));
|
13
|
+
|
14
|
+
var _helpers = require("@osmonauts/helpers");
|
15
|
+
|
16
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
17
|
+
|
18
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
19
|
+
|
20
|
+
function createBaseGenesisState() {
|
21
|
+
return {
|
22
|
+
minter: undefined,
|
23
|
+
params: undefined
|
24
|
+
};
|
25
|
+
}
|
26
|
+
|
27
|
+
var GenesisState = {
|
28
|
+
encode: function encode(message) {
|
29
|
+
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
30
|
+
|
31
|
+
if (message.minter !== undefined) {
|
32
|
+
_mint.Minter.encode(message.minter, writer.uint32(10).fork()).ldelim();
|
33
|
+
}
|
34
|
+
|
35
|
+
if (message.params !== undefined) {
|
36
|
+
_mint.Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
37
|
+
}
|
38
|
+
|
39
|
+
return writer;
|
40
|
+
},
|
41
|
+
decode: function decode(input, length) {
|
42
|
+
var reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
43
|
+
var end = length === undefined ? reader.len : reader.pos + length;
|
44
|
+
var message = createBaseGenesisState();
|
45
|
+
|
46
|
+
while (reader.pos < end) {
|
47
|
+
var tag = reader.uint32();
|
48
|
+
|
49
|
+
switch (tag >>> 3) {
|
50
|
+
case 1:
|
51
|
+
message.minter = _mint.Minter.decode(reader, reader.uint32());
|
52
|
+
break;
|
53
|
+
|
54
|
+
case 2:
|
55
|
+
message.params = _mint.Params.decode(reader, reader.uint32());
|
56
|
+
break;
|
57
|
+
|
58
|
+
default:
|
59
|
+
reader.skipType(tag & 7);
|
60
|
+
break;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
return message;
|
65
|
+
},
|
66
|
+
fromJSON: function fromJSON(object) {
|
67
|
+
return {
|
68
|
+
minter: (0, _helpers.isSet)(object.minter) ? _mint.Minter.fromJSON(object.minter) : undefined,
|
69
|
+
params: (0, _helpers.isSet)(object.params) ? _mint.Params.fromJSON(object.params) : undefined
|
70
|
+
};
|
71
|
+
},
|
72
|
+
toJSON: function toJSON(message) {
|
73
|
+
var obj = {};
|
74
|
+
message.minter !== undefined && (obj.minter = message.minter ? _mint.Minter.toJSON(message.minter) : undefined);
|
75
|
+
message.params !== undefined && (obj.params = message.params ? _mint.Params.toJSON(message.params) : undefined);
|
76
|
+
return obj;
|
77
|
+
},
|
78
|
+
fromPartial: function fromPartial(object) {
|
79
|
+
var message = createBaseGenesisState();
|
80
|
+
message.minter = object.minter !== undefined && object.minter !== null ? _mint.Minter.fromPartial(object.minter) : undefined;
|
81
|
+
message.params = object.params !== undefined && object.params !== null ? _mint.Params.fromPartial(object.params) : undefined;
|
82
|
+
return message;
|
83
|
+
}
|
84
|
+
};
|
85
|
+
exports.GenesisState = GenesisState;
|