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
|
@@ -3,7 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getInsuranceModuleState = exports.getPendingRedemptions = exports.getEstimatedRedemptions = exports.getInsuranceFunds = exports.getInsuranceFund = exports.getInsuranceParams = void 0;
|
|
4
4
|
const helper_func_types_1 = require("../../../helper-func-types");
|
|
5
5
|
const query_1 = require("./query");
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Retrieves insurance params
|
|
8
|
+
* @name getInsuranceParams
|
|
9
|
+
* @package injective.insurance.v1beta1
|
|
10
|
+
* @see proto service: injective.insurance.v1beta1.InsuranceParams
|
|
11
|
+
*/
|
|
7
12
|
exports.getInsuranceParams = (0, helper_func_types_1.buildQuery)({
|
|
8
13
|
encode: query_1.QueryInsuranceParamsRequest.encode,
|
|
9
14
|
decode: query_1.QueryInsuranceParamsResponse.decode,
|
|
@@ -11,7 +16,12 @@ exports.getInsuranceParams = (0, helper_func_types_1.buildQuery)({
|
|
|
11
16
|
method: "InsuranceParams",
|
|
12
17
|
deps: [query_1.QueryInsuranceParamsRequest, query_1.QueryInsuranceParamsResponse]
|
|
13
18
|
});
|
|
14
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves individual insurance fund information from market id
|
|
21
|
+
* @name getInsuranceFund
|
|
22
|
+
* @package injective.insurance.v1beta1
|
|
23
|
+
* @see proto service: injective.insurance.v1beta1.InsuranceFund
|
|
24
|
+
*/
|
|
15
25
|
exports.getInsuranceFund = (0, helper_func_types_1.buildQuery)({
|
|
16
26
|
encode: query_1.QueryInsuranceFundRequest.encode,
|
|
17
27
|
decode: query_1.QueryInsuranceFundResponse.decode,
|
|
@@ -19,7 +29,12 @@ exports.getInsuranceFund = (0, helper_func_types_1.buildQuery)({
|
|
|
19
29
|
method: "InsuranceFund",
|
|
20
30
|
deps: [query_1.QueryInsuranceFundRequest, query_1.QueryInsuranceFundResponse]
|
|
21
31
|
});
|
|
22
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Retrieves all insurance funds
|
|
34
|
+
* @name getInsuranceFunds
|
|
35
|
+
* @package injective.insurance.v1beta1
|
|
36
|
+
* @see proto service: injective.insurance.v1beta1.InsuranceFunds
|
|
37
|
+
*/
|
|
23
38
|
exports.getInsuranceFunds = (0, helper_func_types_1.buildQuery)({
|
|
24
39
|
encode: query_1.QueryInsuranceFundsRequest.encode,
|
|
25
40
|
decode: query_1.QueryInsuranceFundsResponse.decode,
|
|
@@ -27,8 +42,13 @@ exports.getInsuranceFunds = (0, helper_func_types_1.buildQuery)({
|
|
|
27
42
|
method: "InsuranceFunds",
|
|
28
43
|
deps: [query_1.QueryInsuranceFundsRequest, query_1.QueryInsuranceFundsResponse]
|
|
29
44
|
});
|
|
30
|
-
|
|
31
|
-
|
|
45
|
+
/**
|
|
46
|
+
* Retrives the value of insurance fund share token at current price (not
|
|
47
|
+
* pending redemption)
|
|
48
|
+
* @name getEstimatedRedemptions
|
|
49
|
+
* @package injective.insurance.v1beta1
|
|
50
|
+
* @see proto service: injective.insurance.v1beta1.EstimatedRedemptions
|
|
51
|
+
*/
|
|
32
52
|
exports.getEstimatedRedemptions = (0, helper_func_types_1.buildQuery)({
|
|
33
53
|
encode: query_1.QueryEstimatedRedemptionsRequest.encode,
|
|
34
54
|
decode: query_1.QueryEstimatedRedemptionsResponse.decode,
|
|
@@ -36,7 +56,12 @@ exports.getEstimatedRedemptions = (0, helper_func_types_1.buildQuery)({
|
|
|
36
56
|
method: "EstimatedRedemptions",
|
|
37
57
|
deps: [query_1.QueryEstimatedRedemptionsRequest, query_1.QueryEstimatedRedemptionsResponse]
|
|
38
58
|
});
|
|
39
|
-
|
|
59
|
+
/**
|
|
60
|
+
* Retrieves pending redemptions' share token at current price
|
|
61
|
+
* @name getPendingRedemptions
|
|
62
|
+
* @package injective.insurance.v1beta1
|
|
63
|
+
* @see proto service: injective.insurance.v1beta1.PendingRedemptions
|
|
64
|
+
*/
|
|
40
65
|
exports.getPendingRedemptions = (0, helper_func_types_1.buildQuery)({
|
|
41
66
|
encode: query_1.QueryPendingRedemptionsRequest.encode,
|
|
42
67
|
decode: query_1.QueryPendingRedemptionsResponse.decode,
|
|
@@ -44,7 +69,12 @@ exports.getPendingRedemptions = (0, helper_func_types_1.buildQuery)({
|
|
|
44
69
|
method: "PendingRedemptions",
|
|
45
70
|
deps: [query_1.QueryPendingRedemptionsRequest, query_1.QueryPendingRedemptionsResponse]
|
|
46
71
|
});
|
|
47
|
-
|
|
72
|
+
/**
|
|
73
|
+
* Retrieves the entire insurance module's state
|
|
74
|
+
* @name getInsuranceModuleState
|
|
75
|
+
* @package injective.insurance.v1beta1
|
|
76
|
+
* @see proto service: injective.insurance.v1beta1.InsuranceModuleState
|
|
77
|
+
*/
|
|
48
78
|
exports.getInsuranceModuleState = (0, helper_func_types_1.buildQuery)({
|
|
49
79
|
encode: query_1.QueryModuleStateRequest.encode,
|
|
50
80
|
decode: query_1.QueryModuleStateResponse.decode,
|
|
@@ -6,13 +6,22 @@ import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
|
6
6
|
/**
|
|
7
7
|
* MsgCreateInsuranceFund a message to create an insurance fund for a derivative
|
|
8
8
|
* market.
|
|
9
|
+
* @name MsgCreateInsuranceFund
|
|
10
|
+
* @package injective.insurance.v1beta1
|
|
11
|
+
* @see proto type: injective.insurance.v1beta1.MsgCreateInsuranceFund
|
|
9
12
|
*/
|
|
10
13
|
export interface MsgCreateInsuranceFund {
|
|
11
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* Creator of the insurance fund.
|
|
16
|
+
*/
|
|
12
17
|
sender: string;
|
|
13
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Ticker for the derivative market.
|
|
20
|
+
*/
|
|
14
21
|
ticker: string;
|
|
15
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Coin denom to use for the market quote denom
|
|
24
|
+
*/
|
|
16
25
|
quoteDenom: string;
|
|
17
26
|
/**
|
|
18
27
|
* Oracle base currency of the derivative market OR the oracle symbol for the
|
|
@@ -24,14 +33,18 @@ export interface MsgCreateInsuranceFund {
|
|
|
24
33
|
* the binary options market.
|
|
25
34
|
*/
|
|
26
35
|
oracleQuote: string;
|
|
27
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* Oracle type of the binary options or derivative market
|
|
38
|
+
*/
|
|
28
39
|
oracleType: OracleType;
|
|
29
40
|
/**
|
|
30
41
|
* Expiration time of the derivative market. Should be -1 for perpetual or -2
|
|
31
42
|
* for binary options markets.
|
|
32
43
|
*/
|
|
33
44
|
expiry: bigint;
|
|
34
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* Initial deposit of the insurance fund
|
|
47
|
+
*/
|
|
35
48
|
initialDeposit: Coin;
|
|
36
49
|
}
|
|
37
50
|
export interface MsgCreateInsuranceFundProtoMsg {
|
|
@@ -41,13 +54,22 @@ export interface MsgCreateInsuranceFundProtoMsg {
|
|
|
41
54
|
/**
|
|
42
55
|
* MsgCreateInsuranceFund a message to create an insurance fund for a derivative
|
|
43
56
|
* market.
|
|
57
|
+
* @name MsgCreateInsuranceFundAmino
|
|
58
|
+
* @package injective.insurance.v1beta1
|
|
59
|
+
* @see proto type: injective.insurance.v1beta1.MsgCreateInsuranceFund
|
|
44
60
|
*/
|
|
45
61
|
export interface MsgCreateInsuranceFundAmino {
|
|
46
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* Creator of the insurance fund.
|
|
64
|
+
*/
|
|
47
65
|
sender: string;
|
|
48
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* Ticker for the derivative market.
|
|
68
|
+
*/
|
|
49
69
|
ticker: string;
|
|
50
|
-
/**
|
|
70
|
+
/**
|
|
71
|
+
* Coin denom to use for the market quote denom
|
|
72
|
+
*/
|
|
51
73
|
quote_denom: string;
|
|
52
74
|
/**
|
|
53
75
|
* Oracle base currency of the derivative market OR the oracle symbol for the
|
|
@@ -59,26 +81,40 @@ export interface MsgCreateInsuranceFundAmino {
|
|
|
59
81
|
* the binary options market.
|
|
60
82
|
*/
|
|
61
83
|
oracle_quote: string;
|
|
62
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Oracle type of the binary options or derivative market
|
|
86
|
+
*/
|
|
63
87
|
oracle_type: OracleType;
|
|
64
88
|
/**
|
|
65
89
|
* Expiration time of the derivative market. Should be -1 for perpetual or -2
|
|
66
90
|
* for binary options markets.
|
|
67
91
|
*/
|
|
68
92
|
expiry: string;
|
|
69
|
-
/**
|
|
93
|
+
/**
|
|
94
|
+
* Initial deposit of the insurance fund
|
|
95
|
+
*/
|
|
70
96
|
initial_deposit: CoinAmino;
|
|
71
97
|
}
|
|
72
98
|
export interface MsgCreateInsuranceFundAminoMsg {
|
|
73
99
|
type: "insurance/MsgCreateInsuranceFund";
|
|
74
100
|
value: MsgCreateInsuranceFundAmino;
|
|
75
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* @name MsgCreateInsuranceFundResponse
|
|
104
|
+
* @package injective.insurance.v1beta1
|
|
105
|
+
* @see proto type: injective.insurance.v1beta1.MsgCreateInsuranceFundResponse
|
|
106
|
+
*/
|
|
76
107
|
export interface MsgCreateInsuranceFundResponse {
|
|
77
108
|
}
|
|
78
109
|
export interface MsgCreateInsuranceFundResponseProtoMsg {
|
|
79
110
|
typeUrl: "/injective.insurance.v1beta1.MsgCreateInsuranceFundResponse";
|
|
80
111
|
value: Uint8Array;
|
|
81
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* @name MsgCreateInsuranceFundResponseAmino
|
|
115
|
+
* @package injective.insurance.v1beta1
|
|
116
|
+
* @see proto type: injective.insurance.v1beta1.MsgCreateInsuranceFundResponse
|
|
117
|
+
*/
|
|
82
118
|
export interface MsgCreateInsuranceFundResponseAmino {
|
|
83
119
|
}
|
|
84
120
|
export interface MsgCreateInsuranceFundResponseAminoMsg {
|
|
@@ -88,13 +124,22 @@ export interface MsgCreateInsuranceFundResponseAminoMsg {
|
|
|
88
124
|
/**
|
|
89
125
|
* MsgUnderwrite defines a message for depositing coins to underwrite an
|
|
90
126
|
* insurance fund
|
|
127
|
+
* @name MsgUnderwrite
|
|
128
|
+
* @package injective.insurance.v1beta1
|
|
129
|
+
* @see proto type: injective.insurance.v1beta1.MsgUnderwrite
|
|
91
130
|
*/
|
|
92
131
|
export interface MsgUnderwrite {
|
|
93
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Address of the underwriter.
|
|
134
|
+
*/
|
|
94
135
|
sender: string;
|
|
95
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* MarketID of the insurance fund.
|
|
138
|
+
*/
|
|
96
139
|
marketId: string;
|
|
97
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* Amount of quote_denom to underwrite the insurance fund.
|
|
142
|
+
*/
|
|
98
143
|
deposit: Coin;
|
|
99
144
|
}
|
|
100
145
|
export interface MsgUnderwriteProtoMsg {
|
|
@@ -104,25 +149,44 @@ export interface MsgUnderwriteProtoMsg {
|
|
|
104
149
|
/**
|
|
105
150
|
* MsgUnderwrite defines a message for depositing coins to underwrite an
|
|
106
151
|
* insurance fund
|
|
152
|
+
* @name MsgUnderwriteAmino
|
|
153
|
+
* @package injective.insurance.v1beta1
|
|
154
|
+
* @see proto type: injective.insurance.v1beta1.MsgUnderwrite
|
|
107
155
|
*/
|
|
108
156
|
export interface MsgUnderwriteAmino {
|
|
109
|
-
/**
|
|
157
|
+
/**
|
|
158
|
+
* Address of the underwriter.
|
|
159
|
+
*/
|
|
110
160
|
sender: string;
|
|
111
|
-
/**
|
|
161
|
+
/**
|
|
162
|
+
* MarketID of the insurance fund.
|
|
163
|
+
*/
|
|
112
164
|
market_id: string;
|
|
113
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* Amount of quote_denom to underwrite the insurance fund.
|
|
167
|
+
*/
|
|
114
168
|
deposit: CoinAmino;
|
|
115
169
|
}
|
|
116
170
|
export interface MsgUnderwriteAminoMsg {
|
|
117
171
|
type: "insurance/MsgUnderwrite";
|
|
118
172
|
value: MsgUnderwriteAmino;
|
|
119
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
* @name MsgUnderwriteResponse
|
|
176
|
+
* @package injective.insurance.v1beta1
|
|
177
|
+
* @see proto type: injective.insurance.v1beta1.MsgUnderwriteResponse
|
|
178
|
+
*/
|
|
120
179
|
export interface MsgUnderwriteResponse {
|
|
121
180
|
}
|
|
122
181
|
export interface MsgUnderwriteResponseProtoMsg {
|
|
123
182
|
typeUrl: "/injective.insurance.v1beta1.MsgUnderwriteResponse";
|
|
124
183
|
value: Uint8Array;
|
|
125
184
|
}
|
|
185
|
+
/**
|
|
186
|
+
* @name MsgUnderwriteResponseAmino
|
|
187
|
+
* @package injective.insurance.v1beta1
|
|
188
|
+
* @see proto type: injective.insurance.v1beta1.MsgUnderwriteResponse
|
|
189
|
+
*/
|
|
126
190
|
export interface MsgUnderwriteResponseAmino {
|
|
127
191
|
}
|
|
128
192
|
export interface MsgUnderwriteResponseAminoMsg {
|
|
@@ -132,13 +196,22 @@ export interface MsgUnderwriteResponseAminoMsg {
|
|
|
132
196
|
/**
|
|
133
197
|
* MsgRequestRedemption defines a message for requesting a redemption of the
|
|
134
198
|
* sender's insurance fund tokens
|
|
199
|
+
* @name MsgRequestRedemption
|
|
200
|
+
* @package injective.insurance.v1beta1
|
|
201
|
+
* @see proto type: injective.insurance.v1beta1.MsgRequestRedemption
|
|
135
202
|
*/
|
|
136
203
|
export interface MsgRequestRedemption {
|
|
137
|
-
/**
|
|
204
|
+
/**
|
|
205
|
+
* Address of the underwriter requesting a redemption.
|
|
206
|
+
*/
|
|
138
207
|
sender: string;
|
|
139
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* MarketID of the insurance fund.
|
|
210
|
+
*/
|
|
140
211
|
marketId: string;
|
|
141
|
-
/**
|
|
212
|
+
/**
|
|
213
|
+
* Insurance fund share token amount to be redeemed.
|
|
214
|
+
*/
|
|
142
215
|
amount: Coin;
|
|
143
216
|
}
|
|
144
217
|
export interface MsgRequestRedemptionProtoMsg {
|
|
@@ -148,33 +221,59 @@ export interface MsgRequestRedemptionProtoMsg {
|
|
|
148
221
|
/**
|
|
149
222
|
* MsgRequestRedemption defines a message for requesting a redemption of the
|
|
150
223
|
* sender's insurance fund tokens
|
|
224
|
+
* @name MsgRequestRedemptionAmino
|
|
225
|
+
* @package injective.insurance.v1beta1
|
|
226
|
+
* @see proto type: injective.insurance.v1beta1.MsgRequestRedemption
|
|
151
227
|
*/
|
|
152
228
|
export interface MsgRequestRedemptionAmino {
|
|
153
|
-
/**
|
|
229
|
+
/**
|
|
230
|
+
* Address of the underwriter requesting a redemption.
|
|
231
|
+
*/
|
|
154
232
|
sender: string;
|
|
155
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* MarketID of the insurance fund.
|
|
235
|
+
*/
|
|
156
236
|
market_id: string;
|
|
157
|
-
/**
|
|
237
|
+
/**
|
|
238
|
+
* Insurance fund share token amount to be redeemed.
|
|
239
|
+
*/
|
|
158
240
|
amount: CoinAmino;
|
|
159
241
|
}
|
|
160
242
|
export interface MsgRequestRedemptionAminoMsg {
|
|
161
243
|
type: "insurance/MsgRequestRedemption";
|
|
162
244
|
value: MsgRequestRedemptionAmino;
|
|
163
245
|
}
|
|
246
|
+
/**
|
|
247
|
+
* @name MsgRequestRedemptionResponse
|
|
248
|
+
* @package injective.insurance.v1beta1
|
|
249
|
+
* @see proto type: injective.insurance.v1beta1.MsgRequestRedemptionResponse
|
|
250
|
+
*/
|
|
164
251
|
export interface MsgRequestRedemptionResponse {
|
|
165
252
|
}
|
|
166
253
|
export interface MsgRequestRedemptionResponseProtoMsg {
|
|
167
254
|
typeUrl: "/injective.insurance.v1beta1.MsgRequestRedemptionResponse";
|
|
168
255
|
value: Uint8Array;
|
|
169
256
|
}
|
|
257
|
+
/**
|
|
258
|
+
* @name MsgRequestRedemptionResponseAmino
|
|
259
|
+
* @package injective.insurance.v1beta1
|
|
260
|
+
* @see proto type: injective.insurance.v1beta1.MsgRequestRedemptionResponse
|
|
261
|
+
*/
|
|
170
262
|
export interface MsgRequestRedemptionResponseAmino {
|
|
171
263
|
}
|
|
172
264
|
export interface MsgRequestRedemptionResponseAminoMsg {
|
|
173
265
|
type: "/injective.insurance.v1beta1.MsgRequestRedemptionResponse";
|
|
174
266
|
value: MsgRequestRedemptionResponseAmino;
|
|
175
267
|
}
|
|
268
|
+
/**
|
|
269
|
+
* @name MsgUpdateParams
|
|
270
|
+
* @package injective.insurance.v1beta1
|
|
271
|
+
* @see proto type: injective.insurance.v1beta1.MsgUpdateParams
|
|
272
|
+
*/
|
|
176
273
|
export interface MsgUpdateParams {
|
|
177
|
-
/**
|
|
274
|
+
/**
|
|
275
|
+
* authority is the address of the governance account.
|
|
276
|
+
*/
|
|
178
277
|
authority: string;
|
|
179
278
|
/**
|
|
180
279
|
* params defines the insurance parameters to update.
|
|
@@ -187,8 +286,15 @@ export interface MsgUpdateParamsProtoMsg {
|
|
|
187
286
|
typeUrl: "/injective.insurance.v1beta1.MsgUpdateParams";
|
|
188
287
|
value: Uint8Array;
|
|
189
288
|
}
|
|
289
|
+
/**
|
|
290
|
+
* @name MsgUpdateParamsAmino
|
|
291
|
+
* @package injective.insurance.v1beta1
|
|
292
|
+
* @see proto type: injective.insurance.v1beta1.MsgUpdateParams
|
|
293
|
+
*/
|
|
190
294
|
export interface MsgUpdateParamsAmino {
|
|
191
|
-
/**
|
|
295
|
+
/**
|
|
296
|
+
* authority is the address of the governance account.
|
|
297
|
+
*/
|
|
192
298
|
authority: string;
|
|
193
299
|
/**
|
|
194
300
|
* params defines the insurance parameters to update.
|
|
@@ -201,18 +307,35 @@ export interface MsgUpdateParamsAminoMsg {
|
|
|
201
307
|
type: "insurance/MsgUpdateParams";
|
|
202
308
|
value: MsgUpdateParamsAmino;
|
|
203
309
|
}
|
|
310
|
+
/**
|
|
311
|
+
* @name MsgUpdateParamsResponse
|
|
312
|
+
* @package injective.insurance.v1beta1
|
|
313
|
+
* @see proto type: injective.insurance.v1beta1.MsgUpdateParamsResponse
|
|
314
|
+
*/
|
|
204
315
|
export interface MsgUpdateParamsResponse {
|
|
205
316
|
}
|
|
206
317
|
export interface MsgUpdateParamsResponseProtoMsg {
|
|
207
318
|
typeUrl: "/injective.insurance.v1beta1.MsgUpdateParamsResponse";
|
|
208
319
|
value: Uint8Array;
|
|
209
320
|
}
|
|
321
|
+
/**
|
|
322
|
+
* @name MsgUpdateParamsResponseAmino
|
|
323
|
+
* @package injective.insurance.v1beta1
|
|
324
|
+
* @see proto type: injective.insurance.v1beta1.MsgUpdateParamsResponse
|
|
325
|
+
*/
|
|
210
326
|
export interface MsgUpdateParamsResponseAmino {
|
|
211
327
|
}
|
|
212
328
|
export interface MsgUpdateParamsResponseAminoMsg {
|
|
213
329
|
type: "/injective.insurance.v1beta1.MsgUpdateParamsResponse";
|
|
214
330
|
value: MsgUpdateParamsResponseAmino;
|
|
215
331
|
}
|
|
332
|
+
/**
|
|
333
|
+
* MsgCreateInsuranceFund a message to create an insurance fund for a derivative
|
|
334
|
+
* market.
|
|
335
|
+
* @name MsgCreateInsuranceFund
|
|
336
|
+
* @package injective.insurance.v1beta1
|
|
337
|
+
* @see proto type: injective.insurance.v1beta1.MsgCreateInsuranceFund
|
|
338
|
+
*/
|
|
216
339
|
export declare const MsgCreateInsuranceFund: {
|
|
217
340
|
typeUrl: string;
|
|
218
341
|
aminoType: string;
|
|
@@ -230,6 +353,11 @@ export declare const MsgCreateInsuranceFund: {
|
|
|
230
353
|
toProtoMsg(message: MsgCreateInsuranceFund): MsgCreateInsuranceFundProtoMsg;
|
|
231
354
|
registerTypeUrl(): void;
|
|
232
355
|
};
|
|
356
|
+
/**
|
|
357
|
+
* @name MsgCreateInsuranceFundResponse
|
|
358
|
+
* @package injective.insurance.v1beta1
|
|
359
|
+
* @see proto type: injective.insurance.v1beta1.MsgCreateInsuranceFundResponse
|
|
360
|
+
*/
|
|
233
361
|
export declare const MsgCreateInsuranceFundResponse: {
|
|
234
362
|
typeUrl: string;
|
|
235
363
|
is(o: any): o is MsgCreateInsuranceFundResponse;
|
|
@@ -245,6 +373,13 @@ export declare const MsgCreateInsuranceFundResponse: {
|
|
|
245
373
|
toProtoMsg(message: MsgCreateInsuranceFundResponse): MsgCreateInsuranceFundResponseProtoMsg;
|
|
246
374
|
registerTypeUrl(): void;
|
|
247
375
|
};
|
|
376
|
+
/**
|
|
377
|
+
* MsgUnderwrite defines a message for depositing coins to underwrite an
|
|
378
|
+
* insurance fund
|
|
379
|
+
* @name MsgUnderwrite
|
|
380
|
+
* @package injective.insurance.v1beta1
|
|
381
|
+
* @see proto type: injective.insurance.v1beta1.MsgUnderwrite
|
|
382
|
+
*/
|
|
248
383
|
export declare const MsgUnderwrite: {
|
|
249
384
|
typeUrl: string;
|
|
250
385
|
aminoType: string;
|
|
@@ -262,6 +397,11 @@ export declare const MsgUnderwrite: {
|
|
|
262
397
|
toProtoMsg(message: MsgUnderwrite): MsgUnderwriteProtoMsg;
|
|
263
398
|
registerTypeUrl(): void;
|
|
264
399
|
};
|
|
400
|
+
/**
|
|
401
|
+
* @name MsgUnderwriteResponse
|
|
402
|
+
* @package injective.insurance.v1beta1
|
|
403
|
+
* @see proto type: injective.insurance.v1beta1.MsgUnderwriteResponse
|
|
404
|
+
*/
|
|
265
405
|
export declare const MsgUnderwriteResponse: {
|
|
266
406
|
typeUrl: string;
|
|
267
407
|
is(o: any): o is MsgUnderwriteResponse;
|
|
@@ -277,6 +417,13 @@ export declare const MsgUnderwriteResponse: {
|
|
|
277
417
|
toProtoMsg(message: MsgUnderwriteResponse): MsgUnderwriteResponseProtoMsg;
|
|
278
418
|
registerTypeUrl(): void;
|
|
279
419
|
};
|
|
420
|
+
/**
|
|
421
|
+
* MsgRequestRedemption defines a message for requesting a redemption of the
|
|
422
|
+
* sender's insurance fund tokens
|
|
423
|
+
* @name MsgRequestRedemption
|
|
424
|
+
* @package injective.insurance.v1beta1
|
|
425
|
+
* @see proto type: injective.insurance.v1beta1.MsgRequestRedemption
|
|
426
|
+
*/
|
|
280
427
|
export declare const MsgRequestRedemption: {
|
|
281
428
|
typeUrl: string;
|
|
282
429
|
aminoType: string;
|
|
@@ -294,6 +441,11 @@ export declare const MsgRequestRedemption: {
|
|
|
294
441
|
toProtoMsg(message: MsgRequestRedemption): MsgRequestRedemptionProtoMsg;
|
|
295
442
|
registerTypeUrl(): void;
|
|
296
443
|
};
|
|
444
|
+
/**
|
|
445
|
+
* @name MsgRequestRedemptionResponse
|
|
446
|
+
* @package injective.insurance.v1beta1
|
|
447
|
+
* @see proto type: injective.insurance.v1beta1.MsgRequestRedemptionResponse
|
|
448
|
+
*/
|
|
297
449
|
export declare const MsgRequestRedemptionResponse: {
|
|
298
450
|
typeUrl: string;
|
|
299
451
|
is(o: any): o is MsgRequestRedemptionResponse;
|
|
@@ -309,6 +461,11 @@ export declare const MsgRequestRedemptionResponse: {
|
|
|
309
461
|
toProtoMsg(message: MsgRequestRedemptionResponse): MsgRequestRedemptionResponseProtoMsg;
|
|
310
462
|
registerTypeUrl(): void;
|
|
311
463
|
};
|
|
464
|
+
/**
|
|
465
|
+
* @name MsgUpdateParams
|
|
466
|
+
* @package injective.insurance.v1beta1
|
|
467
|
+
* @see proto type: injective.insurance.v1beta1.MsgUpdateParams
|
|
468
|
+
*/
|
|
312
469
|
export declare const MsgUpdateParams: {
|
|
313
470
|
typeUrl: string;
|
|
314
471
|
aminoType: string;
|
|
@@ -326,6 +483,11 @@ export declare const MsgUpdateParams: {
|
|
|
326
483
|
toProtoMsg(message: MsgUpdateParams): MsgUpdateParamsProtoMsg;
|
|
327
484
|
registerTypeUrl(): void;
|
|
328
485
|
};
|
|
486
|
+
/**
|
|
487
|
+
* @name MsgUpdateParamsResponse
|
|
488
|
+
* @package injective.insurance.v1beta1
|
|
489
|
+
* @see proto type: injective.insurance.v1beta1.MsgUpdateParamsResponse
|
|
490
|
+
*/
|
|
329
491
|
export declare const MsgUpdateParamsResponse: {
|
|
330
492
|
typeUrl: string;
|
|
331
493
|
is(o: any): o is MsgUpdateParamsResponse;
|
|
@@ -18,6 +18,13 @@ function createBaseMsgCreateInsuranceFund() {
|
|
|
18
18
|
initialDeposit: coin_1.Coin.fromPartial({})
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* MsgCreateInsuranceFund a message to create an insurance fund for a derivative
|
|
23
|
+
* market.
|
|
24
|
+
* @name MsgCreateInsuranceFund
|
|
25
|
+
* @package injective.insurance.v1beta1
|
|
26
|
+
* @see proto type: injective.insurance.v1beta1.MsgCreateInsuranceFund
|
|
27
|
+
*/
|
|
21
28
|
exports.MsgCreateInsuranceFund = {
|
|
22
29
|
typeUrl: "/injective.insurance.v1beta1.MsgCreateInsuranceFund",
|
|
23
30
|
aminoType: "insurance/MsgCreateInsuranceFund",
|
|
@@ -175,6 +182,11 @@ exports.MsgCreateInsuranceFund = {
|
|
|
175
182
|
function createBaseMsgCreateInsuranceFundResponse() {
|
|
176
183
|
return {};
|
|
177
184
|
}
|
|
185
|
+
/**
|
|
186
|
+
* @name MsgCreateInsuranceFundResponse
|
|
187
|
+
* @package injective.insurance.v1beta1
|
|
188
|
+
* @see proto type: injective.insurance.v1beta1.MsgCreateInsuranceFundResponse
|
|
189
|
+
*/
|
|
178
190
|
exports.MsgCreateInsuranceFundResponse = {
|
|
179
191
|
typeUrl: "/injective.insurance.v1beta1.MsgCreateInsuranceFundResponse",
|
|
180
192
|
is(o) {
|
|
@@ -236,6 +248,13 @@ function createBaseMsgUnderwrite() {
|
|
|
236
248
|
deposit: coin_1.Coin.fromPartial({})
|
|
237
249
|
};
|
|
238
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* MsgUnderwrite defines a message for depositing coins to underwrite an
|
|
253
|
+
* insurance fund
|
|
254
|
+
* @name MsgUnderwrite
|
|
255
|
+
* @package injective.insurance.v1beta1
|
|
256
|
+
* @see proto type: injective.insurance.v1beta1.MsgUnderwrite
|
|
257
|
+
*/
|
|
239
258
|
exports.MsgUnderwrite = {
|
|
240
259
|
typeUrl: "/injective.insurance.v1beta1.MsgUnderwrite",
|
|
241
260
|
aminoType: "insurance/MsgUnderwrite",
|
|
@@ -338,6 +357,11 @@ exports.MsgUnderwrite = {
|
|
|
338
357
|
function createBaseMsgUnderwriteResponse() {
|
|
339
358
|
return {};
|
|
340
359
|
}
|
|
360
|
+
/**
|
|
361
|
+
* @name MsgUnderwriteResponse
|
|
362
|
+
* @package injective.insurance.v1beta1
|
|
363
|
+
* @see proto type: injective.insurance.v1beta1.MsgUnderwriteResponse
|
|
364
|
+
*/
|
|
341
365
|
exports.MsgUnderwriteResponse = {
|
|
342
366
|
typeUrl: "/injective.insurance.v1beta1.MsgUnderwriteResponse",
|
|
343
367
|
is(o) {
|
|
@@ -399,6 +423,13 @@ function createBaseMsgRequestRedemption() {
|
|
|
399
423
|
amount: coin_1.Coin.fromPartial({})
|
|
400
424
|
};
|
|
401
425
|
}
|
|
426
|
+
/**
|
|
427
|
+
* MsgRequestRedemption defines a message for requesting a redemption of the
|
|
428
|
+
* sender's insurance fund tokens
|
|
429
|
+
* @name MsgRequestRedemption
|
|
430
|
+
* @package injective.insurance.v1beta1
|
|
431
|
+
* @see proto type: injective.insurance.v1beta1.MsgRequestRedemption
|
|
432
|
+
*/
|
|
402
433
|
exports.MsgRequestRedemption = {
|
|
403
434
|
typeUrl: "/injective.insurance.v1beta1.MsgRequestRedemption",
|
|
404
435
|
aminoType: "insurance/MsgRequestRedemption",
|
|
@@ -501,6 +532,11 @@ exports.MsgRequestRedemption = {
|
|
|
501
532
|
function createBaseMsgRequestRedemptionResponse() {
|
|
502
533
|
return {};
|
|
503
534
|
}
|
|
535
|
+
/**
|
|
536
|
+
* @name MsgRequestRedemptionResponse
|
|
537
|
+
* @package injective.insurance.v1beta1
|
|
538
|
+
* @see proto type: injective.insurance.v1beta1.MsgRequestRedemptionResponse
|
|
539
|
+
*/
|
|
504
540
|
exports.MsgRequestRedemptionResponse = {
|
|
505
541
|
typeUrl: "/injective.insurance.v1beta1.MsgRequestRedemptionResponse",
|
|
506
542
|
is(o) {
|
|
@@ -561,6 +597,11 @@ function createBaseMsgUpdateParams() {
|
|
|
561
597
|
params: insurance_1.Params.fromPartial({})
|
|
562
598
|
};
|
|
563
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* @name MsgUpdateParams
|
|
602
|
+
* @package injective.insurance.v1beta1
|
|
603
|
+
* @see proto type: injective.insurance.v1beta1.MsgUpdateParams
|
|
604
|
+
*/
|
|
564
605
|
exports.MsgUpdateParams = {
|
|
565
606
|
typeUrl: "/injective.insurance.v1beta1.MsgUpdateParams",
|
|
566
607
|
aminoType: "insurance/MsgUpdateParams",
|
|
@@ -652,6 +693,11 @@ exports.MsgUpdateParams = {
|
|
|
652
693
|
function createBaseMsgUpdateParamsResponse() {
|
|
653
694
|
return {};
|
|
654
695
|
}
|
|
696
|
+
/**
|
|
697
|
+
* @name MsgUpdateParamsResponse
|
|
698
|
+
* @package injective.insurance.v1beta1
|
|
699
|
+
* @see proto type: injective.insurance.v1beta1.MsgUpdateParamsResponse
|
|
700
|
+
*/
|
|
655
701
|
exports.MsgUpdateParamsResponse = {
|
|
656
702
|
typeUrl: "/injective.insurance.v1beta1.MsgUpdateParamsResponse",
|
|
657
703
|
is(o) {
|
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
import { MsgCreateInsuranceFund, MsgUnderwrite, MsgRequestRedemption, MsgUpdateParams } from "./tx";
|
|
2
|
+
/**
|
|
3
|
+
* CreateInsuranceFund defines a method for creating an insurance fund
|
|
4
|
+
* @name createInsuranceFund
|
|
5
|
+
* @package injective.insurance.v1beta1
|
|
6
|
+
* @see proto service: injective.insurance.v1beta1.CreateInsuranceFund
|
|
7
|
+
*/
|
|
2
8
|
export declare const createInsuranceFund: (client: import("@interchainjs/cosmos/types").ISigningClient, signerAddress: string, message: MsgCreateInsuranceFund | MsgCreateInsuranceFund[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Underwrite defines a method for depositing tokens to underwrite an
|
|
11
|
+
* insurance fund
|
|
12
|
+
* @name underwrite
|
|
13
|
+
* @package injective.insurance.v1beta1
|
|
14
|
+
* @see proto service: injective.insurance.v1beta1.Underwrite
|
|
15
|
+
*/
|
|
3
16
|
export declare const underwrite: (client: import("@interchainjs/cosmos/types").ISigningClient, signerAddress: string, message: MsgUnderwrite | MsgUnderwrite[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* RequestRedemption defines a method for requesting a redemption of the
|
|
19
|
+
* sender's insurance fund tokens
|
|
20
|
+
* @name requestRedemption
|
|
21
|
+
* @package injective.insurance.v1beta1
|
|
22
|
+
* @see proto service: injective.insurance.v1beta1.RequestRedemption
|
|
23
|
+
*/
|
|
4
24
|
export declare const requestRedemption: (client: import("@interchainjs/cosmos/types").ISigningClient, signerAddress: string, message: MsgRequestRedemption | MsgRequestRedemption[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* @name updateParams
|
|
27
|
+
* @package injective.insurance.v1beta1
|
|
28
|
+
* @see proto service: injective.insurance.v1beta1.UpdateParams
|
|
29
|
+
*/
|
|
5
30
|
export declare const updateParams: (client: import("@interchainjs/cosmos/types").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
@@ -3,20 +3,40 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.updateParams = exports.requestRedemption = exports.underwrite = exports.createInsuranceFund = void 0;
|
|
4
4
|
const helper_func_types_1 = require("../../../helper-func-types");
|
|
5
5
|
const tx_1 = require("./tx");
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* CreateInsuranceFund defines a method for creating an insurance fund
|
|
8
|
+
* @name createInsuranceFund
|
|
9
|
+
* @package injective.insurance.v1beta1
|
|
10
|
+
* @see proto service: injective.insurance.v1beta1.CreateInsuranceFund
|
|
11
|
+
*/
|
|
7
12
|
exports.createInsuranceFund = (0, helper_func_types_1.buildTx)({
|
|
8
13
|
msg: tx_1.MsgCreateInsuranceFund
|
|
9
14
|
});
|
|
10
|
-
|
|
11
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Underwrite defines a method for depositing tokens to underwrite an
|
|
17
|
+
* insurance fund
|
|
18
|
+
* @name underwrite
|
|
19
|
+
* @package injective.insurance.v1beta1
|
|
20
|
+
* @see proto service: injective.insurance.v1beta1.Underwrite
|
|
21
|
+
*/
|
|
12
22
|
exports.underwrite = (0, helper_func_types_1.buildTx)({
|
|
13
23
|
msg: tx_1.MsgUnderwrite
|
|
14
24
|
});
|
|
15
|
-
|
|
16
|
-
|
|
25
|
+
/**
|
|
26
|
+
* RequestRedemption defines a method for requesting a redemption of the
|
|
27
|
+
* sender's insurance fund tokens
|
|
28
|
+
* @name requestRedemption
|
|
29
|
+
* @package injective.insurance.v1beta1
|
|
30
|
+
* @see proto service: injective.insurance.v1beta1.RequestRedemption
|
|
31
|
+
*/
|
|
17
32
|
exports.requestRedemption = (0, helper_func_types_1.buildTx)({
|
|
18
33
|
msg: tx_1.MsgRequestRedemption
|
|
19
34
|
});
|
|
35
|
+
/**
|
|
36
|
+
* @name updateParams
|
|
37
|
+
* @package injective.insurance.v1beta1
|
|
38
|
+
* @see proto service: injective.insurance.v1beta1.UpdateParams
|
|
39
|
+
*/
|
|
20
40
|
exports.updateParams = (0, helper_func_types_1.buildTx)({
|
|
21
41
|
msg: tx_1.MsgUpdateParams
|
|
22
42
|
});
|