@iconlake/client 0.0.1
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/client.ts +170 -0
- package/cosmos.auth.v1beta1/index.ts +6 -0
- package/cosmos.auth.v1beta1/module.ts +102 -0
- package/cosmos.auth.v1beta1/registry.ts +7 -0
- package/cosmos.auth.v1beta1/rest.ts +641 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +324 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +95 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +1212 -0
- package/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.auth.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.auth.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.auth.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.auth.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.auth.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.auth.v1beta1/types.ts +11 -0
- package/cosmos.authz.v1beta1/index.ts +6 -0
- package/cosmos.authz.v1beta1/module.ts +207 -0
- package/cosmos.authz.v1beta1/registry.ts +13 -0
- package/cosmos.authz.v1beta1/rest.ts +604 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.ts +325 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.ts +175 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.ts +78 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.ts +516 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +493 -0
- package/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.authz.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.authz.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.authz.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.authz.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.authz.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.authz.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.authz.v1beta1/types.ts +17 -0
- package/cosmos.bank.v1beta1/index.ts +6 -0
- package/cosmos.bank.v1beta1/module.ts +182 -0
- package/cosmos.bank.v1beta1/registry.ts +11 -0
- package/cosmos.bank.v1beta1/rest.ts +656 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +77 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +604 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +203 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +1366 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +289 -0
- package/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.bank.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.bank.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.bank.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.bank.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.bank.v1beta1/types.ts +25 -0
- package/cosmos.base.node.v1beta1/index.ts +6 -0
- package/cosmos.base.node.v1beta1/module.ts +96 -0
- package/cosmos.base.node.v1beta1/registry.ts +7 -0
- package/cosmos.base.node.v1beta1/rest.ts +170 -0
- package/cosmos.base.node.v1beta1/types/cosmos/base/node/v1beta1/query.ts +137 -0
- package/cosmos.base.node.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.base.node.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.base.node.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.base.node.v1beta1/types.ts +5 -0
- package/cosmos.base.tendermint.v1beta1/index.ts +6 -0
- package/cosmos.base.tendermint.v1beta1/module.ts +110 -0
- package/cosmos.base.tendermint.v1beta1/registry.ts +7 -0
- package/cosmos.base.tendermint.v1beta1/rest.ts +1147 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +1646 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.ts +442 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.base.tendermint.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.base.tendermint.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.ts +129 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.ts +439 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.ts +423 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.ts +112 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.ts +412 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.ts +1452 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.ts +308 -0
- package/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.ts +184 -0
- package/cosmos.base.tendermint.v1beta1/types.ts +19 -0
- package/cosmos.crisis.v1beta1/index.ts +6 -0
- package/cosmos.crisis.v1beta1/module.ts +129 -0
- package/cosmos.crisis.v1beta1/registry.ts +9 -0
- package/cosmos.crisis.v1beta1/rest.ts +152 -0
- package/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.ts +79 -0
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +159 -0
- package/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.crisis.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.crisis.v1beta1/types.ts +5 -0
- package/cosmos.distribution.v1beta1/index.ts +6 -0
- package/cosmos.distribution.v1beta1/module.ts +266 -0
- package/cosmos.distribution.v1beta1/registry.ts +15 -0
- package/cosmos.distribution.v1beta1/rest.ts +557 -0
- package/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +945 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +849 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +1289 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +550 -0
- package/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.distribution.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.distribution.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.distribution.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.distribution.v1beta1/types.ts +43 -0
- package/cosmos.evidence.v1beta1/index.ts +6 -0
- package/cosmos.evidence.v1beta1/module.ts +131 -0
- package/cosmos.evidence.v1beta1/registry.ts +9 -0
- package/cosmos.evidence.v1beta1/rest.ts +402 -0
- package/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +161 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.ts +73 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +343 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +213 -0
- package/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.evidence.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.evidence.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.evidence.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.evidence.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.evidence.v1beta1/types.ts +7 -0
- package/cosmos.feegrant.v1beta1/index.ts +6 -0
- package/cosmos.feegrant.v1beta1/module.ts +170 -0
- package/cosmos.feegrant.v1beta1/registry.ts +11 -0
- package/cosmos.feegrant.v1beta1/rest.ts +452 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.ts +409 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.ts +76 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.ts +484 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.ts +294 -0
- package/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.feegrant.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.feegrant.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.feegrant.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.feegrant.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.feegrant.v1beta1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.feegrant.v1beta1/types.ts +13 -0
- package/cosmos.gov.v1/index.ts +6 -0
- package/cosmos.gov.v1/module.ts +244 -0
- package/cosmos.gov.v1/registry.ts +15 -0
- package/cosmos.gov.v1/rest.ts +798 -0
- package/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +208 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +925 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +1202 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +763 -0
- package/cosmos.gov.v1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.gov.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.gov.v1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.gov.v1/types/google/api/annotations.ts +2 -0
- package/cosmos.gov.v1/types/google/api/http.ts +589 -0
- package/cosmos.gov.v1/types/google/protobuf/any.ts +240 -0
- package/cosmos.gov.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.gov.v1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.gov.v1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.gov.v1/types.ts +21 -0
- package/cosmos.gov.v1beta1/index.ts +6 -0
- package/cosmos.gov.v1beta1/module.ts +246 -0
- package/cosmos.gov.v1beta1/registry.ts +15 -0
- package/cosmos.gov.v1beta1/rest.ts +864 -0
- package/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +206 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +1015 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +1200 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +612 -0
- package/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.gov.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.gov.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.gov.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.gov.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.gov.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.gov.v1beta1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.gov.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.gov.v1beta1/types.ts +23 -0
- package/cosmos.group.v1/index.ts +6 -0
- package/cosmos.group.v1/module.ts +598 -0
- package/cosmos.group.v1/registry.ts +35 -0
- package/cosmos.group.v1/rest.ts +1162 -0
- package/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.group.v1/types/cosmos/group/v1/events.ts +568 -0
- package/cosmos.group.v1/types/cosmos/group/v1/genesis.ts +228 -0
- package/cosmos.group.v1/types/cosmos/group/v1/query.ts +1897 -0
- package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +2113 -0
- package/cosmos.group.v1/types/cosmos/group/v1/types.ts +1422 -0
- package/cosmos.group.v1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.group.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.group.v1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.group.v1/types/google/api/annotations.ts +2 -0
- package/cosmos.group.v1/types/google/api/http.ts +589 -0
- package/cosmos.group.v1/types/google/protobuf/any.ts +240 -0
- package/cosmos.group.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.group.v1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.group.v1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.group.v1/types.ts +45 -0
- package/cosmos.mint.v1beta1/index.ts +6 -0
- package/cosmos.mint.v1beta1/module.ts +100 -0
- package/cosmos.mint.v1beta1/registry.ts +7 -0
- package/cosmos.mint.v1beta1/rest.ts +253 -0
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +92 -0
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +234 -0
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.ts +412 -0
- package/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.mint.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.mint.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.mint.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.mint.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.mint.v1beta1/types.ts +9 -0
- package/cosmos.nft.v1beta1/index.ts +6 -0
- package/cosmos.nft.v1beta1/module.ts +108 -0
- package/cosmos.nft.v1beta1/registry.ts +7 -0
- package/cosmos.nft.v1beta1/rest.ts +685 -0
- package/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +251 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +163 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.ts +240 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +964 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.ts +173 -0
- package/cosmos.nft.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.nft.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.nft.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.nft.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.nft.v1beta1/types.ts +17 -0
- package/cosmos.params.v1beta1/index.ts +6 -0
- package/cosmos.params.v1beta1/module.ts +102 -0
- package/cosmos.params.v1beta1/registry.ts +7 -0
- package/cosmos.params.v1beta1/rest.ts +220 -0
- package/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.ts +174 -0
- package/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.ts +364 -0
- package/cosmos.params.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.params.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.params.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.params.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.params.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.params.v1beta1/types.ts +11 -0
- package/cosmos.slashing.v1beta1/index.ts +6 -0
- package/cosmos.slashing.v1beta1/module.ts +139 -0
- package/cosmos.slashing.v1beta1/registry.ts +9 -0
- package/cosmos.slashing.v1beta1/rest.ts +368 -0
- package/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +364 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.ts +411 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.ts +352 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +141 -0
- package/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.slashing.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.slashing.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.slashing.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.slashing.v1beta1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.slashing.v1beta1/types.ts +15 -0
- package/cosmos.staking.v1beta1/index.ts +6 -0
- package/cosmos.staking.v1beta1/module.ts +340 -0
- package/cosmos.staking.v1beta1/registry.ts +19 -0
- package/cosmos.staking.v1beta1/rest.ts +1239 -0
- package/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.ts +245 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +322 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +2109 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +1829 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +1005 -0
- package/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.staking.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.staking.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.staking.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.staking.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.staking.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.staking.v1beta1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.staking.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.staking.v1beta1/types/tendermint/crypto/keys.ts +129 -0
- package/cosmos.staking.v1beta1/types/tendermint/crypto/proof.ts +439 -0
- package/cosmos.staking.v1beta1/types/tendermint/types/types.ts +1452 -0
- package/cosmos.staking.v1beta1/types/tendermint/types/validator.ts +308 -0
- package/cosmos.staking.v1beta1/types/tendermint/version/types.ts +184 -0
- package/cosmos.staking.v1beta1/types.ts +51 -0
- package/cosmos.tx.v1beta1/index.ts +6 -0
- package/cosmos.tx.v1beta1/module.ts +122 -0
- package/cosmos.tx.v1beta1/registry.ts +7 -0
- package/cosmos.tx.v1beta1/rest.ts +1372 -0
- package/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.ts +1040 -0
- package/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.ts +195 -0
- package/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.ts +556 -0
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +1057 -0
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.ts +1355 -0
- package/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.tx.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.tx.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.tx.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.tx.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.tx.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.tx.v1beta1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.tx.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +4154 -0
- package/cosmos.tx.v1beta1/types/tendermint/crypto/keys.ts +129 -0
- package/cosmos.tx.v1beta1/types/tendermint/crypto/proof.ts +439 -0
- package/cosmos.tx.v1beta1/types/tendermint/types/block.ts +112 -0
- package/cosmos.tx.v1beta1/types/tendermint/types/evidence.ts +412 -0
- package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +514 -0
- package/cosmos.tx.v1beta1/types/tendermint/types/types.ts +1452 -0
- package/cosmos.tx.v1beta1/types/tendermint/types/validator.ts +308 -0
- package/cosmos.tx.v1beta1/types/tendermint/version/types.ts +184 -0
- package/cosmos.tx.v1beta1/types.ts +31 -0
- package/cosmos.upgrade.v1beta1/index.ts +6 -0
- package/cosmos.upgrade.v1beta1/module.ts +170 -0
- package/cosmos.upgrade.v1beta1/registry.ts +11 -0
- package/cosmos.upgrade.v1beta1/rest.ts +468 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.ts +728 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +284 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +429 -0
- package/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.upgrade.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.upgrade.v1beta1/types/google/api/annotations.ts +2 -0
- package/cosmos.upgrade.v1beta1/types/google/api/http.ts +589 -0
- package/cosmos.upgrade.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.ts +216 -0
- package/cosmos.upgrade.v1beta1/types.ts +13 -0
- package/cosmos.vesting.v1beta1/index.ts +6 -0
- package/cosmos.vesting.v1beta1/module.ts +207 -0
- package/cosmos.vesting.v1beta1/registry.ts +13 -0
- package/cosmos.vesting.v1beta1/rest.ts +297 -0
- package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +324 -0
- package/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.ts +540 -0
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.ts +529 -0
- package/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.vesting.v1beta1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.vesting.v1beta1/types/google/protobuf/any.ts +240 -0
- package/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.vesting.v1beta1/types.ts +17 -0
- package/env.ts +7 -0
- package/helpers.ts +32 -0
- package/ibc.applications.interchain_accounts.controller.v1/index.ts +6 -0
- package/ibc.applications.interchain_accounts.controller.v1/module.ts +98 -0
- package/ibc.applications.interchain_accounts.controller.v1/registry.ts +7 -0
- package/ibc.applications.interchain_accounts.controller.v1/rest.ts +346 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.ts +2 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.ts +2 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.ts +589 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/any.ts +240 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.ts +75 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.ts +274 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +361 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.ts +234 -0
- package/ibc.applications.interchain_accounts.controller.v1/types.ts +7 -0
- package/ibc.applications.interchain_accounts.host.v1/index.ts +6 -0
- package/ibc.applications.interchain_accounts.host.v1/module.ts +98 -0
- package/ibc.applications.interchain_accounts.host.v1/registry.ts +7 -0
- package/ibc.applications.interchain_accounts.host.v1/rest.ts +183 -0
- package/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.ts +2 -0
- package/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.ts +2 -0
- package/ibc.applications.interchain_accounts.host.v1/types/google/api/http.ts +589 -0
- package/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.ts +92 -0
- package/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.ts +141 -0
- package/ibc.applications.interchain_accounts.host.v1/types.ts +7 -0
- package/ibc.applications.transfer.v1/index.ts +6 -0
- package/ibc.applications.transfer.v1/module.ts +133 -0
- package/ibc.applications.transfer.v1/registry.ts +9 -0
- package/ibc.applications.transfer.v1/rest.ts +544 -0
- package/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +429 -0
- package/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/ibc.applications.transfer.v1/types/gogoproto/gogo.ts +2 -0
- package/ibc.applications.transfer.v1/types/google/api/annotations.ts +2 -0
- package/ibc.applications.transfer.v1/types/google/api/http.ts +589 -0
- package/ibc.applications.transfer.v1/types/google/protobuf/any.ts +240 -0
- package/ibc.applications.transfer.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/ibc.applications.transfer.v1/types/google/protobuf/timestamp.ts +216 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +100 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +659 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.ts +168 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.ts +287 -0
- package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +608 -0
- package/ibc.applications.transfer.v1/types.ts +9 -0
- package/ibc.core.channel.v1/index.ts +6 -0
- package/ibc.core.channel.v1/module.ts +112 -0
- package/ibc.core.channel.v1/registry.ts +7 -0
- package/ibc.core.channel.v1/rest.ts +1375 -0
- package/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +429 -0
- package/ibc.core.channel.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/ibc.core.channel.v1/types/gogoproto/gogo.ts +2 -0
- package/ibc.core.channel.v1/types/google/api/annotations.ts +2 -0
- package/ibc.core.channel.v1/types/google/api/http.ts +589 -0
- package/ibc.core.channel.v1/types/google/protobuf/any.ts +240 -0
- package/ibc.core.channel.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/ibc.core.channel.v1/types/google/protobuf/timestamp.ts +216 -0
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.ts +905 -0
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.ts +301 -0
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/query.ts +2472 -0
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +1784 -0
- package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +608 -0
- package/ibc.core.channel.v1/types.ts +21 -0
- package/ibc.core.client.v1/index.ts +6 -0
- package/ibc.core.client.v1/module.ts +114 -0
- package/ibc.core.client.v1/registry.ts +7 -0
- package/ibc.core.client.v1/rest.ts +1084 -0
- package/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +429 -0
- package/ibc.core.client.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/ibc.core.client.v1/types/gogoproto/gogo.ts +2 -0
- package/ibc.core.client.v1/types/google/api/annotations.ts +2 -0
- package/ibc.core.client.v1/types/google/api/http.ts +589 -0
- package/ibc.core.client.v1/types/google/protobuf/any.ts +240 -0
- package/ibc.core.client.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/ibc.core.client.v1/types/google/protobuf/timestamp.ts +216 -0
- package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +608 -0
- package/ibc.core.client.v1/types/ibc/core/client/v1/genesis.ts +357 -0
- package/ibc.core.client.v1/types/ibc/core/client/v1/query.ts +1390 -0
- package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +691 -0
- package/ibc.core.client.v1/types.ts +23 -0
- package/ibc.core.connection.v1/index.ts +6 -0
- package/ibc.core.connection.v1/module.ts +110 -0
- package/ibc.core.connection.v1/registry.ts +7 -0
- package/ibc.core.connection.v1/rest.ts +889 -0
- package/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +429 -0
- package/ibc.core.connection.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/ibc.core.connection.v1/types/gogoproto/gogo.ts +2 -0
- package/ibc.core.connection.v1/types/google/api/annotations.ts +2 -0
- package/ibc.core.connection.v1/types/google/api/http.ts +589 -0
- package/ibc.core.connection.v1/types/google/protobuf/any.ts +240 -0
- package/ibc.core.connection.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/ibc.core.connection.v1/types/google/protobuf/timestamp.ts +216 -0
- package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +608 -0
- package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +299 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.ts +698 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.ts +152 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/query.ts +1041 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +908 -0
- package/ibc.core.connection.v1/types/proofs.ts +1408 -0
- package/ibc.core.connection.v1/types.ts +19 -0
- package/iconlake.icon/index.ts +6 -0
- package/iconlake.icon/module.ts +135 -0
- package/iconlake.icon/registry.ts +9 -0
- package/iconlake.icon/rest.ts +206 -0
- package/iconlake.icon/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/iconlake.icon/types/gogoproto/gogo.ts +2 -0
- package/iconlake.icon/types/google/api/annotations.ts +2 -0
- package/iconlake.icon/types/google/api/http.ts +589 -0
- package/iconlake.icon/types/google/protobuf/descriptor.ts +3753 -0
- package/iconlake.icon/types/iconlake/icon/genesis.ts +74 -0
- package/iconlake.icon/types/iconlake/icon/params.ts +58 -0
- package/iconlake.icon/types/iconlake/icon/query.ts +276 -0
- package/iconlake.icon/types/iconlake/icon/tx.ts +374 -0
- package/iconlake.icon/types.ts +11 -0
- package/iconlake.iconlake/index.ts +6 -0
- package/iconlake.iconlake/module.ts +133 -0
- package/iconlake.iconlake/registry.ts +9 -0
- package/iconlake.iconlake/rest.ts +342 -0
- package/iconlake.iconlake/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/iconlake.iconlake/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/iconlake.iconlake/types/cosmos_proto/cosmos.ts +247 -0
- package/iconlake.iconlake/types/gogoproto/gogo.ts +2 -0
- package/iconlake.iconlake/types/google/api/annotations.ts +2 -0
- package/iconlake.iconlake/types/google/api/http.ts +589 -0
- package/iconlake.iconlake/types/google/protobuf/descriptor.ts +3753 -0
- package/iconlake.iconlake/types/iconlake/iconlake/account.ts +140 -0
- package/iconlake.iconlake/types/iconlake/iconlake/genesis.ts +91 -0
- package/iconlake.iconlake/types/iconlake/iconlake/params.ts +58 -0
- package/iconlake.iconlake/types/iconlake/iconlake/query.ts +388 -0
- package/iconlake.iconlake/types/iconlake/iconlake/tx.ts +214 -0
- package/iconlake.iconlake/types.ts +9 -0
- package/index.ts +75 -0
- package/modules.ts +5 -0
- package/package.json +35 -0
- package/tsconfig.json +12 -0
- package/types.d.ts +21 -0
|
@@ -0,0 +1,641 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/*
|
|
4
|
+
* ---------------------------------------------------------------
|
|
5
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
6
|
+
* ## ##
|
|
7
|
+
* ## AUTHOR: acacode ##
|
|
8
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
9
|
+
* ---------------------------------------------------------------
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
14
|
+
URL that describes the type of the serialized message.
|
|
15
|
+
|
|
16
|
+
Protobuf library provides support to pack/unpack Any values in the form
|
|
17
|
+
of utility functions or additional generated methods of the Any type.
|
|
18
|
+
|
|
19
|
+
Example 1: Pack and unpack a message in C++.
|
|
20
|
+
|
|
21
|
+
Foo foo = ...;
|
|
22
|
+
Any any;
|
|
23
|
+
any.PackFrom(foo);
|
|
24
|
+
...
|
|
25
|
+
if (any.UnpackTo(&foo)) {
|
|
26
|
+
...
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
Example 2: Pack and unpack a message in Java.
|
|
30
|
+
|
|
31
|
+
Foo foo = ...;
|
|
32
|
+
Any any = Any.pack(foo);
|
|
33
|
+
...
|
|
34
|
+
if (any.is(Foo.class)) {
|
|
35
|
+
foo = any.unpack(Foo.class);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
Example 3: Pack and unpack a message in Python.
|
|
39
|
+
|
|
40
|
+
foo = Foo(...)
|
|
41
|
+
any = Any()
|
|
42
|
+
any.Pack(foo)
|
|
43
|
+
...
|
|
44
|
+
if any.Is(Foo.DESCRIPTOR):
|
|
45
|
+
any.Unpack(foo)
|
|
46
|
+
...
|
|
47
|
+
|
|
48
|
+
Example 4: Pack and unpack a message in Go
|
|
49
|
+
|
|
50
|
+
foo := &pb.Foo{...}
|
|
51
|
+
any, err := anypb.New(foo)
|
|
52
|
+
if err != nil {
|
|
53
|
+
...
|
|
54
|
+
}
|
|
55
|
+
...
|
|
56
|
+
foo := &pb.Foo{}
|
|
57
|
+
if err := any.UnmarshalTo(foo); err != nil {
|
|
58
|
+
...
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
The pack methods provided by protobuf library will by default use
|
|
62
|
+
'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
63
|
+
methods only use the fully qualified type name after the last '/'
|
|
64
|
+
in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
65
|
+
name "y.z".
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
JSON
|
|
69
|
+
====
|
|
70
|
+
The JSON representation of an `Any` value uses the regular
|
|
71
|
+
representation of the deserialized, embedded message, with an
|
|
72
|
+
additional field `@type` which contains the type URL. Example:
|
|
73
|
+
|
|
74
|
+
package google.profile;
|
|
75
|
+
message Person {
|
|
76
|
+
string first_name = 1;
|
|
77
|
+
string last_name = 2;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
{
|
|
81
|
+
"@type": "type.googleapis.com/google.profile.Person",
|
|
82
|
+
"firstName": <string>,
|
|
83
|
+
"lastName": <string>
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
If the embedded message type is well-known and has a custom JSON
|
|
87
|
+
representation, that representation will be embedded adding a field
|
|
88
|
+
`value` which holds the custom JSON in addition to the `@type`
|
|
89
|
+
field. Example (for message [google.protobuf.Duration][]):
|
|
90
|
+
|
|
91
|
+
{
|
|
92
|
+
"@type": "type.googleapis.com/google.protobuf.Duration",
|
|
93
|
+
"value": "1.212s"
|
|
94
|
+
}
|
|
95
|
+
*/
|
|
96
|
+
export interface ProtobufAny {
|
|
97
|
+
/**
|
|
98
|
+
* A URL/resource name that uniquely identifies the type of the serialized
|
|
99
|
+
* protocol buffer message. This string must contain at least
|
|
100
|
+
* one "/" character. The last segment of the URL's path must represent
|
|
101
|
+
* the fully qualified name of the type (as in
|
|
102
|
+
* `path/google.protobuf.Duration`). The name should be in a canonical form
|
|
103
|
+
* (e.g., leading "." is not accepted).
|
|
104
|
+
*
|
|
105
|
+
* In practice, teams usually precompile into the binary all types that they
|
|
106
|
+
* expect it to use in the context of Any. However, for URLs which use the
|
|
107
|
+
* scheme `http`, `https`, or no scheme, one can optionally set up a type
|
|
108
|
+
* server that maps type URLs to message definitions as follows:
|
|
109
|
+
* * If no scheme is provided, `https` is assumed.
|
|
110
|
+
* * An HTTP GET on the URL must yield a [google.protobuf.Type][]
|
|
111
|
+
* value in binary format, or produce an error.
|
|
112
|
+
* * Applications are allowed to cache lookup results based on the
|
|
113
|
+
* URL, or have them precompiled into a binary to avoid any
|
|
114
|
+
* lookup. Therefore, binary compatibility needs to be preserved
|
|
115
|
+
* on changes to types. (Use versioned type names to manage
|
|
116
|
+
* breaking changes.)
|
|
117
|
+
* Note: this functionality is not currently available in the official
|
|
118
|
+
* protobuf release, and it is not used for type URLs beginning with
|
|
119
|
+
* type.googleapis.com.
|
|
120
|
+
* Schemes other than `http`, `https` (or the empty scheme) might be
|
|
121
|
+
* used with implementation specific semantics.
|
|
122
|
+
*/
|
|
123
|
+
"@type"?: string;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export interface RpcStatus {
|
|
127
|
+
/** @format int32 */
|
|
128
|
+
code?: number;
|
|
129
|
+
message?: string;
|
|
130
|
+
details?: ProtobufAny[];
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* AddressBytesToStringResponse is the response type for AddressString rpc method.
|
|
135
|
+
|
|
136
|
+
Since: cosmos-sdk 0.46
|
|
137
|
+
*/
|
|
138
|
+
export interface V1Beta1AddressBytesToStringResponse {
|
|
139
|
+
address_string?: string;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* AddressStringToBytesResponse is the response type for AddressBytes rpc method.
|
|
144
|
+
|
|
145
|
+
Since: cosmos-sdk 0.46
|
|
146
|
+
*/
|
|
147
|
+
export interface V1Beta1AddressStringToBytesResponse {
|
|
148
|
+
/** @format byte */
|
|
149
|
+
address_bytes?: string;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Bech32PrefixResponse is the response type for Bech32Prefix rpc method.
|
|
154
|
+
|
|
155
|
+
Since: cosmos-sdk 0.46
|
|
156
|
+
*/
|
|
157
|
+
export interface V1Beta1Bech32PrefixResponse {
|
|
158
|
+
bech32_prefix?: string;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* message SomeRequest {
|
|
163
|
+
Foo some_parameter = 1;
|
|
164
|
+
PageRequest pagination = 2;
|
|
165
|
+
}
|
|
166
|
+
*/
|
|
167
|
+
export interface V1Beta1PageRequest {
|
|
168
|
+
/**
|
|
169
|
+
* key is a value returned in PageResponse.next_key to begin
|
|
170
|
+
* querying the next page most efficiently. Only one of offset or key
|
|
171
|
+
* should be set.
|
|
172
|
+
* @format byte
|
|
173
|
+
*/
|
|
174
|
+
key?: string;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* offset is a numeric offset that can be used when key is unavailable.
|
|
178
|
+
* It is less efficient than using key. Only one of offset or key should
|
|
179
|
+
* be set.
|
|
180
|
+
* @format uint64
|
|
181
|
+
*/
|
|
182
|
+
offset?: string;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* limit is the total number of results to be returned in the result page.
|
|
186
|
+
* If left empty it will default to a value to be set by each app.
|
|
187
|
+
* @format uint64
|
|
188
|
+
*/
|
|
189
|
+
limit?: string;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* count_total is set to true to indicate that the result set should include
|
|
193
|
+
* a count of the total number of items available for pagination in UIs.
|
|
194
|
+
* count_total is only respected when offset is used. It is ignored when key
|
|
195
|
+
* is set.
|
|
196
|
+
*/
|
|
197
|
+
count_total?: boolean;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* reverse is set to true if results are to be returned in the descending order.
|
|
201
|
+
*
|
|
202
|
+
* Since: cosmos-sdk 0.43
|
|
203
|
+
*/
|
|
204
|
+
reverse?: boolean;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* PageResponse is to be embedded in gRPC response messages where the
|
|
209
|
+
corresponding request message has used PageRequest.
|
|
210
|
+
|
|
211
|
+
message SomeResponse {
|
|
212
|
+
repeated Bar results = 1;
|
|
213
|
+
PageResponse page = 2;
|
|
214
|
+
}
|
|
215
|
+
*/
|
|
216
|
+
export interface V1Beta1PageResponse {
|
|
217
|
+
/**
|
|
218
|
+
* next_key is the key to be passed to PageRequest.key to
|
|
219
|
+
* query the next page most efficiently. It will be empty if
|
|
220
|
+
* there are no more results.
|
|
221
|
+
* @format byte
|
|
222
|
+
*/
|
|
223
|
+
next_key?: string;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* total is total number of results available if PageRequest.count_total
|
|
227
|
+
* was set, its value is undefined otherwise
|
|
228
|
+
* @format uint64
|
|
229
|
+
*/
|
|
230
|
+
total?: string;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Params defines the parameters for the auth module.
|
|
235
|
+
*/
|
|
236
|
+
export interface V1Beta1Params {
|
|
237
|
+
/** @format uint64 */
|
|
238
|
+
max_memo_characters?: string;
|
|
239
|
+
|
|
240
|
+
/** @format uint64 */
|
|
241
|
+
tx_sig_limit?: string;
|
|
242
|
+
|
|
243
|
+
/** @format uint64 */
|
|
244
|
+
tx_size_cost_per_byte?: string;
|
|
245
|
+
|
|
246
|
+
/** @format uint64 */
|
|
247
|
+
sig_verify_cost_ed25519?: string;
|
|
248
|
+
|
|
249
|
+
/** @format uint64 */
|
|
250
|
+
sig_verify_cost_secp256k1?: string;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Since: cosmos-sdk 0.46.2
|
|
255
|
+
*/
|
|
256
|
+
export interface V1Beta1QueryAccountAddressByIDResponse {
|
|
257
|
+
account_address?: string;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* QueryAccountResponse is the response type for the Query/Account RPC method.
|
|
262
|
+
*/
|
|
263
|
+
export interface V1Beta1QueryAccountResponse {
|
|
264
|
+
/** account defines the account of the corresponding address. */
|
|
265
|
+
account?: ProtobufAny;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* QueryAccountsResponse is the response type for the Query/Accounts RPC method.
|
|
270
|
+
|
|
271
|
+
Since: cosmos-sdk 0.43
|
|
272
|
+
*/
|
|
273
|
+
export interface V1Beta1QueryAccountsResponse {
|
|
274
|
+
/** accounts are the existing accounts */
|
|
275
|
+
accounts?: ProtobufAny[];
|
|
276
|
+
|
|
277
|
+
/** pagination defines the pagination in the response. */
|
|
278
|
+
pagination?: V1Beta1PageResponse;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method.
|
|
283
|
+
*/
|
|
284
|
+
export interface V1Beta1QueryModuleAccountByNameResponse {
|
|
285
|
+
/**
|
|
286
|
+
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
287
|
+
* URL that describes the type of the serialized message.
|
|
288
|
+
*
|
|
289
|
+
* Protobuf library provides support to pack/unpack Any values in the form
|
|
290
|
+
* of utility functions or additional generated methods of the Any type.
|
|
291
|
+
* Example 1: Pack and unpack a message in C++.
|
|
292
|
+
* Foo foo = ...;
|
|
293
|
+
* Any any;
|
|
294
|
+
* any.PackFrom(foo);
|
|
295
|
+
* ...
|
|
296
|
+
* if (any.UnpackTo(&foo)) {
|
|
297
|
+
* ...
|
|
298
|
+
* }
|
|
299
|
+
* Example 2: Pack and unpack a message in Java.
|
|
300
|
+
* Any any = Any.pack(foo);
|
|
301
|
+
* if (any.is(Foo.class)) {
|
|
302
|
+
* foo = any.unpack(Foo.class);
|
|
303
|
+
* Example 3: Pack and unpack a message in Python.
|
|
304
|
+
* foo = Foo(...)
|
|
305
|
+
* any = Any()
|
|
306
|
+
* any.Pack(foo)
|
|
307
|
+
* if any.Is(Foo.DESCRIPTOR):
|
|
308
|
+
* any.Unpack(foo)
|
|
309
|
+
* Example 4: Pack and unpack a message in Go
|
|
310
|
+
* foo := &pb.Foo{...}
|
|
311
|
+
* any, err := anypb.New(foo)
|
|
312
|
+
* if err != nil {
|
|
313
|
+
* ...
|
|
314
|
+
* }
|
|
315
|
+
* ...
|
|
316
|
+
* foo := &pb.Foo{}
|
|
317
|
+
* if err := any.UnmarshalTo(foo); err != nil {
|
|
318
|
+
* The pack methods provided by protobuf library will by default use
|
|
319
|
+
* 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
320
|
+
* methods only use the fully qualified type name after the last '/'
|
|
321
|
+
* in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
322
|
+
* name "y.z".
|
|
323
|
+
* JSON
|
|
324
|
+
* ====
|
|
325
|
+
* The JSON representation of an `Any` value uses the regular
|
|
326
|
+
* representation of the deserialized, embedded message, with an
|
|
327
|
+
* additional field `@type` which contains the type URL. Example:
|
|
328
|
+
* package google.profile;
|
|
329
|
+
* message Person {
|
|
330
|
+
* string first_name = 1;
|
|
331
|
+
* string last_name = 2;
|
|
332
|
+
* {
|
|
333
|
+
* "@type": "type.googleapis.com/google.profile.Person",
|
|
334
|
+
* "firstName": <string>,
|
|
335
|
+
* "lastName": <string>
|
|
336
|
+
* If the embedded message type is well-known and has a custom JSON
|
|
337
|
+
* representation, that representation will be embedded adding a field
|
|
338
|
+
* `value` which holds the custom JSON in addition to the `@type`
|
|
339
|
+
* field. Example (for message [google.protobuf.Duration][]):
|
|
340
|
+
* "@type": "type.googleapis.com/google.protobuf.Duration",
|
|
341
|
+
* "value": "1.212s"
|
|
342
|
+
*/
|
|
343
|
+
account?: ProtobufAny;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method.
|
|
348
|
+
|
|
349
|
+
Since: cosmos-sdk 0.46
|
|
350
|
+
*/
|
|
351
|
+
export interface V1Beta1QueryModuleAccountsResponse {
|
|
352
|
+
accounts?: ProtobufAny[];
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* QueryParamsResponse is the response type for the Query/Params RPC method.
|
|
357
|
+
*/
|
|
358
|
+
export interface V1Beta1QueryParamsResponse {
|
|
359
|
+
/** params defines the parameters of the module. */
|
|
360
|
+
params?: V1Beta1Params;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
|
|
364
|
+
|
|
365
|
+
export type QueryParamsType = Record<string | number, any>;
|
|
366
|
+
|
|
367
|
+
export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
|
|
368
|
+
/** set parameter to `true` for call `securityWorker` for this request */
|
|
369
|
+
secure?: boolean;
|
|
370
|
+
/** request path */
|
|
371
|
+
path: string;
|
|
372
|
+
/** content type of request body */
|
|
373
|
+
type?: ContentType;
|
|
374
|
+
/** query params */
|
|
375
|
+
query?: QueryParamsType;
|
|
376
|
+
/** format of response (i.e. response.json() -> format: "json") */
|
|
377
|
+
format?: ResponseType;
|
|
378
|
+
/** request body */
|
|
379
|
+
body?: unknown;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
|
|
383
|
+
|
|
384
|
+
export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
|
|
385
|
+
securityWorker?: (
|
|
386
|
+
securityData: SecurityDataType | null,
|
|
387
|
+
) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
|
|
388
|
+
secure?: boolean;
|
|
389
|
+
format?: ResponseType;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export enum ContentType {
|
|
393
|
+
Json = "application/json",
|
|
394
|
+
FormData = "multipart/form-data",
|
|
395
|
+
UrlEncoded = "application/x-www-form-urlencoded",
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export class HttpClient<SecurityDataType = unknown> {
|
|
399
|
+
public instance: AxiosInstance;
|
|
400
|
+
private securityData: SecurityDataType | null = null;
|
|
401
|
+
private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
|
|
402
|
+
private secure?: boolean;
|
|
403
|
+
private format?: ResponseType;
|
|
404
|
+
|
|
405
|
+
constructor({ securityWorker, secure, format, ...axiosConfig }: ApiConfig<SecurityDataType> = {}) {
|
|
406
|
+
this.instance = axios.create({ ...axiosConfig, baseURL: axiosConfig.baseURL || "" });
|
|
407
|
+
this.secure = secure;
|
|
408
|
+
this.format = format;
|
|
409
|
+
this.securityWorker = securityWorker;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
public setSecurityData = (data: SecurityDataType | null) => {
|
|
413
|
+
this.securityData = data;
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
private mergeRequestParams(params1: AxiosRequestConfig, params2?: AxiosRequestConfig): AxiosRequestConfig {
|
|
417
|
+
return {
|
|
418
|
+
...this.instance.defaults,
|
|
419
|
+
...params1,
|
|
420
|
+
...(params2 || {}),
|
|
421
|
+
headers: {
|
|
422
|
+
...(this.instance.defaults.headers || {}),
|
|
423
|
+
...(params1.headers || {}),
|
|
424
|
+
...((params2 && params2.headers) || {}),
|
|
425
|
+
},
|
|
426
|
+
};
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
private createFormData(input: Record<string, unknown>): FormData {
|
|
430
|
+
return Object.keys(input || {}).reduce((formData, key) => {
|
|
431
|
+
const property = input[key];
|
|
432
|
+
formData.append(
|
|
433
|
+
key,
|
|
434
|
+
property instanceof Blob
|
|
435
|
+
? property
|
|
436
|
+
: typeof property === "object" && property !== null
|
|
437
|
+
? JSON.stringify(property)
|
|
438
|
+
: `${property}`,
|
|
439
|
+
);
|
|
440
|
+
return formData;
|
|
441
|
+
}, new FormData());
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
public request = async <T = any, _E = any>({
|
|
445
|
+
secure,
|
|
446
|
+
path,
|
|
447
|
+
type,
|
|
448
|
+
query,
|
|
449
|
+
format,
|
|
450
|
+
body,
|
|
451
|
+
...params
|
|
452
|
+
}: FullRequestParams): Promise<AxiosResponse<T>> => {
|
|
453
|
+
const secureParams =
|
|
454
|
+
((typeof secure === "boolean" ? secure : this.secure) &&
|
|
455
|
+
this.securityWorker &&
|
|
456
|
+
(await this.securityWorker(this.securityData))) ||
|
|
457
|
+
{};
|
|
458
|
+
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
459
|
+
const responseFormat = (format && this.format) || void 0;
|
|
460
|
+
|
|
461
|
+
if (type === ContentType.FormData && body && body !== null && typeof body === "object") {
|
|
462
|
+
requestParams.headers.common = { Accept: "*/*" };
|
|
463
|
+
requestParams.headers.post = {};
|
|
464
|
+
requestParams.headers.put = {};
|
|
465
|
+
|
|
466
|
+
body = this.createFormData(body as Record<string, unknown>);
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
return this.instance.request({
|
|
470
|
+
...requestParams,
|
|
471
|
+
headers: {
|
|
472
|
+
...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}),
|
|
473
|
+
...(requestParams.headers || {}),
|
|
474
|
+
},
|
|
475
|
+
params: query,
|
|
476
|
+
responseType: responseFormat,
|
|
477
|
+
data: body,
|
|
478
|
+
url: path,
|
|
479
|
+
});
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* @title cosmos/auth/v1beta1/auth.proto
|
|
485
|
+
* @version version not set
|
|
486
|
+
*/
|
|
487
|
+
export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
488
|
+
/**
|
|
489
|
+
* @description Since: cosmos-sdk 0.43
|
|
490
|
+
*
|
|
491
|
+
* @tags Query
|
|
492
|
+
* @name QueryAccounts
|
|
493
|
+
* @summary Accounts returns all the existing accounts
|
|
494
|
+
* @request GET:/cosmos/auth/v1beta1/accounts
|
|
495
|
+
*/
|
|
496
|
+
queryAccounts = (
|
|
497
|
+
query?: {
|
|
498
|
+
"pagination.key"?: string;
|
|
499
|
+
"pagination.offset"?: string;
|
|
500
|
+
"pagination.limit"?: string;
|
|
501
|
+
"pagination.count_total"?: boolean;
|
|
502
|
+
"pagination.reverse"?: boolean;
|
|
503
|
+
},
|
|
504
|
+
params: RequestParams = {},
|
|
505
|
+
) =>
|
|
506
|
+
this.request<V1Beta1QueryAccountsResponse, RpcStatus>({
|
|
507
|
+
path: `/cosmos/auth/v1beta1/accounts`,
|
|
508
|
+
method: "GET",
|
|
509
|
+
query: query,
|
|
510
|
+
format: "json",
|
|
511
|
+
...params,
|
|
512
|
+
});
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* No description
|
|
516
|
+
*
|
|
517
|
+
* @tags Query
|
|
518
|
+
* @name QueryAccount
|
|
519
|
+
* @summary Account returns account details based on address.
|
|
520
|
+
* @request GET:/cosmos/auth/v1beta1/accounts/{address}
|
|
521
|
+
*/
|
|
522
|
+
queryAccount = (address: string, params: RequestParams = {}) =>
|
|
523
|
+
this.request<V1Beta1QueryAccountResponse, RpcStatus>({
|
|
524
|
+
path: `/cosmos/auth/v1beta1/accounts/${address}`,
|
|
525
|
+
method: "GET",
|
|
526
|
+
format: "json",
|
|
527
|
+
...params,
|
|
528
|
+
});
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @description Since: cosmos-sdk 0.46.2
|
|
532
|
+
*
|
|
533
|
+
* @tags Query
|
|
534
|
+
* @name QueryAccountAddressById
|
|
535
|
+
* @summary AccountAddressByID returns account address based on account number.
|
|
536
|
+
* @request GET:/cosmos/auth/v1beta1/address_by_id/{id}
|
|
537
|
+
*/
|
|
538
|
+
queryAccountAddressByID = (id: string, params: RequestParams = {}) =>
|
|
539
|
+
this.request<V1Beta1QueryAccountAddressByIDResponse, RpcStatus>({
|
|
540
|
+
path: `/cosmos/auth/v1beta1/address_by_id/${id}`,
|
|
541
|
+
method: "GET",
|
|
542
|
+
format: "json",
|
|
543
|
+
...params,
|
|
544
|
+
});
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* @description Since: cosmos-sdk 0.46
|
|
548
|
+
*
|
|
549
|
+
* @tags Query
|
|
550
|
+
* @name QueryBech32Prefix
|
|
551
|
+
* @summary Bech32Prefix queries bech32Prefix
|
|
552
|
+
* @request GET:/cosmos/auth/v1beta1/bech32
|
|
553
|
+
*/
|
|
554
|
+
queryBech32Prefix = (params: RequestParams = {}) =>
|
|
555
|
+
this.request<V1Beta1Bech32PrefixResponse, RpcStatus>({
|
|
556
|
+
path: `/cosmos/auth/v1beta1/bech32`,
|
|
557
|
+
method: "GET",
|
|
558
|
+
format: "json",
|
|
559
|
+
...params,
|
|
560
|
+
});
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* @description Since: cosmos-sdk 0.46
|
|
564
|
+
*
|
|
565
|
+
* @tags Query
|
|
566
|
+
* @name QueryAddressBytesToString
|
|
567
|
+
* @summary AddressBytesToString converts Account Address bytes to string
|
|
568
|
+
* @request GET:/cosmos/auth/v1beta1/bech32/{address_bytes}
|
|
569
|
+
*/
|
|
570
|
+
queryAddressBytesToString = (addressBytes: string, params: RequestParams = {}) =>
|
|
571
|
+
this.request<V1Beta1AddressBytesToStringResponse, RpcStatus>({
|
|
572
|
+
path: `/cosmos/auth/v1beta1/bech32/${addressBytes}`,
|
|
573
|
+
method: "GET",
|
|
574
|
+
format: "json",
|
|
575
|
+
...params,
|
|
576
|
+
});
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* @description Since: cosmos-sdk 0.46
|
|
580
|
+
*
|
|
581
|
+
* @tags Query
|
|
582
|
+
* @name QueryAddressStringToBytes
|
|
583
|
+
* @summary AddressStringToBytes converts Address string to bytes
|
|
584
|
+
* @request GET:/cosmos/auth/v1beta1/bech32/{address_string}
|
|
585
|
+
*/
|
|
586
|
+
queryAddressStringToBytes = (addressString: string, params: RequestParams = {}) =>
|
|
587
|
+
this.request<V1Beta1AddressStringToBytesResponse, RpcStatus>({
|
|
588
|
+
path: `/cosmos/auth/v1beta1/bech32/${addressString}`,
|
|
589
|
+
method: "GET",
|
|
590
|
+
format: "json",
|
|
591
|
+
...params,
|
|
592
|
+
});
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* @description Since: cosmos-sdk 0.46
|
|
596
|
+
*
|
|
597
|
+
* @tags Query
|
|
598
|
+
* @name QueryModuleAccounts
|
|
599
|
+
* @summary ModuleAccounts returns all the existing module accounts.
|
|
600
|
+
* @request GET:/cosmos/auth/v1beta1/module_accounts
|
|
601
|
+
*/
|
|
602
|
+
queryModuleAccounts = (params: RequestParams = {}) =>
|
|
603
|
+
this.request<V1Beta1QueryModuleAccountsResponse, RpcStatus>({
|
|
604
|
+
path: `/cosmos/auth/v1beta1/module_accounts`,
|
|
605
|
+
method: "GET",
|
|
606
|
+
format: "json",
|
|
607
|
+
...params,
|
|
608
|
+
});
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* No description
|
|
612
|
+
*
|
|
613
|
+
* @tags Query
|
|
614
|
+
* @name QueryModuleAccountByName
|
|
615
|
+
* @summary ModuleAccountByName returns the module account info by module name
|
|
616
|
+
* @request GET:/cosmos/auth/v1beta1/module_accounts/{name}
|
|
617
|
+
*/
|
|
618
|
+
queryModuleAccountByName = (name: string, params: RequestParams = {}) =>
|
|
619
|
+
this.request<V1Beta1QueryModuleAccountByNameResponse, RpcStatus>({
|
|
620
|
+
path: `/cosmos/auth/v1beta1/module_accounts/${name}`,
|
|
621
|
+
method: "GET",
|
|
622
|
+
format: "json",
|
|
623
|
+
...params,
|
|
624
|
+
});
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* No description
|
|
628
|
+
*
|
|
629
|
+
* @tags Query
|
|
630
|
+
* @name QueryParams
|
|
631
|
+
* @summary Params queries all parameters.
|
|
632
|
+
* @request GET:/cosmos/auth/v1beta1/params
|
|
633
|
+
*/
|
|
634
|
+
queryParams = (params: RequestParams = {}) =>
|
|
635
|
+
this.request<V1Beta1QueryParamsResponse, RpcStatus>({
|
|
636
|
+
path: `/cosmos/auth/v1beta1/params`,
|
|
637
|
+
method: "GET",
|
|
638
|
+
format: "json",
|
|
639
|
+
...params,
|
|
640
|
+
});
|
|
641
|
+
}
|