injectivejs 1.11.13 → 1.11.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binary.d.ts +1 -1
- package/binary.js +1 -1
- package/cosmos/auth/v1beta1/auth.d.ts +70 -6
- package/cosmos/auth/v1beta1/auth.js +28 -0
- package/cosmos/auth/v1beta1/query.d.ts +362 -32
- package/cosmos/auth/v1beta1/query.js +148 -0
- package/cosmos/auth/v1beta1/query.rpc.func.d.ts +77 -0
- package/cosmos/auth/v1beta1/query.rpc.func.js +77 -27
- package/cosmos/authz/v1beta1/authz.d.ts +69 -6
- package/cosmos/authz/v1beta1/authz.js +27 -0
- package/cosmos/authz/v1beta1/tx.d.ts +94 -6
- package/cosmos/authz/v1beta1/tx.js +40 -0
- package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +24 -0
- package/cosmos/authz/v1beta1/tx.rpc.func.js +24 -9
- package/cosmos/bank/v1beta1/bank.d.ts +136 -18
- package/cosmos/bank/v1beta1/bank.js +48 -0
- package/cosmos/bank/v1beta1/query.d.ts +619 -86
- package/cosmos/bank/v1beta1/query.js +199 -0
- package/cosmos/bank/v1beta1/query.rpc.func.d.ts +115 -0
- package/cosmos/bank/v1beta1/query.rpc.func.js +115 -50
- package/cosmos/bank/v1beta1/tx.d.ts +151 -14
- package/cosmos/bank/v1beta1/tx.js +61 -0
- package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +32 -0
- package/cosmos/bank/v1beta1/tx.rpc.func.js +32 -12
- package/cosmos/base/abci/v1beta1/abci.d.ts +331 -68
- package/cosmos/base/abci/v1beta1/abci.js +73 -0
- package/cosmos/base/query/v1beta1/pagination.d.ts +36 -0
- package/cosmos/base/query/v1beta1/pagination.js +24 -0
- package/cosmos/base/v1beta1/coin.d.ts +56 -0
- package/cosmos/base/v1beta1/coin.js +32 -0
- package/cosmos/bundle.d.ts +8 -8
- package/cosmos/bundle.js +15 -15
- package/cosmos/crypto/ed25519/keys.d.ts +29 -0
- package/cosmos/crypto/ed25519/keys.js +17 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +29 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.js +17 -0
- package/cosmos/crypto/secp256k1/keys.d.ts +34 -2
- package/cosmos/crypto/secp256k1/keys.js +16 -0
- package/cosmos/crypto/secp256r1/keys.d.ts +42 -6
- package/cosmos/crypto/secp256r1/keys.js +12 -0
- package/cosmos/distribution/v1beta1/distribution.d.ts +201 -12
- package/cosmos/distribution/v1beta1/distribution.js +105 -0
- package/cosmos/distribution/v1beta1/tx.d.ts +223 -10
- package/cosmos/distribution/v1beta1/tx.js +109 -0
- package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +57 -0
- package/cosmos/distribution/v1beta1/tx.rpc.func.js +57 -22
- package/cosmos/feegrant/v1beta1/tx.d.ts +135 -19
- package/cosmos/feegrant/v1beta1/tx.js +41 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +22 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.func.js +22 -7
- package/cosmos/gov/v1/gov.d.ts +343 -80
- package/cosmos/gov/v1/gov.js +61 -0
- package/cosmos/gov/v1/tx.d.ts +376 -65
- package/cosmos/gov/v1/tx.js +96 -0
- package/cosmos/gov/v1/tx.rpc.func.d.ts +48 -0
- package/cosmos/gov/v1/tx.rpc.func.js +48 -13
- package/cosmos/gov/v1beta1/gov.d.ts +293 -61
- package/cosmos/gov/v1beta1/gov.js +59 -0
- package/cosmos/gov/v1beta1/query.d.ts +439 -82
- package/cosmos/gov/v1beta1/query.js +97 -0
- package/cosmos/gov/v1beta1/query.rpc.func.d.ts +48 -0
- package/cosmos/gov/v1beta1/query.rpc.func.js +48 -8
- package/cosmos/gov/v1beta1/tx.d.ts +213 -37
- package/cosmos/gov/v1beta1/tx.js +53 -0
- package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +26 -0
- package/cosmos/gov/v1beta1/tx.rpc.func.js +26 -6
- package/cosmos/group/v1/tx.d.ts +804 -155
- package/cosmos/group/v1/tx.js +168 -0
- package/cosmos/group/v1/tx.rpc.func.d.ts +84 -0
- package/cosmos/group/v1/tx.rpc.func.js +84 -14
- package/cosmos/group/v1/types.d.ts +398 -83
- package/cosmos/group/v1/types.js +82 -0
- package/cosmos/ics23/v1/proofs.d.ts +294 -22
- package/cosmos/ics23/v1/proofs.js +138 -0
- package/cosmos/staking/v1beta1/query.d.ts +660 -102
- package/cosmos/staking/v1beta1/query.js +186 -0
- package/cosmos/staking/v1beta1/query.rpc.func.d.ts +109 -0
- package/cosmos/staking/v1beta1/query.rpc.func.js +109 -39
- package/cosmos/staking/v1beta1/staking.d.ts +631 -117
- package/cosmos/staking/v1beta1/staking.js +153 -0
- package/cosmos/staking/v1beta1/tx.d.ts +242 -22
- package/cosmos/staking/v1beta1/tx.js +96 -0
- package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +50 -0
- package/cosmos/staking/v1beta1/tx.rpc.func.js +50 -15
- package/cosmos/tx/signing/v1beta1/signing.d.ts +135 -24
- package/cosmos/tx/signing/v1beta1/signing.js +33 -0
- package/cosmos/tx/v1beta1/service.d.ts +375 -46
- package/cosmos/tx/v1beta1/service.js +145 -0
- package/cosmos/tx/v1beta1/service.rpc.func.d.ts +64 -0
- package/cosmos/tx/v1beta1/service.rpc.func.js +64 -19
- package/cosmos/tx/v1beta1/tx.d.ts +303 -46
- package/cosmos/tx/v1beta1/tx.js +99 -0
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +120 -26
- package/cosmos/upgrade/v1beta1/upgrade.js +34 -0
- package/cosmos/vesting/v1beta1/tx.d.ts +102 -6
- package/cosmos/vesting/v1beta1/tx.js +48 -0
- package/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +25 -0
- package/cosmos/vesting/v1beta1/tx.rpc.func.js +25 -10
- package/cosmos/vesting/v1beta1/vesting.d.ts +105 -8
- package/cosmos/vesting/v1beta1/vesting.js +45 -0
- package/cosmos_proto/cosmos.d.ts +31 -0
- package/cosmos_proto/cosmos.js +19 -0
- package/cosmwasm/bundle.d.ts +2 -2
- package/cosmwasm/bundle.js +3 -3
- package/cosmwasm/wasm/v1/proposal_legacy.d.ts +631 -158
- package/cosmwasm/wasm/v1/proposal_legacy.js +127 -0
- package/cosmwasm/wasm/v1/query.d.ts +615 -82
- package/cosmwasm/wasm/v1/query.js +195 -0
- package/cosmwasm/wasm/v1/query.rpc.func.d.ts +85 -0
- package/cosmwasm/wasm/v1/query.rpc.func.js +85 -15
- package/cosmwasm/wasm/v1/tx.d.ts +956 -170
- package/cosmwasm/wasm/v1/tx.js +242 -0
- package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +128 -0
- package/cosmwasm/wasm/v1/tx.rpc.func.js +128 -43
- package/cosmwasm/wasm/v1/types.d.ts +217 -40
- package/cosmwasm/wasm/v1/types.js +49 -0
- package/esm/binary.js +1 -1
- package/esm/cosmos/auth/v1beta1/auth.js +28 -0
- package/esm/cosmos/auth/v1beta1/query.js +148 -0
- package/esm/cosmos/auth/v1beta1/query.rpc.func.js +77 -27
- package/esm/cosmos/authz/v1beta1/authz.js +27 -0
- package/esm/cosmos/authz/v1beta1/tx.js +40 -0
- package/esm/cosmos/authz/v1beta1/tx.rpc.func.js +24 -9
- package/esm/cosmos/bank/v1beta1/bank.js +48 -0
- package/esm/cosmos/bank/v1beta1/query.js +199 -0
- package/esm/cosmos/bank/v1beta1/query.rpc.func.js +115 -50
- package/esm/cosmos/bank/v1beta1/tx.js +61 -0
- package/esm/cosmos/bank/v1beta1/tx.rpc.func.js +32 -12
- package/esm/cosmos/base/abci/v1beta1/abci.js +73 -0
- package/esm/cosmos/base/query/v1beta1/pagination.js +24 -0
- package/esm/cosmos/base/v1beta1/coin.js +32 -0
- package/esm/cosmos/bundle.js +8 -8
- package/esm/cosmos/crypto/ed25519/keys.js +17 -0
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +17 -0
- package/esm/cosmos/crypto/secp256k1/keys.js +16 -0
- package/esm/cosmos/crypto/secp256r1/keys.js +12 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +105 -0
- package/esm/cosmos/distribution/v1beta1/tx.js +109 -0
- package/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +57 -22
- package/esm/cosmos/feegrant/v1beta1/tx.js +41 -0
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +22 -7
- package/esm/cosmos/gov/v1/gov.js +61 -0
- package/esm/cosmos/gov/v1/tx.js +96 -0
- package/esm/cosmos/gov/v1/tx.rpc.func.js +48 -13
- package/esm/cosmos/gov/v1beta1/gov.js +59 -0
- package/esm/cosmos/gov/v1beta1/query.js +97 -0
- package/esm/cosmos/gov/v1beta1/query.rpc.func.js +48 -8
- package/esm/cosmos/gov/v1beta1/tx.js +53 -0
- package/esm/cosmos/gov/v1beta1/tx.rpc.func.js +26 -6
- package/esm/cosmos/group/v1/tx.js +168 -0
- package/esm/cosmos/group/v1/tx.rpc.func.js +84 -14
- package/esm/cosmos/group/v1/types.js +82 -0
- package/esm/cosmos/ics23/v1/proofs.js +138 -0
- package/esm/cosmos/staking/v1beta1/query.js +186 -0
- package/esm/cosmos/staking/v1beta1/query.rpc.func.js +109 -39
- package/esm/cosmos/staking/v1beta1/staking.js +153 -0
- package/esm/cosmos/staking/v1beta1/tx.js +96 -0
- package/esm/cosmos/staking/v1beta1/tx.rpc.func.js +50 -15
- package/esm/cosmos/tx/signing/v1beta1/signing.js +33 -0
- package/esm/cosmos/tx/v1beta1/service.js +145 -0
- package/esm/cosmos/tx/v1beta1/service.rpc.func.js +64 -19
- package/esm/cosmos/tx/v1beta1/tx.js +99 -0
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +34 -0
- package/esm/cosmos/vesting/v1beta1/tx.js +48 -0
- package/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +25 -10
- package/esm/cosmos/vesting/v1beta1/vesting.js +45 -0
- package/esm/cosmos_proto/cosmos.js +19 -0
- package/esm/cosmwasm/bundle.js +2 -2
- package/esm/cosmwasm/wasm/v1/proposal_legacy.js +127 -0
- package/esm/cosmwasm/wasm/v1/query.js +195 -0
- package/esm/cosmwasm/wasm/v1/query.rpc.func.js +85 -15
- package/esm/cosmwasm/wasm/v1/tx.js +242 -0
- package/esm/cosmwasm/wasm/v1/tx.rpc.func.js +128 -43
- package/esm/cosmwasm/wasm/v1/types.js +49 -0
- package/esm/extern.js +1 -1
- package/esm/google/api/http.js +283 -0
- package/esm/google/protobuf/any.js +90 -0
- package/esm/google/protobuf/descriptor.js +215 -0
- package/esm/google/protobuf/duration.js +63 -0
- package/esm/google/protobuf/timestamp.js +94 -0
- package/esm/helper-func-types.js +1 -1
- package/esm/helpers.js +1 -1
- package/esm/ibc/applications/transfer/v1/transfer.js +24 -0
- package/esm/ibc/applications/transfer/v1/tx.js +27 -0
- package/esm/ibc/applications/transfer/v1/tx.rpc.func.js +12 -2
- package/esm/ibc/bundle.js +1 -1
- package/esm/ibc/core/channel/v1/channel.js +70 -0
- package/esm/ibc/core/channel/v1/tx.js +242 -0
- package/esm/ibc/core/channel/v1/tx.rpc.func.js +115 -20
- package/esm/ibc/core/channel/v1/upgrade.js +25 -0
- package/esm/ibc/core/client/v1/client.js +45 -0
- package/esm/ibc/core/client/v1/tx.js +90 -0
- package/esm/ibc/core/client/v1/tx.rpc.func.js +42 -7
- package/esm/ibc/core/commitment/v1/commitment.js +25 -0
- package/esm/ibc/core/connection/v1/connection.js +47 -0
- package/esm/ibc/core/connection/v1/tx.js +66 -0
- package/esm/ibc/core/connection/v1/tx.rpc.func.js +32 -7
- package/esm/index.js +1 -1
- package/esm/injective/auction/v1beta1/auction.js +30 -0
- package/esm/injective/auction/v1beta1/genesis.js +6 -0
- package/esm/injective/auction/v1beta1/query.js +52 -0
- package/esm/injective/auction/v1beta1/query.rpc.func.js +23 -3
- package/esm/injective/auction/v1beta1/tx.js +21 -0
- package/esm/injective/auction/v1beta1/tx.rpc.func.js +11 -1
- package/esm/injective/bundle.js +14 -14
- package/esm/injective/crypto/v1beta1/ethsecp256k1/keys.js +15 -0
- package/esm/injective/exchange/v1beta1/authz.js +58 -0
- package/esm/injective/exchange/v1beta1/events.js +180 -0
- package/esm/injective/exchange/v1beta1/exchange.js +263 -0
- package/esm/injective/exchange/v1beta1/genesis.js +89 -0
- package/esm/injective/exchange/v1beta1/proposal.js +113 -0
- package/esm/injective/exchange/v1beta1/query.js +864 -0
- package/esm/injective/exchange/v1beta1/query.rpc.func.js +364 -64
- package/esm/injective/exchange/v1beta1/tx.js +487 -0
- package/esm/injective/exchange/v1beta1/tx.rpc.func.js +228 -53
- package/esm/injective/insurance/v1beta1/events.js +25 -0
- package/esm/injective/insurance/v1beta1/genesis.js +6 -0
- package/esm/injective/insurance/v1beta1/insurance.js +15 -0
- package/esm/injective/insurance/v1beta1/query.js +84 -0
- package/esm/injective/insurance/v1beta1/query.rpc.func.js +37 -7
- package/esm/injective/insurance/v1beta1/tx.js +46 -0
- package/esm/injective/insurance/v1beta1/tx.rpc.func.js +25 -5
- package/esm/injective/ocr/v1beta1/genesis.js +41 -0
- package/esm/injective/ocr/v1beta1/ocr.js +108 -0
- package/esm/injective/ocr/v1beta1/query.js +70 -0
- package/esm/injective/ocr/v1beta1/query.rpc.func.js +42 -7
- package/esm/injective/ocr/v1beta1/tx.js +90 -0
- package/esm/injective/ocr/v1beta1/tx.rpc.func.js +57 -12
- package/esm/injective/oracle/v1beta1/events.js +56 -0
- package/esm/injective/oracle/v1beta1/genesis.js +11 -0
- package/esm/injective/oracle/v1beta1/oracle.js +122 -0
- package/esm/injective/oracle/v1beta1/proposal.js +55 -0
- package/esm/injective/oracle/v1beta1/query.js +240 -0
- package/esm/injective/oracle/v1beta1/query.rpc.func.js +98 -13
- package/esm/injective/oracle/v1beta1/tx.js +93 -0
- package/esm/injective/oracle/v1beta1/tx.rpc.func.js +52 -12
- package/esm/injective/peggy/v1/attestation.js +31 -0
- package/esm/injective/peggy/v1/batch.js +12 -0
- package/esm/injective/peggy/v1/events.js +85 -0
- package/esm/injective/peggy/v1/genesis.js +6 -0
- package/esm/injective/peggy/v1/msgs.js +223 -0
- package/esm/injective/peggy/v1/msgs.rpc.func.js +73 -3
- package/esm/injective/peggy/v1/params.js +5 -0
- package/esm/injective/peggy/v1/pool.js +11 -0
- package/esm/injective/peggy/v1/proposal.js +10 -0
- package/esm/injective/peggy/v1/query.js +214 -0
- package/esm/injective/peggy/v1/query.rpc.func.js +110 -5
- package/esm/injective/peggy/v1/types.js +37 -0
- package/esm/injective/permissions/v1beta1/events.js +5 -0
- package/esm/injective/permissions/v1beta1/genesis.js +6 -0
- package/esm/injective/permissions/v1beta1/params.js +6 -0
- package/esm/injective/permissions/v1beta1/permissions.js +33 -0
- package/esm/injective/permissions/v1beta1/query.js +74 -0
- package/esm/injective/permissions/v1beta1/query.rpc.func.js +43 -13
- package/esm/injective/permissions/v1beta1/tx.js +90 -0
- package/esm/injective/permissions/v1beta1/tx.rpc.func.js +35 -0
- package/esm/injective/stream/v1beta1/query.js +110 -0
- package/esm/injective/tokenfactory/v1beta1/authorityMetadata.js +8 -0
- package/esm/injective/tokenfactory/v1beta1/events.js +25 -0
- package/esm/injective/tokenfactory/v1beta1/genesis.js +14 -0
- package/esm/injective/tokenfactory/v1beta1/params.js +6 -0
- package/esm/injective/tokenfactory/v1beta1/query.js +54 -0
- package/esm/injective/tokenfactory/v1beta1/query.rpc.func.js +27 -7
- package/esm/injective/tokenfactory/v1beta1/tx.js +83 -0
- package/esm/injective/tokenfactory/v1beta1/tx.rpc.func.js +30 -0
- package/esm/injective/types/v1beta1/account.js +7 -0
- package/esm/injective/types/v1beta1/tx_ext.js +5 -0
- package/esm/injective/types/v1beta1/tx_response.js +13 -0
- package/esm/injective/wasmx/v1/events.js +15 -0
- package/esm/injective/wasmx/v1/genesis.js +11 -0
- package/esm/injective/wasmx/v1/proposal.js +25 -0
- package/esm/injective/wasmx/v1/query.js +39 -0
- package/esm/injective/wasmx/v1/query.rpc.func.js +18 -3
- package/esm/injective/wasmx/v1/tx.js +63 -0
- package/esm/injective/wasmx/v1/tx.rpc.func.js +30 -0
- package/esm/injective/wasmx/v1/wasmx.js +10 -0
- package/esm/registry.js +1 -1
- package/esm/tendermint/abci/types.js +255 -0
- package/esm/tendermint/crypto/keys.js +6 -0
- package/esm/tendermint/crypto/proof.js +29 -0
- package/esm/tendermint/types/block.js +5 -0
- package/esm/tendermint/types/evidence.js +22 -0
- package/esm/tendermint/types/params.js +46 -0
- package/esm/tendermint/types/types.js +87 -0
- package/esm/tendermint/types/validator.js +15 -0
- package/esm/tendermint/version/types.js +16 -0
- package/esm/types.js +1 -1
- package/esm/utf8.js +1 -1
- package/esm/varint.js +1 -1
- package/extern.d.ts +1 -1
- package/extern.js +1 -1
- package/google/api/http.d.ts +343 -14
- package/google/api/http.js +283 -0
- package/google/protobuf/any.d.ts +102 -2
- package/google/protobuf/any.js +90 -0
- package/google/protobuf/descriptor.d.ts +715 -86
- package/google/protobuf/descriptor.js +215 -0
- package/google/protobuf/duration.d.ts +69 -0
- package/google/protobuf/duration.js +63 -0
- package/google/protobuf/timestamp.d.ts +100 -0
- package/google/protobuf/timestamp.js +94 -0
- package/helper-func-types.d.ts +1 -1
- package/helper-func-types.js +1 -1
- package/helpers.d.ts +1 -1
- package/helpers.js +1 -1
- package/ibc/applications/transfer/v1/transfer.d.ts +54 -4
- package/ibc/applications/transfer/v1/transfer.js +24 -0
- package/ibc/applications/transfer/v1/tx.d.ts +125 -26
- package/ibc/applications/transfer/v1/tx.js +27 -0
- package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +12 -0
- package/ibc/applications/transfer/v1/tx.rpc.func.js +12 -2
- package/ibc/bundle.d.ts +1 -1
- package/ibc/bundle.js +2 -2
- package/ibc/core/channel/v1/channel.d.ts +316 -64
- package/ibc/core/channel/v1/channel.js +70 -0
- package/ibc/core/channel/v1/tx.d.ts +676 -70
- package/ibc/core/channel/v1/tx.js +242 -0
- package/ibc/core/channel/v1/tx.rpc.func.d.ts +115 -0
- package/ibc/core/channel/v1/tx.rpc.func.js +115 -20
- package/ibc/core/channel/v1/upgrade.d.ts +55 -4
- package/ibc/core/channel/v1/upgrade.js +25 -0
- package/ibc/core/client/v1/client.d.ts +129 -18
- package/ibc/core/client/v1/client.js +45 -0
- package/ibc/core/client/v1/tx.d.ts +338 -56
- package/ibc/core/client/v1/tx.js +90 -0
- package/ibc/core/client/v1/tx.rpc.func.d.ts +42 -0
- package/ibc/core/client/v1/tx.rpc.func.js +42 -7
- package/ibc/core/commitment/v1/commitment.d.ts +43 -0
- package/ibc/core/commitment/v1/commitment.js +25 -0
- package/ibc/core/connection/v1/connection.d.ts +197 -36
- package/ibc/core/connection/v1/connection.js +47 -0
- package/ibc/core/connection/v1/tx.d.ts +250 -56
- package/ibc/core/connection/v1/tx.js +66 -0
- package/ibc/core/connection/v1/tx.rpc.func.d.ts +32 -0
- package/ibc/core/connection/v1/tx.rpc.func.js +32 -7
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/injective/auction/v1beta1/auction.d.ts +168 -26
- package/injective/auction/v1beta1/auction.js +30 -0
- package/injective/auction/v1beta1/genesis.d.ts +48 -12
- package/injective/auction/v1beta1/genesis.js +6 -0
- package/injective/auction/v1beta1/query.d.ts +138 -10
- package/injective/auction/v1beta1/query.js +52 -0
- package/injective/auction/v1beta1/query.rpc.func.d.ts +23 -0
- package/injective/auction/v1beta1/query.rpc.func.js +23 -3
- package/injective/auction/v1beta1/tx.d.ts +81 -8
- package/injective/auction/v1beta1/tx.js +21 -0
- package/injective/auction/v1beta1/tx.rpc.func.d.ts +11 -0
- package/injective/auction/v1beta1/tx.rpc.func.js +11 -1
- package/injective/bundle.d.ts +14 -14
- package/injective/bundle.js +18 -18
- package/injective/crypto/v1beta1/ethsecp256k1/keys.d.ts +27 -0
- package/injective/crypto/v1beta1/ethsecp256k1/keys.js +15 -0
- package/injective/exchange/v1beta1/authz.d.ts +174 -6
- package/injective/exchange/v1beta1/authz.js +58 -0
- package/injective/exchange/v1beta1/events.d.ts +546 -2
- package/injective/exchange/v1beta1/events.js +180 -0
- package/injective/exchange/v1beta1/exchange.d.ts +1305 -188
- package/injective/exchange/v1beta1/exchange.js +263 -0
- package/injective/exchange/v1beta1/genesis.d.ts +357 -38
- package/injective/exchange/v1beta1/genesis.js +89 -0
- package/injective/exchange/v1beta1/proposal.d.ts +589 -94
- package/injective/exchange/v1beta1/proposal.js +113 -0
- package/injective/exchange/v1beta1/query.d.ts +2162 -136
- package/injective/exchange/v1beta1/query.js +864 -0
- package/injective/exchange/v1beta1/query.rpc.func.d.ts +364 -0
- package/injective/exchange/v1beta1/query.rpc.func.js +364 -64
- package/injective/exchange/v1beta1/tx.d.ts +1503 -170
- package/injective/exchange/v1beta1/tx.js +487 -0
- package/injective/exchange/v1beta1/tx.rpc.func.d.ts +228 -0
- package/injective/exchange/v1beta1/tx.rpc.func.js +228 -53
- package/injective/insurance/v1beta1/events.d.ts +111 -12
- package/injective/insurance/v1beta1/events.js +25 -0
- package/injective/insurance/v1beta1/genesis.d.ts +30 -6
- package/injective/insurance/v1beta1/genesis.js +6 -0
- package/injective/insurance/v1beta1/insurance.d.ts +117 -24
- package/injective/insurance/v1beta1/insurance.js +15 -0
- package/injective/insurance/v1beta1/query.d.ts +162 -2
- package/injective/insurance/v1beta1/query.js +84 -0
- package/injective/insurance/v1beta1/query.rpc.func.d.ts +37 -0
- package/injective/insurance/v1beta1/query.rpc.func.js +37 -7
- package/injective/insurance/v1beta1/tx.d.ts +186 -24
- package/injective/insurance/v1beta1/tx.js +46 -0
- package/injective/insurance/v1beta1/tx.rpc.func.d.ts +25 -0
- package/injective/insurance/v1beta1/tx.rpc.func.js +25 -5
- package/injective/ocr/v1beta1/genesis.d.ts +171 -18
- package/injective/ocr/v1beta1/genesis.js +41 -0
- package/injective/ocr/v1beta1/ocr.d.ts +514 -68
- package/injective/ocr/v1beta1/ocr.js +108 -0
- package/injective/ocr/v1beta1/query.d.ts +210 -0
- package/injective/ocr/v1beta1/query.js +70 -0
- package/injective/ocr/v1beta1/query.rpc.func.d.ts +42 -0
- package/injective/ocr/v1beta1/query.rpc.func.js +42 -7
- package/injective/ocr/v1beta1/tx.d.ts +360 -30
- package/injective/ocr/v1beta1/tx.js +90 -0
- package/injective/ocr/v1beta1/tx.rpc.func.d.ts +57 -0
- package/injective/ocr/v1beta1/tx.rpc.func.js +57 -12
- package/injective/oracle/v1beta1/events.d.ts +174 -4
- package/injective/oracle/v1beta1/events.js +56 -0
- package/injective/oracle/v1beta1/genesis.d.ts +39 -4
- package/injective/oracle/v1beta1/genesis.js +11 -0
- package/injective/oracle/v1beta1/oracle.d.ts +514 -52
- package/injective/oracle/v1beta1/oracle.js +122 -0
- package/injective/oracle/v1beta1/proposal.d.ts +165 -0
- package/injective/oracle/v1beta1/proposal.js +55 -0
- package/injective/oracle/v1beta1/query.d.ts +502 -0
- package/injective/oracle/v1beta1/query.js +240 -0
- package/injective/oracle/v1beta1/query.rpc.func.d.ts +98 -0
- package/injective/oracle/v1beta1/query.rpc.func.js +98 -13
- package/injective/oracle/v1beta1/tx.d.ts +251 -10
- package/injective/oracle/v1beta1/tx.js +93 -0
- package/injective/oracle/v1beta1/tx.rpc.func.d.ts +52 -0
- package/injective/oracle/v1beta1/tx.rpc.func.js +52 -12
- package/injective/peggy/v1/attestation.d.ts +43 -0
- package/injective/peggy/v1/attestation.js +31 -0
- package/injective/peggy/v1/batch.d.ts +36 -4
- package/injective/peggy/v1/batch.js +12 -0
- package/injective/peggy/v1/events.d.ts +255 -0
- package/injective/peggy/v1/events.js +85 -0
- package/injective/peggy/v1/genesis.d.ts +18 -2
- package/injective/peggy/v1/genesis.js +6 -0
- package/injective/peggy/v1/msgs.d.ts +473 -10
- package/injective/peggy/v1/msgs.js +223 -0
- package/injective/peggy/v1/msgs.rpc.func.d.ts +73 -0
- package/injective/peggy/v1/msgs.rpc.func.js +73 -3
- package/injective/peggy/v1/params.d.ts +15 -0
- package/injective/peggy/v1/params.js +5 -0
- package/injective/peggy/v1/pool.d.ts +33 -2
- package/injective/peggy/v1/pool.js +11 -0
- package/injective/peggy/v1/proposal.d.ts +30 -0
- package/injective/peggy/v1/proposal.js +10 -0
- package/injective/peggy/v1/query.d.ts +626 -0
- package/injective/peggy/v1/query.js +214 -0
- package/injective/peggy/v1/query.rpc.func.d.ts +110 -0
- package/injective/peggy/v1/query.rpc.func.js +110 -5
- package/injective/peggy/v1/types.d.ts +85 -6
- package/injective/peggy/v1/types.js +37 -0
- package/injective/permissions/v1beta1/events.d.ts +15 -0
- package/injective/permissions/v1beta1/events.js +5 -0
- package/injective/permissions/v1beta1/genesis.d.ts +24 -4
- package/injective/permissions/v1beta1/genesis.js +6 -0
- package/injective/permissions/v1beta1/params.d.ts +18 -2
- package/injective/permissions/v1beta1/params.js +6 -0
- package/injective/permissions/v1beta1/permissions.d.ts +117 -12
- package/injective/permissions/v1beta1/permissions.js +33 -0
- package/injective/permissions/v1beta1/query.d.ts +180 -6
- package/injective/permissions/v1beta1/query.js +74 -0
- package/injective/permissions/v1beta1/query.rpc.func.d.ts +43 -0
- package/injective/permissions/v1beta1/query.rpc.func.js +43 -13
- package/injective/permissions/v1beta1/tx.d.ts +318 -16
- package/injective/permissions/v1beta1/tx.js +90 -0
- package/injective/permissions/v1beta1/tx.rpc.func.d.ts +35 -0
- package/injective/permissions/v1beta1/tx.rpc.func.js +35 -0
- package/injective/stream/v1beta1/query.d.ts +336 -2
- package/injective/stream/v1beta1/query.js +110 -0
- package/injective/tokenfactory/v1beta1/authorityMetadata.d.ts +20 -2
- package/injective/tokenfactory/v1beta1/authorityMetadata.js +8 -0
- package/injective/tokenfactory/v1beta1/events.d.ts +75 -0
- package/injective/tokenfactory/v1beta1/events.js +25 -0
- package/injective/tokenfactory/v1beta1/genesis.d.ts +38 -4
- package/injective/tokenfactory/v1beta1/genesis.js +14 -0
- package/injective/tokenfactory/v1beta1/params.d.ts +18 -2
- package/injective/tokenfactory/v1beta1/params.js +6 -0
- package/injective/tokenfactory/v1beta1/query.d.ts +120 -6
- package/injective/tokenfactory/v1beta1/query.js +54 -0
- package/injective/tokenfactory/v1beta1/query.rpc.func.d.ts +27 -0
- package/injective/tokenfactory/v1beta1/query.rpc.func.js +27 -7
- package/injective/tokenfactory/v1beta1/tx.d.ts +183 -4
- package/injective/tokenfactory/v1beta1/tx.js +83 -0
- package/injective/tokenfactory/v1beta1/tx.rpc.func.d.ts +30 -0
- package/injective/tokenfactory/v1beta1/tx.rpc.func.js +30 -0
- package/injective/types/v1beta1/account.d.ts +13 -0
- package/injective/types/v1beta1/account.js +7 -0
- package/injective/types/v1beta1/tx_ext.d.ts +15 -0
- package/injective/types/v1beta1/tx_ext.js +5 -0
- package/injective/types/v1beta1/tx_response.d.ts +31 -2
- package/injective/types/v1beta1/tx_response.js +13 -0
- package/injective/wasmx/v1/events.d.ts +45 -0
- package/injective/wasmx/v1/events.js +15 -0
- package/injective/wasmx/v1/genesis.d.ts +39 -4
- package/injective/wasmx/v1/genesis.js +11 -0
- package/injective/wasmx/v1/proposal.d.ts +99 -8
- package/injective/wasmx/v1/proposal.js +25 -0
- package/injective/wasmx/v1/query.d.ts +85 -2
- package/injective/wasmx/v1/query.js +39 -0
- package/injective/wasmx/v1/query.rpc.func.d.ts +18 -0
- package/injective/wasmx/v1/query.rpc.func.js +18 -3
- package/injective/wasmx/v1/tx.d.ts +253 -26
- package/injective/wasmx/v1/tx.js +63 -0
- package/injective/wasmx/v1/tx.rpc.func.d.ts +30 -0
- package/injective/wasmx/v1/tx.rpc.func.js +30 -0
- package/injective/wasmx/v1/wasmx.d.ts +60 -10
- package/injective/wasmx/v1/wasmx.js +10 -0
- package/package.json +9 -9
- package/registry.d.ts +1 -1
- package/registry.js +1 -1
- package/tendermint/abci/types.d.ts +971 -98
- package/tendermint/abci/types.js +255 -0
- package/tendermint/crypto/keys.d.ts +18 -2
- package/tendermint/crypto/keys.js +6 -0
- package/tendermint/crypto/proof.d.ts +89 -6
- package/tendermint/crypto/proof.js +29 -0
- package/tendermint/types/block.d.ts +15 -0
- package/tendermint/types/block.js +5 -0
- package/tendermint/types/evidence.d.ts +66 -4
- package/tendermint/types/evidence.js +22 -0
- package/tendermint/types/params.d.ts +112 -8
- package/tendermint/types/params.js +46 -0
- package/tendermint/types/types.d.ts +327 -42
- package/tendermint/types/types.js +87 -0
- package/tendermint/types/validator.d.ts +45 -0
- package/tendermint/types/validator.js +15 -0
- package/tendermint/version/types.d.ts +28 -0
- package/tendermint/version/types.js +16 -0
- package/types.d.ts +1 -1
- package/types.js +1 -1
- package/utf8.d.ts +1 -1
- package/utf8.js +1 -1
- package/varint.d.ts +1 -1
- package/varint.js +1 -1
|
@@ -1,96 +1,181 @@
|
|
|
1
1
|
import { buildTx } from "../../../helper-func-types";
|
|
2
2
|
import { MsgStoreCode, MsgInstantiateContract, MsgInstantiateContract2, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin, MsgUpdateInstantiateConfig, MsgUpdateParams, MsgSudoContract, MsgPinCodes, MsgUnpinCodes, MsgStoreAndInstantiateContract, MsgRemoveCodeUploadParamsAddresses, MsgAddCodeUploadParamsAddresses, MsgStoreAndMigrateContract, MsgUpdateContractLabel } from "./tx";
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* StoreCode to submit Wasm code to the system
|
|
5
|
+
* @name storeCode
|
|
6
|
+
* @package cosmwasm.wasm.v1
|
|
7
|
+
* @see proto service: cosmwasm.wasm.v1.StoreCode
|
|
8
|
+
*/
|
|
4
9
|
export const storeCode = buildTx({
|
|
5
10
|
msg: MsgStoreCode
|
|
6
11
|
});
|
|
7
|
-
|
|
8
|
-
|
|
12
|
+
/**
|
|
13
|
+
* InstantiateContract creates a new smart contract instance for the given
|
|
14
|
+
* code id.
|
|
15
|
+
* @name instantiateContract
|
|
16
|
+
* @package cosmwasm.wasm.v1
|
|
17
|
+
* @see proto service: cosmwasm.wasm.v1.InstantiateContract
|
|
18
|
+
*/
|
|
9
19
|
export const instantiateContract = buildTx({
|
|
10
20
|
msg: MsgInstantiateContract
|
|
11
21
|
});
|
|
12
|
-
|
|
13
|
-
|
|
22
|
+
/**
|
|
23
|
+
* InstantiateContract2 creates a new smart contract instance for the given
|
|
24
|
+
* code id with a predictable address
|
|
25
|
+
* @name instantiateContract2
|
|
26
|
+
* @package cosmwasm.wasm.v1
|
|
27
|
+
* @see proto service: cosmwasm.wasm.v1.InstantiateContract2
|
|
28
|
+
*/
|
|
14
29
|
export const instantiateContract2 = buildTx({
|
|
15
30
|
msg: MsgInstantiateContract2
|
|
16
31
|
});
|
|
17
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Execute submits the given message data to a smart contract
|
|
34
|
+
* @name executeContract
|
|
35
|
+
* @package cosmwasm.wasm.v1
|
|
36
|
+
* @see proto service: cosmwasm.wasm.v1.ExecuteContract
|
|
37
|
+
*/
|
|
18
38
|
export const executeContract = buildTx({
|
|
19
39
|
msg: MsgExecuteContract
|
|
20
40
|
});
|
|
21
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Migrate runs a code upgrade/ downgrade for a smart contract
|
|
43
|
+
* @name migrateContract
|
|
44
|
+
* @package cosmwasm.wasm.v1
|
|
45
|
+
* @see proto service: cosmwasm.wasm.v1.MigrateContract
|
|
46
|
+
*/
|
|
22
47
|
export const migrateContract = buildTx({
|
|
23
48
|
msg: MsgMigrateContract
|
|
24
49
|
});
|
|
25
|
-
|
|
50
|
+
/**
|
|
51
|
+
* UpdateAdmin sets a new admin for a smart contract
|
|
52
|
+
* @name updateAdmin
|
|
53
|
+
* @package cosmwasm.wasm.v1
|
|
54
|
+
* @see proto service: cosmwasm.wasm.v1.UpdateAdmin
|
|
55
|
+
*/
|
|
26
56
|
export const updateAdmin = buildTx({
|
|
27
57
|
msg: MsgUpdateAdmin
|
|
28
58
|
});
|
|
29
|
-
|
|
59
|
+
/**
|
|
60
|
+
* ClearAdmin removes any admin stored for a smart contract
|
|
61
|
+
* @name clearAdmin
|
|
62
|
+
* @package cosmwasm.wasm.v1
|
|
63
|
+
* @see proto service: cosmwasm.wasm.v1.ClearAdmin
|
|
64
|
+
*/
|
|
30
65
|
export const clearAdmin = buildTx({
|
|
31
66
|
msg: MsgClearAdmin
|
|
32
67
|
});
|
|
33
|
-
|
|
68
|
+
/**
|
|
69
|
+
* UpdateInstantiateConfig updates instantiate config for a smart contract
|
|
70
|
+
* @name updateInstantiateConfig
|
|
71
|
+
* @package cosmwasm.wasm.v1
|
|
72
|
+
* @see proto service: cosmwasm.wasm.v1.UpdateInstantiateConfig
|
|
73
|
+
*/
|
|
34
74
|
export const updateInstantiateConfig = buildTx({
|
|
35
75
|
msg: MsgUpdateInstantiateConfig
|
|
36
76
|
});
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
77
|
+
/**
|
|
78
|
+
* UpdateParams defines a governance operation for updating the x/wasm
|
|
79
|
+
* module parameters. The authority is defined in the keeper.
|
|
80
|
+
*
|
|
81
|
+
* Since: 0.40
|
|
82
|
+
* @name updateParams
|
|
83
|
+
* @package cosmwasm.wasm.v1
|
|
84
|
+
* @see proto service: cosmwasm.wasm.v1.UpdateParams
|
|
85
|
+
*/
|
|
41
86
|
export const updateParams = buildTx({
|
|
42
87
|
msg: MsgUpdateParams
|
|
43
88
|
});
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
89
|
+
/**
|
|
90
|
+
* SudoContract defines a governance operation for calling sudo
|
|
91
|
+
* on a contract. The authority is defined in the keeper.
|
|
92
|
+
*
|
|
93
|
+
* Since: 0.40
|
|
94
|
+
* @name sudoContract
|
|
95
|
+
* @package cosmwasm.wasm.v1
|
|
96
|
+
* @see proto service: cosmwasm.wasm.v1.SudoContract
|
|
97
|
+
*/
|
|
48
98
|
export const sudoContract = buildTx({
|
|
49
99
|
msg: MsgSudoContract
|
|
50
100
|
});
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
101
|
+
/**
|
|
102
|
+
* PinCodes defines a governance operation for pinning a set of
|
|
103
|
+
* code ids in the wasmvm cache. The authority is defined in the keeper.
|
|
104
|
+
*
|
|
105
|
+
* Since: 0.40
|
|
106
|
+
* @name pinCodes
|
|
107
|
+
* @package cosmwasm.wasm.v1
|
|
108
|
+
* @see proto service: cosmwasm.wasm.v1.PinCodes
|
|
109
|
+
*/
|
|
55
110
|
export const pinCodes = buildTx({
|
|
56
111
|
msg: MsgPinCodes
|
|
57
112
|
});
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
113
|
+
/**
|
|
114
|
+
* UnpinCodes defines a governance operation for unpinning a set of
|
|
115
|
+
* code ids in the wasmvm cache. The authority is defined in the keeper.
|
|
116
|
+
*
|
|
117
|
+
* Since: 0.40
|
|
118
|
+
* @name unpinCodes
|
|
119
|
+
* @package cosmwasm.wasm.v1
|
|
120
|
+
* @see proto service: cosmwasm.wasm.v1.UnpinCodes
|
|
121
|
+
*/
|
|
62
122
|
export const unpinCodes = buildTx({
|
|
63
123
|
msg: MsgUnpinCodes
|
|
64
124
|
});
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
125
|
+
/**
|
|
126
|
+
* StoreAndInstantiateContract defines a governance operation for storing
|
|
127
|
+
* and instantiating the contract. The authority is defined in the keeper.
|
|
128
|
+
*
|
|
129
|
+
* Since: 0.40
|
|
130
|
+
* @name storeAndInstantiateContract
|
|
131
|
+
* @package cosmwasm.wasm.v1
|
|
132
|
+
* @see proto service: cosmwasm.wasm.v1.StoreAndInstantiateContract
|
|
133
|
+
*/
|
|
69
134
|
export const storeAndInstantiateContract = buildTx({
|
|
70
135
|
msg: MsgStoreAndInstantiateContract
|
|
71
136
|
});
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
137
|
+
/**
|
|
138
|
+
* RemoveCodeUploadParamsAddresses defines a governance operation for
|
|
139
|
+
* removing addresses from code upload params.
|
|
140
|
+
* The authority is defined in the keeper.
|
|
141
|
+
* @name removeCodeUploadParamsAddresses
|
|
142
|
+
* @package cosmwasm.wasm.v1
|
|
143
|
+
* @see proto service: cosmwasm.wasm.v1.RemoveCodeUploadParamsAddresses
|
|
144
|
+
*/
|
|
75
145
|
export const removeCodeUploadParamsAddresses = buildTx({
|
|
76
146
|
msg: MsgRemoveCodeUploadParamsAddresses
|
|
77
147
|
});
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
148
|
+
/**
|
|
149
|
+
* AddCodeUploadParamsAddresses defines a governance operation for
|
|
150
|
+
* adding addresses to code upload params.
|
|
151
|
+
* The authority is defined in the keeper.
|
|
152
|
+
* @name addCodeUploadParamsAddresses
|
|
153
|
+
* @package cosmwasm.wasm.v1
|
|
154
|
+
* @see proto service: cosmwasm.wasm.v1.AddCodeUploadParamsAddresses
|
|
155
|
+
*/
|
|
81
156
|
export const addCodeUploadParamsAddresses = buildTx({
|
|
82
157
|
msg: MsgAddCodeUploadParamsAddresses
|
|
83
158
|
});
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
159
|
+
/**
|
|
160
|
+
* StoreAndMigrateContract defines a governance operation for storing
|
|
161
|
+
* and migrating the contract. The authority is defined in the keeper.
|
|
162
|
+
*
|
|
163
|
+
* Since: 0.42
|
|
164
|
+
* @name storeAndMigrateContract
|
|
165
|
+
* @package cosmwasm.wasm.v1
|
|
166
|
+
* @see proto service: cosmwasm.wasm.v1.StoreAndMigrateContract
|
|
167
|
+
*/
|
|
88
168
|
export const storeAndMigrateContract = buildTx({
|
|
89
169
|
msg: MsgStoreAndMigrateContract
|
|
90
170
|
});
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
171
|
+
/**
|
|
172
|
+
* UpdateContractLabel sets a new label for a smart contract
|
|
173
|
+
*
|
|
174
|
+
* Since: 0.43
|
|
175
|
+
* @name updateContractLabel
|
|
176
|
+
* @package cosmwasm.wasm.v1
|
|
177
|
+
* @see proto service: cosmwasm.wasm.v1.UpdateContractLabel
|
|
178
|
+
*/
|
|
94
179
|
export const updateContractLabel = buildTx({
|
|
95
180
|
msg: MsgUpdateContractLabel
|
|
96
181
|
});
|
|
@@ -106,6 +106,12 @@ function createBaseAccessTypeParam() {
|
|
|
106
106
|
value: 0
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
|
+
/**
|
|
110
|
+
* AccessTypeParam
|
|
111
|
+
* @name AccessTypeParam
|
|
112
|
+
* @package cosmwasm.wasm.v1
|
|
113
|
+
* @see proto type: cosmwasm.wasm.v1.AccessTypeParam
|
|
114
|
+
*/
|
|
109
115
|
export const AccessTypeParam = {
|
|
110
116
|
typeUrl: "/cosmwasm.wasm.v1.AccessTypeParam",
|
|
111
117
|
aminoType: "wasm/AccessTypeParam",
|
|
@@ -184,6 +190,12 @@ function createBaseAccessConfig() {
|
|
|
184
190
|
addresses: []
|
|
185
191
|
};
|
|
186
192
|
}
|
|
193
|
+
/**
|
|
194
|
+
* AccessConfig access control type.
|
|
195
|
+
* @name AccessConfig
|
|
196
|
+
* @package cosmwasm.wasm.v1
|
|
197
|
+
* @see proto type: cosmwasm.wasm.v1.AccessConfig
|
|
198
|
+
*/
|
|
187
199
|
export const AccessConfig = {
|
|
188
200
|
typeUrl: "/cosmwasm.wasm.v1.AccessConfig",
|
|
189
201
|
aminoType: "wasm/AccessConfig",
|
|
@@ -276,6 +288,12 @@ function createBaseParams() {
|
|
|
276
288
|
instantiateDefaultPermission: 0
|
|
277
289
|
};
|
|
278
290
|
}
|
|
291
|
+
/**
|
|
292
|
+
* Params defines the set of wasm parameters.
|
|
293
|
+
* @name Params
|
|
294
|
+
* @package cosmwasm.wasm.v1
|
|
295
|
+
* @see proto type: cosmwasm.wasm.v1.Params
|
|
296
|
+
*/
|
|
279
297
|
export const Params = {
|
|
280
298
|
typeUrl: "/cosmwasm.wasm.v1.Params",
|
|
281
299
|
aminoType: "wasm/Params",
|
|
@@ -371,6 +389,12 @@ function createBaseCodeInfo() {
|
|
|
371
389
|
instantiateConfig: AccessConfig.fromPartial({})
|
|
372
390
|
};
|
|
373
391
|
}
|
|
392
|
+
/**
|
|
393
|
+
* CodeInfo is data for the uploaded contract WASM code
|
|
394
|
+
* @name CodeInfo
|
|
395
|
+
* @package cosmwasm.wasm.v1
|
|
396
|
+
* @see proto type: cosmwasm.wasm.v1.CodeInfo
|
|
397
|
+
*/
|
|
374
398
|
export const CodeInfo = {
|
|
375
399
|
typeUrl: "/cosmwasm.wasm.v1.CodeInfo",
|
|
376
400
|
aminoType: "wasm/CodeInfo",
|
|
@@ -481,6 +505,12 @@ function createBaseContractInfo() {
|
|
|
481
505
|
extension: undefined
|
|
482
506
|
};
|
|
483
507
|
}
|
|
508
|
+
/**
|
|
509
|
+
* ContractInfo stores a WASM contract instance
|
|
510
|
+
* @name ContractInfo
|
|
511
|
+
* @package cosmwasm.wasm.v1
|
|
512
|
+
* @see proto type: cosmwasm.wasm.v1.ContractInfo
|
|
513
|
+
*/
|
|
484
514
|
export const ContractInfo = {
|
|
485
515
|
typeUrl: "/cosmwasm.wasm.v1.ContractInfo",
|
|
486
516
|
aminoType: "wasm/ContractInfo",
|
|
@@ -627,6 +657,12 @@ function createBaseContractCodeHistoryEntry() {
|
|
|
627
657
|
msg: new Uint8Array()
|
|
628
658
|
};
|
|
629
659
|
}
|
|
660
|
+
/**
|
|
661
|
+
* ContractCodeHistoryEntry metadata to a contract.
|
|
662
|
+
* @name ContractCodeHistoryEntry
|
|
663
|
+
* @package cosmwasm.wasm.v1
|
|
664
|
+
* @see proto type: cosmwasm.wasm.v1.ContractCodeHistoryEntry
|
|
665
|
+
*/
|
|
630
666
|
export const ContractCodeHistoryEntry = {
|
|
631
667
|
typeUrl: "/cosmwasm.wasm.v1.ContractCodeHistoryEntry",
|
|
632
668
|
aminoType: "wasm/ContractCodeHistoryEntry",
|
|
@@ -743,6 +779,13 @@ function createBaseAbsoluteTxPosition() {
|
|
|
743
779
|
txIndex: BigInt(0)
|
|
744
780
|
};
|
|
745
781
|
}
|
|
782
|
+
/**
|
|
783
|
+
* AbsoluteTxPosition is a unique transaction position that allows for global
|
|
784
|
+
* ordering of transactions.
|
|
785
|
+
* @name AbsoluteTxPosition
|
|
786
|
+
* @package cosmwasm.wasm.v1
|
|
787
|
+
* @see proto type: cosmwasm.wasm.v1.AbsoluteTxPosition
|
|
788
|
+
*/
|
|
746
789
|
export const AbsoluteTxPosition = {
|
|
747
790
|
typeUrl: "/cosmwasm.wasm.v1.AbsoluteTxPosition",
|
|
748
791
|
aminoType: "wasm/AbsoluteTxPosition",
|
|
@@ -832,6 +875,12 @@ function createBaseModel() {
|
|
|
832
875
|
value: new Uint8Array()
|
|
833
876
|
};
|
|
834
877
|
}
|
|
878
|
+
/**
|
|
879
|
+
* Model is a struct that holds a KV pair
|
|
880
|
+
* @name Model
|
|
881
|
+
* @package cosmwasm.wasm.v1
|
|
882
|
+
* @see proto type: cosmwasm.wasm.v1.Model
|
|
883
|
+
*/
|
|
835
884
|
export const Model = {
|
|
836
885
|
typeUrl: "/cosmwasm.wasm.v1.Model",
|
|
837
886
|
aminoType: "wasm/Model",
|
package/esm/extern.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.19
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
package/esm/google/api/http.js
CHANGED
|
@@ -6,6 +6,14 @@ function createBaseHttp() {
|
|
|
6
6
|
fullyDecodeReservedExpansion: false
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* Defines the HTTP configuration for an API service. It contains a list of
|
|
11
|
+
* [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
|
|
12
|
+
* to one or more HTTP REST API methods.
|
|
13
|
+
* @name Http
|
|
14
|
+
* @package google.api
|
|
15
|
+
* @see proto type: google.api.Http
|
|
16
|
+
*/
|
|
9
17
|
export const Http = {
|
|
10
18
|
typeUrl: "/google.api.Http",
|
|
11
19
|
is(o) {
|
|
@@ -104,6 +112,275 @@ function createBaseHttpRule() {
|
|
|
104
112
|
additionalBindings: []
|
|
105
113
|
};
|
|
106
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* gRPC Transcoding
|
|
117
|
+
*
|
|
118
|
+
* gRPC Transcoding is a feature for mapping between a gRPC method and one or
|
|
119
|
+
* more HTTP REST endpoints. It allows developers to build a single API service
|
|
120
|
+
* that supports both gRPC APIs and REST APIs. Many systems, including [Google
|
|
121
|
+
* APIs](https://github.com/googleapis/googleapis),
|
|
122
|
+
* [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
|
|
123
|
+
* Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
|
|
124
|
+
* and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
|
|
125
|
+
* and use it for large scale production services.
|
|
126
|
+
*
|
|
127
|
+
* `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
|
|
128
|
+
* how different portions of the gRPC request message are mapped to the URL
|
|
129
|
+
* path, URL query parameters, and HTTP request body. It also controls how the
|
|
130
|
+
* gRPC response message is mapped to the HTTP response body. `HttpRule` is
|
|
131
|
+
* typically specified as an `google.api.http` annotation on the gRPC method.
|
|
132
|
+
*
|
|
133
|
+
* Each mapping specifies a URL path template and an HTTP method. The path
|
|
134
|
+
* template may refer to one or more fields in the gRPC request message, as long
|
|
135
|
+
* as each field is a non-repeated field with a primitive (non-message) type.
|
|
136
|
+
* The path template controls how fields of the request message are mapped to
|
|
137
|
+
* the URL path.
|
|
138
|
+
*
|
|
139
|
+
* Example:
|
|
140
|
+
*
|
|
141
|
+
* service Messaging {
|
|
142
|
+
* rpc GetMessage(GetMessageRequest) returns (Message) {
|
|
143
|
+
* option (google.api.http) = {
|
|
144
|
+
* get: "/v1/{name=messages/*}"
|
|
145
|
+
* };
|
|
146
|
+
* }
|
|
147
|
+
* }
|
|
148
|
+
* message GetMessageRequest {
|
|
149
|
+
* string name = 1; // Mapped to URL path.
|
|
150
|
+
* }
|
|
151
|
+
* message Message {
|
|
152
|
+
* string text = 1; // The resource content.
|
|
153
|
+
* }
|
|
154
|
+
*
|
|
155
|
+
* This enables an HTTP REST to gRPC mapping as below:
|
|
156
|
+
*
|
|
157
|
+
* - HTTP: `GET /v1/messages/123456`
|
|
158
|
+
* - gRPC: `GetMessage(name: "messages/123456")`
|
|
159
|
+
*
|
|
160
|
+
* Any fields in the request message which are not bound by the path template
|
|
161
|
+
* automatically become HTTP query parameters if there is no HTTP request body.
|
|
162
|
+
* For example:
|
|
163
|
+
*
|
|
164
|
+
* service Messaging {
|
|
165
|
+
* rpc GetMessage(GetMessageRequest) returns (Message) {
|
|
166
|
+
* option (google.api.http) = {
|
|
167
|
+
* get:"/v1/messages/{message_id}"
|
|
168
|
+
* };
|
|
169
|
+
* }
|
|
170
|
+
* }
|
|
171
|
+
* message GetMessageRequest {
|
|
172
|
+
* message SubMessage {
|
|
173
|
+
* string subfield = 1;
|
|
174
|
+
* }
|
|
175
|
+
* string message_id = 1; // Mapped to URL path.
|
|
176
|
+
* int64 revision = 2; // Mapped to URL query parameter `revision`.
|
|
177
|
+
* SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
|
|
178
|
+
* }
|
|
179
|
+
*
|
|
180
|
+
* This enables a HTTP JSON to RPC mapping as below:
|
|
181
|
+
*
|
|
182
|
+
* - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo`
|
|
183
|
+
* - gRPC: `GetMessage(message_id: "123456" revision: 2 sub:
|
|
184
|
+
* SubMessage(subfield: "foo"))`
|
|
185
|
+
*
|
|
186
|
+
* Note that fields which are mapped to URL query parameters must have a
|
|
187
|
+
* primitive type or a repeated primitive type or a non-repeated message type.
|
|
188
|
+
* In the case of a repeated type, the parameter can be repeated in the URL
|
|
189
|
+
* as `...?param=A¶m=B`. In the case of a message type, each field of the
|
|
190
|
+
* message is mapped to a separate parameter, such as
|
|
191
|
+
* `...?foo.a=A&foo.b=B&foo.c=C`.
|
|
192
|
+
*
|
|
193
|
+
* For HTTP methods that allow a request body, the `body` field
|
|
194
|
+
* specifies the mapping. Consider a REST update method on the
|
|
195
|
+
* message resource collection:
|
|
196
|
+
*
|
|
197
|
+
* service Messaging {
|
|
198
|
+
* rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
|
|
199
|
+
* option (google.api.http) = {
|
|
200
|
+
* patch: "/v1/messages/{message_id}"
|
|
201
|
+
* body: "message"
|
|
202
|
+
* };
|
|
203
|
+
* }
|
|
204
|
+
* }
|
|
205
|
+
* message UpdateMessageRequest {
|
|
206
|
+
* string message_id = 1; // mapped to the URL
|
|
207
|
+
* Message message = 2; // mapped to the body
|
|
208
|
+
* }
|
|
209
|
+
*
|
|
210
|
+
* The following HTTP JSON to RPC mapping is enabled, where the
|
|
211
|
+
* representation of the JSON in the request body is determined by
|
|
212
|
+
* protos JSON encoding:
|
|
213
|
+
*
|
|
214
|
+
* - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
|
|
215
|
+
* - gRPC: `UpdateMessage(message_id: "123456" message { text: "Hi!" })`
|
|
216
|
+
*
|
|
217
|
+
* The special name `*` can be used in the body mapping to define that
|
|
218
|
+
* every field not bound by the path template should be mapped to the
|
|
219
|
+
* request body. This enables the following alternative definition of
|
|
220
|
+
* the update method:
|
|
221
|
+
*
|
|
222
|
+
* service Messaging {
|
|
223
|
+
* rpc UpdateMessage(Message) returns (Message) {
|
|
224
|
+
* option (google.api.http) = {
|
|
225
|
+
* patch: "/v1/messages/{message_id}"
|
|
226
|
+
* body: "*"
|
|
227
|
+
* };
|
|
228
|
+
* }
|
|
229
|
+
* }
|
|
230
|
+
* message Message {
|
|
231
|
+
* string message_id = 1;
|
|
232
|
+
* string text = 2;
|
|
233
|
+
* }
|
|
234
|
+
*
|
|
235
|
+
*
|
|
236
|
+
* The following HTTP JSON to RPC mapping is enabled:
|
|
237
|
+
*
|
|
238
|
+
* - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
|
|
239
|
+
* - gRPC: `UpdateMessage(message_id: "123456" text: "Hi!")`
|
|
240
|
+
*
|
|
241
|
+
* Note that when using `*` in the body mapping, it is not possible to
|
|
242
|
+
* have HTTP parameters, as all fields not bound by the path end in
|
|
243
|
+
* the body. This makes this option more rarely used in practice when
|
|
244
|
+
* defining REST APIs. The common usage of `*` is in custom methods
|
|
245
|
+
* which don't use the URL at all for transferring data.
|
|
246
|
+
*
|
|
247
|
+
* It is possible to define multiple HTTP methods for one RPC by using
|
|
248
|
+
* the `additional_bindings` option. Example:
|
|
249
|
+
*
|
|
250
|
+
* service Messaging {
|
|
251
|
+
* rpc GetMessage(GetMessageRequest) returns (Message) {
|
|
252
|
+
* option (google.api.http) = {
|
|
253
|
+
* get: "/v1/messages/{message_id}"
|
|
254
|
+
* additional_bindings {
|
|
255
|
+
* get: "/v1/users/{user_id}/messages/{message_id}"
|
|
256
|
+
* }
|
|
257
|
+
* };
|
|
258
|
+
* }
|
|
259
|
+
* }
|
|
260
|
+
* message GetMessageRequest {
|
|
261
|
+
* string message_id = 1;
|
|
262
|
+
* string user_id = 2;
|
|
263
|
+
* }
|
|
264
|
+
*
|
|
265
|
+
* This enables the following two alternative HTTP JSON to RPC mappings:
|
|
266
|
+
*
|
|
267
|
+
* - HTTP: `GET /v1/messages/123456`
|
|
268
|
+
* - gRPC: `GetMessage(message_id: "123456")`
|
|
269
|
+
*
|
|
270
|
+
* - HTTP: `GET /v1/users/me/messages/123456`
|
|
271
|
+
* - gRPC: `GetMessage(user_id: "me" message_id: "123456")`
|
|
272
|
+
*
|
|
273
|
+
* Rules for HTTP mapping
|
|
274
|
+
*
|
|
275
|
+
* 1. Leaf request fields (recursive expansion nested messages in the request
|
|
276
|
+
* message) are classified into three categories:
|
|
277
|
+
* - Fields referred by the path template. They are passed via the URL path.
|
|
278
|
+
* - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They
|
|
279
|
+
* are passed via the HTTP
|
|
280
|
+
* request body.
|
|
281
|
+
* - All other fields are passed via the URL query parameters, and the
|
|
282
|
+
* parameter name is the field path in the request message. A repeated
|
|
283
|
+
* field can be represented as multiple query parameters under the same
|
|
284
|
+
* name.
|
|
285
|
+
* 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL
|
|
286
|
+
* query parameter, all fields
|
|
287
|
+
* are passed via URL path and HTTP request body.
|
|
288
|
+
* 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP
|
|
289
|
+
* request body, all
|
|
290
|
+
* fields are passed via URL path and URL query parameters.
|
|
291
|
+
*
|
|
292
|
+
* Path template syntax
|
|
293
|
+
*
|
|
294
|
+
* Template = "/" Segments [ Verb ] ;
|
|
295
|
+
* Segments = Segment { "/" Segment } ;
|
|
296
|
+
* Segment = "*" | "**" | LITERAL | Variable ;
|
|
297
|
+
* Variable = "{" FieldPath [ "=" Segments ] "}" ;
|
|
298
|
+
* FieldPath = IDENT { "." IDENT } ;
|
|
299
|
+
* Verb = ":" LITERAL ;
|
|
300
|
+
*
|
|
301
|
+
* The syntax `*` matches a single URL path segment. The syntax `**` matches
|
|
302
|
+
* zero or more URL path segments, which must be the last part of the URL path
|
|
303
|
+
* except the `Verb`.
|
|
304
|
+
*
|
|
305
|
+
* The syntax `Variable` matches part of the URL path as specified by its
|
|
306
|
+
* template. A variable template must not contain other variables. If a variable
|
|
307
|
+
* matches a single path segment, its template may be omitted, e.g. `{var}`
|
|
308
|
+
* is equivalent to `{var=*}`.
|
|
309
|
+
*
|
|
310
|
+
* The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
|
|
311
|
+
* contains any reserved character, such characters should be percent-encoded
|
|
312
|
+
* before the matching.
|
|
313
|
+
*
|
|
314
|
+
* If a variable contains exactly one path segment, such as `"{var}"` or
|
|
315
|
+
* `"{var=*}"`, when such a variable is expanded into a URL path on the client
|
|
316
|
+
* side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
|
|
317
|
+
* server side does the reverse decoding. Such variables show up in the
|
|
318
|
+
* [Discovery
|
|
319
|
+
* Document](https://developers.google.com/discovery/v1/reference/apis) as
|
|
320
|
+
* `{var}`.
|
|
321
|
+
*
|
|
322
|
+
* If a variable contains multiple path segments, such as `"{var=foo/*}"`
|
|
323
|
+
* or `"{var=**}"`, when such a variable is expanded into a URL path on the
|
|
324
|
+
* client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
|
|
325
|
+
* The server side does the reverse decoding, except "%2F" and "%2f" are left
|
|
326
|
+
* unchanged. Such variables show up in the
|
|
327
|
+
* [Discovery
|
|
328
|
+
* Document](https://developers.google.com/discovery/v1/reference/apis) as
|
|
329
|
+
* `{+var}`.
|
|
330
|
+
*
|
|
331
|
+
* Using gRPC API Service Configuration
|
|
332
|
+
*
|
|
333
|
+
* gRPC API Service Configuration (service config) is a configuration language
|
|
334
|
+
* for configuring a gRPC service to become a user-facing product. The
|
|
335
|
+
* service config is simply the YAML representation of the `google.api.Service`
|
|
336
|
+
* proto message.
|
|
337
|
+
*
|
|
338
|
+
* As an alternative to annotating your proto file, you can configure gRPC
|
|
339
|
+
* transcoding in your service config YAML files. You do this by specifying a
|
|
340
|
+
* `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
|
|
341
|
+
* effect as the proto annotation. This can be particularly useful if you
|
|
342
|
+
* have a proto that is reused in multiple services. Note that any transcoding
|
|
343
|
+
* specified in the service config will override any matching transcoding
|
|
344
|
+
* configuration in the proto.
|
|
345
|
+
*
|
|
346
|
+
* The following example selects a gRPC method and applies an `HttpRule` to it:
|
|
347
|
+
*
|
|
348
|
+
* http:
|
|
349
|
+
* rules:
|
|
350
|
+
* - selector: example.v1.Messaging.GetMessage
|
|
351
|
+
* get: /v1/messages/{message_id}/{sub.subfield}
|
|
352
|
+
*
|
|
353
|
+
* Special notes
|
|
354
|
+
*
|
|
355
|
+
* When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
|
|
356
|
+
* proto to JSON conversion must follow the [proto3
|
|
357
|
+
* specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
|
|
358
|
+
*
|
|
359
|
+
* While the single segment variable follows the semantics of
|
|
360
|
+
* [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
|
|
361
|
+
* Expansion, the multi segment variable **does not** follow RFC 6570 Section
|
|
362
|
+
* 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
|
|
363
|
+
* does not expand special characters like `?` and `#`, which would lead
|
|
364
|
+
* to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
|
|
365
|
+
* for multi segment variables.
|
|
366
|
+
*
|
|
367
|
+
* The path variables **must not** refer to any repeated or mapped field,
|
|
368
|
+
* because client libraries are not capable of handling such variable expansion.
|
|
369
|
+
*
|
|
370
|
+
* The path variables **must not** capture the leading "/" character. The reason
|
|
371
|
+
* is that the most common use case "{var}" does not capture the leading "/"
|
|
372
|
+
* character. For consistency, all path variables must share the same behavior.
|
|
373
|
+
*
|
|
374
|
+
* Repeated message fields must not be mapped to URL query parameters, because
|
|
375
|
+
* no client library can support such complicated mapping.
|
|
376
|
+
*
|
|
377
|
+
* If an API needs to use a JSON array for request or response body, it can map
|
|
378
|
+
* the request or response body to a repeated field. However, some gRPC
|
|
379
|
+
* Transcoding implementations may not support this feature.
|
|
380
|
+
* @name HttpRule
|
|
381
|
+
* @package google.api
|
|
382
|
+
* @see proto type: google.api.HttpRule
|
|
383
|
+
*/
|
|
107
384
|
export const HttpRule = {
|
|
108
385
|
typeUrl: "/google.api.HttpRule",
|
|
109
386
|
is(o) {
|
|
@@ -283,6 +560,12 @@ function createBaseCustomHttpPattern() {
|
|
|
283
560
|
path: ""
|
|
284
561
|
};
|
|
285
562
|
}
|
|
563
|
+
/**
|
|
564
|
+
* A custom pattern is used for defining custom HTTP verb.
|
|
565
|
+
* @name CustomHttpPattern
|
|
566
|
+
* @package google.api
|
|
567
|
+
* @see proto type: google.api.CustomHttpPattern
|
|
568
|
+
*/
|
|
286
569
|
export const CustomHttpPattern = {
|
|
287
570
|
typeUrl: "/google.api.CustomHttpPattern",
|
|
288
571
|
is(o) {
|