@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,247 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
|
|
4
|
+
export const protobufPackage = "cosmos_proto";
|
|
5
|
+
|
|
6
|
+
export enum ScalarType {
|
|
7
|
+
SCALAR_TYPE_UNSPECIFIED = 0,
|
|
8
|
+
SCALAR_TYPE_STRING = 1,
|
|
9
|
+
SCALAR_TYPE_BYTES = 2,
|
|
10
|
+
UNRECOGNIZED = -1,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function scalarTypeFromJSON(object: any): ScalarType {
|
|
14
|
+
switch (object) {
|
|
15
|
+
case 0:
|
|
16
|
+
case "SCALAR_TYPE_UNSPECIFIED":
|
|
17
|
+
return ScalarType.SCALAR_TYPE_UNSPECIFIED;
|
|
18
|
+
case 1:
|
|
19
|
+
case "SCALAR_TYPE_STRING":
|
|
20
|
+
return ScalarType.SCALAR_TYPE_STRING;
|
|
21
|
+
case 2:
|
|
22
|
+
case "SCALAR_TYPE_BYTES":
|
|
23
|
+
return ScalarType.SCALAR_TYPE_BYTES;
|
|
24
|
+
case -1:
|
|
25
|
+
case "UNRECOGNIZED":
|
|
26
|
+
default:
|
|
27
|
+
return ScalarType.UNRECOGNIZED;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function scalarTypeToJSON(object: ScalarType): string {
|
|
32
|
+
switch (object) {
|
|
33
|
+
case ScalarType.SCALAR_TYPE_UNSPECIFIED:
|
|
34
|
+
return "SCALAR_TYPE_UNSPECIFIED";
|
|
35
|
+
case ScalarType.SCALAR_TYPE_STRING:
|
|
36
|
+
return "SCALAR_TYPE_STRING";
|
|
37
|
+
case ScalarType.SCALAR_TYPE_BYTES:
|
|
38
|
+
return "SCALAR_TYPE_BYTES";
|
|
39
|
+
case ScalarType.UNRECOGNIZED:
|
|
40
|
+
default:
|
|
41
|
+
return "UNRECOGNIZED";
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* InterfaceDescriptor describes an interface type to be used with
|
|
47
|
+
* accepts_interface and implements_interface and declared by declare_interface.
|
|
48
|
+
*/
|
|
49
|
+
export interface InterfaceDescriptor {
|
|
50
|
+
/**
|
|
51
|
+
* name is the name of the interface. It should be a short-name (without
|
|
52
|
+
* a period) such that the fully qualified name of the interface will be
|
|
53
|
+
* package.name, ex. for the package a.b and interface named C, the
|
|
54
|
+
* fully-qualified name will be a.b.C.
|
|
55
|
+
*/
|
|
56
|
+
name: string;
|
|
57
|
+
/**
|
|
58
|
+
* description is a human-readable description of the interface and its
|
|
59
|
+
* purpose.
|
|
60
|
+
*/
|
|
61
|
+
description: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* ScalarDescriptor describes an scalar type to be used with
|
|
66
|
+
* the scalar field option and declared by declare_scalar.
|
|
67
|
+
* Scalars extend simple protobuf built-in types with additional
|
|
68
|
+
* syntax and semantics, for instance to represent big integers.
|
|
69
|
+
* Scalars should ideally define an encoding such that there is only one
|
|
70
|
+
* valid syntactical representation for a given semantic meaning,
|
|
71
|
+
* i.e. the encoding should be deterministic.
|
|
72
|
+
*/
|
|
73
|
+
export interface ScalarDescriptor {
|
|
74
|
+
/**
|
|
75
|
+
* name is the name of the scalar. It should be a short-name (without
|
|
76
|
+
* a period) such that the fully qualified name of the scalar will be
|
|
77
|
+
* package.name, ex. for the package a.b and scalar named C, the
|
|
78
|
+
* fully-qualified name will be a.b.C.
|
|
79
|
+
*/
|
|
80
|
+
name: string;
|
|
81
|
+
/**
|
|
82
|
+
* description is a human-readable description of the scalar and its
|
|
83
|
+
* encoding format. For instance a big integer or decimal scalar should
|
|
84
|
+
* specify precisely the expected encoding format.
|
|
85
|
+
*/
|
|
86
|
+
description: string;
|
|
87
|
+
/**
|
|
88
|
+
* field_type is the type of field with which this scalar can be used.
|
|
89
|
+
* Scalars can be used with one and only one type of field so that
|
|
90
|
+
* encoding standards and simple and clear. Currently only string and
|
|
91
|
+
* bytes fields are supported for scalars.
|
|
92
|
+
*/
|
|
93
|
+
fieldType: ScalarType[];
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
function createBaseInterfaceDescriptor(): InterfaceDescriptor {
|
|
97
|
+
return { name: "", description: "" };
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export const InterfaceDescriptor = {
|
|
101
|
+
encode(message: InterfaceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
102
|
+
if (message.name !== "") {
|
|
103
|
+
writer.uint32(10).string(message.name);
|
|
104
|
+
}
|
|
105
|
+
if (message.description !== "") {
|
|
106
|
+
writer.uint32(18).string(message.description);
|
|
107
|
+
}
|
|
108
|
+
return writer;
|
|
109
|
+
},
|
|
110
|
+
|
|
111
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor {
|
|
112
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
113
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
114
|
+
const message = createBaseInterfaceDescriptor();
|
|
115
|
+
while (reader.pos < end) {
|
|
116
|
+
const tag = reader.uint32();
|
|
117
|
+
switch (tag >>> 3) {
|
|
118
|
+
case 1:
|
|
119
|
+
message.name = reader.string();
|
|
120
|
+
break;
|
|
121
|
+
case 2:
|
|
122
|
+
message.description = reader.string();
|
|
123
|
+
break;
|
|
124
|
+
default:
|
|
125
|
+
reader.skipType(tag & 7);
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return message;
|
|
130
|
+
},
|
|
131
|
+
|
|
132
|
+
fromJSON(object: any): InterfaceDescriptor {
|
|
133
|
+
return {
|
|
134
|
+
name: isSet(object.name) ? String(object.name) : "",
|
|
135
|
+
description: isSet(object.description) ? String(object.description) : "",
|
|
136
|
+
};
|
|
137
|
+
},
|
|
138
|
+
|
|
139
|
+
toJSON(message: InterfaceDescriptor): unknown {
|
|
140
|
+
const obj: any = {};
|
|
141
|
+
message.name !== undefined && (obj.name = message.name);
|
|
142
|
+
message.description !== undefined && (obj.description = message.description);
|
|
143
|
+
return obj;
|
|
144
|
+
},
|
|
145
|
+
|
|
146
|
+
fromPartial<I extends Exact<DeepPartial<InterfaceDescriptor>, I>>(object: I): InterfaceDescriptor {
|
|
147
|
+
const message = createBaseInterfaceDescriptor();
|
|
148
|
+
message.name = object.name ?? "";
|
|
149
|
+
message.description = object.description ?? "";
|
|
150
|
+
return message;
|
|
151
|
+
},
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
function createBaseScalarDescriptor(): ScalarDescriptor {
|
|
155
|
+
return { name: "", description: "", fieldType: [] };
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export const ScalarDescriptor = {
|
|
159
|
+
encode(message: ScalarDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
160
|
+
if (message.name !== "") {
|
|
161
|
+
writer.uint32(10).string(message.name);
|
|
162
|
+
}
|
|
163
|
+
if (message.description !== "") {
|
|
164
|
+
writer.uint32(18).string(message.description);
|
|
165
|
+
}
|
|
166
|
+
writer.uint32(26).fork();
|
|
167
|
+
for (const v of message.fieldType) {
|
|
168
|
+
writer.int32(v);
|
|
169
|
+
}
|
|
170
|
+
writer.ldelim();
|
|
171
|
+
return writer;
|
|
172
|
+
},
|
|
173
|
+
|
|
174
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ScalarDescriptor {
|
|
175
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
176
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
177
|
+
const message = createBaseScalarDescriptor();
|
|
178
|
+
while (reader.pos < end) {
|
|
179
|
+
const tag = reader.uint32();
|
|
180
|
+
switch (tag >>> 3) {
|
|
181
|
+
case 1:
|
|
182
|
+
message.name = reader.string();
|
|
183
|
+
break;
|
|
184
|
+
case 2:
|
|
185
|
+
message.description = reader.string();
|
|
186
|
+
break;
|
|
187
|
+
case 3:
|
|
188
|
+
if ((tag & 7) === 2) {
|
|
189
|
+
const end2 = reader.uint32() + reader.pos;
|
|
190
|
+
while (reader.pos < end2) {
|
|
191
|
+
message.fieldType.push(reader.int32() as any);
|
|
192
|
+
}
|
|
193
|
+
} else {
|
|
194
|
+
message.fieldType.push(reader.int32() as any);
|
|
195
|
+
}
|
|
196
|
+
break;
|
|
197
|
+
default:
|
|
198
|
+
reader.skipType(tag & 7);
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
return message;
|
|
203
|
+
},
|
|
204
|
+
|
|
205
|
+
fromJSON(object: any): ScalarDescriptor {
|
|
206
|
+
return {
|
|
207
|
+
name: isSet(object.name) ? String(object.name) : "",
|
|
208
|
+
description: isSet(object.description) ? String(object.description) : "",
|
|
209
|
+
fieldType: Array.isArray(object?.fieldType) ? object.fieldType.map((e: any) => scalarTypeFromJSON(e)) : [],
|
|
210
|
+
};
|
|
211
|
+
},
|
|
212
|
+
|
|
213
|
+
toJSON(message: ScalarDescriptor): unknown {
|
|
214
|
+
const obj: any = {};
|
|
215
|
+
message.name !== undefined && (obj.name = message.name);
|
|
216
|
+
message.description !== undefined && (obj.description = message.description);
|
|
217
|
+
if (message.fieldType) {
|
|
218
|
+
obj.fieldType = message.fieldType.map((e) => scalarTypeToJSON(e));
|
|
219
|
+
} else {
|
|
220
|
+
obj.fieldType = [];
|
|
221
|
+
}
|
|
222
|
+
return obj;
|
|
223
|
+
},
|
|
224
|
+
|
|
225
|
+
fromPartial<I extends Exact<DeepPartial<ScalarDescriptor>, I>>(object: I): ScalarDescriptor {
|
|
226
|
+
const message = createBaseScalarDescriptor();
|
|
227
|
+
message.name = object.name ?? "";
|
|
228
|
+
message.description = object.description ?? "";
|
|
229
|
+
message.fieldType = object.fieldType?.map((e) => e) || [];
|
|
230
|
+
return message;
|
|
231
|
+
},
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
235
|
+
|
|
236
|
+
export type DeepPartial<T> = T extends Builtin ? T
|
|
237
|
+
: T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
238
|
+
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
239
|
+
: Partial<T>;
|
|
240
|
+
|
|
241
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
242
|
+
export type Exact<P, I extends P> = P extends Builtin ? P
|
|
243
|
+
: P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
|
|
244
|
+
|
|
245
|
+
function isSet(value: any): boolean {
|
|
246
|
+
return value !== null && value !== undefined;
|
|
247
|
+
}
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
|
|
4
|
+
export const protobufPackage = "google.protobuf";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
8
|
+
* URL that describes the type of the serialized message.
|
|
9
|
+
*
|
|
10
|
+
* Protobuf library provides support to pack/unpack Any values in the form
|
|
11
|
+
* of utility functions or additional generated methods of the Any type.
|
|
12
|
+
*
|
|
13
|
+
* Example 1: Pack and unpack a message in C++.
|
|
14
|
+
*
|
|
15
|
+
* Foo foo = ...;
|
|
16
|
+
* Any any;
|
|
17
|
+
* any.PackFrom(foo);
|
|
18
|
+
* ...
|
|
19
|
+
* if (any.UnpackTo(&foo)) {
|
|
20
|
+
* ...
|
|
21
|
+
* }
|
|
22
|
+
*
|
|
23
|
+
* Example 2: Pack and unpack a message in Java.
|
|
24
|
+
*
|
|
25
|
+
* Foo foo = ...;
|
|
26
|
+
* Any any = Any.pack(foo);
|
|
27
|
+
* ...
|
|
28
|
+
* if (any.is(Foo.class)) {
|
|
29
|
+
* foo = any.unpack(Foo.class);
|
|
30
|
+
* }
|
|
31
|
+
*
|
|
32
|
+
* Example 3: Pack and unpack a message in Python.
|
|
33
|
+
*
|
|
34
|
+
* foo = Foo(...)
|
|
35
|
+
* any = Any()
|
|
36
|
+
* any.Pack(foo)
|
|
37
|
+
* ...
|
|
38
|
+
* if any.Is(Foo.DESCRIPTOR):
|
|
39
|
+
* any.Unpack(foo)
|
|
40
|
+
* ...
|
|
41
|
+
*
|
|
42
|
+
* Example 4: Pack and unpack a message in Go
|
|
43
|
+
*
|
|
44
|
+
* foo := &pb.Foo{...}
|
|
45
|
+
* any, err := anypb.New(foo)
|
|
46
|
+
* if err != nil {
|
|
47
|
+
* ...
|
|
48
|
+
* }
|
|
49
|
+
* ...
|
|
50
|
+
* foo := &pb.Foo{}
|
|
51
|
+
* if err := any.UnmarshalTo(foo); err != nil {
|
|
52
|
+
* ...
|
|
53
|
+
* }
|
|
54
|
+
*
|
|
55
|
+
* The pack methods provided by protobuf library will by default use
|
|
56
|
+
* 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
57
|
+
* methods only use the fully qualified type name after the last '/'
|
|
58
|
+
* in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
59
|
+
* name "y.z".
|
|
60
|
+
*
|
|
61
|
+
* JSON
|
|
62
|
+
* ====
|
|
63
|
+
* The JSON representation of an `Any` value uses the regular
|
|
64
|
+
* representation of the deserialized, embedded message, with an
|
|
65
|
+
* additional field `@type` which contains the type URL. Example:
|
|
66
|
+
*
|
|
67
|
+
* package google.profile;
|
|
68
|
+
* message Person {
|
|
69
|
+
* string first_name = 1;
|
|
70
|
+
* string last_name = 2;
|
|
71
|
+
* }
|
|
72
|
+
*
|
|
73
|
+
* {
|
|
74
|
+
* "@type": "type.googleapis.com/google.profile.Person",
|
|
75
|
+
* "firstName": <string>,
|
|
76
|
+
* "lastName": <string>
|
|
77
|
+
* }
|
|
78
|
+
*
|
|
79
|
+
* If the embedded message type is well-known and has a custom JSON
|
|
80
|
+
* representation, that representation will be embedded adding a field
|
|
81
|
+
* `value` which holds the custom JSON in addition to the `@type`
|
|
82
|
+
* field. Example (for message [google.protobuf.Duration][]):
|
|
83
|
+
*
|
|
84
|
+
* {
|
|
85
|
+
* "@type": "type.googleapis.com/google.protobuf.Duration",
|
|
86
|
+
* "value": "1.212s"
|
|
87
|
+
* }
|
|
88
|
+
*/
|
|
89
|
+
export interface Any {
|
|
90
|
+
/**
|
|
91
|
+
* A URL/resource name that uniquely identifies the type of the serialized
|
|
92
|
+
* protocol buffer message. This string must contain at least
|
|
93
|
+
* one "/" character. The last segment of the URL's path must represent
|
|
94
|
+
* the fully qualified name of the type (as in
|
|
95
|
+
* `path/google.protobuf.Duration`). The name should be in a canonical form
|
|
96
|
+
* (e.g., leading "." is not accepted).
|
|
97
|
+
*
|
|
98
|
+
* In practice, teams usually precompile into the binary all types that they
|
|
99
|
+
* expect it to use in the context of Any. However, for URLs which use the
|
|
100
|
+
* scheme `http`, `https`, or no scheme, one can optionally set up a type
|
|
101
|
+
* server that maps type URLs to message definitions as follows:
|
|
102
|
+
*
|
|
103
|
+
* * If no scheme is provided, `https` is assumed.
|
|
104
|
+
* * An HTTP GET on the URL must yield a [google.protobuf.Type][]
|
|
105
|
+
* value in binary format, or produce an error.
|
|
106
|
+
* * Applications are allowed to cache lookup results based on the
|
|
107
|
+
* URL, or have them precompiled into a binary to avoid any
|
|
108
|
+
* lookup. Therefore, binary compatibility needs to be preserved
|
|
109
|
+
* on changes to types. (Use versioned type names to manage
|
|
110
|
+
* breaking changes.)
|
|
111
|
+
*
|
|
112
|
+
* Note: this functionality is not currently available in the official
|
|
113
|
+
* protobuf release, and it is not used for type URLs beginning with
|
|
114
|
+
* type.googleapis.com.
|
|
115
|
+
*
|
|
116
|
+
* Schemes other than `http`, `https` (or the empty scheme) might be
|
|
117
|
+
* used with implementation specific semantics.
|
|
118
|
+
*/
|
|
119
|
+
typeUrl: string;
|
|
120
|
+
/** Must be a valid serialized protocol buffer of the above specified type. */
|
|
121
|
+
value: Uint8Array;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
function createBaseAny(): Any {
|
|
125
|
+
return { typeUrl: "", value: new Uint8Array() };
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export const Any = {
|
|
129
|
+
encode(message: Any, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
130
|
+
if (message.typeUrl !== "") {
|
|
131
|
+
writer.uint32(10).string(message.typeUrl);
|
|
132
|
+
}
|
|
133
|
+
if (message.value.length !== 0) {
|
|
134
|
+
writer.uint32(18).bytes(message.value);
|
|
135
|
+
}
|
|
136
|
+
return writer;
|
|
137
|
+
},
|
|
138
|
+
|
|
139
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Any {
|
|
140
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
141
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
142
|
+
const message = createBaseAny();
|
|
143
|
+
while (reader.pos < end) {
|
|
144
|
+
const tag = reader.uint32();
|
|
145
|
+
switch (tag >>> 3) {
|
|
146
|
+
case 1:
|
|
147
|
+
message.typeUrl = reader.string();
|
|
148
|
+
break;
|
|
149
|
+
case 2:
|
|
150
|
+
message.value = reader.bytes();
|
|
151
|
+
break;
|
|
152
|
+
default:
|
|
153
|
+
reader.skipType(tag & 7);
|
|
154
|
+
break;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
return message;
|
|
158
|
+
},
|
|
159
|
+
|
|
160
|
+
fromJSON(object: any): Any {
|
|
161
|
+
return {
|
|
162
|
+
typeUrl: isSet(object.typeUrl) ? String(object.typeUrl) : "",
|
|
163
|
+
value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(),
|
|
164
|
+
};
|
|
165
|
+
},
|
|
166
|
+
|
|
167
|
+
toJSON(message: Any): unknown {
|
|
168
|
+
const obj: any = {};
|
|
169
|
+
message.typeUrl !== undefined && (obj.typeUrl = message.typeUrl);
|
|
170
|
+
message.value !== undefined
|
|
171
|
+
&& (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array()));
|
|
172
|
+
return obj;
|
|
173
|
+
},
|
|
174
|
+
|
|
175
|
+
fromPartial<I extends Exact<DeepPartial<Any>, I>>(object: I): Any {
|
|
176
|
+
const message = createBaseAny();
|
|
177
|
+
message.typeUrl = object.typeUrl ?? "";
|
|
178
|
+
message.value = object.value ?? new Uint8Array();
|
|
179
|
+
return message;
|
|
180
|
+
},
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
declare var self: any | undefined;
|
|
184
|
+
declare var window: any | undefined;
|
|
185
|
+
declare var global: any | undefined;
|
|
186
|
+
var globalThis: any = (() => {
|
|
187
|
+
if (typeof globalThis !== "undefined") {
|
|
188
|
+
return globalThis;
|
|
189
|
+
}
|
|
190
|
+
if (typeof self !== "undefined") {
|
|
191
|
+
return self;
|
|
192
|
+
}
|
|
193
|
+
if (typeof window !== "undefined") {
|
|
194
|
+
return window;
|
|
195
|
+
}
|
|
196
|
+
if (typeof global !== "undefined") {
|
|
197
|
+
return global;
|
|
198
|
+
}
|
|
199
|
+
throw "Unable to locate global object";
|
|
200
|
+
})();
|
|
201
|
+
|
|
202
|
+
function bytesFromBase64(b64: string): Uint8Array {
|
|
203
|
+
if (globalThis.Buffer) {
|
|
204
|
+
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|
|
205
|
+
} else {
|
|
206
|
+
const bin = globalThis.atob(b64);
|
|
207
|
+
const arr = new Uint8Array(bin.length);
|
|
208
|
+
for (let i = 0; i < bin.length; ++i) {
|
|
209
|
+
arr[i] = bin.charCodeAt(i);
|
|
210
|
+
}
|
|
211
|
+
return arr;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
function base64FromBytes(arr: Uint8Array): string {
|
|
216
|
+
if (globalThis.Buffer) {
|
|
217
|
+
return globalThis.Buffer.from(arr).toString("base64");
|
|
218
|
+
} else {
|
|
219
|
+
const bin: string[] = [];
|
|
220
|
+
arr.forEach((byte) => {
|
|
221
|
+
bin.push(String.fromCharCode(byte));
|
|
222
|
+
});
|
|
223
|
+
return globalThis.btoa(bin.join(""));
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
228
|
+
|
|
229
|
+
export type DeepPartial<T> = T extends Builtin ? T
|
|
230
|
+
: T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
231
|
+
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
232
|
+
: Partial<T>;
|
|
233
|
+
|
|
234
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
235
|
+
export type Exact<P, I extends P> = P extends Builtin ? P
|
|
236
|
+
: P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
|
|
237
|
+
|
|
238
|
+
function isSet(value: any): boolean {
|
|
239
|
+
return value !== null && value !== undefined;
|
|
240
|
+
}
|