juno-network 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- package/main/codegen/confio/proofs.js +29 -3
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/main/codegen/cosmos/bundle.js +47 -47
- package/main/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1/gov.js +21 -4
- package/main/codegen/cosmos/gov/v1/query.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/gov.js +21 -4
- package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/main/codegen/cosmos/staking/v1beta1/authz.js +13 -2
- package/main/codegen/cosmos/staking/v1beta1/staking.js +9 -2
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -2
- package/main/codegen/cosmos/tx/v1beta1/service.js +17 -4
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/main/codegen/cosmos_proto/cosmos.js +7 -1
- package/main/codegen/cosmwasm/bundle.js +10 -10
- package/main/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
- package/main/codegen/cosmwasm/wasm/v1/types.js +19 -4
- package/main/codegen/gaia/bundle.js +28 -0
- package/main/codegen/gaia/globalfee/v1beta1/genesis.js +100 -0
- package/main/codegen/gaia/globalfee/v1beta1/query.js +91 -0
- package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +54 -0
- package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +47 -0
- package/main/codegen/gaia/lcd.js +167 -0
- package/main/codegen/gaia/rpc.query.js +134 -0
- package/main/codegen/gogoproto/bundle.js +2 -2
- package/main/codegen/google/bundle.js +6 -6
- package/main/codegen/google/protobuf/descriptor.js +63 -8
- package/main/codegen/google/protobuf/duration.js +1 -1
- package/main/codegen/google/protobuf/timestamp.js +1 -1
- package/main/codegen/helpers.js +1 -1
- package/main/codegen/ibc/applications/transfer/v1/tx.js +1 -1
- package/main/codegen/ibc/bundle.js +56 -56
- package/main/codegen/ibc/core/channel/v1/channel.js +21 -4
- package/main/codegen/ibc/core/channel/v1/genesis.js +1 -1
- package/main/codegen/ibc/core/client/v1/genesis.js +1 -1
- package/main/codegen/ibc/core/connection/v1/connection.js +13 -3
- package/main/codegen/ibc/core/connection/v1/genesis.js +1 -1
- package/main/codegen/ibc/core/connection/v1/tx.js +1 -1
- package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +19 -3
- package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +19 -3
- package/main/codegen/index.js +30 -19
- package/main/codegen/juno/bundle.js +20 -20
- package/main/codegen/juno/mint/mint.js +1 -1
- package/main/codegen/osmosis/bundle.js +15 -15
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +49 -8
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +112 -6
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +19 -1
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +10 -0
- package/main/codegen/router/bundle.js +8 -8
- package/main/codegen/tendermint/abci/types.js +33 -4
- package/main/codegen/tendermint/bundle.js +17 -17
- package/main/codegen/tendermint/crypto/proof.js +1 -1
- package/main/codegen/tendermint/libs/bits/types.js +1 -1
- package/main/codegen/tendermint/p2p/types.js +1 -1
- package/main/codegen/tendermint/types/types.js +18 -4
- package/main/codegen/tendermint/types/validator.js +1 -1
- package/main/codegen/tendermint/version/types.js +1 -1
- package/module/codegen/confio/proofs.js +29 -2
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/module/codegen/cosmos/bundle.js +47 -47
- package/module/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1/gov.js +21 -2
- package/module/codegen/cosmos/gov/v1/query.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/gov.js +21 -2
- package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/module/codegen/cosmos/staking/v1beta1/authz.js +13 -1
- package/module/codegen/cosmos/staking/v1beta1/staking.js +9 -1
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -1
- package/module/codegen/cosmos/tx/v1beta1/service.js +17 -2
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/module/codegen/cosmos_proto/cosmos.js +7 -1
- package/module/codegen/cosmwasm/bundle.js +10 -10
- package/module/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
- package/module/codegen/cosmwasm/wasm/v1/types.js +19 -2
- package/module/codegen/gaia/bundle.js +17 -0
- package/module/codegen/gaia/globalfee/v1beta1/genesis.js +73 -0
- package/module/codegen/gaia/globalfee/v1beta1/query.js +64 -0
- package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +16 -0
- package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +27 -0
- package/module/codegen/gaia/lcd.js +57 -0
- package/module/codegen/gaia/rpc.query.js +39 -0
- package/module/codegen/gogoproto/bundle.js +2 -2
- package/module/codegen/google/bundle.js +6 -6
- package/module/codegen/google/protobuf/descriptor.js +63 -6
- package/module/codegen/google/protobuf/duration.js +1 -1
- package/module/codegen/google/protobuf/timestamp.js +1 -1
- package/module/codegen/helpers.js +1 -1
- package/module/codegen/ibc/applications/transfer/v1/tx.js +1 -1
- package/module/codegen/ibc/bundle.js +56 -56
- package/module/codegen/ibc/core/channel/v1/channel.js +21 -2
- package/module/codegen/ibc/core/channel/v1/genesis.js +1 -1
- package/module/codegen/ibc/core/client/v1/genesis.js +1 -1
- package/module/codegen/ibc/core/connection/v1/connection.js +13 -2
- package/module/codegen/ibc/core/connection/v1/genesis.js +1 -1
- package/module/codegen/ibc/core/connection/v1/tx.js +1 -1
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +19 -2
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +19 -2
- package/module/codegen/index.js +2 -1
- package/module/codegen/juno/bundle.js +20 -20
- package/module/codegen/juno/mint/mint.js +1 -1
- package/module/codegen/osmosis/bundle.js +15 -15
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +51 -8
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +106 -4
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +20 -2
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +7 -1
- package/module/codegen/router/bundle.js +8 -8
- package/module/codegen/tendermint/abci/types.js +33 -4
- package/module/codegen/tendermint/bundle.js +17 -17
- package/module/codegen/tendermint/crypto/proof.js +1 -1
- package/module/codegen/tendermint/libs/bits/types.js +1 -1
- package/module/codegen/tendermint/p2p/types.js +1 -1
- package/module/codegen/tendermint/types/evidence.js +1 -1
- package/module/codegen/tendermint/types/types.js +19 -3
- package/module/codegen/tendermint/types/validator.js +1 -1
- package/module/codegen/tendermint/version/types.js +1 -1
- package/package.json +2 -2
- package/src/codegen/confio/proofs.ts +80 -8
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +8 -0
- package/src/codegen/cosmos/authz/v1beta1/event.ts +10 -0
- package/src/codegen/cosmos/authz/v1beta1/query.ts +17 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +6 -0
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +46 -0
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +13 -0
- package/src/codegen/cosmos/bank/v1beta1/query.ts +44 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +87 -1
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +40 -1
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +78 -0
- package/src/codegen/cosmos/bundle.ts +76 -76
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +12 -0
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +11 -0
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +5 -0
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +48 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +27 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/gov/v1/genesis.ts +14 -1
- package/src/codegen/cosmos/gov/v1/gov.ts +86 -4
- package/src/codegen/cosmos/gov/v1/query.ts +43 -3
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/gov/v1/tx.ts +7 -2
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +14 -1
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +91 -5
- package/src/codegen/cosmos/gov/v1beta1/query.ts +43 -3
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +2 -2
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +34 -2
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +22 -0
- package/src/codegen/cosmos/staking/v1beta1/query.ts +60 -0
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +97 -2
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +7 -0
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +66 -2
- package/src/codegen/cosmos/tx/v1beta1/service.ts +74 -4
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +181 -3
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +14 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +4 -0
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +35 -1
- package/src/codegen/cosmos_proto/cosmos.ts +37 -2
- package/src/codegen/cosmwasm/bundle.ts +14 -14
- package/src/codegen/cosmwasm/wasm/v1/authz.ts +21 -0
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +2 -0
- package/src/codegen/cosmwasm/wasm/v1/ibc.ts +17 -1
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +129 -0
- package/src/codegen/cosmwasm/wasm/v1/query.ts +39 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +21 -21
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +73 -0
- package/src/codegen/cosmwasm/wasm/v1/types.ts +79 -6
- package/src/codegen/gaia/bundle.ts +18 -0
- package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +129 -0
- package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +22 -0
- package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +34 -0
- package/src/codegen/gaia/globalfee/v1beta1/query.ts +110 -0
- package/src/codegen/gaia/lcd.ts +59 -0
- package/src/codegen/gaia/rpc.query.ts +41 -0
- package/src/codegen/gogoproto/bundle.ts +2 -2
- package/src/codegen/google/bundle.ts +9 -9
- package/src/codegen/google/protobuf/any.ts +31 -0
- package/src/codegen/google/protobuf/descriptor.ts +641 -15
- package/src/codegen/google/protobuf/duration.ts +15 -1
- package/src/codegen/google/protobuf/timestamp.ts +13 -1
- package/src/codegen/helpers.ts +1 -1
- package/src/codegen/ibc/applications/transfer/v1/query.ts +7 -0
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +15 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +3 -3
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +20 -1
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +7 -0
- package/src/codegen/ibc/bundle.ts +74 -74
- package/src/codegen/ibc/core/channel/v1/channel.ts +105 -6
- package/src/codegen/ibc/core/channel/v1/genesis.ts +3 -1
- package/src/codegen/ibc/core/channel/v1/query.ts +118 -0
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +30 -30
- package/src/codegen/ibc/core/channel/v1/tx.ts +5 -0
- package/src/codegen/ibc/core/client/v1/client.ts +32 -0
- package/src/codegen/ibc/core/client/v1/genesis.ts +13 -1
- package/src/codegen/ibc/core/client/v1/query.ts +35 -0
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +12 -12
- package/src/codegen/ibc/core/client/v1/tx.ts +32 -0
- package/src/codegen/ibc/core/connection/v1/connection.ts +78 -4
- package/src/codegen/ibc/core/connection/v1/genesis.ts +3 -1
- package/src/codegen/ibc/core/connection/v1/query.ts +31 -0
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +12 -12
- package/src/codegen/ibc/core/connection/v1/tx.ts +26 -1
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +3 -0
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +63 -4
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +63 -4
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +41 -0
- package/src/codegen/index.ts +2 -1
- package/src/codegen/juno/bundle.ts +32 -32
- package/src/codegen/juno/feeshare/v1/feeshare.ts +14 -0
- package/src/codegen/juno/feeshare/v1/genesis.ts +16 -0
- package/src/codegen/juno/feeshare/v1/query.ts +25 -0
- package/src/codegen/juno/feeshare/v1/tx.amino.ts +9 -9
- package/src/codegen/juno/feeshare/v1/tx.ts +28 -0
- package/src/codegen/juno/mint/genesis.ts +3 -0
- package/src/codegen/juno/mint/mint.ts +7 -1
- package/src/codegen/juno/mint/query.ts +3 -0
- package/src/codegen/osmosis/bundle.ts +24 -24
- package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +1 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +1 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +1 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +81 -24
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +23 -2
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +9 -1
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +151 -2
- package/src/codegen/router/bundle.ts +12 -12
- package/src/codegen/router/v1/genesis.ts +7 -0
- package/src/codegen/router/v1/query.ts +1 -0
- package/src/codegen/tendermint/abci/types.ts +109 -8
- package/src/codegen/tendermint/bundle.ts +21 -21
- package/src/codegen/tendermint/crypto/proof.ts +4 -1
- package/src/codegen/tendermint/libs/bits/types.ts +1 -1
- package/src/codegen/tendermint/p2p/types.ts +1 -1
- package/src/codegen/tendermint/types/evidence.ts +1 -1
- package/src/codegen/tendermint/types/params.ts +36 -0
- package/src/codegen/tendermint/types/types.ts +50 -6
- package/src/codegen/tendermint/types/validator.ts +1 -1
- package/src/codegen/tendermint/version/types.ts +1 -1
- package/types/codegen/confio/proofs.d.ts +64 -8
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +7 -0
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +6 -0
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +10 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +5 -0
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +37 -0
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +9 -0
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +34 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +62 -1
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +35 -1
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +63 -0
- package/types/codegen/cosmos/bundle.d.ts +70 -70
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +8 -0
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +6 -0
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +5 -0
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +28 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +21 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +8 -1
- package/types/codegen/cosmos/gov/v1/gov.d.ts +69 -4
- package/types/codegen/cosmos/gov/v1/query.d.ts +31 -3
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/gov/v1/tx.d.ts +5 -2
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +8 -1
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +74 -5
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +31 -3
- package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +2 -2
- package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +27 -2
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +15 -0
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +41 -0
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +58 -2
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +6 -0
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +57 -2
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +58 -4
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +152 -3
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +14 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +3 -0
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +30 -1
- package/types/codegen/cosmos_proto/bundle.d.ts +1 -1
- package/types/codegen/cosmos_proto/cosmos.d.ts +34 -2
- package/types/codegen/cosmwasm/bundle.d.ts +10 -10
- package/types/codegen/cosmwasm/wasm/v1/authz.d.ts +18 -0
- package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +1 -0
- package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +14 -1
- package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +78 -0
- package/types/codegen/cosmwasm/wasm/v1/query.d.ts +29 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +21 -21
- package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +47 -0
- package/types/codegen/cosmwasm/wasm/v1/types.d.ts +58 -6
- package/types/codegen/gaia/bundle.d.ts +174 -0
- package/types/codegen/gaia/globalfee/v1beta1/genesis.d.ts +45 -0
- package/types/codegen/gaia/globalfee/v1beta1/query.d.ts +39 -0
- package/types/codegen/gaia/globalfee/v1beta1/query.lcd.d.ts +9 -0
- package/types/codegen/gaia/globalfee/v1beta1/query.rpc.Query.d.ts +15 -0
- package/types/codegen/gaia/lcd.d.ts +33 -0
- package/types/codegen/gaia/rpc.query.d.ts +105 -0
- package/types/codegen/google/bundle.d.ts +123 -123
- package/types/codegen/google/protobuf/any.d.ts +30 -0
- package/types/codegen/google/protobuf/descriptor.d.ts +566 -12
- package/types/codegen/google/protobuf/duration.d.ts +14 -1
- package/types/codegen/google/protobuf/timestamp.d.ts +12 -1
- package/types/codegen/helpers.d.ts +1 -1
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +6 -0
- package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +13 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +3 -3
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +14 -1
- package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +4 -0
- package/types/codegen/ibc/bundle.d.ts +773 -773
- package/types/codegen/ibc/core/channel/v1/channel.d.ts +76 -6
- package/types/codegen/ibc/core/channel/v1/genesis.d.ts +2 -1
- package/types/codegen/ibc/core/channel/v1/query.d.ts +71 -0
- package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +30 -30
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +4 -0
- package/types/codegen/ibc/core/client/v1/client.d.ts +24 -0
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +8 -1
- package/types/codegen/ibc/core/client/v1/query.d.ts +25 -0
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +12 -12
- package/types/codegen/ibc/core/client/v1/tx.d.ts +21 -0
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +61 -4
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +2 -1
- package/types/codegen/ibc/core/connection/v1/query.d.ts +20 -0
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +12 -12
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +18 -1
- package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +2 -0
- package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +47 -4
- package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +47 -4
- package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +31 -0
- package/types/codegen/ics23/bundle.d.ts +2 -2
- package/types/codegen/index.d.ts +2 -1
- package/types/codegen/juno/bundle.d.ts +141 -141
- package/types/codegen/juno/feeshare/v1/feeshare.d.ts +12 -0
- package/types/codegen/juno/feeshare/v1/genesis.d.ts +13 -0
- package/types/codegen/juno/feeshare/v1/query.d.ts +20 -0
- package/types/codegen/juno/feeshare/v1/tx.amino.d.ts +9 -9
- package/types/codegen/juno/feeshare/v1/tx.d.ts +23 -0
- package/types/codegen/juno/mint/genesis.d.ts +2 -0
- package/types/codegen/juno/mint/mint.d.ts +5 -1
- package/types/codegen/juno/mint/query.d.ts +3 -0
- package/types/codegen/osmosis/bundle.d.ts +163 -116
- package/types/codegen/osmosis/client.d.ts +29 -4
- package/types/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.d.ts +1 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/genesis.d.ts +1 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.d.ts +1 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.amino.d.ts +35 -16
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.d.ts +31 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.registry.d.ts +13 -1
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.d.ts +3 -1
- package/types/codegen/router/bundle.d.ts +27 -27
- package/types/codegen/router/v1/genesis.d.ts +6 -0
- package/types/codegen/router/v1/query.d.ts +1 -0
- package/types/codegen/tendermint/abci/types.d.ts +78 -8
- package/types/codegen/tendermint/bundle.d.ts +291 -291
- package/types/codegen/tendermint/crypto/proof.d.ts +3 -1
- package/types/codegen/tendermint/libs/bits/types.d.ts +1 -1
- package/types/codegen/tendermint/p2p/types.d.ts +1 -1
- package/types/codegen/tendermint/types/params.d.ts +32 -0
- package/types/codegen/tendermint/types/types.d.ts +36 -5
- package/types/codegen/tendermint/types/validator.d.ts +1 -1
- package/types/codegen/tendermint/version/types.d.ts +1 -1
@@ -20,8 +20,16 @@ export interface MsgStoreCode {
|
|
20
20
|
/** MsgStoreCode submit Wasm code to the system */
|
21
21
|
|
22
22
|
export interface MsgStoreCodeSDKType {
|
23
|
+
/** Sender is the that actor that signed the messages */
|
23
24
|
sender: string;
|
25
|
+
/** WASMByteCode can be raw or gzip compressed */
|
26
|
+
|
24
27
|
wasm_byte_code: Uint8Array;
|
28
|
+
/**
|
29
|
+
* InstantiatePermission access control to apply on contract creation,
|
30
|
+
* optional
|
31
|
+
*/
|
32
|
+
|
25
33
|
instantiate_permission?: AccessConfigSDKType;
|
26
34
|
}
|
27
35
|
/** MsgStoreCodeResponse returns store result data. */
|
@@ -36,7 +44,10 @@ export interface MsgStoreCodeResponse {
|
|
36
44
|
/** MsgStoreCodeResponse returns store result data. */
|
37
45
|
|
38
46
|
export interface MsgStoreCodeResponseSDKType {
|
47
|
+
/** CodeID is the reference to the stored WASM code */
|
39
48
|
code_id: Long;
|
49
|
+
/** Checksum is the sha256 hash of the stored code */
|
50
|
+
|
40
51
|
checksum: Uint8Array;
|
41
52
|
}
|
42
53
|
/**
|
@@ -69,11 +80,22 @@ export interface MsgInstantiateContract {
|
|
69
80
|
*/
|
70
81
|
|
71
82
|
export interface MsgInstantiateContractSDKType {
|
83
|
+
/** Sender is the that actor that signed the messages */
|
72
84
|
sender: string;
|
85
|
+
/** Admin is an optional address that can execute migrations */
|
86
|
+
|
73
87
|
admin: string;
|
88
|
+
/** CodeID is the reference to the stored WASM code */
|
89
|
+
|
74
90
|
code_id: Long;
|
91
|
+
/** Label is optional metadata to be stored with a contract instance. */
|
92
|
+
|
75
93
|
label: string;
|
94
|
+
/** Msg json encoded message to be passed to the contract on instantiation */
|
95
|
+
|
76
96
|
msg: Uint8Array;
|
97
|
+
/** Funds coins that are transferred to the contract on instantiation */
|
98
|
+
|
77
99
|
funds: CoinSDKType[];
|
78
100
|
}
|
79
101
|
/**
|
@@ -115,13 +137,31 @@ export interface MsgInstantiateContract2 {
|
|
115
137
|
*/
|
116
138
|
|
117
139
|
export interface MsgInstantiateContract2SDKType {
|
140
|
+
/** Sender is the that actor that signed the messages */
|
118
141
|
sender: string;
|
142
|
+
/** Admin is an optional address that can execute migrations */
|
143
|
+
|
119
144
|
admin: string;
|
145
|
+
/** CodeID is the reference to the stored WASM code */
|
146
|
+
|
120
147
|
code_id: Long;
|
148
|
+
/** Label is optional metadata to be stored with a contract instance. */
|
149
|
+
|
121
150
|
label: string;
|
151
|
+
/** Msg json encoded message to be passed to the contract on instantiation */
|
152
|
+
|
122
153
|
msg: Uint8Array;
|
154
|
+
/** Funds coins that are transferred to the contract on instantiation */
|
155
|
+
|
123
156
|
funds: CoinSDKType[];
|
157
|
+
/** Salt is an arbitrary value provided by the sender. Size can be 1 to 64. */
|
158
|
+
|
124
159
|
salt: Uint8Array;
|
160
|
+
/**
|
161
|
+
* FixMsg include the msg value into the hash for the predictable address.
|
162
|
+
* Default is false
|
163
|
+
*/
|
164
|
+
|
125
165
|
fix_msg: boolean;
|
126
166
|
}
|
127
167
|
/** MsgInstantiateContractResponse return instantiation result data */
|
@@ -136,7 +176,10 @@ export interface MsgInstantiateContractResponse {
|
|
136
176
|
/** MsgInstantiateContractResponse return instantiation result data */
|
137
177
|
|
138
178
|
export interface MsgInstantiateContractResponseSDKType {
|
179
|
+
/** Address is the bech32 address of the new contract instance. */
|
139
180
|
address: string;
|
181
|
+
/** Data contains bytes to returned from the contract */
|
182
|
+
|
140
183
|
data: Uint8Array;
|
141
184
|
}
|
142
185
|
/** MsgInstantiateContract2Response return instantiation result data */
|
@@ -151,7 +194,10 @@ export interface MsgInstantiateContract2Response {
|
|
151
194
|
/** MsgInstantiateContract2Response return instantiation result data */
|
152
195
|
|
153
196
|
export interface MsgInstantiateContract2ResponseSDKType {
|
197
|
+
/** Address is the bech32 address of the new contract instance. */
|
154
198
|
address: string;
|
199
|
+
/** Data contains bytes to returned from the contract */
|
200
|
+
|
155
201
|
data: Uint8Array;
|
156
202
|
}
|
157
203
|
/** MsgExecuteContract submits the given message data to a smart contract */
|
@@ -172,9 +218,16 @@ export interface MsgExecuteContract {
|
|
172
218
|
/** MsgExecuteContract submits the given message data to a smart contract */
|
173
219
|
|
174
220
|
export interface MsgExecuteContractSDKType {
|
221
|
+
/** Sender is the that actor that signed the messages */
|
175
222
|
sender: string;
|
223
|
+
/** Contract is the address of the smart contract */
|
224
|
+
|
176
225
|
contract: string;
|
226
|
+
/** Msg json encoded message to be passed to the contract */
|
227
|
+
|
177
228
|
msg: Uint8Array;
|
229
|
+
/** Funds coins that are transferred to the contract on execution */
|
230
|
+
|
178
231
|
funds: CoinSDKType[];
|
179
232
|
}
|
180
233
|
/** MsgExecuteContractResponse returns execution result data. */
|
@@ -186,6 +239,7 @@ export interface MsgExecuteContractResponse {
|
|
186
239
|
/** MsgExecuteContractResponse returns execution result data. */
|
187
240
|
|
188
241
|
export interface MsgExecuteContractResponseSDKType {
|
242
|
+
/** Data contains bytes to returned from the contract */
|
189
243
|
data: Uint8Array;
|
190
244
|
}
|
191
245
|
/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */
|
@@ -206,9 +260,16 @@ export interface MsgMigrateContract {
|
|
206
260
|
/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */
|
207
261
|
|
208
262
|
export interface MsgMigrateContractSDKType {
|
263
|
+
/** Sender is the that actor that signed the messages */
|
209
264
|
sender: string;
|
265
|
+
/** Contract is the address of the smart contract */
|
266
|
+
|
210
267
|
contract: string;
|
268
|
+
/** CodeID references the new WASM code */
|
269
|
+
|
211
270
|
code_id: Long;
|
271
|
+
/** Msg json encoded message to be passed to the contract on migration */
|
272
|
+
|
212
273
|
msg: Uint8Array;
|
213
274
|
}
|
214
275
|
/** MsgMigrateContractResponse returns contract migration result data. */
|
@@ -223,6 +284,10 @@ export interface MsgMigrateContractResponse {
|
|
223
284
|
/** MsgMigrateContractResponse returns contract migration result data. */
|
224
285
|
|
225
286
|
export interface MsgMigrateContractResponseSDKType {
|
287
|
+
/**
|
288
|
+
* Data contains same raw bytes returned as data from the wasm contract.
|
289
|
+
* (May be empty)
|
290
|
+
*/
|
226
291
|
data: Uint8Array;
|
227
292
|
}
|
228
293
|
/** MsgUpdateAdmin sets a new admin for a smart contract */
|
@@ -240,8 +305,13 @@ export interface MsgUpdateAdmin {
|
|
240
305
|
/** MsgUpdateAdmin sets a new admin for a smart contract */
|
241
306
|
|
242
307
|
export interface MsgUpdateAdminSDKType {
|
308
|
+
/** Sender is the that actor that signed the messages */
|
243
309
|
sender: string;
|
310
|
+
/** NewAdmin address to be set */
|
311
|
+
|
244
312
|
new_admin: string;
|
313
|
+
/** Contract is the address of the smart contract */
|
314
|
+
|
245
315
|
contract: string;
|
246
316
|
}
|
247
317
|
/** MsgUpdateAdminResponse returns empty data */
|
@@ -262,7 +332,10 @@ export interface MsgClearAdmin {
|
|
262
332
|
/** MsgClearAdmin removes any admin stored for a smart contract */
|
263
333
|
|
264
334
|
export interface MsgClearAdminSDKType {
|
335
|
+
/** Sender is the that actor that signed the messages */
|
265
336
|
sender: string;
|
337
|
+
/** Contract is the address of the smart contract */
|
338
|
+
|
266
339
|
contract: string;
|
267
340
|
}
|
268
341
|
/** MsgClearAdminResponse returns empty data */
|
@@ -23,7 +23,28 @@ export enum AccessType {
|
|
23
23
|
ACCESS_TYPE_ANY_OF_ADDRESSES = 4,
|
24
24
|
UNRECOGNIZED = -1,
|
25
25
|
}
|
26
|
-
|
26
|
+
/** AccessType permission types */
|
27
|
+
|
28
|
+
export enum AccessTypeSDKType {
|
29
|
+
/** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */
|
30
|
+
ACCESS_TYPE_UNSPECIFIED = 0,
|
31
|
+
|
32
|
+
/** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */
|
33
|
+
ACCESS_TYPE_NOBODY = 1,
|
34
|
+
|
35
|
+
/**
|
36
|
+
* ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to a single address
|
37
|
+
* Deprecated: use AccessTypeAnyOfAddresses instead
|
38
|
+
*/
|
39
|
+
ACCESS_TYPE_ONLY_ADDRESS = 2,
|
40
|
+
|
41
|
+
/** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */
|
42
|
+
ACCESS_TYPE_EVERYBODY = 3,
|
43
|
+
|
44
|
+
/** ACCESS_TYPE_ANY_OF_ADDRESSES - AccessTypeAnyOfAddresses allow any of the addresses */
|
45
|
+
ACCESS_TYPE_ANY_OF_ADDRESSES = 4,
|
46
|
+
UNRECOGNIZED = -1,
|
47
|
+
}
|
27
48
|
export function accessTypeFromJSON(object: any): AccessType {
|
28
49
|
switch (object) {
|
29
50
|
case 0:
|
@@ -90,7 +111,22 @@ export enum ContractCodeHistoryOperationType {
|
|
90
111
|
CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3,
|
91
112
|
UNRECOGNIZED = -1,
|
92
113
|
}
|
93
|
-
|
114
|
+
/** ContractCodeHistoryOperationType actions that caused a code change */
|
115
|
+
|
116
|
+
export enum ContractCodeHistoryOperationTypeSDKType {
|
117
|
+
/** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */
|
118
|
+
CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0,
|
119
|
+
|
120
|
+
/** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */
|
121
|
+
CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1,
|
122
|
+
|
123
|
+
/** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */
|
124
|
+
CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2,
|
125
|
+
|
126
|
+
/** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */
|
127
|
+
CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3,
|
128
|
+
UNRECOGNIZED = -1,
|
129
|
+
}
|
94
130
|
export function contractCodeHistoryOperationTypeFromJSON(object: any): ContractCodeHistoryOperationType {
|
95
131
|
switch (object) {
|
96
132
|
case 0:
|
@@ -142,7 +178,7 @@ export interface AccessTypeParam {
|
|
142
178
|
/** AccessTypeParam */
|
143
179
|
|
144
180
|
export interface AccessTypeParamSDKType {
|
145
|
-
value:
|
181
|
+
value: AccessTypeSDKType;
|
146
182
|
}
|
147
183
|
/** AccessConfig access control type. */
|
148
184
|
|
@@ -159,7 +195,12 @@ export interface AccessConfig {
|
|
159
195
|
/** AccessConfig access control type. */
|
160
196
|
|
161
197
|
export interface AccessConfigSDKType {
|
162
|
-
permission:
|
198
|
+
permission: AccessTypeSDKType;
|
199
|
+
/**
|
200
|
+
* Address
|
201
|
+
* Deprecated: replaced by addresses
|
202
|
+
*/
|
203
|
+
|
163
204
|
address: string;
|
164
205
|
addresses: string[];
|
165
206
|
}
|
@@ -173,7 +214,7 @@ export interface Params {
|
|
173
214
|
|
174
215
|
export interface ParamsSDKType {
|
175
216
|
code_upload_access?: AccessConfigSDKType;
|
176
|
-
instantiate_default_permission:
|
217
|
+
instantiate_default_permission: AccessTypeSDKType;
|
177
218
|
}
|
178
219
|
/** CodeInfo is data for the uploaded contract WASM code */
|
179
220
|
|
@@ -190,8 +231,13 @@ export interface CodeInfo {
|
|
190
231
|
/** CodeInfo is data for the uploaded contract WASM code */
|
191
232
|
|
192
233
|
export interface CodeInfoSDKType {
|
234
|
+
/** CodeHash is the unique identifier created by wasmvm */
|
193
235
|
code_hash: Uint8Array;
|
236
|
+
/** Creator address who initially stored the code */
|
237
|
+
|
194
238
|
creator: string;
|
239
|
+
/** InstantiateConfig access control to apply on contract creation, optional */
|
240
|
+
|
195
241
|
instantiate_config?: AccessConfigSDKType;
|
196
242
|
}
|
197
243
|
/** ContractInfo stores a WASM contract instance */
|
@@ -222,12 +268,26 @@ export interface ContractInfo {
|
|
222
268
|
/** ContractInfo stores a WASM contract instance */
|
223
269
|
|
224
270
|
export interface ContractInfoSDKType {
|
271
|
+
/** CodeID is the reference to the stored Wasm code */
|
225
272
|
code_id: Long;
|
273
|
+
/** Creator address who initially instantiated the contract */
|
274
|
+
|
226
275
|
creator: string;
|
276
|
+
/** Admin is an optional address that can execute migrations */
|
277
|
+
|
227
278
|
admin: string;
|
279
|
+
/** Label is optional metadata to be stored with a contract instance. */
|
280
|
+
|
228
281
|
label: string;
|
282
|
+
/** Created Tx position when the contract was instantiated. */
|
283
|
+
|
229
284
|
created?: AbsoluteTxPositionSDKType;
|
230
285
|
ibc_port_id: string;
|
286
|
+
/**
|
287
|
+
* Extension is an extension point to store custom metadata within the
|
288
|
+
* persistence model.
|
289
|
+
*/
|
290
|
+
|
231
291
|
extension?: AnySDKType;
|
232
292
|
}
|
233
293
|
/** ContractCodeHistoryEntry metadata to a contract. */
|
@@ -245,8 +305,12 @@ export interface ContractCodeHistoryEntry {
|
|
245
305
|
/** ContractCodeHistoryEntry metadata to a contract. */
|
246
306
|
|
247
307
|
export interface ContractCodeHistoryEntrySDKType {
|
248
|
-
operation:
|
308
|
+
operation: ContractCodeHistoryOperationTypeSDKType;
|
309
|
+
/** CodeID is the reference to the stored WASM code */
|
310
|
+
|
249
311
|
code_id: Long;
|
312
|
+
/** Updated Tx position when the operation was executed. */
|
313
|
+
|
250
314
|
updated?: AbsoluteTxPositionSDKType;
|
251
315
|
msg: Uint8Array;
|
252
316
|
}
|
@@ -271,7 +335,13 @@ export interface AbsoluteTxPosition {
|
|
271
335
|
*/
|
272
336
|
|
273
337
|
export interface AbsoluteTxPositionSDKType {
|
338
|
+
/** BlockHeight is the block the contract was created at */
|
274
339
|
block_height: Long;
|
340
|
+
/**
|
341
|
+
* TxIndex is a monotonic counter within the block (actual transaction index,
|
342
|
+
* or gas consumed)
|
343
|
+
*/
|
344
|
+
|
275
345
|
tx_index: Long;
|
276
346
|
}
|
277
347
|
/** Model is a struct that holds a KV pair */
|
@@ -286,7 +356,10 @@ export interface Model {
|
|
286
356
|
/** Model is a struct that holds a KV pair */
|
287
357
|
|
288
358
|
export interface ModelSDKType {
|
359
|
+
/** hex-encode key to read it better (this is often ascii) */
|
289
360
|
key: Uint8Array;
|
361
|
+
/** base64-encode raw value */
|
362
|
+
|
290
363
|
value: Uint8Array;
|
291
364
|
}
|
292
365
|
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import * as _52 from "./globalfee/v1beta1/genesis";
|
2
|
+
import * as _53 from "./globalfee/v1beta1/query";
|
3
|
+
import * as _147 from "./globalfee/v1beta1/query.lcd";
|
4
|
+
import * as _148 from "./globalfee/v1beta1/query.rpc.Query";
|
5
|
+
import * as _189 from "./lcd";
|
6
|
+
import * as _190 from "./rpc.query";
|
7
|
+
export namespace gaia {
|
8
|
+
export namespace globalfee {
|
9
|
+
export const v1beta1 = { ..._52,
|
10
|
+
..._53,
|
11
|
+
..._147,
|
12
|
+
..._148
|
13
|
+
};
|
14
|
+
}
|
15
|
+
export const ClientFactory = { ..._189,
|
16
|
+
..._190
|
17
|
+
};
|
18
|
+
}
|
@@ -0,0 +1,129 @@
|
|
1
|
+
import { DecCoin, DecCoinSDKType } from "../../../cosmos/base/v1beta1/coin";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
4
|
+
/** GenesisState - initial state of module */
|
5
|
+
|
6
|
+
export interface GenesisState {
|
7
|
+
/** Params of this module */
|
8
|
+
params?: Params;
|
9
|
+
}
|
10
|
+
/** GenesisState - initial state of module */
|
11
|
+
|
12
|
+
export interface GenesisStateSDKType {
|
13
|
+
/** Params of this module */
|
14
|
+
params?: ParamsSDKType;
|
15
|
+
}
|
16
|
+
/** Params defines the set of module parameters. */
|
17
|
+
|
18
|
+
export interface Params {
|
19
|
+
/**
|
20
|
+
* Minimum stores the minimum gas price(s) for all TX on the chain.
|
21
|
+
* When multiple coins are defined then they are accepted alternatively.
|
22
|
+
* The list must be sorted by denoms asc. No duplicate denoms or zero amount
|
23
|
+
* values allowed. For more information see
|
24
|
+
* https://docs.cosmos.network/main/modules/auth#concepts
|
25
|
+
*/
|
26
|
+
minimumGasPrices: DecCoin[];
|
27
|
+
}
|
28
|
+
/** Params defines the set of module parameters. */
|
29
|
+
|
30
|
+
export interface ParamsSDKType {
|
31
|
+
/**
|
32
|
+
* Minimum stores the minimum gas price(s) for all TX on the chain.
|
33
|
+
* When multiple coins are defined then they are accepted alternatively.
|
34
|
+
* The list must be sorted by denoms asc. No duplicate denoms or zero amount
|
35
|
+
* values allowed. For more information see
|
36
|
+
* https://docs.cosmos.network/main/modules/auth#concepts
|
37
|
+
*/
|
38
|
+
minimum_gas_prices: DecCoinSDKType[];
|
39
|
+
}
|
40
|
+
|
41
|
+
function createBaseGenesisState(): GenesisState {
|
42
|
+
return {
|
43
|
+
params: undefined
|
44
|
+
};
|
45
|
+
}
|
46
|
+
|
47
|
+
export const GenesisState = {
|
48
|
+
encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
49
|
+
if (message.params !== undefined) {
|
50
|
+
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
51
|
+
}
|
52
|
+
|
53
|
+
return writer;
|
54
|
+
},
|
55
|
+
|
56
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState {
|
57
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
58
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
59
|
+
const message = createBaseGenesisState();
|
60
|
+
|
61
|
+
while (reader.pos < end) {
|
62
|
+
const tag = reader.uint32();
|
63
|
+
|
64
|
+
switch (tag >>> 3) {
|
65
|
+
case 1:
|
66
|
+
message.params = Params.decode(reader, reader.uint32());
|
67
|
+
break;
|
68
|
+
|
69
|
+
default:
|
70
|
+
reader.skipType(tag & 7);
|
71
|
+
break;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
return message;
|
76
|
+
},
|
77
|
+
|
78
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState {
|
79
|
+
const message = createBaseGenesisState();
|
80
|
+
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
81
|
+
return message;
|
82
|
+
}
|
83
|
+
|
84
|
+
};
|
85
|
+
|
86
|
+
function createBaseParams(): Params {
|
87
|
+
return {
|
88
|
+
minimumGasPrices: []
|
89
|
+
};
|
90
|
+
}
|
91
|
+
|
92
|
+
export const Params = {
|
93
|
+
encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
94
|
+
for (const v of message.minimumGasPrices) {
|
95
|
+
DecCoin.encode(v!, writer.uint32(10).fork()).ldelim();
|
96
|
+
}
|
97
|
+
|
98
|
+
return writer;
|
99
|
+
},
|
100
|
+
|
101
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Params {
|
102
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
103
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
104
|
+
const message = createBaseParams();
|
105
|
+
|
106
|
+
while (reader.pos < end) {
|
107
|
+
const tag = reader.uint32();
|
108
|
+
|
109
|
+
switch (tag >>> 3) {
|
110
|
+
case 1:
|
111
|
+
message.minimumGasPrices.push(DecCoin.decode(reader, reader.uint32()));
|
112
|
+
break;
|
113
|
+
|
114
|
+
default:
|
115
|
+
reader.skipType(tag & 7);
|
116
|
+
break;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
return message;
|
121
|
+
},
|
122
|
+
|
123
|
+
fromPartial(object: DeepPartial<Params>): Params {
|
124
|
+
const message = createBaseParams();
|
125
|
+
message.minimumGasPrices = object.minimumGasPrices?.map(e => DecCoin.fromPartial(e)) || [];
|
126
|
+
return message;
|
127
|
+
}
|
128
|
+
|
129
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { LCDClient } from "@osmonauts/lcd";
|
2
|
+
import { QueryMinimumGasPricesRequest, QueryMinimumGasPricesResponseSDKType } from "./query";
|
3
|
+
export class LCDQueryClient {
|
4
|
+
req: LCDClient;
|
5
|
+
|
6
|
+
constructor({
|
7
|
+
requestClient
|
8
|
+
}: {
|
9
|
+
requestClient: LCDClient;
|
10
|
+
}) {
|
11
|
+
this.req = requestClient;
|
12
|
+
this.minimumGasPrices = this.minimumGasPrices.bind(this);
|
13
|
+
}
|
14
|
+
/* MinimumGasPrices */
|
15
|
+
|
16
|
+
|
17
|
+
async minimumGasPrices(_params: QueryMinimumGasPricesRequest = {}): Promise<QueryMinimumGasPricesResponseSDKType> {
|
18
|
+
const endpoint = `gaia/globalfee/v1beta1/minimum_gas_prices`;
|
19
|
+
return await this.req.get<QueryMinimumGasPricesResponseSDKType>(endpoint);
|
20
|
+
}
|
21
|
+
|
22
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { Rpc } from "../../../helpers";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate";
|
4
|
+
import { QueryMinimumGasPricesRequest, QueryMinimumGasPricesResponse } from "./query";
|
5
|
+
/** Query defines the gRPC querier service. */
|
6
|
+
|
7
|
+
export interface Query {
|
8
|
+
minimumGasPrices(request?: QueryMinimumGasPricesRequest): Promise<QueryMinimumGasPricesResponse>;
|
9
|
+
}
|
10
|
+
export class QueryClientImpl implements Query {
|
11
|
+
private readonly rpc: Rpc;
|
12
|
+
|
13
|
+
constructor(rpc: Rpc) {
|
14
|
+
this.rpc = rpc;
|
15
|
+
this.minimumGasPrices = this.minimumGasPrices.bind(this);
|
16
|
+
}
|
17
|
+
|
18
|
+
minimumGasPrices(request: QueryMinimumGasPricesRequest = {}): Promise<QueryMinimumGasPricesResponse> {
|
19
|
+
const data = QueryMinimumGasPricesRequest.encode(request).finish();
|
20
|
+
const promise = this.rpc.request("gaia.globalfee.v1beta1.Query", "MinimumGasPrices", data);
|
21
|
+
return promise.then(data => QueryMinimumGasPricesResponse.decode(new _m0.Reader(data)));
|
22
|
+
}
|
23
|
+
|
24
|
+
}
|
25
|
+
export const createRpcQueryExtension = (base: QueryClient) => {
|
26
|
+
const rpc = createProtobufRpcClient(base);
|
27
|
+
const queryService = new QueryClientImpl(rpc);
|
28
|
+
return {
|
29
|
+
minimumGasPrices(request?: QueryMinimumGasPricesRequest): Promise<QueryMinimumGasPricesResponse> {
|
30
|
+
return queryService.minimumGasPrices(request);
|
31
|
+
}
|
32
|
+
|
33
|
+
};
|
34
|
+
};
|
@@ -0,0 +1,110 @@
|
|
1
|
+
import { DecCoin, DecCoinSDKType } from "../../../cosmos/base/v1beta1/coin";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
4
|
+
/**
|
5
|
+
* QueryMinimumGasPricesRequest is the request type for the
|
6
|
+
* Query/MinimumGasPrices RPC method.
|
7
|
+
*/
|
8
|
+
|
9
|
+
export interface QueryMinimumGasPricesRequest {}
|
10
|
+
/**
|
11
|
+
* QueryMinimumGasPricesRequest is the request type for the
|
12
|
+
* Query/MinimumGasPrices RPC method.
|
13
|
+
*/
|
14
|
+
|
15
|
+
export interface QueryMinimumGasPricesRequestSDKType {}
|
16
|
+
/**
|
17
|
+
* QueryMinimumGasPricesResponse is the response type for the
|
18
|
+
* Query/MinimumGasPrices RPC method.
|
19
|
+
*/
|
20
|
+
|
21
|
+
export interface QueryMinimumGasPricesResponse {
|
22
|
+
minimumGasPrices: DecCoin[];
|
23
|
+
}
|
24
|
+
/**
|
25
|
+
* QueryMinimumGasPricesResponse is the response type for the
|
26
|
+
* Query/MinimumGasPrices RPC method.
|
27
|
+
*/
|
28
|
+
|
29
|
+
export interface QueryMinimumGasPricesResponseSDKType {
|
30
|
+
minimum_gas_prices: DecCoinSDKType[];
|
31
|
+
}
|
32
|
+
|
33
|
+
function createBaseQueryMinimumGasPricesRequest(): QueryMinimumGasPricesRequest {
|
34
|
+
return {};
|
35
|
+
}
|
36
|
+
|
37
|
+
export const QueryMinimumGasPricesRequest = {
|
38
|
+
encode(_: QueryMinimumGasPricesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
39
|
+
return writer;
|
40
|
+
},
|
41
|
+
|
42
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryMinimumGasPricesRequest {
|
43
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
44
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
45
|
+
const message = createBaseQueryMinimumGasPricesRequest();
|
46
|
+
|
47
|
+
while (reader.pos < end) {
|
48
|
+
const tag = reader.uint32();
|
49
|
+
|
50
|
+
switch (tag >>> 3) {
|
51
|
+
default:
|
52
|
+
reader.skipType(tag & 7);
|
53
|
+
break;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
return message;
|
58
|
+
},
|
59
|
+
|
60
|
+
fromPartial(_: DeepPartial<QueryMinimumGasPricesRequest>): QueryMinimumGasPricesRequest {
|
61
|
+
const message = createBaseQueryMinimumGasPricesRequest();
|
62
|
+
return message;
|
63
|
+
}
|
64
|
+
|
65
|
+
};
|
66
|
+
|
67
|
+
function createBaseQueryMinimumGasPricesResponse(): QueryMinimumGasPricesResponse {
|
68
|
+
return {
|
69
|
+
minimumGasPrices: []
|
70
|
+
};
|
71
|
+
}
|
72
|
+
|
73
|
+
export const QueryMinimumGasPricesResponse = {
|
74
|
+
encode(message: QueryMinimumGasPricesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
75
|
+
for (const v of message.minimumGasPrices) {
|
76
|
+
DecCoin.encode(v!, writer.uint32(10).fork()).ldelim();
|
77
|
+
}
|
78
|
+
|
79
|
+
return writer;
|
80
|
+
},
|
81
|
+
|
82
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryMinimumGasPricesResponse {
|
83
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
84
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
85
|
+
const message = createBaseQueryMinimumGasPricesResponse();
|
86
|
+
|
87
|
+
while (reader.pos < end) {
|
88
|
+
const tag = reader.uint32();
|
89
|
+
|
90
|
+
switch (tag >>> 3) {
|
91
|
+
case 1:
|
92
|
+
message.minimumGasPrices.push(DecCoin.decode(reader, reader.uint32()));
|
93
|
+
break;
|
94
|
+
|
95
|
+
default:
|
96
|
+
reader.skipType(tag & 7);
|
97
|
+
break;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
return message;
|
102
|
+
},
|
103
|
+
|
104
|
+
fromPartial(object: DeepPartial<QueryMinimumGasPricesResponse>): QueryMinimumGasPricesResponse {
|
105
|
+
const message = createBaseQueryMinimumGasPricesResponse();
|
106
|
+
message.minimumGasPrices = object.minimumGasPrices?.map(e => DecCoin.fromPartial(e)) || [];
|
107
|
+
return message;
|
108
|
+
}
|
109
|
+
|
110
|
+
};
|