juno-network 0.15.1 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +0 -3
- package/main/codegen/JunoSwap.client.js +165 -184
- package/main/codegen/amino/amino.js +5 -0
- package/main/codegen/amino/bundle.js +16 -0
- package/main/codegen/binary.js +478 -0
- package/main/codegen/confio/proofs.js +836 -72
- package/main/codegen/contracts.js +8 -4
- package/main/codegen/cosmos/app/v1alpha1/config.js +221 -0
- package/main/codegen/cosmos/app/v1alpha1/module.js +324 -0
- package/main/codegen/cosmos/app/v1alpha1/query.js +149 -0
- package/main/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +45 -0
- package/main/codegen/cosmos/auth/v1beta1/auth.js +382 -0
- package/main/codegen/cosmos/auth/v1beta1/genesis.js +120 -0
- package/main/codegen/cosmos/auth/v1beta1/query.js +1133 -0
- package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +223 -0
- package/main/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +128 -0
- package/main/codegen/cosmos/authz/v1beta1/authz.js +220 -13
- package/main/codegen/cosmos/authz/v1beta1/event.js +101 -8
- package/main/codegen/cosmos/authz/v1beta1/genesis.js +51 -7
- package/main/codegen/cosmos/authz/v1beta1/query.js +311 -21
- package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +65 -69
- package/main/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +5 -7
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +25 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.js +312 -18
- package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +83 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +5 -7
- package/main/codegen/cosmos/bank/v1beta1/authz.js +66 -7
- package/main/codegen/cosmos/bank/v1beta1/bank.js +425 -21
- package/main/codegen/cosmos/bank/v1beta1/genesis.js +138 -10
- package/main/codegen/cosmos/bank/v1beta1/query.js +964 -49
- package/main/codegen/cosmos/bank/v1beta1/query.lcd.js +148 -163
- package/main/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +11 -13
- package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -86
- package/main/codegen/cosmos/bank/v1beta1/tx.js +194 -13
- package/main/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +4 -6
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +677 -60
- package/main/codegen/cosmos/base/kv/v1beta1/kv.js +197 -0
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +162 -17
- package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +362 -0
- package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1230 -57
- package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +916 -0
- package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +326 -0
- package/main/codegen/cosmos/base/store/v1beta1/listening.js +140 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1431 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +202 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +115 -0
- package/main/codegen/cosmos/base/v1beta1/coin.js +207 -12
- package/main/codegen/cosmos/bundle.js +274 -105
- package/main/codegen/cosmos/capability/v1beta1/capability.js +300 -0
- package/main/codegen/cosmos/capability/v1beta1/genesis.js +208 -0
- package/main/codegen/cosmos/client.js +37 -23
- package/main/codegen/cosmos/crisis/v1beta1/genesis.js +85 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.js +173 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/crypto/ed25519/keys.js +113 -8
- package/main/codegen/cosmos/crypto/hd/v1/hd.js +59 -6
- package/main/codegen/cosmos/crypto/keyring/v1/record.js +236 -14
- package/main/codegen/cosmos/crypto/multisig/keys.js +67 -7
- package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +125 -9
- package/main/codegen/cosmos/crypto/secp256k1/keys.js +104 -8
- package/main/codegen/cosmos/crypto/secp256r1/keys.js +86 -8
- package/main/codegen/cosmos/distribution/v1beta1/distribution.js +788 -56
- package/main/codegen/cosmos/distribution/v1beta1/genesis.js +514 -38
- package/main/codegen/cosmos/distribution/v1beta1/query.js +970 -53
- package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +107 -124
- package/main/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +11 -13
- package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -70
- package/main/codegen/cosmos/distribution/v1beta1/tx.js +403 -25
- package/main/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +6 -8
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +132 -0
- package/main/codegen/cosmos/evidence/v1beta1/genesis.js +107 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.js +371 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +87 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +60 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.js +186 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +512 -0
- package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +107 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.js +575 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.lcd.js +114 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +70 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +20 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.js +337 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +65 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +43 -0
- package/main/codegen/cosmos/genutil/v1beta1/genesis.js +107 -0
- package/main/codegen/cosmos/gov/v1/genesis.js +90 -11
- package/main/codegen/cosmos/gov/v1/gov.js +497 -58
- package/main/codegen/cosmos/gov/v1/query.js +770 -56
- package/main/codegen/cosmos/gov/v1/query.lcd.js +107 -123
- package/main/codegen/cosmos/gov/v1/query.rpc.Query.js +10 -12
- package/main/codegen/cosmos/gov/v1/tx.amino.js +11 -156
- package/main/codegen/cosmos/gov/v1/tx.js +511 -38
- package/main/codegen/cosmos/gov/v1/tx.rpc.msg.js +7 -9
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +93 -14
- package/main/codegen/cosmos/gov/v1beta1/gov.js +560 -69
- package/main/codegen/cosmos/gov/v1beta1/query.js +777 -63
- package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +107 -123
- package/main/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +10 -12
- package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -118
- package/main/codegen/cosmos/gov/v1beta1/tx.js +424 -34
- package/main/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +6 -8
- package/main/codegen/cosmos/group/v1/events.js +729 -0
- package/main/codegen/cosmos/group/v1/genesis.js +259 -0
- package/main/codegen/cosmos/group/v1/query.js +2377 -0
- package/main/codegen/cosmos/group/v1/query.lcd.js +398 -0
- package/main/codegen/cosmos/group/v1/query.rpc.Query.js +200 -0
- package/main/codegen/cosmos/group/v1/tx.amino.js +80 -0
- package/main/codegen/cosmos/group/v1/tx.js +2590 -0
- package/main/codegen/cosmos/group/v1/tx.registry.js +281 -0
- package/main/codegen/cosmos/group/v1/tx.rpc.msg.js +163 -0
- package/main/codegen/cosmos/group/v1/types.js +1607 -0
- package/main/codegen/cosmos/lcd.js +254 -127
- package/main/codegen/cosmos/mint/v1beta1/genesis.js +97 -0
- package/main/codegen/cosmos/mint/v1beta1/mint.js +236 -0
- package/main/codegen/cosmos/mint/v1beta1/query.js +461 -0
- package/main/codegen/cosmos/mint/v1beta1/query.lcd.js +108 -0
- package/main/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +73 -0
- package/main/codegen/cosmos/msg/v1/msg.js +5 -0
- package/main/codegen/cosmos/nft/v1beta1/event.js +325 -0
- package/main/codegen/cosmos/nft/v1beta1/genesis.js +244 -0
- package/main/codegen/cosmos/nft/v1beta1/nft.js +284 -0
- package/main/codegen/cosmos/nft/v1beta1/query.js +1219 -0
- package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +226 -0
- package/main/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +125 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.js +185 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/orm/v1/orm.js +400 -0
- package/main/codegen/cosmos/orm/v1alpha1/schema.js +278 -0
- package/main/codegen/cosmos/params/v1beta1/params.js +241 -0
- package/main/codegen/cosmos/params/v1beta1/query.js +473 -0
- package/main/codegen/cosmos/params/v1beta1/query.lcd.js +87 -0
- package/main/codegen/cosmos/params/v1beta1/query.rpc.Query.js +58 -0
- package/main/codegen/cosmos/rpc.query.js +198 -97
- package/main/codegen/cosmos/rpc.tx.js +178 -96
- package/main/codegen/cosmos/slashing/v1beta1/genesis.js +445 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.js +529 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +115 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +74 -0
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +283 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.js +149 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/staking/v1beta1/authz.js +120 -26
- package/main/codegen/cosmos/staking/v1beta1/genesis.js +153 -13
- package/main/codegen/cosmos/staking/v1beta1/query.js +1467 -72
- package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +205 -229
- package/main/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +16 -18
- package/main/codegen/cosmos/staking/v1beta1/staking.js +1257 -98
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -189
- package/main/codegen/cosmos/staking/v1beta1/tx.js +513 -35
- package/main/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +7 -9
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +273 -43
- package/main/codegen/cosmos/tx/v1beta1/service.js +603 -54
- package/main/codegen/cosmos/tx/v1beta1/service.lcd.js +52 -57
- package/main/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +7 -9
- package/main/codegen/cosmos/tx/v1beta1/tx.js +856 -53
- package/main/codegen/cosmos/upgrade/v1beta1/query.js +523 -31
- package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +69 -77
- package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +7 -9
- package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -47
- package/main/codegen/cosmos/upgrade/v1beta1/tx.js +214 -13
- package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +4 -6
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +248 -20
- package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +25 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +636 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +83 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +53 -0
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +718 -0
- package/main/codegen/cosmos_proto/bundle.js +6 -6
- package/main/codegen/cosmos_proto/cosmos.js +129 -21
- package/main/codegen/cosmwasm/bundle.js +21 -21
- package/main/codegen/cosmwasm/client.js +21 -23
- package/main/codegen/cosmwasm/lcd.js +271 -144
- package/main/codegen/cosmwasm/rpc.query.js +211 -110
- package/main/codegen/cosmwasm/rpc.tx.js +193 -111
- package/main/codegen/cosmwasm/wasm/v1/authz.js +534 -34
- package/main/codegen/cosmwasm/wasm/v1/genesis.js +320 -24
- package/main/codegen/cosmwasm/wasm/v1/ibc.js +103 -14
- package/main/codegen/cosmwasm/wasm/v1/proposal.js +841 -45
- package/main/codegen/cosmwasm/wasm/v1/query.js +1232 -64
- package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +153 -175
- package/main/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +13 -15
- package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -217
- package/main/codegen/cosmwasm/wasm/v1/tx.js +742 -49
- package/main/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +9 -11
- package/main/codegen/cosmwasm/wasm/v1/types.js +447 -61
- package/main/codegen/gaia/bundle.js +12 -12
- package/main/codegen/gaia/globalfee/v1beta1/genesis.js +82 -10
- package/main/codegen/gaia/globalfee/v1beta1/query.js +95 -9
- package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +11 -13
- package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +3 -5
- package/main/codegen/gaia/lcd.js +271 -144
- package/main/codegen/gaia/rpc.query.js +211 -110
- package/main/codegen/gogoproto/bundle.js +6 -6
- package/main/codegen/google/api/annotations.js +5 -0
- package/main/codegen/google/api/http.js +1216 -0
- package/main/codegen/google/bundle.js +13 -10
- package/main/codegen/google/protobuf/any.js +278 -6
- package/main/codegen/google/protobuf/descriptor.js +1691 -171
- package/main/codegen/google/protobuf/duration.js +215 -10
- package/main/codegen/google/protobuf/empty.js +63 -6
- package/main/codegen/google/protobuf/timestamp.js +283 -9
- package/main/codegen/helpers.js +19 -53
- package/main/codegen/ibc/applications/transfer/v1/genesis.js +60 -8
- package/main/codegen/ibc/applications/transfer/v1/query.js +297 -17
- package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +40 -46
- package/main/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +5 -7
- package/main/codegen/ibc/applications/transfer/v1/transfer.js +117 -8
- package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -50
- package/main/codegen/ibc/applications/transfer/v1/tx.js +122 -14
- package/main/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +3 -5
- package/main/codegen/ibc/applications/transfer/v2/packet.js +67 -6
- package/main/codegen/ibc/bundle.js +71 -60
- package/main/codegen/ibc/client.js +21 -23
- package/main/codegen/ibc/core/channel/v1/channel.js +438 -57
- package/main/codegen/ibc/core/channel/v1/genesis.js +180 -16
- package/main/codegen/ibc/core/channel/v1/query.js +1604 -97
- package/main/codegen/ibc/core/channel/v1/query.lcd.js +184 -202
- package/main/codegen/ibc/core/channel/v1/query.rpc.Query.js +15 -17
- package/main/codegen/ibc/core/channel/v1/tx.amino.js +21 -470
- package/main/codegen/ibc/core/channel/v1/tx.js +1053 -64
- package/main/codegen/ibc/core/channel/v1/tx.rpc.msg.js +12 -14
- package/main/codegen/ibc/core/client/v1/client.js +438 -28
- package/main/codegen/ibc/core/client/v1/genesis.js +204 -15
- package/main/codegen/ibc/core/client/v1/query.js +874 -45
- package/main/codegen/ibc/core/client/v1/query.lcd.js +110 -124
- package/main/codegen/ibc/core/client/v1/query.rpc.Query.js +10 -12
- package/main/codegen/ibc/core/client/v1/tx.amino.js +9 -128
- package/main/codegen/ibc/core/client/v1/tx.js +402 -20
- package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +6 -8
- package/main/codegen/ibc/core/commitment/v1/commitment.js +236 -13
- package/main/codegen/ibc/core/connection/v1/connection.js +434 -52
- package/main/codegen/ibc/core/connection/v1/genesis.js +73 -12
- package/main/codegen/ibc/core/connection/v1/query.js +592 -36
- package/main/codegen/ibc/core/connection/v1/query.lcd.js +68 -75
- package/main/codegen/ibc/core/connection/v1/query.rpc.Query.js +7 -9
- package/main/codegen/ibc/core/connection/v1/tx.amino.js +9 -248
- package/main/codegen/ibc/core/connection/v1/tx.js +504 -34
- package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +6 -8
- package/main/codegen/ibc/core/port/v1/query.js +224 -0
- package/main/codegen/ibc/core/port/v1/query.rpc.Query.js +44 -0
- package/main/codegen/ibc/core/types/v1/genesis.js +111 -0
- package/main/codegen/ibc/lcd.js +319 -192
- package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -7
- package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +933 -91
- package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +930 -88
- package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +378 -30
- package/main/codegen/ibc/rpc.query.js +257 -146
- package/main/codegen/ibc/rpc.tx.js +235 -153
- package/main/codegen/ics23/bundle.js +6 -6
- package/main/codegen/index.js +74 -41
- package/main/codegen/juno/bundle.js +77 -24
- package/main/codegen/juno/client.js +33 -25
- package/main/codegen/juno/clock/v1/genesis.js +183 -0
- package/main/codegen/juno/clock/v1/query.js +288 -0
- package/main/codegen/juno/clock/v1/query.lcd.js +80 -0
- package/main/codegen/juno/clock/v1/query.rpc.Query.js +59 -0
- package/main/codegen/juno/clock/v1/tx.amino.js +15 -0
- package/main/codegen/juno/clock/v1/tx.js +177 -0
- package/main/codegen/juno/clock/v1/tx.registry.js +47 -0
- package/main/codegen/juno/clock/v1/tx.rpc.msg.js +33 -0
- package/main/codegen/juno/cwhooks/v1/genesis.js +212 -0
- package/main/codegen/juno/cwhooks/v1/query.js +436 -0
- package/main/codegen/juno/cwhooks/v1/query.lcd.js +108 -0
- package/main/codegen/juno/cwhooks/v1/query.rpc.Query.js +73 -0
- package/main/codegen/juno/cwhooks/v1/tx.amino.js +35 -0
- package/main/codegen/juno/cwhooks/v1/tx.js +745 -0
- package/main/codegen/juno/cwhooks/v1/tx.registry.js +119 -0
- package/main/codegen/juno/cwhooks/v1/tx.rpc.msg.js +73 -0
- package/main/codegen/juno/drip/v1/genesis.js +183 -0
- package/main/codegen/juno/drip/v1/query.js +137 -0
- package/main/codegen/juno/drip/v1/query.lcd.js +52 -0
- package/main/codegen/juno/drip/v1/query.rpc.Query.js +45 -0
- package/main/codegen/juno/drip/v1/tx.amino.js +20 -0
- package/main/codegen/juno/drip/v1/tx.js +326 -0
- package/main/codegen/juno/drip/v1/tx.registry.js +65 -0
- package/main/codegen/juno/drip/v1/tx.rpc.msg.js +43 -0
- package/main/codegen/juno/feepay/v1/feepay.js +217 -0
- package/main/codegen/juno/feepay/v1/genesis.js +185 -0
- package/main/codegen/juno/feepay/v1/query.js +769 -0
- package/main/codegen/juno/feepay/v1/query.lcd.js +165 -0
- package/main/codegen/juno/feepay/v1/query.rpc.Query.js +100 -0
- package/main/codegen/juno/feepay/v1/tx.amino.js +35 -0
- package/main/codegen/juno/feepay/v1/tx.js +792 -0
- package/main/codegen/juno/feepay/v1/tx.registry.js +119 -0
- package/main/codegen/juno/feepay/v1/tx.rpc.msg.js +73 -0
- package/main/codegen/juno/feeshare/v1/feeshare.js +54 -6
- package/main/codegen/juno/feeshare/v1/genesis.js +104 -12
- package/main/codegen/juno/feeshare/v1/query.js +446 -27
- package/main/codegen/juno/feeshare/v1/query.lcd.js +78 -86
- package/main/codegen/juno/feeshare/v1/query.rpc.Query.js +7 -9
- package/main/codegen/juno/feeshare/v1/tx.amino.js +12 -56
- package/main/codegen/juno/feeshare/v1/tx.js +406 -18
- package/main/codegen/juno/feeshare/v1/tx.registry.js +19 -1
- package/main/codegen/juno/feeshare/v1/tx.rpc.msg.js +15 -7
- package/main/codegen/juno/lcd.js +338 -155
- package/main/codegen/juno/mint/genesis.js +43 -8
- package/main/codegen/juno/mint/mint.js +117 -24
- package/main/codegen/juno/mint/query.js +384 -19
- package/main/codegen/juno/mint/query.lcd.js +61 -39
- package/main/codegen/juno/mint/query.rpc.Query.js +19 -7
- package/main/codegen/juno/mint/tx.amino.js +15 -0
- package/main/codegen/juno/mint/tx.js +177 -0
- package/main/codegen/juno/mint/tx.registry.js +47 -0
- package/main/codegen/juno/mint/tx.rpc.msg.js +33 -0
- package/main/codegen/juno/rpc.query.js +258 -117
- package/main/codegen/juno/rpc.tx.js +250 -111
- package/main/codegen/osmosis/bundle.js +19 -19
- package/main/codegen/osmosis/client.js +21 -23
- package/main/codegen/osmosis/lcd.js +271 -144
- package/main/codegen/osmosis/rpc.query.js +211 -110
- package/main/codegen/osmosis/rpc.tx.js +193 -111
- package/main/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -6
- package/main/codegen/osmosis/tokenfactory/v1beta1/genesis.js +115 -11
- package/main/codegen/osmosis/tokenfactory/v1beta1/params.js +64 -8
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.js +295 -19
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +37 -41
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +5 -7
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -165
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +785 -34
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +19 -1
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +18 -10
- package/main/codegen/router/bundle.js +12 -12
- package/main/codegen/router/lcd.js +268 -141
- package/main/codegen/router/rpc.query.js +208 -107
- package/main/codegen/router/v1/genesis.js +221 -24
- package/main/codegen/router/v1/query.js +69 -8
- package/main/codegen/router/v1/query.lcd.js +11 -13
- package/main/codegen/router/v1/query.rpc.Query.js +3 -5
- package/main/codegen/tendermint/abci/types.js +2058 -229
- package/main/codegen/tendermint/bundle.js +21 -21
- package/main/codegen/tendermint/crypto/keys.js +42 -6
- package/main/codegen/tendermint/crypto/proof.js +228 -21
- package/main/codegen/tendermint/libs/bits/types.js +47 -12
- package/main/codegen/tendermint/p2p/types.js +230 -26
- package/main/codegen/tendermint/types/block.js +46 -9
- package/main/codegen/tendermint/types/evidence.js +198 -27
- package/main/codegen/tendermint/types/params.js +316 -47
- package/main/codegen/tendermint/types/types.js +680 -87
- package/main/codegen/tendermint/types/validator.js +136 -24
- package/main/codegen/tendermint/version/types.js +114 -18
- package/main/codegen/utf8.js +129 -0
- package/main/codegen/varint.js +440 -0
- package/module/codegen/amino/amino.js +1 -0
- package/module/codegen/amino/bundle.js +5 -0
- package/module/codegen/binary.js +374 -0
- package/module/codegen/confio/proofs.js +806 -67
- package/module/codegen/contracts.js +2 -2
- package/module/codegen/cosmos/app/v1alpha1/config.js +193 -0
- package/module/codegen/cosmos/app/v1alpha1/module.js +279 -0
- package/module/codegen/cosmos/app/v1alpha1/query.js +139 -0
- package/module/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +27 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +352 -0
- package/module/codegen/cosmos/auth/v1beta1/genesis.js +94 -0
- package/module/codegen/cosmos/auth/v1beta1/query.js +1066 -0
- package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +62 -0
- package/module/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +83 -0
- package/module/codegen/cosmos/authz/v1beta1/authz.js +210 -9
- package/module/codegen/cosmos/authz/v1beta1/event.js +101 -5
- package/module/codegen/cosmos/authz/v1beta1/genesis.js +46 -3
- package/module/codegen/cosmos/authz/v1beta1/query.js +298 -17
- package/module/codegen/cosmos/authz/v1beta1/query.lcd.js +0 -3
- package/module/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +4 -4
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +18 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.js +303 -14
- package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +69 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +4 -4
- package/module/codegen/cosmos/bank/v1beta1/authz.js +61 -3
- package/module/codegen/cosmos/bank/v1beta1/bank.js +400 -17
- package/module/codegen/cosmos/bank/v1beta1/genesis.js +121 -6
- package/module/codegen/cosmos/bank/v1beta1/query.js +943 -45
- package/module/codegen/cosmos/bank/v1beta1/query.lcd.js +0 -9
- package/module/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +10 -10
- package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -70
- package/module/codegen/cosmos/bank/v1beta1/tx.js +181 -9
- package/module/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +3 -3
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +636 -57
- package/module/codegen/cosmos/base/kv/v1beta1/kv.js +169 -0
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +153 -15
- package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +315 -0
- package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1197 -53
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +859 -0
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +296 -0
- package/module/codegen/cosmos/base/store/v1beta1/listening.js +132 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1347 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +60 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +74 -0
- package/module/codegen/cosmos/base/v1beta1/coin.js +207 -9
- package/module/codegen/cosmos/bundle.js +272 -103
- package/module/codegen/cosmos/capability/v1beta1/capability.js +270 -0
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +180 -0
- package/module/codegen/cosmos/client.js +21 -5
- package/module/codegen/cosmos/crisis/v1beta1/genesis.js +77 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.js +163 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/crypto/ed25519/keys.js +113 -5
- package/module/codegen/cosmos/crypto/hd/v1/hd.js +59 -3
- package/module/codegen/cosmos/crypto/keyring/v1/record.js +236 -11
- package/module/codegen/cosmos/crypto/multisig/keys.js +62 -3
- package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +120 -5
- package/module/codegen/cosmos/crypto/secp256k1/keys.js +104 -5
- package/module/codegen/cosmos/crypto/secp256r1/keys.js +86 -5
- package/module/codegen/cosmos/distribution/v1beta1/distribution.js +753 -52
- package/module/codegen/cosmos/distribution/v1beta1/genesis.js +475 -34
- package/module/codegen/cosmos/distribution/v1beta1/query.js +943 -49
- package/module/codegen/cosmos/distribution/v1beta1/query.lcd.js +0 -9
- package/module/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +10 -10
- package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -74
- package/module/codegen/cosmos/distribution/v1beta1/tx.js +390 -21
- package/module/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +5 -5
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +124 -0
- package/module/codegen/cosmos/evidence/v1beta1/genesis.js +81 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.js +339 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +30 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +38 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.js +176 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +435 -0
- package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +81 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.js +524 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.lcd.js +41 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +13 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.js +323 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +51 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +23 -0
- package/module/codegen/cosmos/genutil/v1beta1/genesis.js +81 -0
- package/module/codegen/cosmos/gov/v1/genesis.js +75 -7
- package/module/codegen/cosmos/gov/v1/gov.js +471 -56
- package/module/codegen/cosmos/gov/v1/query.js +756 -53
- package/module/codegen/cosmos/gov/v1/query.lcd.js +0 -8
- package/module/codegen/cosmos/gov/v1/query.rpc.Query.js +9 -9
- package/module/codegen/cosmos/gov/v1/tx.amino.js +11 -150
- package/module/codegen/cosmos/gov/v1/tx.js +490 -35
- package/module/codegen/cosmos/gov/v1/tx.rpc.msg.js +6 -6
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +78 -10
- package/module/codegen/cosmos/gov/v1beta1/gov.js +538 -67
- package/module/codegen/cosmos/gov/v1beta1/query.js +763 -60
- package/module/codegen/cosmos/gov/v1beta1/query.lcd.js +0 -8
- package/module/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +9 -9
- package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -114
- package/module/codegen/cosmos/gov/v1beta1/tx.js +407 -31
- package/module/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +5 -5
- package/module/codegen/cosmos/group/v1/events.js +705 -0
- package/module/codegen/cosmos/group/v1/genesis.js +173 -0
- package/module/codegen/cosmos/group/v1/query.js +2196 -0
- package/module/codegen/cosmos/group/v1/query.lcd.js +136 -0
- package/module/codegen/cosmos/group/v1/query.rpc.Query.js +135 -0
- package/module/codegen/cosmos/group/v1/tx.amino.js +73 -0
- package/module/codegen/cosmos/group/v1/tx.js +2445 -0
- package/module/codegen/cosmos/group/v1/tx.registry.js +267 -0
- package/module/codegen/cosmos/group/v1/tx.rpc.msg.js +95 -0
- package/module/codegen/cosmos/group/v1/types.js +1511 -0
- package/module/codegen/cosmos/lcd.js +47 -0
- package/module/codegen/cosmos/mint/v1beta1/genesis.js +89 -0
- package/module/codegen/cosmos/mint/v1beta1/mint.js +226 -0
- package/module/codegen/cosmos/mint/v1beta1/query.js +443 -0
- package/module/codegen/cosmos/mint/v1beta1/query.lcd.js +27 -0
- package/module/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/cosmos/msg/v1/msg.js +1 -0
- package/module/codegen/cosmos/nft/v1beta1/event.js +313 -0
- package/module/codegen/cosmos/nft/v1beta1/genesis.js +186 -0
- package/module/codegen/cosmos/nft/v1beta1/nft.js +274 -0
- package/module/codegen/cosmos/nft/v1beta1/query.js +1152 -0
- package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +73 -0
- package/module/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +83 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.js +175 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/orm/v1/orm.js +368 -0
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +245 -0
- package/module/codegen/cosmos/params/v1beta1/params.js +213 -0
- package/module/codegen/cosmos/params/v1beta1/query.js +424 -0
- package/module/codegen/cosmos/params/v1beta1/query.lcd.js +31 -0
- package/module/codegen/cosmos/params/v1beta1/query.rpc.Query.js +36 -0
- package/module/codegen/cosmos/rpc.query.js +32 -0
- package/module/codegen/cosmos/rpc.tx.js +21 -0
- package/module/codegen/cosmos/slashing/v1beta1/genesis.js +383 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.js +493 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +36 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +47 -0
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +273 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.js +139 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/staking/v1beta1/authz.js +111 -22
- package/module/codegen/cosmos/staking/v1beta1/genesis.js +131 -10
- package/module/codegen/cosmos/staking/v1beta1/query.js +1436 -68
- package/module/codegen/cosmos/staking/v1beta1/query.lcd.js +0 -14
- package/module/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +15 -15
- package/module/codegen/cosmos/staking/v1beta1/staking.js +1225 -95
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -199
- package/module/codegen/cosmos/staking/v1beta1/tx.js +511 -32
- package/module/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +6 -6
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +261 -40
- package/module/codegen/cosmos/tx/v1beta1/service.js +581 -52
- package/module/codegen/cosmos/tx/v1beta1/service.lcd.js +0 -3
- package/module/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +6 -6
- package/module/codegen/cosmos/tx/v1beta1/tx.js +818 -50
- package/module/codegen/cosmos/upgrade/v1beta1/query.js +514 -28
- package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +0 -5
- package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +6 -6
- package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -51
- package/module/codegen/cosmos/upgrade/v1beta1/tx.js +214 -10
- package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +3 -3
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +247 -18
- package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +18 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +570 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +69 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +29 -0
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +622 -0
- package/module/codegen/cosmos_proto/bundle.js +4 -4
- package/module/codegen/cosmos_proto/cosmos.js +121 -15
- package/module/codegen/cosmwasm/bundle.js +19 -19
- package/module/codegen/cosmwasm/client.js +3 -3
- package/module/codegen/cosmwasm/lcd.js +47 -0
- package/module/codegen/cosmwasm/rpc.query.js +32 -0
- package/module/codegen/cosmwasm/rpc.tx.js +21 -0
- package/module/codegen/cosmwasm/wasm/v1/authz.js +504 -30
- package/module/codegen/cosmwasm/wasm/v1/genesis.js +294 -21
- package/module/codegen/cosmwasm/wasm/v1/ibc.js +102 -12
- package/module/codegen/cosmwasm/wasm/v1/proposal.js +815 -42
- package/module/codegen/cosmwasm/wasm/v1/query.js +1203 -61
- package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +0 -11
- package/module/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +12 -12
- package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -219
- package/module/codegen/cosmwasm/wasm/v1/tx.js +728 -46
- package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +8 -8
- package/module/codegen/cosmwasm/wasm/v1/types.js +437 -59
- package/module/codegen/gaia/bundle.js +10 -10
- package/module/codegen/gaia/globalfee/v1beta1/genesis.js +77 -6
- package/module/codegen/gaia/globalfee/v1beta1/query.js +90 -5
- package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +0 -1
- package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +2 -2
- package/module/codegen/gaia/lcd.js +47 -0
- package/module/codegen/gaia/rpc.query.js +32 -0
- package/module/codegen/gogoproto/bundle.js +4 -4
- package/module/codegen/google/api/annotations.js +1 -0
- package/module/codegen/google/api/http.js +1171 -0
- package/module/codegen/google/bundle.js +11 -8
- package/module/codegen/google/protobuf/any.js +278 -3
- package/module/codegen/google/protobuf/descriptor.js +1534 -165
- package/module/codegen/google/protobuf/duration.js +154 -7
- package/module/codegen/google/protobuf/empty.js +63 -3
- package/module/codegen/google/protobuf/timestamp.js +199 -7
- package/module/codegen/helpers.js +19 -46
- package/module/codegen/ibc/applications/transfer/v1/genesis.js +55 -4
- package/module/codegen/ibc/applications/transfer/v1/query.js +292 -13
- package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +0 -3
- package/module/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +4 -4
- package/module/codegen/ibc/applications/transfer/v1/transfer.js +117 -5
- package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -52
- package/module/codegen/ibc/applications/transfer/v1/tx.js +116 -11
- package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +2 -2
- package/module/codegen/ibc/applications/transfer/v2/packet.js +67 -3
- package/module/codegen/ibc/bundle.js +69 -58
- package/module/codegen/ibc/client.js +3 -3
- package/module/codegen/ibc/core/channel/v1/channel.js +424 -55
- package/module/codegen/ibc/core/channel/v1/genesis.js +149 -12
- package/module/codegen/ibc/core/channel/v1/query.js +1565 -93
- package/module/codegen/ibc/core/channel/v1/query.lcd.js +0 -13
- package/module/codegen/ibc/core/channel/v1/query.rpc.Query.js +14 -14
- package/module/codegen/ibc/core/channel/v1/tx.amino.js +21 -490
- package/module/codegen/ibc/core/channel/v1/tx.js +1049 -62
- package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +11 -11
- package/module/codegen/ibc/core/client/v1/client.js +424 -24
- package/module/codegen/ibc/core/client/v1/genesis.js +186 -12
- package/module/codegen/ibc/core/client/v1/query.js +861 -42
- package/module/codegen/ibc/core/client/v1/query.lcd.js +0 -8
- package/module/codegen/ibc/core/client/v1/query.rpc.Query.js +9 -9
- package/module/codegen/ibc/core/client/v1/tx.amino.js +9 -136
- package/module/codegen/ibc/core/client/v1/tx.js +402 -17
- package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +5 -5
- package/module/codegen/ibc/core/commitment/v1/commitment.js +227 -9
- package/module/codegen/ibc/core/connection/v1/connection.js +409 -48
- package/module/codegen/ibc/core/connection/v1/genesis.js +62 -8
- package/module/codegen/ibc/core/connection/v1/query.js +579 -33
- package/module/codegen/ibc/core/connection/v1/query.lcd.js +0 -5
- package/module/codegen/ibc/core/connection/v1/query.rpc.Query.js +6 -6
- package/module/codegen/ibc/core/connection/v1/tx.amino.js +9 -252
- package/module/codegen/ibc/core/connection/v1/tx.js +495 -31
- package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +5 -5
- package/module/codegen/ibc/core/port/v1/query.js +214 -0
- package/module/codegen/ibc/core/port/v1/query.rpc.Query.js +27 -0
- package/module/codegen/ibc/core/types/v1/genesis.js +103 -0
- package/module/codegen/ibc/lcd.js +47 -0
- package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -4
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +930 -89
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +927 -86
- package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +365 -27
- package/module/codegen/ibc/rpc.query.js +35 -0
- package/module/codegen/ibc/rpc.tx.js +21 -0
- package/module/codegen/ics23/bundle.js +4 -4
- package/module/codegen/index.js +5 -2
- package/module/codegen/juno/bundle.js +75 -22
- package/module/codegen/juno/client.js +15 -5
- package/module/codegen/juno/clock/v1/genesis.js +155 -0
- package/module/codegen/juno/clock/v1/query.js +256 -0
- package/module/codegen/juno/clock/v1/query.lcd.js +21 -0
- package/module/codegen/juno/clock/v1/query.rpc.Query.js +36 -0
- package/module/codegen/juno/clock/v1/tx.amino.js +8 -0
- package/module/codegen/juno/clock/v1/tx.js +167 -0
- package/module/codegen/juno/clock/v1/tx.registry.js +33 -0
- package/module/codegen/juno/clock/v1/tx.rpc.msg.js +17 -0
- package/module/codegen/juno/cwhooks/v1/genesis.js +169 -0
- package/module/codegen/juno/cwhooks/v1/query.js +385 -0
- package/module/codegen/juno/cwhooks/v1/query.lcd.js +27 -0
- package/module/codegen/juno/cwhooks/v1/query.rpc.Query.js +45 -0
- package/module/codegen/juno/cwhooks/v1/tx.amino.js +28 -0
- package/module/codegen/juno/cwhooks/v1/tx.js +719 -0
- package/module/codegen/juno/cwhooks/v1/tx.registry.js +105 -0
- package/module/codegen/juno/cwhooks/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/juno/drip/v1/genesis.js +155 -0
- package/module/codegen/juno/drip/v1/query.js +127 -0
- package/module/codegen/juno/drip/v1/query.lcd.js +15 -0
- package/module/codegen/juno/drip/v1/query.rpc.Query.js +27 -0
- package/module/codegen/juno/drip/v1/tx.amino.js +13 -0
- package/module/codegen/juno/drip/v1/tx.js +294 -0
- package/module/codegen/juno/drip/v1/tx.registry.js +51 -0
- package/module/codegen/juno/drip/v1/tx.rpc.msg.js +23 -0
- package/module/codegen/juno/feepay/v1/feepay.js +207 -0
- package/module/codegen/juno/feepay/v1/genesis.js +157 -0
- package/module/codegen/juno/feepay/v1/query.js +725 -0
- package/module/codegen/juno/feepay/v1/query.lcd.js +48 -0
- package/module/codegen/juno/feepay/v1/query.rpc.Query.js +65 -0
- package/module/codegen/juno/feepay/v1/tx.amino.js +28 -0
- package/module/codegen/juno/feepay/v1/tx.js +748 -0
- package/module/codegen/juno/feepay/v1/tx.registry.js +105 -0
- package/module/codegen/juno/feepay/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/juno/feeshare/v1/feeshare.js +54 -3
- package/module/codegen/juno/feeshare/v1/genesis.js +95 -8
- package/module/codegen/juno/feeshare/v1/query.js +433 -23
- package/module/codegen/juno/feeshare/v1/query.lcd.js +0 -5
- package/module/codegen/juno/feeshare/v1/query.rpc.Query.js +6 -6
- package/module/codegen/juno/feeshare/v1/tx.amino.js +12 -62
- package/module/codegen/juno/feeshare/v1/tx.js +400 -13
- package/module/codegen/juno/feeshare/v1/tx.registry.js +20 -2
- package/module/codegen/juno/feeshare/v1/tx.rpc.msg.js +11 -5
- package/module/codegen/juno/lcd.js +67 -0
- package/module/codegen/juno/mint/genesis.js +43 -5
- package/module/codegen/juno/mint/mint.js +115 -21
- package/module/codegen/juno/mint/query.js +378 -14
- package/module/codegen/juno/mint/query.lcd.js +6 -3
- package/module/codegen/juno/mint/query.rpc.Query.js +14 -5
- package/module/codegen/juno/mint/tx.amino.js +8 -0
- package/module/codegen/juno/mint/tx.js +167 -0
- package/module/codegen/juno/mint/tx.registry.js +33 -0
- package/module/codegen/juno/mint/tx.rpc.msg.js +17 -0
- package/module/codegen/juno/rpc.query.js +44 -0
- package/module/codegen/juno/rpc.tx.js +35 -1
- package/module/codegen/osmosis/bundle.js +17 -17
- package/module/codegen/osmosis/client.js +3 -3
- package/module/codegen/osmosis/lcd.js +47 -0
- package/module/codegen/osmosis/rpc.query.js +32 -0
- package/module/codegen/osmosis/rpc.tx.js +21 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -3
- package/module/codegen/osmosis/tokenfactory/v1beta1/genesis.js +110 -7
- package/module/codegen/osmosis/tokenfactory/v1beta1/params.js +59 -4
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.js +290 -15
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +0 -3
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +4 -4
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -173
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +780 -30
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +20 -2
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +14 -8
- package/module/codegen/router/bundle.js +10 -10
- package/module/codegen/router/lcd.js +47 -0
- package/module/codegen/router/rpc.query.js +32 -0
- package/module/codegen/router/v1/genesis.js +217 -22
- package/module/codegen/router/v1/query.js +69 -5
- package/module/codegen/router/v1/query.lcd.js +0 -1
- package/module/codegen/router/v1/query.rpc.Query.js +2 -2
- package/module/codegen/tendermint/abci/types.js +1996 -220
- package/module/codegen/tendermint/bundle.js +19 -19
- package/module/codegen/tendermint/crypto/keys.js +42 -3
- package/module/codegen/tendermint/crypto/proof.js +221 -18
- package/module/codegen/tendermint/libs/bits/types.js +42 -8
- package/module/codegen/tendermint/p2p/types.js +226 -23
- package/module/codegen/tendermint/types/block.js +46 -6
- package/module/codegen/tendermint/types/evidence.js +191 -24
- package/module/codegen/tendermint/types/params.js +306 -43
- package/module/codegen/tendermint/types/types.js +666 -85
- package/module/codegen/tendermint/types/validator.js +132 -21
- package/module/codegen/tendermint/version/types.js +108 -15
- package/module/codegen/utf8.js +121 -0
- package/module/codegen/varint.js +420 -0
- package/package.json +6 -7
- package/src/codegen/amino/amino.ts +1 -0
- package/src/codegen/amino/bundle.ts +4 -0
- package/src/codegen/binary.ts +534 -0
- package/src/codegen/confio/proofs.ts +828 -387
- package/src/codegen/cosmos/app/v1alpha1/config.ts +255 -0
- package/src/codegen/cosmos/app/v1alpha1/module.ts +454 -0
- package/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts +30 -0
- package/src/codegen/cosmos/app/v1alpha1/query.ts +163 -0
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +418 -0
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +113 -0
- package/src/codegen/cosmos/auth/v1beta1/query.lcd.ts +65 -0
- package/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts +102 -0
- package/src/codegen/cosmos/auth/v1beta1/query.ts +1249 -0
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +238 -81
- package/src/codegen/cosmos/authz/v1beta1/event.ts +127 -56
- package/src/codegen/cosmos/authz/v1beta1/genesis.ts +54 -19
- package/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +0 -17
- package/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts +4 -15
- package/src/codegen/cosmos/authz/v1beta1/query.ts +359 -140
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +18 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +70 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +4 -12
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +336 -113
- package/src/codegen/cosmos/bank/v1beta1/authz.ts +59 -19
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +454 -172
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +142 -60
- package/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +0 -34
- package/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts +10 -39
- package/src/codegen/cosmos/bank/v1beta1/query.ts +1075 -385
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +4 -101
- package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +0 -6
- package/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +3 -9
- package/src/codegen/cosmos/bank/v1beta1/tx.ts +212 -70
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +767 -356
- package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +197 -0
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +166 -77
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +364 -0
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +1406 -501
- package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +1023 -0
- package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +343 -0
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +158 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +63 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +87 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1606 -0
- package/src/codegen/cosmos/base/v1beta1/coin.ts +221 -70
- package/src/codegen/cosmos/bundle.ts +439 -157
- package/src/codegen/cosmos/capability/v1beta1/capability.ts +312 -0
- package/src/codegen/cosmos/capability/v1beta1/genesis.ts +226 -0
- package/src/codegen/cosmos/client.ts +31 -5
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +99 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +20 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.ts +190 -0
- package/src/codegen/cosmos/crypto/ed25519/keys.ts +111 -34
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +76 -39
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +280 -108
- package/src/codegen/cosmos/crypto/multisig/keys.ts +63 -21
- package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +118 -36
- package/src/codegen/cosmos/crypto/secp256k1/keys.ts +108 -34
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +104 -36
- package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +778 -261
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +591 -274
- package/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +0 -24
- package/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts +10 -39
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +1022 -353
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +8 -105
- package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +0 -12
- package/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +5 -15
- package/src/codegen/cosmos/distribution/v1beta1/tx.ts +423 -133
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +146 -0
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +95 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts +33 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts +43 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +405 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +23 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +207 -0
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +560 -0
- package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +93 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +44 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts +55 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +634 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +13 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +52 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +34 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +384 -0
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +95 -0
- package/src/codegen/cosmos/gov/v1/genesis.ts +100 -55
- package/src/codegen/cosmos/gov/v1/gov.ts +560 -306
- package/src/codegen/cosmos/gov/v1/query.lcd.ts +0 -27
- package/src/codegen/cosmos/gov/v1/query.rpc.Query.ts +9 -35
- package/src/codegen/cosmos/gov/v1/query.ts +929 -365
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +10 -208
- package/src/codegen/cosmos/gov/v1/tx.registry.ts +0 -15
- package/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +6 -18
- package/src/codegen/cosmos/gov/v1/tx.ts +582 -213
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +107 -62
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +641 -348
- package/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +0 -27
- package/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts +9 -35
- package/src/codegen/cosmos/gov/v1beta1/query.ts +948 -384
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +8 -159
- package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +0 -12
- package/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +5 -15
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +468 -168
- package/src/codegen/cosmos/group/v1/events.ts +855 -0
- package/src/codegen/cosmos/group/v1/genesis.ts +240 -0
- package/src/codegen/cosmos/group/v1/query.lcd.ts +139 -0
- package/src/codegen/cosmos/group/v1/query.rpc.Query.ts +162 -0
- package/src/codegen/cosmos/group/v1/query.ts +2674 -0
- package/src/codegen/cosmos/group/v1/tx.amino.ts +73 -0
- package/src/codegen/cosmos/group/v1/tx.registry.ts +268 -0
- package/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +124 -0
- package/src/codegen/cosmos/group/v1/tx.ts +2998 -0
- package/src/codegen/cosmos/group/v1/types.ts +1964 -0
- package/src/codegen/cosmos/lcd.ts +47 -0
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +110 -0
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +286 -0
- package/src/codegen/cosmos/mint/v1beta1/query.lcd.ts +30 -0
- package/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts +52 -0
- package/src/codegen/cosmos/mint/v1beta1/query.ts +513 -0
- package/src/codegen/cosmos/msg/v1/msg.ts +1 -0
- package/src/codegen/cosmos/nft/v1beta1/event.ts +373 -0
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +222 -0
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +354 -0
- package/src/codegen/cosmos/nft/v1beta1/query.lcd.ts +76 -0
- package/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts +101 -0
- package/src/codegen/cosmos/nft/v1beta1/query.ts +1360 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +20 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +213 -0
- package/src/codegen/cosmos/orm/v1/orm.ts +566 -0
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +348 -0
- package/src/codegen/cosmos/params/v1beta1/params.ts +250 -0
- package/src/codegen/cosmos/params/v1beta1/query.lcd.ts +34 -0
- package/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts +44 -0
- package/src/codegen/cosmos/params/v1beta1/query.ts +495 -0
- package/src/codegen/cosmos/rpc.query.ts +32 -0
- package/src/codegen/cosmos/rpc.tx.ts +21 -0
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +478 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts +39 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts +54 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +577 -0
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +356 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +24 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.ts +160 -0
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +130 -84
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +170 -82
- package/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +0 -47
- package/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts +15 -59
- package/src/codegen/cosmos/staking/v1beta1/query.ts +1616 -586
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +1395 -616
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +10 -276
- package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +0 -15
- package/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +6 -18
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +609 -224
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +306 -181
- package/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +0 -14
- package/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts +6 -23
- package/src/codegen/cosmos/tx/v1beta1/service.ts +635 -293
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +930 -405
- package/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +0 -14
- package/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts +6 -23
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +550 -182
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +4 -77
- package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +0 -6
- package/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +3 -9
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +217 -73
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +284 -124
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +18 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +70 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +45 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +657 -0
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +724 -0
- package/src/codegen/cosmos_proto/bundle.ts +3 -2
- package/src/codegen/cosmos_proto/cosmos.ts +125 -67
- package/src/codegen/cosmwasm/bundle.ts +32 -30
- package/src/codegen/cosmwasm/client.ts +5 -3
- package/src/codegen/cosmwasm/lcd.ts +47 -0
- package/src/codegen/cosmwasm/rpc.query.ts +32 -0
- package/src/codegen/cosmwasm/rpc.tx.ts +21 -0
- package/src/codegen/cosmwasm/wasm/v1/authz.ts +528 -180
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +356 -134
- package/src/codegen/cosmwasm/wasm/v1/ibc.ts +131 -60
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +987 -497
- package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +0 -36
- package/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts +12 -47
- package/src/codegen/cosmwasm/wasm/v1/query.ts +1352 -486
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +14 -298
- package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +0 -21
- package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +8 -24
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +893 -386
- package/src/codegen/cosmwasm/wasm/v1/types.ts +541 -300
- package/src/codegen/gaia/bundle.ts +14 -12
- package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +97 -40
- package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +0 -4
- package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +2 -7
- package/src/codegen/gaia/globalfee/v1beta1/query.ts +92 -33
- package/src/codegen/gaia/lcd.ts +47 -0
- package/src/codegen/gaia/rpc.query.ts +32 -0
- package/src/codegen/gogoproto/bundle.ts +3 -2
- package/src/codegen/google/api/annotations.ts +1 -0
- package/src/codegen/google/api/http.ts +1351 -0
- package/src/codegen/google/bundle.ts +17 -10
- package/src/codegen/google/protobuf/any.ts +131 -24
- package/src/codegen/google/protobuf/descriptor.ts +1890 -1033
- package/src/codegen/google/protobuf/duration.ts +106 -41
- package/src/codegen/google/protobuf/empty.ts +49 -16
- package/src/codegen/google/protobuf/timestamp.ts +127 -39
- package/src/codegen/helpers.ts +180 -172
- package/src/codegen/ibc/applications/transfer/v1/genesis.ts +67 -26
- package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +0 -10
- package/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts +4 -15
- package/src/codegen/ibc/applications/transfer/v1/query.ts +322 -108
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +123 -46
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +2 -67
- package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +0 -3
- package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +2 -6
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +148 -75
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +74 -34
- package/src/codegen/ibc/bundle.ts +115 -90
- package/src/codegen/ibc/client.ts +5 -3
- package/src/codegen/ibc/core/channel/v1/channel.ts +489 -301
- package/src/codegen/ibc/core/channel/v1/genesis.ts +177 -68
- package/src/codegen/ibc/core/channel/v1/query.lcd.ts +0 -37
- package/src/codegen/ibc/core/channel/v1/query.rpc.Query.ts +14 -55
- package/src/codegen/ibc/core/channel/v1/query.ts +1799 -794
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +20 -637
- package/src/codegen/ibc/core/channel/v1/tx.registry.ts +0 -30
- package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +11 -33
- package/src/codegen/ibc/core/channel/v1/tx.ts +1224 -442
- package/src/codegen/ibc/core/client/v1/client.ts +463 -184
- package/src/codegen/ibc/core/client/v1/genesis.ts +218 -91
- package/src/codegen/ibc/core/client/v1/query.lcd.ts +0 -24
- package/src/codegen/ibc/core/client/v1/query.rpc.Query.ts +9 -35
- package/src/codegen/ibc/core/client/v1/query.ts +929 -333
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +8 -190
- package/src/codegen/ibc/core/client/v1/tx.registry.ts +0 -12
- package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +5 -15
- package/src/codegen/ibc/core/client/v1/tx.ts +461 -182
- package/src/codegen/ibc/core/commitment/v1/commitment.ts +224 -67
- package/src/codegen/ibc/core/connection/v1/connection.ts +485 -246
- package/src/codegen/ibc/core/connection/v1/genesis.ts +81 -37
- package/src/codegen/ibc/core/connection/v1/query.lcd.ts +0 -14
- package/src/codegen/ibc/core/connection/v1/query.rpc.Query.ts +6 -23
- package/src/codegen/ibc/core/connection/v1/query.ts +653 -261
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +8 -328
- package/src/codegen/ibc/core/connection/v1/tx.registry.ts +0 -12
- package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +5 -15
- package/src/codegen/ibc/core/connection/v1/tx.ts +583 -242
- package/src/codegen/ibc/core/port/v1/query.rpc.Query.ts +30 -0
- package/src/codegen/ibc/core/port/v1/query.ts +269 -0
- package/src/codegen/ibc/core/types/v1/genesis.ts +135 -0
- package/src/codegen/ibc/lcd.ts +47 -0
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +65 -28
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1061 -473
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1056 -468
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +419 -189
- package/src/codegen/ibc/rpc.query.ts +35 -0
- package/src/codegen/ibc/rpc.tx.ts +21 -0
- package/src/codegen/ics23/bundle.ts +3 -2
- package/src/codegen/index.ts +6 -3
- package/src/codegen/juno/bundle.ts +127 -34
- package/src/codegen/juno/client.ts +21 -4
- package/src/codegen/juno/clock/v1/genesis.ts +188 -0
- package/src/codegen/juno/clock/v1/query.lcd.ts +24 -0
- package/src/codegen/juno/clock/v1/query.rpc.Query.ts +41 -0
- package/src/codegen/juno/clock/v1/query.ts +298 -0
- package/src/codegen/juno/clock/v1/tx.amino.ts +8 -0
- package/src/codegen/juno/clock/v1/tx.registry.ts +34 -0
- package/src/codegen/juno/clock/v1/tx.rpc.msg.ts +25 -0
- package/src/codegen/juno/clock/v1/tx.ts +203 -0
- package/src/codegen/juno/cwhooks/v1/genesis.ts +209 -0
- package/src/codegen/juno/cwhooks/v1/query.lcd.ts +30 -0
- package/src/codegen/juno/cwhooks/v1/query.rpc.Query.ts +52 -0
- package/src/codegen/juno/cwhooks/v1/query.ts +447 -0
- package/src/codegen/juno/cwhooks/v1/tx.amino.ts +28 -0
- package/src/codegen/juno/cwhooks/v1/tx.registry.ts +106 -0
- package/src/codegen/juno/cwhooks/v1/tx.rpc.msg.ts +57 -0
- package/src/codegen/juno/cwhooks/v1/tx.ts +851 -0
- package/src/codegen/juno/drip/v1/genesis.ts +190 -0
- package/src/codegen/juno/drip/v1/query.lcd.ts +18 -0
- package/src/codegen/juno/drip/v1/query.rpc.Query.ts +30 -0
- package/src/codegen/juno/drip/v1/query.ts +151 -0
- package/src/codegen/juno/drip/v1/tx.amino.ts +13 -0
- package/src/codegen/juno/drip/v1/tx.registry.ts +52 -0
- package/src/codegen/juno/drip/v1/tx.rpc.msg.ts +27 -0
- package/src/codegen/juno/drip/v1/tx.ts +360 -0
- package/src/codegen/juno/feepay/v1/feepay.ts +257 -0
- package/src/codegen/juno/feepay/v1/genesis.ts +191 -0
- package/src/codegen/juno/feepay/v1/query.lcd.ts +51 -0
- package/src/codegen/juno/feepay/v1/query.rpc.Query.ts +76 -0
- package/src/codegen/juno/feepay/v1/query.ts +886 -0
- package/src/codegen/juno/feepay/v1/tx.amino.ts +28 -0
- package/src/codegen/juno/feepay/v1/tx.registry.ts +106 -0
- package/src/codegen/juno/feepay/v1/tx.rpc.msg.ts +52 -0
- package/src/codegen/juno/feepay/v1/tx.ts +905 -0
- package/src/codegen/juno/feeshare/v1/feeshare.ts +61 -29
- package/src/codegen/juno/feeshare/v1/genesis.ts +119 -56
- package/src/codegen/juno/feeshare/v1/query.lcd.ts +0 -18
- package/src/codegen/juno/feeshare/v1/query.rpc.Query.ts +6 -23
- package/src/codegen/juno/feeshare/v1/query.ts +504 -203
- package/src/codegen/juno/feeshare/v1/tx.amino.ts +12 -87
- package/src/codegen/juno/feeshare/v1/tx.registry.ts +20 -11
- package/src/codegen/juno/feeshare/v1/tx.rpc.msg.ts +13 -13
- package/src/codegen/juno/feeshare/v1/tx.ts +485 -120
- package/src/codegen/juno/lcd.ts +67 -0
- package/src/codegen/juno/mint/genesis.ts +58 -30
- package/src/codegen/juno/mint/mint.ts +152 -73
- package/src/codegen/juno/mint/query.lcd.ts +7 -9
- package/src/codegen/juno/mint/query.rpc.Query.ts +16 -16
- package/src/codegen/juno/mint/query.ts +431 -99
- package/src/codegen/juno/mint/tx.amino.ts +8 -0
- package/src/codegen/juno/mint/tx.registry.ts +34 -0
- package/src/codegen/juno/mint/tx.rpc.msg.ts +25 -0
- package/src/codegen/juno/mint/tx.ts +203 -0
- package/src/codegen/juno/rpc.query.ts +44 -0
- package/src/codegen/juno/rpc.tx.ts +35 -1
- package/src/codegen/osmosis/bundle.ts +28 -26
- package/src/codegen/osmosis/client.ts +5 -3
- package/src/codegen/osmosis/lcd.ts +47 -0
- package/src/codegen/osmosis/rpc.query.ts +32 -0
- package/src/codegen/osmosis/rpc.tx.ts +21 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +56 -19
- package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +126 -47
- package/src/codegen/osmosis/tokenfactory/v1beta1/params.ts +80 -20
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +0 -8
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.ts +4 -15
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +318 -105
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +18 -244
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +20 -20
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +21 -17
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +881 -215
- package/src/codegen/router/bundle.ts +14 -12
- package/src/codegen/router/lcd.ts +47 -0
- package/src/codegen/router/rpc.query.ts +32 -0
- package/src/codegen/router/v1/genesis.ts +276 -119
- package/src/codegen/router/v1/query.lcd.ts +0 -4
- package/src/codegen/router/v1/query.rpc.Query.ts +2 -7
- package/src/codegen/router/v1/query.ts +85 -34
- package/src/codegen/tendermint/abci/types.ts +2651 -1184
- package/src/codegen/tendermint/bundle.ts +28 -22
- package/src/codegen/tendermint/crypto/keys.ts +51 -20
- package/src/codegen/tendermint/crypto/proof.ts +281 -108
- package/src/codegen/tendermint/libs/bits/types.ts +62 -32
- package/src/codegen/tendermint/p2p/types.ts +318 -126
- package/src/codegen/tendermint/types/block.ts +70 -33
- package/src/codegen/tendermint/types/evidence.ts +257 -112
- package/src/codegen/tendermint/types/params.ts +383 -188
- package/src/codegen/tendermint/types/types.ts +886 -437
- package/src/codegen/tendermint/types/validator.ts +191 -84
- package/src/codegen/tendermint/version/types.ts +125 -56
- package/src/codegen/utf8.ts +148 -0
- package/src/codegen/varint.ts +488 -0
@@ -1,124 +1,69 @@
|
|
1
|
-
import { Any, AnySDKType } from "../../../../google/protobuf/any";
|
2
|
-
import { ConnectionEnd, ConnectionEndSDKType } from "../../../core/connection/v1/connection";
|
3
|
-
import { Channel, ChannelSDKType } from "../../../core/channel/v1/channel";
|
4
|
-
import
|
5
|
-
import {
|
1
|
+
import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any";
|
2
|
+
import { ConnectionEnd, ConnectionEndAmino, ConnectionEndSDKType } from "../../../core/connection/v1/connection";
|
3
|
+
import { Channel, ChannelAmino, ChannelSDKType } from "../../../core/channel/v1/channel";
|
4
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
5
|
+
import { bytesFromBase64, base64FromBytes } from "../../../../helpers";
|
6
6
|
/**
|
7
7
|
* DataType defines the type of solo machine proof being created. This is done
|
8
8
|
* to preserve uniqueness of different data sign byte encodings.
|
9
9
|
*/
|
10
|
-
|
11
10
|
export enum DataType {
|
12
11
|
/** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */
|
13
12
|
DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0,
|
14
|
-
|
15
13
|
/** DATA_TYPE_CLIENT_STATE - Data type for client state verification */
|
16
14
|
DATA_TYPE_CLIENT_STATE = 1,
|
17
|
-
|
18
15
|
/** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */
|
19
16
|
DATA_TYPE_CONSENSUS_STATE = 2,
|
20
|
-
|
21
17
|
/** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */
|
22
18
|
DATA_TYPE_CONNECTION_STATE = 3,
|
23
|
-
|
24
19
|
/** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */
|
25
20
|
DATA_TYPE_CHANNEL_STATE = 4,
|
26
|
-
|
27
21
|
/** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */
|
28
22
|
DATA_TYPE_PACKET_COMMITMENT = 5,
|
29
|
-
|
30
23
|
/** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */
|
31
24
|
DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6,
|
32
|
-
|
33
25
|
/** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */
|
34
26
|
DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7,
|
35
|
-
|
36
27
|
/** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */
|
37
28
|
DATA_TYPE_NEXT_SEQUENCE_RECV = 8,
|
38
|
-
|
39
|
-
/** DATA_TYPE_HEADER - Data type for header verification */
|
40
|
-
DATA_TYPE_HEADER = 9,
|
41
|
-
UNRECOGNIZED = -1,
|
42
|
-
}
|
43
|
-
/**
|
44
|
-
* DataType defines the type of solo machine proof being created. This is done
|
45
|
-
* to preserve uniqueness of different data sign byte encodings.
|
46
|
-
*/
|
47
|
-
|
48
|
-
export enum DataTypeSDKType {
|
49
|
-
/** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */
|
50
|
-
DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0,
|
51
|
-
|
52
|
-
/** DATA_TYPE_CLIENT_STATE - Data type for client state verification */
|
53
|
-
DATA_TYPE_CLIENT_STATE = 1,
|
54
|
-
|
55
|
-
/** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */
|
56
|
-
DATA_TYPE_CONSENSUS_STATE = 2,
|
57
|
-
|
58
|
-
/** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */
|
59
|
-
DATA_TYPE_CONNECTION_STATE = 3,
|
60
|
-
|
61
|
-
/** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */
|
62
|
-
DATA_TYPE_CHANNEL_STATE = 4,
|
63
|
-
|
64
|
-
/** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */
|
65
|
-
DATA_TYPE_PACKET_COMMITMENT = 5,
|
66
|
-
|
67
|
-
/** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */
|
68
|
-
DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6,
|
69
|
-
|
70
|
-
/** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */
|
71
|
-
DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7,
|
72
|
-
|
73
|
-
/** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */
|
74
|
-
DATA_TYPE_NEXT_SEQUENCE_RECV = 8,
|
75
|
-
|
76
29
|
/** DATA_TYPE_HEADER - Data type for header verification */
|
77
30
|
DATA_TYPE_HEADER = 9,
|
78
31
|
UNRECOGNIZED = -1,
|
79
32
|
}
|
33
|
+
export const DataTypeSDKType = DataType;
|
34
|
+
export const DataTypeAmino = DataType;
|
80
35
|
export function dataTypeFromJSON(object: any): DataType {
|
81
36
|
switch (object) {
|
82
37
|
case 0:
|
83
38
|
case "DATA_TYPE_UNINITIALIZED_UNSPECIFIED":
|
84
39
|
return DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED;
|
85
|
-
|
86
40
|
case 1:
|
87
41
|
case "DATA_TYPE_CLIENT_STATE":
|
88
42
|
return DataType.DATA_TYPE_CLIENT_STATE;
|
89
|
-
|
90
43
|
case 2:
|
91
44
|
case "DATA_TYPE_CONSENSUS_STATE":
|
92
45
|
return DataType.DATA_TYPE_CONSENSUS_STATE;
|
93
|
-
|
94
46
|
case 3:
|
95
47
|
case "DATA_TYPE_CONNECTION_STATE":
|
96
48
|
return DataType.DATA_TYPE_CONNECTION_STATE;
|
97
|
-
|
98
49
|
case 4:
|
99
50
|
case "DATA_TYPE_CHANNEL_STATE":
|
100
51
|
return DataType.DATA_TYPE_CHANNEL_STATE;
|
101
|
-
|
102
52
|
case 5:
|
103
53
|
case "DATA_TYPE_PACKET_COMMITMENT":
|
104
54
|
return DataType.DATA_TYPE_PACKET_COMMITMENT;
|
105
|
-
|
106
55
|
case 6:
|
107
56
|
case "DATA_TYPE_PACKET_ACKNOWLEDGEMENT":
|
108
57
|
return DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT;
|
109
|
-
|
110
58
|
case 7:
|
111
59
|
case "DATA_TYPE_PACKET_RECEIPT_ABSENCE":
|
112
60
|
return DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE;
|
113
|
-
|
114
61
|
case 8:
|
115
62
|
case "DATA_TYPE_NEXT_SEQUENCE_RECV":
|
116
63
|
return DataType.DATA_TYPE_NEXT_SEQUENCE_RECV;
|
117
|
-
|
118
64
|
case 9:
|
119
65
|
case "DATA_TYPE_HEADER":
|
120
66
|
return DataType.DATA_TYPE_HEADER;
|
121
|
-
|
122
67
|
case -1:
|
123
68
|
case "UNRECOGNIZED":
|
124
69
|
default:
|
@@ -129,34 +74,24 @@ export function dataTypeToJSON(object: DataType): string {
|
|
129
74
|
switch (object) {
|
130
75
|
case DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED:
|
131
76
|
return "DATA_TYPE_UNINITIALIZED_UNSPECIFIED";
|
132
|
-
|
133
77
|
case DataType.DATA_TYPE_CLIENT_STATE:
|
134
78
|
return "DATA_TYPE_CLIENT_STATE";
|
135
|
-
|
136
79
|
case DataType.DATA_TYPE_CONSENSUS_STATE:
|
137
80
|
return "DATA_TYPE_CONSENSUS_STATE";
|
138
|
-
|
139
81
|
case DataType.DATA_TYPE_CONNECTION_STATE:
|
140
82
|
return "DATA_TYPE_CONNECTION_STATE";
|
141
|
-
|
142
83
|
case DataType.DATA_TYPE_CHANNEL_STATE:
|
143
84
|
return "DATA_TYPE_CHANNEL_STATE";
|
144
|
-
|
145
85
|
case DataType.DATA_TYPE_PACKET_COMMITMENT:
|
146
86
|
return "DATA_TYPE_PACKET_COMMITMENT";
|
147
|
-
|
148
87
|
case DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT:
|
149
88
|
return "DATA_TYPE_PACKET_ACKNOWLEDGEMENT";
|
150
|
-
|
151
89
|
case DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE:
|
152
90
|
return "DATA_TYPE_PACKET_RECEIPT_ABSENCE";
|
153
|
-
|
154
91
|
case DataType.DATA_TYPE_NEXT_SEQUENCE_RECV:
|
155
92
|
return "DATA_TYPE_NEXT_SEQUENCE_RECV";
|
156
|
-
|
157
93
|
case DataType.DATA_TYPE_HEADER:
|
158
94
|
return "DATA_TYPE_HEADER";
|
159
|
-
|
160
95
|
case DataType.UNRECOGNIZED:
|
161
96
|
default:
|
162
97
|
return "UNRECOGNIZED";
|
@@ -166,38 +101,50 @@ export function dataTypeToJSON(object: DataType): string {
|
|
166
101
|
* ClientState defines a solo machine client that tracks the current consensus
|
167
102
|
* state and if the client is frozen.
|
168
103
|
*/
|
169
|
-
|
170
104
|
export interface ClientState {
|
171
105
|
/** latest sequence of the client state */
|
172
|
-
sequence:
|
106
|
+
sequence: bigint;
|
173
107
|
/** frozen sequence of the solo machine */
|
174
|
-
|
175
108
|
isFrozen: boolean;
|
176
109
|
consensusState?: ConsensusState;
|
177
110
|
/**
|
178
111
|
* when set to true, will allow governance to update a solo machine client.
|
179
112
|
* The client will be unfrozen if it is frozen.
|
180
113
|
*/
|
181
|
-
|
182
114
|
allowUpdateAfterProposal: boolean;
|
183
115
|
}
|
116
|
+
export interface ClientStateProtoMsg {
|
117
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ClientState";
|
118
|
+
value: Uint8Array;
|
119
|
+
}
|
184
120
|
/**
|
185
121
|
* ClientState defines a solo machine client that tracks the current consensus
|
186
122
|
* state and if the client is frozen.
|
187
123
|
*/
|
188
|
-
|
189
|
-
export interface ClientStateSDKType {
|
124
|
+
export interface ClientStateAmino {
|
190
125
|
/** latest sequence of the client state */
|
191
|
-
sequence
|
126
|
+
sequence?: string;
|
192
127
|
/** frozen sequence of the solo machine */
|
193
|
-
|
194
|
-
|
195
|
-
consensus_state?: ConsensusStateSDKType;
|
128
|
+
is_frozen?: boolean;
|
129
|
+
consensus_state?: ConsensusStateAmino;
|
196
130
|
/**
|
197
131
|
* when set to true, will allow governance to update a solo machine client.
|
198
132
|
* The client will be unfrozen if it is frozen.
|
199
133
|
*/
|
200
|
-
|
134
|
+
allow_update_after_proposal?: boolean;
|
135
|
+
}
|
136
|
+
export interface ClientStateAminoMsg {
|
137
|
+
type: "cosmos-sdk/ClientState";
|
138
|
+
value: ClientStateAmino;
|
139
|
+
}
|
140
|
+
/**
|
141
|
+
* ClientState defines a solo machine client that tracks the current consensus
|
142
|
+
* state and if the client is frozen.
|
143
|
+
*/
|
144
|
+
export interface ClientStateSDKType {
|
145
|
+
sequence: bigint;
|
146
|
+
is_frozen: boolean;
|
147
|
+
consensus_state?: ConsensusStateSDKType;
|
201
148
|
allow_update_after_proposal: boolean;
|
202
149
|
}
|
203
150
|
/**
|
@@ -205,7 +152,6 @@ export interface ClientStateSDKType {
|
|
205
152
|
* consensus state is contained in the "height" key used in storing the
|
206
153
|
* consensus state.
|
207
154
|
*/
|
208
|
-
|
209
155
|
export interface ConsensusState {
|
210
156
|
/** public key of the solo machine */
|
211
157
|
publicKey?: Any;
|
@@ -214,44 +160,73 @@ export interface ConsensusState {
|
|
214
160
|
* machine clients (potentially on different chains) without being considered
|
215
161
|
* misbehaviour.
|
216
162
|
*/
|
217
|
-
|
218
163
|
diversifier: string;
|
219
|
-
timestamp:
|
164
|
+
timestamp: bigint;
|
165
|
+
}
|
166
|
+
export interface ConsensusStateProtoMsg {
|
167
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusState";
|
168
|
+
value: Uint8Array;
|
220
169
|
}
|
221
170
|
/**
|
222
171
|
* ConsensusState defines a solo machine consensus state. The sequence of a
|
223
172
|
* consensus state is contained in the "height" key used in storing the
|
224
173
|
* consensus state.
|
225
174
|
*/
|
226
|
-
|
227
|
-
export interface ConsensusStateSDKType {
|
175
|
+
export interface ConsensusStateAmino {
|
228
176
|
/** public key of the solo machine */
|
229
|
-
public_key?:
|
177
|
+
public_key?: AnyAmino;
|
230
178
|
/**
|
231
179
|
* diversifier allows the same public key to be re-used across different solo
|
232
180
|
* machine clients (potentially on different chains) without being considered
|
233
181
|
* misbehaviour.
|
234
182
|
*/
|
235
|
-
|
183
|
+
diversifier?: string;
|
184
|
+
timestamp?: string;
|
185
|
+
}
|
186
|
+
export interface ConsensusStateAminoMsg {
|
187
|
+
type: "cosmos-sdk/ConsensusState";
|
188
|
+
value: ConsensusStateAmino;
|
189
|
+
}
|
190
|
+
/**
|
191
|
+
* ConsensusState defines a solo machine consensus state. The sequence of a
|
192
|
+
* consensus state is contained in the "height" key used in storing the
|
193
|
+
* consensus state.
|
194
|
+
*/
|
195
|
+
export interface ConsensusStateSDKType {
|
196
|
+
public_key?: AnySDKType;
|
236
197
|
diversifier: string;
|
237
|
-
timestamp:
|
198
|
+
timestamp: bigint;
|
238
199
|
}
|
239
200
|
/** Header defines a solo machine consensus header */
|
240
|
-
|
241
201
|
export interface Header {
|
242
202
|
/** sequence to update solo machine public key at */
|
243
|
-
sequence:
|
244
|
-
timestamp:
|
203
|
+
sequence: bigint;
|
204
|
+
timestamp: bigint;
|
245
205
|
signature: Uint8Array;
|
246
206
|
newPublicKey?: Any;
|
247
207
|
newDiversifier: string;
|
248
208
|
}
|
209
|
+
export interface HeaderProtoMsg {
|
210
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.Header";
|
211
|
+
value: Uint8Array;
|
212
|
+
}
|
249
213
|
/** Header defines a solo machine consensus header */
|
250
|
-
|
251
|
-
export interface HeaderSDKType {
|
214
|
+
export interface HeaderAmino {
|
252
215
|
/** sequence to update solo machine public key at */
|
253
|
-
sequence
|
254
|
-
timestamp
|
216
|
+
sequence?: string;
|
217
|
+
timestamp?: string;
|
218
|
+
signature?: string;
|
219
|
+
new_public_key?: AnyAmino;
|
220
|
+
new_diversifier?: string;
|
221
|
+
}
|
222
|
+
export interface HeaderAminoMsg {
|
223
|
+
type: "cosmos-sdk/Header";
|
224
|
+
value: HeaderAmino;
|
225
|
+
}
|
226
|
+
/** Header defines a solo machine consensus header */
|
227
|
+
export interface HeaderSDKType {
|
228
|
+
sequence: bigint;
|
229
|
+
timestamp: bigint;
|
255
230
|
signature: Uint8Array;
|
256
231
|
new_public_key?: AnySDKType;
|
257
232
|
new_diversifier: string;
|
@@ -260,21 +235,37 @@ export interface HeaderSDKType {
|
|
260
235
|
* Misbehaviour defines misbehaviour for a solo machine which consists
|
261
236
|
* of a sequence and two signatures over different messages at that sequence.
|
262
237
|
*/
|
263
|
-
|
264
238
|
export interface Misbehaviour {
|
265
239
|
clientId: string;
|
266
|
-
sequence:
|
240
|
+
sequence: bigint;
|
267
241
|
signatureOne?: SignatureAndData;
|
268
242
|
signatureTwo?: SignatureAndData;
|
269
243
|
}
|
244
|
+
export interface MisbehaviourProtoMsg {
|
245
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.Misbehaviour";
|
246
|
+
value: Uint8Array;
|
247
|
+
}
|
248
|
+
/**
|
249
|
+
* Misbehaviour defines misbehaviour for a solo machine which consists
|
250
|
+
* of a sequence and two signatures over different messages at that sequence.
|
251
|
+
*/
|
252
|
+
export interface MisbehaviourAmino {
|
253
|
+
client_id?: string;
|
254
|
+
sequence?: string;
|
255
|
+
signature_one?: SignatureAndDataAmino;
|
256
|
+
signature_two?: SignatureAndDataAmino;
|
257
|
+
}
|
258
|
+
export interface MisbehaviourAminoMsg {
|
259
|
+
type: "cosmos-sdk/Misbehaviour";
|
260
|
+
value: MisbehaviourAmino;
|
261
|
+
}
|
270
262
|
/**
|
271
263
|
* Misbehaviour defines misbehaviour for a solo machine which consists
|
272
264
|
* of a sequence and two signatures over different messages at that sequence.
|
273
265
|
*/
|
274
|
-
|
275
266
|
export interface MisbehaviourSDKType {
|
276
267
|
client_id: string;
|
277
|
-
sequence:
|
268
|
+
sequence: bigint;
|
278
269
|
signature_one?: SignatureAndDataSDKType;
|
279
270
|
signature_two?: SignatureAndDataSDKType;
|
280
271
|
}
|
@@ -282,94 +273,154 @@ export interface MisbehaviourSDKType {
|
|
282
273
|
* SignatureAndData contains a signature and the data signed over to create that
|
283
274
|
* signature.
|
284
275
|
*/
|
285
|
-
|
286
276
|
export interface SignatureAndData {
|
287
277
|
signature: Uint8Array;
|
288
278
|
dataType: DataType;
|
289
279
|
data: Uint8Array;
|
290
|
-
timestamp:
|
280
|
+
timestamp: bigint;
|
281
|
+
}
|
282
|
+
export interface SignatureAndDataProtoMsg {
|
283
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.SignatureAndData";
|
284
|
+
value: Uint8Array;
|
285
|
+
}
|
286
|
+
/**
|
287
|
+
* SignatureAndData contains a signature and the data signed over to create that
|
288
|
+
* signature.
|
289
|
+
*/
|
290
|
+
export interface SignatureAndDataAmino {
|
291
|
+
signature?: string;
|
292
|
+
data_type?: DataType;
|
293
|
+
data?: string;
|
294
|
+
timestamp?: string;
|
295
|
+
}
|
296
|
+
export interface SignatureAndDataAminoMsg {
|
297
|
+
type: "cosmos-sdk/SignatureAndData";
|
298
|
+
value: SignatureAndDataAmino;
|
291
299
|
}
|
292
300
|
/**
|
293
301
|
* SignatureAndData contains a signature and the data signed over to create that
|
294
302
|
* signature.
|
295
303
|
*/
|
296
|
-
|
297
304
|
export interface SignatureAndDataSDKType {
|
298
305
|
signature: Uint8Array;
|
299
|
-
data_type:
|
306
|
+
data_type: DataType;
|
300
307
|
data: Uint8Array;
|
301
|
-
timestamp:
|
308
|
+
timestamp: bigint;
|
302
309
|
}
|
303
310
|
/**
|
304
311
|
* TimestampedSignatureData contains the signature data and the timestamp of the
|
305
312
|
* signature.
|
306
313
|
*/
|
307
|
-
|
308
314
|
export interface TimestampedSignatureData {
|
309
315
|
signatureData: Uint8Array;
|
310
|
-
timestamp:
|
316
|
+
timestamp: bigint;
|
317
|
+
}
|
318
|
+
export interface TimestampedSignatureDataProtoMsg {
|
319
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.TimestampedSignatureData";
|
320
|
+
value: Uint8Array;
|
321
|
+
}
|
322
|
+
/**
|
323
|
+
* TimestampedSignatureData contains the signature data and the timestamp of the
|
324
|
+
* signature.
|
325
|
+
*/
|
326
|
+
export interface TimestampedSignatureDataAmino {
|
327
|
+
signature_data?: string;
|
328
|
+
timestamp?: string;
|
329
|
+
}
|
330
|
+
export interface TimestampedSignatureDataAminoMsg {
|
331
|
+
type: "cosmos-sdk/TimestampedSignatureData";
|
332
|
+
value: TimestampedSignatureDataAmino;
|
311
333
|
}
|
312
334
|
/**
|
313
335
|
* TimestampedSignatureData contains the signature data and the timestamp of the
|
314
336
|
* signature.
|
315
337
|
*/
|
316
|
-
|
317
338
|
export interface TimestampedSignatureDataSDKType {
|
318
339
|
signature_data: Uint8Array;
|
319
|
-
timestamp:
|
340
|
+
timestamp: bigint;
|
320
341
|
}
|
321
342
|
/** SignBytes defines the signed bytes used for signature verification. */
|
322
|
-
|
323
343
|
export interface SignBytes {
|
324
|
-
sequence:
|
325
|
-
timestamp:
|
344
|
+
sequence: bigint;
|
345
|
+
timestamp: bigint;
|
326
346
|
diversifier: string;
|
327
347
|
/** type of the data used */
|
328
|
-
|
329
348
|
dataType: DataType;
|
330
349
|
/** marshaled data */
|
331
|
-
|
332
350
|
data: Uint8Array;
|
333
351
|
}
|
352
|
+
export interface SignBytesProtoMsg {
|
353
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.SignBytes";
|
354
|
+
value: Uint8Array;
|
355
|
+
}
|
334
356
|
/** SignBytes defines the signed bytes used for signature verification. */
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
diversifier: string;
|
357
|
+
export interface SignBytesAmino {
|
358
|
+
sequence?: string;
|
359
|
+
timestamp?: string;
|
360
|
+
diversifier?: string;
|
340
361
|
/** type of the data used */
|
341
|
-
|
342
|
-
data_type: DataTypeSDKType;
|
362
|
+
data_type?: DataType;
|
343
363
|
/** marshaled data */
|
344
|
-
|
364
|
+
data?: string;
|
365
|
+
}
|
366
|
+
export interface SignBytesAminoMsg {
|
367
|
+
type: "cosmos-sdk/SignBytes";
|
368
|
+
value: SignBytesAmino;
|
369
|
+
}
|
370
|
+
/** SignBytes defines the signed bytes used for signature verification. */
|
371
|
+
export interface SignBytesSDKType {
|
372
|
+
sequence: bigint;
|
373
|
+
timestamp: bigint;
|
374
|
+
diversifier: string;
|
375
|
+
data_type: DataType;
|
345
376
|
data: Uint8Array;
|
346
377
|
}
|
347
378
|
/** HeaderData returns the SignBytes data for update verification. */
|
348
|
-
|
349
379
|
export interface HeaderData {
|
350
380
|
/** header public key */
|
351
381
|
newPubKey?: Any;
|
352
382
|
/** header diversifier */
|
353
|
-
|
354
383
|
newDiversifier: string;
|
355
384
|
}
|
385
|
+
export interface HeaderDataProtoMsg {
|
386
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.HeaderData";
|
387
|
+
value: Uint8Array;
|
388
|
+
}
|
356
389
|
/** HeaderData returns the SignBytes data for update verification. */
|
357
|
-
|
358
|
-
export interface HeaderDataSDKType {
|
390
|
+
export interface HeaderDataAmino {
|
359
391
|
/** header public key */
|
360
|
-
new_pub_key?:
|
392
|
+
new_pub_key?: AnyAmino;
|
361
393
|
/** header diversifier */
|
362
|
-
|
394
|
+
new_diversifier?: string;
|
395
|
+
}
|
396
|
+
export interface HeaderDataAminoMsg {
|
397
|
+
type: "cosmos-sdk/HeaderData";
|
398
|
+
value: HeaderDataAmino;
|
399
|
+
}
|
400
|
+
/** HeaderData returns the SignBytes data for update verification. */
|
401
|
+
export interface HeaderDataSDKType {
|
402
|
+
new_pub_key?: AnySDKType;
|
363
403
|
new_diversifier: string;
|
364
404
|
}
|
365
405
|
/** ClientStateData returns the SignBytes data for client state verification. */
|
366
|
-
|
367
406
|
export interface ClientStateData {
|
368
407
|
path: Uint8Array;
|
369
408
|
clientState?: Any;
|
370
409
|
}
|
410
|
+
export interface ClientStateDataProtoMsg {
|
411
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ClientStateData";
|
412
|
+
value: Uint8Array;
|
413
|
+
}
|
414
|
+
/** ClientStateData returns the SignBytes data for client state verification. */
|
415
|
+
export interface ClientStateDataAmino {
|
416
|
+
path?: string;
|
417
|
+
client_state?: AnyAmino;
|
418
|
+
}
|
419
|
+
export interface ClientStateDataAminoMsg {
|
420
|
+
type: "cosmos-sdk/ClientStateData";
|
421
|
+
value: ClientStateDataAmino;
|
422
|
+
}
|
371
423
|
/** ClientStateData returns the SignBytes data for client state verification. */
|
372
|
-
|
373
424
|
export interface ClientStateDataSDKType {
|
374
425
|
path: Uint8Array;
|
375
426
|
client_state?: AnySDKType;
|
@@ -378,16 +429,30 @@ export interface ClientStateDataSDKType {
|
|
378
429
|
* ConsensusStateData returns the SignBytes data for consensus state
|
379
430
|
* verification.
|
380
431
|
*/
|
381
|
-
|
382
432
|
export interface ConsensusStateData {
|
383
433
|
path: Uint8Array;
|
384
434
|
consensusState?: Any;
|
385
435
|
}
|
436
|
+
export interface ConsensusStateDataProtoMsg {
|
437
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusStateData";
|
438
|
+
value: Uint8Array;
|
439
|
+
}
|
440
|
+
/**
|
441
|
+
* ConsensusStateData returns the SignBytes data for consensus state
|
442
|
+
* verification.
|
443
|
+
*/
|
444
|
+
export interface ConsensusStateDataAmino {
|
445
|
+
path?: string;
|
446
|
+
consensus_state?: AnyAmino;
|
447
|
+
}
|
448
|
+
export interface ConsensusStateDataAminoMsg {
|
449
|
+
type: "cosmos-sdk/ConsensusStateData";
|
450
|
+
value: ConsensusStateDataAmino;
|
451
|
+
}
|
386
452
|
/**
|
387
453
|
* ConsensusStateData returns the SignBytes data for consensus state
|
388
454
|
* verification.
|
389
455
|
*/
|
390
|
-
|
391
456
|
export interface ConsensusStateDataSDKType {
|
392
457
|
path: Uint8Array;
|
393
458
|
consensus_state?: AnySDKType;
|
@@ -396,16 +461,30 @@ export interface ConsensusStateDataSDKType {
|
|
396
461
|
* ConnectionStateData returns the SignBytes data for connection state
|
397
462
|
* verification.
|
398
463
|
*/
|
399
|
-
|
400
464
|
export interface ConnectionStateData {
|
401
465
|
path: Uint8Array;
|
402
466
|
connection?: ConnectionEnd;
|
403
467
|
}
|
468
|
+
export interface ConnectionStateDataProtoMsg {
|
469
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ConnectionStateData";
|
470
|
+
value: Uint8Array;
|
471
|
+
}
|
472
|
+
/**
|
473
|
+
* ConnectionStateData returns the SignBytes data for connection state
|
474
|
+
* verification.
|
475
|
+
*/
|
476
|
+
export interface ConnectionStateDataAmino {
|
477
|
+
path?: string;
|
478
|
+
connection?: ConnectionEndAmino;
|
479
|
+
}
|
480
|
+
export interface ConnectionStateDataAminoMsg {
|
481
|
+
type: "cosmos-sdk/ConnectionStateData";
|
482
|
+
value: ConnectionStateDataAmino;
|
483
|
+
}
|
404
484
|
/**
|
405
485
|
* ConnectionStateData returns the SignBytes data for connection state
|
406
486
|
* verification.
|
407
487
|
*/
|
408
|
-
|
409
488
|
export interface ConnectionStateDataSDKType {
|
410
489
|
path: Uint8Array;
|
411
490
|
connection?: ConnectionEndSDKType;
|
@@ -414,16 +493,30 @@ export interface ConnectionStateDataSDKType {
|
|
414
493
|
* ChannelStateData returns the SignBytes data for channel state
|
415
494
|
* verification.
|
416
495
|
*/
|
417
|
-
|
418
496
|
export interface ChannelStateData {
|
419
497
|
path: Uint8Array;
|
420
498
|
channel?: Channel;
|
421
499
|
}
|
500
|
+
export interface ChannelStateDataProtoMsg {
|
501
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ChannelStateData";
|
502
|
+
value: Uint8Array;
|
503
|
+
}
|
504
|
+
/**
|
505
|
+
* ChannelStateData returns the SignBytes data for channel state
|
506
|
+
* verification.
|
507
|
+
*/
|
508
|
+
export interface ChannelStateDataAmino {
|
509
|
+
path?: string;
|
510
|
+
channel?: ChannelAmino;
|
511
|
+
}
|
512
|
+
export interface ChannelStateDataAminoMsg {
|
513
|
+
type: "cosmos-sdk/ChannelStateData";
|
514
|
+
value: ChannelStateDataAmino;
|
515
|
+
}
|
422
516
|
/**
|
423
517
|
* ChannelStateData returns the SignBytes data for channel state
|
424
518
|
* verification.
|
425
519
|
*/
|
426
|
-
|
427
520
|
export interface ChannelStateDataSDKType {
|
428
521
|
path: Uint8Array;
|
429
522
|
channel?: ChannelSDKType;
|
@@ -432,16 +525,30 @@ export interface ChannelStateDataSDKType {
|
|
432
525
|
* PacketCommitmentData returns the SignBytes data for packet commitment
|
433
526
|
* verification.
|
434
527
|
*/
|
435
|
-
|
436
528
|
export interface PacketCommitmentData {
|
437
529
|
path: Uint8Array;
|
438
530
|
commitment: Uint8Array;
|
439
531
|
}
|
532
|
+
export interface PacketCommitmentDataProtoMsg {
|
533
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.PacketCommitmentData";
|
534
|
+
value: Uint8Array;
|
535
|
+
}
|
536
|
+
/**
|
537
|
+
* PacketCommitmentData returns the SignBytes data for packet commitment
|
538
|
+
* verification.
|
539
|
+
*/
|
540
|
+
export interface PacketCommitmentDataAmino {
|
541
|
+
path?: string;
|
542
|
+
commitment?: string;
|
543
|
+
}
|
544
|
+
export interface PacketCommitmentDataAminoMsg {
|
545
|
+
type: "cosmos-sdk/PacketCommitmentData";
|
546
|
+
value: PacketCommitmentDataAmino;
|
547
|
+
}
|
440
548
|
/**
|
441
549
|
* PacketCommitmentData returns the SignBytes data for packet commitment
|
442
550
|
* verification.
|
443
551
|
*/
|
444
|
-
|
445
552
|
export interface PacketCommitmentDataSDKType {
|
446
553
|
path: Uint8Array;
|
447
554
|
commitment: Uint8Array;
|
@@ -450,16 +557,30 @@ export interface PacketCommitmentDataSDKType {
|
|
450
557
|
* PacketAcknowledgementData returns the SignBytes data for acknowledgement
|
451
558
|
* verification.
|
452
559
|
*/
|
453
|
-
|
454
560
|
export interface PacketAcknowledgementData {
|
455
561
|
path: Uint8Array;
|
456
562
|
acknowledgement: Uint8Array;
|
457
563
|
}
|
564
|
+
export interface PacketAcknowledgementDataProtoMsg {
|
565
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.PacketAcknowledgementData";
|
566
|
+
value: Uint8Array;
|
567
|
+
}
|
568
|
+
/**
|
569
|
+
* PacketAcknowledgementData returns the SignBytes data for acknowledgement
|
570
|
+
* verification.
|
571
|
+
*/
|
572
|
+
export interface PacketAcknowledgementDataAmino {
|
573
|
+
path?: string;
|
574
|
+
acknowledgement?: string;
|
575
|
+
}
|
576
|
+
export interface PacketAcknowledgementDataAminoMsg {
|
577
|
+
type: "cosmos-sdk/PacketAcknowledgementData";
|
578
|
+
value: PacketAcknowledgementDataAmino;
|
579
|
+
}
|
458
580
|
/**
|
459
581
|
* PacketAcknowledgementData returns the SignBytes data for acknowledgement
|
460
582
|
* verification.
|
461
583
|
*/
|
462
|
-
|
463
584
|
export interface PacketAcknowledgementDataSDKType {
|
464
585
|
path: Uint8Array;
|
465
586
|
acknowledgement: Uint8Array;
|
@@ -468,15 +589,28 @@ export interface PacketAcknowledgementDataSDKType {
|
|
468
589
|
* PacketReceiptAbsenceData returns the SignBytes data for
|
469
590
|
* packet receipt absence verification.
|
470
591
|
*/
|
471
|
-
|
472
592
|
export interface PacketReceiptAbsenceData {
|
473
593
|
path: Uint8Array;
|
474
594
|
}
|
595
|
+
export interface PacketReceiptAbsenceDataProtoMsg {
|
596
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.PacketReceiptAbsenceData";
|
597
|
+
value: Uint8Array;
|
598
|
+
}
|
599
|
+
/**
|
600
|
+
* PacketReceiptAbsenceData returns the SignBytes data for
|
601
|
+
* packet receipt absence verification.
|
602
|
+
*/
|
603
|
+
export interface PacketReceiptAbsenceDataAmino {
|
604
|
+
path?: string;
|
605
|
+
}
|
606
|
+
export interface PacketReceiptAbsenceDataAminoMsg {
|
607
|
+
type: "cosmos-sdk/PacketReceiptAbsenceData";
|
608
|
+
value: PacketReceiptAbsenceDataAmino;
|
609
|
+
}
|
475
610
|
/**
|
476
611
|
* PacketReceiptAbsenceData returns the SignBytes data for
|
477
612
|
* packet receipt absence verification.
|
478
613
|
*/
|
479
|
-
|
480
614
|
export interface PacketReceiptAbsenceDataSDKType {
|
481
615
|
path: Uint8Array;
|
482
616
|
}
|
@@ -484,1017 +618,1471 @@ export interface PacketReceiptAbsenceDataSDKType {
|
|
484
618
|
* NextSequenceRecvData returns the SignBytes data for verification of the next
|
485
619
|
* sequence to be received.
|
486
620
|
*/
|
487
|
-
|
488
621
|
export interface NextSequenceRecvData {
|
489
622
|
path: Uint8Array;
|
490
|
-
nextSeqRecv:
|
623
|
+
nextSeqRecv: bigint;
|
624
|
+
}
|
625
|
+
export interface NextSequenceRecvDataProtoMsg {
|
626
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.NextSequenceRecvData";
|
627
|
+
value: Uint8Array;
|
628
|
+
}
|
629
|
+
/**
|
630
|
+
* NextSequenceRecvData returns the SignBytes data for verification of the next
|
631
|
+
* sequence to be received.
|
632
|
+
*/
|
633
|
+
export interface NextSequenceRecvDataAmino {
|
634
|
+
path?: string;
|
635
|
+
next_seq_recv?: string;
|
636
|
+
}
|
637
|
+
export interface NextSequenceRecvDataAminoMsg {
|
638
|
+
type: "cosmos-sdk/NextSequenceRecvData";
|
639
|
+
value: NextSequenceRecvDataAmino;
|
491
640
|
}
|
492
641
|
/**
|
493
642
|
* NextSequenceRecvData returns the SignBytes data for verification of the next
|
494
643
|
* sequence to be received.
|
495
644
|
*/
|
496
|
-
|
497
645
|
export interface NextSequenceRecvDataSDKType {
|
498
646
|
path: Uint8Array;
|
499
|
-
next_seq_recv:
|
647
|
+
next_seq_recv: bigint;
|
500
648
|
}
|
501
|
-
|
502
649
|
function createBaseClientState(): ClientState {
|
503
650
|
return {
|
504
|
-
sequence:
|
651
|
+
sequence: BigInt(0),
|
505
652
|
isFrozen: false,
|
506
653
|
consensusState: undefined,
|
507
654
|
allowUpdateAfterProposal: false
|
508
655
|
};
|
509
656
|
}
|
510
|
-
|
511
657
|
export const ClientState = {
|
512
|
-
|
513
|
-
|
658
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ClientState",
|
659
|
+
encode(message: ClientState, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
660
|
+
if (message.sequence !== BigInt(0)) {
|
514
661
|
writer.uint32(8).uint64(message.sequence);
|
515
662
|
}
|
516
|
-
|
517
663
|
if (message.isFrozen === true) {
|
518
664
|
writer.uint32(16).bool(message.isFrozen);
|
519
665
|
}
|
520
|
-
|
521
666
|
if (message.consensusState !== undefined) {
|
522
667
|
ConsensusState.encode(message.consensusState, writer.uint32(26).fork()).ldelim();
|
523
668
|
}
|
524
|
-
|
525
669
|
if (message.allowUpdateAfterProposal === true) {
|
526
670
|
writer.uint32(32).bool(message.allowUpdateAfterProposal);
|
527
671
|
}
|
528
|
-
|
529
672
|
return writer;
|
530
673
|
},
|
531
|
-
|
532
|
-
|
533
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
674
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ClientState {
|
675
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
534
676
|
let end = length === undefined ? reader.len : reader.pos + length;
|
535
677
|
const message = createBaseClientState();
|
536
|
-
|
537
678
|
while (reader.pos < end) {
|
538
679
|
const tag = reader.uint32();
|
539
|
-
|
540
680
|
switch (tag >>> 3) {
|
541
681
|
case 1:
|
542
|
-
message.sequence =
|
682
|
+
message.sequence = reader.uint64();
|
543
683
|
break;
|
544
|
-
|
545
684
|
case 2:
|
546
685
|
message.isFrozen = reader.bool();
|
547
686
|
break;
|
548
|
-
|
549
687
|
case 3:
|
550
688
|
message.consensusState = ConsensusState.decode(reader, reader.uint32());
|
551
689
|
break;
|
552
|
-
|
553
690
|
case 4:
|
554
691
|
message.allowUpdateAfterProposal = reader.bool();
|
555
692
|
break;
|
556
|
-
|
557
693
|
default:
|
558
694
|
reader.skipType(tag & 7);
|
559
695
|
break;
|
560
696
|
}
|
561
697
|
}
|
562
|
-
|
563
698
|
return message;
|
564
699
|
},
|
565
|
-
|
566
|
-
fromPartial(object: DeepPartial<ClientState>): ClientState {
|
700
|
+
fromPartial(object: Partial<ClientState>): ClientState {
|
567
701
|
const message = createBaseClientState();
|
568
|
-
message.sequence = object.sequence !== undefined && object.sequence !== null ?
|
702
|
+
message.sequence = object.sequence !== undefined && object.sequence !== null ? BigInt(object.sequence.toString()) : BigInt(0);
|
569
703
|
message.isFrozen = object.isFrozen ?? false;
|
570
704
|
message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? ConsensusState.fromPartial(object.consensusState) : undefined;
|
571
705
|
message.allowUpdateAfterProposal = object.allowUpdateAfterProposal ?? false;
|
572
706
|
return message;
|
707
|
+
},
|
708
|
+
fromAmino(object: ClientStateAmino): ClientState {
|
709
|
+
const message = createBaseClientState();
|
710
|
+
if (object.sequence !== undefined && object.sequence !== null) {
|
711
|
+
message.sequence = BigInt(object.sequence);
|
712
|
+
}
|
713
|
+
if (object.is_frozen !== undefined && object.is_frozen !== null) {
|
714
|
+
message.isFrozen = object.is_frozen;
|
715
|
+
}
|
716
|
+
if (object.consensus_state !== undefined && object.consensus_state !== null) {
|
717
|
+
message.consensusState = ConsensusState.fromAmino(object.consensus_state);
|
718
|
+
}
|
719
|
+
if (object.allow_update_after_proposal !== undefined && object.allow_update_after_proposal !== null) {
|
720
|
+
message.allowUpdateAfterProposal = object.allow_update_after_proposal;
|
721
|
+
}
|
722
|
+
return message;
|
723
|
+
},
|
724
|
+
toAmino(message: ClientState): ClientStateAmino {
|
725
|
+
const obj: any = {};
|
726
|
+
obj.sequence = message.sequence ? message.sequence.toString() : undefined;
|
727
|
+
obj.is_frozen = message.isFrozen;
|
728
|
+
obj.consensus_state = message.consensusState ? ConsensusState.toAmino(message.consensusState) : undefined;
|
729
|
+
obj.allow_update_after_proposal = message.allowUpdateAfterProposal;
|
730
|
+
return obj;
|
731
|
+
},
|
732
|
+
fromAminoMsg(object: ClientStateAminoMsg): ClientState {
|
733
|
+
return ClientState.fromAmino(object.value);
|
734
|
+
},
|
735
|
+
toAminoMsg(message: ClientState): ClientStateAminoMsg {
|
736
|
+
return {
|
737
|
+
type: "cosmos-sdk/ClientState",
|
738
|
+
value: ClientState.toAmino(message)
|
739
|
+
};
|
740
|
+
},
|
741
|
+
fromProtoMsg(message: ClientStateProtoMsg): ClientState {
|
742
|
+
return ClientState.decode(message.value);
|
743
|
+
},
|
744
|
+
toProto(message: ClientState): Uint8Array {
|
745
|
+
return ClientState.encode(message).finish();
|
746
|
+
},
|
747
|
+
toProtoMsg(message: ClientState): ClientStateProtoMsg {
|
748
|
+
return {
|
749
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ClientState",
|
750
|
+
value: ClientState.encode(message).finish()
|
751
|
+
};
|
573
752
|
}
|
574
|
-
|
575
753
|
};
|
576
|
-
|
577
754
|
function createBaseConsensusState(): ConsensusState {
|
578
755
|
return {
|
579
756
|
publicKey: undefined,
|
580
757
|
diversifier: "",
|
581
|
-
timestamp:
|
758
|
+
timestamp: BigInt(0)
|
582
759
|
};
|
583
760
|
}
|
584
|
-
|
585
761
|
export const ConsensusState = {
|
586
|
-
|
762
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusState",
|
763
|
+
encode(message: ConsensusState, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
587
764
|
if (message.publicKey !== undefined) {
|
588
765
|
Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim();
|
589
766
|
}
|
590
|
-
|
591
767
|
if (message.diversifier !== "") {
|
592
768
|
writer.uint32(18).string(message.diversifier);
|
593
769
|
}
|
594
|
-
|
595
|
-
if (!message.timestamp.isZero()) {
|
770
|
+
if (message.timestamp !== BigInt(0)) {
|
596
771
|
writer.uint32(24).uint64(message.timestamp);
|
597
772
|
}
|
598
|
-
|
599
773
|
return writer;
|
600
774
|
},
|
601
|
-
|
602
|
-
|
603
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
775
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ConsensusState {
|
776
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
604
777
|
let end = length === undefined ? reader.len : reader.pos + length;
|
605
778
|
const message = createBaseConsensusState();
|
606
|
-
|
607
779
|
while (reader.pos < end) {
|
608
780
|
const tag = reader.uint32();
|
609
|
-
|
610
781
|
switch (tag >>> 3) {
|
611
782
|
case 1:
|
612
783
|
message.publicKey = Any.decode(reader, reader.uint32());
|
613
784
|
break;
|
614
|
-
|
615
785
|
case 2:
|
616
786
|
message.diversifier = reader.string();
|
617
787
|
break;
|
618
|
-
|
619
788
|
case 3:
|
620
|
-
message.timestamp =
|
789
|
+
message.timestamp = reader.uint64();
|
621
790
|
break;
|
622
|
-
|
623
791
|
default:
|
624
792
|
reader.skipType(tag & 7);
|
625
793
|
break;
|
626
794
|
}
|
627
795
|
}
|
628
|
-
|
629
796
|
return message;
|
630
797
|
},
|
631
|
-
|
632
|
-
fromPartial(object: DeepPartial<ConsensusState>): ConsensusState {
|
798
|
+
fromPartial(object: Partial<ConsensusState>): ConsensusState {
|
633
799
|
const message = createBaseConsensusState();
|
634
800
|
message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined;
|
635
801
|
message.diversifier = object.diversifier ?? "";
|
636
|
-
message.timestamp = object.timestamp !== undefined && object.timestamp !== null ?
|
802
|
+
message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? BigInt(object.timestamp.toString()) : BigInt(0);
|
803
|
+
return message;
|
804
|
+
},
|
805
|
+
fromAmino(object: ConsensusStateAmino): ConsensusState {
|
806
|
+
const message = createBaseConsensusState();
|
807
|
+
if (object.public_key !== undefined && object.public_key !== null) {
|
808
|
+
message.publicKey = Any.fromAmino(object.public_key);
|
809
|
+
}
|
810
|
+
if (object.diversifier !== undefined && object.diversifier !== null) {
|
811
|
+
message.diversifier = object.diversifier;
|
812
|
+
}
|
813
|
+
if (object.timestamp !== undefined && object.timestamp !== null) {
|
814
|
+
message.timestamp = BigInt(object.timestamp);
|
815
|
+
}
|
637
816
|
return message;
|
817
|
+
},
|
818
|
+
toAmino(message: ConsensusState): ConsensusStateAmino {
|
819
|
+
const obj: any = {};
|
820
|
+
obj.public_key = message.publicKey ? Any.toAmino(message.publicKey) : undefined;
|
821
|
+
obj.diversifier = message.diversifier;
|
822
|
+
obj.timestamp = message.timestamp ? message.timestamp.toString() : undefined;
|
823
|
+
return obj;
|
824
|
+
},
|
825
|
+
fromAminoMsg(object: ConsensusStateAminoMsg): ConsensusState {
|
826
|
+
return ConsensusState.fromAmino(object.value);
|
827
|
+
},
|
828
|
+
toAminoMsg(message: ConsensusState): ConsensusStateAminoMsg {
|
829
|
+
return {
|
830
|
+
type: "cosmos-sdk/ConsensusState",
|
831
|
+
value: ConsensusState.toAmino(message)
|
832
|
+
};
|
833
|
+
},
|
834
|
+
fromProtoMsg(message: ConsensusStateProtoMsg): ConsensusState {
|
835
|
+
return ConsensusState.decode(message.value);
|
836
|
+
},
|
837
|
+
toProto(message: ConsensusState): Uint8Array {
|
838
|
+
return ConsensusState.encode(message).finish();
|
839
|
+
},
|
840
|
+
toProtoMsg(message: ConsensusState): ConsensusStateProtoMsg {
|
841
|
+
return {
|
842
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusState",
|
843
|
+
value: ConsensusState.encode(message).finish()
|
844
|
+
};
|
638
845
|
}
|
639
|
-
|
640
846
|
};
|
641
|
-
|
642
847
|
function createBaseHeader(): Header {
|
643
848
|
return {
|
644
|
-
sequence:
|
645
|
-
timestamp:
|
849
|
+
sequence: BigInt(0),
|
850
|
+
timestamp: BigInt(0),
|
646
851
|
signature: new Uint8Array(),
|
647
852
|
newPublicKey: undefined,
|
648
853
|
newDiversifier: ""
|
649
854
|
};
|
650
855
|
}
|
651
|
-
|
652
856
|
export const Header = {
|
653
|
-
|
654
|
-
|
857
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.Header",
|
858
|
+
encode(message: Header, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
859
|
+
if (message.sequence !== BigInt(0)) {
|
655
860
|
writer.uint32(8).uint64(message.sequence);
|
656
861
|
}
|
657
|
-
|
658
|
-
if (!message.timestamp.isZero()) {
|
862
|
+
if (message.timestamp !== BigInt(0)) {
|
659
863
|
writer.uint32(16).uint64(message.timestamp);
|
660
864
|
}
|
661
|
-
|
662
865
|
if (message.signature.length !== 0) {
|
663
866
|
writer.uint32(26).bytes(message.signature);
|
664
867
|
}
|
665
|
-
|
666
868
|
if (message.newPublicKey !== undefined) {
|
667
869
|
Any.encode(message.newPublicKey, writer.uint32(34).fork()).ldelim();
|
668
870
|
}
|
669
|
-
|
670
871
|
if (message.newDiversifier !== "") {
|
671
872
|
writer.uint32(42).string(message.newDiversifier);
|
672
873
|
}
|
673
|
-
|
674
874
|
return writer;
|
675
875
|
},
|
676
|
-
|
677
|
-
|
678
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
876
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Header {
|
877
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
679
878
|
let end = length === undefined ? reader.len : reader.pos + length;
|
680
879
|
const message = createBaseHeader();
|
681
|
-
|
682
880
|
while (reader.pos < end) {
|
683
881
|
const tag = reader.uint32();
|
684
|
-
|
685
882
|
switch (tag >>> 3) {
|
686
883
|
case 1:
|
687
|
-
message.sequence =
|
884
|
+
message.sequence = reader.uint64();
|
688
885
|
break;
|
689
|
-
|
690
886
|
case 2:
|
691
|
-
message.timestamp =
|
887
|
+
message.timestamp = reader.uint64();
|
692
888
|
break;
|
693
|
-
|
694
889
|
case 3:
|
695
890
|
message.signature = reader.bytes();
|
696
891
|
break;
|
697
|
-
|
698
892
|
case 4:
|
699
893
|
message.newPublicKey = Any.decode(reader, reader.uint32());
|
700
894
|
break;
|
701
|
-
|
702
895
|
case 5:
|
703
896
|
message.newDiversifier = reader.string();
|
704
897
|
break;
|
705
|
-
|
706
898
|
default:
|
707
899
|
reader.skipType(tag & 7);
|
708
900
|
break;
|
709
901
|
}
|
710
902
|
}
|
711
|
-
|
712
903
|
return message;
|
713
904
|
},
|
714
|
-
|
715
|
-
fromPartial(object: DeepPartial<Header>): Header {
|
905
|
+
fromPartial(object: Partial<Header>): Header {
|
716
906
|
const message = createBaseHeader();
|
717
|
-
message.sequence = object.sequence !== undefined && object.sequence !== null ?
|
718
|
-
message.timestamp = object.timestamp !== undefined && object.timestamp !== null ?
|
907
|
+
message.sequence = object.sequence !== undefined && object.sequence !== null ? BigInt(object.sequence.toString()) : BigInt(0);
|
908
|
+
message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? BigInt(object.timestamp.toString()) : BigInt(0);
|
719
909
|
message.signature = object.signature ?? new Uint8Array();
|
720
910
|
message.newPublicKey = object.newPublicKey !== undefined && object.newPublicKey !== null ? Any.fromPartial(object.newPublicKey) : undefined;
|
721
911
|
message.newDiversifier = object.newDiversifier ?? "";
|
722
912
|
return message;
|
913
|
+
},
|
914
|
+
fromAmino(object: HeaderAmino): Header {
|
915
|
+
const message = createBaseHeader();
|
916
|
+
if (object.sequence !== undefined && object.sequence !== null) {
|
917
|
+
message.sequence = BigInt(object.sequence);
|
918
|
+
}
|
919
|
+
if (object.timestamp !== undefined && object.timestamp !== null) {
|
920
|
+
message.timestamp = BigInt(object.timestamp);
|
921
|
+
}
|
922
|
+
if (object.signature !== undefined && object.signature !== null) {
|
923
|
+
message.signature = bytesFromBase64(object.signature);
|
924
|
+
}
|
925
|
+
if (object.new_public_key !== undefined && object.new_public_key !== null) {
|
926
|
+
message.newPublicKey = Any.fromAmino(object.new_public_key);
|
927
|
+
}
|
928
|
+
if (object.new_diversifier !== undefined && object.new_diversifier !== null) {
|
929
|
+
message.newDiversifier = object.new_diversifier;
|
930
|
+
}
|
931
|
+
return message;
|
932
|
+
},
|
933
|
+
toAmino(message: Header): HeaderAmino {
|
934
|
+
const obj: any = {};
|
935
|
+
obj.sequence = message.sequence ? message.sequence.toString() : undefined;
|
936
|
+
obj.timestamp = message.timestamp ? message.timestamp.toString() : undefined;
|
937
|
+
obj.signature = message.signature ? base64FromBytes(message.signature) : undefined;
|
938
|
+
obj.new_public_key = message.newPublicKey ? Any.toAmino(message.newPublicKey) : undefined;
|
939
|
+
obj.new_diversifier = message.newDiversifier;
|
940
|
+
return obj;
|
941
|
+
},
|
942
|
+
fromAminoMsg(object: HeaderAminoMsg): Header {
|
943
|
+
return Header.fromAmino(object.value);
|
944
|
+
},
|
945
|
+
toAminoMsg(message: Header): HeaderAminoMsg {
|
946
|
+
return {
|
947
|
+
type: "cosmos-sdk/Header",
|
948
|
+
value: Header.toAmino(message)
|
949
|
+
};
|
950
|
+
},
|
951
|
+
fromProtoMsg(message: HeaderProtoMsg): Header {
|
952
|
+
return Header.decode(message.value);
|
953
|
+
},
|
954
|
+
toProto(message: Header): Uint8Array {
|
955
|
+
return Header.encode(message).finish();
|
956
|
+
},
|
957
|
+
toProtoMsg(message: Header): HeaderProtoMsg {
|
958
|
+
return {
|
959
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.Header",
|
960
|
+
value: Header.encode(message).finish()
|
961
|
+
};
|
723
962
|
}
|
724
|
-
|
725
963
|
};
|
726
|
-
|
727
964
|
function createBaseMisbehaviour(): Misbehaviour {
|
728
965
|
return {
|
729
966
|
clientId: "",
|
730
|
-
sequence:
|
967
|
+
sequence: BigInt(0),
|
731
968
|
signatureOne: undefined,
|
732
969
|
signatureTwo: undefined
|
733
970
|
};
|
734
971
|
}
|
735
|
-
|
736
972
|
export const Misbehaviour = {
|
737
|
-
|
973
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.Misbehaviour",
|
974
|
+
encode(message: Misbehaviour, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
738
975
|
if (message.clientId !== "") {
|
739
976
|
writer.uint32(10).string(message.clientId);
|
740
977
|
}
|
741
|
-
|
742
|
-
if (!message.sequence.isZero()) {
|
978
|
+
if (message.sequence !== BigInt(0)) {
|
743
979
|
writer.uint32(16).uint64(message.sequence);
|
744
980
|
}
|
745
|
-
|
746
981
|
if (message.signatureOne !== undefined) {
|
747
982
|
SignatureAndData.encode(message.signatureOne, writer.uint32(26).fork()).ldelim();
|
748
983
|
}
|
749
|
-
|
750
984
|
if (message.signatureTwo !== undefined) {
|
751
985
|
SignatureAndData.encode(message.signatureTwo, writer.uint32(34).fork()).ldelim();
|
752
986
|
}
|
753
|
-
|
754
987
|
return writer;
|
755
988
|
},
|
756
|
-
|
757
|
-
|
758
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
989
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Misbehaviour {
|
990
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
759
991
|
let end = length === undefined ? reader.len : reader.pos + length;
|
760
992
|
const message = createBaseMisbehaviour();
|
761
|
-
|
762
993
|
while (reader.pos < end) {
|
763
994
|
const tag = reader.uint32();
|
764
|
-
|
765
995
|
switch (tag >>> 3) {
|
766
996
|
case 1:
|
767
997
|
message.clientId = reader.string();
|
768
998
|
break;
|
769
|
-
|
770
999
|
case 2:
|
771
|
-
message.sequence =
|
1000
|
+
message.sequence = reader.uint64();
|
772
1001
|
break;
|
773
|
-
|
774
1002
|
case 3:
|
775
1003
|
message.signatureOne = SignatureAndData.decode(reader, reader.uint32());
|
776
1004
|
break;
|
777
|
-
|
778
1005
|
case 4:
|
779
1006
|
message.signatureTwo = SignatureAndData.decode(reader, reader.uint32());
|
780
1007
|
break;
|
781
|
-
|
782
1008
|
default:
|
783
1009
|
reader.skipType(tag & 7);
|
784
1010
|
break;
|
785
1011
|
}
|
786
1012
|
}
|
787
|
-
|
788
1013
|
return message;
|
789
1014
|
},
|
790
|
-
|
791
|
-
fromPartial(object: DeepPartial<Misbehaviour>): Misbehaviour {
|
1015
|
+
fromPartial(object: Partial<Misbehaviour>): Misbehaviour {
|
792
1016
|
const message = createBaseMisbehaviour();
|
793
1017
|
message.clientId = object.clientId ?? "";
|
794
|
-
message.sequence = object.sequence !== undefined && object.sequence !== null ?
|
1018
|
+
message.sequence = object.sequence !== undefined && object.sequence !== null ? BigInt(object.sequence.toString()) : BigInt(0);
|
795
1019
|
message.signatureOne = object.signatureOne !== undefined && object.signatureOne !== null ? SignatureAndData.fromPartial(object.signatureOne) : undefined;
|
796
1020
|
message.signatureTwo = object.signatureTwo !== undefined && object.signatureTwo !== null ? SignatureAndData.fromPartial(object.signatureTwo) : undefined;
|
797
1021
|
return message;
|
1022
|
+
},
|
1023
|
+
fromAmino(object: MisbehaviourAmino): Misbehaviour {
|
1024
|
+
const message = createBaseMisbehaviour();
|
1025
|
+
if (object.client_id !== undefined && object.client_id !== null) {
|
1026
|
+
message.clientId = object.client_id;
|
1027
|
+
}
|
1028
|
+
if (object.sequence !== undefined && object.sequence !== null) {
|
1029
|
+
message.sequence = BigInt(object.sequence);
|
1030
|
+
}
|
1031
|
+
if (object.signature_one !== undefined && object.signature_one !== null) {
|
1032
|
+
message.signatureOne = SignatureAndData.fromAmino(object.signature_one);
|
1033
|
+
}
|
1034
|
+
if (object.signature_two !== undefined && object.signature_two !== null) {
|
1035
|
+
message.signatureTwo = SignatureAndData.fromAmino(object.signature_two);
|
1036
|
+
}
|
1037
|
+
return message;
|
1038
|
+
},
|
1039
|
+
toAmino(message: Misbehaviour): MisbehaviourAmino {
|
1040
|
+
const obj: any = {};
|
1041
|
+
obj.client_id = message.clientId;
|
1042
|
+
obj.sequence = message.sequence ? message.sequence.toString() : undefined;
|
1043
|
+
obj.signature_one = message.signatureOne ? SignatureAndData.toAmino(message.signatureOne) : undefined;
|
1044
|
+
obj.signature_two = message.signatureTwo ? SignatureAndData.toAmino(message.signatureTwo) : undefined;
|
1045
|
+
return obj;
|
1046
|
+
},
|
1047
|
+
fromAminoMsg(object: MisbehaviourAminoMsg): Misbehaviour {
|
1048
|
+
return Misbehaviour.fromAmino(object.value);
|
1049
|
+
},
|
1050
|
+
toAminoMsg(message: Misbehaviour): MisbehaviourAminoMsg {
|
1051
|
+
return {
|
1052
|
+
type: "cosmos-sdk/Misbehaviour",
|
1053
|
+
value: Misbehaviour.toAmino(message)
|
1054
|
+
};
|
1055
|
+
},
|
1056
|
+
fromProtoMsg(message: MisbehaviourProtoMsg): Misbehaviour {
|
1057
|
+
return Misbehaviour.decode(message.value);
|
1058
|
+
},
|
1059
|
+
toProto(message: Misbehaviour): Uint8Array {
|
1060
|
+
return Misbehaviour.encode(message).finish();
|
1061
|
+
},
|
1062
|
+
toProtoMsg(message: Misbehaviour): MisbehaviourProtoMsg {
|
1063
|
+
return {
|
1064
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.Misbehaviour",
|
1065
|
+
value: Misbehaviour.encode(message).finish()
|
1066
|
+
};
|
798
1067
|
}
|
799
|
-
|
800
1068
|
};
|
801
|
-
|
802
1069
|
function createBaseSignatureAndData(): SignatureAndData {
|
803
1070
|
return {
|
804
1071
|
signature: new Uint8Array(),
|
805
1072
|
dataType: 0,
|
806
1073
|
data: new Uint8Array(),
|
807
|
-
timestamp:
|
1074
|
+
timestamp: BigInt(0)
|
808
1075
|
};
|
809
1076
|
}
|
810
|
-
|
811
1077
|
export const SignatureAndData = {
|
812
|
-
|
1078
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.SignatureAndData",
|
1079
|
+
encode(message: SignatureAndData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
813
1080
|
if (message.signature.length !== 0) {
|
814
1081
|
writer.uint32(10).bytes(message.signature);
|
815
1082
|
}
|
816
|
-
|
817
1083
|
if (message.dataType !== 0) {
|
818
1084
|
writer.uint32(16).int32(message.dataType);
|
819
1085
|
}
|
820
|
-
|
821
1086
|
if (message.data.length !== 0) {
|
822
1087
|
writer.uint32(26).bytes(message.data);
|
823
1088
|
}
|
824
|
-
|
825
|
-
if (!message.timestamp.isZero()) {
|
1089
|
+
if (message.timestamp !== BigInt(0)) {
|
826
1090
|
writer.uint32(32).uint64(message.timestamp);
|
827
1091
|
}
|
828
|
-
|
829
1092
|
return writer;
|
830
1093
|
},
|
831
|
-
|
832
|
-
|
833
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1094
|
+
decode(input: BinaryReader | Uint8Array, length?: number): SignatureAndData {
|
1095
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
834
1096
|
let end = length === undefined ? reader.len : reader.pos + length;
|
835
1097
|
const message = createBaseSignatureAndData();
|
836
|
-
|
837
1098
|
while (reader.pos < end) {
|
838
1099
|
const tag = reader.uint32();
|
839
|
-
|
840
1100
|
switch (tag >>> 3) {
|
841
1101
|
case 1:
|
842
1102
|
message.signature = reader.bytes();
|
843
1103
|
break;
|
844
|
-
|
845
1104
|
case 2:
|
846
1105
|
message.dataType = (reader.int32() as any);
|
847
1106
|
break;
|
848
|
-
|
849
1107
|
case 3:
|
850
1108
|
message.data = reader.bytes();
|
851
1109
|
break;
|
852
|
-
|
853
1110
|
case 4:
|
854
|
-
message.timestamp =
|
1111
|
+
message.timestamp = reader.uint64();
|
855
1112
|
break;
|
856
|
-
|
857
1113
|
default:
|
858
1114
|
reader.skipType(tag & 7);
|
859
1115
|
break;
|
860
1116
|
}
|
861
1117
|
}
|
862
|
-
|
863
1118
|
return message;
|
864
1119
|
},
|
865
|
-
|
866
|
-
fromPartial(object: DeepPartial<SignatureAndData>): SignatureAndData {
|
1120
|
+
fromPartial(object: Partial<SignatureAndData>): SignatureAndData {
|
867
1121
|
const message = createBaseSignatureAndData();
|
868
1122
|
message.signature = object.signature ?? new Uint8Array();
|
869
1123
|
message.dataType = object.dataType ?? 0;
|
870
1124
|
message.data = object.data ?? new Uint8Array();
|
871
|
-
message.timestamp = object.timestamp !== undefined && object.timestamp !== null ?
|
1125
|
+
message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? BigInt(object.timestamp.toString()) : BigInt(0);
|
872
1126
|
return message;
|
1127
|
+
},
|
1128
|
+
fromAmino(object: SignatureAndDataAmino): SignatureAndData {
|
1129
|
+
const message = createBaseSignatureAndData();
|
1130
|
+
if (object.signature !== undefined && object.signature !== null) {
|
1131
|
+
message.signature = bytesFromBase64(object.signature);
|
1132
|
+
}
|
1133
|
+
if (object.data_type !== undefined && object.data_type !== null) {
|
1134
|
+
message.dataType = dataTypeFromJSON(object.data_type);
|
1135
|
+
}
|
1136
|
+
if (object.data !== undefined && object.data !== null) {
|
1137
|
+
message.data = bytesFromBase64(object.data);
|
1138
|
+
}
|
1139
|
+
if (object.timestamp !== undefined && object.timestamp !== null) {
|
1140
|
+
message.timestamp = BigInt(object.timestamp);
|
1141
|
+
}
|
1142
|
+
return message;
|
1143
|
+
},
|
1144
|
+
toAmino(message: SignatureAndData): SignatureAndDataAmino {
|
1145
|
+
const obj: any = {};
|
1146
|
+
obj.signature = message.signature ? base64FromBytes(message.signature) : undefined;
|
1147
|
+
obj.data_type = dataTypeToJSON(message.dataType);
|
1148
|
+
obj.data = message.data ? base64FromBytes(message.data) : undefined;
|
1149
|
+
obj.timestamp = message.timestamp ? message.timestamp.toString() : undefined;
|
1150
|
+
return obj;
|
1151
|
+
},
|
1152
|
+
fromAminoMsg(object: SignatureAndDataAminoMsg): SignatureAndData {
|
1153
|
+
return SignatureAndData.fromAmino(object.value);
|
1154
|
+
},
|
1155
|
+
toAminoMsg(message: SignatureAndData): SignatureAndDataAminoMsg {
|
1156
|
+
return {
|
1157
|
+
type: "cosmos-sdk/SignatureAndData",
|
1158
|
+
value: SignatureAndData.toAmino(message)
|
1159
|
+
};
|
1160
|
+
},
|
1161
|
+
fromProtoMsg(message: SignatureAndDataProtoMsg): SignatureAndData {
|
1162
|
+
return SignatureAndData.decode(message.value);
|
1163
|
+
},
|
1164
|
+
toProto(message: SignatureAndData): Uint8Array {
|
1165
|
+
return SignatureAndData.encode(message).finish();
|
1166
|
+
},
|
1167
|
+
toProtoMsg(message: SignatureAndData): SignatureAndDataProtoMsg {
|
1168
|
+
return {
|
1169
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.SignatureAndData",
|
1170
|
+
value: SignatureAndData.encode(message).finish()
|
1171
|
+
};
|
873
1172
|
}
|
874
|
-
|
875
1173
|
};
|
876
|
-
|
877
1174
|
function createBaseTimestampedSignatureData(): TimestampedSignatureData {
|
878
1175
|
return {
|
879
1176
|
signatureData: new Uint8Array(),
|
880
|
-
timestamp:
|
1177
|
+
timestamp: BigInt(0)
|
881
1178
|
};
|
882
1179
|
}
|
883
|
-
|
884
1180
|
export const TimestampedSignatureData = {
|
885
|
-
|
1181
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.TimestampedSignatureData",
|
1182
|
+
encode(message: TimestampedSignatureData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
886
1183
|
if (message.signatureData.length !== 0) {
|
887
1184
|
writer.uint32(10).bytes(message.signatureData);
|
888
1185
|
}
|
889
|
-
|
890
|
-
if (!message.timestamp.isZero()) {
|
1186
|
+
if (message.timestamp !== BigInt(0)) {
|
891
1187
|
writer.uint32(16).uint64(message.timestamp);
|
892
1188
|
}
|
893
|
-
|
894
1189
|
return writer;
|
895
1190
|
},
|
896
|
-
|
897
|
-
|
898
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1191
|
+
decode(input: BinaryReader | Uint8Array, length?: number): TimestampedSignatureData {
|
1192
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
899
1193
|
let end = length === undefined ? reader.len : reader.pos + length;
|
900
1194
|
const message = createBaseTimestampedSignatureData();
|
901
|
-
|
902
1195
|
while (reader.pos < end) {
|
903
1196
|
const tag = reader.uint32();
|
904
|
-
|
905
1197
|
switch (tag >>> 3) {
|
906
1198
|
case 1:
|
907
1199
|
message.signatureData = reader.bytes();
|
908
1200
|
break;
|
909
|
-
|
910
1201
|
case 2:
|
911
|
-
message.timestamp =
|
1202
|
+
message.timestamp = reader.uint64();
|
912
1203
|
break;
|
913
|
-
|
914
1204
|
default:
|
915
1205
|
reader.skipType(tag & 7);
|
916
1206
|
break;
|
917
1207
|
}
|
918
1208
|
}
|
919
|
-
|
920
1209
|
return message;
|
921
1210
|
},
|
922
|
-
|
923
|
-
fromPartial(object: DeepPartial<TimestampedSignatureData>): TimestampedSignatureData {
|
1211
|
+
fromPartial(object: Partial<TimestampedSignatureData>): TimestampedSignatureData {
|
924
1212
|
const message = createBaseTimestampedSignatureData();
|
925
1213
|
message.signatureData = object.signatureData ?? new Uint8Array();
|
926
|
-
message.timestamp = object.timestamp !== undefined && object.timestamp !== null ?
|
1214
|
+
message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? BigInt(object.timestamp.toString()) : BigInt(0);
|
927
1215
|
return message;
|
1216
|
+
},
|
1217
|
+
fromAmino(object: TimestampedSignatureDataAmino): TimestampedSignatureData {
|
1218
|
+
const message = createBaseTimestampedSignatureData();
|
1219
|
+
if (object.signature_data !== undefined && object.signature_data !== null) {
|
1220
|
+
message.signatureData = bytesFromBase64(object.signature_data);
|
1221
|
+
}
|
1222
|
+
if (object.timestamp !== undefined && object.timestamp !== null) {
|
1223
|
+
message.timestamp = BigInt(object.timestamp);
|
1224
|
+
}
|
1225
|
+
return message;
|
1226
|
+
},
|
1227
|
+
toAmino(message: TimestampedSignatureData): TimestampedSignatureDataAmino {
|
1228
|
+
const obj: any = {};
|
1229
|
+
obj.signature_data = message.signatureData ? base64FromBytes(message.signatureData) : undefined;
|
1230
|
+
obj.timestamp = message.timestamp ? message.timestamp.toString() : undefined;
|
1231
|
+
return obj;
|
1232
|
+
},
|
1233
|
+
fromAminoMsg(object: TimestampedSignatureDataAminoMsg): TimestampedSignatureData {
|
1234
|
+
return TimestampedSignatureData.fromAmino(object.value);
|
1235
|
+
},
|
1236
|
+
toAminoMsg(message: TimestampedSignatureData): TimestampedSignatureDataAminoMsg {
|
1237
|
+
return {
|
1238
|
+
type: "cosmos-sdk/TimestampedSignatureData",
|
1239
|
+
value: TimestampedSignatureData.toAmino(message)
|
1240
|
+
};
|
1241
|
+
},
|
1242
|
+
fromProtoMsg(message: TimestampedSignatureDataProtoMsg): TimestampedSignatureData {
|
1243
|
+
return TimestampedSignatureData.decode(message.value);
|
1244
|
+
},
|
1245
|
+
toProto(message: TimestampedSignatureData): Uint8Array {
|
1246
|
+
return TimestampedSignatureData.encode(message).finish();
|
1247
|
+
},
|
1248
|
+
toProtoMsg(message: TimestampedSignatureData): TimestampedSignatureDataProtoMsg {
|
1249
|
+
return {
|
1250
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.TimestampedSignatureData",
|
1251
|
+
value: TimestampedSignatureData.encode(message).finish()
|
1252
|
+
};
|
928
1253
|
}
|
929
|
-
|
930
1254
|
};
|
931
|
-
|
932
1255
|
function createBaseSignBytes(): SignBytes {
|
933
1256
|
return {
|
934
|
-
sequence:
|
935
|
-
timestamp:
|
1257
|
+
sequence: BigInt(0),
|
1258
|
+
timestamp: BigInt(0),
|
936
1259
|
diversifier: "",
|
937
1260
|
dataType: 0,
|
938
1261
|
data: new Uint8Array()
|
939
1262
|
};
|
940
1263
|
}
|
941
|
-
|
942
1264
|
export const SignBytes = {
|
943
|
-
|
944
|
-
|
1265
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.SignBytes",
|
1266
|
+
encode(message: SignBytes, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1267
|
+
if (message.sequence !== BigInt(0)) {
|
945
1268
|
writer.uint32(8).uint64(message.sequence);
|
946
1269
|
}
|
947
|
-
|
948
|
-
if (!message.timestamp.isZero()) {
|
1270
|
+
if (message.timestamp !== BigInt(0)) {
|
949
1271
|
writer.uint32(16).uint64(message.timestamp);
|
950
1272
|
}
|
951
|
-
|
952
1273
|
if (message.diversifier !== "") {
|
953
1274
|
writer.uint32(26).string(message.diversifier);
|
954
1275
|
}
|
955
|
-
|
956
1276
|
if (message.dataType !== 0) {
|
957
1277
|
writer.uint32(32).int32(message.dataType);
|
958
1278
|
}
|
959
|
-
|
960
1279
|
if (message.data.length !== 0) {
|
961
1280
|
writer.uint32(42).bytes(message.data);
|
962
1281
|
}
|
963
|
-
|
964
1282
|
return writer;
|
965
1283
|
},
|
966
|
-
|
967
|
-
|
968
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1284
|
+
decode(input: BinaryReader | Uint8Array, length?: number): SignBytes {
|
1285
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
969
1286
|
let end = length === undefined ? reader.len : reader.pos + length;
|
970
1287
|
const message = createBaseSignBytes();
|
971
|
-
|
972
1288
|
while (reader.pos < end) {
|
973
1289
|
const tag = reader.uint32();
|
974
|
-
|
975
1290
|
switch (tag >>> 3) {
|
976
1291
|
case 1:
|
977
|
-
message.sequence =
|
1292
|
+
message.sequence = reader.uint64();
|
978
1293
|
break;
|
979
|
-
|
980
1294
|
case 2:
|
981
|
-
message.timestamp =
|
1295
|
+
message.timestamp = reader.uint64();
|
982
1296
|
break;
|
983
|
-
|
984
1297
|
case 3:
|
985
1298
|
message.diversifier = reader.string();
|
986
1299
|
break;
|
987
|
-
|
988
1300
|
case 4:
|
989
1301
|
message.dataType = (reader.int32() as any);
|
990
1302
|
break;
|
991
|
-
|
992
1303
|
case 5:
|
993
1304
|
message.data = reader.bytes();
|
994
1305
|
break;
|
995
|
-
|
996
1306
|
default:
|
997
1307
|
reader.skipType(tag & 7);
|
998
1308
|
break;
|
999
1309
|
}
|
1000
1310
|
}
|
1001
|
-
|
1002
1311
|
return message;
|
1003
1312
|
},
|
1004
|
-
|
1005
|
-
fromPartial(object: DeepPartial<SignBytes>): SignBytes {
|
1313
|
+
fromPartial(object: Partial<SignBytes>): SignBytes {
|
1006
1314
|
const message = createBaseSignBytes();
|
1007
|
-
message.sequence = object.sequence !== undefined && object.sequence !== null ?
|
1008
|
-
message.timestamp = object.timestamp !== undefined && object.timestamp !== null ?
|
1315
|
+
message.sequence = object.sequence !== undefined && object.sequence !== null ? BigInt(object.sequence.toString()) : BigInt(0);
|
1316
|
+
message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? BigInt(object.timestamp.toString()) : BigInt(0);
|
1009
1317
|
message.diversifier = object.diversifier ?? "";
|
1010
1318
|
message.dataType = object.dataType ?? 0;
|
1011
1319
|
message.data = object.data ?? new Uint8Array();
|
1012
1320
|
return message;
|
1321
|
+
},
|
1322
|
+
fromAmino(object: SignBytesAmino): SignBytes {
|
1323
|
+
const message = createBaseSignBytes();
|
1324
|
+
if (object.sequence !== undefined && object.sequence !== null) {
|
1325
|
+
message.sequence = BigInt(object.sequence);
|
1326
|
+
}
|
1327
|
+
if (object.timestamp !== undefined && object.timestamp !== null) {
|
1328
|
+
message.timestamp = BigInt(object.timestamp);
|
1329
|
+
}
|
1330
|
+
if (object.diversifier !== undefined && object.diversifier !== null) {
|
1331
|
+
message.diversifier = object.diversifier;
|
1332
|
+
}
|
1333
|
+
if (object.data_type !== undefined && object.data_type !== null) {
|
1334
|
+
message.dataType = dataTypeFromJSON(object.data_type);
|
1335
|
+
}
|
1336
|
+
if (object.data !== undefined && object.data !== null) {
|
1337
|
+
message.data = bytesFromBase64(object.data);
|
1338
|
+
}
|
1339
|
+
return message;
|
1340
|
+
},
|
1341
|
+
toAmino(message: SignBytes): SignBytesAmino {
|
1342
|
+
const obj: any = {};
|
1343
|
+
obj.sequence = message.sequence ? message.sequence.toString() : undefined;
|
1344
|
+
obj.timestamp = message.timestamp ? message.timestamp.toString() : undefined;
|
1345
|
+
obj.diversifier = message.diversifier;
|
1346
|
+
obj.data_type = dataTypeToJSON(message.dataType);
|
1347
|
+
obj.data = message.data ? base64FromBytes(message.data) : undefined;
|
1348
|
+
return obj;
|
1349
|
+
},
|
1350
|
+
fromAminoMsg(object: SignBytesAminoMsg): SignBytes {
|
1351
|
+
return SignBytes.fromAmino(object.value);
|
1352
|
+
},
|
1353
|
+
toAminoMsg(message: SignBytes): SignBytesAminoMsg {
|
1354
|
+
return {
|
1355
|
+
type: "cosmos-sdk/SignBytes",
|
1356
|
+
value: SignBytes.toAmino(message)
|
1357
|
+
};
|
1358
|
+
},
|
1359
|
+
fromProtoMsg(message: SignBytesProtoMsg): SignBytes {
|
1360
|
+
return SignBytes.decode(message.value);
|
1361
|
+
},
|
1362
|
+
toProto(message: SignBytes): Uint8Array {
|
1363
|
+
return SignBytes.encode(message).finish();
|
1364
|
+
},
|
1365
|
+
toProtoMsg(message: SignBytes): SignBytesProtoMsg {
|
1366
|
+
return {
|
1367
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.SignBytes",
|
1368
|
+
value: SignBytes.encode(message).finish()
|
1369
|
+
};
|
1013
1370
|
}
|
1014
|
-
|
1015
1371
|
};
|
1016
|
-
|
1017
1372
|
function createBaseHeaderData(): HeaderData {
|
1018
1373
|
return {
|
1019
1374
|
newPubKey: undefined,
|
1020
1375
|
newDiversifier: ""
|
1021
1376
|
};
|
1022
1377
|
}
|
1023
|
-
|
1024
1378
|
export const HeaderData = {
|
1025
|
-
|
1379
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.HeaderData",
|
1380
|
+
encode(message: HeaderData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1026
1381
|
if (message.newPubKey !== undefined) {
|
1027
1382
|
Any.encode(message.newPubKey, writer.uint32(10).fork()).ldelim();
|
1028
1383
|
}
|
1029
|
-
|
1030
1384
|
if (message.newDiversifier !== "") {
|
1031
1385
|
writer.uint32(18).string(message.newDiversifier);
|
1032
1386
|
}
|
1033
|
-
|
1034
1387
|
return writer;
|
1035
1388
|
},
|
1036
|
-
|
1037
|
-
|
1038
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1389
|
+
decode(input: BinaryReader | Uint8Array, length?: number): HeaderData {
|
1390
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1039
1391
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1040
1392
|
const message = createBaseHeaderData();
|
1041
|
-
|
1042
1393
|
while (reader.pos < end) {
|
1043
1394
|
const tag = reader.uint32();
|
1044
|
-
|
1045
1395
|
switch (tag >>> 3) {
|
1046
1396
|
case 1:
|
1047
1397
|
message.newPubKey = Any.decode(reader, reader.uint32());
|
1048
1398
|
break;
|
1049
|
-
|
1050
1399
|
case 2:
|
1051
1400
|
message.newDiversifier = reader.string();
|
1052
1401
|
break;
|
1053
|
-
|
1054
1402
|
default:
|
1055
1403
|
reader.skipType(tag & 7);
|
1056
1404
|
break;
|
1057
1405
|
}
|
1058
1406
|
}
|
1059
|
-
|
1060
1407
|
return message;
|
1061
1408
|
},
|
1062
|
-
|
1063
|
-
fromPartial(object: DeepPartial<HeaderData>): HeaderData {
|
1409
|
+
fromPartial(object: Partial<HeaderData>): HeaderData {
|
1064
1410
|
const message = createBaseHeaderData();
|
1065
1411
|
message.newPubKey = object.newPubKey !== undefined && object.newPubKey !== null ? Any.fromPartial(object.newPubKey) : undefined;
|
1066
1412
|
message.newDiversifier = object.newDiversifier ?? "";
|
1067
1413
|
return message;
|
1414
|
+
},
|
1415
|
+
fromAmino(object: HeaderDataAmino): HeaderData {
|
1416
|
+
const message = createBaseHeaderData();
|
1417
|
+
if (object.new_pub_key !== undefined && object.new_pub_key !== null) {
|
1418
|
+
message.newPubKey = Any.fromAmino(object.new_pub_key);
|
1419
|
+
}
|
1420
|
+
if (object.new_diversifier !== undefined && object.new_diversifier !== null) {
|
1421
|
+
message.newDiversifier = object.new_diversifier;
|
1422
|
+
}
|
1423
|
+
return message;
|
1424
|
+
},
|
1425
|
+
toAmino(message: HeaderData): HeaderDataAmino {
|
1426
|
+
const obj: any = {};
|
1427
|
+
obj.new_pub_key = message.newPubKey ? Any.toAmino(message.newPubKey) : undefined;
|
1428
|
+
obj.new_diversifier = message.newDiversifier;
|
1429
|
+
return obj;
|
1430
|
+
},
|
1431
|
+
fromAminoMsg(object: HeaderDataAminoMsg): HeaderData {
|
1432
|
+
return HeaderData.fromAmino(object.value);
|
1433
|
+
},
|
1434
|
+
toAminoMsg(message: HeaderData): HeaderDataAminoMsg {
|
1435
|
+
return {
|
1436
|
+
type: "cosmos-sdk/HeaderData",
|
1437
|
+
value: HeaderData.toAmino(message)
|
1438
|
+
};
|
1439
|
+
},
|
1440
|
+
fromProtoMsg(message: HeaderDataProtoMsg): HeaderData {
|
1441
|
+
return HeaderData.decode(message.value);
|
1442
|
+
},
|
1443
|
+
toProto(message: HeaderData): Uint8Array {
|
1444
|
+
return HeaderData.encode(message).finish();
|
1445
|
+
},
|
1446
|
+
toProtoMsg(message: HeaderData): HeaderDataProtoMsg {
|
1447
|
+
return {
|
1448
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.HeaderData",
|
1449
|
+
value: HeaderData.encode(message).finish()
|
1450
|
+
};
|
1068
1451
|
}
|
1069
|
-
|
1070
1452
|
};
|
1071
|
-
|
1072
1453
|
function createBaseClientStateData(): ClientStateData {
|
1073
1454
|
return {
|
1074
1455
|
path: new Uint8Array(),
|
1075
1456
|
clientState: undefined
|
1076
1457
|
};
|
1077
1458
|
}
|
1078
|
-
|
1079
1459
|
export const ClientStateData = {
|
1080
|
-
|
1460
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ClientStateData",
|
1461
|
+
encode(message: ClientStateData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1081
1462
|
if (message.path.length !== 0) {
|
1082
1463
|
writer.uint32(10).bytes(message.path);
|
1083
1464
|
}
|
1084
|
-
|
1085
1465
|
if (message.clientState !== undefined) {
|
1086
1466
|
Any.encode(message.clientState, writer.uint32(18).fork()).ldelim();
|
1087
1467
|
}
|
1088
|
-
|
1089
1468
|
return writer;
|
1090
1469
|
},
|
1091
|
-
|
1092
|
-
|
1093
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1470
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ClientStateData {
|
1471
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1094
1472
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1095
1473
|
const message = createBaseClientStateData();
|
1096
|
-
|
1097
1474
|
while (reader.pos < end) {
|
1098
1475
|
const tag = reader.uint32();
|
1099
|
-
|
1100
1476
|
switch (tag >>> 3) {
|
1101
1477
|
case 1:
|
1102
1478
|
message.path = reader.bytes();
|
1103
1479
|
break;
|
1104
|
-
|
1105
1480
|
case 2:
|
1106
1481
|
message.clientState = Any.decode(reader, reader.uint32());
|
1107
1482
|
break;
|
1108
|
-
|
1109
1483
|
default:
|
1110
1484
|
reader.skipType(tag & 7);
|
1111
1485
|
break;
|
1112
1486
|
}
|
1113
1487
|
}
|
1114
|
-
|
1115
1488
|
return message;
|
1116
1489
|
},
|
1117
|
-
|
1118
|
-
fromPartial(object: DeepPartial<ClientStateData>): ClientStateData {
|
1490
|
+
fromPartial(object: Partial<ClientStateData>): ClientStateData {
|
1119
1491
|
const message = createBaseClientStateData();
|
1120
1492
|
message.path = object.path ?? new Uint8Array();
|
1121
1493
|
message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined;
|
1122
1494
|
return message;
|
1495
|
+
},
|
1496
|
+
fromAmino(object: ClientStateDataAmino): ClientStateData {
|
1497
|
+
const message = createBaseClientStateData();
|
1498
|
+
if (object.path !== undefined && object.path !== null) {
|
1499
|
+
message.path = bytesFromBase64(object.path);
|
1500
|
+
}
|
1501
|
+
if (object.client_state !== undefined && object.client_state !== null) {
|
1502
|
+
message.clientState = Any.fromAmino(object.client_state);
|
1503
|
+
}
|
1504
|
+
return message;
|
1505
|
+
},
|
1506
|
+
toAmino(message: ClientStateData): ClientStateDataAmino {
|
1507
|
+
const obj: any = {};
|
1508
|
+
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
1509
|
+
obj.client_state = message.clientState ? Any.toAmino(message.clientState) : undefined;
|
1510
|
+
return obj;
|
1511
|
+
},
|
1512
|
+
fromAminoMsg(object: ClientStateDataAminoMsg): ClientStateData {
|
1513
|
+
return ClientStateData.fromAmino(object.value);
|
1514
|
+
},
|
1515
|
+
toAminoMsg(message: ClientStateData): ClientStateDataAminoMsg {
|
1516
|
+
return {
|
1517
|
+
type: "cosmos-sdk/ClientStateData",
|
1518
|
+
value: ClientStateData.toAmino(message)
|
1519
|
+
};
|
1520
|
+
},
|
1521
|
+
fromProtoMsg(message: ClientStateDataProtoMsg): ClientStateData {
|
1522
|
+
return ClientStateData.decode(message.value);
|
1523
|
+
},
|
1524
|
+
toProto(message: ClientStateData): Uint8Array {
|
1525
|
+
return ClientStateData.encode(message).finish();
|
1526
|
+
},
|
1527
|
+
toProtoMsg(message: ClientStateData): ClientStateDataProtoMsg {
|
1528
|
+
return {
|
1529
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ClientStateData",
|
1530
|
+
value: ClientStateData.encode(message).finish()
|
1531
|
+
};
|
1123
1532
|
}
|
1124
|
-
|
1125
1533
|
};
|
1126
|
-
|
1127
1534
|
function createBaseConsensusStateData(): ConsensusStateData {
|
1128
1535
|
return {
|
1129
1536
|
path: new Uint8Array(),
|
1130
1537
|
consensusState: undefined
|
1131
1538
|
};
|
1132
1539
|
}
|
1133
|
-
|
1134
1540
|
export const ConsensusStateData = {
|
1135
|
-
|
1541
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusStateData",
|
1542
|
+
encode(message: ConsensusStateData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1136
1543
|
if (message.path.length !== 0) {
|
1137
1544
|
writer.uint32(10).bytes(message.path);
|
1138
1545
|
}
|
1139
|
-
|
1140
1546
|
if (message.consensusState !== undefined) {
|
1141
1547
|
Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim();
|
1142
1548
|
}
|
1143
|
-
|
1144
1549
|
return writer;
|
1145
1550
|
},
|
1146
|
-
|
1147
|
-
|
1148
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1551
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ConsensusStateData {
|
1552
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1149
1553
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1150
1554
|
const message = createBaseConsensusStateData();
|
1151
|
-
|
1152
1555
|
while (reader.pos < end) {
|
1153
1556
|
const tag = reader.uint32();
|
1154
|
-
|
1155
1557
|
switch (tag >>> 3) {
|
1156
1558
|
case 1:
|
1157
1559
|
message.path = reader.bytes();
|
1158
1560
|
break;
|
1159
|
-
|
1160
1561
|
case 2:
|
1161
1562
|
message.consensusState = Any.decode(reader, reader.uint32());
|
1162
1563
|
break;
|
1163
|
-
|
1164
1564
|
default:
|
1165
1565
|
reader.skipType(tag & 7);
|
1166
1566
|
break;
|
1167
1567
|
}
|
1168
1568
|
}
|
1169
|
-
|
1170
1569
|
return message;
|
1171
1570
|
},
|
1172
|
-
|
1173
|
-
fromPartial(object: DeepPartial<ConsensusStateData>): ConsensusStateData {
|
1571
|
+
fromPartial(object: Partial<ConsensusStateData>): ConsensusStateData {
|
1174
1572
|
const message = createBaseConsensusStateData();
|
1175
1573
|
message.path = object.path ?? new Uint8Array();
|
1176
1574
|
message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined;
|
1177
1575
|
return message;
|
1576
|
+
},
|
1577
|
+
fromAmino(object: ConsensusStateDataAmino): ConsensusStateData {
|
1578
|
+
const message = createBaseConsensusStateData();
|
1579
|
+
if (object.path !== undefined && object.path !== null) {
|
1580
|
+
message.path = bytesFromBase64(object.path);
|
1581
|
+
}
|
1582
|
+
if (object.consensus_state !== undefined && object.consensus_state !== null) {
|
1583
|
+
message.consensusState = Any.fromAmino(object.consensus_state);
|
1584
|
+
}
|
1585
|
+
return message;
|
1586
|
+
},
|
1587
|
+
toAmino(message: ConsensusStateData): ConsensusStateDataAmino {
|
1588
|
+
const obj: any = {};
|
1589
|
+
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
1590
|
+
obj.consensus_state = message.consensusState ? Any.toAmino(message.consensusState) : undefined;
|
1591
|
+
return obj;
|
1592
|
+
},
|
1593
|
+
fromAminoMsg(object: ConsensusStateDataAminoMsg): ConsensusStateData {
|
1594
|
+
return ConsensusStateData.fromAmino(object.value);
|
1595
|
+
},
|
1596
|
+
toAminoMsg(message: ConsensusStateData): ConsensusStateDataAminoMsg {
|
1597
|
+
return {
|
1598
|
+
type: "cosmos-sdk/ConsensusStateData",
|
1599
|
+
value: ConsensusStateData.toAmino(message)
|
1600
|
+
};
|
1601
|
+
},
|
1602
|
+
fromProtoMsg(message: ConsensusStateDataProtoMsg): ConsensusStateData {
|
1603
|
+
return ConsensusStateData.decode(message.value);
|
1604
|
+
},
|
1605
|
+
toProto(message: ConsensusStateData): Uint8Array {
|
1606
|
+
return ConsensusStateData.encode(message).finish();
|
1607
|
+
},
|
1608
|
+
toProtoMsg(message: ConsensusStateData): ConsensusStateDataProtoMsg {
|
1609
|
+
return {
|
1610
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusStateData",
|
1611
|
+
value: ConsensusStateData.encode(message).finish()
|
1612
|
+
};
|
1178
1613
|
}
|
1179
|
-
|
1180
1614
|
};
|
1181
|
-
|
1182
1615
|
function createBaseConnectionStateData(): ConnectionStateData {
|
1183
1616
|
return {
|
1184
1617
|
path: new Uint8Array(),
|
1185
1618
|
connection: undefined
|
1186
1619
|
};
|
1187
1620
|
}
|
1188
|
-
|
1189
1621
|
export const ConnectionStateData = {
|
1190
|
-
|
1622
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ConnectionStateData",
|
1623
|
+
encode(message: ConnectionStateData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1191
1624
|
if (message.path.length !== 0) {
|
1192
1625
|
writer.uint32(10).bytes(message.path);
|
1193
1626
|
}
|
1194
|
-
|
1195
1627
|
if (message.connection !== undefined) {
|
1196
1628
|
ConnectionEnd.encode(message.connection, writer.uint32(18).fork()).ldelim();
|
1197
1629
|
}
|
1198
|
-
|
1199
1630
|
return writer;
|
1200
1631
|
},
|
1201
|
-
|
1202
|
-
|
1203
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1632
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ConnectionStateData {
|
1633
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1204
1634
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1205
1635
|
const message = createBaseConnectionStateData();
|
1206
|
-
|
1207
1636
|
while (reader.pos < end) {
|
1208
1637
|
const tag = reader.uint32();
|
1209
|
-
|
1210
1638
|
switch (tag >>> 3) {
|
1211
1639
|
case 1:
|
1212
1640
|
message.path = reader.bytes();
|
1213
1641
|
break;
|
1214
|
-
|
1215
1642
|
case 2:
|
1216
1643
|
message.connection = ConnectionEnd.decode(reader, reader.uint32());
|
1217
1644
|
break;
|
1218
|
-
|
1219
1645
|
default:
|
1220
1646
|
reader.skipType(tag & 7);
|
1221
1647
|
break;
|
1222
1648
|
}
|
1223
1649
|
}
|
1224
|
-
|
1225
1650
|
return message;
|
1226
1651
|
},
|
1227
|
-
|
1228
|
-
fromPartial(object: DeepPartial<ConnectionStateData>): ConnectionStateData {
|
1652
|
+
fromPartial(object: Partial<ConnectionStateData>): ConnectionStateData {
|
1229
1653
|
const message = createBaseConnectionStateData();
|
1230
1654
|
message.path = object.path ?? new Uint8Array();
|
1231
1655
|
message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined;
|
1232
1656
|
return message;
|
1657
|
+
},
|
1658
|
+
fromAmino(object: ConnectionStateDataAmino): ConnectionStateData {
|
1659
|
+
const message = createBaseConnectionStateData();
|
1660
|
+
if (object.path !== undefined && object.path !== null) {
|
1661
|
+
message.path = bytesFromBase64(object.path);
|
1662
|
+
}
|
1663
|
+
if (object.connection !== undefined && object.connection !== null) {
|
1664
|
+
message.connection = ConnectionEnd.fromAmino(object.connection);
|
1665
|
+
}
|
1666
|
+
return message;
|
1667
|
+
},
|
1668
|
+
toAmino(message: ConnectionStateData): ConnectionStateDataAmino {
|
1669
|
+
const obj: any = {};
|
1670
|
+
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
1671
|
+
obj.connection = message.connection ? ConnectionEnd.toAmino(message.connection) : undefined;
|
1672
|
+
return obj;
|
1673
|
+
},
|
1674
|
+
fromAminoMsg(object: ConnectionStateDataAminoMsg): ConnectionStateData {
|
1675
|
+
return ConnectionStateData.fromAmino(object.value);
|
1676
|
+
},
|
1677
|
+
toAminoMsg(message: ConnectionStateData): ConnectionStateDataAminoMsg {
|
1678
|
+
return {
|
1679
|
+
type: "cosmos-sdk/ConnectionStateData",
|
1680
|
+
value: ConnectionStateData.toAmino(message)
|
1681
|
+
};
|
1682
|
+
},
|
1683
|
+
fromProtoMsg(message: ConnectionStateDataProtoMsg): ConnectionStateData {
|
1684
|
+
return ConnectionStateData.decode(message.value);
|
1685
|
+
},
|
1686
|
+
toProto(message: ConnectionStateData): Uint8Array {
|
1687
|
+
return ConnectionStateData.encode(message).finish();
|
1688
|
+
},
|
1689
|
+
toProtoMsg(message: ConnectionStateData): ConnectionStateDataProtoMsg {
|
1690
|
+
return {
|
1691
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ConnectionStateData",
|
1692
|
+
value: ConnectionStateData.encode(message).finish()
|
1693
|
+
};
|
1233
1694
|
}
|
1234
|
-
|
1235
1695
|
};
|
1236
|
-
|
1237
1696
|
function createBaseChannelStateData(): ChannelStateData {
|
1238
1697
|
return {
|
1239
1698
|
path: new Uint8Array(),
|
1240
1699
|
channel: undefined
|
1241
1700
|
};
|
1242
1701
|
}
|
1243
|
-
|
1244
1702
|
export const ChannelStateData = {
|
1245
|
-
|
1703
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ChannelStateData",
|
1704
|
+
encode(message: ChannelStateData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1246
1705
|
if (message.path.length !== 0) {
|
1247
1706
|
writer.uint32(10).bytes(message.path);
|
1248
1707
|
}
|
1249
|
-
|
1250
1708
|
if (message.channel !== undefined) {
|
1251
1709
|
Channel.encode(message.channel, writer.uint32(18).fork()).ldelim();
|
1252
1710
|
}
|
1253
|
-
|
1254
1711
|
return writer;
|
1255
1712
|
},
|
1256
|
-
|
1257
|
-
|
1258
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1713
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ChannelStateData {
|
1714
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1259
1715
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1260
1716
|
const message = createBaseChannelStateData();
|
1261
|
-
|
1262
1717
|
while (reader.pos < end) {
|
1263
1718
|
const tag = reader.uint32();
|
1264
|
-
|
1265
1719
|
switch (tag >>> 3) {
|
1266
1720
|
case 1:
|
1267
1721
|
message.path = reader.bytes();
|
1268
1722
|
break;
|
1269
|
-
|
1270
1723
|
case 2:
|
1271
1724
|
message.channel = Channel.decode(reader, reader.uint32());
|
1272
1725
|
break;
|
1273
|
-
|
1274
1726
|
default:
|
1275
1727
|
reader.skipType(tag & 7);
|
1276
1728
|
break;
|
1277
1729
|
}
|
1278
1730
|
}
|
1279
|
-
|
1280
1731
|
return message;
|
1281
1732
|
},
|
1282
|
-
|
1283
|
-
fromPartial(object: DeepPartial<ChannelStateData>): ChannelStateData {
|
1733
|
+
fromPartial(object: Partial<ChannelStateData>): ChannelStateData {
|
1284
1734
|
const message = createBaseChannelStateData();
|
1285
1735
|
message.path = object.path ?? new Uint8Array();
|
1286
1736
|
message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined;
|
1287
1737
|
return message;
|
1738
|
+
},
|
1739
|
+
fromAmino(object: ChannelStateDataAmino): ChannelStateData {
|
1740
|
+
const message = createBaseChannelStateData();
|
1741
|
+
if (object.path !== undefined && object.path !== null) {
|
1742
|
+
message.path = bytesFromBase64(object.path);
|
1743
|
+
}
|
1744
|
+
if (object.channel !== undefined && object.channel !== null) {
|
1745
|
+
message.channel = Channel.fromAmino(object.channel);
|
1746
|
+
}
|
1747
|
+
return message;
|
1748
|
+
},
|
1749
|
+
toAmino(message: ChannelStateData): ChannelStateDataAmino {
|
1750
|
+
const obj: any = {};
|
1751
|
+
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
1752
|
+
obj.channel = message.channel ? Channel.toAmino(message.channel) : undefined;
|
1753
|
+
return obj;
|
1754
|
+
},
|
1755
|
+
fromAminoMsg(object: ChannelStateDataAminoMsg): ChannelStateData {
|
1756
|
+
return ChannelStateData.fromAmino(object.value);
|
1757
|
+
},
|
1758
|
+
toAminoMsg(message: ChannelStateData): ChannelStateDataAminoMsg {
|
1759
|
+
return {
|
1760
|
+
type: "cosmos-sdk/ChannelStateData",
|
1761
|
+
value: ChannelStateData.toAmino(message)
|
1762
|
+
};
|
1763
|
+
},
|
1764
|
+
fromProtoMsg(message: ChannelStateDataProtoMsg): ChannelStateData {
|
1765
|
+
return ChannelStateData.decode(message.value);
|
1766
|
+
},
|
1767
|
+
toProto(message: ChannelStateData): Uint8Array {
|
1768
|
+
return ChannelStateData.encode(message).finish();
|
1769
|
+
},
|
1770
|
+
toProtoMsg(message: ChannelStateData): ChannelStateDataProtoMsg {
|
1771
|
+
return {
|
1772
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.ChannelStateData",
|
1773
|
+
value: ChannelStateData.encode(message).finish()
|
1774
|
+
};
|
1288
1775
|
}
|
1289
|
-
|
1290
1776
|
};
|
1291
|
-
|
1292
1777
|
function createBasePacketCommitmentData(): PacketCommitmentData {
|
1293
1778
|
return {
|
1294
1779
|
path: new Uint8Array(),
|
1295
1780
|
commitment: new Uint8Array()
|
1296
1781
|
};
|
1297
1782
|
}
|
1298
|
-
|
1299
1783
|
export const PacketCommitmentData = {
|
1300
|
-
|
1784
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.PacketCommitmentData",
|
1785
|
+
encode(message: PacketCommitmentData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1301
1786
|
if (message.path.length !== 0) {
|
1302
1787
|
writer.uint32(10).bytes(message.path);
|
1303
1788
|
}
|
1304
|
-
|
1305
1789
|
if (message.commitment.length !== 0) {
|
1306
1790
|
writer.uint32(18).bytes(message.commitment);
|
1307
1791
|
}
|
1308
|
-
|
1309
1792
|
return writer;
|
1310
1793
|
},
|
1311
|
-
|
1312
|
-
|
1313
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1794
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PacketCommitmentData {
|
1795
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1314
1796
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1315
1797
|
const message = createBasePacketCommitmentData();
|
1316
|
-
|
1317
1798
|
while (reader.pos < end) {
|
1318
1799
|
const tag = reader.uint32();
|
1319
|
-
|
1320
1800
|
switch (tag >>> 3) {
|
1321
1801
|
case 1:
|
1322
1802
|
message.path = reader.bytes();
|
1323
1803
|
break;
|
1324
|
-
|
1325
1804
|
case 2:
|
1326
1805
|
message.commitment = reader.bytes();
|
1327
1806
|
break;
|
1328
|
-
|
1329
1807
|
default:
|
1330
1808
|
reader.skipType(tag & 7);
|
1331
1809
|
break;
|
1332
1810
|
}
|
1333
1811
|
}
|
1334
|
-
|
1335
1812
|
return message;
|
1336
1813
|
},
|
1337
|
-
|
1338
|
-
fromPartial(object: DeepPartial<PacketCommitmentData>): PacketCommitmentData {
|
1814
|
+
fromPartial(object: Partial<PacketCommitmentData>): PacketCommitmentData {
|
1339
1815
|
const message = createBasePacketCommitmentData();
|
1340
1816
|
message.path = object.path ?? new Uint8Array();
|
1341
1817
|
message.commitment = object.commitment ?? new Uint8Array();
|
1342
1818
|
return message;
|
1819
|
+
},
|
1820
|
+
fromAmino(object: PacketCommitmentDataAmino): PacketCommitmentData {
|
1821
|
+
const message = createBasePacketCommitmentData();
|
1822
|
+
if (object.path !== undefined && object.path !== null) {
|
1823
|
+
message.path = bytesFromBase64(object.path);
|
1824
|
+
}
|
1825
|
+
if (object.commitment !== undefined && object.commitment !== null) {
|
1826
|
+
message.commitment = bytesFromBase64(object.commitment);
|
1827
|
+
}
|
1828
|
+
return message;
|
1829
|
+
},
|
1830
|
+
toAmino(message: PacketCommitmentData): PacketCommitmentDataAmino {
|
1831
|
+
const obj: any = {};
|
1832
|
+
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
1833
|
+
obj.commitment = message.commitment ? base64FromBytes(message.commitment) : undefined;
|
1834
|
+
return obj;
|
1835
|
+
},
|
1836
|
+
fromAminoMsg(object: PacketCommitmentDataAminoMsg): PacketCommitmentData {
|
1837
|
+
return PacketCommitmentData.fromAmino(object.value);
|
1838
|
+
},
|
1839
|
+
toAminoMsg(message: PacketCommitmentData): PacketCommitmentDataAminoMsg {
|
1840
|
+
return {
|
1841
|
+
type: "cosmos-sdk/PacketCommitmentData",
|
1842
|
+
value: PacketCommitmentData.toAmino(message)
|
1843
|
+
};
|
1844
|
+
},
|
1845
|
+
fromProtoMsg(message: PacketCommitmentDataProtoMsg): PacketCommitmentData {
|
1846
|
+
return PacketCommitmentData.decode(message.value);
|
1847
|
+
},
|
1848
|
+
toProto(message: PacketCommitmentData): Uint8Array {
|
1849
|
+
return PacketCommitmentData.encode(message).finish();
|
1850
|
+
},
|
1851
|
+
toProtoMsg(message: PacketCommitmentData): PacketCommitmentDataProtoMsg {
|
1852
|
+
return {
|
1853
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.PacketCommitmentData",
|
1854
|
+
value: PacketCommitmentData.encode(message).finish()
|
1855
|
+
};
|
1343
1856
|
}
|
1344
|
-
|
1345
1857
|
};
|
1346
|
-
|
1347
1858
|
function createBasePacketAcknowledgementData(): PacketAcknowledgementData {
|
1348
1859
|
return {
|
1349
1860
|
path: new Uint8Array(),
|
1350
1861
|
acknowledgement: new Uint8Array()
|
1351
1862
|
};
|
1352
1863
|
}
|
1353
|
-
|
1354
1864
|
export const PacketAcknowledgementData = {
|
1355
|
-
|
1865
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.PacketAcknowledgementData",
|
1866
|
+
encode(message: PacketAcknowledgementData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1356
1867
|
if (message.path.length !== 0) {
|
1357
1868
|
writer.uint32(10).bytes(message.path);
|
1358
1869
|
}
|
1359
|
-
|
1360
1870
|
if (message.acknowledgement.length !== 0) {
|
1361
1871
|
writer.uint32(18).bytes(message.acknowledgement);
|
1362
1872
|
}
|
1363
|
-
|
1364
1873
|
return writer;
|
1365
1874
|
},
|
1366
|
-
|
1367
|
-
|
1368
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1875
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PacketAcknowledgementData {
|
1876
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1369
1877
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1370
1878
|
const message = createBasePacketAcknowledgementData();
|
1371
|
-
|
1372
1879
|
while (reader.pos < end) {
|
1373
1880
|
const tag = reader.uint32();
|
1374
|
-
|
1375
1881
|
switch (tag >>> 3) {
|
1376
1882
|
case 1:
|
1377
1883
|
message.path = reader.bytes();
|
1378
1884
|
break;
|
1379
|
-
|
1380
1885
|
case 2:
|
1381
1886
|
message.acknowledgement = reader.bytes();
|
1382
1887
|
break;
|
1383
|
-
|
1384
1888
|
default:
|
1385
1889
|
reader.skipType(tag & 7);
|
1386
1890
|
break;
|
1387
1891
|
}
|
1388
1892
|
}
|
1389
|
-
|
1390
1893
|
return message;
|
1391
1894
|
},
|
1392
|
-
|
1393
|
-
fromPartial(object: DeepPartial<PacketAcknowledgementData>): PacketAcknowledgementData {
|
1895
|
+
fromPartial(object: Partial<PacketAcknowledgementData>): PacketAcknowledgementData {
|
1394
1896
|
const message = createBasePacketAcknowledgementData();
|
1395
1897
|
message.path = object.path ?? new Uint8Array();
|
1396
1898
|
message.acknowledgement = object.acknowledgement ?? new Uint8Array();
|
1397
1899
|
return message;
|
1900
|
+
},
|
1901
|
+
fromAmino(object: PacketAcknowledgementDataAmino): PacketAcknowledgementData {
|
1902
|
+
const message = createBasePacketAcknowledgementData();
|
1903
|
+
if (object.path !== undefined && object.path !== null) {
|
1904
|
+
message.path = bytesFromBase64(object.path);
|
1905
|
+
}
|
1906
|
+
if (object.acknowledgement !== undefined && object.acknowledgement !== null) {
|
1907
|
+
message.acknowledgement = bytesFromBase64(object.acknowledgement);
|
1908
|
+
}
|
1909
|
+
return message;
|
1910
|
+
},
|
1911
|
+
toAmino(message: PacketAcknowledgementData): PacketAcknowledgementDataAmino {
|
1912
|
+
const obj: any = {};
|
1913
|
+
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
1914
|
+
obj.acknowledgement = message.acknowledgement ? base64FromBytes(message.acknowledgement) : undefined;
|
1915
|
+
return obj;
|
1916
|
+
},
|
1917
|
+
fromAminoMsg(object: PacketAcknowledgementDataAminoMsg): PacketAcknowledgementData {
|
1918
|
+
return PacketAcknowledgementData.fromAmino(object.value);
|
1919
|
+
},
|
1920
|
+
toAminoMsg(message: PacketAcknowledgementData): PacketAcknowledgementDataAminoMsg {
|
1921
|
+
return {
|
1922
|
+
type: "cosmos-sdk/PacketAcknowledgementData",
|
1923
|
+
value: PacketAcknowledgementData.toAmino(message)
|
1924
|
+
};
|
1925
|
+
},
|
1926
|
+
fromProtoMsg(message: PacketAcknowledgementDataProtoMsg): PacketAcknowledgementData {
|
1927
|
+
return PacketAcknowledgementData.decode(message.value);
|
1928
|
+
},
|
1929
|
+
toProto(message: PacketAcknowledgementData): Uint8Array {
|
1930
|
+
return PacketAcknowledgementData.encode(message).finish();
|
1931
|
+
},
|
1932
|
+
toProtoMsg(message: PacketAcknowledgementData): PacketAcknowledgementDataProtoMsg {
|
1933
|
+
return {
|
1934
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.PacketAcknowledgementData",
|
1935
|
+
value: PacketAcknowledgementData.encode(message).finish()
|
1936
|
+
};
|
1398
1937
|
}
|
1399
|
-
|
1400
1938
|
};
|
1401
|
-
|
1402
1939
|
function createBasePacketReceiptAbsenceData(): PacketReceiptAbsenceData {
|
1403
1940
|
return {
|
1404
1941
|
path: new Uint8Array()
|
1405
1942
|
};
|
1406
1943
|
}
|
1407
|
-
|
1408
1944
|
export const PacketReceiptAbsenceData = {
|
1409
|
-
|
1945
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.PacketReceiptAbsenceData",
|
1946
|
+
encode(message: PacketReceiptAbsenceData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1410
1947
|
if (message.path.length !== 0) {
|
1411
1948
|
writer.uint32(10).bytes(message.path);
|
1412
1949
|
}
|
1413
|
-
|
1414
1950
|
return writer;
|
1415
1951
|
},
|
1416
|
-
|
1417
|
-
|
1418
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1952
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PacketReceiptAbsenceData {
|
1953
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1419
1954
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1420
1955
|
const message = createBasePacketReceiptAbsenceData();
|
1421
|
-
|
1422
1956
|
while (reader.pos < end) {
|
1423
1957
|
const tag = reader.uint32();
|
1424
|
-
|
1425
1958
|
switch (tag >>> 3) {
|
1426
1959
|
case 1:
|
1427
1960
|
message.path = reader.bytes();
|
1428
1961
|
break;
|
1429
|
-
|
1430
1962
|
default:
|
1431
1963
|
reader.skipType(tag & 7);
|
1432
1964
|
break;
|
1433
1965
|
}
|
1434
1966
|
}
|
1435
|
-
|
1436
1967
|
return message;
|
1437
1968
|
},
|
1438
|
-
|
1439
|
-
fromPartial(object: DeepPartial<PacketReceiptAbsenceData>): PacketReceiptAbsenceData {
|
1969
|
+
fromPartial(object: Partial<PacketReceiptAbsenceData>): PacketReceiptAbsenceData {
|
1440
1970
|
const message = createBasePacketReceiptAbsenceData();
|
1441
1971
|
message.path = object.path ?? new Uint8Array();
|
1442
1972
|
return message;
|
1973
|
+
},
|
1974
|
+
fromAmino(object: PacketReceiptAbsenceDataAmino): PacketReceiptAbsenceData {
|
1975
|
+
const message = createBasePacketReceiptAbsenceData();
|
1976
|
+
if (object.path !== undefined && object.path !== null) {
|
1977
|
+
message.path = bytesFromBase64(object.path);
|
1978
|
+
}
|
1979
|
+
return message;
|
1980
|
+
},
|
1981
|
+
toAmino(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataAmino {
|
1982
|
+
const obj: any = {};
|
1983
|
+
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
1984
|
+
return obj;
|
1985
|
+
},
|
1986
|
+
fromAminoMsg(object: PacketReceiptAbsenceDataAminoMsg): PacketReceiptAbsenceData {
|
1987
|
+
return PacketReceiptAbsenceData.fromAmino(object.value);
|
1988
|
+
},
|
1989
|
+
toAminoMsg(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataAminoMsg {
|
1990
|
+
return {
|
1991
|
+
type: "cosmos-sdk/PacketReceiptAbsenceData",
|
1992
|
+
value: PacketReceiptAbsenceData.toAmino(message)
|
1993
|
+
};
|
1994
|
+
},
|
1995
|
+
fromProtoMsg(message: PacketReceiptAbsenceDataProtoMsg): PacketReceiptAbsenceData {
|
1996
|
+
return PacketReceiptAbsenceData.decode(message.value);
|
1997
|
+
},
|
1998
|
+
toProto(message: PacketReceiptAbsenceData): Uint8Array {
|
1999
|
+
return PacketReceiptAbsenceData.encode(message).finish();
|
2000
|
+
},
|
2001
|
+
toProtoMsg(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataProtoMsg {
|
2002
|
+
return {
|
2003
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.PacketReceiptAbsenceData",
|
2004
|
+
value: PacketReceiptAbsenceData.encode(message).finish()
|
2005
|
+
};
|
1443
2006
|
}
|
1444
|
-
|
1445
2007
|
};
|
1446
|
-
|
1447
2008
|
function createBaseNextSequenceRecvData(): NextSequenceRecvData {
|
1448
2009
|
return {
|
1449
2010
|
path: new Uint8Array(),
|
1450
|
-
nextSeqRecv:
|
2011
|
+
nextSeqRecv: BigInt(0)
|
1451
2012
|
};
|
1452
2013
|
}
|
1453
|
-
|
1454
2014
|
export const NextSequenceRecvData = {
|
1455
|
-
|
2015
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.NextSequenceRecvData",
|
2016
|
+
encode(message: NextSequenceRecvData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1456
2017
|
if (message.path.length !== 0) {
|
1457
2018
|
writer.uint32(10).bytes(message.path);
|
1458
2019
|
}
|
1459
|
-
|
1460
|
-
if (!message.nextSeqRecv.isZero()) {
|
2020
|
+
if (message.nextSeqRecv !== BigInt(0)) {
|
1461
2021
|
writer.uint32(16).uint64(message.nextSeqRecv);
|
1462
2022
|
}
|
1463
|
-
|
1464
2023
|
return writer;
|
1465
2024
|
},
|
1466
|
-
|
1467
|
-
|
1468
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
2025
|
+
decode(input: BinaryReader | Uint8Array, length?: number): NextSequenceRecvData {
|
2026
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1469
2027
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1470
2028
|
const message = createBaseNextSequenceRecvData();
|
1471
|
-
|
1472
2029
|
while (reader.pos < end) {
|
1473
2030
|
const tag = reader.uint32();
|
1474
|
-
|
1475
2031
|
switch (tag >>> 3) {
|
1476
2032
|
case 1:
|
1477
2033
|
message.path = reader.bytes();
|
1478
2034
|
break;
|
1479
|
-
|
1480
2035
|
case 2:
|
1481
|
-
message.nextSeqRecv =
|
2036
|
+
message.nextSeqRecv = reader.uint64();
|
1482
2037
|
break;
|
1483
|
-
|
1484
2038
|
default:
|
1485
2039
|
reader.skipType(tag & 7);
|
1486
2040
|
break;
|
1487
2041
|
}
|
1488
2042
|
}
|
1489
|
-
|
1490
2043
|
return message;
|
1491
2044
|
},
|
1492
|
-
|
1493
|
-
fromPartial(object: DeepPartial<NextSequenceRecvData>): NextSequenceRecvData {
|
2045
|
+
fromPartial(object: Partial<NextSequenceRecvData>): NextSequenceRecvData {
|
1494
2046
|
const message = createBaseNextSequenceRecvData();
|
1495
2047
|
message.path = object.path ?? new Uint8Array();
|
1496
|
-
message.nextSeqRecv = object.nextSeqRecv !== undefined && object.nextSeqRecv !== null ?
|
2048
|
+
message.nextSeqRecv = object.nextSeqRecv !== undefined && object.nextSeqRecv !== null ? BigInt(object.nextSeqRecv.toString()) : BigInt(0);
|
2049
|
+
return message;
|
2050
|
+
},
|
2051
|
+
fromAmino(object: NextSequenceRecvDataAmino): NextSequenceRecvData {
|
2052
|
+
const message = createBaseNextSequenceRecvData();
|
2053
|
+
if (object.path !== undefined && object.path !== null) {
|
2054
|
+
message.path = bytesFromBase64(object.path);
|
2055
|
+
}
|
2056
|
+
if (object.next_seq_recv !== undefined && object.next_seq_recv !== null) {
|
2057
|
+
message.nextSeqRecv = BigInt(object.next_seq_recv);
|
2058
|
+
}
|
1497
2059
|
return message;
|
2060
|
+
},
|
2061
|
+
toAmino(message: NextSequenceRecvData): NextSequenceRecvDataAmino {
|
2062
|
+
const obj: any = {};
|
2063
|
+
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
2064
|
+
obj.next_seq_recv = message.nextSeqRecv ? message.nextSeqRecv.toString() : undefined;
|
2065
|
+
return obj;
|
2066
|
+
},
|
2067
|
+
fromAminoMsg(object: NextSequenceRecvDataAminoMsg): NextSequenceRecvData {
|
2068
|
+
return NextSequenceRecvData.fromAmino(object.value);
|
2069
|
+
},
|
2070
|
+
toAminoMsg(message: NextSequenceRecvData): NextSequenceRecvDataAminoMsg {
|
2071
|
+
return {
|
2072
|
+
type: "cosmos-sdk/NextSequenceRecvData",
|
2073
|
+
value: NextSequenceRecvData.toAmino(message)
|
2074
|
+
};
|
2075
|
+
},
|
2076
|
+
fromProtoMsg(message: NextSequenceRecvDataProtoMsg): NextSequenceRecvData {
|
2077
|
+
return NextSequenceRecvData.decode(message.value);
|
2078
|
+
},
|
2079
|
+
toProto(message: NextSequenceRecvData): Uint8Array {
|
2080
|
+
return NextSequenceRecvData.encode(message).finish();
|
2081
|
+
},
|
2082
|
+
toProtoMsg(message: NextSequenceRecvData): NextSequenceRecvDataProtoMsg {
|
2083
|
+
return {
|
2084
|
+
typeUrl: "/ibc.lightclients.solomachine.v2.NextSequenceRecvData",
|
2085
|
+
value: NextSequenceRecvData.encode(message).finish()
|
2086
|
+
};
|
1498
2087
|
}
|
1499
|
-
|
1500
2088
|
};
|