@burnt-labs/xion-types 0.0.1-test.1762962136
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/jest.config.js +18 -0
- package/package.json +56 -0
- package/scripts/aminos.ts +29 -0
- package/scripts/codegen.ts +94 -0
- package/scripts/download-protos.ts +248 -0
- package/telescope.config.json +84 -0
- package/tsconfig.esm.json +9 -0
- package/tsconfig.json +18 -0
- package/types/abstractaccount/bundle.ts +35 -0
- package/types/abstractaccount/client.ts +48 -0
- package/types/abstractaccount/lcd.ts +130 -0
- package/types/abstractaccount/rpc.query.ts +93 -0
- package/types/abstractaccount/rpc.tx.ts +74 -0
- package/types/abstractaccount/v1/account.ts +250 -0
- package/types/abstractaccount/v1/events.ts +135 -0
- package/types/abstractaccount/v1/genesis.ts +106 -0
- package/types/abstractaccount/v1/params.ts +192 -0
- package/types/abstractaccount/v1/query.lcd.ts +19 -0
- package/types/abstractaccount/v1/query.rpc.Query.ts +31 -0
- package/types/abstractaccount/v1/query.ts +160 -0
- package/types/abstractaccount/v1/tx.amino.ts +14 -0
- package/types/abstractaccount/v1/tx.registry.ts +53 -0
- package/types/abstractaccount/v1/tx.rpc.msg.ts +29 -0
- package/types/abstractaccount/v1/tx.ts +454 -0
- package/types/amino/amino.ts +1 -0
- package/types/amino/bundle.ts +5 -0
- package/types/binary.ts +535 -0
- package/types/cosmos/app/runtime/v1alpha1/module.ts +492 -0
- package/types/cosmos/app/v1alpha1/config.ts +437 -0
- package/types/cosmos/app/v1alpha1/module.ts +466 -0
- package/types/cosmos/app/v1alpha1/query.rpc.Query.ts +31 -0
- package/types/cosmos/app/v1alpha1/query.ts +176 -0
- package/types/cosmos/auth/module/v1/module.ts +288 -0
- package/types/cosmos/auth/v1beta1/auth.ts +562 -0
- package/types/cosmos/auth/v1beta1/genesis.ts +123 -0
- package/types/cosmos/auth/v1beta1/query.lcd.ts +91 -0
- package/types/cosmos/auth/v1beta1/query.rpc.Query.ts +137 -0
- package/types/cosmos/auth/v1beta1/query.ts +2005 -0
- package/types/cosmos/auth/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/auth/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/auth/v1beta1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/auth/v1beta1/tx.ts +208 -0
- package/types/cosmos/authz/module/v1/module.ts +77 -0
- package/types/cosmos/authz/v1beta1/authz.ts +599 -0
- package/types/cosmos/authz/v1beta1/event.ts +274 -0
- package/types/cosmos/authz/v1beta1/genesis.ts +99 -0
- package/types/cosmos/authz/v1beta1/query.lcd.ts +59 -0
- package/types/cosmos/authz/v1beta1/query.rpc.Query.ts +53 -0
- package/types/cosmos/authz/v1beta1/query.ts +734 -0
- package/types/cosmos/authz/v1beta1/tx.amino.ts +19 -0
- package/types/cosmos/authz/v1beta1/tx.registry.ts +71 -0
- package/types/cosmos/authz/v1beta1/tx.rpc.msg.ts +49 -0
- package/types/cosmos/authz/v1beta1/tx.ts +666 -0
- package/types/cosmos/autocli/v1/options.ts +1317 -0
- package/types/cosmos/autocli/v1/query.rpc.Query.ts +32 -0
- package/types/cosmos/autocli/v1/query.ts +298 -0
- package/types/cosmos/bank/module/v1/module.ts +156 -0
- package/types/cosmos/bank/v1beta1/authz.ts +134 -0
- package/types/cosmos/bank/v1beta1/bank.ts +984 -0
- package/types/cosmos/bank/v1beta1/genesis.ts +316 -0
- package/types/cosmos/bank/v1beta1/query.lcd.ts +207 -0
- package/types/cosmos/bank/v1beta1/query.rpc.Query.ts +212 -0
- package/types/cosmos/bank/v1beta1/query.ts +3051 -0
- package/types/cosmos/bank/v1beta1/tx.amino.ts +24 -0
- package/types/cosmos/bank/v1beta1/tx.registry.ts +89 -0
- package/types/cosmos/bank/v1beta1/tx.rpc.msg.ts +53 -0
- package/types/cosmos/bank/v1beta1/tx.ts +845 -0
- package/types/cosmos/base/abci/v1beta1/abci.ts +1776 -0
- package/types/cosmos/base/node/v1beta1/query.lcd.ts +25 -0
- package/types/cosmos/base/node/v1beta1/query.rpc.Service.ts +42 -0
- package/types/cosmos/base/node/v1beta1/query.ts +467 -0
- package/types/cosmos/base/query/v1beta1/pagination.ts +372 -0
- package/types/cosmos/base/reflection/v1beta1/reflection.ts +385 -0
- package/types/cosmos/base/reflection/v2alpha1/reflection.ts +2790 -0
- package/types/cosmos/base/tendermint/v1beta1/query.lcd.ts +87 -0
- package/types/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +103 -0
- package/types/cosmos/base/tendermint/v1beta1/query.ts +2358 -0
- package/types/cosmos/base/tendermint/v1beta1/types.ts +492 -0
- package/types/cosmos/base/v1beta1/coin.ts +449 -0
- package/types/cosmos/benchmark/module/v1/module.ts +384 -0
- package/types/cosmos/benchmark/v1/benchmark.ts +186 -0
- package/types/cosmos/benchmark/v1/tx.amino.ts +9 -0
- package/types/cosmos/benchmark/v1/tx.registry.ts +35 -0
- package/types/cosmos/benchmark/v1/tx.rpc.msg.ts +21 -0
- package/types/cosmos/benchmark/v1/tx.ts +224 -0
- package/types/cosmos/bundle.ts +807 -0
- package/types/cosmos/circuit/module/v1/module.ts +100 -0
- package/types/cosmos/circuit/v1/query.lcd.ts +40 -0
- package/types/cosmos/circuit/v1/query.rpc.Query.ts +55 -0
- package/types/cosmos/circuit/v1/query.ts +576 -0
- package/types/cosmos/circuit/v1/tx.amino.ts +19 -0
- package/types/cosmos/circuit/v1/tx.registry.ts +71 -0
- package/types/cosmos/circuit/v1/tx.rpc.msg.ts +43 -0
- package/types/cosmos/circuit/v1/tx.ts +685 -0
- package/types/cosmos/circuit/v1/types.ts +419 -0
- package/types/cosmos/client.ts +100 -0
- package/types/cosmos/consensus/module/v1/module.ts +100 -0
- package/types/cosmos/consensus/v1/query.lcd.ts +19 -0
- package/types/cosmos/consensus/v1/query.rpc.Query.ts +31 -0
- package/types/cosmos/consensus/v1/query.ts +182 -0
- package/types/cosmos/consensus/v1/tx.amino.ts +9 -0
- package/types/cosmos/consensus/v1/tx.registry.ts +35 -0
- package/types/cosmos/consensus/v1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/consensus/v1/tx.ts +257 -0
- package/types/cosmos/counter/module/v1/module.ts +100 -0
- package/types/cosmos/counter/v1/query.rpc.Query.ts +31 -0
- package/types/cosmos/counter/v1/query.ts +171 -0
- package/types/cosmos/counter/v1/tx.amino.ts +9 -0
- package/types/cosmos/counter/v1/tx.registry.ts +35 -0
- package/types/cosmos/counter/v1/tx.rpc.msg.ts +21 -0
- package/types/cosmos/counter/v1/tx.ts +217 -0
- package/types/cosmos/crisis/module/v1/module.ts +119 -0
- package/types/cosmos/crisis/v1beta1/genesis.ts +105 -0
- package/types/cosmos/crisis/v1beta1/tx.amino.ts +14 -0
- package/types/cosmos/crisis/v1beta1/tx.registry.ts +53 -0
- package/types/cosmos/crisis/v1beta1/tx.rpc.msg.ts +32 -0
- package/types/cosmos/crisis/v1beta1/tx.ts +413 -0
- package/types/cosmos/crypto/bls12_381/keys.ts +207 -0
- package/types/cosmos/crypto/ed25519/keys.ts +214 -0
- package/types/cosmos/crypto/hd/v1/hd.ts +180 -0
- package/types/cosmos/crypto/keyring/v1/record.ts +542 -0
- package/types/cosmos/crypto/multisig/keys.ts +124 -0
- package/types/cosmos/crypto/multisig/v1beta1/multisig.ts +231 -0
- package/types/cosmos/crypto/secp256k1/keys.ts +207 -0
- package/types/cosmos/crypto/secp256r1/keys.ts +203 -0
- package/types/cosmos/distribution/module/v1/module.ts +115 -0
- package/types/cosmos/distribution/v1beta1/distribution.ts +1551 -0
- package/types/cosmos/distribution/v1beta1/genesis.ts +1208 -0
- package/types/cosmos/distribution/v1beta1/query.lcd.ts +89 -0
- package/types/cosmos/distribution/v1beta1/query.rpc.Query.ts +137 -0
- package/types/cosmos/distribution/v1beta1/query.ts +2195 -0
- package/types/cosmos/distribution/v1beta1/tx.amino.ts +39 -0
- package/types/cosmos/distribution/v1beta1/tx.registry.ts +143 -0
- package/types/cosmos/distribution/v1beta1/tx.rpc.msg.ts +96 -0
- package/types/cosmos/distribution/v1beta1/tx.ts +1460 -0
- package/types/cosmos/epochs/module/v1/module.ts +77 -0
- package/types/cosmos/epochs/v1beta1/events.ts +205 -0
- package/types/cosmos/epochs/v1beta1/genesis.ts +384 -0
- package/types/cosmos/epochs/v1beta1/query.lcd.ts +31 -0
- package/types/cosmos/epochs/v1beta1/query.rpc.Query.ts +42 -0
- package/types/cosmos/epochs/v1beta1/query.ts +390 -0
- package/types/cosmos/evidence/module/v1/module.ts +77 -0
- package/types/cosmos/evidence/v1beta1/evidence.ts +166 -0
- package/types/cosmos/evidence/v1beta1/genesis.ts +103 -0
- package/types/cosmos/evidence/v1beta1/query.lcd.ts +40 -0
- package/types/cosmos/evidence/v1beta1/query.rpc.Query.ts +44 -0
- package/types/cosmos/evidence/v1beta1/query.ts +458 -0
- package/types/cosmos/evidence/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/evidence/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/evidence/v1beta1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/evidence/v1beta1/tx.ts +243 -0
- package/types/cosmos/feegrant/module/v1/module.ts +77 -0
- package/types/cosmos/feegrant/v1beta1/feegrant.ts +701 -0
- package/types/cosmos/feegrant/v1beta1/genesis.ts +99 -0
- package/types/cosmos/feegrant/v1beta1/query.lcd.ts +44 -0
- package/types/cosmos/feegrant/v1beta1/query.rpc.Query.ts +53 -0
- package/types/cosmos/feegrant/v1beta1/query.ts +683 -0
- package/types/cosmos/feegrant/v1beta1/tx.amino.ts +19 -0
- package/types/cosmos/feegrant/v1beta1/tx.registry.ts +71 -0
- package/types/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +43 -0
- package/types/cosmos/feegrant/v1beta1/tx.ts +683 -0
- package/types/cosmos/genutil/module/v1/module.ts +77 -0
- package/types/cosmos/genutil/v1beta1/genesis.ts +103 -0
- package/types/cosmos/gov/module/v1/module.ts +123 -0
- package/types/cosmos/gov/v1/genesis.ts +288 -0
- package/types/cosmos/gov/v1/gov.ts +1889 -0
- package/types/cosmos/gov/v1/query.lcd.ts +95 -0
- package/types/cosmos/gov/v1/query.rpc.Query.ts +119 -0
- package/types/cosmos/gov/v1/query.ts +2026 -0
- package/types/cosmos/gov/v1/tx.amino.ts +39 -0
- package/types/cosmos/gov/v1/tx.registry.ts +143 -0
- package/types/cosmos/gov/v1/tx.rpc.msg.ts +75 -0
- package/types/cosmos/gov/v1/tx.ts +1911 -0
- package/types/cosmos/gov/v1beta1/genesis.ts +221 -0
- package/types/cosmos/gov/v1beta1/gov.ts +1725 -0
- package/types/cosmos/gov/v1beta1/query.lcd.ts +89 -0
- package/types/cosmos/gov/v1beta1/query.rpc.Query.ts +108 -0
- package/types/cosmos/gov/v1beta1/query.ts +1813 -0
- package/types/cosmos/gov/v1beta1/tx.amino.ts +24 -0
- package/types/cosmos/gov/v1beta1/tx.registry.ts +89 -0
- package/types/cosmos/gov/v1beta1/tx.rpc.msg.ts +45 -0
- package/types/cosmos/gov/v1beta1/tx.ts +1128 -0
- package/types/cosmos/group/module/v1/module.ts +128 -0
- package/types/cosmos/group/v1/events.ts +1195 -0
- package/types/cosmos/group/v1/genesis.ts +256 -0
- package/types/cosmos/group/v1/query.lcd.ts +158 -0
- package/types/cosmos/group/v1/query.rpc.Query.ts +182 -0
- package/types/cosmos/group/v1/query.ts +3108 -0
- package/types/cosmos/group/v1/tx.amino.ts +74 -0
- package/types/cosmos/group/v1/tx.registry.ts +269 -0
- package/types/cosmos/group/v1/tx.rpc.msg.ts +125 -0
- package/types/cosmos/group/v1/tx.ts +3353 -0
- package/types/cosmos/group/v1/types.ts +2248 -0
- package/types/cosmos/ics23/v1/proofs.ts +2167 -0
- package/types/cosmos/lcd.ts +125 -0
- package/types/cosmos/mint/module/v1/module.ts +115 -0
- package/types/cosmos/mint/v1beta1/genesis.ts +120 -0
- package/types/cosmos/mint/v1beta1/mint.ts +313 -0
- package/types/cosmos/mint/v1beta1/query.lcd.ts +31 -0
- package/types/cosmos/mint/v1beta1/query.rpc.Query.ts +53 -0
- package/types/cosmos/mint/v1beta1/query.ts +544 -0
- package/types/cosmos/mint/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/mint/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/mint/v1beta1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/mint/v1beta1/tx.ts +208 -0
- package/types/cosmos/msg/textual/v1/textual.ts +1 -0
- package/types/cosmos/msg/v1/msg.ts +1 -0
- package/types/cosmos/nft/module/v1/module.ts +77 -0
- package/types/cosmos/nft/v1beta1/event.ts +429 -0
- package/types/cosmos/nft/v1beta1/genesis.ts +243 -0
- package/types/cosmos/nft/v1beta1/nft.ts +389 -0
- package/types/cosmos/nft/v1beta1/query.lcd.ts +77 -0
- package/types/cosmos/nft/v1beta1/query.rpc.Query.ts +102 -0
- package/types/cosmos/nft/v1beta1/query.ts +1513 -0
- package/types/cosmos/nft/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/nft/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/nft/v1beta1/tx.rpc.msg.ts +21 -0
- package/types/cosmos/nft/v1beta1/tx.ts +232 -0
- package/types/cosmos/params/module/v1/module.ts +77 -0
- package/types/cosmos/params/v1beta1/params.ts +262 -0
- package/types/cosmos/params/v1beta1/query.lcd.ts +35 -0
- package/types/cosmos/params/v1beta1/query.rpc.Query.ts +45 -0
- package/types/cosmos/params/v1beta1/query.ts +521 -0
- package/types/cosmos/protocolpool/module/v1/module.ts +100 -0
- package/types/cosmos/protocolpool/v1/genesis.ts +126 -0
- package/types/cosmos/protocolpool/v1/query.lcd.ts +37 -0
- package/types/cosmos/protocolpool/v1/query.rpc.Query.ts +64 -0
- package/types/cosmos/protocolpool/v1/query.ts +761 -0
- package/types/cosmos/protocolpool/v1/tx.amino.ts +29 -0
- package/types/cosmos/protocolpool/v1/tx.registry.ts +107 -0
- package/types/cosmos/protocolpool/v1/tx.rpc.msg.ts +69 -0
- package/types/cosmos/protocolpool/v1/tx.ts +1124 -0
- package/types/cosmos/protocolpool/v1/types.ts +268 -0
- package/types/cosmos/query/v1/query.ts +1 -0
- package/types/cosmos/reflection/v1/reflection.ts +178 -0
- package/types/cosmos/rpc.query.ts +90 -0
- package/types/cosmos/rpc.tx.ts +71 -0
- package/types/cosmos/slashing/module/v1/module.ts +100 -0
- package/types/cosmos/slashing/v1beta1/genesis.ts +511 -0
- package/types/cosmos/slashing/v1beta1/query.lcd.ts +40 -0
- package/types/cosmos/slashing/v1beta1/query.rpc.Query.ts +55 -0
- package/types/cosmos/slashing/v1beta1/query.ts +606 -0
- package/types/cosmos/slashing/v1beta1/slashing.ts +371 -0
- package/types/cosmos/slashing/v1beta1/tx.amino.ts +14 -0
- package/types/cosmos/slashing/v1beta1/tx.registry.ts +53 -0
- package/types/cosmos/slashing/v1beta1/tx.rpc.msg.ts +36 -0
- package/types/cosmos/slashing/v1beta1/tx.ts +377 -0
- package/types/cosmos/staking/module/v1/module.ts +165 -0
- package/types/cosmos/staking/v1beta1/authz.ts +321 -0
- package/types/cosmos/staking/v1beta1/genesis.ts +370 -0
- package/types/cosmos/staking/v1beta1/query.lcd.ts +174 -0
- package/types/cosmos/staking/v1beta1/query.rpc.Query.ts +217 -0
- package/types/cosmos/staking/v1beta1/query.ts +3187 -0
- package/types/cosmos/staking/v1beta1/staking.ts +3193 -0
- package/types/cosmos/staking/v1beta1/tx.amino.ts +39 -0
- package/types/cosmos/staking/v1beta1/tx.registry.ts +143 -0
- package/types/cosmos/staking/v1beta1/tx.rpc.msg.ts +84 -0
- package/types/cosmos/staking/v1beta1/tx.ts +1642 -0
- package/types/cosmos/store/internal/kv/v1beta1/kv.ts +208 -0
- package/types/cosmos/store/snapshots/v1/snapshot.ts +840 -0
- package/types/cosmos/store/streaming/abci/grpc.ts +393 -0
- package/types/cosmos/store/v1beta1/commit_info.ts +369 -0
- package/types/cosmos/store/v1beta1/listening.ts +296 -0
- package/types/cosmos/tx/config/v1/config.ts +127 -0
- package/types/cosmos/tx/signing/v1beta1/signing.ts +713 -0
- package/types/cosmos/tx/v1beta1/service.lcd.ts +59 -0
- package/types/cosmos/tx/v1beta1/service.rpc.Service.ts +119 -0
- package/types/cosmos/tx/v1beta1/service.ts +2319 -0
- package/types/cosmos/tx/v1beta1/tx.ts +2168 -0
- package/types/cosmos/upgrade/module/v1/module.ts +100 -0
- package/types/cosmos/upgrade/v1beta1/query.lcd.ts +54 -0
- package/types/cosmos/upgrade/v1beta1/query.rpc.Query.ts +82 -0
- package/types/cosmos/upgrade/v1beta1/query.ts +1004 -0
- package/types/cosmos/upgrade/v1beta1/tx.amino.ts +14 -0
- package/types/cosmos/upgrade/v1beta1/tx.registry.ts +53 -0
- package/types/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +32 -0
- package/types/cosmos/upgrade/v1beta1/tx.ts +368 -0
- package/types/cosmos/upgrade/v1beta1/upgrade.ts +623 -0
- package/types/cosmos/vesting/module/v1/module.ts +77 -0
- package/types/cosmos/vesting/v1beta1/tx.amino.ts +19 -0
- package/types/cosmos/vesting/v1beta1/tx.registry.ts +71 -0
- package/types/cosmos/vesting/v1beta1/tx.rpc.msg.ts +46 -0
- package/types/cosmos/vesting/v1beta1/tx.ts +688 -0
- package/types/cosmos/vesting/v1beta1/vesting.ts +751 -0
- package/types/cosmos_proto/bundle.ts +5 -0
- package/types/cosmos_proto/cosmos.ts +355 -0
- package/types/cosmwasm/bundle.ts +39 -0
- package/types/cosmwasm/client.ts +48 -0
- package/types/cosmwasm/lcd.ts +132 -0
- package/types/cosmwasm/rpc.query.ts +95 -0
- package/types/cosmwasm/rpc.tx.ts +76 -0
- package/types/cosmwasm/wasm/v1/authz.ts +1409 -0
- package/types/cosmwasm/wasm/v1/genesis.ts +544 -0
- package/types/cosmwasm/wasm/v1/ibc.ts +437 -0
- package/types/cosmwasm/wasm/v1/proposal_legacy.ts +2711 -0
- package/types/cosmwasm/wasm/v1/query.lcd.ts +154 -0
- package/types/cosmwasm/wasm/v1/query.rpc.Query.ts +181 -0
- package/types/cosmwasm/wasm/v1/query.ts +3339 -0
- package/types/cosmwasm/wasm/v1/tx.amino.ts +89 -0
- package/types/cosmwasm/wasm/v1/tx.registry.ts +323 -0
- package/types/cosmwasm/wasm/v1/tx.rpc.msg.ts +197 -0
- package/types/cosmwasm/wasm/v1/tx.ts +4403 -0
- package/types/cosmwasm/wasm/v1/types.ts +1193 -0
- package/types/gogoproto/bundle.ts +5 -0
- package/types/gogoproto/gogo.ts +1 -0
- package/types/google/api/annotations.ts +1 -0
- package/types/google/api/apikeys/v2/apikeys.ts +1245 -0
- package/types/google/api/apikeys/v2/resources.ts +1268 -0
- package/types/google/api/auth.ts +1175 -0
- package/types/google/api/backend.ts +691 -0
- package/types/google/api/billing.ts +333 -0
- package/types/google/api/client.ts +3100 -0
- package/types/google/api/cloudquotas/v1/cloudquotas.ts +1196 -0
- package/types/google/api/cloudquotas/v1/resources.ts +2065 -0
- package/types/google/api/cloudquotas/v1beta/cloudquotas.ts +1196 -0
- package/types/google/api/cloudquotas/v1beta/quota_adjuster_settings.ts +509 -0
- package/types/google/api/cloudquotas/v1beta/resources.ts +2069 -0
- package/types/google/api/config_change.ts +385 -0
- package/types/google/api/consumer.ts +362 -0
- package/types/google/api/context.ts +418 -0
- package/types/google/api/control.ts +141 -0
- package/types/google/api/distribution.ts +1253 -0
- package/types/google/api/documentation.ts +738 -0
- package/types/google/api/endpoint.ts +245 -0
- package/types/google/api/error_reason.ts +816 -0
- package/types/google/api/expr/conformance/v1alpha1/conformance_service.ts +1293 -0
- package/types/google/api/expr/v1alpha1/checked.ts +2259 -0
- package/types/google/api/expr/v1alpha1/eval.ts +675 -0
- package/types/google/api/expr/v1alpha1/explain.ts +257 -0
- package/types/google/api/expr/v1alpha1/syntax.ts +2983 -0
- package/types/google/api/expr/v1alpha1/value.ts +771 -0
- package/types/google/api/expr/v1beta1/decl.ts +563 -0
- package/types/google/api/expr/v1beta1/eval.ts +758 -0
- package/types/google/api/expr/v1beta1/expr.ts +1750 -0
- package/types/google/api/expr/v1beta1/source.ts +446 -0
- package/types/google/api/expr/v1beta1/value.ts +771 -0
- package/types/google/api/field_behavior.ts +136 -0
- package/types/google/api/field_info.ts +319 -0
- package/types/google/api/http.ts +1362 -0
- package/types/google/api/httpbody.ts +270 -0
- package/types/google/api/label.ts +174 -0
- package/types/google/api/launch_stage.ts +112 -0
- package/types/google/api/log.ts +201 -0
- package/types/google/api/logging.ts +355 -0
- package/types/google/api/metric.ts +1174 -0
- package/types/google/api/monitored_resource.ts +841 -0
- package/types/google/api/monitoring.ts +430 -0
- package/types/google/api/policy.ts +314 -0
- package/types/google/api/quota.ts +1040 -0
- package/types/google/api/resource.ts +769 -0
- package/types/google/api/routing.ts +1405 -0
- package/types/google/api/service.ts +790 -0
- package/types/google/api/servicecontrol/v1/check_error.ts +366 -0
- package/types/google/api/servicecontrol/v1/distribution.ts +773 -0
- package/types/google/api/servicecontrol/v1/http_request.ts +427 -0
- package/types/google/api/servicecontrol/v1/log_entry.ts +804 -0
- package/types/google/api/servicecontrol/v1/metric_value.ts +499 -0
- package/types/google/api/servicecontrol/v1/operation.ts +544 -0
- package/types/google/api/servicecontrol/v1/quota_controller.ts +1041 -0
- package/types/google/api/servicecontrol/v1/service_controller.ts +1164 -0
- package/types/google/api/servicecontrol/v2/service_controller.ts +949 -0
- package/types/google/api/servicemanagement/v1/resources.ts +1888 -0
- package/types/google/api/servicemanagement/v1/servicemanager.ts +2444 -0
- package/types/google/api/serviceusage/v1/resources.ts +629 -0
- package/types/google/api/serviceusage/v1/serviceusage.ts +1530 -0
- package/types/google/api/serviceusage/v1beta1/resources.ts +2972 -0
- package/types/google/api/serviceusage/v1beta1/serviceusage.ts +4567 -0
- package/types/google/api/source_info.ts +97 -0
- package/types/google/api/system_parameter.ts +461 -0
- package/types/google/api/usage.ts +404 -0
- package/types/google/api/visibility.ts +328 -0
- package/types/google/bundle.ts +115 -0
- package/types/google/logging/type/log_severity.ts +104 -0
- package/types/google/longrunning/operations.ts +1153 -0
- package/types/google/protobuf/any.ts +424 -0
- package/types/google/protobuf/api.ts +942 -0
- package/types/google/protobuf/descriptor.ts +7801 -0
- package/types/google/protobuf/duration.ts +284 -0
- package/types/google/protobuf/empty.ts +93 -0
- package/types/google/protobuf/field_mask.ts +694 -0
- package/types/google/protobuf/source_context.ts +105 -0
- package/types/google/protobuf/struct.ts +584 -0
- package/types/google/protobuf/timestamp.ts +373 -0
- package/types/google/protobuf/type.ts +1279 -0
- package/types/google/protobuf/wrappers.ts +1002 -0
- package/types/google/rpc/code.ts +286 -0
- package/types/google/rpc/context/attribute_context.ts +2517 -0
- package/types/google/rpc/context/audit_context.ts +188 -0
- package/types/google/rpc/error_details.ts +2467 -0
- package/types/google/rpc/http.ts +424 -0
- package/types/google/rpc/status.ts +173 -0
- package/types/helpers.ts +259 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/controller.ts +107 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/query.lcd.ts +25 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.ts +42 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/query.ts +379 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.amino.ts +19 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +71 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.ts +37 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +692 -0
- package/types/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +675 -0
- package/types/ibc/applications/interchain_accounts/host/v1/host.ts +261 -0
- package/types/ibc/applications/interchain_accounts/host/v1/query.lcd.ts +19 -0
- package/types/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.ts +31 -0
- package/types/ibc/applications/interchain_accounts/host/v1/query.ts +176 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.amino.ts +14 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +53 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.ts +29 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.ts +440 -0
- package/types/ibc/applications/interchain_accounts/v1/account.ts +115 -0
- package/types/ibc/applications/interchain_accounts/v1/metadata.ts +206 -0
- package/types/ibc/applications/interchain_accounts/v1/packet.ts +262 -0
- package/types/ibc/applications/transfer/v1/authz.ts +297 -0
- package/types/ibc/applications/transfer/v1/denomtrace.ts +133 -0
- package/types/ibc/applications/transfer/v1/genesis.ts +156 -0
- package/types/ibc/applications/transfer/v1/packet.ts +186 -0
- package/types/ibc/applications/transfer/v1/query.lcd.ts +76 -0
- package/types/ibc/applications/transfer/v1/query.rpc.Query.ts +88 -0
- package/types/ibc/applications/transfer/v1/query.ts +1233 -0
- package/types/ibc/applications/transfer/v1/token.ts +347 -0
- package/types/ibc/applications/transfer/v1/transfer.ts +140 -0
- package/types/ibc/applications/transfer/v1/tx.amino.ts +14 -0
- package/types/ibc/applications/transfer/v1/tx.registry.ts +53 -0
- package/types/ibc/applications/transfer/v1/tx.rpc.msg.ts +29 -0
- package/types/ibc/applications/transfer/v1/tx.ts +579 -0
- package/types/ibc/bundle.ts +265 -0
- package/types/ibc/client.ts +72 -0
- package/types/ibc/core/channel/v1/channel.ts +1455 -0
- package/types/ibc/core/channel/v1/genesis.ts +351 -0
- package/types/ibc/core/channel/v1/query.lcd.ts +135 -0
- package/types/ibc/core/channel/v1/query.rpc.Query.ts +200 -0
- package/types/ibc/core/channel/v1/query.ts +3943 -0
- package/types/ibc/core/channel/v1/tx.amino.ts +54 -0
- package/types/ibc/core/channel/v1/tx.registry.ts +197 -0
- package/types/ibc/core/channel/v1/tx.rpc.msg.ts +96 -0
- package/types/ibc/core/channel/v1/tx.ts +2558 -0
- package/types/ibc/core/channel/v2/genesis.ts +433 -0
- package/types/ibc/core/channel/v2/packet.ts +640 -0
- package/types/ibc/core/channel/v2/query.lcd.ts +77 -0
- package/types/ibc/core/channel/v2/query.rpc.Query.ts +108 -0
- package/types/ibc/core/channel/v2/query.ts +2075 -0
- package/types/ibc/core/channel/v2/tx.amino.ts +24 -0
- package/types/ibc/core/channel/v2/tx.registry.ts +89 -0
- package/types/ibc/core/channel/v2/tx.rpc.msg.ts +45 -0
- package/types/ibc/core/channel/v2/tx.ts +1003 -0
- package/types/ibc/core/client/v1/client.ts +636 -0
- package/types/ibc/core/client/v1/genesis.ts +448 -0
- package/types/ibc/core/client/v1/query.lcd.ts +102 -0
- package/types/ibc/core/client/v1/query.rpc.Query.ts +149 -0
- package/types/ibc/core/client/v1/query.ts +2588 -0
- package/types/ibc/core/client/v1/tx.amino.ts +44 -0
- package/types/ibc/core/client/v1/tx.registry.ts +161 -0
- package/types/ibc/core/client/v1/tx.rpc.msg.ts +77 -0
- package/types/ibc/core/client/v1/tx.ts +1796 -0
- package/types/ibc/core/client/v2/config.ts +115 -0
- package/types/ibc/core/client/v2/counterparty.ts +122 -0
- package/types/ibc/core/client/v2/genesis.ts +220 -0
- package/types/ibc/core/client/v2/query.lcd.ts +25 -0
- package/types/ibc/core/client/v2/query.rpc.Query.ts +42 -0
- package/types/ibc/core/client/v2/query.ts +402 -0
- package/types/ibc/core/client/v2/tx.amino.ts +14 -0
- package/types/ibc/core/client/v2/tx.registry.ts +53 -0
- package/types/ibc/core/client/v2/tx.rpc.msg.ts +29 -0
- package/types/ibc/core/client/v2/tx.ts +453 -0
- package/types/ibc/core/commitment/v1/commitment.ts +321 -0
- package/types/ibc/core/commitment/v2/commitment.ts +193 -0
- package/types/ibc/core/connection/v1/connection.ts +1056 -0
- package/types/ibc/core/connection/v1/genesis.ts +150 -0
- package/types/ibc/core/connection/v1/query.lcd.ts +61 -0
- package/types/ibc/core/connection/v1/query.rpc.Query.ts +97 -0
- package/types/ibc/core/connection/v1/query.ts +1472 -0
- package/types/ibc/core/connection/v1/tx.amino.ts +29 -0
- package/types/ibc/core/connection/v1/tx.registry.ts +107 -0
- package/types/ibc/core/connection/v1/tx.rpc.msg.ts +59 -0
- package/types/ibc/core/connection/v1/tx.ts +1456 -0
- package/types/ibc/core/types/v1/genesis.ts +191 -0
- package/types/ibc/lcd.ts +176 -0
- package/types/ibc/lightclients/solomachine/v2/solomachine.ts +2161 -0
- package/types/ibc/lightclients/solomachine/v3/solomachine.ts +1114 -0
- package/types/ibc/lightclients/tendermint/v1/tendermint.ts +891 -0
- package/types/ibc/lightclients/wasm/v1/genesis.ts +201 -0
- package/types/ibc/lightclients/wasm/v1/query.lcd.ts +34 -0
- package/types/ibc/lightclients/wasm/v1/query.rpc.Query.ts +44 -0
- package/types/ibc/lightclients/wasm/v1/query.ts +413 -0
- package/types/ibc/lightclients/wasm/v1/tx.amino.ts +19 -0
- package/types/ibc/lightclients/wasm/v1/tx.registry.ts +71 -0
- package/types/ibc/lightclients/wasm/v1/tx.rpc.msg.ts +37 -0
- package/types/ibc/lightclients/wasm/v1/tx.ts +640 -0
- package/types/ibc/lightclients/wasm/v1/wasm.ts +444 -0
- package/types/ibc/rpc.query.ts +123 -0
- package/types/ibc/rpc.tx.ts +104 -0
- package/types/index.ts +25 -0
- package/types/tendermint/abci/types.ts +6565 -0
- package/types/tendermint/bundle.ts +33 -0
- package/types/tendermint/crypto/keys.ts +106 -0
- package/types/tendermint/crypto/proof.ts +576 -0
- package/types/tendermint/p2p/types.ts +523 -0
- package/types/tendermint/types/block.ts +134 -0
- package/types/tendermint/types/evidence.ts +491 -0
- package/types/tendermint/types/params.ts +839 -0
- package/types/tendermint/types/types.ts +2266 -0
- package/types/tendermint/types/validator.ts +399 -0
- package/types/tendermint/version/types.ts +228 -0
- package/types/utf8.ts +149 -0
- package/types/varint.ts +489 -0
- package/types/xion/bundle.ts +117 -0
- package/types/xion/client.ts +57 -0
- package/types/xion/feeabs/v1beta1/epoch.ts +386 -0
- package/types/xion/feeabs/v1beta1/genesis.ts +136 -0
- package/types/xion/feeabs/v1beta1/osmosisibc.ts +868 -0
- package/types/xion/feeabs/v1beta1/params.ts +189 -0
- package/types/xion/feeabs/v1beta1/proposal.ts +593 -0
- package/types/xion/feeabs/v1beta1/query.lcd.ts +37 -0
- package/types/xion/feeabs/v1beta1/query.rpc.Query.ts +64 -0
- package/types/xion/feeabs/v1beta1/query.ts +732 -0
- package/types/xion/feeabs/v1beta1/tx.amino.ts +39 -0
- package/types/xion/feeabs/v1beta1/tx.registry.ts +143 -0
- package/types/xion/feeabs/v1beta1/tx.rpc.msg.ts +72 -0
- package/types/xion/feeabs/v1beta1/tx.ts +1261 -0
- package/types/xion/globalfee/v1/genesis.ts +249 -0
- package/types/xion/globalfee/v1/query.lcd.ts +19 -0
- package/types/xion/globalfee/v1/query.rpc.Query.ts +31 -0
- package/types/xion/globalfee/v1/query.ts +178 -0
- package/types/xion/jwk/v1/audience.ts +224 -0
- package/types/xion/jwk/v1/genesis.ts +117 -0
- package/types/xion/jwk/v1/params.ts +113 -0
- package/types/xion/jwk/v1/query.lcd.ts +52 -0
- package/types/xion/jwk/v1/query.rpc.Query.ts +77 -0
- package/types/xion/jwk/v1/query.ts +1697 -0
- package/types/xion/jwk/v1/tx.amino.ts +29 -0
- package/types/xion/jwk/v1/tx.registry.ts +107 -0
- package/types/xion/jwk/v1/tx.rpc.msg.ts +53 -0
- package/types/xion/jwk/v1/tx.ts +1040 -0
- package/types/xion/lcd.ts +147 -0
- package/types/xion/mint/v1/event.ts +216 -0
- package/types/xion/mint/v1/genesis.ts +114 -0
- package/types/xion/mint/v1/mint.ts +307 -0
- package/types/xion/mint/v1/query.lcd.ts +31 -0
- package/types/xion/mint/v1/query.rpc.Query.ts +53 -0
- package/types/xion/mint/v1/query.ts +508 -0
- package/types/xion/mint/v1/tx.amino.ts +9 -0
- package/types/xion/mint/v1/tx.registry.ts +35 -0
- package/types/xion/mint/v1/tx.rpc.msg.ts +26 -0
- package/types/xion/mint/v1/tx.ts +222 -0
- package/types/xion/rpc.query.ts +105 -0
- package/types/xion/rpc.tx.ts +83 -0
- package/types/xion/v1/feegrant.ts +457 -0
- package/types/xion/v1/genesis.ts +116 -0
- package/types/xion/v1/query.rpc.Query.ts +64 -0
- package/types/xion/v1/query.ts +862 -0
- package/types/xion/v1/tx.amino.ts +24 -0
- package/types/xion/v1/tx.registry.ts +89 -0
- package/types/xion/v1/tx.rpc.msg.ts +57 -0
- package/types/xion/v1/tx.ts +793 -0
|
@@ -0,0 +1,593 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
/**
|
|
4
|
+
* HostChainFeeAbsStatus represents the status of a host chain fee abstraction
|
|
5
|
+
* configuration
|
|
6
|
+
*/
|
|
7
|
+
export enum HostChainFeeAbsStatus {
|
|
8
|
+
/** HOST_CHAIN_FEE_ABS_STATUS_UNSPECIFIED - HOST_CHAIN_FEE_ABS_STATUS_UNSPECIFIED indicates an unspecified status */
|
|
9
|
+
HOST_CHAIN_FEE_ABS_STATUS_UNSPECIFIED = 0,
|
|
10
|
+
/** HOST_CHAIN_FEE_ABS_STATUS_UPDATED - HOST_CHAIN_FEE_ABS_STATUS_UPDATED indicates the configuration is up to date */
|
|
11
|
+
HOST_CHAIN_FEE_ABS_STATUS_UPDATED = 1,
|
|
12
|
+
/** HOST_CHAIN_FEE_ABS_STATUS_OUTDATED - HOST_CHAIN_FEE_ABS_STATUS_OUTDATED indicates the configuration is outdated */
|
|
13
|
+
HOST_CHAIN_FEE_ABS_STATUS_OUTDATED = 2,
|
|
14
|
+
/** HOST_CHAIN_FEE_ABS_STATUS_FROZEN - HOST_CHAIN_FEE_ABS_STATUS_FROZEN indicates the configuration is frozen */
|
|
15
|
+
HOST_CHAIN_FEE_ABS_STATUS_FROZEN = 3,
|
|
16
|
+
UNRECOGNIZED = -1,
|
|
17
|
+
}
|
|
18
|
+
export const HostChainFeeAbsStatusSDKType = HostChainFeeAbsStatus;
|
|
19
|
+
export const HostChainFeeAbsStatusAmino = HostChainFeeAbsStatus;
|
|
20
|
+
export function hostChainFeeAbsStatusFromJSON(object: any): HostChainFeeAbsStatus {
|
|
21
|
+
switch (object) {
|
|
22
|
+
case 0:
|
|
23
|
+
case "HOST_CHAIN_FEE_ABS_STATUS_UNSPECIFIED":
|
|
24
|
+
return HostChainFeeAbsStatus.HOST_CHAIN_FEE_ABS_STATUS_UNSPECIFIED;
|
|
25
|
+
case 1:
|
|
26
|
+
case "HOST_CHAIN_FEE_ABS_STATUS_UPDATED":
|
|
27
|
+
return HostChainFeeAbsStatus.HOST_CHAIN_FEE_ABS_STATUS_UPDATED;
|
|
28
|
+
case 2:
|
|
29
|
+
case "HOST_CHAIN_FEE_ABS_STATUS_OUTDATED":
|
|
30
|
+
return HostChainFeeAbsStatus.HOST_CHAIN_FEE_ABS_STATUS_OUTDATED;
|
|
31
|
+
case 3:
|
|
32
|
+
case "HOST_CHAIN_FEE_ABS_STATUS_FROZEN":
|
|
33
|
+
return HostChainFeeAbsStatus.HOST_CHAIN_FEE_ABS_STATUS_FROZEN;
|
|
34
|
+
case -1:
|
|
35
|
+
case "UNRECOGNIZED":
|
|
36
|
+
default:
|
|
37
|
+
return HostChainFeeAbsStatus.UNRECOGNIZED;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
export function hostChainFeeAbsStatusToJSON(object: HostChainFeeAbsStatus): string {
|
|
41
|
+
switch (object) {
|
|
42
|
+
case HostChainFeeAbsStatus.HOST_CHAIN_FEE_ABS_STATUS_UNSPECIFIED:
|
|
43
|
+
return "HOST_CHAIN_FEE_ABS_STATUS_UNSPECIFIED";
|
|
44
|
+
case HostChainFeeAbsStatus.HOST_CHAIN_FEE_ABS_STATUS_UPDATED:
|
|
45
|
+
return "HOST_CHAIN_FEE_ABS_STATUS_UPDATED";
|
|
46
|
+
case HostChainFeeAbsStatus.HOST_CHAIN_FEE_ABS_STATUS_OUTDATED:
|
|
47
|
+
return "HOST_CHAIN_FEE_ABS_STATUS_OUTDATED";
|
|
48
|
+
case HostChainFeeAbsStatus.HOST_CHAIN_FEE_ABS_STATUS_FROZEN:
|
|
49
|
+
return "HOST_CHAIN_FEE_ABS_STATUS_FROZEN";
|
|
50
|
+
case HostChainFeeAbsStatus.UNRECOGNIZED:
|
|
51
|
+
default:
|
|
52
|
+
return "UNRECOGNIZED";
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
/** HostChainFeeAbsConfig */
|
|
56
|
+
export interface HostChainFeeAbsConfig {
|
|
57
|
+
/** ibc token is allowed to be used as fee token */
|
|
58
|
+
ibcDenom: string;
|
|
59
|
+
/** token_in in cross_chain swap contract. */
|
|
60
|
+
osmosisPoolTokenDenomIn: string;
|
|
61
|
+
/** pool id */
|
|
62
|
+
poolId: bigint;
|
|
63
|
+
/** Host chain fee abstraction connection status */
|
|
64
|
+
status: HostChainFeeAbsStatus;
|
|
65
|
+
}
|
|
66
|
+
export interface HostChainFeeAbsConfigProtoMsg {
|
|
67
|
+
typeUrl: "/xion.feeabs.v1beta1.HostChainFeeAbsConfig";
|
|
68
|
+
value: Uint8Array;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* HostChainFeeAbsConfig
|
|
72
|
+
* @name HostChainFeeAbsConfigAmino
|
|
73
|
+
* @package xion.feeabs.v1beta1
|
|
74
|
+
* @see proto type: xion.feeabs.v1beta1.HostChainFeeAbsConfig
|
|
75
|
+
*/
|
|
76
|
+
export interface HostChainFeeAbsConfigAmino {
|
|
77
|
+
/**
|
|
78
|
+
* ibc token is allowed to be used as fee token
|
|
79
|
+
*/
|
|
80
|
+
ibc_denom?: string;
|
|
81
|
+
/**
|
|
82
|
+
* token_in in cross_chain swap contract.
|
|
83
|
+
*/
|
|
84
|
+
osmosis_pool_token_denom_in?: string;
|
|
85
|
+
/**
|
|
86
|
+
* pool id
|
|
87
|
+
*/
|
|
88
|
+
pool_id?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Host chain fee abstraction connection status
|
|
91
|
+
*/
|
|
92
|
+
status?: HostChainFeeAbsStatus;
|
|
93
|
+
}
|
|
94
|
+
export interface HostChainFeeAbsConfigAminoMsg {
|
|
95
|
+
type: "/xion.feeabs.v1beta1.HostChainFeeAbsConfig";
|
|
96
|
+
value: HostChainFeeAbsConfigAmino;
|
|
97
|
+
}
|
|
98
|
+
/** HostChainFeeAbsConfig */
|
|
99
|
+
export interface HostChainFeeAbsConfigSDKType {
|
|
100
|
+
ibc_denom: string;
|
|
101
|
+
osmosis_pool_token_denom_in: string;
|
|
102
|
+
pool_id: bigint;
|
|
103
|
+
status: HostChainFeeAbsStatus;
|
|
104
|
+
}
|
|
105
|
+
/** AddHostZoneProposal */
|
|
106
|
+
export interface AddHostZoneProposal {
|
|
107
|
+
/** the title of the proposal */
|
|
108
|
+
title: string;
|
|
109
|
+
/** the description of the proposal */
|
|
110
|
+
description: string;
|
|
111
|
+
/** the host chain config */
|
|
112
|
+
hostChainConfig?: HostChainFeeAbsConfig;
|
|
113
|
+
}
|
|
114
|
+
export interface AddHostZoneProposalProtoMsg {
|
|
115
|
+
typeUrl: "/xion.feeabs.v1beta1.AddHostZoneProposal";
|
|
116
|
+
value: Uint8Array;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* AddHostZoneProposal
|
|
120
|
+
* @name AddHostZoneProposalAmino
|
|
121
|
+
* @package xion.feeabs.v1beta1
|
|
122
|
+
* @see proto type: xion.feeabs.v1beta1.AddHostZoneProposal
|
|
123
|
+
*/
|
|
124
|
+
export interface AddHostZoneProposalAmino {
|
|
125
|
+
/**
|
|
126
|
+
* the title of the proposal
|
|
127
|
+
*/
|
|
128
|
+
title?: string;
|
|
129
|
+
/**
|
|
130
|
+
* the description of the proposal
|
|
131
|
+
*/
|
|
132
|
+
description?: string;
|
|
133
|
+
/**
|
|
134
|
+
* the host chain config
|
|
135
|
+
*/
|
|
136
|
+
host_chain_config?: HostChainFeeAbsConfigAmino;
|
|
137
|
+
}
|
|
138
|
+
export interface AddHostZoneProposalAminoMsg {
|
|
139
|
+
type: "/xion.feeabs.v1beta1.AddHostZoneProposal";
|
|
140
|
+
value: AddHostZoneProposalAmino;
|
|
141
|
+
}
|
|
142
|
+
/** AddHostZoneProposal */
|
|
143
|
+
export interface AddHostZoneProposalSDKType {
|
|
144
|
+
title: string;
|
|
145
|
+
description: string;
|
|
146
|
+
host_chain_config?: HostChainFeeAbsConfigSDKType;
|
|
147
|
+
}
|
|
148
|
+
/** DeleteHostZoneProposal */
|
|
149
|
+
export interface DeleteHostZoneProposal {
|
|
150
|
+
/** the title of the proposal */
|
|
151
|
+
title: string;
|
|
152
|
+
/** the description of the proposal */
|
|
153
|
+
description: string;
|
|
154
|
+
/** the ibc denom of this token */
|
|
155
|
+
ibcDenom: string;
|
|
156
|
+
}
|
|
157
|
+
export interface DeleteHostZoneProposalProtoMsg {
|
|
158
|
+
typeUrl: "/xion.feeabs.v1beta1.DeleteHostZoneProposal";
|
|
159
|
+
value: Uint8Array;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* DeleteHostZoneProposal
|
|
163
|
+
* @name DeleteHostZoneProposalAmino
|
|
164
|
+
* @package xion.feeabs.v1beta1
|
|
165
|
+
* @see proto type: xion.feeabs.v1beta1.DeleteHostZoneProposal
|
|
166
|
+
*/
|
|
167
|
+
export interface DeleteHostZoneProposalAmino {
|
|
168
|
+
/**
|
|
169
|
+
* the title of the proposal
|
|
170
|
+
*/
|
|
171
|
+
title?: string;
|
|
172
|
+
/**
|
|
173
|
+
* the description of the proposal
|
|
174
|
+
*/
|
|
175
|
+
description?: string;
|
|
176
|
+
/**
|
|
177
|
+
* the ibc denom of this token
|
|
178
|
+
*/
|
|
179
|
+
ibc_denom?: string;
|
|
180
|
+
}
|
|
181
|
+
export interface DeleteHostZoneProposalAminoMsg {
|
|
182
|
+
type: "/xion.feeabs.v1beta1.DeleteHostZoneProposal";
|
|
183
|
+
value: DeleteHostZoneProposalAmino;
|
|
184
|
+
}
|
|
185
|
+
/** DeleteHostZoneProposal */
|
|
186
|
+
export interface DeleteHostZoneProposalSDKType {
|
|
187
|
+
title: string;
|
|
188
|
+
description: string;
|
|
189
|
+
ibc_denom: string;
|
|
190
|
+
}
|
|
191
|
+
/** SetHostZoneProposal */
|
|
192
|
+
export interface SetHostZoneProposal {
|
|
193
|
+
/** the title of the proposal */
|
|
194
|
+
title: string;
|
|
195
|
+
/** the description of the proposal */
|
|
196
|
+
description: string;
|
|
197
|
+
/** the host chain config */
|
|
198
|
+
hostChainConfig?: HostChainFeeAbsConfig;
|
|
199
|
+
}
|
|
200
|
+
export interface SetHostZoneProposalProtoMsg {
|
|
201
|
+
typeUrl: "/xion.feeabs.v1beta1.SetHostZoneProposal";
|
|
202
|
+
value: Uint8Array;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* SetHostZoneProposal
|
|
206
|
+
* @name SetHostZoneProposalAmino
|
|
207
|
+
* @package xion.feeabs.v1beta1
|
|
208
|
+
* @see proto type: xion.feeabs.v1beta1.SetHostZoneProposal
|
|
209
|
+
*/
|
|
210
|
+
export interface SetHostZoneProposalAmino {
|
|
211
|
+
/**
|
|
212
|
+
* the title of the proposal
|
|
213
|
+
*/
|
|
214
|
+
title?: string;
|
|
215
|
+
/**
|
|
216
|
+
* the description of the proposal
|
|
217
|
+
*/
|
|
218
|
+
description?: string;
|
|
219
|
+
/**
|
|
220
|
+
* the host chain config
|
|
221
|
+
*/
|
|
222
|
+
host_chain_config?: HostChainFeeAbsConfigAmino;
|
|
223
|
+
}
|
|
224
|
+
export interface SetHostZoneProposalAminoMsg {
|
|
225
|
+
type: "/xion.feeabs.v1beta1.SetHostZoneProposal";
|
|
226
|
+
value: SetHostZoneProposalAmino;
|
|
227
|
+
}
|
|
228
|
+
/** SetHostZoneProposal */
|
|
229
|
+
export interface SetHostZoneProposalSDKType {
|
|
230
|
+
title: string;
|
|
231
|
+
description: string;
|
|
232
|
+
host_chain_config?: HostChainFeeAbsConfigSDKType;
|
|
233
|
+
}
|
|
234
|
+
function createBaseHostChainFeeAbsConfig(): HostChainFeeAbsConfig {
|
|
235
|
+
return {
|
|
236
|
+
ibcDenom: "",
|
|
237
|
+
osmosisPoolTokenDenomIn: "",
|
|
238
|
+
poolId: BigInt(0),
|
|
239
|
+
status: 0
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
export const HostChainFeeAbsConfig = {
|
|
243
|
+
typeUrl: "/xion.feeabs.v1beta1.HostChainFeeAbsConfig",
|
|
244
|
+
encode(message: HostChainFeeAbsConfig, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
245
|
+
if (message.ibcDenom !== "") {
|
|
246
|
+
writer.uint32(10).string(message.ibcDenom);
|
|
247
|
+
}
|
|
248
|
+
if (message.osmosisPoolTokenDenomIn !== "") {
|
|
249
|
+
writer.uint32(18).string(message.osmosisPoolTokenDenomIn);
|
|
250
|
+
}
|
|
251
|
+
if (message.poolId !== BigInt(0)) {
|
|
252
|
+
writer.uint32(24).uint64(message.poolId);
|
|
253
|
+
}
|
|
254
|
+
if (message.status !== 0) {
|
|
255
|
+
writer.uint32(32).int32(message.status);
|
|
256
|
+
}
|
|
257
|
+
return writer;
|
|
258
|
+
},
|
|
259
|
+
decode(input: BinaryReader | Uint8Array, length?: number): HostChainFeeAbsConfig {
|
|
260
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
261
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
262
|
+
const message = createBaseHostChainFeeAbsConfig();
|
|
263
|
+
while (reader.pos < end) {
|
|
264
|
+
const tag = reader.uint32();
|
|
265
|
+
switch (tag >>> 3) {
|
|
266
|
+
case 1:
|
|
267
|
+
message.ibcDenom = reader.string();
|
|
268
|
+
break;
|
|
269
|
+
case 2:
|
|
270
|
+
message.osmosisPoolTokenDenomIn = reader.string();
|
|
271
|
+
break;
|
|
272
|
+
case 3:
|
|
273
|
+
message.poolId = reader.uint64();
|
|
274
|
+
break;
|
|
275
|
+
case 4:
|
|
276
|
+
message.status = reader.int32() as any;
|
|
277
|
+
break;
|
|
278
|
+
default:
|
|
279
|
+
reader.skipType(tag & 7);
|
|
280
|
+
break;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
return message;
|
|
284
|
+
},
|
|
285
|
+
fromPartial(object: Partial<HostChainFeeAbsConfig>): HostChainFeeAbsConfig {
|
|
286
|
+
const message = createBaseHostChainFeeAbsConfig();
|
|
287
|
+
message.ibcDenom = object.ibcDenom ?? "";
|
|
288
|
+
message.osmosisPoolTokenDenomIn = object.osmosisPoolTokenDenomIn ?? "";
|
|
289
|
+
message.poolId = object.poolId !== undefined && object.poolId !== null ? BigInt(object.poolId.toString()) : BigInt(0);
|
|
290
|
+
message.status = object.status ?? 0;
|
|
291
|
+
return message;
|
|
292
|
+
},
|
|
293
|
+
fromAmino(object: HostChainFeeAbsConfigAmino): HostChainFeeAbsConfig {
|
|
294
|
+
const message = createBaseHostChainFeeAbsConfig();
|
|
295
|
+
if (object.ibc_denom !== undefined && object.ibc_denom !== null) {
|
|
296
|
+
message.ibcDenom = object.ibc_denom;
|
|
297
|
+
}
|
|
298
|
+
if (object.osmosis_pool_token_denom_in !== undefined && object.osmosis_pool_token_denom_in !== null) {
|
|
299
|
+
message.osmosisPoolTokenDenomIn = object.osmosis_pool_token_denom_in;
|
|
300
|
+
}
|
|
301
|
+
if (object.pool_id !== undefined && object.pool_id !== null) {
|
|
302
|
+
message.poolId = BigInt(object.pool_id);
|
|
303
|
+
}
|
|
304
|
+
if (object.status !== undefined && object.status !== null) {
|
|
305
|
+
message.status = object.status;
|
|
306
|
+
}
|
|
307
|
+
return message;
|
|
308
|
+
},
|
|
309
|
+
toAmino(message: HostChainFeeAbsConfig): HostChainFeeAbsConfigAmino {
|
|
310
|
+
const obj: any = {};
|
|
311
|
+
obj.ibc_denom = message.ibcDenom === "" ? undefined : message.ibcDenom;
|
|
312
|
+
obj.osmosis_pool_token_denom_in = message.osmosisPoolTokenDenomIn === "" ? undefined : message.osmosisPoolTokenDenomIn;
|
|
313
|
+
obj.pool_id = message.poolId !== BigInt(0) ? message.poolId?.toString() : undefined;
|
|
314
|
+
obj.status = message.status === 0 ? undefined : message.status;
|
|
315
|
+
return obj;
|
|
316
|
+
},
|
|
317
|
+
fromAminoMsg(object: HostChainFeeAbsConfigAminoMsg): HostChainFeeAbsConfig {
|
|
318
|
+
return HostChainFeeAbsConfig.fromAmino(object.value);
|
|
319
|
+
},
|
|
320
|
+
fromProtoMsg(message: HostChainFeeAbsConfigProtoMsg): HostChainFeeAbsConfig {
|
|
321
|
+
return HostChainFeeAbsConfig.decode(message.value);
|
|
322
|
+
},
|
|
323
|
+
toProto(message: HostChainFeeAbsConfig): Uint8Array {
|
|
324
|
+
return HostChainFeeAbsConfig.encode(message).finish();
|
|
325
|
+
},
|
|
326
|
+
toProtoMsg(message: HostChainFeeAbsConfig): HostChainFeeAbsConfigProtoMsg {
|
|
327
|
+
return {
|
|
328
|
+
typeUrl: "/xion.feeabs.v1beta1.HostChainFeeAbsConfig",
|
|
329
|
+
value: HostChainFeeAbsConfig.encode(message).finish()
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
function createBaseAddHostZoneProposal(): AddHostZoneProposal {
|
|
334
|
+
return {
|
|
335
|
+
title: "",
|
|
336
|
+
description: "",
|
|
337
|
+
hostChainConfig: undefined
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
export const AddHostZoneProposal = {
|
|
341
|
+
typeUrl: "/xion.feeabs.v1beta1.AddHostZoneProposal",
|
|
342
|
+
encode(message: AddHostZoneProposal, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
343
|
+
if (message.title !== "") {
|
|
344
|
+
writer.uint32(10).string(message.title);
|
|
345
|
+
}
|
|
346
|
+
if (message.description !== "") {
|
|
347
|
+
writer.uint32(18).string(message.description);
|
|
348
|
+
}
|
|
349
|
+
if (message.hostChainConfig !== undefined) {
|
|
350
|
+
HostChainFeeAbsConfig.encode(message.hostChainConfig, writer.uint32(26).fork()).ldelim();
|
|
351
|
+
}
|
|
352
|
+
return writer;
|
|
353
|
+
},
|
|
354
|
+
decode(input: BinaryReader | Uint8Array, length?: number): AddHostZoneProposal {
|
|
355
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
356
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
357
|
+
const message = createBaseAddHostZoneProposal();
|
|
358
|
+
while (reader.pos < end) {
|
|
359
|
+
const tag = reader.uint32();
|
|
360
|
+
switch (tag >>> 3) {
|
|
361
|
+
case 1:
|
|
362
|
+
message.title = reader.string();
|
|
363
|
+
break;
|
|
364
|
+
case 2:
|
|
365
|
+
message.description = reader.string();
|
|
366
|
+
break;
|
|
367
|
+
case 3:
|
|
368
|
+
message.hostChainConfig = HostChainFeeAbsConfig.decode(reader, reader.uint32());
|
|
369
|
+
break;
|
|
370
|
+
default:
|
|
371
|
+
reader.skipType(tag & 7);
|
|
372
|
+
break;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
return message;
|
|
376
|
+
},
|
|
377
|
+
fromPartial(object: Partial<AddHostZoneProposal>): AddHostZoneProposal {
|
|
378
|
+
const message = createBaseAddHostZoneProposal();
|
|
379
|
+
message.title = object.title ?? "";
|
|
380
|
+
message.description = object.description ?? "";
|
|
381
|
+
message.hostChainConfig = object.hostChainConfig !== undefined && object.hostChainConfig !== null ? HostChainFeeAbsConfig.fromPartial(object.hostChainConfig) : undefined;
|
|
382
|
+
return message;
|
|
383
|
+
},
|
|
384
|
+
fromAmino(object: AddHostZoneProposalAmino): AddHostZoneProposal {
|
|
385
|
+
const message = createBaseAddHostZoneProposal();
|
|
386
|
+
if (object.title !== undefined && object.title !== null) {
|
|
387
|
+
message.title = object.title;
|
|
388
|
+
}
|
|
389
|
+
if (object.description !== undefined && object.description !== null) {
|
|
390
|
+
message.description = object.description;
|
|
391
|
+
}
|
|
392
|
+
if (object.host_chain_config !== undefined && object.host_chain_config !== null) {
|
|
393
|
+
message.hostChainConfig = HostChainFeeAbsConfig.fromAmino(object.host_chain_config);
|
|
394
|
+
}
|
|
395
|
+
return message;
|
|
396
|
+
},
|
|
397
|
+
toAmino(message: AddHostZoneProposal): AddHostZoneProposalAmino {
|
|
398
|
+
const obj: any = {};
|
|
399
|
+
obj.title = message.title === "" ? undefined : message.title;
|
|
400
|
+
obj.description = message.description === "" ? undefined : message.description;
|
|
401
|
+
obj.host_chain_config = message.hostChainConfig ? HostChainFeeAbsConfig.toAmino(message.hostChainConfig) : undefined;
|
|
402
|
+
return obj;
|
|
403
|
+
},
|
|
404
|
+
fromAminoMsg(object: AddHostZoneProposalAminoMsg): AddHostZoneProposal {
|
|
405
|
+
return AddHostZoneProposal.fromAmino(object.value);
|
|
406
|
+
},
|
|
407
|
+
fromProtoMsg(message: AddHostZoneProposalProtoMsg): AddHostZoneProposal {
|
|
408
|
+
return AddHostZoneProposal.decode(message.value);
|
|
409
|
+
},
|
|
410
|
+
toProto(message: AddHostZoneProposal): Uint8Array {
|
|
411
|
+
return AddHostZoneProposal.encode(message).finish();
|
|
412
|
+
},
|
|
413
|
+
toProtoMsg(message: AddHostZoneProposal): AddHostZoneProposalProtoMsg {
|
|
414
|
+
return {
|
|
415
|
+
typeUrl: "/xion.feeabs.v1beta1.AddHostZoneProposal",
|
|
416
|
+
value: AddHostZoneProposal.encode(message).finish()
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
};
|
|
420
|
+
function createBaseDeleteHostZoneProposal(): DeleteHostZoneProposal {
|
|
421
|
+
return {
|
|
422
|
+
title: "",
|
|
423
|
+
description: "",
|
|
424
|
+
ibcDenom: ""
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
export const DeleteHostZoneProposal = {
|
|
428
|
+
typeUrl: "/xion.feeabs.v1beta1.DeleteHostZoneProposal",
|
|
429
|
+
encode(message: DeleteHostZoneProposal, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
430
|
+
if (message.title !== "") {
|
|
431
|
+
writer.uint32(10).string(message.title);
|
|
432
|
+
}
|
|
433
|
+
if (message.description !== "") {
|
|
434
|
+
writer.uint32(18).string(message.description);
|
|
435
|
+
}
|
|
436
|
+
if (message.ibcDenom !== "") {
|
|
437
|
+
writer.uint32(26).string(message.ibcDenom);
|
|
438
|
+
}
|
|
439
|
+
return writer;
|
|
440
|
+
},
|
|
441
|
+
decode(input: BinaryReader | Uint8Array, length?: number): DeleteHostZoneProposal {
|
|
442
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
443
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
444
|
+
const message = createBaseDeleteHostZoneProposal();
|
|
445
|
+
while (reader.pos < end) {
|
|
446
|
+
const tag = reader.uint32();
|
|
447
|
+
switch (tag >>> 3) {
|
|
448
|
+
case 1:
|
|
449
|
+
message.title = reader.string();
|
|
450
|
+
break;
|
|
451
|
+
case 2:
|
|
452
|
+
message.description = reader.string();
|
|
453
|
+
break;
|
|
454
|
+
case 3:
|
|
455
|
+
message.ibcDenom = reader.string();
|
|
456
|
+
break;
|
|
457
|
+
default:
|
|
458
|
+
reader.skipType(tag & 7);
|
|
459
|
+
break;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
return message;
|
|
463
|
+
},
|
|
464
|
+
fromPartial(object: Partial<DeleteHostZoneProposal>): DeleteHostZoneProposal {
|
|
465
|
+
const message = createBaseDeleteHostZoneProposal();
|
|
466
|
+
message.title = object.title ?? "";
|
|
467
|
+
message.description = object.description ?? "";
|
|
468
|
+
message.ibcDenom = object.ibcDenom ?? "";
|
|
469
|
+
return message;
|
|
470
|
+
},
|
|
471
|
+
fromAmino(object: DeleteHostZoneProposalAmino): DeleteHostZoneProposal {
|
|
472
|
+
const message = createBaseDeleteHostZoneProposal();
|
|
473
|
+
if (object.title !== undefined && object.title !== null) {
|
|
474
|
+
message.title = object.title;
|
|
475
|
+
}
|
|
476
|
+
if (object.description !== undefined && object.description !== null) {
|
|
477
|
+
message.description = object.description;
|
|
478
|
+
}
|
|
479
|
+
if (object.ibc_denom !== undefined && object.ibc_denom !== null) {
|
|
480
|
+
message.ibcDenom = object.ibc_denom;
|
|
481
|
+
}
|
|
482
|
+
return message;
|
|
483
|
+
},
|
|
484
|
+
toAmino(message: DeleteHostZoneProposal): DeleteHostZoneProposalAmino {
|
|
485
|
+
const obj: any = {};
|
|
486
|
+
obj.title = message.title === "" ? undefined : message.title;
|
|
487
|
+
obj.description = message.description === "" ? undefined : message.description;
|
|
488
|
+
obj.ibc_denom = message.ibcDenom === "" ? undefined : message.ibcDenom;
|
|
489
|
+
return obj;
|
|
490
|
+
},
|
|
491
|
+
fromAminoMsg(object: DeleteHostZoneProposalAminoMsg): DeleteHostZoneProposal {
|
|
492
|
+
return DeleteHostZoneProposal.fromAmino(object.value);
|
|
493
|
+
},
|
|
494
|
+
fromProtoMsg(message: DeleteHostZoneProposalProtoMsg): DeleteHostZoneProposal {
|
|
495
|
+
return DeleteHostZoneProposal.decode(message.value);
|
|
496
|
+
},
|
|
497
|
+
toProto(message: DeleteHostZoneProposal): Uint8Array {
|
|
498
|
+
return DeleteHostZoneProposal.encode(message).finish();
|
|
499
|
+
},
|
|
500
|
+
toProtoMsg(message: DeleteHostZoneProposal): DeleteHostZoneProposalProtoMsg {
|
|
501
|
+
return {
|
|
502
|
+
typeUrl: "/xion.feeabs.v1beta1.DeleteHostZoneProposal",
|
|
503
|
+
value: DeleteHostZoneProposal.encode(message).finish()
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
};
|
|
507
|
+
function createBaseSetHostZoneProposal(): SetHostZoneProposal {
|
|
508
|
+
return {
|
|
509
|
+
title: "",
|
|
510
|
+
description: "",
|
|
511
|
+
hostChainConfig: undefined
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
export const SetHostZoneProposal = {
|
|
515
|
+
typeUrl: "/xion.feeabs.v1beta1.SetHostZoneProposal",
|
|
516
|
+
encode(message: SetHostZoneProposal, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
517
|
+
if (message.title !== "") {
|
|
518
|
+
writer.uint32(10).string(message.title);
|
|
519
|
+
}
|
|
520
|
+
if (message.description !== "") {
|
|
521
|
+
writer.uint32(18).string(message.description);
|
|
522
|
+
}
|
|
523
|
+
if (message.hostChainConfig !== undefined) {
|
|
524
|
+
HostChainFeeAbsConfig.encode(message.hostChainConfig, writer.uint32(26).fork()).ldelim();
|
|
525
|
+
}
|
|
526
|
+
return writer;
|
|
527
|
+
},
|
|
528
|
+
decode(input: BinaryReader | Uint8Array, length?: number): SetHostZoneProposal {
|
|
529
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
530
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
531
|
+
const message = createBaseSetHostZoneProposal();
|
|
532
|
+
while (reader.pos < end) {
|
|
533
|
+
const tag = reader.uint32();
|
|
534
|
+
switch (tag >>> 3) {
|
|
535
|
+
case 1:
|
|
536
|
+
message.title = reader.string();
|
|
537
|
+
break;
|
|
538
|
+
case 2:
|
|
539
|
+
message.description = reader.string();
|
|
540
|
+
break;
|
|
541
|
+
case 3:
|
|
542
|
+
message.hostChainConfig = HostChainFeeAbsConfig.decode(reader, reader.uint32());
|
|
543
|
+
break;
|
|
544
|
+
default:
|
|
545
|
+
reader.skipType(tag & 7);
|
|
546
|
+
break;
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
return message;
|
|
550
|
+
},
|
|
551
|
+
fromPartial(object: Partial<SetHostZoneProposal>): SetHostZoneProposal {
|
|
552
|
+
const message = createBaseSetHostZoneProposal();
|
|
553
|
+
message.title = object.title ?? "";
|
|
554
|
+
message.description = object.description ?? "";
|
|
555
|
+
message.hostChainConfig = object.hostChainConfig !== undefined && object.hostChainConfig !== null ? HostChainFeeAbsConfig.fromPartial(object.hostChainConfig) : undefined;
|
|
556
|
+
return message;
|
|
557
|
+
},
|
|
558
|
+
fromAmino(object: SetHostZoneProposalAmino): SetHostZoneProposal {
|
|
559
|
+
const message = createBaseSetHostZoneProposal();
|
|
560
|
+
if (object.title !== undefined && object.title !== null) {
|
|
561
|
+
message.title = object.title;
|
|
562
|
+
}
|
|
563
|
+
if (object.description !== undefined && object.description !== null) {
|
|
564
|
+
message.description = object.description;
|
|
565
|
+
}
|
|
566
|
+
if (object.host_chain_config !== undefined && object.host_chain_config !== null) {
|
|
567
|
+
message.hostChainConfig = HostChainFeeAbsConfig.fromAmino(object.host_chain_config);
|
|
568
|
+
}
|
|
569
|
+
return message;
|
|
570
|
+
},
|
|
571
|
+
toAmino(message: SetHostZoneProposal): SetHostZoneProposalAmino {
|
|
572
|
+
const obj: any = {};
|
|
573
|
+
obj.title = message.title === "" ? undefined : message.title;
|
|
574
|
+
obj.description = message.description === "" ? undefined : message.description;
|
|
575
|
+
obj.host_chain_config = message.hostChainConfig ? HostChainFeeAbsConfig.toAmino(message.hostChainConfig) : undefined;
|
|
576
|
+
return obj;
|
|
577
|
+
},
|
|
578
|
+
fromAminoMsg(object: SetHostZoneProposalAminoMsg): SetHostZoneProposal {
|
|
579
|
+
return SetHostZoneProposal.fromAmino(object.value);
|
|
580
|
+
},
|
|
581
|
+
fromProtoMsg(message: SetHostZoneProposalProtoMsg): SetHostZoneProposal {
|
|
582
|
+
return SetHostZoneProposal.decode(message.value);
|
|
583
|
+
},
|
|
584
|
+
toProto(message: SetHostZoneProposal): Uint8Array {
|
|
585
|
+
return SetHostZoneProposal.encode(message).finish();
|
|
586
|
+
},
|
|
587
|
+
toProtoMsg(message: SetHostZoneProposal): SetHostZoneProposalProtoMsg {
|
|
588
|
+
return {
|
|
589
|
+
typeUrl: "/xion.feeabs.v1beta1.SetHostZoneProposal",
|
|
590
|
+
value: SetHostZoneProposal.encode(message).finish()
|
|
591
|
+
};
|
|
592
|
+
}
|
|
593
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { LCDClient } from "@cosmology/lcd";
|
|
3
|
+
import { QueryOsmosisArithmeticTwapRequest, QueryOsmosisArithmeticTwapResponseSDKType, QueryFeeabsModuleBalancesRequest, QueryFeeabsModuleBalancesResponseSDKType, QueryHostChainConfigRequest, QueryHostChainConfigResponseSDKType, QueryAllHostChainConfigRequest, QueryAllHostChainConfigResponseSDKType } from "./query";
|
|
4
|
+
export class LCDQueryClient {
|
|
5
|
+
req: LCDClient;
|
|
6
|
+
constructor({
|
|
7
|
+
requestClient
|
|
8
|
+
}: {
|
|
9
|
+
requestClient: LCDClient;
|
|
10
|
+
}) {
|
|
11
|
+
this.req = requestClient;
|
|
12
|
+
this.osmosisArithmeticTwap = this.osmosisArithmeticTwap.bind(this);
|
|
13
|
+
this.feeabsModuleBalances = this.feeabsModuleBalances.bind(this);
|
|
14
|
+
this.hostChainConfig = this.hostChainConfig.bind(this);
|
|
15
|
+
this.allHostChainConfig = this.allHostChainConfig.bind(this);
|
|
16
|
+
}
|
|
17
|
+
/* OsmosisArithmeticTwap return spot price of pair Osmo/nativeToken */
|
|
18
|
+
async osmosisArithmeticTwap(params: QueryOsmosisArithmeticTwapRequest): Promise<QueryOsmosisArithmeticTwapResponseSDKType> {
|
|
19
|
+
const endpoint = `fee-abstraction/feeabs/v1/osmosis-arithmetic-twap/${params.ibcDenom}`;
|
|
20
|
+
return await this.req.get<QueryOsmosisArithmeticTwapResponseSDKType>(endpoint);
|
|
21
|
+
}
|
|
22
|
+
/* FeeabsModuleBalances return total balances of feeabs module */
|
|
23
|
+
async feeabsModuleBalances(_params: QueryFeeabsModuleBalancesRequest = {}): Promise<QueryFeeabsModuleBalancesResponseSDKType> {
|
|
24
|
+
const endpoint = `fee-abstraction/feeabs/v1/module-balances`;
|
|
25
|
+
return await this.req.get<QueryFeeabsModuleBalancesResponseSDKType>(endpoint);
|
|
26
|
+
}
|
|
27
|
+
/* HostChainConfig */
|
|
28
|
+
async hostChainConfig(params: QueryHostChainConfigRequest): Promise<QueryHostChainConfigResponseSDKType> {
|
|
29
|
+
const endpoint = `fee-abstraction/feeabs/v1/host-chain-config/${params.ibcDenom}`;
|
|
30
|
+
return await this.req.get<QueryHostChainConfigResponseSDKType>(endpoint);
|
|
31
|
+
}
|
|
32
|
+
/* AllHostChainConfig */
|
|
33
|
+
async allHostChainConfig(_params: QueryAllHostChainConfigRequest = {}): Promise<QueryAllHostChainConfigResponseSDKType> {
|
|
34
|
+
const endpoint = `fee-abstraction/feeabs/v1/all-host-chain-config`;
|
|
35
|
+
return await this.req.get<QueryAllHostChainConfigResponseSDKType>(endpoint);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Rpc } from "../../../helpers";
|
|
3
|
+
import { BinaryReader } from "../../../binary";
|
|
4
|
+
import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate";
|
|
5
|
+
import { QueryOsmosisArithmeticTwapRequest, QueryOsmosisArithmeticTwapResponse, QueryFeeabsModuleBalancesRequest, QueryFeeabsModuleBalancesResponse, QueryHostChainConfigRequest, QueryHostChainConfigResponse, QueryAllHostChainConfigRequest, QueryAllHostChainConfigResponse } from "./query";
|
|
6
|
+
/** Query defines the gRPC querier service. */
|
|
7
|
+
export interface Query {
|
|
8
|
+
/** OsmosisArithmeticTwap return spot price of pair Osmo/nativeToken */
|
|
9
|
+
osmosisArithmeticTwap(request: QueryOsmosisArithmeticTwapRequest): Promise<QueryOsmosisArithmeticTwapResponse>;
|
|
10
|
+
/** FeeabsModuleBalances return total balances of feeabs module */
|
|
11
|
+
feeabsModuleBalances(request?: QueryFeeabsModuleBalancesRequest): Promise<QueryFeeabsModuleBalancesResponse>;
|
|
12
|
+
/** HostChainConfig */
|
|
13
|
+
hostChainConfig(request: QueryHostChainConfigRequest): Promise<QueryHostChainConfigResponse>;
|
|
14
|
+
/** AllHostChainConfig */
|
|
15
|
+
allHostChainConfig(request?: QueryAllHostChainConfigRequest): Promise<QueryAllHostChainConfigResponse>;
|
|
16
|
+
}
|
|
17
|
+
export class QueryClientImpl implements Query {
|
|
18
|
+
private readonly rpc: Rpc;
|
|
19
|
+
constructor(rpc: Rpc) {
|
|
20
|
+
this.rpc = rpc;
|
|
21
|
+
this.osmosisArithmeticTwap = this.osmosisArithmeticTwap.bind(this);
|
|
22
|
+
this.feeabsModuleBalances = this.feeabsModuleBalances.bind(this);
|
|
23
|
+
this.hostChainConfig = this.hostChainConfig.bind(this);
|
|
24
|
+
this.allHostChainConfig = this.allHostChainConfig.bind(this);
|
|
25
|
+
}
|
|
26
|
+
osmosisArithmeticTwap(request: QueryOsmosisArithmeticTwapRequest): Promise<QueryOsmosisArithmeticTwapResponse> {
|
|
27
|
+
const data = QueryOsmosisArithmeticTwapRequest.encode(request).finish();
|
|
28
|
+
const promise = this.rpc.request("xion.feeabs.v1beta1.Query", "OsmosisArithmeticTwap", data);
|
|
29
|
+
return promise.then(data => QueryOsmosisArithmeticTwapResponse.decode(new BinaryReader(data)));
|
|
30
|
+
}
|
|
31
|
+
feeabsModuleBalances(request: QueryFeeabsModuleBalancesRequest = {}): Promise<QueryFeeabsModuleBalancesResponse> {
|
|
32
|
+
const data = QueryFeeabsModuleBalancesRequest.encode(request).finish();
|
|
33
|
+
const promise = this.rpc.request("xion.feeabs.v1beta1.Query", "FeeabsModuleBalances", data);
|
|
34
|
+
return promise.then(data => QueryFeeabsModuleBalancesResponse.decode(new BinaryReader(data)));
|
|
35
|
+
}
|
|
36
|
+
hostChainConfig(request: QueryHostChainConfigRequest): Promise<QueryHostChainConfigResponse> {
|
|
37
|
+
const data = QueryHostChainConfigRequest.encode(request).finish();
|
|
38
|
+
const promise = this.rpc.request("xion.feeabs.v1beta1.Query", "HostChainConfig", data);
|
|
39
|
+
return promise.then(data => QueryHostChainConfigResponse.decode(new BinaryReader(data)));
|
|
40
|
+
}
|
|
41
|
+
allHostChainConfig(request: QueryAllHostChainConfigRequest = {}): Promise<QueryAllHostChainConfigResponse> {
|
|
42
|
+
const data = QueryAllHostChainConfigRequest.encode(request).finish();
|
|
43
|
+
const promise = this.rpc.request("xion.feeabs.v1beta1.Query", "AllHostChainConfig", data);
|
|
44
|
+
return promise.then(data => QueryAllHostChainConfigResponse.decode(new BinaryReader(data)));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
export const createRpcQueryExtension = (base: QueryClient) => {
|
|
48
|
+
const rpc = createProtobufRpcClient(base);
|
|
49
|
+
const queryService = new QueryClientImpl(rpc);
|
|
50
|
+
return {
|
|
51
|
+
osmosisArithmeticTwap(request: QueryOsmosisArithmeticTwapRequest): Promise<QueryOsmosisArithmeticTwapResponse> {
|
|
52
|
+
return queryService.osmosisArithmeticTwap(request);
|
|
53
|
+
},
|
|
54
|
+
feeabsModuleBalances(request?: QueryFeeabsModuleBalancesRequest): Promise<QueryFeeabsModuleBalancesResponse> {
|
|
55
|
+
return queryService.feeabsModuleBalances(request);
|
|
56
|
+
},
|
|
57
|
+
hostChainConfig(request: QueryHostChainConfigRequest): Promise<QueryHostChainConfigResponse> {
|
|
58
|
+
return queryService.hostChainConfig(request);
|
|
59
|
+
},
|
|
60
|
+
allHostChainConfig(request?: QueryAllHostChainConfigRequest): Promise<QueryAllHostChainConfigResponse> {
|
|
61
|
+
return queryService.allHostChainConfig(request);
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
};
|