juno-network 0.12.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- package/main/codegen/confio/proofs.js +3 -29
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/main/codegen/cosmos/bundle.js +47 -47
- package/main/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1/gov.js +4 -21
- package/main/codegen/cosmos/gov/v1/query.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/gov.js +4 -21
- package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/main/codegen/cosmos/staking/v1beta1/authz.js +2 -13
- package/main/codegen/cosmos/staking/v1beta1/staking.js +2 -9
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +2 -19
- package/main/codegen/cosmos/tx/v1beta1/service.js +4 -17
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/main/codegen/cosmos_proto/cosmos.js +1 -7
- package/main/codegen/cosmwasm/bundle.js +17 -16
- package/main/codegen/cosmwasm/wasm/v1/authz.js +437 -0
- package/main/codegen/cosmwasm/wasm/v1/genesis.js +21 -2
- package/main/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
- package/main/codegen/cosmwasm/wasm/v1/proposal.js +291 -4
- package/main/codegen/cosmwasm/wasm/v1/query.js +179 -3
- package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +65 -2
- package/main/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +27 -0
- package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +89 -34
- package/main/codegen/cosmwasm/wasm/v1/tx.js +183 -23
- package/main/codegen/cosmwasm/wasm/v1/tx.registry.js +19 -1
- package/main/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +10 -0
- package/main/codegen/cosmwasm/wasm/v1/types.js +35 -29
- package/main/codegen/gogoproto/bundle.js +2 -2
- package/main/codegen/google/bundle.js +6 -6
- package/main/codegen/google/protobuf/descriptor.js +8 -63
- package/main/codegen/google/protobuf/duration.js +1 -1
- package/main/codegen/google/protobuf/timestamp.js +1 -1
- package/main/codegen/helpers.js +1 -1
- package/main/codegen/ibc/applications/transfer/v1/tx.js +1 -1
- package/main/codegen/ibc/bundle.js +56 -56
- package/main/codegen/ibc/core/channel/v1/channel.js +4 -21
- package/main/codegen/ibc/core/channel/v1/genesis.js +1 -1
- package/main/codegen/ibc/core/client/v1/genesis.js +1 -1
- package/main/codegen/ibc/core/connection/v1/connection.js +3 -13
- package/main/codegen/ibc/core/connection/v1/genesis.js +1 -1
- package/main/codegen/ibc/core/connection/v1/tx.js +1 -1
- package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +3 -19
- package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +3 -19
- package/main/codegen/index.js +34 -1
- package/main/codegen/juno/bundle.js +20 -20
- package/main/codegen/juno/mint/mint.js +1 -1
- package/main/codegen/osmosis/bundle.js +35 -0
- package/main/codegen/osmosis/client.js +67 -0
- package/main/codegen/osmosis/lcd.js +167 -0
- package/main/codegen/osmosis/rpc.query.js +134 -0
- package/main/codegen/osmosis/rpc.tx.js +133 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +48 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/genesis.js +118 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/params.js +63 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.js +242 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +111 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +73 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +151 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +400 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +119 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +75 -0
- package/main/codegen/router/bundle.js +25 -0
- package/main/codegen/router/lcd.js +164 -0
- package/main/codegen/router/rpc.query.js +131 -0
- package/main/codegen/router/v1/genesis.js +286 -0
- package/main/codegen/router/v1/query.js +76 -0
- package/main/codegen/router/v1/query.lcd.js +54 -0
- package/main/codegen/router/v1/query.rpc.Query.js +47 -0
- package/main/codegen/tendermint/abci/types.js +4 -33
- package/main/codegen/tendermint/bundle.js +17 -17
- package/main/codegen/tendermint/crypto/proof.js +1 -1
- package/main/codegen/tendermint/libs/bits/types.js +1 -1
- package/main/codegen/tendermint/p2p/types.js +1 -1
- package/main/codegen/tendermint/types/types.js +4 -18
- package/main/codegen/tendermint/types/validator.js +1 -1
- package/main/codegen/tendermint/version/types.js +1 -1
- package/module/codegen/confio/proofs.js +2 -29
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/module/codegen/cosmos/bundle.js +47 -47
- package/module/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1/gov.js +2 -21
- package/module/codegen/cosmos/gov/v1/query.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/gov.js +2 -21
- package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/module/codegen/cosmos/staking/v1beta1/authz.js +1 -13
- package/module/codegen/cosmos/staking/v1beta1/staking.js +1 -9
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -19
- package/module/codegen/cosmos/tx/v1beta1/service.js +2 -17
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/module/codegen/cosmos_proto/cosmos.js +1 -7
- package/module/codegen/cosmwasm/bundle.js +17 -16
- package/module/codegen/cosmwasm/wasm/v1/authz.js +346 -0
- package/module/codegen/cosmwasm/wasm/v1/genesis.js +11 -3
- package/module/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
- package/module/codegen/cosmwasm/wasm/v1/proposal.js +261 -2
- package/module/codegen/cosmwasm/wasm/v1/query.js +159 -2
- package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +22 -2
- package/module/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +19 -1
- package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +55 -2
- package/module/codegen/cosmwasm/wasm/v1/tx.js +161 -16
- package/module/codegen/cosmwasm/wasm/v1/tx.registry.js +20 -2
- package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +7 -1
- package/module/codegen/cosmwasm/wasm/v1/types.js +19 -29
- package/module/codegen/gogoproto/bundle.js +2 -2
- package/module/codegen/google/bundle.js +6 -6
- package/module/codegen/google/protobuf/descriptor.js +6 -63
- package/module/codegen/google/protobuf/duration.js +1 -1
- package/module/codegen/google/protobuf/timestamp.js +1 -1
- package/module/codegen/helpers.js +1 -1
- package/module/codegen/ibc/applications/transfer/v1/tx.js +1 -1
- package/module/codegen/ibc/bundle.js +56 -56
- package/module/codegen/ibc/core/channel/v1/channel.js +2 -21
- package/module/codegen/ibc/core/channel/v1/genesis.js +1 -1
- package/module/codegen/ibc/core/client/v1/genesis.js +1 -1
- package/module/codegen/ibc/core/connection/v1/connection.js +2 -13
- package/module/codegen/ibc/core/connection/v1/genesis.js +1 -1
- package/module/codegen/ibc/core/connection/v1/tx.js +1 -1
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +2 -19
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +2 -19
- package/module/codegen/index.js +4 -1
- package/module/codegen/juno/bundle.js +20 -20
- package/module/codegen/juno/mint/mint.js +1 -1
- package/module/codegen/osmosis/bundle.js +24 -0
- package/module/codegen/osmosis/client.js +36 -0
- package/module/codegen/osmosis/lcd.js +57 -0
- package/module/codegen/osmosis/rpc.query.js +39 -0
- package/module/codegen/osmosis/rpc.tx.js +30 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +37 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/genesis.js +91 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/params.js +38 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.js +207 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +33 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +150 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +371 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +105 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +41 -0
- package/module/codegen/router/bundle.js +14 -0
- package/module/codegen/router/lcd.js +55 -0
- package/module/codegen/router/rpc.query.js +37 -0
- package/module/codegen/router/v1/genesis.js +261 -0
- package/module/codegen/router/v1/query.js +63 -0
- package/module/codegen/router/v1/query.lcd.js +16 -0
- package/module/codegen/router/v1/query.rpc.Query.js +27 -0
- package/module/codegen/tendermint/abci/types.js +4 -33
- package/module/codegen/tendermint/bundle.js +17 -17
- package/module/codegen/tendermint/crypto/proof.js +1 -1
- package/module/codegen/tendermint/libs/bits/types.js +1 -1
- package/module/codegen/tendermint/p2p/types.js +1 -1
- package/module/codegen/tendermint/types/evidence.js +1 -1
- package/module/codegen/tendermint/types/types.js +3 -19
- package/module/codegen/tendermint/types/validator.js +1 -1
- package/module/codegen/tendermint/version/types.js +1 -1
- package/package.json +7 -7
- package/src/codegen/confio/proofs.ts +8 -80
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +0 -8
- package/src/codegen/cosmos/authz/v1beta1/event.ts +0 -10
- package/src/codegen/cosmos/authz/v1beta1/query.ts +0 -17
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +0 -6
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +0 -46
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +0 -13
- package/src/codegen/cosmos/bank/v1beta1/query.ts +0 -44
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +1 -87
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +1 -40
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +0 -78
- package/src/codegen/cosmos/bundle.ts +68 -68
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +0 -12
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +0 -11
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +0 -5
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +0 -48
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +0 -27
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/gov/v1/genesis.ts +1 -14
- package/src/codegen/cosmos/gov/v1/gov.ts +4 -86
- package/src/codegen/cosmos/gov/v1/query.ts +3 -43
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/gov/v1/tx.ts +2 -7
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +1 -14
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +5 -91
- package/src/codegen/cosmos/gov/v1beta1/query.ts +3 -43
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +2 -2
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +2 -34
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +0 -22
- package/src/codegen/cosmos/staking/v1beta1/query.ts +0 -60
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +2 -97
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +0 -7
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +2 -66
- package/src/codegen/cosmos/tx/v1beta1/service.ts +4 -74
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +3 -181
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +0 -14
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +0 -4
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +1 -35
- package/src/codegen/cosmos_proto/cosmos.ts +2 -37
- package/src/codegen/cosmwasm/bundle.ts +24 -22
- package/src/codegen/cosmwasm/wasm/v1/authz.ts +603 -0
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +14 -4
- package/src/codegen/cosmwasm/wasm/v1/ibc.ts +1 -17
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +466 -72
- package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +27 -3
- package/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts +29 -1
- package/src/codegen/cosmwasm/wasm/v1/query.ts +261 -33
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +91 -21
- package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +23 -2
- package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +18 -2
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +238 -41
- package/src/codegen/cosmwasm/wasm/v1/types.ts +39 -91
- package/src/codegen/gogoproto/bundle.ts +2 -2
- package/src/codegen/google/bundle.ts +8 -8
- package/src/codegen/google/protobuf/any.ts +0 -31
- package/src/codegen/google/protobuf/descriptor.ts +12 -638
- package/src/codegen/google/protobuf/duration.ts +1 -15
- package/src/codegen/google/protobuf/timestamp.ts +1 -13
- package/src/codegen/helpers.ts +1 -1
- package/src/codegen/ibc/applications/transfer/v1/query.ts +0 -7
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +0 -15
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +3 -3
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +1 -20
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +0 -7
- package/src/codegen/ibc/bundle.ts +74 -74
- package/src/codegen/ibc/core/channel/v1/channel.ts +6 -105
- package/src/codegen/ibc/core/channel/v1/genesis.ts +1 -3
- package/src/codegen/ibc/core/channel/v1/query.ts +0 -118
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +30 -30
- package/src/codegen/ibc/core/channel/v1/tx.ts +0 -5
- package/src/codegen/ibc/core/client/v1/client.ts +0 -32
- package/src/codegen/ibc/core/client/v1/genesis.ts +1 -13
- package/src/codegen/ibc/core/client/v1/query.ts +0 -35
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +12 -12
- package/src/codegen/ibc/core/client/v1/tx.ts +0 -32
- package/src/codegen/ibc/core/connection/v1/connection.ts +4 -78
- package/src/codegen/ibc/core/connection/v1/genesis.ts +1 -3
- package/src/codegen/ibc/core/connection/v1/query.ts +0 -31
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +12 -12
- package/src/codegen/ibc/core/connection/v1/tx.ts +1 -26
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +0 -3
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +4 -63
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +4 -63
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +0 -41
- package/src/codegen/index.ts +4 -1
- package/src/codegen/juno/bundle.ts +31 -31
- package/src/codegen/juno/feeshare/v1/feeshare.ts +0 -14
- package/src/codegen/juno/feeshare/v1/genesis.ts +0 -16
- package/src/codegen/juno/feeshare/v1/query.ts +0 -25
- package/src/codegen/juno/feeshare/v1/tx.amino.ts +9 -9
- package/src/codegen/juno/feeshare/v1/tx.ts +0 -28
- package/src/codegen/juno/mint/genesis.ts +0 -3
- package/src/codegen/juno/mint/mint.ts +1 -7
- package/src/codegen/juno/mint/query.ts +0 -3
- package/src/codegen/osmosis/bundle.ts +32 -0
- package/src/codegen/osmosis/client.ts +45 -0
- package/src/codegen/osmosis/lcd.ts +59 -0
- package/src/codegen/osmosis/rpc.query.ts +41 -0
- package/src/codegen/osmosis/rpc.tx.ts +33 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +66 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +147 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/params.ts +58 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +41 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.ts +72 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +344 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +207 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +121 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +55 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +622 -0
- package/src/codegen/router/bundle.ts +16 -0
- package/src/codegen/router/lcd.ts +57 -0
- package/src/codegen/router/rpc.query.ts +39 -0
- package/src/codegen/router/v1/genesis.ts +406 -0
- package/src/codegen/router/v1/query.lcd.ts +22 -0
- package/src/codegen/router/v1/query.rpc.Query.ts +35 -0
- package/src/codegen/router/v1/query.ts +99 -0
- package/src/codegen/tendermint/abci/types.ts +8 -109
- package/src/codegen/tendermint/bundle.ts +22 -22
- package/src/codegen/tendermint/crypto/proof.ts +1 -4
- package/src/codegen/tendermint/libs/bits/types.ts +1 -1
- package/src/codegen/tendermint/p2p/types.ts +1 -1
- package/src/codegen/tendermint/types/evidence.ts +1 -1
- package/src/codegen/tendermint/types/params.ts +0 -36
- package/src/codegen/tendermint/types/types.ts +6 -50
- package/src/codegen/tendermint/types/validator.ts +1 -1
- package/src/codegen/tendermint/version/types.ts +1 -1
- package/types/codegen/confio/proofs.d.ts +8 -64
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +0 -7
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +0 -6
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +0 -10
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +0 -5
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +0 -37
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +0 -9
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +0 -34
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +1 -62
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +1 -35
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +0 -63
- package/types/codegen/cosmos/bundle.d.ts +70 -70
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +0 -8
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +0 -6
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +0 -5
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +0 -28
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +0 -21
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +1 -8
- package/types/codegen/cosmos/gov/v1/gov.d.ts +4 -69
- package/types/codegen/cosmos/gov/v1/query.d.ts +3 -31
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/gov/v1/tx.d.ts +2 -5
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +1 -8
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +5 -74
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +3 -31
- package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +2 -2
- package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +2 -27
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +0 -15
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +0 -41
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +2 -58
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +0 -6
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +2 -57
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +4 -58
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +3 -152
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +0 -14
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +0 -3
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +1 -30
- package/types/codegen/cosmos_proto/bundle.d.ts +1 -1
- package/types/codegen/cosmos_proto/cosmos.d.ts +2 -34
- package/types/codegen/cosmwasm/bundle.d.ts +386 -248
- package/types/codegen/cosmwasm/client.d.ts +31 -0
- package/types/codegen/cosmwasm/rpc.query.d.ts +2 -0
- package/types/codegen/cosmwasm/wasm/v1/authz.d.ts +205 -0
- package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +3 -2
- package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +1 -14
- package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +132 -41
- package/types/codegen/cosmwasm/wasm/v1/query.d.ts +74 -25
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +3 -1
- package/types/codegen/cosmwasm/wasm/v1/query.rpc.Query.d.ts +9 -1
- package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +41 -19
- package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +60 -29
- package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +13 -1
- package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +11 -2
- package/types/codegen/cosmwasm/wasm/v1/types.d.ts +19 -61
- package/types/codegen/google/bundle.d.ts +123 -123
- package/types/codegen/google/protobuf/any.d.ts +0 -30
- package/types/codegen/google/protobuf/descriptor.d.ts +12 -566
- package/types/codegen/google/protobuf/duration.d.ts +1 -14
- package/types/codegen/google/protobuf/timestamp.d.ts +1 -12
- package/types/codegen/helpers.d.ts +1 -1
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +0 -6
- package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +0 -13
- package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +3 -3
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +1 -14
- package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +0 -4
- package/types/codegen/ibc/bundle.d.ts +750 -750
- package/types/codegen/ibc/core/channel/v1/channel.d.ts +6 -76
- package/types/codegen/ibc/core/channel/v1/genesis.d.ts +1 -2
- package/types/codegen/ibc/core/channel/v1/query.d.ts +0 -71
- package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +30 -30
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +0 -4
- package/types/codegen/ibc/core/client/v1/client.d.ts +0 -24
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +1 -8
- package/types/codegen/ibc/core/client/v1/query.d.ts +0 -25
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +12 -12
- package/types/codegen/ibc/core/client/v1/tx.d.ts +0 -21
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +4 -61
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +1 -2
- package/types/codegen/ibc/core/connection/v1/query.d.ts +0 -20
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +12 -12
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +1 -18
- package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +0 -2
- package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +4 -47
- package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +4 -47
- package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +0 -31
- package/types/codegen/ics23/bundle.d.ts +2 -2
- package/types/codegen/index.d.ts +5 -1
- package/types/codegen/juno/bundle.d.ts +284 -41
- package/types/codegen/juno/client.d.ts +54 -0
- package/types/codegen/juno/feeshare/v1/feeshare.d.ts +37 -0
- package/types/codegen/juno/feeshare/v1/genesis.d.ts +48 -0
- package/types/codegen/juno/feeshare/v1/query.d.ts +193 -0
- package/types/codegen/juno/feeshare/v1/query.lcd.d.ts +13 -0
- package/types/codegen/juno/feeshare/v1/query.rpc.Query.d.ts +38 -0
- package/types/codegen/juno/feeshare/v1/tx.amino.d.ts +42 -0
- package/types/codegen/juno/feeshare/v1/tx.d.ts +113 -0
- package/types/codegen/juno/feeshare/v1/tx.registry.d.ts +48 -0
- package/types/codegen/juno/feeshare/v1/tx.rpc.msg.d.ts +21 -0
- package/types/codegen/juno/lcd.d.ts +3 -0
- package/types/codegen/juno/mint/genesis.d.ts +0 -2
- package/types/codegen/juno/mint/mint.d.ts +1 -5
- package/types/codegen/juno/mint/query.d.ts +0 -3
- package/types/codegen/juno/rpc.query.d.ts +9 -0
- package/types/codegen/juno/rpc.tx.d.ts +31 -0
- package/types/codegen/osmosis/bundle.d.ts +460 -0
- package/types/codegen/osmosis/client.d.ts +112 -0
- package/types/codegen/osmosis/lcd.d.ts +33 -0
- package/types/codegen/osmosis/rpc.query.d.ts +107 -0
- package/types/codegen/osmosis/rpc.tx.d.ts +31 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.d.ts +24 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/genesis.d.ts +43 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/params.d.ts +16 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.d.ts +105 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.d.ts +33 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.amino.d.ts +84 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.d.ts +197 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.registry.d.ts +72 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.d.ts +19 -0
- package/types/codegen/router/bundle.d.ts +178 -0
- package/types/codegen/router/lcd.d.ts +31 -0
- package/types/codegen/router/rpc.query.d.ts +103 -0
- package/types/codegen/router/v1/genesis.d.ts +94 -0
- package/types/codegen/router/v1/query.d.ts +28 -0
- package/types/codegen/router/v1/query.lcd.d.ts +9 -0
- package/types/codegen/router/v1/query.rpc.Query.d.ts +16 -0
- package/types/codegen/tendermint/abci/types.d.ts +8 -78
- package/types/codegen/tendermint/bundle.d.ts +291 -291
- package/types/codegen/tendermint/crypto/proof.d.ts +1 -3
- package/types/codegen/tendermint/libs/bits/types.d.ts +1 -1
- package/types/codegen/tendermint/p2p/types.d.ts +1 -1
- package/types/codegen/tendermint/types/params.d.ts +0 -32
- package/types/codegen/tendermint/types/types.d.ts +5 -36
- package/types/codegen/tendermint/types/validator.d.ts +1 -1
- package/types/codegen/tendermint/version/types.d.ts +1 -1
@@ -10,11 +10,7 @@ export enum CheckTxType {
|
|
10
10
|
RECHECK = 1,
|
11
11
|
UNRECOGNIZED = -1,
|
12
12
|
}
|
13
|
-
export
|
14
|
-
NEW = 0,
|
15
|
-
RECHECK = 1,
|
16
|
-
UNRECOGNIZED = -1,
|
17
|
-
}
|
13
|
+
export const CheckTxTypeSDKType = CheckTxType;
|
18
14
|
export function checkTxTypeFromJSON(object: any): CheckTxType {
|
19
15
|
switch (object) {
|
20
16
|
case 0:
|
@@ -64,26 +60,7 @@ export enum ResponseOfferSnapshot_Result {
|
|
64
60
|
REJECT_SENDER = 5,
|
65
61
|
UNRECOGNIZED = -1,
|
66
62
|
}
|
67
|
-
export
|
68
|
-
/** UNKNOWN - Unknown result, abort all snapshot restoration */
|
69
|
-
UNKNOWN = 0,
|
70
|
-
|
71
|
-
/** ACCEPT - Snapshot accepted, apply chunks */
|
72
|
-
ACCEPT = 1,
|
73
|
-
|
74
|
-
/** ABORT - Abort all snapshot restoration */
|
75
|
-
ABORT = 2,
|
76
|
-
|
77
|
-
/** REJECT - Reject this specific snapshot, try others */
|
78
|
-
REJECT = 3,
|
79
|
-
|
80
|
-
/** REJECT_FORMAT - Reject all snapshots of this format, try others */
|
81
|
-
REJECT_FORMAT = 4,
|
82
|
-
|
83
|
-
/** REJECT_SENDER - Reject all snapshots from the sender(s), try others */
|
84
|
-
REJECT_SENDER = 5,
|
85
|
-
UNRECOGNIZED = -1,
|
86
|
-
}
|
63
|
+
export const ResponseOfferSnapshot_ResultSDKType = ResponseOfferSnapshot_Result;
|
87
64
|
export function responseOfferSnapshot_ResultFromJSON(object: any): ResponseOfferSnapshot_Result {
|
88
65
|
switch (object) {
|
89
66
|
case 0:
|
@@ -161,26 +138,7 @@ export enum ResponseApplySnapshotChunk_Result {
|
|
161
138
|
REJECT_SNAPSHOT = 5,
|
162
139
|
UNRECOGNIZED = -1,
|
163
140
|
}
|
164
|
-
export
|
165
|
-
/** UNKNOWN - Unknown result, abort all snapshot restoration */
|
166
|
-
UNKNOWN = 0,
|
167
|
-
|
168
|
-
/** ACCEPT - Chunk successfully accepted */
|
169
|
-
ACCEPT = 1,
|
170
|
-
|
171
|
-
/** ABORT - Abort all snapshot restoration */
|
172
|
-
ABORT = 2,
|
173
|
-
|
174
|
-
/** RETRY - Retry chunk (combine with refetch and reject) */
|
175
|
-
RETRY = 3,
|
176
|
-
|
177
|
-
/** RETRY_SNAPSHOT - Retry snapshot (combine with refetch and reject) */
|
178
|
-
RETRY_SNAPSHOT = 4,
|
179
|
-
|
180
|
-
/** REJECT_SNAPSHOT - Reject this snapshot, try others */
|
181
|
-
REJECT_SNAPSHOT = 5,
|
182
|
-
UNRECOGNIZED = -1,
|
183
|
-
}
|
141
|
+
export const ResponseApplySnapshotChunk_ResultSDKType = ResponseApplySnapshotChunk_Result;
|
184
142
|
export function responseApplySnapshotChunk_ResultFromJSON(object: any): ResponseApplySnapshotChunk_Result {
|
185
143
|
switch (object) {
|
186
144
|
case 0:
|
@@ -244,12 +202,7 @@ export enum EvidenceType {
|
|
244
202
|
LIGHT_CLIENT_ATTACK = 2,
|
245
203
|
UNRECOGNIZED = -1,
|
246
204
|
}
|
247
|
-
export
|
248
|
-
UNKNOWN = 0,
|
249
|
-
DUPLICATE_VOTE = 1,
|
250
|
-
LIGHT_CLIENT_ATTACK = 2,
|
251
|
-
UNRECOGNIZED = -1,
|
252
|
-
}
|
205
|
+
export const EvidenceTypeSDKType = EvidenceType;
|
253
206
|
export function evidenceTypeFromJSON(object: any): EvidenceType {
|
254
207
|
switch (object) {
|
255
208
|
case 0:
|
@@ -396,7 +349,7 @@ export interface RequestCheckTx {
|
|
396
349
|
}
|
397
350
|
export interface RequestCheckTxSDKType {
|
398
351
|
tx: Uint8Array;
|
399
|
-
type:
|
352
|
+
type: CheckTxType;
|
400
353
|
}
|
401
354
|
export interface RequestDeliverTx {
|
402
355
|
tx: Uint8Array;
|
@@ -430,10 +383,7 @@ export interface RequestOfferSnapshot {
|
|
430
383
|
/** offers a snapshot to the application */
|
431
384
|
|
432
385
|
export interface RequestOfferSnapshotSDKType {
|
433
|
-
/** snapshot offered by peers */
|
434
386
|
snapshot?: SnapshotSDKType;
|
435
|
-
/** light client-verified app hash for snapshot height */
|
436
|
-
|
437
387
|
app_hash: Uint8Array;
|
438
388
|
}
|
439
389
|
/** loads a snapshot chunk */
|
@@ -545,8 +495,6 @@ export interface ResponseSetOption {
|
|
545
495
|
|
546
496
|
export interface ResponseSetOptionSDKType {
|
547
497
|
code: number;
|
548
|
-
/** bytes data = 2; */
|
549
|
-
|
550
498
|
log: string;
|
551
499
|
info: string;
|
552
500
|
}
|
@@ -577,11 +525,7 @@ export interface ResponseQuery {
|
|
577
525
|
}
|
578
526
|
export interface ResponseQuerySDKType {
|
579
527
|
code: number;
|
580
|
-
/** bytes data = 2; // use "value" instead. */
|
581
|
-
|
582
528
|
log: string;
|
583
|
-
/** nondeterministic */
|
584
|
-
|
585
529
|
info: string;
|
586
530
|
index: Long;
|
587
531
|
key: Uint8Array;
|
@@ -613,11 +557,7 @@ export interface ResponseCheckTx {
|
|
613
557
|
export interface ResponseCheckTxSDKType {
|
614
558
|
code: number;
|
615
559
|
data: Uint8Array;
|
616
|
-
/** nondeterministic */
|
617
|
-
|
618
560
|
log: string;
|
619
|
-
/** nondeterministic */
|
620
|
-
|
621
561
|
info: string;
|
622
562
|
gas_wanted: Long;
|
623
563
|
gas_used: Long;
|
@@ -641,11 +581,7 @@ export interface ResponseDeliverTx {
|
|
641
581
|
export interface ResponseDeliverTxSDKType {
|
642
582
|
code: number;
|
643
583
|
data: Uint8Array;
|
644
|
-
/** nondeterministic */
|
645
|
-
|
646
584
|
log: string;
|
647
|
-
/** nondeterministic */
|
648
|
-
|
649
585
|
info: string;
|
650
586
|
gas_wanted: Long;
|
651
587
|
gas_used: Long;
|
@@ -668,7 +604,6 @@ export interface ResponseCommit {
|
|
668
604
|
retainHeight: Long;
|
669
605
|
}
|
670
606
|
export interface ResponseCommitSDKType {
|
671
|
-
/** reserve 1 */
|
672
607
|
data: Uint8Array;
|
673
608
|
retain_height: Long;
|
674
609
|
}
|
@@ -682,7 +617,7 @@ export interface ResponseOfferSnapshot {
|
|
682
617
|
result: ResponseOfferSnapshot_Result;
|
683
618
|
}
|
684
619
|
export interface ResponseOfferSnapshotSDKType {
|
685
|
-
result:
|
620
|
+
result: ResponseOfferSnapshot_Result;
|
686
621
|
}
|
687
622
|
export interface ResponseLoadSnapshotChunk {
|
688
623
|
chunk: Uint8Array;
|
@@ -700,12 +635,8 @@ export interface ResponseApplySnapshotChunk {
|
|
700
635
|
rejectSenders: string[];
|
701
636
|
}
|
702
637
|
export interface ResponseApplySnapshotChunkSDKType {
|
703
|
-
result:
|
704
|
-
/** Chunks to refetch and reapply */
|
705
|
-
|
638
|
+
result: ResponseApplySnapshotChunk_Result;
|
706
639
|
refetch_chunks: number[];
|
707
|
-
/** Chunk senders to reject and ban */
|
708
|
-
|
709
640
|
reject_senders: string[];
|
710
641
|
}
|
711
642
|
/**
|
@@ -742,10 +673,7 @@ export interface BlockParams {
|
|
742
673
|
/** BlockParams contains limits on the block size. */
|
743
674
|
|
744
675
|
export interface BlockParamsSDKType {
|
745
|
-
/** Note: must be greater than 0 */
|
746
676
|
max_bytes: Long;
|
747
|
-
/** Note: must be greater or equal to -1 */
|
748
|
-
|
749
677
|
max_gas: Long;
|
750
678
|
}
|
751
679
|
export interface LastCommitInfo {
|
@@ -790,8 +718,6 @@ export interface EventAttribute {
|
|
790
718
|
export interface EventAttributeSDKType {
|
791
719
|
key: Uint8Array;
|
792
720
|
value: Uint8Array;
|
793
|
-
/** nondeterministic */
|
794
|
-
|
795
721
|
index: boolean;
|
796
722
|
}
|
797
723
|
/**
|
@@ -833,13 +759,7 @@ export interface Validator {
|
|
833
759
|
/** Validator */
|
834
760
|
|
835
761
|
export interface ValidatorSDKType {
|
836
|
-
/**
|
837
|
-
* The first 20 bytes of SHA256(public key)
|
838
|
-
* PubKey pub_key = 2 [(gogoproto.nullable)=false];
|
839
|
-
*/
|
840
762
|
address: Uint8Array;
|
841
|
-
/** The voting power */
|
842
|
-
|
843
763
|
power: Long;
|
844
764
|
}
|
845
765
|
/** ValidatorUpdate */
|
@@ -886,22 +806,10 @@ export interface Evidence {
|
|
886
806
|
totalVotingPower: Long;
|
887
807
|
}
|
888
808
|
export interface EvidenceSDKType {
|
889
|
-
type:
|
890
|
-
/** The offending validator */
|
891
|
-
|
809
|
+
type: EvidenceType;
|
892
810
|
validator?: ValidatorSDKType;
|
893
|
-
/** The height when the offense occurred */
|
894
|
-
|
895
811
|
height: Long;
|
896
|
-
/** The corresponding time where the offense occurred */
|
897
|
-
|
898
812
|
time?: Date;
|
899
|
-
/**
|
900
|
-
* Total voting power of the validator set in case the ABCI application does
|
901
|
-
* not store historical validators.
|
902
|
-
* https://github.com/tendermint/tendermint/issues/4581
|
903
|
-
*/
|
904
|
-
|
905
813
|
total_voting_power: Long;
|
906
814
|
}
|
907
815
|
export interface Snapshot {
|
@@ -921,19 +829,10 @@ export interface Snapshot {
|
|
921
829
|
metadata: Uint8Array;
|
922
830
|
}
|
923
831
|
export interface SnapshotSDKType {
|
924
|
-
/** The height at which the snapshot was taken */
|
925
832
|
height: Long;
|
926
|
-
/** The application-specific snapshot format */
|
927
|
-
|
928
833
|
format: number;
|
929
|
-
/** Number of chunks in the snapshot */
|
930
|
-
|
931
834
|
chunks: number;
|
932
|
-
/** Arbitrary snapshot hash, equal only if identical */
|
933
|
-
|
934
835
|
hash: Uint8Array;
|
935
|
-
/** Arbitrary application metadata */
|
936
|
-
|
937
836
|
metadata: Uint8Array;
|
938
837
|
}
|
939
838
|
|
@@ -1,32 +1,32 @@
|
|
1
|
-
import * as
|
2
|
-
import * as
|
3
|
-
import * as
|
4
|
-
import * as
|
5
|
-
import * as
|
6
|
-
import * as
|
7
|
-
import * as
|
8
|
-
import * as
|
9
|
-
import * as
|
10
|
-
import * as
|
11
|
-
import * as
|
1
|
+
import * as _94 from "./abci/types";
|
2
|
+
import * as _95 from "./crypto/keys";
|
3
|
+
import * as _96 from "./crypto/proof";
|
4
|
+
import * as _97 from "./libs/bits/types";
|
5
|
+
import * as _98 from "./p2p/types";
|
6
|
+
import * as _99 from "./types/block";
|
7
|
+
import * as _100 from "./types/evidence";
|
8
|
+
import * as _101 from "./types/params";
|
9
|
+
import * as _102 from "./types/types";
|
10
|
+
import * as _103 from "./types/validator";
|
11
|
+
import * as _104 from "./version/types";
|
12
12
|
export namespace tendermint {
|
13
|
-
export const abci = { ...
|
13
|
+
export const abci = { ..._94
|
14
14
|
};
|
15
|
-
export const crypto = { ...
|
16
|
-
...
|
15
|
+
export const crypto = { ..._95,
|
16
|
+
..._96
|
17
17
|
};
|
18
18
|
export namespace libs {
|
19
|
-
export const bits = { ...
|
19
|
+
export const bits = { ..._97
|
20
20
|
};
|
21
21
|
}
|
22
|
-
export const p2p = { ...
|
22
|
+
export const p2p = { ..._98
|
23
23
|
};
|
24
|
-
export const types = { ...
|
25
|
-
...
|
26
|
-
...
|
27
|
-
...
|
28
|
-
...
|
24
|
+
export const types = { ..._99,
|
25
|
+
..._100,
|
26
|
+
..._101,
|
27
|
+
..._102,
|
28
|
+
..._103
|
29
29
|
};
|
30
|
-
export const version = { ...
|
30
|
+
export const version = { ..._104
|
31
31
|
};
|
32
32
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as _m0 from "protobufjs/minimal";
|
2
1
|
import { Long, DeepPartial } from "../../helpers";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
3
|
export interface Proof {
|
4
4
|
total: Long;
|
5
5
|
index: Long;
|
@@ -20,10 +20,7 @@ export interface ValueOp {
|
|
20
20
|
proof?: Proof;
|
21
21
|
}
|
22
22
|
export interface ValueOpSDKType {
|
23
|
-
/** Encoded in ProofOp.Key. */
|
24
23
|
key: Uint8Array;
|
25
|
-
/** To encode in ProofOp.Data */
|
26
|
-
|
27
24
|
proof?: ProofSDKType;
|
28
25
|
}
|
29
26
|
export interface DominoOp {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Timestamp } from "../../google/protobuf/timestamp";
|
2
|
-
import * as _m0 from "protobufjs/minimal";
|
3
2
|
import { Long, DeepPartial, toTimestamp, fromTimestamp } from "../../helpers";
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
4
4
|
export interface ProtocolVersion {
|
5
5
|
p2p: Long;
|
6
6
|
block: Long;
|
@@ -2,7 +2,7 @@ import { Vote, VoteSDKType, LightBlock, LightBlockSDKType } from "./types";
|
|
2
2
|
import { Timestamp } from "../../google/protobuf/timestamp";
|
3
3
|
import { Validator, ValidatorSDKType } from "./validator";
|
4
4
|
import * as _m0 from "protobufjs/minimal";
|
5
|
-
import { DeepPartial,
|
5
|
+
import { DeepPartial, Long, toTimestamp, fromTimestamp } from "../../helpers";
|
6
6
|
export interface Evidence {
|
7
7
|
duplicateVoteEvidence?: DuplicateVoteEvidence;
|
8
8
|
lightClientAttackEvidence?: LightClientAttackEvidence;
|
@@ -49,24 +49,8 @@ export interface BlockParams {
|
|
49
49
|
/** BlockParams contains limits on the block size. */
|
50
50
|
|
51
51
|
export interface BlockParamsSDKType {
|
52
|
-
/**
|
53
|
-
* Max block size, in bytes.
|
54
|
-
* Note: must be greater than 0
|
55
|
-
*/
|
56
52
|
max_bytes: Long;
|
57
|
-
/**
|
58
|
-
* Max gas per block.
|
59
|
-
* Note: must be greater or equal to -1
|
60
|
-
*/
|
61
|
-
|
62
53
|
max_gas: Long;
|
63
|
-
/**
|
64
|
-
* Minimum time increment between consecutive blocks (in milliseconds) If the
|
65
|
-
* block header timestamp is ahead of the system clock, decrease this value.
|
66
|
-
*
|
67
|
-
* Not exposed to the application.
|
68
|
-
*/
|
69
|
-
|
70
54
|
time_iota_ms: Long;
|
71
55
|
}
|
72
56
|
/** EvidenceParams determine how we handle evidence of malfeasance. */
|
@@ -99,28 +83,8 @@ export interface EvidenceParams {
|
|
99
83
|
/** EvidenceParams determine how we handle evidence of malfeasance. */
|
100
84
|
|
101
85
|
export interface EvidenceParamsSDKType {
|
102
|
-
/**
|
103
|
-
* Max age of evidence, in blocks.
|
104
|
-
*
|
105
|
-
* The basic formula for calculating this is: MaxAgeDuration / {average block
|
106
|
-
* time}.
|
107
|
-
*/
|
108
86
|
max_age_num_blocks: Long;
|
109
|
-
/**
|
110
|
-
* Max age of evidence, in time.
|
111
|
-
*
|
112
|
-
* It should correspond with an app's "unbonding period" or other similar
|
113
|
-
* mechanism for handling [Nothing-At-Stake
|
114
|
-
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
|
115
|
-
*/
|
116
|
-
|
117
87
|
max_age_duration?: DurationSDKType;
|
118
|
-
/**
|
119
|
-
* This sets the maximum size of total evidence in bytes that can be committed in a single block.
|
120
|
-
* and should fall comfortably under the max block bytes.
|
121
|
-
* Default is 1048576 or 1MB
|
122
|
-
*/
|
123
|
-
|
124
88
|
max_bytes: Long;
|
125
89
|
}
|
126
90
|
/**
|
@@ -3,7 +3,7 @@ import { Consensus, ConsensusSDKType } from "../version/types";
|
|
3
3
|
import { Timestamp } from "../../google/protobuf/timestamp";
|
4
4
|
import { ValidatorSet, ValidatorSetSDKType } from "./validator";
|
5
5
|
import * as _m0 from "protobufjs/minimal";
|
6
|
-
import { DeepPartial,
|
6
|
+
import { DeepPartial, Long, toTimestamp, fromTimestamp } from "../../helpers";
|
7
7
|
/** BlockIdFlag indicates which BlcokID the signature is for */
|
8
8
|
|
9
9
|
export enum BlockIDFlag {
|
@@ -13,15 +13,7 @@ export enum BlockIDFlag {
|
|
13
13
|
BLOCK_ID_FLAG_NIL = 3,
|
14
14
|
UNRECOGNIZED = -1,
|
15
15
|
}
|
16
|
-
|
17
|
-
|
18
|
-
export enum BlockIDFlagSDKType {
|
19
|
-
BLOCK_ID_FLAG_UNKNOWN = 0,
|
20
|
-
BLOCK_ID_FLAG_ABSENT = 1,
|
21
|
-
BLOCK_ID_FLAG_COMMIT = 2,
|
22
|
-
BLOCK_ID_FLAG_NIL = 3,
|
23
|
-
UNRECOGNIZED = -1,
|
24
|
-
}
|
16
|
+
export const BlockIDFlagSDKType = BlockIDFlag;
|
25
17
|
export function blockIDFlagFromJSON(object: any): BlockIDFlag {
|
26
18
|
switch (object) {
|
27
19
|
case 0:
|
@@ -78,19 +70,7 @@ export enum SignedMsgType {
|
|
78
70
|
SIGNED_MSG_TYPE_PROPOSAL = 32,
|
79
71
|
UNRECOGNIZED = -1,
|
80
72
|
}
|
81
|
-
|
82
|
-
|
83
|
-
export enum SignedMsgTypeSDKType {
|
84
|
-
SIGNED_MSG_TYPE_UNKNOWN = 0,
|
85
|
-
|
86
|
-
/** SIGNED_MSG_TYPE_PREVOTE - Votes */
|
87
|
-
SIGNED_MSG_TYPE_PREVOTE = 1,
|
88
|
-
SIGNED_MSG_TYPE_PRECOMMIT = 2,
|
89
|
-
|
90
|
-
/** SIGNED_MSG_TYPE_PROPOSAL - Proposals */
|
91
|
-
SIGNED_MSG_TYPE_PROPOSAL = 32,
|
92
|
-
UNRECOGNIZED = -1,
|
93
|
-
}
|
73
|
+
export const SignedMsgTypeSDKType = SignedMsgType;
|
94
74
|
export function signedMsgTypeFromJSON(object: any): SignedMsgType {
|
95
75
|
switch (object) {
|
96
76
|
case 0:
|
@@ -206,36 +186,19 @@ export interface Header {
|
|
206
186
|
/** Header defines the structure of a Tendermint block header. */
|
207
187
|
|
208
188
|
export interface HeaderSDKType {
|
209
|
-
/** basic block info */
|
210
189
|
version?: ConsensusSDKType;
|
211
190
|
chain_id: string;
|
212
191
|
height: Long;
|
213
192
|
time?: Date;
|
214
|
-
/** prev block info */
|
215
|
-
|
216
193
|
last_block_id?: BlockIDSDKType;
|
217
|
-
/** hashes of block data */
|
218
|
-
|
219
194
|
last_commit_hash: Uint8Array;
|
220
195
|
data_hash: Uint8Array;
|
221
|
-
/** hashes from the app output from the prev block */
|
222
|
-
|
223
196
|
validators_hash: Uint8Array;
|
224
|
-
/** validators for the next block */
|
225
|
-
|
226
197
|
next_validators_hash: Uint8Array;
|
227
|
-
/** consensus params for current block */
|
228
|
-
|
229
198
|
consensus_hash: Uint8Array;
|
230
|
-
/** state after txs from the previous block */
|
231
|
-
|
232
199
|
app_hash: Uint8Array;
|
233
200
|
last_results_hash: Uint8Array;
|
234
|
-
/** consensus info */
|
235
|
-
|
236
201
|
evidence_hash: Uint8Array;
|
237
|
-
/** original proposer of the block */
|
238
|
-
|
239
202
|
proposer_address: Uint8Array;
|
240
203
|
}
|
241
204
|
/** Data contains the set of transactions included in the block */
|
@@ -251,11 +214,6 @@ export interface Data {
|
|
251
214
|
/** Data contains the set of transactions included in the block */
|
252
215
|
|
253
216
|
export interface DataSDKType {
|
254
|
-
/**
|
255
|
-
* Txs that will be applied by state @ block.Height+1.
|
256
|
-
* NOTE: not all txs here are valid. We're just agreeing on the order first.
|
257
|
-
* This means that block.AppHash does not include these txs.
|
258
|
-
*/
|
259
217
|
txs: Uint8Array[];
|
260
218
|
}
|
261
219
|
/**
|
@@ -281,11 +239,9 @@ export interface Vote {
|
|
281
239
|
*/
|
282
240
|
|
283
241
|
export interface VoteSDKType {
|
284
|
-
type:
|
242
|
+
type: SignedMsgType;
|
285
243
|
height: Long;
|
286
244
|
round: number;
|
287
|
-
/** zero if vote is nil. */
|
288
|
-
|
289
245
|
block_id?: BlockIDSDKType;
|
290
246
|
timestamp?: Date;
|
291
247
|
validator_address: Uint8Array;
|
@@ -319,7 +275,7 @@ export interface CommitSig {
|
|
319
275
|
/** CommitSig is a part of the Vote included in a Commit. */
|
320
276
|
|
321
277
|
export interface CommitSigSDKType {
|
322
|
-
block_id_flag:
|
278
|
+
block_id_flag: BlockIDFlag;
|
323
279
|
validator_address: Uint8Array;
|
324
280
|
timestamp?: Date;
|
325
281
|
signature: Uint8Array;
|
@@ -334,7 +290,7 @@ export interface Proposal {
|
|
334
290
|
signature: Uint8Array;
|
335
291
|
}
|
336
292
|
export interface ProposalSDKType {
|
337
|
-
type:
|
293
|
+
type: SignedMsgType;
|
338
294
|
height: Long;
|
339
295
|
round: number;
|
340
296
|
pol_round: number;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { PublicKey, PublicKeySDKType } from "../crypto/keys";
|
2
|
-
import * as _m0 from "protobufjs/minimal";
|
3
2
|
import { Long, DeepPartial } from "../../helpers";
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
4
4
|
export interface ValidatorSet {
|
5
5
|
validators: Validator[];
|
6
6
|
proposer?: Validator;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as _m0 from "protobufjs/minimal";
|
2
1
|
import { Long, DeepPartial } from "../../helpers";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
3
|
/**
|
4
4
|
* App includes the protocol and software version for the application.
|
5
5
|
* This information is included in ResponseInfo. The App.Protocol can be
|
@@ -11,17 +11,7 @@ export declare enum HashOp {
|
|
11
11
|
BITCOIN = 5,
|
12
12
|
UNRECOGNIZED = -1
|
13
13
|
}
|
14
|
-
export declare
|
15
|
-
/** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */
|
16
|
-
NO_HASH = 0,
|
17
|
-
SHA256 = 1,
|
18
|
-
SHA512 = 2,
|
19
|
-
KECCAK = 3,
|
20
|
-
RIPEMD160 = 4,
|
21
|
-
/** BITCOIN - ripemd160(sha256(x)) */
|
22
|
-
BITCOIN = 5,
|
23
|
-
UNRECOGNIZED = -1
|
24
|
-
}
|
14
|
+
export declare const HashOpSDKType: typeof HashOp;
|
25
15
|
export declare function hashOpFromJSON(object: any): HashOp;
|
26
16
|
export declare function hashOpToJSON(object: HashOp): string;
|
27
17
|
/**
|
@@ -51,33 +41,7 @@ export declare enum LengthOp {
|
|
51
41
|
REQUIRE_64_BYTES = 8,
|
52
42
|
UNRECOGNIZED = -1
|
53
43
|
}
|
54
|
-
|
55
|
-
* LengthOp defines how to process the key and value of the LeafOp
|
56
|
-
* to include length information. After encoding the length with the given
|
57
|
-
* algorithm, the length will be prepended to the key and value bytes.
|
58
|
-
* (Each one with it's own encoded length)
|
59
|
-
*/
|
60
|
-
export declare enum LengthOpSDKType {
|
61
|
-
/** NO_PREFIX - NO_PREFIX don't include any length info */
|
62
|
-
NO_PREFIX = 0,
|
63
|
-
/** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */
|
64
|
-
VAR_PROTO = 1,
|
65
|
-
/** VAR_RLP - VAR_RLP uses rlp int encoding of the length */
|
66
|
-
VAR_RLP = 2,
|
67
|
-
/** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */
|
68
|
-
FIXED32_BIG = 3,
|
69
|
-
/** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */
|
70
|
-
FIXED32_LITTLE = 4,
|
71
|
-
/** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */
|
72
|
-
FIXED64_BIG = 5,
|
73
|
-
/** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */
|
74
|
-
FIXED64_LITTLE = 6,
|
75
|
-
/** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */
|
76
|
-
REQUIRE_32_BYTES = 7,
|
77
|
-
/** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */
|
78
|
-
REQUIRE_64_BYTES = 8,
|
79
|
-
UNRECOGNIZED = -1
|
80
|
-
}
|
44
|
+
export declare const LengthOpSDKType: typeof LengthOp;
|
81
45
|
export declare function lengthOpFromJSON(object: any): LengthOp;
|
82
46
|
export declare function lengthOpToJSON(object: LengthOp): string;
|
83
47
|
/**
|
@@ -151,7 +115,6 @@ export interface NonExistenceProof {
|
|
151
115
|
* then there is no valid proof for the given key.
|
152
116
|
*/
|
153
117
|
export interface NonExistenceProofSDKType {
|
154
|
-
/** TODO: remove this as unnecessary??? we prove a range */
|
155
118
|
key: Uint8Array;
|
156
119
|
left?: ExistenceProofSDKType;
|
157
120
|
right?: ExistenceProofSDKType;
|
@@ -214,14 +177,10 @@ export interface LeafOp {
|
|
214
177
|
* output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue)
|
215
178
|
*/
|
216
179
|
export interface LeafOpSDKType {
|
217
|
-
hash:
|
218
|
-
prehash_key:
|
219
|
-
prehash_value:
|
220
|
-
length:
|
221
|
-
/**
|
222
|
-
* prefix is a fixed bytes that may optionally be included at the beginning to differentiate
|
223
|
-
* a leaf node from an inner node.
|
224
|
-
*/
|
180
|
+
hash: HashOp;
|
181
|
+
prehash_key: HashOp;
|
182
|
+
prehash_value: HashOp;
|
183
|
+
length: LengthOp;
|
225
184
|
prefix: Uint8Array;
|
226
185
|
}
|
227
186
|
/**
|
@@ -264,7 +223,7 @@ export interface InnerOp {
|
|
264
223
|
* If either of prefix or suffix is empty, we just treat it as an empty string
|
265
224
|
*/
|
266
225
|
export interface InnerOpSDKType {
|
267
|
-
hash:
|
226
|
+
hash: HashOp;
|
268
227
|
prefix: Uint8Array;
|
269
228
|
suffix: Uint8Array;
|
270
229
|
}
|
@@ -305,15 +264,9 @@ export interface ProofSpec {
|
|
305
264
|
* tree format server uses. But not in code, rather a configuration object.
|
306
265
|
*/
|
307
266
|
export interface ProofSpecSDKType {
|
308
|
-
/**
|
309
|
-
* any field in the ExistenceProof must be the same as in this spec.
|
310
|
-
* except Prefix, which is just the first bytes of prefix (spec can be longer)
|
311
|
-
*/
|
312
267
|
leaf_spec?: LeafOpSDKType;
|
313
268
|
inner_spec?: InnerSpecSDKType;
|
314
|
-
/** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */
|
315
269
|
max_depth: number;
|
316
|
-
/** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */
|
317
270
|
min_depth: number;
|
318
271
|
}
|
319
272
|
/**
|
@@ -352,19 +305,12 @@ export interface InnerSpec {
|
|
352
305
|
* isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp)
|
353
306
|
*/
|
354
307
|
export interface InnerSpecSDKType {
|
355
|
-
/**
|
356
|
-
* Child order is the ordering of the children node, must count from 0
|
357
|
-
* iavl tree is [0, 1] (left then right)
|
358
|
-
* merk is [0, 2, 1] (left, right, here)
|
359
|
-
*/
|
360
308
|
child_order: number[];
|
361
309
|
child_size: number;
|
362
310
|
min_prefix_length: number;
|
363
311
|
max_prefix_length: number;
|
364
|
-
/** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */
|
365
312
|
empty_child: Uint8Array;
|
366
|
-
|
367
|
-
hash: HashOpSDKType;
|
313
|
+
hash: HashOp;
|
368
314
|
}
|
369
315
|
/** BatchProof is a group of multiple proof types than can be compressed */
|
370
316
|
export interface BatchProof {
|
@@ -413,7 +359,6 @@ export interface CompressedExistenceProofSDKType {
|
|
413
359
|
key: Uint8Array;
|
414
360
|
value: Uint8Array;
|
415
361
|
leaf?: LeafOpSDKType;
|
416
|
-
/** these are indexes into the lookup_inners table in CompressedBatchProof */
|
417
362
|
path: number[];
|
418
363
|
}
|
419
364
|
export interface CompressedNonExistenceProof {
|
@@ -423,7 +368,6 @@ export interface CompressedNonExistenceProof {
|
|
423
368
|
right?: CompressedExistenceProof;
|
424
369
|
}
|
425
370
|
export interface CompressedNonExistenceProofSDKType {
|
426
|
-
/** TODO: remove this as unnecessary??? we prove a range */
|
427
371
|
key: Uint8Array;
|
428
372
|
left?: CompressedExistenceProofSDKType;
|
429
373
|
right?: CompressedExistenceProofSDKType;
|