@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,544 @@
|
|
|
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
|
+
* Params defines the set of IBC transfer parameters.
|
|
14
|
+
NOTE: To prevent a single token from being transferred, set the
|
|
15
|
+
TransfersEnabled parameter to true and then set the bank module's SendEnabled
|
|
16
|
+
parameter for the denomination to false.
|
|
17
|
+
*/
|
|
18
|
+
export interface Applicationstransferv1Params {
|
|
19
|
+
/**
|
|
20
|
+
* send_enabled enables or disables all cross-chain token transfers from this
|
|
21
|
+
* chain.
|
|
22
|
+
*/
|
|
23
|
+
send_enabled?: boolean;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* receive_enabled enables or disables all cross-chain token transfers to this
|
|
27
|
+
* chain.
|
|
28
|
+
*/
|
|
29
|
+
receive_enabled?: boolean;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
34
|
+
URL that describes the type of the serialized message.
|
|
35
|
+
|
|
36
|
+
Protobuf library provides support to pack/unpack Any values in the form
|
|
37
|
+
of utility functions or additional generated methods of the Any type.
|
|
38
|
+
|
|
39
|
+
Example 1: Pack and unpack a message in C++.
|
|
40
|
+
|
|
41
|
+
Foo foo = ...;
|
|
42
|
+
Any any;
|
|
43
|
+
any.PackFrom(foo);
|
|
44
|
+
...
|
|
45
|
+
if (any.UnpackTo(&foo)) {
|
|
46
|
+
...
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
Example 2: Pack and unpack a message in Java.
|
|
50
|
+
|
|
51
|
+
Foo foo = ...;
|
|
52
|
+
Any any = Any.pack(foo);
|
|
53
|
+
...
|
|
54
|
+
if (any.is(Foo.class)) {
|
|
55
|
+
foo = any.unpack(Foo.class);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
Example 3: Pack and unpack a message in Python.
|
|
59
|
+
|
|
60
|
+
foo = Foo(...)
|
|
61
|
+
any = Any()
|
|
62
|
+
any.Pack(foo)
|
|
63
|
+
...
|
|
64
|
+
if any.Is(Foo.DESCRIPTOR):
|
|
65
|
+
any.Unpack(foo)
|
|
66
|
+
...
|
|
67
|
+
|
|
68
|
+
Example 4: Pack and unpack a message in Go
|
|
69
|
+
|
|
70
|
+
foo := &pb.Foo{...}
|
|
71
|
+
any, err := anypb.New(foo)
|
|
72
|
+
if err != nil {
|
|
73
|
+
...
|
|
74
|
+
}
|
|
75
|
+
...
|
|
76
|
+
foo := &pb.Foo{}
|
|
77
|
+
if err := any.UnmarshalTo(foo); err != nil {
|
|
78
|
+
...
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
The pack methods provided by protobuf library will by default use
|
|
82
|
+
'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
83
|
+
methods only use the fully qualified type name after the last '/'
|
|
84
|
+
in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
85
|
+
name "y.z".
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
JSON
|
|
89
|
+
====
|
|
90
|
+
The JSON representation of an `Any` value uses the regular
|
|
91
|
+
representation of the deserialized, embedded message, with an
|
|
92
|
+
additional field `@type` which contains the type URL. Example:
|
|
93
|
+
|
|
94
|
+
package google.profile;
|
|
95
|
+
message Person {
|
|
96
|
+
string first_name = 1;
|
|
97
|
+
string last_name = 2;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
{
|
|
101
|
+
"@type": "type.googleapis.com/google.profile.Person",
|
|
102
|
+
"firstName": <string>,
|
|
103
|
+
"lastName": <string>
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
If the embedded message type is well-known and has a custom JSON
|
|
107
|
+
representation, that representation will be embedded adding a field
|
|
108
|
+
`value` which holds the custom JSON in addition to the `@type`
|
|
109
|
+
field. Example (for message [google.protobuf.Duration][]):
|
|
110
|
+
|
|
111
|
+
{
|
|
112
|
+
"@type": "type.googleapis.com/google.protobuf.Duration",
|
|
113
|
+
"value": "1.212s"
|
|
114
|
+
}
|
|
115
|
+
*/
|
|
116
|
+
export interface ProtobufAny {
|
|
117
|
+
/**
|
|
118
|
+
* A URL/resource name that uniquely identifies the type of the serialized
|
|
119
|
+
* protocol buffer message. This string must contain at least
|
|
120
|
+
* one "/" character. The last segment of the URL's path must represent
|
|
121
|
+
* the fully qualified name of the type (as in
|
|
122
|
+
* `path/google.protobuf.Duration`). The name should be in a canonical form
|
|
123
|
+
* (e.g., leading "." is not accepted).
|
|
124
|
+
*
|
|
125
|
+
* In practice, teams usually precompile into the binary all types that they
|
|
126
|
+
* expect it to use in the context of Any. However, for URLs which use the
|
|
127
|
+
* scheme `http`, `https`, or no scheme, one can optionally set up a type
|
|
128
|
+
* server that maps type URLs to message definitions as follows:
|
|
129
|
+
* * If no scheme is provided, `https` is assumed.
|
|
130
|
+
* * An HTTP GET on the URL must yield a [google.protobuf.Type][]
|
|
131
|
+
* value in binary format, or produce an error.
|
|
132
|
+
* * Applications are allowed to cache lookup results based on the
|
|
133
|
+
* URL, or have them precompiled into a binary to avoid any
|
|
134
|
+
* lookup. Therefore, binary compatibility needs to be preserved
|
|
135
|
+
* on changes to types. (Use versioned type names to manage
|
|
136
|
+
* breaking changes.)
|
|
137
|
+
* Note: this functionality is not currently available in the official
|
|
138
|
+
* protobuf release, and it is not used for type URLs beginning with
|
|
139
|
+
* type.googleapis.com.
|
|
140
|
+
* Schemes other than `http`, `https` (or the empty scheme) might be
|
|
141
|
+
* used with implementation specific semantics.
|
|
142
|
+
*/
|
|
143
|
+
"@type"?: string;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export interface RpcStatus {
|
|
147
|
+
/** @format int32 */
|
|
148
|
+
code?: number;
|
|
149
|
+
message?: string;
|
|
150
|
+
details?: ProtobufAny[];
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* DenomTrace contains the base denomination for ICS20 fungible tokens and the
|
|
155
|
+
source tracing information path.
|
|
156
|
+
*/
|
|
157
|
+
export interface V1DenomTrace {
|
|
158
|
+
/**
|
|
159
|
+
* path defines the chain of port/channel identifiers used for tracing the
|
|
160
|
+
* source of the fungible token.
|
|
161
|
+
*/
|
|
162
|
+
path?: string;
|
|
163
|
+
|
|
164
|
+
/** base denomination of the relayed fungible token. */
|
|
165
|
+
base_denom?: string;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Normally the RevisionHeight is incremented at each height while keeping
|
|
170
|
+
RevisionNumber the same. However some consensus algorithms may choose to
|
|
171
|
+
reset the height in certain conditions e.g. hard forks, state-machine
|
|
172
|
+
breaking changes In these cases, the RevisionNumber is incremented so that
|
|
173
|
+
height continues to be monitonically increasing even as the RevisionHeight
|
|
174
|
+
gets reset
|
|
175
|
+
*/
|
|
176
|
+
export interface V1Height {
|
|
177
|
+
/**
|
|
178
|
+
* the revision that the client is currently on
|
|
179
|
+
* @format uint64
|
|
180
|
+
*/
|
|
181
|
+
revision_number?: string;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* the height within the given revision
|
|
185
|
+
* @format uint64
|
|
186
|
+
*/
|
|
187
|
+
revision_height?: string;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* MsgTransferResponse defines the Msg/Transfer response type.
|
|
192
|
+
*/
|
|
193
|
+
export interface V1MsgTransferResponse {
|
|
194
|
+
/**
|
|
195
|
+
* sequence number of the transfer packet sent
|
|
196
|
+
* @format uint64
|
|
197
|
+
*/
|
|
198
|
+
sequence?: string;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* QueryDenomHashResponse is the response type for the Query/DenomHash RPC
|
|
203
|
+
method.
|
|
204
|
+
*/
|
|
205
|
+
export interface V1QueryDenomHashResponse {
|
|
206
|
+
/** hash (in hex format) of the denomination trace information. */
|
|
207
|
+
hash?: string;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC
|
|
212
|
+
method.
|
|
213
|
+
*/
|
|
214
|
+
export interface V1QueryDenomTraceResponse {
|
|
215
|
+
/** denom_trace returns the requested denomination trace information. */
|
|
216
|
+
denom_trace?: V1DenomTrace;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* QueryConnectionsResponse is the response type for the Query/DenomTraces RPC
|
|
221
|
+
method.
|
|
222
|
+
*/
|
|
223
|
+
export interface V1QueryDenomTracesResponse {
|
|
224
|
+
/** denom_traces returns all denominations trace information. */
|
|
225
|
+
denom_traces?: V1DenomTrace[];
|
|
226
|
+
|
|
227
|
+
/** pagination defines the pagination in the response. */
|
|
228
|
+
pagination?: V1Beta1PageResponse;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* QueryEscrowAddressResponse is the response type of the EscrowAddress RPC method.
|
|
233
|
+
*/
|
|
234
|
+
export interface V1QueryEscrowAddressResponse {
|
|
235
|
+
/** the escrow account address */
|
|
236
|
+
escrow_address?: string;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* QueryParamsResponse is the response type for the Query/Params RPC method.
|
|
241
|
+
*/
|
|
242
|
+
export interface V1QueryParamsResponse {
|
|
243
|
+
/** params defines the parameters of the module. */
|
|
244
|
+
params?: Applicationstransferv1Params;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Coin defines a token with a denomination and an amount.
|
|
249
|
+
|
|
250
|
+
NOTE: The amount field is an Int which implements the custom method
|
|
251
|
+
signatures required by gogoproto.
|
|
252
|
+
*/
|
|
253
|
+
export interface V1Beta1Coin {
|
|
254
|
+
denom?: string;
|
|
255
|
+
amount?: string;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* message SomeRequest {
|
|
260
|
+
Foo some_parameter = 1;
|
|
261
|
+
PageRequest pagination = 2;
|
|
262
|
+
}
|
|
263
|
+
*/
|
|
264
|
+
export interface V1Beta1PageRequest {
|
|
265
|
+
/**
|
|
266
|
+
* key is a value returned in PageResponse.next_key to begin
|
|
267
|
+
* querying the next page most efficiently. Only one of offset or key
|
|
268
|
+
* should be set.
|
|
269
|
+
* @format byte
|
|
270
|
+
*/
|
|
271
|
+
key?: string;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* offset is a numeric offset that can be used when key is unavailable.
|
|
275
|
+
* It is less efficient than using key. Only one of offset or key should
|
|
276
|
+
* be set.
|
|
277
|
+
* @format uint64
|
|
278
|
+
*/
|
|
279
|
+
offset?: string;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* limit is the total number of results to be returned in the result page.
|
|
283
|
+
* If left empty it will default to a value to be set by each app.
|
|
284
|
+
* @format uint64
|
|
285
|
+
*/
|
|
286
|
+
limit?: string;
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* count_total is set to true to indicate that the result set should include
|
|
290
|
+
* a count of the total number of items available for pagination in UIs.
|
|
291
|
+
* count_total is only respected when offset is used. It is ignored when key
|
|
292
|
+
* is set.
|
|
293
|
+
*/
|
|
294
|
+
count_total?: boolean;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* reverse is set to true if results are to be returned in the descending order.
|
|
298
|
+
*
|
|
299
|
+
* Since: cosmos-sdk 0.43
|
|
300
|
+
*/
|
|
301
|
+
reverse?: boolean;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* PageResponse is to be embedded in gRPC response messages where the
|
|
306
|
+
corresponding request message has used PageRequest.
|
|
307
|
+
|
|
308
|
+
message SomeResponse {
|
|
309
|
+
repeated Bar results = 1;
|
|
310
|
+
PageResponse page = 2;
|
|
311
|
+
}
|
|
312
|
+
*/
|
|
313
|
+
export interface V1Beta1PageResponse {
|
|
314
|
+
/**
|
|
315
|
+
* next_key is the key to be passed to PageRequest.key to
|
|
316
|
+
* query the next page most efficiently. It will be empty if
|
|
317
|
+
* there are no more results.
|
|
318
|
+
* @format byte
|
|
319
|
+
*/
|
|
320
|
+
next_key?: string;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* total is total number of results available if PageRequest.count_total
|
|
324
|
+
* was set, its value is undefined otherwise
|
|
325
|
+
* @format uint64
|
|
326
|
+
*/
|
|
327
|
+
total?: string;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
|
|
331
|
+
|
|
332
|
+
export type QueryParamsType = Record<string | number, any>;
|
|
333
|
+
|
|
334
|
+
export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
|
|
335
|
+
/** set parameter to `true` for call `securityWorker` for this request */
|
|
336
|
+
secure?: boolean;
|
|
337
|
+
/** request path */
|
|
338
|
+
path: string;
|
|
339
|
+
/** content type of request body */
|
|
340
|
+
type?: ContentType;
|
|
341
|
+
/** query params */
|
|
342
|
+
query?: QueryParamsType;
|
|
343
|
+
/** format of response (i.e. response.json() -> format: "json") */
|
|
344
|
+
format?: ResponseType;
|
|
345
|
+
/** request body */
|
|
346
|
+
body?: unknown;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
|
|
350
|
+
|
|
351
|
+
export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
|
|
352
|
+
securityWorker?: (
|
|
353
|
+
securityData: SecurityDataType | null,
|
|
354
|
+
) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
|
|
355
|
+
secure?: boolean;
|
|
356
|
+
format?: ResponseType;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export enum ContentType {
|
|
360
|
+
Json = "application/json",
|
|
361
|
+
FormData = "multipart/form-data",
|
|
362
|
+
UrlEncoded = "application/x-www-form-urlencoded",
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export class HttpClient<SecurityDataType = unknown> {
|
|
366
|
+
public instance: AxiosInstance;
|
|
367
|
+
private securityData: SecurityDataType | null = null;
|
|
368
|
+
private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
|
|
369
|
+
private secure?: boolean;
|
|
370
|
+
private format?: ResponseType;
|
|
371
|
+
|
|
372
|
+
constructor({ securityWorker, secure, format, ...axiosConfig }: ApiConfig<SecurityDataType> = {}) {
|
|
373
|
+
this.instance = axios.create({ ...axiosConfig, baseURL: axiosConfig.baseURL || "" });
|
|
374
|
+
this.secure = secure;
|
|
375
|
+
this.format = format;
|
|
376
|
+
this.securityWorker = securityWorker;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
public setSecurityData = (data: SecurityDataType | null) => {
|
|
380
|
+
this.securityData = data;
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
private mergeRequestParams(params1: AxiosRequestConfig, params2?: AxiosRequestConfig): AxiosRequestConfig {
|
|
384
|
+
return {
|
|
385
|
+
...this.instance.defaults,
|
|
386
|
+
...params1,
|
|
387
|
+
...(params2 || {}),
|
|
388
|
+
headers: {
|
|
389
|
+
...(this.instance.defaults.headers || {}),
|
|
390
|
+
...(params1.headers || {}),
|
|
391
|
+
...((params2 && params2.headers) || {}),
|
|
392
|
+
},
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
private createFormData(input: Record<string, unknown>): FormData {
|
|
397
|
+
return Object.keys(input || {}).reduce((formData, key) => {
|
|
398
|
+
const property = input[key];
|
|
399
|
+
formData.append(
|
|
400
|
+
key,
|
|
401
|
+
property instanceof Blob
|
|
402
|
+
? property
|
|
403
|
+
: typeof property === "object" && property !== null
|
|
404
|
+
? JSON.stringify(property)
|
|
405
|
+
: `${property}`,
|
|
406
|
+
);
|
|
407
|
+
return formData;
|
|
408
|
+
}, new FormData());
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
public request = async <T = any, _E = any>({
|
|
412
|
+
secure,
|
|
413
|
+
path,
|
|
414
|
+
type,
|
|
415
|
+
query,
|
|
416
|
+
format,
|
|
417
|
+
body,
|
|
418
|
+
...params
|
|
419
|
+
}: FullRequestParams): Promise<AxiosResponse<T>> => {
|
|
420
|
+
const secureParams =
|
|
421
|
+
((typeof secure === "boolean" ? secure : this.secure) &&
|
|
422
|
+
this.securityWorker &&
|
|
423
|
+
(await this.securityWorker(this.securityData))) ||
|
|
424
|
+
{};
|
|
425
|
+
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
426
|
+
const responseFormat = (format && this.format) || void 0;
|
|
427
|
+
|
|
428
|
+
if (type === ContentType.FormData && body && body !== null && typeof body === "object") {
|
|
429
|
+
requestParams.headers.common = { Accept: "*/*" };
|
|
430
|
+
requestParams.headers.post = {};
|
|
431
|
+
requestParams.headers.put = {};
|
|
432
|
+
|
|
433
|
+
body = this.createFormData(body as Record<string, unknown>);
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
return this.instance.request({
|
|
437
|
+
...requestParams,
|
|
438
|
+
headers: {
|
|
439
|
+
...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}),
|
|
440
|
+
...(requestParams.headers || {}),
|
|
441
|
+
},
|
|
442
|
+
params: query,
|
|
443
|
+
responseType: responseFormat,
|
|
444
|
+
data: body,
|
|
445
|
+
url: path,
|
|
446
|
+
});
|
|
447
|
+
};
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* @title ibc/applications/transfer/v1/genesis.proto
|
|
452
|
+
* @version version not set
|
|
453
|
+
*/
|
|
454
|
+
export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
455
|
+
/**
|
|
456
|
+
* No description
|
|
457
|
+
*
|
|
458
|
+
* @tags Query
|
|
459
|
+
* @name QueryEscrowAddress
|
|
460
|
+
* @summary EscrowAddress returns the escrow address for a particular port and channel id.
|
|
461
|
+
* @request GET:/ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address
|
|
462
|
+
*/
|
|
463
|
+
queryEscrowAddress = (channelId: string, portId: string, params: RequestParams = {}) =>
|
|
464
|
+
this.request<V1QueryEscrowAddressResponse, RpcStatus>({
|
|
465
|
+
path: `/ibc/apps/transfer/v1/channels/${channelId}/ports/${portId}/escrow_address`,
|
|
466
|
+
method: "GET",
|
|
467
|
+
format: "json",
|
|
468
|
+
...params,
|
|
469
|
+
});
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* No description
|
|
473
|
+
*
|
|
474
|
+
* @tags Query
|
|
475
|
+
* @name QueryDenomHash
|
|
476
|
+
* @summary DenomHash queries a denomination hash information.
|
|
477
|
+
* @request GET:/ibc/apps/transfer/v1/denom_hashes/{trace}
|
|
478
|
+
*/
|
|
479
|
+
queryDenomHash = (trace: string, params: RequestParams = {}) =>
|
|
480
|
+
this.request<V1QueryDenomHashResponse, RpcStatus>({
|
|
481
|
+
path: `/ibc/apps/transfer/v1/denom_hashes/${trace}`,
|
|
482
|
+
method: "GET",
|
|
483
|
+
format: "json",
|
|
484
|
+
...params,
|
|
485
|
+
});
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* No description
|
|
489
|
+
*
|
|
490
|
+
* @tags Query
|
|
491
|
+
* @name QueryDenomTraces
|
|
492
|
+
* @summary DenomTraces queries all denomination traces.
|
|
493
|
+
* @request GET:/ibc/apps/transfer/v1/denom_traces
|
|
494
|
+
*/
|
|
495
|
+
queryDenomTraces = (
|
|
496
|
+
query?: {
|
|
497
|
+
"pagination.key"?: string;
|
|
498
|
+
"pagination.offset"?: string;
|
|
499
|
+
"pagination.limit"?: string;
|
|
500
|
+
"pagination.count_total"?: boolean;
|
|
501
|
+
"pagination.reverse"?: boolean;
|
|
502
|
+
},
|
|
503
|
+
params: RequestParams = {},
|
|
504
|
+
) =>
|
|
505
|
+
this.request<V1QueryDenomTracesResponse, RpcStatus>({
|
|
506
|
+
path: `/ibc/apps/transfer/v1/denom_traces`,
|
|
507
|
+
method: "GET",
|
|
508
|
+
query: query,
|
|
509
|
+
format: "json",
|
|
510
|
+
...params,
|
|
511
|
+
});
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* No description
|
|
515
|
+
*
|
|
516
|
+
* @tags Query
|
|
517
|
+
* @name QueryDenomTrace
|
|
518
|
+
* @summary DenomTrace queries a denomination trace information.
|
|
519
|
+
* @request GET:/ibc/apps/transfer/v1/denom_traces/{hash}
|
|
520
|
+
*/
|
|
521
|
+
queryDenomTrace = (hash: string, params: RequestParams = {}) =>
|
|
522
|
+
this.request<V1QueryDenomTraceResponse, RpcStatus>({
|
|
523
|
+
path: `/ibc/apps/transfer/v1/denom_traces/${hash}`,
|
|
524
|
+
method: "GET",
|
|
525
|
+
format: "json",
|
|
526
|
+
...params,
|
|
527
|
+
});
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* No description
|
|
531
|
+
*
|
|
532
|
+
* @tags Query
|
|
533
|
+
* @name QueryParams
|
|
534
|
+
* @summary Params queries all parameters of the ibc-transfer module.
|
|
535
|
+
* @request GET:/ibc/apps/transfer/v1/params
|
|
536
|
+
*/
|
|
537
|
+
queryParams = (params: RequestParams = {}) =>
|
|
538
|
+
this.request<V1QueryParamsResponse, RpcStatus>({
|
|
539
|
+
path: `/ibc/apps/transfer/v1/params`,
|
|
540
|
+
method: "GET",
|
|
541
|
+
format: "json",
|
|
542
|
+
...params,
|
|
543
|
+
});
|
|
544
|
+
}
|