injectivejs 0.1.0 → 0.3.0
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/README.md +71 -10
- package/package.json +1 -1
- package/types/codegen/AtomicOrder.client.d.ts +26 -0
- package/types/codegen/AtomicOrder.types.d.ts +30 -0
- package/types/codegen/Registry.client.d.ts +70 -0
- package/types/codegen/Registry.types.d.ts +68 -0
- package/types/codegen/confio/proofs.d.ts +495 -0
- package/types/codegen/contracts.d.ts +16 -0
- package/types/codegen/cosmos/app/v1alpha1/config.d.ts +81 -0
- package/types/codegen/cosmos/app/v1alpha1/module.d.ts +181 -0
- package/types/codegen/cosmos/app/v1alpha1/query.d.ts +29 -0
- package/types/codegen/cosmos/app/v1alpha1/query.rpc.query.d.ts +15 -0
- package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +68 -0
- package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +23 -0
- package/types/codegen/cosmos/auth/v1beta1/query.d.ts +211 -0
- package/types/codegen/cosmos/auth/v1beta1/query.lcd.d.ts +15 -0
- package/types/codegen/cosmos/auth/v1beta1/query.rpc.query.d.ts +33 -0
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +95 -0
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +48 -0
- package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +16 -0
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +118 -0
- package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/cosmos/authz/v1beta1/query.rpc.query.d.ts +21 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +54 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +118 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts +48 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +15 -0
- package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +26 -0
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +222 -0
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +62 -0
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +396 -0
- package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmos/bank/v1beta1/query.rpc.query.d.ts +39 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +58 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +354 -0
- package/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts +30 -0
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +138 -0
- package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +68 -0
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +514 -0
- package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +153 -0
- package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +65 -0
- package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +37 -0
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +252 -0
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.lcd.d.ts +14 -0
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.d.ts +30 -0
- package/types/codegen/cosmos/base/v1beta1/coin.d.ts +78 -0
- package/types/codegen/cosmos/bundle.d.ts +10676 -0
- package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +61 -0
- package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +47 -0
- package/types/codegen/cosmos/client.d.ts +951 -0
- package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +24 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +17 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.d.ts +30 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts +24 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +46 -0
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +39 -0
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +95 -0
- package/types/codegen/cosmos/crypto/multisig/keys.d.ts +26 -0
- package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +48 -0
- package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +40 -0
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +38 -0
- package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +281 -0
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +224 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +385 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.rpc.query.d.ts +39 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +133 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +27 -0
- package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +18 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +80 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.lcd.d.ts +10 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.rpc.query.d.ts +18 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +19 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +39 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts +24 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +137 -0
- package/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts +16 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +110 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.rpc.query.d.ts +21 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +32 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +73 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +17 -0
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +42 -0
- package/types/codegen/cosmos/gov/v1/gov.d.ts +301 -0
- package/types/codegen/cosmos/gov/v1/query.d.ts +298 -0
- package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +16 -0
- package/types/codegen/cosmos/gov/v1/query.rpc.query.d.ts +36 -0
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
- package/types/codegen/cosmos/gov/v1/tx.d.ts +169 -0
- package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
- package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +19 -0
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +42 -0
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +338 -0
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +298 -0
- package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
- package/types/codegen/cosmos/gov/v1beta1/query.rpc.query.d.ts +36 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +141 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/cosmos/group/v1/events.d.ts +146 -0
- package/types/codegen/cosmos/group/v1/genesis.d.ts +64 -0
- package/types/codegen/cosmos/group/v1/query.d.ts +462 -0
- package/types/codegen/cosmos/group/v1/query.lcd.d.ts +21 -0
- package/types/codegen/cosmos/group/v1/query.rpc.query.d.ts +51 -0
- package/types/codegen/cosmos/group/v1/tx.amino.d.ts +227 -0
- package/types/codegen/cosmos/group/v1/tx.d.ts +580 -0
- package/types/codegen/cosmos/group/v1/tx.registry.d.ts +180 -0
- package/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts +37 -0
- package/types/codegen/cosmos/group/v1/types.d.ts +537 -0
- package/types/codegen/cosmos/lcd.d.ts +57 -0
- package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +22 -0
- package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +56 -0
- package/types/codegen/cosmos/mint/v1beta1/query.d.ts +99 -0
- package/types/codegen/cosmos/mint/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/cosmos/mint/v1beta1/query.rpc.query.d.ts +21 -0
- package/types/codegen/cosmos/msg/v1/msg.d.ts +1 -0
- package/types/codegen/cosmos/nft/v1beta1/event.d.ts +55 -0
- package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +39 -0
- package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +73 -0
- package/types/codegen/cosmos/nft/v1beta1/query.d.ts +202 -0
- package/types/codegen/cosmos/nft/v1beta1/query.lcd.d.ts +15 -0
- package/types/codegen/cosmos/nft/v1beta1/query.rpc.query.d.ts +33 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +18 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +40 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts +24 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/orm/v1/orm.d.ts +196 -0
- package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +158 -0
- package/types/codegen/cosmos/params/v1beta1/params.d.ts +42 -0
- package/types/codegen/cosmos/params/v1beta1/query.d.ts +94 -0
- package/types/codegen/cosmos/params/v1beta1/query.lcd.d.ts +10 -0
- package/types/codegen/cosmos/params/v1beta1/query.rpc.query.d.ts +18 -0
- package/types/codegen/cosmos/rpc.query.d.ts +186 -0
- package/types/codegen/cosmos/rpc.tx.d.ts +47 -0
- package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +101 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +112 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.rpc.query.d.ts +21 -0
- package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +83 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +15 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.d.ts +26 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts +24 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +97 -0
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +75 -0
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +592 -0
- package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
- package/types/codegen/cosmos/staking/v1beta1/query.rpc.query.d.ts +54 -0
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +568 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +191 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +19 -0
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +203 -0
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +339 -0
- package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
- package/types/codegen/cosmos/tx/v1beta1/service.rpc.svc.d.ts +27 -0
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +603 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +233 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.query.d.ts +27 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +91 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +165 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +58 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +118 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts +48 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +15 -0
- package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +136 -0
- package/types/codegen/cosmos_proto/bundle.d.ts +24 -0
- package/types/codegen/cosmos_proto/cosmos.d.ts +124 -0
- package/types/codegen/cosmwasm/bundle.d.ts +1248 -0
- package/types/codegen/cosmwasm/client.d.ts +120 -0
- package/types/codegen/cosmwasm/lcd.d.ts +62 -0
- package/types/codegen/cosmwasm/rpc.query.d.ts +201 -0
- package/types/codegen/cosmwasm/rpc.tx.d.ts +52 -0
- package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +101 -0
- package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +60 -0
- package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +297 -0
- package/types/codegen/cosmwasm/wasm/v1/query.d.ts +411 -0
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmwasm/wasm/v1/query.rpc.query.d.ts +39 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +95 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +262 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +84 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +21 -0
- package/types/codegen/cosmwasm/wasm/v1/types.d.ts +247 -0
- package/types/codegen/gogoproto/bundle.d.ts +1 -0
- package/types/codegen/gogoproto/gogo.d.ts +1 -0
- package/types/codegen/google/api/annotations.d.ts +1 -0
- package/types/codegen/google/api/http.d.ts +721 -0
- package/types/codegen/google/bundle.d.ts +1597 -0
- package/types/codegen/google/protobuf/any.d.ts +237 -0
- package/types/codegen/google/protobuf/descriptor.d.ts +1725 -0
- package/types/codegen/google/protobuf/duration.d.ts +161 -0
- package/types/codegen/google/protobuf/empty.d.ts +33 -0
- package/types/codegen/google/protobuf/field_mask.d.ts +417 -0
- package/types/codegen/google/protobuf/struct.d.ts +148 -0
- package/types/codegen/google/protobuf/timestamp.d.ts +205 -0
- package/types/codegen/google/protobuf/wrappers.d.ts +209 -0
- package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +118 -0
- package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
- package/types/codegen/ibc/applications/transfer/v1/query.rpc.query.d.ts +21 -0
- package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +74 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +74 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +37 -0
- package/types/codegen/ibc/bundle.d.ts +4077 -0
- package/types/codegen/ibc/client.d.ts +559 -0
- package/types/codegen/ibc/core/channel/v1/channel.d.ts +313 -0
- package/types/codegen/ibc/core/channel/v1/genesis.d.ts +55 -0
- package/types/codegen/ibc/core/channel/v1/query.d.ts +726 -0
- package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
- package/types/codegen/ibc/core/channel/v1/query.rpc.query.d.ts +51 -0
- package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +380 -0
- package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
- package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +29 -0
- package/types/codegen/ibc/core/client/v1/client.d.ts +219 -0
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +82 -0
- package/types/codegen/ibc/core/client/v1/query.d.ts +377 -0
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
- package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +36 -0
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
- package/types/codegen/ibc/core/client/v1/tx.d.ts +187 -0
- package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +260 -0
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +24 -0
- package/types/codegen/ibc/core/connection/v1/query.d.ts +264 -0
- package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
- package/types/codegen/ibc/core/connection/v1/query.rpc.query.d.ts +27 -0
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +225 -0
- package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/ibc/core/port/v1/query.d.ts +53 -0
- package/types/codegen/ibc/core/port/v1/query.rpc.query.d.ts +15 -0
- package/types/codegen/ibc/core/types/v1/genesis.d.ts +31 -0
- package/types/codegen/ibc/lcd.d.ts +75 -0
- package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +28 -0
- package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +433 -0
- package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +433 -0
- package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +215 -0
- package/types/codegen/ibc/rpc.query.d.ts +242 -0
- package/types/codegen/ibc/rpc.tx.d.ts +65 -0
- package/types/codegen/ics23/bundle.d.ts +545 -0
- package/types/codegen/index.d.ts +19 -0
- package/types/codegen/injective/auction/v1beta1/auction.d.ts +96 -0
- package/types/codegen/injective/auction/v1beta1/genesis.d.ts +30 -0
- package/types/codegen/injective/auction/v1beta1/query.d.ts +95 -0
- package/types/codegen/injective/auction/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/injective/auction/v1beta1/query.rpc.query.d.ts +21 -0
- package/types/codegen/injective/auction/v1beta1/tx.amino.d.ts +20 -0
- package/types/codegen/injective/auction/v1beta1/tx.d.ts +33 -0
- package/types/codegen/injective/auction/v1beta1/tx.registry.d.ts +24 -0
- package/types/codegen/injective/auction/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/injective/bundle.d.ts +10808 -0
- package/types/codegen/injective/client.d.ts +1370 -0
- package/types/codegen/injective/crypto/v1beta1/ethsecp256k1/keys.d.ts +50 -0
- package/types/codegen/injective/exchange/v1beta1/authz.d.ts +153 -0
- package/types/codegen/injective/exchange/v1beta1/events.d.ts +390 -0
- package/types/codegen/injective/exchange/v1beta1/exchange.d.ts +1082 -0
- package/types/codegen/injective/exchange/v1beta1/genesis.d.ts +322 -0
- package/types/codegen/injective/exchange/v1beta1/query.d.ts +1595 -0
- package/types/codegen/injective/exchange/v1beta1/query.lcd.d.ts +54 -0
- package/types/codegen/injective/exchange/v1beta1/query.rpc.query.d.ts +150 -0
- package/types/codegen/injective/exchange/v1beta1/tx.amino.d.ts +590 -0
- package/types/codegen/injective/exchange/v1beta1/tx.d.ts +1697 -0
- package/types/codegen/injective/exchange/v1beta1/tx.registry.d.ts +348 -0
- package/types/codegen/injective/exchange/v1beta1/tx.rpc.msg.d.ts +65 -0
- package/types/codegen/injective/insurance/v1beta1/genesis.d.ts +46 -0
- package/types/codegen/injective/insurance/v1beta1/insurance.d.ts +176 -0
- package/types/codegen/injective/insurance/v1beta1/query.d.ts +161 -0
- package/types/codegen/injective/insurance/v1beta1/query.lcd.d.ts +14 -0
- package/types/codegen/injective/insurance/v1beta1/query.rpc.query.d.ts +30 -0
- package/types/codegen/injective/insurance/v1beta1/tx.amino.d.ts +57 -0
- package/types/codegen/injective/insurance/v1beta1/tx.d.ts +120 -0
- package/types/codegen/injective/insurance/v1beta1/tx.registry.d.ts +48 -0
- package/types/codegen/injective/insurance/v1beta1/tx.rpc.msg.d.ts +15 -0
- package/types/codegen/injective/lcd.d.ts +80 -0
- package/types/codegen/injective/ocr/v1beta1/genesis.d.ts +144 -0
- package/types/codegen/injective/ocr/v1beta1/ocr.d.ts +488 -0
- package/types/codegen/injective/ocr/v1beta1/query.d.ts +165 -0
- package/types/codegen/injective/ocr/v1beta1/query.lcd.d.ts +15 -0
- package/types/codegen/injective/ocr/v1beta1/query.rpc.query.d.ts +33 -0
- package/types/codegen/injective/ocr/v1beta1/tx.amino.d.ts +149 -0
- package/types/codegen/injective/ocr/v1beta1/tx.d.ts +250 -0
- package/types/codegen/injective/ocr/v1beta1/tx.registry.d.ts +108 -0
- package/types/codegen/injective/ocr/v1beta1/tx.rpc.msg.d.ts +25 -0
- package/types/codegen/injective/oracle/v1beta1/events.d.ts +147 -0
- package/types/codegen/injective/oracle/v1beta1/genesis.d.ts +57 -0
- package/types/codegen/injective/oracle/v1beta1/oracle.d.ts +412 -0
- package/types/codegen/injective/oracle/v1beta1/proposal.d.ts +152 -0
- package/types/codegen/injective/oracle/v1beta1/query.d.ts +327 -0
- package/types/codegen/injective/oracle/v1beta1/query.lcd.d.ts +20 -0
- package/types/codegen/injective/oracle/v1beta1/query.rpc.query.d.ts +48 -0
- package/types/codegen/injective/oracle/v1beta1/tx.amino.d.ts +73 -0
- package/types/codegen/injective/oracle/v1beta1/tx.d.ts +140 -0
- package/types/codegen/injective/oracle/v1beta1/tx.registry.d.ts +72 -0
- package/types/codegen/injective/oracle/v1beta1/tx.rpc.msg.d.ts +19 -0
- package/types/codegen/injective/peggy/v1/attestation.d.ts +107 -0
- package/types/codegen/injective/peggy/v1/batch.d.ts +45 -0
- package/types/codegen/injective/peggy/v1/ethereum_signer.d.ts +16 -0
- package/types/codegen/injective/peggy/v1/events.d.ts +290 -0
- package/types/codegen/injective/peggy/v1/genesis.d.ts +99 -0
- package/types/codegen/injective/peggy/v1/msgs.amino.d.ts +177 -0
- package/types/codegen/injective/peggy/v1/msgs.d.ts +499 -0
- package/types/codegen/injective/peggy/v1/msgs.registry.d.ts +144 -0
- package/types/codegen/injective/peggy/v1/msgs.rpc.msg.d.ts +31 -0
- package/types/codegen/injective/peggy/v1/pool.d.ts +30 -0
- package/types/codegen/injective/peggy/v1/proposal.d.ts +32 -0
- package/types/codegen/injective/peggy/v1/query.d.ts +457 -0
- package/types/codegen/injective/peggy/v1/query.lcd.d.ts +28 -0
- package/types/codegen/injective/peggy/v1/query.rpc.query.d.ts +72 -0
- package/types/codegen/injective/peggy/v1/types.d.ts +111 -0
- package/types/codegen/injective/rpc.query.d.ts +312 -0
- package/types/codegen/injective/rpc.tx.d.ts +67 -0
- package/types/codegen/injective/types/v1beta1/account.d.ts +24 -0
- package/types/codegen/injective/types/v1beta1/tx_ext.d.ts +41 -0
- package/types/codegen/injective/types/v1beta1/tx_response.d.ts +30 -0
- package/types/codegen/injective/wasmx/v1/genesis.d.ts +18 -0
- package/types/codegen/injective/wasmx/v1/query.d.ts +52 -0
- package/types/codegen/injective/wasmx/v1/query.lcd.d.ts +10 -0
- package/types/codegen/injective/wasmx/v1/query.rpc.query.d.ts +18 -0
- package/types/codegen/injective/wasmx/v1/tx.d.ts +1 -0
- package/types/codegen/injective/wasmx/v1/wasmx.d.ts +84 -0
- package/types/codegen/tendermint/abci/types.d.ts +902 -0
- package/types/codegen/tendermint/bundle.d.ts +2065 -0
- package/types/codegen/tendermint/crypto/keys.d.ts +17 -0
- package/types/codegen/tendermint/crypto/proof.d.ts +89 -0
- package/types/codegen/tendermint/libs/bits/types.d.ts +15 -0
- package/types/codegen/tendermint/p2p/types.d.ts +87 -0
- package/types/codegen/tendermint/types/block.d.ts +21 -0
- package/types/codegen/tendermint/types/evidence.d.ts +70 -0
- package/types/codegen/tendermint/types/params.d.ts +181 -0
- package/types/codegen/tendermint/types/types.d.ts +326 -0
- package/types/codegen/tendermint/types/validator.d.ts +48 -0
- package/types/codegen/tendermint/version/types.d.ts +48 -0
- package/types/index.d.ts +1 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
|
3
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
|
4
|
+
/**
|
|
5
|
+
* GenericAuthorization gives the grantee unrestricted permissions to execute
|
|
6
|
+
* the provided method on behalf of the granter's account.
|
|
7
|
+
*/
|
|
8
|
+
export interface GenericAuthorization {
|
|
9
|
+
/** Msg, identified by it's type URL, to grant unrestricted permissions to execute */
|
|
10
|
+
msg: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* GenericAuthorization gives the grantee unrestricted permissions to execute
|
|
14
|
+
* the provided method on behalf of the granter's account.
|
|
15
|
+
*/
|
|
16
|
+
export interface GenericAuthorizationSDKType {
|
|
17
|
+
/** Msg, identified by it's type URL, to grant unrestricted permissions to execute */
|
|
18
|
+
msg: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Grant gives permissions to execute
|
|
22
|
+
* the provide method with expiration time.
|
|
23
|
+
*/
|
|
24
|
+
export interface Grant {
|
|
25
|
+
authorization: Any;
|
|
26
|
+
/**
|
|
27
|
+
* time when the grant will expire and will be pruned. If null, then the grant
|
|
28
|
+
* doesn't have a time expiration (other conditions in `authorization`
|
|
29
|
+
* may apply to invalidate the grant)
|
|
30
|
+
*/
|
|
31
|
+
expiration?: Date;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Grant gives permissions to execute
|
|
35
|
+
* the provide method with expiration time.
|
|
36
|
+
*/
|
|
37
|
+
export interface GrantSDKType {
|
|
38
|
+
authorization: AnySDKType;
|
|
39
|
+
/**
|
|
40
|
+
* time when the grant will expire and will be pruned. If null, then the grant
|
|
41
|
+
* doesn't have a time expiration (other conditions in `authorization`
|
|
42
|
+
* may apply to invalidate the grant)
|
|
43
|
+
*/
|
|
44
|
+
expiration?: Date;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* GrantAuthorization extends a grant with both the addresses of the grantee and granter.
|
|
48
|
+
* It is used in genesis.proto and query.proto
|
|
49
|
+
*/
|
|
50
|
+
export interface GrantAuthorization {
|
|
51
|
+
granter: string;
|
|
52
|
+
grantee: string;
|
|
53
|
+
authorization: Any;
|
|
54
|
+
expiration: Date;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* GrantAuthorization extends a grant with both the addresses of the grantee and granter.
|
|
58
|
+
* It is used in genesis.proto and query.proto
|
|
59
|
+
*/
|
|
60
|
+
export interface GrantAuthorizationSDKType {
|
|
61
|
+
granter: string;
|
|
62
|
+
grantee: string;
|
|
63
|
+
authorization: AnySDKType;
|
|
64
|
+
expiration: Date;
|
|
65
|
+
}
|
|
66
|
+
/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */
|
|
67
|
+
export interface GrantQueueItem {
|
|
68
|
+
/** msg_type_urls contains the list of TypeURL of a sdk.Msg. */
|
|
69
|
+
msgTypeUrls: string[];
|
|
70
|
+
}
|
|
71
|
+
/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */
|
|
72
|
+
export interface GrantQueueItemSDKType {
|
|
73
|
+
/** msg_type_urls contains the list of TypeURL of a sdk.Msg. */
|
|
74
|
+
msg_type_urls: string[];
|
|
75
|
+
}
|
|
76
|
+
export declare const GenericAuthorization: {
|
|
77
|
+
encode(message: GenericAuthorization, writer?: _m0.Writer): _m0.Writer;
|
|
78
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GenericAuthorization;
|
|
79
|
+
fromPartial(object: DeepPartial<GenericAuthorization>): GenericAuthorization;
|
|
80
|
+
};
|
|
81
|
+
export declare const Grant: {
|
|
82
|
+
encode(message: Grant, writer?: _m0.Writer): _m0.Writer;
|
|
83
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Grant;
|
|
84
|
+
fromPartial(object: DeepPartial<Grant>): Grant;
|
|
85
|
+
};
|
|
86
|
+
export declare const GrantAuthorization: {
|
|
87
|
+
encode(message: GrantAuthorization, writer?: _m0.Writer): _m0.Writer;
|
|
88
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GrantAuthorization;
|
|
89
|
+
fromPartial(object: DeepPartial<GrantAuthorization>): GrantAuthorization;
|
|
90
|
+
};
|
|
91
|
+
export declare const GrantQueueItem: {
|
|
92
|
+
encode(message: GrantQueueItem, writer?: _m0.Writer): _m0.Writer;
|
|
93
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GrantQueueItem;
|
|
94
|
+
fromPartial(object: DeepPartial<GrantQueueItem>): GrantQueueItem;
|
|
95
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
|
2
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
|
3
|
+
/** EventGrant is emitted on Msg/Grant */
|
|
4
|
+
export interface EventGrant {
|
|
5
|
+
/** Msg type URL for which an autorization is granted */
|
|
6
|
+
msgTypeUrl: string;
|
|
7
|
+
/** Granter account address */
|
|
8
|
+
granter: string;
|
|
9
|
+
/** Grantee account address */
|
|
10
|
+
grantee: string;
|
|
11
|
+
}
|
|
12
|
+
/** EventGrant is emitted on Msg/Grant */
|
|
13
|
+
export interface EventGrantSDKType {
|
|
14
|
+
/** Msg type URL for which an autorization is granted */
|
|
15
|
+
msg_type_url: string;
|
|
16
|
+
/** Granter account address */
|
|
17
|
+
granter: string;
|
|
18
|
+
/** Grantee account address */
|
|
19
|
+
grantee: string;
|
|
20
|
+
}
|
|
21
|
+
/** EventRevoke is emitted on Msg/Revoke */
|
|
22
|
+
export interface EventRevoke {
|
|
23
|
+
/** Msg type URL for which an autorization is revoked */
|
|
24
|
+
msgTypeUrl: string;
|
|
25
|
+
/** Granter account address */
|
|
26
|
+
granter: string;
|
|
27
|
+
/** Grantee account address */
|
|
28
|
+
grantee: string;
|
|
29
|
+
}
|
|
30
|
+
/** EventRevoke is emitted on Msg/Revoke */
|
|
31
|
+
export interface EventRevokeSDKType {
|
|
32
|
+
/** Msg type URL for which an autorization is revoked */
|
|
33
|
+
msg_type_url: string;
|
|
34
|
+
/** Granter account address */
|
|
35
|
+
granter: string;
|
|
36
|
+
/** Grantee account address */
|
|
37
|
+
grantee: string;
|
|
38
|
+
}
|
|
39
|
+
export declare const EventGrant: {
|
|
40
|
+
encode(message: EventGrant, writer?: _m0.Writer): _m0.Writer;
|
|
41
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EventGrant;
|
|
42
|
+
fromPartial(object: DeepPartial<EventGrant>): EventGrant;
|
|
43
|
+
};
|
|
44
|
+
export declare const EventRevoke: {
|
|
45
|
+
encode(message: EventRevoke, writer?: _m0.Writer): _m0.Writer;
|
|
46
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EventRevoke;
|
|
47
|
+
fromPartial(object: DeepPartial<EventRevoke>): EventRevoke;
|
|
48
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GrantAuthorization, GrantAuthorizationSDKType } from "./authz";
|
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
|
3
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
|
4
|
+
/** GenesisState defines the authz module's genesis state. */
|
|
5
|
+
export interface GenesisState {
|
|
6
|
+
authorization: GrantAuthorization[];
|
|
7
|
+
}
|
|
8
|
+
/** GenesisState defines the authz module's genesis state. */
|
|
9
|
+
export interface GenesisStateSDKType {
|
|
10
|
+
authorization: GrantAuthorizationSDKType[];
|
|
11
|
+
}
|
|
12
|
+
export declare const GenesisState: {
|
|
13
|
+
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
|
|
14
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
|
|
15
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
|
|
16
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination";
|
|
2
|
+
import { Grant, GrantSDKType, GrantAuthorization, GrantAuthorizationSDKType } from "./authz";
|
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
|
4
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
|
5
|
+
/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */
|
|
6
|
+
export interface QueryGrantsRequest {
|
|
7
|
+
granter?: string;
|
|
8
|
+
grantee?: string;
|
|
9
|
+
/** Optional, msg_type_url, when set, will query only grants matching given msg type. */
|
|
10
|
+
msgTypeUrl?: string;
|
|
11
|
+
/** pagination defines an pagination for the request. */
|
|
12
|
+
pagination?: PageRequest;
|
|
13
|
+
}
|
|
14
|
+
/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */
|
|
15
|
+
export interface QueryGrantsRequestSDKType {
|
|
16
|
+
granter?: string;
|
|
17
|
+
grantee?: string;
|
|
18
|
+
/** Optional, msg_type_url, when set, will query only grants matching given msg type. */
|
|
19
|
+
msg_type_url?: string;
|
|
20
|
+
/** pagination defines an pagination for the request. */
|
|
21
|
+
pagination?: PageRequestSDKType;
|
|
22
|
+
}
|
|
23
|
+
/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */
|
|
24
|
+
export interface QueryGrantsResponse {
|
|
25
|
+
/** authorizations is a list of grants granted for grantee by granter. */
|
|
26
|
+
grants: Grant[];
|
|
27
|
+
/** pagination defines an pagination for the response. */
|
|
28
|
+
pagination?: PageResponse;
|
|
29
|
+
}
|
|
30
|
+
/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */
|
|
31
|
+
export interface QueryGrantsResponseSDKType {
|
|
32
|
+
/** authorizations is a list of grants granted for grantee by granter. */
|
|
33
|
+
grants: GrantSDKType[];
|
|
34
|
+
/** pagination defines an pagination for the response. */
|
|
35
|
+
pagination?: PageResponseSDKType;
|
|
36
|
+
}
|
|
37
|
+
/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */
|
|
38
|
+
export interface QueryGranterGrantsRequest {
|
|
39
|
+
granter: string;
|
|
40
|
+
/** pagination defines an pagination for the request. */
|
|
41
|
+
pagination?: PageRequest;
|
|
42
|
+
}
|
|
43
|
+
/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */
|
|
44
|
+
export interface QueryGranterGrantsRequestSDKType {
|
|
45
|
+
granter: string;
|
|
46
|
+
/** pagination defines an pagination for the request. */
|
|
47
|
+
pagination?: PageRequestSDKType;
|
|
48
|
+
}
|
|
49
|
+
/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */
|
|
50
|
+
export interface QueryGranterGrantsResponse {
|
|
51
|
+
/** grants is a list of grants granted by the granter. */
|
|
52
|
+
grants: GrantAuthorization[];
|
|
53
|
+
/** pagination defines an pagination for the response. */
|
|
54
|
+
pagination?: PageResponse;
|
|
55
|
+
}
|
|
56
|
+
/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */
|
|
57
|
+
export interface QueryGranterGrantsResponseSDKType {
|
|
58
|
+
/** grants is a list of grants granted by the granter. */
|
|
59
|
+
grants: GrantAuthorizationSDKType[];
|
|
60
|
+
/** pagination defines an pagination for the response. */
|
|
61
|
+
pagination?: PageResponseSDKType;
|
|
62
|
+
}
|
|
63
|
+
/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */
|
|
64
|
+
export interface QueryGranteeGrantsRequest {
|
|
65
|
+
grantee: string;
|
|
66
|
+
/** pagination defines an pagination for the request. */
|
|
67
|
+
pagination?: PageRequest;
|
|
68
|
+
}
|
|
69
|
+
/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */
|
|
70
|
+
export interface QueryGranteeGrantsRequestSDKType {
|
|
71
|
+
grantee: string;
|
|
72
|
+
/** pagination defines an pagination for the request. */
|
|
73
|
+
pagination?: PageRequestSDKType;
|
|
74
|
+
}
|
|
75
|
+
/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */
|
|
76
|
+
export interface QueryGranteeGrantsResponse {
|
|
77
|
+
/** grants is a list of grants granted to the grantee. */
|
|
78
|
+
grants: GrantAuthorization[];
|
|
79
|
+
/** pagination defines an pagination for the response. */
|
|
80
|
+
pagination?: PageResponse;
|
|
81
|
+
}
|
|
82
|
+
/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */
|
|
83
|
+
export interface QueryGranteeGrantsResponseSDKType {
|
|
84
|
+
/** grants is a list of grants granted to the grantee. */
|
|
85
|
+
grants: GrantAuthorizationSDKType[];
|
|
86
|
+
/** pagination defines an pagination for the response. */
|
|
87
|
+
pagination?: PageResponseSDKType;
|
|
88
|
+
}
|
|
89
|
+
export declare const QueryGrantsRequest: {
|
|
90
|
+
encode(message: QueryGrantsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
91
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsRequest;
|
|
92
|
+
fromPartial(object: DeepPartial<QueryGrantsRequest>): QueryGrantsRequest;
|
|
93
|
+
};
|
|
94
|
+
export declare const QueryGrantsResponse: {
|
|
95
|
+
encode(message: QueryGrantsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
96
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponse;
|
|
97
|
+
fromPartial(object: DeepPartial<QueryGrantsResponse>): QueryGrantsResponse;
|
|
98
|
+
};
|
|
99
|
+
export declare const QueryGranterGrantsRequest: {
|
|
100
|
+
encode(message: QueryGranterGrantsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
101
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsRequest;
|
|
102
|
+
fromPartial(object: DeepPartial<QueryGranterGrantsRequest>): QueryGranterGrantsRequest;
|
|
103
|
+
};
|
|
104
|
+
export declare const QueryGranterGrantsResponse: {
|
|
105
|
+
encode(message: QueryGranterGrantsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
106
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponse;
|
|
107
|
+
fromPartial(object: DeepPartial<QueryGranterGrantsResponse>): QueryGranterGrantsResponse;
|
|
108
|
+
};
|
|
109
|
+
export declare const QueryGranteeGrantsRequest: {
|
|
110
|
+
encode(message: QueryGranteeGrantsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
111
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsRequest;
|
|
112
|
+
fromPartial(object: DeepPartial<QueryGranteeGrantsRequest>): QueryGranteeGrantsRequest;
|
|
113
|
+
};
|
|
114
|
+
export declare const QueryGranteeGrantsResponse: {
|
|
115
|
+
encode(message: QueryGranteeGrantsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
116
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponse;
|
|
117
|
+
fromPartial(object: DeepPartial<QueryGranteeGrantsResponse>): QueryGranteeGrantsResponse;
|
|
118
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LCDClient } from "@osmonauts/lcd";
|
|
2
|
+
import { QueryGrantsRequest, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsResponseSDKType } from "./query";
|
|
3
|
+
export declare class LCDQueryClient {
|
|
4
|
+
req: LCDClient;
|
|
5
|
+
constructor({ requestClient }: {
|
|
6
|
+
requestClient: LCDClient;
|
|
7
|
+
});
|
|
8
|
+
grants(params: QueryGrantsRequest): Promise<QueryGrantsResponseSDKType>;
|
|
9
|
+
granterGrants(params: QueryGranterGrantsRequest): Promise<QueryGranterGrantsResponseSDKType>;
|
|
10
|
+
granteeGrants(params: QueryGranteeGrantsRequest): Promise<QueryGranteeGrantsResponseSDKType>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Rpc } from "@osmonauts/helpers";
|
|
2
|
+
import { QueryClient } from "@cosmjs/stargate";
|
|
3
|
+
import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query";
|
|
4
|
+
/** Query defines the RPC service */
|
|
5
|
+
export interface Query {
|
|
6
|
+
grants(request: QueryGrantsRequest): Promise<QueryGrantsResponse>;
|
|
7
|
+
granterGrants(request: QueryGranterGrantsRequest): Promise<QueryGranterGrantsResponse>;
|
|
8
|
+
granteeGrants(request: QueryGranteeGrantsRequest): Promise<QueryGranteeGrantsResponse>;
|
|
9
|
+
}
|
|
10
|
+
export declare class QueryClientImpl implements Query {
|
|
11
|
+
private readonly rpc;
|
|
12
|
+
constructor(rpc: Rpc);
|
|
13
|
+
grants(request: QueryGrantsRequest): Promise<QueryGrantsResponse>;
|
|
14
|
+
granterGrants(request: QueryGranterGrantsRequest): Promise<QueryGranterGrantsResponse>;
|
|
15
|
+
granteeGrants(request: QueryGranteeGrantsRequest): Promise<QueryGranteeGrantsResponse>;
|
|
16
|
+
}
|
|
17
|
+
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
18
|
+
grants(request: QueryGrantsRequest): Promise<QueryGrantsResponse>;
|
|
19
|
+
granterGrants(request: QueryGranterGrantsRequest): Promise<QueryGranterGrantsResponse>;
|
|
20
|
+
granteeGrants(request: QueryGranteeGrantsRequest): Promise<QueryGranteeGrantsResponse>;
|
|
21
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { AminoMsg } from "@cosmjs/amino";
|
|
2
|
+
import { MsgGrant, MsgExec, MsgRevoke } from "./tx";
|
|
3
|
+
export interface AminoMsgGrant extends AminoMsg {
|
|
4
|
+
type: "cosmos-sdk/MsgGrant";
|
|
5
|
+
value: {
|
|
6
|
+
granter: string;
|
|
7
|
+
grantee: string;
|
|
8
|
+
grant: {
|
|
9
|
+
authorization: {
|
|
10
|
+
type_url: string;
|
|
11
|
+
value: Uint8Array;
|
|
12
|
+
};
|
|
13
|
+
expiration: {
|
|
14
|
+
seconds: string;
|
|
15
|
+
nanos: number;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export interface AminoMsgExec extends AminoMsg {
|
|
21
|
+
type: "cosmos-sdk/MsgExec";
|
|
22
|
+
value: {
|
|
23
|
+
grantee: string;
|
|
24
|
+
msgs: {
|
|
25
|
+
type_url: string;
|
|
26
|
+
value: Uint8Array;
|
|
27
|
+
}[];
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export interface AminoMsgRevoke extends AminoMsg {
|
|
31
|
+
type: "cosmos-sdk/MsgRevoke";
|
|
32
|
+
value: {
|
|
33
|
+
granter: string;
|
|
34
|
+
grantee: string;
|
|
35
|
+
msg_type_url: string;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export declare const AminoConverter: {
|
|
39
|
+
"/cosmos.authz.v1beta1.MsgGrant": {
|
|
40
|
+
aminoType: string;
|
|
41
|
+
toAmino: ({ granter, grantee, grant }: MsgGrant) => AminoMsgGrant["value"];
|
|
42
|
+
fromAmino: ({ granter, grantee, grant }: AminoMsgGrant["value"]) => MsgGrant;
|
|
43
|
+
};
|
|
44
|
+
"/cosmos.authz.v1beta1.MsgExec": {
|
|
45
|
+
aminoType: string;
|
|
46
|
+
toAmino: ({ grantee, msgs }: MsgExec) => AminoMsgExec["value"];
|
|
47
|
+
fromAmino: ({ grantee, msgs }: AminoMsgExec["value"]) => MsgExec;
|
|
48
|
+
};
|
|
49
|
+
"/cosmos.authz.v1beta1.MsgRevoke": {
|
|
50
|
+
aminoType: string;
|
|
51
|
+
toAmino: ({ granter, grantee, msgTypeUrl }: MsgRevoke) => AminoMsgRevoke["value"];
|
|
52
|
+
fromAmino: ({ granter, grantee, msg_type_url }: AminoMsgRevoke["value"]) => MsgRevoke;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Grant, GrantSDKType } from "./authz";
|
|
2
|
+
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
|
4
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
|
5
|
+
/**
|
|
6
|
+
* MsgGrant is a request type for Grant method. It declares authorization to the grantee
|
|
7
|
+
* on behalf of the granter with the provided expiration time.
|
|
8
|
+
*/
|
|
9
|
+
export interface MsgGrant {
|
|
10
|
+
granter: string;
|
|
11
|
+
grantee: string;
|
|
12
|
+
grant: Grant;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* MsgGrant is a request type for Grant method. It declares authorization to the grantee
|
|
16
|
+
* on behalf of the granter with the provided expiration time.
|
|
17
|
+
*/
|
|
18
|
+
export interface MsgGrantSDKType {
|
|
19
|
+
granter: string;
|
|
20
|
+
grantee: string;
|
|
21
|
+
grant: GrantSDKType;
|
|
22
|
+
}
|
|
23
|
+
/** MsgExecResponse defines the Msg/MsgExecResponse response type. */
|
|
24
|
+
export interface MsgExecResponse {
|
|
25
|
+
results: Uint8Array[];
|
|
26
|
+
}
|
|
27
|
+
/** MsgExecResponse defines the Msg/MsgExecResponse response type. */
|
|
28
|
+
export interface MsgExecResponseSDKType {
|
|
29
|
+
results: Uint8Array[];
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* MsgExec attempts to execute the provided messages using
|
|
33
|
+
* authorizations granted to the grantee. Each message should have only
|
|
34
|
+
* one signer corresponding to the granter of the authorization.
|
|
35
|
+
*/
|
|
36
|
+
export interface MsgExec {
|
|
37
|
+
grantee: string;
|
|
38
|
+
/**
|
|
39
|
+
* Authorization Msg requests to execute. Each msg must implement Authorization interface
|
|
40
|
+
* The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg))
|
|
41
|
+
* triple and validate it.
|
|
42
|
+
*/
|
|
43
|
+
msgs: Any[];
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* MsgExec attempts to execute the provided messages using
|
|
47
|
+
* authorizations granted to the grantee. Each message should have only
|
|
48
|
+
* one signer corresponding to the granter of the authorization.
|
|
49
|
+
*/
|
|
50
|
+
export interface MsgExecSDKType {
|
|
51
|
+
grantee: string;
|
|
52
|
+
/**
|
|
53
|
+
* Authorization Msg requests to execute. Each msg must implement Authorization interface
|
|
54
|
+
* The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg))
|
|
55
|
+
* triple and validate it.
|
|
56
|
+
*/
|
|
57
|
+
msgs: AnySDKType[];
|
|
58
|
+
}
|
|
59
|
+
/** MsgGrantResponse defines the Msg/MsgGrant response type. */
|
|
60
|
+
export interface MsgGrantResponse {
|
|
61
|
+
}
|
|
62
|
+
/** MsgGrantResponse defines the Msg/MsgGrant response type. */
|
|
63
|
+
export interface MsgGrantResponseSDKType {
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* MsgRevoke revokes any authorization with the provided sdk.Msg type on the
|
|
67
|
+
* granter's account with that has been granted to the grantee.
|
|
68
|
+
*/
|
|
69
|
+
export interface MsgRevoke {
|
|
70
|
+
granter: string;
|
|
71
|
+
grantee: string;
|
|
72
|
+
msgTypeUrl: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* MsgRevoke revokes any authorization with the provided sdk.Msg type on the
|
|
76
|
+
* granter's account with that has been granted to the grantee.
|
|
77
|
+
*/
|
|
78
|
+
export interface MsgRevokeSDKType {
|
|
79
|
+
granter: string;
|
|
80
|
+
grantee: string;
|
|
81
|
+
msg_type_url: string;
|
|
82
|
+
}
|
|
83
|
+
/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */
|
|
84
|
+
export interface MsgRevokeResponse {
|
|
85
|
+
}
|
|
86
|
+
/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */
|
|
87
|
+
export interface MsgRevokeResponseSDKType {
|
|
88
|
+
}
|
|
89
|
+
export declare const MsgGrant: {
|
|
90
|
+
encode(message: MsgGrant, writer?: _m0.Writer): _m0.Writer;
|
|
91
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrant;
|
|
92
|
+
fromPartial(object: DeepPartial<MsgGrant>): MsgGrant;
|
|
93
|
+
};
|
|
94
|
+
export declare const MsgExecResponse: {
|
|
95
|
+
encode(message: MsgExecResponse, writer?: _m0.Writer): _m0.Writer;
|
|
96
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse;
|
|
97
|
+
fromPartial(object: DeepPartial<MsgExecResponse>): MsgExecResponse;
|
|
98
|
+
};
|
|
99
|
+
export declare const MsgExec: {
|
|
100
|
+
encode(message: MsgExec, writer?: _m0.Writer): _m0.Writer;
|
|
101
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec;
|
|
102
|
+
fromPartial(object: DeepPartial<MsgExec>): MsgExec;
|
|
103
|
+
};
|
|
104
|
+
export declare const MsgGrantResponse: {
|
|
105
|
+
encode(_: MsgGrantResponse, writer?: _m0.Writer): _m0.Writer;
|
|
106
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponse;
|
|
107
|
+
fromPartial(_: DeepPartial<MsgGrantResponse>): MsgGrantResponse;
|
|
108
|
+
};
|
|
109
|
+
export declare const MsgRevoke: {
|
|
110
|
+
encode(message: MsgRevoke, writer?: _m0.Writer): _m0.Writer;
|
|
111
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevoke;
|
|
112
|
+
fromPartial(object: DeepPartial<MsgRevoke>): MsgRevoke;
|
|
113
|
+
};
|
|
114
|
+
export declare const MsgRevokeResponse: {
|
|
115
|
+
encode(_: MsgRevokeResponse, writer?: _m0.Writer): _m0.Writer;
|
|
116
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponse;
|
|
117
|
+
fromPartial(_: DeepPartial<MsgRevokeResponse>): MsgRevokeResponse;
|
|
118
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { GeneratedType, Registry } from "@cosmjs/proto-signing";
|
|
2
|
+
import { MsgGrant, MsgExec, MsgRevoke } from "./tx";
|
|
3
|
+
export declare const registry: ReadonlyArray<[string, GeneratedType]>;
|
|
4
|
+
export declare const load: (protoRegistry: Registry) => void;
|
|
5
|
+
export declare const MessageComposer: {
|
|
6
|
+
encoded: {
|
|
7
|
+
grant(value: MsgGrant): {
|
|
8
|
+
typeUrl: string;
|
|
9
|
+
value: Uint8Array;
|
|
10
|
+
};
|
|
11
|
+
exec(value: MsgExec): {
|
|
12
|
+
typeUrl: string;
|
|
13
|
+
value: Uint8Array;
|
|
14
|
+
};
|
|
15
|
+
revoke(value: MsgRevoke): {
|
|
16
|
+
typeUrl: string;
|
|
17
|
+
value: Uint8Array;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
withTypeUrl: {
|
|
21
|
+
grant(value: MsgGrant): {
|
|
22
|
+
typeUrl: string;
|
|
23
|
+
value: MsgGrant;
|
|
24
|
+
};
|
|
25
|
+
exec(value: MsgExec): {
|
|
26
|
+
typeUrl: string;
|
|
27
|
+
value: MsgExec;
|
|
28
|
+
};
|
|
29
|
+
revoke(value: MsgRevoke): {
|
|
30
|
+
typeUrl: string;
|
|
31
|
+
value: MsgRevoke;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
fromPartial: {
|
|
35
|
+
grant(value: MsgGrant): {
|
|
36
|
+
typeUrl: string;
|
|
37
|
+
value: MsgGrant;
|
|
38
|
+
};
|
|
39
|
+
exec(value: MsgExec): {
|
|
40
|
+
typeUrl: string;
|
|
41
|
+
value: MsgExec;
|
|
42
|
+
};
|
|
43
|
+
revoke(value: MsgRevoke): {
|
|
44
|
+
typeUrl: string;
|
|
45
|
+
value: MsgRevoke;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Rpc } from "@osmonauts/helpers";
|
|
2
|
+
import { MsgGrant, MsgGrantResponse, MsgExec, MsgExecResponse, MsgRevoke, MsgRevokeResponse } from "./tx";
|
|
3
|
+
/** Msg defines the RPC service */
|
|
4
|
+
export interface Msg {
|
|
5
|
+
grant(request: MsgGrant): Promise<MsgGrantResponse>;
|
|
6
|
+
exec(request: MsgExec): Promise<MsgExecResponse>;
|
|
7
|
+
revoke(request: MsgRevoke): Promise<MsgRevokeResponse>;
|
|
8
|
+
}
|
|
9
|
+
export declare class MsgClientImpl implements Msg {
|
|
10
|
+
private readonly rpc;
|
|
11
|
+
constructor(rpc: Rpc);
|
|
12
|
+
grant(request: MsgGrant): Promise<MsgGrantResponse>;
|
|
13
|
+
exec(request: MsgExec): Promise<MsgExecResponse>;
|
|
14
|
+
revoke(request: MsgRevoke): Promise<MsgRevokeResponse>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
|
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
|
3
|
+
import { DeepPartial } from "@osmonauts/helpers";
|
|
4
|
+
/**
|
|
5
|
+
* SendAuthorization allows the grantee to spend up to spend_limit coins from
|
|
6
|
+
* the granter's account.
|
|
7
|
+
*
|
|
8
|
+
* Since: cosmos-sdk 0.43
|
|
9
|
+
*/
|
|
10
|
+
export interface SendAuthorization {
|
|
11
|
+
spendLimit: Coin[];
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* SendAuthorization allows the grantee to spend up to spend_limit coins from
|
|
15
|
+
* the granter's account.
|
|
16
|
+
*
|
|
17
|
+
* Since: cosmos-sdk 0.43
|
|
18
|
+
*/
|
|
19
|
+
export interface SendAuthorizationSDKType {
|
|
20
|
+
spend_limit: CoinSDKType[];
|
|
21
|
+
}
|
|
22
|
+
export declare const SendAuthorization: {
|
|
23
|
+
encode(message: SendAuthorization, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SendAuthorization;
|
|
25
|
+
fromPartial(object: DeepPartial<SendAuthorization>): SendAuthorization;
|
|
26
|
+
};
|