juno-network 0.12.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- package/main/codegen/confio/proofs.js +3 -29
- 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 +4 -21
- 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 +4 -21
- package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/main/codegen/cosmos/staking/v1beta1/authz.js +2 -13
- package/main/codegen/cosmos/staking/v1beta1/staking.js +2 -9
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +2 -19
- package/main/codegen/cosmos/tx/v1beta1/service.js +4 -17
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/main/codegen/cosmos_proto/cosmos.js +1 -7
- package/main/codegen/cosmwasm/bundle.js +17 -16
- package/main/codegen/cosmwasm/wasm/v1/authz.js +437 -0
- package/main/codegen/cosmwasm/wasm/v1/genesis.js +21 -2
- package/main/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
- package/main/codegen/cosmwasm/wasm/v1/proposal.js +291 -4
- package/main/codegen/cosmwasm/wasm/v1/query.js +179 -3
- package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +65 -2
- package/main/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +27 -0
- package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +89 -34
- package/main/codegen/cosmwasm/wasm/v1/tx.js +183 -23
- package/main/codegen/cosmwasm/wasm/v1/tx.registry.js +19 -1
- package/main/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +10 -0
- package/main/codegen/cosmwasm/wasm/v1/types.js +35 -29
- package/main/codegen/gogoproto/bundle.js +2 -2
- package/main/codegen/google/bundle.js +6 -6
- package/main/codegen/google/protobuf/descriptor.js +8 -63
- 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 +4 -21
- 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 +3 -13
- 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 +3 -19
- package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +3 -19
- package/main/codegen/index.js +34 -1
- package/main/codegen/juno/bundle.js +20 -20
- package/main/codegen/juno/mint/mint.js +1 -1
- package/main/codegen/osmosis/bundle.js +35 -0
- package/main/codegen/osmosis/client.js +67 -0
- package/main/codegen/osmosis/lcd.js +167 -0
- package/main/codegen/osmosis/rpc.query.js +134 -0
- package/main/codegen/osmosis/rpc.tx.js +133 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +48 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/genesis.js +118 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/params.js +63 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.js +242 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +111 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +73 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +151 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +400 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +119 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +75 -0
- package/main/codegen/router/bundle.js +25 -0
- package/main/codegen/router/lcd.js +164 -0
- package/main/codegen/router/rpc.query.js +131 -0
- package/main/codegen/router/v1/genesis.js +286 -0
- package/main/codegen/router/v1/query.js +76 -0
- package/main/codegen/router/v1/query.lcd.js +54 -0
- package/main/codegen/router/v1/query.rpc.Query.js +47 -0
- package/main/codegen/tendermint/abci/types.js +4 -33
- 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 +4 -18
- package/main/codegen/tendermint/types/validator.js +1 -1
- package/main/codegen/tendermint/version/types.js +1 -1
- package/module/codegen/confio/proofs.js +2 -29
- 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 +2 -21
- 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 +2 -21
- package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/module/codegen/cosmos/staking/v1beta1/authz.js +1 -13
- package/module/codegen/cosmos/staking/v1beta1/staking.js +1 -9
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -19
- package/module/codegen/cosmos/tx/v1beta1/service.js +2 -17
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/module/codegen/cosmos_proto/cosmos.js +1 -7
- package/module/codegen/cosmwasm/bundle.js +17 -16
- package/module/codegen/cosmwasm/wasm/v1/authz.js +346 -0
- package/module/codegen/cosmwasm/wasm/v1/genesis.js +11 -3
- package/module/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
- package/module/codegen/cosmwasm/wasm/v1/proposal.js +261 -2
- package/module/codegen/cosmwasm/wasm/v1/query.js +159 -2
- package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +22 -2
- package/module/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +19 -1
- package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +55 -2
- package/module/codegen/cosmwasm/wasm/v1/tx.js +161 -16
- package/module/codegen/cosmwasm/wasm/v1/tx.registry.js +20 -2
- package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +7 -1
- package/module/codegen/cosmwasm/wasm/v1/types.js +19 -29
- package/module/codegen/gogoproto/bundle.js +2 -2
- package/module/codegen/google/bundle.js +6 -6
- package/module/codegen/google/protobuf/descriptor.js +6 -63
- 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 +2 -21
- 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 +2 -13
- 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 +2 -19
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +2 -19
- package/module/codegen/index.js +4 -1
- package/module/codegen/juno/bundle.js +20 -20
- package/module/codegen/juno/mint/mint.js +1 -1
- package/module/codegen/osmosis/bundle.js +24 -0
- package/module/codegen/osmosis/client.js +36 -0
- package/module/codegen/osmosis/lcd.js +57 -0
- package/module/codegen/osmosis/rpc.query.js +39 -0
- package/module/codegen/osmosis/rpc.tx.js +30 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +37 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/genesis.js +91 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/params.js +38 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.js +207 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +33 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +150 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +371 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +105 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +41 -0
- package/module/codegen/router/bundle.js +14 -0
- package/module/codegen/router/lcd.js +55 -0
- package/module/codegen/router/rpc.query.js +37 -0
- package/module/codegen/router/v1/genesis.js +261 -0
- package/module/codegen/router/v1/query.js +63 -0
- package/module/codegen/router/v1/query.lcd.js +16 -0
- package/module/codegen/router/v1/query.rpc.Query.js +27 -0
- package/module/codegen/tendermint/abci/types.js +4 -33
- 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 +3 -19
- package/module/codegen/tendermint/types/validator.js +1 -1
- package/module/codegen/tendermint/version/types.js +1 -1
- package/package.json +7 -7
- package/src/codegen/confio/proofs.ts +8 -80
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +0 -8
- package/src/codegen/cosmos/authz/v1beta1/event.ts +0 -10
- package/src/codegen/cosmos/authz/v1beta1/query.ts +0 -17
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +0 -6
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +0 -46
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +0 -13
- package/src/codegen/cosmos/bank/v1beta1/query.ts +0 -44
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +1 -87
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +1 -40
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +0 -78
- package/src/codegen/cosmos/bundle.ts +68 -68
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +0 -12
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +0 -11
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +0 -5
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +0 -48
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +0 -27
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/gov/v1/genesis.ts +1 -14
- package/src/codegen/cosmos/gov/v1/gov.ts +4 -86
- package/src/codegen/cosmos/gov/v1/query.ts +3 -43
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/gov/v1/tx.ts +2 -7
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +1 -14
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +5 -91
- package/src/codegen/cosmos/gov/v1beta1/query.ts +3 -43
- 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 +2 -34
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +0 -22
- package/src/codegen/cosmos/staking/v1beta1/query.ts +0 -60
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +2 -97
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +0 -7
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +2 -66
- package/src/codegen/cosmos/tx/v1beta1/service.ts +4 -74
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +3 -181
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +0 -14
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +0 -4
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +1 -35
- package/src/codegen/cosmos_proto/cosmos.ts +2 -37
- package/src/codegen/cosmwasm/bundle.ts +24 -22
- package/src/codegen/cosmwasm/wasm/v1/authz.ts +603 -0
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +14 -4
- package/src/codegen/cosmwasm/wasm/v1/ibc.ts +1 -17
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +466 -72
- package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +27 -3
- package/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts +29 -1
- package/src/codegen/cosmwasm/wasm/v1/query.ts +261 -33
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +91 -21
- package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +23 -2
- package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +18 -2
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +238 -41
- package/src/codegen/cosmwasm/wasm/v1/types.ts +39 -91
- package/src/codegen/gogoproto/bundle.ts +2 -2
- package/src/codegen/google/bundle.ts +8 -8
- package/src/codegen/google/protobuf/any.ts +0 -31
- package/src/codegen/google/protobuf/descriptor.ts +12 -638
- package/src/codegen/google/protobuf/duration.ts +1 -15
- package/src/codegen/google/protobuf/timestamp.ts +1 -13
- package/src/codegen/helpers.ts +1 -1
- package/src/codegen/ibc/applications/transfer/v1/query.ts +0 -7
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +0 -15
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +3 -3
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +1 -20
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +0 -7
- package/src/codegen/ibc/bundle.ts +74 -74
- package/src/codegen/ibc/core/channel/v1/channel.ts +6 -105
- package/src/codegen/ibc/core/channel/v1/genesis.ts +1 -3
- package/src/codegen/ibc/core/channel/v1/query.ts +0 -118
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +30 -30
- package/src/codegen/ibc/core/channel/v1/tx.ts +0 -5
- package/src/codegen/ibc/core/client/v1/client.ts +0 -32
- package/src/codegen/ibc/core/client/v1/genesis.ts +1 -13
- package/src/codegen/ibc/core/client/v1/query.ts +0 -35
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +12 -12
- package/src/codegen/ibc/core/client/v1/tx.ts +0 -32
- package/src/codegen/ibc/core/connection/v1/connection.ts +4 -78
- package/src/codegen/ibc/core/connection/v1/genesis.ts +1 -3
- package/src/codegen/ibc/core/connection/v1/query.ts +0 -31
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +12 -12
- package/src/codegen/ibc/core/connection/v1/tx.ts +1 -26
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +0 -3
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +4 -63
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +4 -63
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +0 -41
- package/src/codegen/index.ts +4 -1
- package/src/codegen/juno/bundle.ts +31 -31
- package/src/codegen/juno/feeshare/v1/feeshare.ts +0 -14
- package/src/codegen/juno/feeshare/v1/genesis.ts +0 -16
- package/src/codegen/juno/feeshare/v1/query.ts +0 -25
- package/src/codegen/juno/feeshare/v1/tx.amino.ts +9 -9
- package/src/codegen/juno/feeshare/v1/tx.ts +0 -28
- package/src/codegen/juno/mint/genesis.ts +0 -3
- package/src/codegen/juno/mint/mint.ts +1 -7
- package/src/codegen/juno/mint/query.ts +0 -3
- package/src/codegen/osmosis/bundle.ts +32 -0
- package/src/codegen/osmosis/client.ts +45 -0
- package/src/codegen/osmosis/lcd.ts +59 -0
- package/src/codegen/osmosis/rpc.query.ts +41 -0
- package/src/codegen/osmosis/rpc.tx.ts +33 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +66 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +147 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/params.ts +58 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +41 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.ts +72 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +344 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +207 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +121 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +55 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +622 -0
- package/src/codegen/router/bundle.ts +16 -0
- package/src/codegen/router/lcd.ts +57 -0
- package/src/codegen/router/rpc.query.ts +39 -0
- package/src/codegen/router/v1/genesis.ts +406 -0
- package/src/codegen/router/v1/query.lcd.ts +22 -0
- package/src/codegen/router/v1/query.rpc.Query.ts +35 -0
- package/src/codegen/router/v1/query.ts +99 -0
- package/src/codegen/tendermint/abci/types.ts +8 -109
- package/src/codegen/tendermint/bundle.ts +22 -22
- package/src/codegen/tendermint/crypto/proof.ts +1 -4
- 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 +0 -36
- package/src/codegen/tendermint/types/types.ts +6 -50
- 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 +8 -64
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +0 -7
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +0 -6
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +0 -10
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +0 -5
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +0 -37
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +0 -9
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +0 -34
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +1 -62
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +1 -35
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +0 -63
- package/types/codegen/cosmos/bundle.d.ts +70 -70
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +0 -8
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +0 -6
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +0 -5
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +0 -28
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +0 -21
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +1 -8
- package/types/codegen/cosmos/gov/v1/gov.d.ts +4 -69
- package/types/codegen/cosmos/gov/v1/query.d.ts +3 -31
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/gov/v1/tx.d.ts +2 -5
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +1 -8
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +5 -74
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +3 -31
- 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 +2 -27
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +0 -15
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +0 -41
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +2 -58
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +0 -6
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +2 -57
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +4 -58
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +3 -152
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +0 -14
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +0 -3
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +1 -30
- package/types/codegen/cosmos_proto/bundle.d.ts +1 -1
- package/types/codegen/cosmos_proto/cosmos.d.ts +2 -34
- package/types/codegen/cosmwasm/bundle.d.ts +386 -248
- package/types/codegen/cosmwasm/client.d.ts +31 -0
- package/types/codegen/cosmwasm/rpc.query.d.ts +2 -0
- package/types/codegen/cosmwasm/wasm/v1/authz.d.ts +205 -0
- package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +3 -2
- package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +1 -14
- package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +132 -41
- package/types/codegen/cosmwasm/wasm/v1/query.d.ts +74 -25
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +3 -1
- package/types/codegen/cosmwasm/wasm/v1/query.rpc.Query.d.ts +9 -1
- package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +41 -19
- package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +60 -29
- package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +13 -1
- package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +11 -2
- package/types/codegen/cosmwasm/wasm/v1/types.d.ts +19 -61
- package/types/codegen/google/bundle.d.ts +123 -123
- package/types/codegen/google/protobuf/any.d.ts +0 -30
- package/types/codegen/google/protobuf/descriptor.d.ts +12 -566
- package/types/codegen/google/protobuf/duration.d.ts +1 -14
- package/types/codegen/google/protobuf/timestamp.d.ts +1 -12
- package/types/codegen/helpers.d.ts +1 -1
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +0 -6
- package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +0 -13
- package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +3 -3
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +1 -14
- package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +0 -4
- package/types/codegen/ibc/bundle.d.ts +750 -750
- package/types/codegen/ibc/core/channel/v1/channel.d.ts +6 -76
- package/types/codegen/ibc/core/channel/v1/genesis.d.ts +1 -2
- package/types/codegen/ibc/core/channel/v1/query.d.ts +0 -71
- package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +30 -30
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +0 -4
- package/types/codegen/ibc/core/client/v1/client.d.ts +0 -24
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +1 -8
- package/types/codegen/ibc/core/client/v1/query.d.ts +0 -25
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +12 -12
- package/types/codegen/ibc/core/client/v1/tx.d.ts +0 -21
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +4 -61
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +1 -2
- package/types/codegen/ibc/core/connection/v1/query.d.ts +0 -20
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +12 -12
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +1 -18
- package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +0 -2
- package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +4 -47
- package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +4 -47
- package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +0 -31
- package/types/codegen/ics23/bundle.d.ts +2 -2
- package/types/codegen/index.d.ts +5 -1
- package/types/codegen/juno/bundle.d.ts +284 -41
- package/types/codegen/juno/client.d.ts +54 -0
- package/types/codegen/juno/feeshare/v1/feeshare.d.ts +37 -0
- package/types/codegen/juno/feeshare/v1/genesis.d.ts +48 -0
- package/types/codegen/juno/feeshare/v1/query.d.ts +193 -0
- package/types/codegen/juno/feeshare/v1/query.lcd.d.ts +13 -0
- package/types/codegen/juno/feeshare/v1/query.rpc.Query.d.ts +38 -0
- package/types/codegen/juno/feeshare/v1/tx.amino.d.ts +42 -0
- package/types/codegen/juno/feeshare/v1/tx.d.ts +113 -0
- package/types/codegen/juno/feeshare/v1/tx.registry.d.ts +48 -0
- package/types/codegen/juno/feeshare/v1/tx.rpc.msg.d.ts +21 -0
- package/types/codegen/juno/lcd.d.ts +3 -0
- package/types/codegen/juno/mint/genesis.d.ts +0 -2
- package/types/codegen/juno/mint/mint.d.ts +1 -5
- package/types/codegen/juno/mint/query.d.ts +0 -3
- package/types/codegen/juno/rpc.query.d.ts +9 -0
- package/types/codegen/juno/rpc.tx.d.ts +31 -0
- package/types/codegen/osmosis/bundle.d.ts +460 -0
- package/types/codegen/osmosis/client.d.ts +112 -0
- package/types/codegen/osmosis/lcd.d.ts +33 -0
- package/types/codegen/osmosis/rpc.query.d.ts +107 -0
- package/types/codegen/osmosis/rpc.tx.d.ts +31 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.d.ts +24 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/genesis.d.ts +43 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/params.d.ts +16 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.d.ts +105 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.d.ts +33 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.amino.d.ts +84 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.d.ts +197 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.registry.d.ts +72 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.d.ts +19 -0
- package/types/codegen/router/bundle.d.ts +178 -0
- package/types/codegen/router/lcd.d.ts +31 -0
- package/types/codegen/router/rpc.query.d.ts +103 -0
- package/types/codegen/router/v1/genesis.d.ts +94 -0
- package/types/codegen/router/v1/query.d.ts +28 -0
- package/types/codegen/router/v1/query.lcd.d.ts +9 -0
- package/types/codegen/router/v1/query.rpc.Query.d.ts +16 -0
- package/types/codegen/tendermint/abci/types.d.ts +8 -78
- package/types/codegen/tendermint/bundle.d.ts +291 -291
- package/types/codegen/tendermint/crypto/proof.d.ts +1 -3
- 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 +0 -32
- package/types/codegen/tendermint/types/types.d.ts +5 -36
- package/types/codegen/tendermint/types/validator.d.ts +1 -1
- package/types/codegen/tendermint/version/types.d.ts +1 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov";
|
2
2
|
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
3
|
-
import * as _m0 from "protobufjs/minimal";
|
4
3
|
import { Long } from "../../../helpers";
|
4
|
+
import * as _m0 from "protobufjs/minimal";
|
5
5
|
/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */
|
6
6
|
|
7
7
|
function createBaseQueryProposalRequest() {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Deposit, Vote, Proposal, DepositParams, VotingParams, TallyParams } from "./gov";
|
2
|
-
import * as _m0 from "protobufjs/minimal";
|
3
2
|
import { Long } from "../../../helpers";
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
4
4
|
/** GenesisState defines the gov module's genesis state. */
|
5
5
|
|
6
6
|
function createBaseGenesisState() {
|
@@ -7,7 +7,6 @@ import { Long, toTimestamp, fromTimestamp } from "../../../helpers";
|
|
7
7
|
/** VoteOption enumerates the valid vote options for a given governance proposal. */
|
8
8
|
|
9
9
|
export let VoteOption;
|
10
|
-
/** VoteOption enumerates the valid vote options for a given governance proposal. */
|
11
10
|
(function (VoteOption) {
|
12
11
|
VoteOption[VoteOption["VOTE_OPTION_UNSPECIFIED"] = 0] = "VOTE_OPTION_UNSPECIFIED";
|
13
12
|
VoteOption[VoteOption["VOTE_OPTION_YES"] = 1] = "VOTE_OPTION_YES";
|
@@ -16,15 +15,7 @@ export let VoteOption;
|
|
16
15
|
VoteOption[VoteOption["VOTE_OPTION_NO_WITH_VETO"] = 4] = "VOTE_OPTION_NO_WITH_VETO";
|
17
16
|
VoteOption[VoteOption["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
18
17
|
})(VoteOption || (VoteOption = {}));
|
19
|
-
export
|
20
|
-
(function (VoteOptionSDKType) {
|
21
|
-
VoteOptionSDKType[VoteOptionSDKType["VOTE_OPTION_UNSPECIFIED"] = 0] = "VOTE_OPTION_UNSPECIFIED";
|
22
|
-
VoteOptionSDKType[VoteOptionSDKType["VOTE_OPTION_YES"] = 1] = "VOTE_OPTION_YES";
|
23
|
-
VoteOptionSDKType[VoteOptionSDKType["VOTE_OPTION_ABSTAIN"] = 2] = "VOTE_OPTION_ABSTAIN";
|
24
|
-
VoteOptionSDKType[VoteOptionSDKType["VOTE_OPTION_NO"] = 3] = "VOTE_OPTION_NO";
|
25
|
-
VoteOptionSDKType[VoteOptionSDKType["VOTE_OPTION_NO_WITH_VETO"] = 4] = "VOTE_OPTION_NO_WITH_VETO";
|
26
|
-
VoteOptionSDKType[VoteOptionSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
27
|
-
})(VoteOptionSDKType || (VoteOptionSDKType = {}));
|
18
|
+
export const VoteOptionSDKType = VoteOption;
|
28
19
|
export function voteOptionFromJSON(object) {
|
29
20
|
switch (object) {
|
30
21
|
case 0:
|
@@ -68,7 +59,6 @@ export function voteOptionToJSON(object) {
|
|
68
59
|
/** ProposalStatus enumerates the valid statuses of a proposal. */
|
69
60
|
|
70
61
|
export let ProposalStatus;
|
71
|
-
/** ProposalStatus enumerates the valid statuses of a proposal. */
|
72
62
|
(function (ProposalStatus) {
|
73
63
|
ProposalStatus[ProposalStatus["PROPOSAL_STATUS_UNSPECIFIED"] = 0] = "PROPOSAL_STATUS_UNSPECIFIED";
|
74
64
|
ProposalStatus[ProposalStatus["PROPOSAL_STATUS_DEPOSIT_PERIOD"] = 1] = "PROPOSAL_STATUS_DEPOSIT_PERIOD";
|
@@ -78,16 +68,7 @@ export let ProposalStatus;
|
|
78
68
|
ProposalStatus[ProposalStatus["PROPOSAL_STATUS_FAILED"] = 5] = "PROPOSAL_STATUS_FAILED";
|
79
69
|
ProposalStatus[ProposalStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
80
70
|
})(ProposalStatus || (ProposalStatus = {}));
|
81
|
-
export
|
82
|
-
(function (ProposalStatusSDKType) {
|
83
|
-
ProposalStatusSDKType[ProposalStatusSDKType["PROPOSAL_STATUS_UNSPECIFIED"] = 0] = "PROPOSAL_STATUS_UNSPECIFIED";
|
84
|
-
ProposalStatusSDKType[ProposalStatusSDKType["PROPOSAL_STATUS_DEPOSIT_PERIOD"] = 1] = "PROPOSAL_STATUS_DEPOSIT_PERIOD";
|
85
|
-
ProposalStatusSDKType[ProposalStatusSDKType["PROPOSAL_STATUS_VOTING_PERIOD"] = 2] = "PROPOSAL_STATUS_VOTING_PERIOD";
|
86
|
-
ProposalStatusSDKType[ProposalStatusSDKType["PROPOSAL_STATUS_PASSED"] = 3] = "PROPOSAL_STATUS_PASSED";
|
87
|
-
ProposalStatusSDKType[ProposalStatusSDKType["PROPOSAL_STATUS_REJECTED"] = 4] = "PROPOSAL_STATUS_REJECTED";
|
88
|
-
ProposalStatusSDKType[ProposalStatusSDKType["PROPOSAL_STATUS_FAILED"] = 5] = "PROPOSAL_STATUS_FAILED";
|
89
|
-
ProposalStatusSDKType[ProposalStatusSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
90
|
-
})(ProposalStatusSDKType || (ProposalStatusSDKType = {}));
|
71
|
+
export const ProposalStatusSDKType = ProposalStatus;
|
91
72
|
export function proposalStatusFromJSON(object) {
|
92
73
|
switch (object) {
|
93
74
|
case 0:
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov";
|
2
2
|
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
3
|
-
import * as _m0 from "protobufjs/minimal";
|
4
3
|
import { Long } from "../../../helpers";
|
4
|
+
import * as _m0 from "protobufjs/minimal";
|
5
5
|
/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */
|
6
6
|
|
7
7
|
function createBaseQueryProposalRequest() {
|
@@ -7,11 +7,6 @@ import * as _m0 from "protobufjs/minimal";
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
export let AuthorizationType;
|
10
|
-
/**
|
11
|
-
* AuthorizationType defines the type of staking module authorization type
|
12
|
-
*
|
13
|
-
* Since: cosmos-sdk 0.43
|
14
|
-
*/
|
15
10
|
(function (AuthorizationType) {
|
16
11
|
AuthorizationType[AuthorizationType["AUTHORIZATION_TYPE_UNSPECIFIED"] = 0] = "AUTHORIZATION_TYPE_UNSPECIFIED";
|
17
12
|
AuthorizationType[AuthorizationType["AUTHORIZATION_TYPE_DELEGATE"] = 1] = "AUTHORIZATION_TYPE_DELEGATE";
|
@@ -19,14 +14,7 @@ export let AuthorizationType;
|
|
19
14
|
AuthorizationType[AuthorizationType["AUTHORIZATION_TYPE_REDELEGATE"] = 3] = "AUTHORIZATION_TYPE_REDELEGATE";
|
20
15
|
AuthorizationType[AuthorizationType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
21
16
|
})(AuthorizationType || (AuthorizationType = {}));
|
22
|
-
export
|
23
|
-
(function (AuthorizationTypeSDKType) {
|
24
|
-
AuthorizationTypeSDKType[AuthorizationTypeSDKType["AUTHORIZATION_TYPE_UNSPECIFIED"] = 0] = "AUTHORIZATION_TYPE_UNSPECIFIED";
|
25
|
-
AuthorizationTypeSDKType[AuthorizationTypeSDKType["AUTHORIZATION_TYPE_DELEGATE"] = 1] = "AUTHORIZATION_TYPE_DELEGATE";
|
26
|
-
AuthorizationTypeSDKType[AuthorizationTypeSDKType["AUTHORIZATION_TYPE_UNDELEGATE"] = 2] = "AUTHORIZATION_TYPE_UNDELEGATE";
|
27
|
-
AuthorizationTypeSDKType[AuthorizationTypeSDKType["AUTHORIZATION_TYPE_REDELEGATE"] = 3] = "AUTHORIZATION_TYPE_REDELEGATE";
|
28
|
-
AuthorizationTypeSDKType[AuthorizationTypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
29
|
-
})(AuthorizationTypeSDKType || (AuthorizationTypeSDKType = {}));
|
17
|
+
export const AuthorizationTypeSDKType = AuthorizationType;
|
30
18
|
export function authorizationTypeFromJSON(object) {
|
31
19
|
switch (object) {
|
32
20
|
case 0:
|
@@ -8,7 +8,6 @@ import { toTimestamp, fromTimestamp, Long } from "../../../helpers";
|
|
8
8
|
/** BondStatus is the status of a validator. */
|
9
9
|
|
10
10
|
export let BondStatus;
|
11
|
-
/** BondStatus is the status of a validator. */
|
12
11
|
(function (BondStatus) {
|
13
12
|
BondStatus[BondStatus["BOND_STATUS_UNSPECIFIED"] = 0] = "BOND_STATUS_UNSPECIFIED";
|
14
13
|
BondStatus[BondStatus["BOND_STATUS_UNBONDED"] = 1] = "BOND_STATUS_UNBONDED";
|
@@ -16,14 +15,7 @@ export let BondStatus;
|
|
16
15
|
BondStatus[BondStatus["BOND_STATUS_BONDED"] = 3] = "BOND_STATUS_BONDED";
|
17
16
|
BondStatus[BondStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
18
17
|
})(BondStatus || (BondStatus = {}));
|
19
|
-
export
|
20
|
-
(function (BondStatusSDKType) {
|
21
|
-
BondStatusSDKType[BondStatusSDKType["BOND_STATUS_UNSPECIFIED"] = 0] = "BOND_STATUS_UNSPECIFIED";
|
22
|
-
BondStatusSDKType[BondStatusSDKType["BOND_STATUS_UNBONDED"] = 1] = "BOND_STATUS_UNBONDED";
|
23
|
-
BondStatusSDKType[BondStatusSDKType["BOND_STATUS_UNBONDING"] = 2] = "BOND_STATUS_UNBONDING";
|
24
|
-
BondStatusSDKType[BondStatusSDKType["BOND_STATUS_BONDED"] = 3] = "BOND_STATUS_BONDED";
|
25
|
-
BondStatusSDKType[BondStatusSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
26
|
-
})(BondStatusSDKType || (BondStatusSDKType = {}));
|
18
|
+
export const BondStatusSDKType = BondStatus;
|
27
19
|
export function bondStatusFromJSON(object) {
|
28
20
|
switch (object) {
|
29
21
|
case 0:
|
@@ -14,16 +14,6 @@ import { Long } from "../../../../helpers";
|
|
14
14
|
*/
|
15
15
|
|
16
16
|
export let SignMode;
|
17
|
-
/**
|
18
|
-
* SignMode represents a signing mode with its own security guarantees.
|
19
|
-
*
|
20
|
-
* This enum should be considered a registry of all known sign modes
|
21
|
-
* in the Cosmos ecosystem. Apps are not expected to support all known
|
22
|
-
* sign modes. Apps that would like to support custom sign modes are
|
23
|
-
* encouraged to open a small PR against this file to add a new case
|
24
|
-
* to this SignMode enum describing their sign mode so that different
|
25
|
-
* apps have a consistent version of this enum.
|
26
|
-
*/
|
27
17
|
(function (SignMode) {
|
28
18
|
SignMode[SignMode["SIGN_MODE_UNSPECIFIED"] = 0] = "SIGN_MODE_UNSPECIFIED";
|
29
19
|
SignMode[SignMode["SIGN_MODE_DIRECT"] = 1] = "SIGN_MODE_DIRECT";
|
@@ -32,15 +22,7 @@ export let SignMode;
|
|
32
22
|
SignMode[SignMode["SIGN_MODE_LEGACY_AMINO_JSON"] = 127] = "SIGN_MODE_LEGACY_AMINO_JSON";
|
33
23
|
SignMode[SignMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
34
24
|
})(SignMode || (SignMode = {}));
|
35
|
-
export
|
36
|
-
(function (SignModeSDKType) {
|
37
|
-
SignModeSDKType[SignModeSDKType["SIGN_MODE_UNSPECIFIED"] = 0] = "SIGN_MODE_UNSPECIFIED";
|
38
|
-
SignModeSDKType[SignModeSDKType["SIGN_MODE_DIRECT"] = 1] = "SIGN_MODE_DIRECT";
|
39
|
-
SignModeSDKType[SignModeSDKType["SIGN_MODE_TEXTUAL"] = 2] = "SIGN_MODE_TEXTUAL";
|
40
|
-
SignModeSDKType[SignModeSDKType["SIGN_MODE_DIRECT_AUX"] = 3] = "SIGN_MODE_DIRECT_AUX";
|
41
|
-
SignModeSDKType[SignModeSDKType["SIGN_MODE_LEGACY_AMINO_JSON"] = 127] = "SIGN_MODE_LEGACY_AMINO_JSON";
|
42
|
-
SignModeSDKType[SignModeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
43
|
-
})(SignModeSDKType || (SignModeSDKType = {}));
|
25
|
+
export const SignModeSDKType = SignMode;
|
44
26
|
export function signModeFromJSON(object) {
|
45
27
|
switch (object) {
|
46
28
|
case 0:
|
@@ -8,20 +8,13 @@ import { Long } from "../../../helpers";
|
|
8
8
|
/** OrderBy defines the sorting order */
|
9
9
|
|
10
10
|
export let OrderBy;
|
11
|
-
/** OrderBy defines the sorting order */
|
12
11
|
(function (OrderBy) {
|
13
12
|
OrderBy[OrderBy["ORDER_BY_UNSPECIFIED"] = 0] = "ORDER_BY_UNSPECIFIED";
|
14
13
|
OrderBy[OrderBy["ORDER_BY_ASC"] = 1] = "ORDER_BY_ASC";
|
15
14
|
OrderBy[OrderBy["ORDER_BY_DESC"] = 2] = "ORDER_BY_DESC";
|
16
15
|
OrderBy[OrderBy["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
17
16
|
})(OrderBy || (OrderBy = {}));
|
18
|
-
export
|
19
|
-
(function (OrderBySDKType) {
|
20
|
-
OrderBySDKType[OrderBySDKType["ORDER_BY_UNSPECIFIED"] = 0] = "ORDER_BY_UNSPECIFIED";
|
21
|
-
OrderBySDKType[OrderBySDKType["ORDER_BY_ASC"] = 1] = "ORDER_BY_ASC";
|
22
|
-
OrderBySDKType[OrderBySDKType["ORDER_BY_DESC"] = 2] = "ORDER_BY_DESC";
|
23
|
-
OrderBySDKType[OrderBySDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
24
|
-
})(OrderBySDKType || (OrderBySDKType = {}));
|
17
|
+
export const OrderBySDKType = OrderBy;
|
25
18
|
export function orderByFromJSON(object) {
|
26
19
|
switch (object) {
|
27
20
|
case 0:
|
@@ -55,7 +48,6 @@ export function orderByToJSON(object) {
|
|
55
48
|
/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */
|
56
49
|
|
57
50
|
export let BroadcastMode;
|
58
|
-
/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */
|
59
51
|
(function (BroadcastMode) {
|
60
52
|
BroadcastMode[BroadcastMode["BROADCAST_MODE_UNSPECIFIED"] = 0] = "BROADCAST_MODE_UNSPECIFIED";
|
61
53
|
BroadcastMode[BroadcastMode["BROADCAST_MODE_BLOCK"] = 1] = "BROADCAST_MODE_BLOCK";
|
@@ -63,14 +55,7 @@ export let BroadcastMode;
|
|
63
55
|
BroadcastMode[BroadcastMode["BROADCAST_MODE_ASYNC"] = 3] = "BROADCAST_MODE_ASYNC";
|
64
56
|
BroadcastMode[BroadcastMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
65
57
|
})(BroadcastMode || (BroadcastMode = {}));
|
66
|
-
export
|
67
|
-
(function (BroadcastModeSDKType) {
|
68
|
-
BroadcastModeSDKType[BroadcastModeSDKType["BROADCAST_MODE_UNSPECIFIED"] = 0] = "BROADCAST_MODE_UNSPECIFIED";
|
69
|
-
BroadcastModeSDKType[BroadcastModeSDKType["BROADCAST_MODE_BLOCK"] = 1] = "BROADCAST_MODE_BLOCK";
|
70
|
-
BroadcastModeSDKType[BroadcastModeSDKType["BROADCAST_MODE_SYNC"] = 2] = "BROADCAST_MODE_SYNC";
|
71
|
-
BroadcastModeSDKType[BroadcastModeSDKType["BROADCAST_MODE_ASYNC"] = 3] = "BROADCAST_MODE_ASYNC";
|
72
|
-
BroadcastModeSDKType[BroadcastModeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
73
|
-
})(BroadcastModeSDKType || (BroadcastModeSDKType = {}));
|
58
|
+
export const BroadcastModeSDKType = BroadcastMode;
|
74
59
|
export function broadcastModeFromJSON(object) {
|
75
60
|
switch (object) {
|
76
61
|
case 0:
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Timestamp } from "../../../google/protobuf/timestamp";
|
2
2
|
import { Any } from "../../../google/protobuf/any";
|
3
|
+
import { Long, toTimestamp, fromTimestamp } from "../../../helpers";
|
3
4
|
import * as _m0 from "protobufjs/minimal";
|
4
|
-
import { toTimestamp, fromTimestamp, Long } from "../../../helpers";
|
5
5
|
/** Plan specifies information about a planned upgrade and when it should occur. */
|
6
6
|
|
7
7
|
function createBasePlan() {
|
@@ -6,13 +6,7 @@ export let ScalarType;
|
|
6
6
|
ScalarType[ScalarType["SCALAR_TYPE_BYTES"] = 2] = "SCALAR_TYPE_BYTES";
|
7
7
|
ScalarType[ScalarType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
8
8
|
})(ScalarType || (ScalarType = {}));
|
9
|
-
export
|
10
|
-
(function (ScalarTypeSDKType) {
|
11
|
-
ScalarTypeSDKType[ScalarTypeSDKType["SCALAR_TYPE_UNSPECIFIED"] = 0] = "SCALAR_TYPE_UNSPECIFIED";
|
12
|
-
ScalarTypeSDKType[ScalarTypeSDKType["SCALAR_TYPE_STRING"] = 1] = "SCALAR_TYPE_STRING";
|
13
|
-
ScalarTypeSDKType[ScalarTypeSDKType["SCALAR_TYPE_BYTES"] = 2] = "SCALAR_TYPE_BYTES";
|
14
|
-
ScalarTypeSDKType[ScalarTypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
15
|
-
})(ScalarTypeSDKType || (ScalarTypeSDKType = {}));
|
9
|
+
export const ScalarTypeSDKType = ScalarType;
|
16
10
|
export function scalarTypeFromJSON(object) {
|
17
11
|
switch (object) {
|
18
12
|
case 0:
|
@@ -1,25 +1,26 @@
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
2
2
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
3
3
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
4
|
-
import * as _45 from "./wasm/v1/
|
5
|
-
import * as _46 from "./wasm/v1/
|
6
|
-
import * as _47 from "./wasm/v1/
|
7
|
-
import * as _48 from "./wasm/v1/
|
8
|
-
import * as _49 from "./wasm/v1/
|
9
|
-
import * as _50 from "./wasm/v1/
|
10
|
-
import * as
|
11
|
-
import * as
|
12
|
-
import * as
|
13
|
-
import * as
|
14
|
-
import * as
|
15
|
-
import * as
|
16
|
-
import * as
|
17
|
-
import * as
|
4
|
+
import * as _45 from "./wasm/v1/authz";
|
5
|
+
import * as _46 from "./wasm/v1/genesis";
|
6
|
+
import * as _47 from "./wasm/v1/ibc";
|
7
|
+
import * as _48 from "./wasm/v1/proposal";
|
8
|
+
import * as _49 from "./wasm/v1/query";
|
9
|
+
import * as _50 from "./wasm/v1/tx";
|
10
|
+
import * as _51 from "./wasm/v1/types";
|
11
|
+
import * as _140 from "./wasm/v1/tx.amino";
|
12
|
+
import * as _141 from "./wasm/v1/tx.registry";
|
13
|
+
import * as _142 from "./wasm/v1/query.lcd";
|
14
|
+
import * as _143 from "./wasm/v1/query.rpc.Query";
|
15
|
+
import * as _144 from "./wasm/v1/tx.rpc.msg";
|
16
|
+
import * as _182 from "./lcd";
|
17
|
+
import * as _183 from "./rpc.query";
|
18
|
+
import * as _184 from "./rpc.tx";
|
18
19
|
export let cosmwasm;
|
19
20
|
(function (_cosmwasm) {
|
20
21
|
let wasm;
|
21
22
|
(function (_wasm) {
|
22
|
-
const v1 = _wasm.v1 = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _45), _46), _47), _48), _49), _50),
|
23
|
+
const v1 = _wasm.v1 = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _45), _46), _47), _48), _49), _50), _51), _140), _141), _142), _143), _144);
|
23
24
|
})(wasm || (wasm = _cosmwasm.wasm || (_cosmwasm.wasm = {})));
|
24
|
-
const ClientFactory = _cosmwasm.ClientFactory = _objectSpread(_objectSpread(_objectSpread({},
|
25
|
+
const ClientFactory = _cosmwasm.ClientFactory = _objectSpread(_objectSpread(_objectSpread({}, _182), _183), _184);
|
25
26
|
})(cosmwasm || (cosmwasm = {}));
|
@@ -0,0 +1,346 @@
|
|
1
|
+
import { Any } from "../../../google/protobuf/any";
|
2
|
+
import { Coin } from "../../../cosmos/base/v1beta1/coin";
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
4
|
+
import { Long } from "../../../helpers";
|
5
|
+
/**
|
6
|
+
* ContractExecutionAuthorization defines authorization for wasm execute.
|
7
|
+
* Since: wasmd 0.30
|
8
|
+
*/
|
9
|
+
|
10
|
+
function createBaseContractExecutionAuthorization() {
|
11
|
+
return {
|
12
|
+
grants: []
|
13
|
+
};
|
14
|
+
}
|
15
|
+
export const ContractExecutionAuthorization = {
|
16
|
+
encode(message, writer = _m0.Writer.create()) {
|
17
|
+
for (const v of message.grants) {
|
18
|
+
ContractGrant.encode(v, writer.uint32(10).fork()).ldelim();
|
19
|
+
}
|
20
|
+
return writer;
|
21
|
+
},
|
22
|
+
decode(input, length) {
|
23
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
25
|
+
const message = createBaseContractExecutionAuthorization();
|
26
|
+
while (reader.pos < end) {
|
27
|
+
const tag = reader.uint32();
|
28
|
+
switch (tag >>> 3) {
|
29
|
+
case 1:
|
30
|
+
message.grants.push(ContractGrant.decode(reader, reader.uint32()));
|
31
|
+
break;
|
32
|
+
default:
|
33
|
+
reader.skipType(tag & 7);
|
34
|
+
break;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
return message;
|
38
|
+
},
|
39
|
+
fromPartial(object) {
|
40
|
+
var _object$grants;
|
41
|
+
const message = createBaseContractExecutionAuthorization();
|
42
|
+
message.grants = ((_object$grants = object.grants) === null || _object$grants === void 0 ? void 0 : _object$grants.map(e => ContractGrant.fromPartial(e))) || [];
|
43
|
+
return message;
|
44
|
+
}
|
45
|
+
};
|
46
|
+
function createBaseContractMigrationAuthorization() {
|
47
|
+
return {
|
48
|
+
grants: []
|
49
|
+
};
|
50
|
+
}
|
51
|
+
export const ContractMigrationAuthorization = {
|
52
|
+
encode(message, writer = _m0.Writer.create()) {
|
53
|
+
for (const v of message.grants) {
|
54
|
+
ContractGrant.encode(v, writer.uint32(10).fork()).ldelim();
|
55
|
+
}
|
56
|
+
return writer;
|
57
|
+
},
|
58
|
+
decode(input, length) {
|
59
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
60
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
61
|
+
const message = createBaseContractMigrationAuthorization();
|
62
|
+
while (reader.pos < end) {
|
63
|
+
const tag = reader.uint32();
|
64
|
+
switch (tag >>> 3) {
|
65
|
+
case 1:
|
66
|
+
message.grants.push(ContractGrant.decode(reader, reader.uint32()));
|
67
|
+
break;
|
68
|
+
default:
|
69
|
+
reader.skipType(tag & 7);
|
70
|
+
break;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
return message;
|
74
|
+
},
|
75
|
+
fromPartial(object) {
|
76
|
+
var _object$grants2;
|
77
|
+
const message = createBaseContractMigrationAuthorization();
|
78
|
+
message.grants = ((_object$grants2 = object.grants) === null || _object$grants2 === void 0 ? void 0 : _object$grants2.map(e => ContractGrant.fromPartial(e))) || [];
|
79
|
+
return message;
|
80
|
+
}
|
81
|
+
};
|
82
|
+
function createBaseContractGrant() {
|
83
|
+
return {
|
84
|
+
contract: "",
|
85
|
+
limit: undefined,
|
86
|
+
filter: undefined
|
87
|
+
};
|
88
|
+
}
|
89
|
+
export const ContractGrant = {
|
90
|
+
encode(message, writer = _m0.Writer.create()) {
|
91
|
+
if (message.contract !== "") {
|
92
|
+
writer.uint32(10).string(message.contract);
|
93
|
+
}
|
94
|
+
if (message.limit !== undefined) {
|
95
|
+
Any.encode(message.limit, writer.uint32(18).fork()).ldelim();
|
96
|
+
}
|
97
|
+
if (message.filter !== undefined) {
|
98
|
+
Any.encode(message.filter, writer.uint32(26).fork()).ldelim();
|
99
|
+
}
|
100
|
+
return writer;
|
101
|
+
},
|
102
|
+
decode(input, length) {
|
103
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
104
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
105
|
+
const message = createBaseContractGrant();
|
106
|
+
while (reader.pos < end) {
|
107
|
+
const tag = reader.uint32();
|
108
|
+
switch (tag >>> 3) {
|
109
|
+
case 1:
|
110
|
+
message.contract = reader.string();
|
111
|
+
break;
|
112
|
+
case 2:
|
113
|
+
message.limit = Any.decode(reader, reader.uint32());
|
114
|
+
break;
|
115
|
+
case 3:
|
116
|
+
message.filter = Any.decode(reader, reader.uint32());
|
117
|
+
break;
|
118
|
+
default:
|
119
|
+
reader.skipType(tag & 7);
|
120
|
+
break;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
return message;
|
124
|
+
},
|
125
|
+
fromPartial(object) {
|
126
|
+
var _object$contract;
|
127
|
+
const message = createBaseContractGrant();
|
128
|
+
message.contract = (_object$contract = object.contract) !== null && _object$contract !== void 0 ? _object$contract : "";
|
129
|
+
message.limit = object.limit !== undefined && object.limit !== null ? Any.fromPartial(object.limit) : undefined;
|
130
|
+
message.filter = object.filter !== undefined && object.filter !== null ? Any.fromPartial(object.filter) : undefined;
|
131
|
+
return message;
|
132
|
+
}
|
133
|
+
};
|
134
|
+
function createBaseMaxCallsLimit() {
|
135
|
+
return {
|
136
|
+
remaining: Long.UZERO
|
137
|
+
};
|
138
|
+
}
|
139
|
+
export const MaxCallsLimit = {
|
140
|
+
encode(message, writer = _m0.Writer.create()) {
|
141
|
+
if (!message.remaining.isZero()) {
|
142
|
+
writer.uint32(8).uint64(message.remaining);
|
143
|
+
}
|
144
|
+
return writer;
|
145
|
+
},
|
146
|
+
decode(input, length) {
|
147
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
148
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
149
|
+
const message = createBaseMaxCallsLimit();
|
150
|
+
while (reader.pos < end) {
|
151
|
+
const tag = reader.uint32();
|
152
|
+
switch (tag >>> 3) {
|
153
|
+
case 1:
|
154
|
+
message.remaining = reader.uint64();
|
155
|
+
break;
|
156
|
+
default:
|
157
|
+
reader.skipType(tag & 7);
|
158
|
+
break;
|
159
|
+
}
|
160
|
+
}
|
161
|
+
return message;
|
162
|
+
},
|
163
|
+
fromPartial(object) {
|
164
|
+
const message = createBaseMaxCallsLimit();
|
165
|
+
message.remaining = object.remaining !== undefined && object.remaining !== null ? Long.fromValue(object.remaining) : Long.UZERO;
|
166
|
+
return message;
|
167
|
+
}
|
168
|
+
};
|
169
|
+
function createBaseMaxFundsLimit() {
|
170
|
+
return {
|
171
|
+
amounts: []
|
172
|
+
};
|
173
|
+
}
|
174
|
+
export const MaxFundsLimit = {
|
175
|
+
encode(message, writer = _m0.Writer.create()) {
|
176
|
+
for (const v of message.amounts) {
|
177
|
+
Coin.encode(v, writer.uint32(10).fork()).ldelim();
|
178
|
+
}
|
179
|
+
return writer;
|
180
|
+
},
|
181
|
+
decode(input, length) {
|
182
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
183
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
184
|
+
const message = createBaseMaxFundsLimit();
|
185
|
+
while (reader.pos < end) {
|
186
|
+
const tag = reader.uint32();
|
187
|
+
switch (tag >>> 3) {
|
188
|
+
case 1:
|
189
|
+
message.amounts.push(Coin.decode(reader, reader.uint32()));
|
190
|
+
break;
|
191
|
+
default:
|
192
|
+
reader.skipType(tag & 7);
|
193
|
+
break;
|
194
|
+
}
|
195
|
+
}
|
196
|
+
return message;
|
197
|
+
},
|
198
|
+
fromPartial(object) {
|
199
|
+
var _object$amounts;
|
200
|
+
const message = createBaseMaxFundsLimit();
|
201
|
+
message.amounts = ((_object$amounts = object.amounts) === null || _object$amounts === void 0 ? void 0 : _object$amounts.map(e => Coin.fromPartial(e))) || [];
|
202
|
+
return message;
|
203
|
+
}
|
204
|
+
};
|
205
|
+
function createBaseCombinedLimit() {
|
206
|
+
return {
|
207
|
+
callsRemaining: Long.UZERO,
|
208
|
+
amounts: []
|
209
|
+
};
|
210
|
+
}
|
211
|
+
export const CombinedLimit = {
|
212
|
+
encode(message, writer = _m0.Writer.create()) {
|
213
|
+
if (!message.callsRemaining.isZero()) {
|
214
|
+
writer.uint32(8).uint64(message.callsRemaining);
|
215
|
+
}
|
216
|
+
for (const v of message.amounts) {
|
217
|
+
Coin.encode(v, writer.uint32(18).fork()).ldelim();
|
218
|
+
}
|
219
|
+
return writer;
|
220
|
+
},
|
221
|
+
decode(input, length) {
|
222
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
223
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
224
|
+
const message = createBaseCombinedLimit();
|
225
|
+
while (reader.pos < end) {
|
226
|
+
const tag = reader.uint32();
|
227
|
+
switch (tag >>> 3) {
|
228
|
+
case 1:
|
229
|
+
message.callsRemaining = reader.uint64();
|
230
|
+
break;
|
231
|
+
case 2:
|
232
|
+
message.amounts.push(Coin.decode(reader, reader.uint32()));
|
233
|
+
break;
|
234
|
+
default:
|
235
|
+
reader.skipType(tag & 7);
|
236
|
+
break;
|
237
|
+
}
|
238
|
+
}
|
239
|
+
return message;
|
240
|
+
},
|
241
|
+
fromPartial(object) {
|
242
|
+
var _object$amounts2;
|
243
|
+
const message = createBaseCombinedLimit();
|
244
|
+
message.callsRemaining = object.callsRemaining !== undefined && object.callsRemaining !== null ? Long.fromValue(object.callsRemaining) : Long.UZERO;
|
245
|
+
message.amounts = ((_object$amounts2 = object.amounts) === null || _object$amounts2 === void 0 ? void 0 : _object$amounts2.map(e => Coin.fromPartial(e))) || [];
|
246
|
+
return message;
|
247
|
+
}
|
248
|
+
};
|
249
|
+
function createBaseAllowAllMessagesFilter() {
|
250
|
+
return {};
|
251
|
+
}
|
252
|
+
export const AllowAllMessagesFilter = {
|
253
|
+
encode(_, writer = _m0.Writer.create()) {
|
254
|
+
return writer;
|
255
|
+
},
|
256
|
+
decode(input, length) {
|
257
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
258
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
259
|
+
const message = createBaseAllowAllMessagesFilter();
|
260
|
+
while (reader.pos < end) {
|
261
|
+
const tag = reader.uint32();
|
262
|
+
switch (tag >>> 3) {
|
263
|
+
default:
|
264
|
+
reader.skipType(tag & 7);
|
265
|
+
break;
|
266
|
+
}
|
267
|
+
}
|
268
|
+
return message;
|
269
|
+
},
|
270
|
+
fromPartial(_) {
|
271
|
+
const message = createBaseAllowAllMessagesFilter();
|
272
|
+
return message;
|
273
|
+
}
|
274
|
+
};
|
275
|
+
function createBaseAcceptedMessageKeysFilter() {
|
276
|
+
return {
|
277
|
+
keys: []
|
278
|
+
};
|
279
|
+
}
|
280
|
+
export const AcceptedMessageKeysFilter = {
|
281
|
+
encode(message, writer = _m0.Writer.create()) {
|
282
|
+
for (const v of message.keys) {
|
283
|
+
writer.uint32(10).string(v);
|
284
|
+
}
|
285
|
+
return writer;
|
286
|
+
},
|
287
|
+
decode(input, length) {
|
288
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
289
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
290
|
+
const message = createBaseAcceptedMessageKeysFilter();
|
291
|
+
while (reader.pos < end) {
|
292
|
+
const tag = reader.uint32();
|
293
|
+
switch (tag >>> 3) {
|
294
|
+
case 1:
|
295
|
+
message.keys.push(reader.string());
|
296
|
+
break;
|
297
|
+
default:
|
298
|
+
reader.skipType(tag & 7);
|
299
|
+
break;
|
300
|
+
}
|
301
|
+
}
|
302
|
+
return message;
|
303
|
+
},
|
304
|
+
fromPartial(object) {
|
305
|
+
var _object$keys;
|
306
|
+
const message = createBaseAcceptedMessageKeysFilter();
|
307
|
+
message.keys = ((_object$keys = object.keys) === null || _object$keys === void 0 ? void 0 : _object$keys.map(e => e)) || [];
|
308
|
+
return message;
|
309
|
+
}
|
310
|
+
};
|
311
|
+
function createBaseAcceptedMessagesFilter() {
|
312
|
+
return {
|
313
|
+
messages: []
|
314
|
+
};
|
315
|
+
}
|
316
|
+
export const AcceptedMessagesFilter = {
|
317
|
+
encode(message, writer = _m0.Writer.create()) {
|
318
|
+
for (const v of message.messages) {
|
319
|
+
writer.uint32(10).bytes(v);
|
320
|
+
}
|
321
|
+
return writer;
|
322
|
+
},
|
323
|
+
decode(input, length) {
|
324
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
325
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
326
|
+
const message = createBaseAcceptedMessagesFilter();
|
327
|
+
while (reader.pos < end) {
|
328
|
+
const tag = reader.uint32();
|
329
|
+
switch (tag >>> 3) {
|
330
|
+
case 1:
|
331
|
+
message.messages.push(reader.bytes());
|
332
|
+
break;
|
333
|
+
default:
|
334
|
+
reader.skipType(tag & 7);
|
335
|
+
break;
|
336
|
+
}
|
337
|
+
}
|
338
|
+
return message;
|
339
|
+
},
|
340
|
+
fromPartial(object) {
|
341
|
+
var _object$messages;
|
342
|
+
const message = createBaseAcceptedMessagesFilter();
|
343
|
+
message.messages = ((_object$messages = object.messages) === null || _object$messages === void 0 ? void 0 : _object$messages.map(e => e)) || [];
|
344
|
+
return message;
|
345
|
+
}
|
346
|
+
};
|