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,6 +10,7 @@ export declare const cosmwasmAminoConverters: {
|
|
10
10
|
instantiate_permission: {
|
11
11
|
permission: number;
|
12
12
|
address: string;
|
13
|
+
addresses: string[];
|
13
14
|
};
|
14
15
|
};
|
15
16
|
fromAmino: ({ sender, wasm_byte_code, instantiate_permission }: {
|
@@ -18,6 +19,7 @@ export declare const cosmwasmAminoConverters: {
|
|
18
19
|
instantiate_permission: {
|
19
20
|
permission: number;
|
20
21
|
address: string;
|
22
|
+
addresses: string[];
|
21
23
|
};
|
22
24
|
}) => import("./wasm/v1/tx").MsgStoreCode;
|
23
25
|
};
|
@@ -46,6 +48,35 @@ export declare const cosmwasmAminoConverters: {
|
|
46
48
|
}[];
|
47
49
|
}) => import("./wasm/v1/tx").MsgInstantiateContract;
|
48
50
|
};
|
51
|
+
"/cosmwasm.wasm.v1.MsgInstantiateContract2": {
|
52
|
+
aminoType: string;
|
53
|
+
toAmino: ({ sender, admin, codeId, label, msg, funds, salt, fixMsg }: import("./wasm/v1/tx").MsgInstantiateContract2) => {
|
54
|
+
sender: string;
|
55
|
+
admin: string;
|
56
|
+
code_id: string;
|
57
|
+
label: string;
|
58
|
+
msg: Uint8Array;
|
59
|
+
funds: {
|
60
|
+
denom: string;
|
61
|
+
amount: string;
|
62
|
+
}[];
|
63
|
+
salt: Uint8Array;
|
64
|
+
fix_msg: boolean;
|
65
|
+
};
|
66
|
+
fromAmino: ({ sender, admin, code_id, label, msg, funds, salt, fix_msg }: {
|
67
|
+
sender: string;
|
68
|
+
admin: string;
|
69
|
+
code_id: string;
|
70
|
+
label: string;
|
71
|
+
msg: Uint8Array;
|
72
|
+
funds: {
|
73
|
+
denom: string;
|
74
|
+
amount: string;
|
75
|
+
}[];
|
76
|
+
salt: Uint8Array;
|
77
|
+
fix_msg: boolean;
|
78
|
+
}) => import("./wasm/v1/tx").MsgInstantiateContract2;
|
79
|
+
};
|
49
80
|
"/cosmwasm.wasm.v1.MsgExecuteContract": {
|
50
81
|
aminoType: string;
|
51
82
|
toAmino: ({ sender, contract, msg, funds }: import("./wasm/v1/tx").MsgExecuteContract) => {
|
@@ -107,6 +107,8 @@ export declare const createRPCQueryClient: ({ rpcEndpoint }: {
|
|
107
107
|
code(request: import("./wasm/v1/query").QueryCodeRequest): Promise<import("./wasm/v1/query").QueryCodeResponse>;
|
108
108
|
codes(request?: import("./wasm/v1/query").QueryCodesRequest): Promise<import("./wasm/v1/query").QueryCodesResponse>;
|
109
109
|
pinnedCodes(request?: import("./wasm/v1/query").QueryPinnedCodesRequest): Promise<import("./wasm/v1/query").QueryPinnedCodesResponse>;
|
110
|
+
params(request?: import("./wasm/v1/query").QueryParamsRequest): Promise<import("./wasm/v1/query").QueryParamsResponse>;
|
111
|
+
contractsByCreator(request: import("./wasm/v1/query").QueryContractsByCreatorRequest): Promise<import("./wasm/v1/query").QueryContractsByCreatorResponse>;
|
110
112
|
};
|
111
113
|
};
|
112
114
|
};
|
@@ -0,0 +1,205 @@
|
|
1
|
+
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
2
|
+
import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin";
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
4
|
+
import { DeepPartial, Long } from "../../../helpers";
|
5
|
+
/**
|
6
|
+
* ContractExecutionAuthorization defines authorization for wasm execute.
|
7
|
+
* Since: wasmd 0.30
|
8
|
+
*/
|
9
|
+
export interface ContractExecutionAuthorization {
|
10
|
+
/** Grants for contract executions */
|
11
|
+
grants: ContractGrant[];
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* ContractExecutionAuthorization defines authorization for wasm execute.
|
15
|
+
* Since: wasmd 0.30
|
16
|
+
*/
|
17
|
+
export interface ContractExecutionAuthorizationSDKType {
|
18
|
+
grants: ContractGrantSDKType[];
|
19
|
+
}
|
20
|
+
/**
|
21
|
+
* ContractMigrationAuthorization defines authorization for wasm contract
|
22
|
+
* migration. Since: wasmd 0.30
|
23
|
+
*/
|
24
|
+
export interface ContractMigrationAuthorization {
|
25
|
+
/** Grants for contract migrations */
|
26
|
+
grants: ContractGrant[];
|
27
|
+
}
|
28
|
+
/**
|
29
|
+
* ContractMigrationAuthorization defines authorization for wasm contract
|
30
|
+
* migration. Since: wasmd 0.30
|
31
|
+
*/
|
32
|
+
export interface ContractMigrationAuthorizationSDKType {
|
33
|
+
grants: ContractGrantSDKType[];
|
34
|
+
}
|
35
|
+
/**
|
36
|
+
* ContractGrant a granted permission for a single contract
|
37
|
+
* Since: wasmd 0.30
|
38
|
+
*/
|
39
|
+
export interface ContractGrant {
|
40
|
+
/** Contract is the bech32 address of the smart contract */
|
41
|
+
contract: string;
|
42
|
+
/**
|
43
|
+
* Limit defines execution limits that are enforced and updated when the grant
|
44
|
+
* is applied. When the limit lapsed the grant is removed.
|
45
|
+
*/
|
46
|
+
limit?: Any;
|
47
|
+
/**
|
48
|
+
* Filter define more fine-grained control on the message payload passed
|
49
|
+
* to the contract in the operation. When no filter applies on execution, the
|
50
|
+
* operation is prohibited.
|
51
|
+
*/
|
52
|
+
filter?: Any;
|
53
|
+
}
|
54
|
+
/**
|
55
|
+
* ContractGrant a granted permission for a single contract
|
56
|
+
* Since: wasmd 0.30
|
57
|
+
*/
|
58
|
+
export interface ContractGrantSDKType {
|
59
|
+
contract: string;
|
60
|
+
limit?: AnySDKType;
|
61
|
+
filter?: AnySDKType;
|
62
|
+
}
|
63
|
+
/**
|
64
|
+
* MaxCallsLimit limited number of calls to the contract. No funds transferable.
|
65
|
+
* Since: wasmd 0.30
|
66
|
+
*/
|
67
|
+
export interface MaxCallsLimit {
|
68
|
+
/** Remaining number that is decremented on each execution */
|
69
|
+
remaining: Long;
|
70
|
+
}
|
71
|
+
/**
|
72
|
+
* MaxCallsLimit limited number of calls to the contract. No funds transferable.
|
73
|
+
* Since: wasmd 0.30
|
74
|
+
*/
|
75
|
+
export interface MaxCallsLimitSDKType {
|
76
|
+
remaining: Long;
|
77
|
+
}
|
78
|
+
/**
|
79
|
+
* MaxFundsLimit defines the maximal amounts that can be sent to the contract.
|
80
|
+
* Since: wasmd 0.30
|
81
|
+
*/
|
82
|
+
export interface MaxFundsLimit {
|
83
|
+
/** Amounts is the maximal amount of tokens transferable to the contract. */
|
84
|
+
amounts: Coin[];
|
85
|
+
}
|
86
|
+
/**
|
87
|
+
* MaxFundsLimit defines the maximal amounts that can be sent to the contract.
|
88
|
+
* Since: wasmd 0.30
|
89
|
+
*/
|
90
|
+
export interface MaxFundsLimitSDKType {
|
91
|
+
amounts: CoinSDKType[];
|
92
|
+
}
|
93
|
+
/**
|
94
|
+
* CombinedLimit defines the maximal amounts that can be sent to a contract and
|
95
|
+
* the maximal number of calls executable. Both need to remain >0 to be valid.
|
96
|
+
* Since: wasmd 0.30
|
97
|
+
*/
|
98
|
+
export interface CombinedLimit {
|
99
|
+
/** Remaining number that is decremented on each execution */
|
100
|
+
callsRemaining: Long;
|
101
|
+
/** Amounts is the maximal amount of tokens transferable to the contract. */
|
102
|
+
amounts: Coin[];
|
103
|
+
}
|
104
|
+
/**
|
105
|
+
* CombinedLimit defines the maximal amounts that can be sent to a contract and
|
106
|
+
* the maximal number of calls executable. Both need to remain >0 to be valid.
|
107
|
+
* Since: wasmd 0.30
|
108
|
+
*/
|
109
|
+
export interface CombinedLimitSDKType {
|
110
|
+
calls_remaining: Long;
|
111
|
+
amounts: CoinSDKType[];
|
112
|
+
}
|
113
|
+
/**
|
114
|
+
* AllowAllMessagesFilter is a wildcard to allow any type of contract payload
|
115
|
+
* message.
|
116
|
+
* Since: wasmd 0.30
|
117
|
+
*/
|
118
|
+
export interface AllowAllMessagesFilter {
|
119
|
+
}
|
120
|
+
/**
|
121
|
+
* AllowAllMessagesFilter is a wildcard to allow any type of contract payload
|
122
|
+
* message.
|
123
|
+
* Since: wasmd 0.30
|
124
|
+
*/
|
125
|
+
export interface AllowAllMessagesFilterSDKType {
|
126
|
+
}
|
127
|
+
/**
|
128
|
+
* AcceptedMessageKeysFilter accept only the specific contract message keys in
|
129
|
+
* the json object to be executed.
|
130
|
+
* Since: wasmd 0.30
|
131
|
+
*/
|
132
|
+
export interface AcceptedMessageKeysFilter {
|
133
|
+
/** Messages is the list of unique keys */
|
134
|
+
keys: string[];
|
135
|
+
}
|
136
|
+
/**
|
137
|
+
* AcceptedMessageKeysFilter accept only the specific contract message keys in
|
138
|
+
* the json object to be executed.
|
139
|
+
* Since: wasmd 0.30
|
140
|
+
*/
|
141
|
+
export interface AcceptedMessageKeysFilterSDKType {
|
142
|
+
keys: string[];
|
143
|
+
}
|
144
|
+
/**
|
145
|
+
* AcceptedMessagesFilter accept only the specific raw contract messages to be
|
146
|
+
* executed.
|
147
|
+
* Since: wasmd 0.30
|
148
|
+
*/
|
149
|
+
export interface AcceptedMessagesFilter {
|
150
|
+
/** Messages is the list of raw contract messages */
|
151
|
+
messages: Uint8Array[];
|
152
|
+
}
|
153
|
+
/**
|
154
|
+
* AcceptedMessagesFilter accept only the specific raw contract messages to be
|
155
|
+
* executed.
|
156
|
+
* Since: wasmd 0.30
|
157
|
+
*/
|
158
|
+
export interface AcceptedMessagesFilterSDKType {
|
159
|
+
messages: Uint8Array[];
|
160
|
+
}
|
161
|
+
export declare const ContractExecutionAuthorization: {
|
162
|
+
encode(message: ContractExecutionAuthorization, writer?: _m0.Writer): _m0.Writer;
|
163
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ContractExecutionAuthorization;
|
164
|
+
fromPartial(object: DeepPartial<ContractExecutionAuthorization>): ContractExecutionAuthorization;
|
165
|
+
};
|
166
|
+
export declare const ContractMigrationAuthorization: {
|
167
|
+
encode(message: ContractMigrationAuthorization, writer?: _m0.Writer): _m0.Writer;
|
168
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ContractMigrationAuthorization;
|
169
|
+
fromPartial(object: DeepPartial<ContractMigrationAuthorization>): ContractMigrationAuthorization;
|
170
|
+
};
|
171
|
+
export declare const ContractGrant: {
|
172
|
+
encode(message: ContractGrant, writer?: _m0.Writer): _m0.Writer;
|
173
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ContractGrant;
|
174
|
+
fromPartial(object: DeepPartial<ContractGrant>): ContractGrant;
|
175
|
+
};
|
176
|
+
export declare const MaxCallsLimit: {
|
177
|
+
encode(message: MaxCallsLimit, writer?: _m0.Writer): _m0.Writer;
|
178
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MaxCallsLimit;
|
179
|
+
fromPartial(object: DeepPartial<MaxCallsLimit>): MaxCallsLimit;
|
180
|
+
};
|
181
|
+
export declare const MaxFundsLimit: {
|
182
|
+
encode(message: MaxFundsLimit, writer?: _m0.Writer): _m0.Writer;
|
183
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MaxFundsLimit;
|
184
|
+
fromPartial(object: DeepPartial<MaxFundsLimit>): MaxFundsLimit;
|
185
|
+
};
|
186
|
+
export declare const CombinedLimit: {
|
187
|
+
encode(message: CombinedLimit, writer?: _m0.Writer): _m0.Writer;
|
188
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CombinedLimit;
|
189
|
+
fromPartial(object: DeepPartial<CombinedLimit>): CombinedLimit;
|
190
|
+
};
|
191
|
+
export declare const AllowAllMessagesFilter: {
|
192
|
+
encode(_: AllowAllMessagesFilter, writer?: _m0.Writer): _m0.Writer;
|
193
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AllowAllMessagesFilter;
|
194
|
+
fromPartial(_: DeepPartial<AllowAllMessagesFilter>): AllowAllMessagesFilter;
|
195
|
+
};
|
196
|
+
export declare const AcceptedMessageKeysFilter: {
|
197
|
+
encode(message: AcceptedMessageKeysFilter, writer?: _m0.Writer): _m0.Writer;
|
198
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AcceptedMessageKeysFilter;
|
199
|
+
fromPartial(object: DeepPartial<AcceptedMessageKeysFilter>): AcceptedMessageKeysFilter;
|
200
|
+
};
|
201
|
+
export declare const AcceptedMessagesFilter: {
|
202
|
+
encode(message: AcceptedMessagesFilter, writer?: _m0.Writer): _m0.Writer;
|
203
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AcceptedMessagesFilter;
|
204
|
+
fromPartial(object: DeepPartial<AcceptedMessagesFilter>): AcceptedMessagesFilter;
|
205
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { MsgStoreCode, MsgStoreCodeSDKType, MsgInstantiateContract, MsgInstantiateContractSDKType, MsgExecuteContract, MsgExecuteContractSDKType } from "./tx";
|
2
|
-
import { Params, ParamsSDKType, CodeInfo, CodeInfoSDKType, ContractInfo, ContractInfoSDKType, Model, ModelSDKType } from "./types";
|
2
|
+
import { Params, ParamsSDKType, CodeInfo, CodeInfoSDKType, ContractInfo, ContractInfoSDKType, Model, ModelSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType } from "./types";
|
3
3
|
import * as _m0 from "protobufjs/minimal";
|
4
4
|
import { DeepPartial, Long } from "../../../helpers";
|
5
5
|
/** GenesisState - genesis state of x/wasm */
|
@@ -49,7 +49,6 @@ export interface CodeSDKType {
|
|
49
49
|
code_id: Long;
|
50
50
|
code_info?: CodeInfoSDKType;
|
51
51
|
code_bytes: Uint8Array;
|
52
|
-
/** Pinned to wasmvm cache */
|
53
52
|
pinned: boolean;
|
54
53
|
}
|
55
54
|
/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */
|
@@ -57,12 +56,14 @@ export interface Contract {
|
|
57
56
|
contractAddress: string;
|
58
57
|
contractInfo?: ContractInfo;
|
59
58
|
contractState: Model[];
|
59
|
+
contractCodeHistory: ContractCodeHistoryEntry[];
|
60
60
|
}
|
61
61
|
/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */
|
62
62
|
export interface ContractSDKType {
|
63
63
|
contract_address: string;
|
64
64
|
contract_info?: ContractInfoSDKType;
|
65
65
|
contract_state: ModelSDKType[];
|
66
|
+
contract_code_history: ContractCodeHistoryEntrySDKType[];
|
66
67
|
}
|
67
68
|
/** Sequence key and value of an id generation counter */
|
68
69
|
export interface Sequence {
|
@@ -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
|
/** MsgIBCSend */
|
4
4
|
export interface MsgIBCSend {
|
5
5
|
/** the channel by which the packet will be sent */
|
@@ -22,22 +22,9 @@ export interface MsgIBCSend {
|
|
22
22
|
}
|
23
23
|
/** MsgIBCSend */
|
24
24
|
export interface MsgIBCSendSDKType {
|
25
|
-
/** the channel by which the packet will be sent */
|
26
25
|
channel: string;
|
27
|
-
/**
|
28
|
-
* Timeout height relative to the current block height.
|
29
|
-
* The timeout is disabled when set to 0.
|
30
|
-
*/
|
31
26
|
timeout_height: Long;
|
32
|
-
/**
|
33
|
-
* Timeout timestamp (in nanoseconds) relative to the current block timestamp.
|
34
|
-
* The timeout is disabled when set to 0.
|
35
|
-
*/
|
36
27
|
timeout_timestamp: Long;
|
37
|
-
/**
|
38
|
-
* Data is the payload to transfer. We must not make assumption what format or
|
39
|
-
* content is in here.
|
40
|
-
*/
|
41
28
|
data: Uint8Array;
|
42
29
|
}
|
43
30
|
/** MsgIBCCloseChannel port and channel need to be owned by the contract */
|
@@ -14,19 +14,32 @@ export interface StoreCodeProposal {
|
|
14
14
|
wasmByteCode: Uint8Array;
|
15
15
|
/** InstantiatePermission to apply on contract creation, optional */
|
16
16
|
instantiatePermission?: AccessConfig;
|
17
|
+
/** UnpinCode code on upload, optional */
|
18
|
+
unpinCode: boolean;
|
19
|
+
/** Source is the URL where the code is hosted */
|
20
|
+
source: string;
|
21
|
+
/**
|
22
|
+
* Builder is the docker image used to build the code deterministically, used
|
23
|
+
* for smart contract verification
|
24
|
+
*/
|
25
|
+
builder: string;
|
26
|
+
/**
|
27
|
+
* CodeHash is the SHA256 sum of the code outputted by builder, used for smart
|
28
|
+
* contract verification
|
29
|
+
*/
|
30
|
+
codeHash: Uint8Array;
|
17
31
|
}
|
18
32
|
/** StoreCodeProposal gov proposal content type to submit WASM code to the system */
|
19
33
|
export interface StoreCodeProposalSDKType {
|
20
|
-
/** Title is a short summary */
|
21
34
|
title: string;
|
22
|
-
/** Description is a human readable text */
|
23
35
|
description: string;
|
24
|
-
/** RunAs is the address that is passed to the contract's environment as sender */
|
25
36
|
run_as: string;
|
26
|
-
/** WASMByteCode can be raw or gzip compressed */
|
27
37
|
wasm_byte_code: Uint8Array;
|
28
|
-
/** InstantiatePermission to apply on contract creation, optional */
|
29
38
|
instantiate_permission?: AccessConfigSDKType;
|
39
|
+
unpin_code: boolean;
|
40
|
+
source: string;
|
41
|
+
builder: string;
|
42
|
+
code_hash: Uint8Array;
|
30
43
|
}
|
31
44
|
/**
|
32
45
|
* InstantiateContractProposal gov proposal content type to instantiate a
|
@@ -55,21 +68,13 @@ export interface InstantiateContractProposal {
|
|
55
68
|
* contract.
|
56
69
|
*/
|
57
70
|
export interface InstantiateContractProposalSDKType {
|
58
|
-
/** Title is a short summary */
|
59
71
|
title: string;
|
60
|
-
/** Description is a human readable text */
|
61
72
|
description: string;
|
62
|
-
/** RunAs is the address that is passed to the contract's environment as sender */
|
63
73
|
run_as: string;
|
64
|
-
/** Admin is an optional address that can execute migrations */
|
65
74
|
admin: string;
|
66
|
-
/** CodeID is the reference to the stored WASM code */
|
67
75
|
code_id: Long;
|
68
|
-
/** Label is optional metadata to be stored with a constract instance. */
|
69
76
|
label: string;
|
70
|
-
/** Msg json encoded message to be passed to the contract on instantiation */
|
71
77
|
msg: Uint8Array;
|
72
|
-
/** Funds coins that are transferred to the contract on instantiation */
|
73
78
|
funds: CoinSDKType[];
|
74
79
|
}
|
75
80
|
/** MigrateContractProposal gov proposal content type to migrate a contract. */
|
@@ -80,22 +85,17 @@ export interface MigrateContractProposal {
|
|
80
85
|
description: string;
|
81
86
|
/** Contract is the address of the smart contract */
|
82
87
|
contract: string;
|
83
|
-
/** CodeID references the new WASM
|
88
|
+
/** CodeID references the new WASM code */
|
84
89
|
codeId: Long;
|
85
90
|
/** Msg json encoded message to be passed to the contract on migration */
|
86
91
|
msg: Uint8Array;
|
87
92
|
}
|
88
93
|
/** MigrateContractProposal gov proposal content type to migrate a contract. */
|
89
94
|
export interface MigrateContractProposalSDKType {
|
90
|
-
/** Title is a short summary */
|
91
95
|
title: string;
|
92
|
-
/** Description is a human readable text */
|
93
96
|
description: string;
|
94
|
-
/** Contract is the address of the smart contract */
|
95
97
|
contract: string;
|
96
|
-
/** CodeID references the new WASM codesudo */
|
97
98
|
code_id: Long;
|
98
|
-
/** Msg json encoded message to be passed to the contract on migration */
|
99
99
|
msg: Uint8Array;
|
100
100
|
}
|
101
101
|
/** SudoContractProposal gov proposal content type to call sudo on a contract. */
|
@@ -111,13 +111,9 @@ export interface SudoContractProposal {
|
|
111
111
|
}
|
112
112
|
/** SudoContractProposal gov proposal content type to call sudo on a contract. */
|
113
113
|
export interface SudoContractProposalSDKType {
|
114
|
-
/** Title is a short summary */
|
115
114
|
title: string;
|
116
|
-
/** Description is a human readable text */
|
117
115
|
description: string;
|
118
|
-
/** Contract is the address of the smart contract */
|
119
116
|
contract: string;
|
120
|
-
/** Msg json encoded message to be passed to the contract as sudo */
|
121
117
|
msg: Uint8Array;
|
122
118
|
}
|
123
119
|
/**
|
@@ -143,17 +139,11 @@ export interface ExecuteContractProposal {
|
|
143
139
|
* contract.
|
144
140
|
*/
|
145
141
|
export interface ExecuteContractProposalSDKType {
|
146
|
-
/** Title is a short summary */
|
147
142
|
title: string;
|
148
|
-
/** Description is a human readable text */
|
149
143
|
description: string;
|
150
|
-
/** RunAs is the address that is passed to the contract's environment as sender */
|
151
144
|
run_as: string;
|
152
|
-
/** Contract is the address of the smart contract */
|
153
145
|
contract: string;
|
154
|
-
/** Msg json encoded message to be passed to the contract as execute */
|
155
146
|
msg: Uint8Array;
|
156
|
-
/** Funds coins that are transferred to the contract on instantiation */
|
157
147
|
funds: CoinSDKType[];
|
158
148
|
}
|
159
149
|
/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */
|
@@ -169,13 +159,9 @@ export interface UpdateAdminProposal {
|
|
169
159
|
}
|
170
160
|
/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */
|
171
161
|
export interface UpdateAdminProposalSDKType {
|
172
|
-
/** Title is a short summary */
|
173
162
|
title: string;
|
174
|
-
/** Description is a human readable text */
|
175
163
|
description: string;
|
176
|
-
/** NewAdmin address to be set */
|
177
164
|
new_admin: string;
|
178
|
-
/** Contract is the address of the smart contract */
|
179
165
|
contract: string;
|
180
166
|
}
|
181
167
|
/**
|
@@ -195,11 +181,8 @@ export interface ClearAdminProposal {
|
|
195
181
|
* contract.
|
196
182
|
*/
|
197
183
|
export interface ClearAdminProposalSDKType {
|
198
|
-
/** Title is a short summary */
|
199
184
|
title: string;
|
200
|
-
/** Description is a human readable text */
|
201
185
|
description: string;
|
202
|
-
/** Contract is the address of the smart contract */
|
203
186
|
contract: string;
|
204
187
|
}
|
205
188
|
/**
|
@@ -219,11 +202,8 @@ export interface PinCodesProposal {
|
|
219
202
|
* wasmvm cache.
|
220
203
|
*/
|
221
204
|
export interface PinCodesProposalSDKType {
|
222
|
-
/** Title is a short summary */
|
223
205
|
title: string;
|
224
|
-
/** Description is a human readable text */
|
225
206
|
description: string;
|
226
|
-
/** CodeIDs references the new WASM codes */
|
227
207
|
code_ids: Long[];
|
228
208
|
}
|
229
209
|
/**
|
@@ -243,12 +223,108 @@ export interface UnpinCodesProposal {
|
|
243
223
|
* the wasmvm cache.
|
244
224
|
*/
|
245
225
|
export interface UnpinCodesProposalSDKType {
|
226
|
+
title: string;
|
227
|
+
description: string;
|
228
|
+
code_ids: Long[];
|
229
|
+
}
|
230
|
+
/**
|
231
|
+
* AccessConfigUpdate contains the code id and the access config to be
|
232
|
+
* applied.
|
233
|
+
*/
|
234
|
+
export interface AccessConfigUpdate {
|
235
|
+
/** CodeID is the reference to the stored WASM code to be updated */
|
236
|
+
codeId: Long;
|
237
|
+
/** InstantiatePermission to apply to the set of code ids */
|
238
|
+
instantiatePermission?: AccessConfig;
|
239
|
+
}
|
240
|
+
/**
|
241
|
+
* AccessConfigUpdate contains the code id and the access config to be
|
242
|
+
* applied.
|
243
|
+
*/
|
244
|
+
export interface AccessConfigUpdateSDKType {
|
245
|
+
code_id: Long;
|
246
|
+
instantiate_permission?: AccessConfigSDKType;
|
247
|
+
}
|
248
|
+
/**
|
249
|
+
* UpdateInstantiateConfigProposal gov proposal content type to update
|
250
|
+
* instantiate config to a set of code ids.
|
251
|
+
*/
|
252
|
+
export interface UpdateInstantiateConfigProposal {
|
246
253
|
/** Title is a short summary */
|
247
254
|
title: string;
|
248
255
|
/** Description is a human readable text */
|
249
256
|
description: string;
|
250
|
-
/**
|
251
|
-
|
257
|
+
/**
|
258
|
+
* AccessConfigUpdate contains the list of code ids and the access config
|
259
|
+
* to be applied.
|
260
|
+
*/
|
261
|
+
accessConfigUpdates: AccessConfigUpdate[];
|
262
|
+
}
|
263
|
+
/**
|
264
|
+
* UpdateInstantiateConfigProposal gov proposal content type to update
|
265
|
+
* instantiate config to a set of code ids.
|
266
|
+
*/
|
267
|
+
export interface UpdateInstantiateConfigProposalSDKType {
|
268
|
+
title: string;
|
269
|
+
description: string;
|
270
|
+
access_config_updates: AccessConfigUpdateSDKType[];
|
271
|
+
}
|
272
|
+
/**
|
273
|
+
* StoreAndInstantiateContractProposal gov proposal content type to store
|
274
|
+
* and instantiate the contract.
|
275
|
+
*/
|
276
|
+
export interface StoreAndInstantiateContractProposal {
|
277
|
+
/** Title is a short summary */
|
278
|
+
title: string;
|
279
|
+
/** Description is a human readable text */
|
280
|
+
description: string;
|
281
|
+
/** RunAs is the address that is passed to the contract's environment as sender */
|
282
|
+
runAs: string;
|
283
|
+
/** WASMByteCode can be raw or gzip compressed */
|
284
|
+
wasmByteCode: Uint8Array;
|
285
|
+
/** InstantiatePermission to apply on contract creation, optional */
|
286
|
+
instantiatePermission?: AccessConfig;
|
287
|
+
/** UnpinCode code on upload, optional */
|
288
|
+
unpinCode: boolean;
|
289
|
+
/** Admin is an optional address that can execute migrations */
|
290
|
+
admin: string;
|
291
|
+
/** Label is optional metadata to be stored with a constract instance. */
|
292
|
+
label: string;
|
293
|
+
/** Msg json encoded message to be passed to the contract on instantiation */
|
294
|
+
msg: Uint8Array;
|
295
|
+
/** Funds coins that are transferred to the contract on instantiation */
|
296
|
+
funds: Coin[];
|
297
|
+
/** Source is the URL where the code is hosted */
|
298
|
+
source: string;
|
299
|
+
/**
|
300
|
+
* Builder is the docker image used to build the code deterministically, used
|
301
|
+
* for smart contract verification
|
302
|
+
*/
|
303
|
+
builder: string;
|
304
|
+
/**
|
305
|
+
* CodeHash is the SHA256 sum of the code outputted by builder, used for smart
|
306
|
+
* contract verification
|
307
|
+
*/
|
308
|
+
codeHash: Uint8Array;
|
309
|
+
}
|
310
|
+
/**
|
311
|
+
* StoreAndInstantiateContractProposal gov proposal content type to store
|
312
|
+
* and instantiate the contract.
|
313
|
+
*/
|
314
|
+
export interface StoreAndInstantiateContractProposalSDKType {
|
315
|
+
title: string;
|
316
|
+
description: string;
|
317
|
+
run_as: string;
|
318
|
+
wasm_byte_code: Uint8Array;
|
319
|
+
instantiate_permission?: AccessConfigSDKType;
|
320
|
+
unpin_code: boolean;
|
321
|
+
admin: string;
|
322
|
+
label: string;
|
323
|
+
msg: Uint8Array;
|
324
|
+
funds: CoinSDKType[];
|
325
|
+
source: string;
|
326
|
+
builder: string;
|
327
|
+
code_hash: Uint8Array;
|
252
328
|
}
|
253
329
|
export declare const StoreCodeProposal: {
|
254
330
|
encode(message: StoreCodeProposal, writer?: _m0.Writer): _m0.Writer;
|
@@ -295,3 +371,18 @@ export declare const UnpinCodesProposal: {
|
|
295
371
|
decode(input: _m0.Reader | Uint8Array, length?: number): UnpinCodesProposal;
|
296
372
|
fromPartial(object: DeepPartial<UnpinCodesProposal>): UnpinCodesProposal;
|
297
373
|
};
|
374
|
+
export declare const AccessConfigUpdate: {
|
375
|
+
encode(message: AccessConfigUpdate, writer?: _m0.Writer): _m0.Writer;
|
376
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfigUpdate;
|
377
|
+
fromPartial(object: DeepPartial<AccessConfigUpdate>): AccessConfigUpdate;
|
378
|
+
};
|
379
|
+
export declare const UpdateInstantiateConfigProposal: {
|
380
|
+
encode(message: UpdateInstantiateConfigProposal, writer?: _m0.Writer): _m0.Writer;
|
381
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstantiateConfigProposal;
|
382
|
+
fromPartial(object: DeepPartial<UpdateInstantiateConfigProposal>): UpdateInstantiateConfigProposal;
|
383
|
+
};
|
384
|
+
export declare const StoreAndInstantiateContractProposal: {
|
385
|
+
encode(message: StoreAndInstantiateContractProposal, writer?: _m0.Writer): _m0.Writer;
|
386
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): StoreAndInstantiateContractProposal;
|
387
|
+
fromPartial(object: DeepPartial<StoreAndInstantiateContractProposal>): StoreAndInstantiateContractProposal;
|
388
|
+
};
|