@zoguxprotocol/proto 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +800 -0
- package/README.md +14 -0
- package/package.json +48 -0
- package/src/codegen/amino/amino.ts +1 -0
- package/src/codegen/amino/bundle.ts +3 -0
- package/src/codegen/cosmos/app/runtime/v1alpha1/module.ts +277 -0
- package/src/codegen/cosmos/app/v1alpha1/config.ts +265 -0
- package/src/codegen/cosmos/app/v1alpha1/module.ts +274 -0
- package/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts +35 -0
- package/src/codegen/cosmos/app/v1alpha1/query.ts +99 -0
- package/src/codegen/cosmos/auth/module/v1/module.ts +159 -0
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +365 -0
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +74 -0
- package/src/codegen/cosmos/auth/v1beta1/query.lcd.ts +130 -0
- package/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts +194 -0
- package/src/codegen/cosmos/auth/v1beta1/query.ts +1221 -0
- package/src/codegen/cosmos/auth/v1beta1/tx.rpc.msg.ts +29 -0
- package/src/codegen/cosmos/auth/v1beta1/tx.ts +135 -0
- package/src/codegen/cosmos/authz/module/v1/module.ts +42 -0
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +298 -0
- package/src/codegen/cosmos/authz/v1beta1/event.ts +170 -0
- package/src/codegen/cosmos/authz/v1beta1/genesis.ts +58 -0
- package/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +79 -0
- package/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts +71 -0
- package/src/codegen/cosmos/authz/v1beta1/query.ts +447 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +56 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +390 -0
- package/src/codegen/cosmos/bank/module/v1/module.ts +76 -0
- package/src/codegen/cosmos/bank/v1beta1/authz.ts +87 -0
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +630 -0
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +199 -0
- package/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +237 -0
- package/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts +243 -0
- package/src/codegen/cosmos/bank/v1beta1/query.ts +1727 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +66 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.ts +519 -0
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +1147 -0
- package/src/codegen/cosmos/base/node/v1beta1/query.lcd.ts +30 -0
- package/src/codegen/cosmos/base/node/v1beta1/query.rpc.Service.ts +49 -0
- package/src/codegen/cosmos/base/node/v1beta1/query.ts +276 -0
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +243 -0
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +221 -0
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +1630 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +113 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +127 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1486 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/types.ts +335 -0
- package/src/codegen/cosmos/base/v1beta1/coin.ts +278 -0
- package/src/codegen/cosmos/bundle.ts +578 -0
- package/src/codegen/cosmos/circuit/module/v1/module.ts +58 -0
- package/src/codegen/cosmos/circuit/v1/query.lcd.ts +49 -0
- package/src/codegen/cosmos/circuit/v1/query.rpc.Query.ts +65 -0
- package/src/codegen/cosmos/circuit/v1/query.ts +334 -0
- package/src/codegen/cosmos/circuit/v1/tx.rpc.msg.ts +50 -0
- package/src/codegen/cosmos/circuit/v1/tx.ts +409 -0
- package/src/codegen/cosmos/circuit/v1/types.ts +290 -0
- package/src/codegen/cosmos/consensus/module/v1/module.ts +58 -0
- package/src/codegen/cosmos/consensus/v1/query.lcd.ts +22 -0
- package/src/codegen/cosmos/consensus/v1/query.rpc.Query.ts +35 -0
- package/src/codegen/cosmos/consensus/v1/query.ts +103 -0
- package/src/codegen/cosmos/consensus/v1/tx.rpc.msg.ts +29 -0
- package/src/codegen/cosmos/consensus/v1/tx.ts +163 -0
- package/src/codegen/cosmos/crisis/module/v1/module.ts +72 -0
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +62 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +39 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.ts +255 -0
- package/src/codegen/cosmos/crypto/ed25519/keys.ts +130 -0
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +117 -0
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +326 -0
- package/src/codegen/cosmos/crypto/multisig/keys.ts +78 -0
- package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +142 -0
- package/src/codegen/cosmos/crypto/secp256k1/keys.ts +124 -0
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +117 -0
- package/src/codegen/cosmos/distribution/module/v1/module.ts +71 -0
- package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +977 -0
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +752 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +112 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts +164 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +1300 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +113 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.ts +907 -0
- package/src/codegen/cosmos/evidence/module/v1/module.ts +42 -0
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +107 -0
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +59 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts +49 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts +51 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +278 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +27 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +135 -0
- package/src/codegen/cosmos/feegrant/module/v1/module.ts +42 -0
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +368 -0
- package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +58 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +57 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts +67 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +424 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +54 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +355 -0
- package/src/codegen/cosmos/genutil/module/v1/module.ts +42 -0
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +58 -0
- package/src/codegen/cosmos/gov/module/v1/module.ts +75 -0
- package/src/codegen/cosmos/gov/v1/genesis.ts +203 -0
- package/src/codegen/cosmos/gov/v1/gov.ts +1353 -0
- package/src/codegen/cosmos/gov/v1/query.lcd.ts +123 -0
- package/src/codegen/cosmos/gov/v1/query.rpc.Query.ts +147 -0
- package/src/codegen/cosmos/gov/v1/query.ts +1210 -0
- package/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +96 -0
- package/src/codegen/cosmos/gov/v1/tx.ts +1040 -0
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +143 -0
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +1020 -0
- package/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +115 -0
- package/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts +133 -0
- package/src/codegen/cosmos/gov/v1beta1/query.ts +1076 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +58 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +539 -0
- package/src/codegen/cosmos/group/module/v1/module.ts +79 -0
- package/src/codegen/cosmos/group/v1/events.ts +633 -0
- package/src/codegen/cosmos/group/v1/genesis.ts +166 -0
- package/src/codegen/cosmos/group/v1/query.lcd.ts +207 -0
- package/src/codegen/cosmos/group/v1/query.rpc.Query.ts +229 -0
- package/src/codegen/cosmos/group/v1/query.ts +1840 -0
- package/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +154 -0
- package/src/codegen/cosmos/group/v1/tx.ts +2004 -0
- package/src/codegen/cosmos/group/v1/types.ts +1528 -0
- package/src/codegen/cosmos/lcd.ts +114 -0
- package/src/codegen/cosmos/mint/module/v1/module.ts +71 -0
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +73 -0
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +198 -0
- package/src/codegen/cosmos/mint/v1beta1/query.lcd.ts +38 -0
- package/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts +63 -0
- package/src/codegen/cosmos/mint/v1beta1/query.ts +309 -0
- package/src/codegen/cosmos/mint/v1beta1/tx.rpc.msg.ts +29 -0
- package/src/codegen/cosmos/mint/v1beta1/tx.ts +135 -0
- package/src/codegen/cosmos/msg/textual/v1/textual.ts +1 -0
- package/src/codegen/cosmos/msg/v1/msg.ts +1 -0
- package/src/codegen/cosmos/nft/module/v1/module.ts +42 -0
- package/src/codegen/cosmos/nft/v1beta1/event.ts +268 -0
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +143 -0
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +255 -0
- package/src/codegen/cosmos/nft/v1beta1/query.lcd.ts +98 -0
- package/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts +124 -0
- package/src/codegen/cosmos/nft/v1beta1/query.ts +886 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +24 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +140 -0
- package/src/codegen/cosmos/orm/module/v1alpha1/module.ts +50 -0
- package/src/codegen/cosmos/orm/query/v1alpha1/query.rpc.Query.ts +49 -0
- package/src/codegen/cosmos/orm/query/v1alpha1/query.ts +640 -0
- package/src/codegen/cosmos/orm/v1/orm.ts +356 -0
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +232 -0
- package/src/codegen/cosmos/params/module/v1/module.ts +42 -0
- package/src/codegen/cosmos/params/v1beta1/params.ts +166 -0
- package/src/codegen/cosmos/params/v1beta1/query.lcd.ts +45 -0
- package/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts +56 -0
- package/src/codegen/cosmos/params/v1beta1/query.ts +321 -0
- package/src/codegen/cosmos/query/v1/query.ts +1 -0
- package/src/codegen/cosmos/reflection/v1/reflection.ts +99 -0
- package/src/codegen/cosmos/rpc.query.ts +82 -0
- package/src/codegen/cosmos/rpc.tx.ts +61 -0
- package/src/codegen/cosmos/slashing/module/v1/module.ts +58 -0
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +309 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts +49 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts +65 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +358 -0
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +249 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +43 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.ts +230 -0
- package/src/codegen/cosmos/staking/module/v1/module.ts +104 -0
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +244 -0
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +233 -0
- package/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +220 -0
- package/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts +260 -0
- package/src/codegen/cosmos/staking/v1beta1/query.ts +1910 -0
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +2075 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +102 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +1039 -0
- package/src/codegen/cosmos/store/internal/kv/v1beta1/kv.ts +124 -0
- package/src/codegen/cosmos/store/snapshots/v1/snapshot.ts +564 -0
- package/src/codegen/cosmos/store/streaming/abci/grpc.ts +231 -0
- package/src/codegen/cosmos/store/v1beta1/commit_info.ts +234 -0
- package/src/codegen/cosmos/store/v1beta1/listening.ts +196 -0
- package/src/codegen/cosmos/tx/config/v1/config.ts +78 -0
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +487 -0
- package/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +77 -0
- package/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts +167 -0
- package/src/codegen/cosmos/tx/v1beta1/service.ts +1536 -0
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +1331 -0
- package/src/codegen/cosmos/upgrade/module/v1/module.ts +58 -0
- package/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +71 -0
- package/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts +106 -0
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +617 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +43 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +241 -0
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +403 -0
- package/src/codegen/cosmos/vesting/module/v1/module.ts +42 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +57 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +445 -0
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +473 -0
- package/src/codegen/cosmos_proto/bundle.ts +3 -0
- package/src/codegen/cosmos_proto/cosmos.ts +255 -0
- package/src/codegen/gogoproto/bundle.ts +3 -0
- package/src/codegen/gogoproto/gogo.ts +1 -0
- package/src/codegen/google/api/annotations.ts +1 -0
- package/src/codegen/google/api/http.ts +920 -0
- package/src/codegen/google/bundle.ts +16 -0
- package/src/codegen/google/protobuf/any.ts +260 -0
- package/src/codegen/google/protobuf/descriptor.ts +3697 -0
- package/src/codegen/google/protobuf/duration.ts +201 -0
- package/src/codegen/google/protobuf/timestamp.ts +247 -0
- package/src/codegen/helpers.ts +242 -0
- package/src/codegen/index.ts +13 -0
- package/src/codegen/tendermint/abci/types.ts +4487 -0
- package/src/codegen/tendermint/bundle.ts +32 -0
- package/src/codegen/tendermint/crypto/keys.ts +69 -0
- package/src/codegen/tendermint/crypto/proof.ts +372 -0
- package/src/codegen/tendermint/libs/bits/types.ts +77 -0
- package/src/codegen/tendermint/p2p/types.ts +350 -0
- package/src/codegen/tendermint/types/block.ts +91 -0
- package/src/codegen/tendermint/types/evidence.ts +325 -0
- package/src/codegen/tendermint/types/params.ts +544 -0
- package/src/codegen/tendermint/types/types.ts +1558 -0
- package/src/codegen/tendermint/types/validator.ts +286 -0
- package/src/codegen/tendermint/version/types.ts +152 -0
- package/src/codegen/zogux/accountplus/accountplus.ts +152 -0
- package/src/codegen/zogux/accountplus/genesis.ts +186 -0
- package/src/codegen/zogux/accountplus/models.ts +103 -0
- package/src/codegen/zogux/accountplus/params.ts +62 -0
- package/src/codegen/zogux/accountplus/query.lcd.ts +46 -0
- package/src/codegen/zogux/accountplus/query.rpc.Query.ts +77 -0
- package/src/codegen/zogux/accountplus/query.ts +455 -0
- package/src/codegen/zogux/accountplus/tx.rpc.msg.ts +47 -0
- package/src/codegen/zogux/accountplus/tx.ts +460 -0
- package/src/codegen/zogux/affiliates/affiliates.ts +425 -0
- package/src/codegen/zogux/affiliates/genesis.ts +73 -0
- package/src/codegen/zogux/affiliates/query.lcd.ts +62 -0
- package/src/codegen/zogux/affiliates/query.rpc.Query.ts +105 -0
- package/src/codegen/zogux/affiliates/query.ts +747 -0
- package/src/codegen/zogux/affiliates/tx.rpc.msg.ts +64 -0
- package/src/codegen/zogux/affiliates/tx.ts +553 -0
- package/src/codegen/zogux/assets/asset.ts +167 -0
- package/src/codegen/zogux/assets/genesis.ts +58 -0
- package/src/codegen/zogux/assets/query.lcd.ts +41 -0
- package/src/codegen/zogux/assets/query.rpc.Query.ts +51 -0
- package/src/codegen/zogux/assets/query.ts +238 -0
- package/src/codegen/zogux/assets/tx.ts +1 -0
- package/src/codegen/zogux/blocktime/blocktime.ts +203 -0
- package/src/codegen/zogux/blocktime/genesis.ts +58 -0
- package/src/codegen/zogux/blocktime/params.ts +125 -0
- package/src/codegen/zogux/blocktime/query.lcd.ts +38 -0
- package/src/codegen/zogux/blocktime/query.rpc.Query.ts +77 -0
- package/src/codegen/zogux/blocktime/query.ts +428 -0
- package/src/codegen/zogux/blocktime/tx.rpc.msg.ts +34 -0
- package/src/codegen/zogux/blocktime/tx.ts +233 -0
- package/src/codegen/zogux/bridge/bridge_event.ts +171 -0
- package/src/codegen/zogux/bridge/bridge_event_info.ts +81 -0
- package/src/codegen/zogux/bridge/events.ts +434 -0
- package/src/codegen/zogux/bridge/genesis.ts +131 -0
- package/src/codegen/zogux/bridge/params.ts +404 -0
- package/src/codegen/zogux/bridge/query.lcd.ts +162 -0
- package/src/codegen/zogux/bridge/query.rpc.Query.ts +249 -0
- package/src/codegen/zogux/bridge/query.ts +1342 -0
- package/src/codegen/zogux/bridge/token.ts +1030 -0
- package/src/codegen/zogux/bridge/tss.ts +883 -0
- package/src/codegen/zogux/bridge/tx.rpc.msg.ts +159 -0
- package/src/codegen/zogux/bridge/tx.ts +542 -0
- package/src/codegen/zogux/bridge/withdrawal.ts +306 -0
- package/src/codegen/zogux/bundle.ts +441 -0
- package/src/codegen/zogux/clob/block_rate_limit_config.ts +216 -0
- package/src/codegen/zogux/clob/clob_pair.ts +396 -0
- package/src/codegen/zogux/clob/equity_tier_limit_config.ts +154 -0
- package/src/codegen/zogux/clob/finalize_block.ts +65 -0
- package/src/codegen/zogux/clob/genesis.ts +97 -0
- package/src/codegen/zogux/clob/liquidations.ts +288 -0
- package/src/codegen/zogux/clob/liquidations_config.ts +358 -0
- package/src/codegen/zogux/clob/matches.ts +552 -0
- package/src/codegen/zogux/clob/mev.ts +525 -0
- package/src/codegen/zogux/clob/operation.ts +200 -0
- package/src/codegen/zogux/clob/order.ts +1538 -0
- package/src/codegen/zogux/clob/order_removals.ts +228 -0
- package/src/codegen/zogux/clob/process_proposer_matches_events.ts +176 -0
- package/src/codegen/zogux/clob/query.lcd.ts +81 -0
- package/src/codegen/zogux/clob/query.rpc.Query.ts +166 -0
- package/src/codegen/zogux/clob/query.ts +1945 -0
- package/src/codegen/zogux/clob/streaming.ts +96 -0
- package/src/codegen/zogux/clob/tx.rpc.msg.ts +131 -0
- package/src/codegen/zogux/clob/tx.ts +1472 -0
- package/src/codegen/zogux/daemons/bridge/bridge.ts +104 -0
- package/src/codegen/zogux/daemons/liquidation/liquidation.ts +156 -0
- package/src/codegen/zogux/daemons/pricefeed/price_feed.ts +244 -0
- package/src/codegen/zogux/delaymsg/block_message_ids.ts +79 -0
- package/src/codegen/zogux/delaymsg/delayed_message.ts +87 -0
- package/src/codegen/zogux/delaymsg/genesis.ts +73 -0
- package/src/codegen/zogux/delaymsg/query.lcd.ts +38 -0
- package/src/codegen/zogux/delaymsg/query.rpc.Query.ts +63 -0
- package/src/codegen/zogux/delaymsg/query.ts +364 -0
- package/src/codegen/zogux/delaymsg/tx.rpc.msg.ts +27 -0
- package/src/codegen/zogux/delaymsg/tx.ts +142 -0
- package/src/codegen/zogux/epochs/epoch_info.ts +167 -0
- package/src/codegen/zogux/epochs/genesis.ts +58 -0
- package/src/codegen/zogux/epochs/query.lcd.ts +41 -0
- package/src/codegen/zogux/epochs/query.rpc.Query.ts +51 -0
- package/src/codegen/zogux/epochs/query.ts +237 -0
- package/src/codegen/zogux/feetiers/genesis.ts +74 -0
- package/src/codegen/zogux/feetiers/params.ts +184 -0
- package/src/codegen/zogux/feetiers/per_market_fee_discount.ts +111 -0
- package/src/codegen/zogux/feetiers/query.lcd.ts +71 -0
- package/src/codegen/zogux/feetiers/query.rpc.Query.ts +108 -0
- package/src/codegen/zogux/feetiers/query.ts +715 -0
- package/src/codegen/zogux/feetiers/staking_tier.ts +151 -0
- package/src/codegen/zogux/feetiers/tx.rpc.msg.ts +47 -0
- package/src/codegen/zogux/feetiers/tx.ts +351 -0
- package/src/codegen/zogux/govplus/genesis.ts +42 -0
- package/src/codegen/zogux/govplus/query.rpc.Query.ts +18 -0
- package/src/codegen/zogux/govplus/query.ts +1 -0
- package/src/codegen/zogux/govplus/tx.rpc.msg.ts +27 -0
- package/src/codegen/zogux/govplus/tx.ts +173 -0
- package/src/codegen/zogux/indexer/events/events.ts +4292 -0
- package/src/codegen/zogux/indexer/indexer_manager/event.ts +428 -0
- package/src/codegen/zogux/indexer/off_chain_updates/off_chain_updates.ts +594 -0
- package/src/codegen/zogux/indexer/protocol/v1/clob.ts +887 -0
- package/src/codegen/zogux/indexer/protocol/v1/perpetual.ts +52 -0
- package/src/codegen/zogux/indexer/protocol/v1/subaccount.ts +281 -0
- package/src/codegen/zogux/indexer/protocol/v1/vault.ts +69 -0
- package/src/codegen/zogux/indexer/redis/redis_order.ts +190 -0
- package/src/codegen/zogux/indexer/shared/removal_reason.ts +216 -0
- package/src/codegen/zogux/indexer/socks/messages.ts +656 -0
- package/src/codegen/zogux/lcd.ts +176 -0
- package/src/codegen/zogux/listing/genesis.ts +76 -0
- package/src/codegen/zogux/listing/params.ts +89 -0
- package/src/codegen/zogux/listing/query.lcd.ts +30 -0
- package/src/codegen/zogux/listing/query.rpc.Query.ts +49 -0
- package/src/codegen/zogux/listing/query.ts +194 -0
- package/src/codegen/zogux/listing/tx.rpc.msg.ts +57 -0
- package/src/codegen/zogux/listing/tx.ts +483 -0
- package/src/codegen/zogux/perpetuals/genesis.ts +83 -0
- package/src/codegen/zogux/perpetuals/params.ts +97 -0
- package/src/codegen/zogux/perpetuals/perpetual.ts +660 -0
- package/src/codegen/zogux/perpetuals/query.lcd.ts +91 -0
- package/src/codegen/zogux/perpetuals/query.rpc.Query.ts +123 -0
- package/src/codegen/zogux/perpetuals/query.ts +765 -0
- package/src/codegen/zogux/perpetuals/tx.rpc.msg.ts +70 -0
- package/src/codegen/zogux/perpetuals/tx.ts +649 -0
- package/src/codegen/zogux/prices/genesis.ts +71 -0
- package/src/codegen/zogux/prices/market_param.ts +162 -0
- package/src/codegen/zogux/prices/market_price.ts +95 -0
- package/src/codegen/zogux/prices/query.lcd.ts +75 -0
- package/src/codegen/zogux/prices/query.rpc.Query.ts +95 -0
- package/src/codegen/zogux/prices/query.ts +630 -0
- package/src/codegen/zogux/prices/streaming.ts +87 -0
- package/src/codegen/zogux/prices/tx.rpc.msg.ts +50 -0
- package/src/codegen/zogux/prices/tx.ts +405 -0
- package/src/codegen/zogux/ratelimit/capacity.ts +147 -0
- package/src/codegen/zogux/ratelimit/genesis.ts +59 -0
- package/src/codegen/zogux/ratelimit/limit_params.ts +174 -0
- package/src/codegen/zogux/ratelimit/pending_send_packet.ts +75 -0
- package/src/codegen/zogux/ratelimit/query.lcd.ts +46 -0
- package/src/codegen/zogux/ratelimit/query.rpc.Query.ts +63 -0
- package/src/codegen/zogux/ratelimit/query.ts +333 -0
- package/src/codegen/zogux/ratelimit/tx.rpc.msg.ts +24 -0
- package/src/codegen/zogux/ratelimit/tx.ts +112 -0
- package/src/codegen/zogux/revshare/genesis.ts +58 -0
- package/src/codegen/zogux/revshare/params.ts +93 -0
- package/src/codegen/zogux/revshare/query.lcd.ts +47 -0
- package/src/codegen/zogux/revshare/query.rpc.Query.ts +80 -0
- package/src/codegen/zogux/revshare/query.ts +415 -0
- package/src/codegen/zogux/revshare/revshare.ts +266 -0
- package/src/codegen/zogux/revshare/tx.rpc.msg.ts +60 -0
- package/src/codegen/zogux/revshare/tx.ts +462 -0
- package/src/codegen/zogux/rewards/genesis.ts +59 -0
- package/src/codegen/zogux/rewards/params.ts +122 -0
- package/src/codegen/zogux/rewards/query.lcd.ts +22 -0
- package/src/codegen/zogux/rewards/query.rpc.Query.ts +35 -0
- package/src/codegen/zogux/rewards/query.ts +98 -0
- package/src/codegen/zogux/rewards/reward_share.ts +75 -0
- package/src/codegen/zogux/rewards/tx.rpc.msg.ts +24 -0
- package/src/codegen/zogux/rewards/tx.ts +112 -0
- package/src/codegen/zogux/rpc.query.ts +106 -0
- package/src/codegen/zogux/rpc.tx.ts +82 -0
- package/src/codegen/zogux/sending/genesis.ts +42 -0
- package/src/codegen/zogux/sending/query.rpc.Query.ts +18 -0
- package/src/codegen/zogux/sending/query.ts +1 -0
- package/src/codegen/zogux/sending/transfer.ts +420 -0
- package/src/codegen/zogux/sending/tx.rpc.msg.ts +64 -0
- package/src/codegen/zogux/sending/tx.ts +237 -0
- package/src/codegen/zogux/stats/genesis.ts +59 -0
- package/src/codegen/zogux/stats/params.ts +59 -0
- package/src/codegen/zogux/stats/query.lcd.ts +54 -0
- package/src/codegen/zogux/stats/query.rpc.Query.ts +77 -0
- package/src/codegen/zogux/stats/query.ts +412 -0
- package/src/codegen/zogux/stats/stats.ts +593 -0
- package/src/codegen/zogux/stats/tx.rpc.msg.ts +24 -0
- package/src/codegen/zogux/stats/tx.ts +112 -0
- package/src/codegen/zogux/subaccounts/asset_position.ts +96 -0
- package/src/codegen/zogux/subaccounts/genesis.ts +58 -0
- package/src/codegen/zogux/subaccounts/leverage.ts +134 -0
- package/src/codegen/zogux/subaccounts/perpetual_position.ts +109 -0
- package/src/codegen/zogux/subaccounts/query.lcd.ts +58 -0
- package/src/codegen/zogux/subaccounts/query.rpc.Query.ts +82 -0
- package/src/codegen/zogux/subaccounts/query.ts +527 -0
- package/src/codegen/zogux/subaccounts/streaming.ts +266 -0
- package/src/codegen/zogux/subaccounts/subaccount.ts +190 -0
- package/src/codegen/zogux/token/genesis.ts +73 -0
- package/src/codegen/zogux/token/params.ts +196 -0
- package/src/codegen/zogux/token/query.lcd.ts +38 -0
- package/src/codegen/zogux/token/query.rpc.Query.ts +63 -0
- package/src/codegen/zogux/token/query.ts +342 -0
- package/src/codegen/zogux/token/tx.rpc.msg.ts +84 -0
- package/src/codegen/zogux/token/tx.ts +828 -0
- package/src/codegen/zogux/vault/genesis.ts +433 -0
- package/src/codegen/zogux/vault/params.ts +523 -0
- package/src/codegen/zogux/vault/query.lcd.ts +91 -0
- package/src/codegen/zogux/vault/query.rpc.Query.ts +137 -0
- package/src/codegen/zogux/vault/query.ts +1162 -0
- package/src/codegen/zogux/vault/share.ts +271 -0
- package/src/codegen/zogux/vault/tx.rpc.msg.ts +97 -0
- package/src/codegen/zogux/vault/tx.ts +1189 -0
- package/src/codegen/zogux/vault/vault.ts +185 -0
- package/src/codegen/zogux/vest/genesis.ts +59 -0
- package/src/codegen/zogux/vest/query.lcd.ts +30 -0
- package/src/codegen/zogux/vest/query.rpc.Query.ts +35 -0
- package/src/codegen/zogux/vest/query.ts +114 -0
- package/src/codegen/zogux/vest/tx.rpc.msg.ts +34 -0
- package/src/codegen/zogux/vest/tx.ts +223 -0
- package/src/codegen/zogux/vest/vest_entry.ts +127 -0
|
@@ -0,0 +1,907 @@
|
|
|
1
|
+
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
|
|
2
|
+
import { Params, ParamsSDKType } from "./distribution";
|
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
|
4
|
+
import { DeepPartial } from "../../../helpers";
|
|
5
|
+
/**
|
|
6
|
+
* MsgSetWithdrawAddress sets the withdraw address for
|
|
7
|
+
* a delegator (or validator self-delegation).
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export interface MsgSetWithdrawAddress {
|
|
11
|
+
delegatorAddress: string;
|
|
12
|
+
withdrawAddress: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* MsgSetWithdrawAddress sets the withdraw address for
|
|
16
|
+
* a delegator (or validator self-delegation).
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
export interface MsgSetWithdrawAddressSDKType {
|
|
20
|
+
delegator_address: string;
|
|
21
|
+
withdraw_address: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response
|
|
25
|
+
* type.
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
export interface MsgSetWithdrawAddressResponse {}
|
|
29
|
+
/**
|
|
30
|
+
* MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response
|
|
31
|
+
* type.
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
export interface MsgSetWithdrawAddressResponseSDKType {}
|
|
35
|
+
/**
|
|
36
|
+
* MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator
|
|
37
|
+
* from a single validator.
|
|
38
|
+
*/
|
|
39
|
+
|
|
40
|
+
export interface MsgWithdrawDelegatorReward {
|
|
41
|
+
delegatorAddress: string;
|
|
42
|
+
validatorAddress: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator
|
|
46
|
+
* from a single validator.
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
export interface MsgWithdrawDelegatorRewardSDKType {
|
|
50
|
+
delegator_address: string;
|
|
51
|
+
validator_address: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward
|
|
55
|
+
* response type.
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
export interface MsgWithdrawDelegatorRewardResponse {
|
|
59
|
+
/** Since: cosmos-sdk 0.46 */
|
|
60
|
+
amount: Coin[];
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward
|
|
64
|
+
* response type.
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
export interface MsgWithdrawDelegatorRewardResponseSDKType {
|
|
68
|
+
amount: CoinSDKType[];
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* MsgWithdrawValidatorCommission withdraws the full commission to the validator
|
|
72
|
+
* address.
|
|
73
|
+
*/
|
|
74
|
+
|
|
75
|
+
export interface MsgWithdrawValidatorCommission {
|
|
76
|
+
validatorAddress: string;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* MsgWithdrawValidatorCommission withdraws the full commission to the validator
|
|
80
|
+
* address.
|
|
81
|
+
*/
|
|
82
|
+
|
|
83
|
+
export interface MsgWithdrawValidatorCommissionSDKType {
|
|
84
|
+
validator_address: string;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* MsgWithdrawValidatorCommissionResponse defines the
|
|
88
|
+
* Msg/WithdrawValidatorCommission response type.
|
|
89
|
+
*/
|
|
90
|
+
|
|
91
|
+
export interface MsgWithdrawValidatorCommissionResponse {
|
|
92
|
+
/** Since: cosmos-sdk 0.46 */
|
|
93
|
+
amount: Coin[];
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* MsgWithdrawValidatorCommissionResponse defines the
|
|
97
|
+
* Msg/WithdrawValidatorCommission response type.
|
|
98
|
+
*/
|
|
99
|
+
|
|
100
|
+
export interface MsgWithdrawValidatorCommissionResponseSDKType {
|
|
101
|
+
amount: CoinSDKType[];
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* MsgFundCommunityPool allows an account to directly
|
|
105
|
+
* fund the community pool.
|
|
106
|
+
*/
|
|
107
|
+
|
|
108
|
+
export interface MsgFundCommunityPool {
|
|
109
|
+
amount: Coin[];
|
|
110
|
+
depositor: string;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* MsgFundCommunityPool allows an account to directly
|
|
114
|
+
* fund the community pool.
|
|
115
|
+
*/
|
|
116
|
+
|
|
117
|
+
export interface MsgFundCommunityPoolSDKType {
|
|
118
|
+
amount: CoinSDKType[];
|
|
119
|
+
depositor: string;
|
|
120
|
+
}
|
|
121
|
+
/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */
|
|
122
|
+
|
|
123
|
+
export interface MsgFundCommunityPoolResponse {}
|
|
124
|
+
/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */
|
|
125
|
+
|
|
126
|
+
export interface MsgFundCommunityPoolResponseSDKType {}
|
|
127
|
+
/**
|
|
128
|
+
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
129
|
+
*
|
|
130
|
+
* Since: cosmos-sdk 0.47
|
|
131
|
+
*/
|
|
132
|
+
|
|
133
|
+
export interface MsgUpdateParams {
|
|
134
|
+
/** authority is the address that controls the module (defaults to x/gov unless overwritten). */
|
|
135
|
+
authority: string;
|
|
136
|
+
/**
|
|
137
|
+
* params defines the x/distribution parameters to update.
|
|
138
|
+
*
|
|
139
|
+
* NOTE: All parameters must be supplied.
|
|
140
|
+
*/
|
|
141
|
+
|
|
142
|
+
params?: Params;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
146
|
+
*
|
|
147
|
+
* Since: cosmos-sdk 0.47
|
|
148
|
+
*/
|
|
149
|
+
|
|
150
|
+
export interface MsgUpdateParamsSDKType {
|
|
151
|
+
authority: string;
|
|
152
|
+
params?: ParamsSDKType;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
156
|
+
* MsgUpdateParams message.
|
|
157
|
+
*
|
|
158
|
+
* Since: cosmos-sdk 0.47
|
|
159
|
+
*/
|
|
160
|
+
|
|
161
|
+
export interface MsgUpdateParamsResponse {}
|
|
162
|
+
/**
|
|
163
|
+
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
164
|
+
* MsgUpdateParams message.
|
|
165
|
+
*
|
|
166
|
+
* Since: cosmos-sdk 0.47
|
|
167
|
+
*/
|
|
168
|
+
|
|
169
|
+
export interface MsgUpdateParamsResponseSDKType {}
|
|
170
|
+
/**
|
|
171
|
+
* MsgCommunityPoolSpend defines a message for sending tokens from the community
|
|
172
|
+
* pool to another account. This message is typically executed via a governance
|
|
173
|
+
* proposal with the governance module being the executing authority.
|
|
174
|
+
*
|
|
175
|
+
* Since: cosmos-sdk 0.47
|
|
176
|
+
*/
|
|
177
|
+
|
|
178
|
+
export interface MsgCommunityPoolSpend {
|
|
179
|
+
/** authority is the address that controls the module (defaults to x/gov unless overwritten). */
|
|
180
|
+
authority: string;
|
|
181
|
+
recipient: string;
|
|
182
|
+
amount: Coin[];
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* MsgCommunityPoolSpend defines a message for sending tokens from the community
|
|
186
|
+
* pool to another account. This message is typically executed via a governance
|
|
187
|
+
* proposal with the governance module being the executing authority.
|
|
188
|
+
*
|
|
189
|
+
* Since: cosmos-sdk 0.47
|
|
190
|
+
*/
|
|
191
|
+
|
|
192
|
+
export interface MsgCommunityPoolSpendSDKType {
|
|
193
|
+
authority: string;
|
|
194
|
+
recipient: string;
|
|
195
|
+
amount: CoinSDKType[];
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* MsgCommunityPoolSpendResponse defines the response to executing a
|
|
199
|
+
* MsgCommunityPoolSpend message.
|
|
200
|
+
*
|
|
201
|
+
* Since: cosmos-sdk 0.47
|
|
202
|
+
*/
|
|
203
|
+
|
|
204
|
+
export interface MsgCommunityPoolSpendResponse {}
|
|
205
|
+
/**
|
|
206
|
+
* MsgCommunityPoolSpendResponse defines the response to executing a
|
|
207
|
+
* MsgCommunityPoolSpend message.
|
|
208
|
+
*
|
|
209
|
+
* Since: cosmos-sdk 0.47
|
|
210
|
+
*/
|
|
211
|
+
|
|
212
|
+
export interface MsgCommunityPoolSpendResponseSDKType {}
|
|
213
|
+
/**
|
|
214
|
+
* DepositValidatorRewardsPool defines the request structure to provide
|
|
215
|
+
* additional rewards to delegators from a specific validator.
|
|
216
|
+
*
|
|
217
|
+
* Since: cosmos-sdk 0.50
|
|
218
|
+
*/
|
|
219
|
+
|
|
220
|
+
export interface MsgDepositValidatorRewardsPool {
|
|
221
|
+
depositor: string;
|
|
222
|
+
validatorAddress: string;
|
|
223
|
+
amount: Coin[];
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* DepositValidatorRewardsPool defines the request structure to provide
|
|
227
|
+
* additional rewards to delegators from a specific validator.
|
|
228
|
+
*
|
|
229
|
+
* Since: cosmos-sdk 0.50
|
|
230
|
+
*/
|
|
231
|
+
|
|
232
|
+
export interface MsgDepositValidatorRewardsPoolSDKType {
|
|
233
|
+
depositor: string;
|
|
234
|
+
validator_address: string;
|
|
235
|
+
amount: CoinSDKType[];
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* MsgDepositValidatorRewardsPoolResponse defines the response to executing a
|
|
239
|
+
* MsgDepositValidatorRewardsPool message.
|
|
240
|
+
*
|
|
241
|
+
* Since: cosmos-sdk 0.50
|
|
242
|
+
*/
|
|
243
|
+
|
|
244
|
+
export interface MsgDepositValidatorRewardsPoolResponse {}
|
|
245
|
+
/**
|
|
246
|
+
* MsgDepositValidatorRewardsPoolResponse defines the response to executing a
|
|
247
|
+
* MsgDepositValidatorRewardsPool message.
|
|
248
|
+
*
|
|
249
|
+
* Since: cosmos-sdk 0.50
|
|
250
|
+
*/
|
|
251
|
+
|
|
252
|
+
export interface MsgDepositValidatorRewardsPoolResponseSDKType {}
|
|
253
|
+
|
|
254
|
+
function createBaseMsgSetWithdrawAddress(): MsgSetWithdrawAddress {
|
|
255
|
+
return {
|
|
256
|
+
delegatorAddress: "",
|
|
257
|
+
withdrawAddress: ""
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export const MsgSetWithdrawAddress = {
|
|
262
|
+
encode(message: MsgSetWithdrawAddress, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
263
|
+
if (message.delegatorAddress !== "") {
|
|
264
|
+
writer.uint32(10).string(message.delegatorAddress);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
if (message.withdrawAddress !== "") {
|
|
268
|
+
writer.uint32(18).string(message.withdrawAddress);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
return writer;
|
|
272
|
+
},
|
|
273
|
+
|
|
274
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddress {
|
|
275
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
276
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
277
|
+
const message = createBaseMsgSetWithdrawAddress();
|
|
278
|
+
|
|
279
|
+
while (reader.pos < end) {
|
|
280
|
+
const tag = reader.uint32();
|
|
281
|
+
|
|
282
|
+
switch (tag >>> 3) {
|
|
283
|
+
case 1:
|
|
284
|
+
message.delegatorAddress = reader.string();
|
|
285
|
+
break;
|
|
286
|
+
|
|
287
|
+
case 2:
|
|
288
|
+
message.withdrawAddress = reader.string();
|
|
289
|
+
break;
|
|
290
|
+
|
|
291
|
+
default:
|
|
292
|
+
reader.skipType(tag & 7);
|
|
293
|
+
break;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
return message;
|
|
298
|
+
},
|
|
299
|
+
|
|
300
|
+
fromPartial(object: DeepPartial<MsgSetWithdrawAddress>): MsgSetWithdrawAddress {
|
|
301
|
+
const message = createBaseMsgSetWithdrawAddress();
|
|
302
|
+
message.delegatorAddress = object.delegatorAddress ?? "";
|
|
303
|
+
message.withdrawAddress = object.withdrawAddress ?? "";
|
|
304
|
+
return message;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
function createBaseMsgSetWithdrawAddressResponse(): MsgSetWithdrawAddressResponse {
|
|
310
|
+
return {};
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
export const MsgSetWithdrawAddressResponse = {
|
|
314
|
+
encode(_: MsgSetWithdrawAddressResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
315
|
+
return writer;
|
|
316
|
+
},
|
|
317
|
+
|
|
318
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse {
|
|
319
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
320
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
321
|
+
const message = createBaseMsgSetWithdrawAddressResponse();
|
|
322
|
+
|
|
323
|
+
while (reader.pos < end) {
|
|
324
|
+
const tag = reader.uint32();
|
|
325
|
+
|
|
326
|
+
switch (tag >>> 3) {
|
|
327
|
+
default:
|
|
328
|
+
reader.skipType(tag & 7);
|
|
329
|
+
break;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
return message;
|
|
334
|
+
},
|
|
335
|
+
|
|
336
|
+
fromPartial(_: DeepPartial<MsgSetWithdrawAddressResponse>): MsgSetWithdrawAddressResponse {
|
|
337
|
+
const message = createBaseMsgSetWithdrawAddressResponse();
|
|
338
|
+
return message;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
function createBaseMsgWithdrawDelegatorReward(): MsgWithdrawDelegatorReward {
|
|
344
|
+
return {
|
|
345
|
+
delegatorAddress: "",
|
|
346
|
+
validatorAddress: ""
|
|
347
|
+
};
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export const MsgWithdrawDelegatorReward = {
|
|
351
|
+
encode(message: MsgWithdrawDelegatorReward, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
352
|
+
if (message.delegatorAddress !== "") {
|
|
353
|
+
writer.uint32(10).string(message.delegatorAddress);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
if (message.validatorAddress !== "") {
|
|
357
|
+
writer.uint32(18).string(message.validatorAddress);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
return writer;
|
|
361
|
+
},
|
|
362
|
+
|
|
363
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorReward {
|
|
364
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
365
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
366
|
+
const message = createBaseMsgWithdrawDelegatorReward();
|
|
367
|
+
|
|
368
|
+
while (reader.pos < end) {
|
|
369
|
+
const tag = reader.uint32();
|
|
370
|
+
|
|
371
|
+
switch (tag >>> 3) {
|
|
372
|
+
case 1:
|
|
373
|
+
message.delegatorAddress = reader.string();
|
|
374
|
+
break;
|
|
375
|
+
|
|
376
|
+
case 2:
|
|
377
|
+
message.validatorAddress = reader.string();
|
|
378
|
+
break;
|
|
379
|
+
|
|
380
|
+
default:
|
|
381
|
+
reader.skipType(tag & 7);
|
|
382
|
+
break;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
return message;
|
|
387
|
+
},
|
|
388
|
+
|
|
389
|
+
fromPartial(object: DeepPartial<MsgWithdrawDelegatorReward>): MsgWithdrawDelegatorReward {
|
|
390
|
+
const message = createBaseMsgWithdrawDelegatorReward();
|
|
391
|
+
message.delegatorAddress = object.delegatorAddress ?? "";
|
|
392
|
+
message.validatorAddress = object.validatorAddress ?? "";
|
|
393
|
+
return message;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
function createBaseMsgWithdrawDelegatorRewardResponse(): MsgWithdrawDelegatorRewardResponse {
|
|
399
|
+
return {
|
|
400
|
+
amount: []
|
|
401
|
+
};
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export const MsgWithdrawDelegatorRewardResponse = {
|
|
405
|
+
encode(message: MsgWithdrawDelegatorRewardResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
406
|
+
for (const v of message.amount) {
|
|
407
|
+
Coin.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
return writer;
|
|
411
|
+
},
|
|
412
|
+
|
|
413
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse {
|
|
414
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
415
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
416
|
+
const message = createBaseMsgWithdrawDelegatorRewardResponse();
|
|
417
|
+
|
|
418
|
+
while (reader.pos < end) {
|
|
419
|
+
const tag = reader.uint32();
|
|
420
|
+
|
|
421
|
+
switch (tag >>> 3) {
|
|
422
|
+
case 1:
|
|
423
|
+
message.amount.push(Coin.decode(reader, reader.uint32()));
|
|
424
|
+
break;
|
|
425
|
+
|
|
426
|
+
default:
|
|
427
|
+
reader.skipType(tag & 7);
|
|
428
|
+
break;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
return message;
|
|
433
|
+
},
|
|
434
|
+
|
|
435
|
+
fromPartial(object: DeepPartial<MsgWithdrawDelegatorRewardResponse>): MsgWithdrawDelegatorRewardResponse {
|
|
436
|
+
const message = createBaseMsgWithdrawDelegatorRewardResponse();
|
|
437
|
+
message.amount = object.amount?.map(e => Coin.fromPartial(e)) || [];
|
|
438
|
+
return message;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
function createBaseMsgWithdrawValidatorCommission(): MsgWithdrawValidatorCommission {
|
|
444
|
+
return {
|
|
445
|
+
validatorAddress: ""
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export const MsgWithdrawValidatorCommission = {
|
|
450
|
+
encode(message: MsgWithdrawValidatorCommission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
451
|
+
if (message.validatorAddress !== "") {
|
|
452
|
+
writer.uint32(10).string(message.validatorAddress);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
return writer;
|
|
456
|
+
},
|
|
457
|
+
|
|
458
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommission {
|
|
459
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
460
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
461
|
+
const message = createBaseMsgWithdrawValidatorCommission();
|
|
462
|
+
|
|
463
|
+
while (reader.pos < end) {
|
|
464
|
+
const tag = reader.uint32();
|
|
465
|
+
|
|
466
|
+
switch (tag >>> 3) {
|
|
467
|
+
case 1:
|
|
468
|
+
message.validatorAddress = reader.string();
|
|
469
|
+
break;
|
|
470
|
+
|
|
471
|
+
default:
|
|
472
|
+
reader.skipType(tag & 7);
|
|
473
|
+
break;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
return message;
|
|
478
|
+
},
|
|
479
|
+
|
|
480
|
+
fromPartial(object: DeepPartial<MsgWithdrawValidatorCommission>): MsgWithdrawValidatorCommission {
|
|
481
|
+
const message = createBaseMsgWithdrawValidatorCommission();
|
|
482
|
+
message.validatorAddress = object.validatorAddress ?? "";
|
|
483
|
+
return message;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
function createBaseMsgWithdrawValidatorCommissionResponse(): MsgWithdrawValidatorCommissionResponse {
|
|
489
|
+
return {
|
|
490
|
+
amount: []
|
|
491
|
+
};
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export const MsgWithdrawValidatorCommissionResponse = {
|
|
495
|
+
encode(message: MsgWithdrawValidatorCommissionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
496
|
+
for (const v of message.amount) {
|
|
497
|
+
Coin.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
return writer;
|
|
501
|
+
},
|
|
502
|
+
|
|
503
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse {
|
|
504
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
505
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
506
|
+
const message = createBaseMsgWithdrawValidatorCommissionResponse();
|
|
507
|
+
|
|
508
|
+
while (reader.pos < end) {
|
|
509
|
+
const tag = reader.uint32();
|
|
510
|
+
|
|
511
|
+
switch (tag >>> 3) {
|
|
512
|
+
case 1:
|
|
513
|
+
message.amount.push(Coin.decode(reader, reader.uint32()));
|
|
514
|
+
break;
|
|
515
|
+
|
|
516
|
+
default:
|
|
517
|
+
reader.skipType(tag & 7);
|
|
518
|
+
break;
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
return message;
|
|
523
|
+
},
|
|
524
|
+
|
|
525
|
+
fromPartial(object: DeepPartial<MsgWithdrawValidatorCommissionResponse>): MsgWithdrawValidatorCommissionResponse {
|
|
526
|
+
const message = createBaseMsgWithdrawValidatorCommissionResponse();
|
|
527
|
+
message.amount = object.amount?.map(e => Coin.fromPartial(e)) || [];
|
|
528
|
+
return message;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
};
|
|
532
|
+
|
|
533
|
+
function createBaseMsgFundCommunityPool(): MsgFundCommunityPool {
|
|
534
|
+
return {
|
|
535
|
+
amount: [],
|
|
536
|
+
depositor: ""
|
|
537
|
+
};
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
export const MsgFundCommunityPool = {
|
|
541
|
+
encode(message: MsgFundCommunityPool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
542
|
+
for (const v of message.amount) {
|
|
543
|
+
Coin.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
if (message.depositor !== "") {
|
|
547
|
+
writer.uint32(18).string(message.depositor);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
return writer;
|
|
551
|
+
},
|
|
552
|
+
|
|
553
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPool {
|
|
554
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
555
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
556
|
+
const message = createBaseMsgFundCommunityPool();
|
|
557
|
+
|
|
558
|
+
while (reader.pos < end) {
|
|
559
|
+
const tag = reader.uint32();
|
|
560
|
+
|
|
561
|
+
switch (tag >>> 3) {
|
|
562
|
+
case 1:
|
|
563
|
+
message.amount.push(Coin.decode(reader, reader.uint32()));
|
|
564
|
+
break;
|
|
565
|
+
|
|
566
|
+
case 2:
|
|
567
|
+
message.depositor = reader.string();
|
|
568
|
+
break;
|
|
569
|
+
|
|
570
|
+
default:
|
|
571
|
+
reader.skipType(tag & 7);
|
|
572
|
+
break;
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
return message;
|
|
577
|
+
},
|
|
578
|
+
|
|
579
|
+
fromPartial(object: DeepPartial<MsgFundCommunityPool>): MsgFundCommunityPool {
|
|
580
|
+
const message = createBaseMsgFundCommunityPool();
|
|
581
|
+
message.amount = object.amount?.map(e => Coin.fromPartial(e)) || [];
|
|
582
|
+
message.depositor = object.depositor ?? "";
|
|
583
|
+
return message;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
function createBaseMsgFundCommunityPoolResponse(): MsgFundCommunityPoolResponse {
|
|
589
|
+
return {};
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export const MsgFundCommunityPoolResponse = {
|
|
593
|
+
encode(_: MsgFundCommunityPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
594
|
+
return writer;
|
|
595
|
+
},
|
|
596
|
+
|
|
597
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse {
|
|
598
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
599
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
600
|
+
const message = createBaseMsgFundCommunityPoolResponse();
|
|
601
|
+
|
|
602
|
+
while (reader.pos < end) {
|
|
603
|
+
const tag = reader.uint32();
|
|
604
|
+
|
|
605
|
+
switch (tag >>> 3) {
|
|
606
|
+
default:
|
|
607
|
+
reader.skipType(tag & 7);
|
|
608
|
+
break;
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
return message;
|
|
613
|
+
},
|
|
614
|
+
|
|
615
|
+
fromPartial(_: DeepPartial<MsgFundCommunityPoolResponse>): MsgFundCommunityPoolResponse {
|
|
616
|
+
const message = createBaseMsgFundCommunityPoolResponse();
|
|
617
|
+
return message;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
function createBaseMsgUpdateParams(): MsgUpdateParams {
|
|
623
|
+
return {
|
|
624
|
+
authority: "",
|
|
625
|
+
params: undefined
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
export const MsgUpdateParams = {
|
|
630
|
+
encode(message: MsgUpdateParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
631
|
+
if (message.authority !== "") {
|
|
632
|
+
writer.uint32(10).string(message.authority);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
if (message.params !== undefined) {
|
|
636
|
+
Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
return writer;
|
|
640
|
+
},
|
|
641
|
+
|
|
642
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams {
|
|
643
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
644
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
645
|
+
const message = createBaseMsgUpdateParams();
|
|
646
|
+
|
|
647
|
+
while (reader.pos < end) {
|
|
648
|
+
const tag = reader.uint32();
|
|
649
|
+
|
|
650
|
+
switch (tag >>> 3) {
|
|
651
|
+
case 1:
|
|
652
|
+
message.authority = reader.string();
|
|
653
|
+
break;
|
|
654
|
+
|
|
655
|
+
case 2:
|
|
656
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
657
|
+
break;
|
|
658
|
+
|
|
659
|
+
default:
|
|
660
|
+
reader.skipType(tag & 7);
|
|
661
|
+
break;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
return message;
|
|
666
|
+
},
|
|
667
|
+
|
|
668
|
+
fromPartial(object: DeepPartial<MsgUpdateParams>): MsgUpdateParams {
|
|
669
|
+
const message = createBaseMsgUpdateParams();
|
|
670
|
+
message.authority = object.authority ?? "";
|
|
671
|
+
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
672
|
+
return message;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
};
|
|
676
|
+
|
|
677
|
+
function createBaseMsgUpdateParamsResponse(): MsgUpdateParamsResponse {
|
|
678
|
+
return {};
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
export const MsgUpdateParamsResponse = {
|
|
682
|
+
encode(_: MsgUpdateParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
683
|
+
return writer;
|
|
684
|
+
},
|
|
685
|
+
|
|
686
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse {
|
|
687
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
688
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
689
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
690
|
+
|
|
691
|
+
while (reader.pos < end) {
|
|
692
|
+
const tag = reader.uint32();
|
|
693
|
+
|
|
694
|
+
switch (tag >>> 3) {
|
|
695
|
+
default:
|
|
696
|
+
reader.skipType(tag & 7);
|
|
697
|
+
break;
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
return message;
|
|
702
|
+
},
|
|
703
|
+
|
|
704
|
+
fromPartial(_: DeepPartial<MsgUpdateParamsResponse>): MsgUpdateParamsResponse {
|
|
705
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
706
|
+
return message;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
};
|
|
710
|
+
|
|
711
|
+
function createBaseMsgCommunityPoolSpend(): MsgCommunityPoolSpend {
|
|
712
|
+
return {
|
|
713
|
+
authority: "",
|
|
714
|
+
recipient: "",
|
|
715
|
+
amount: []
|
|
716
|
+
};
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
export const MsgCommunityPoolSpend = {
|
|
720
|
+
encode(message: MsgCommunityPoolSpend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
721
|
+
if (message.authority !== "") {
|
|
722
|
+
writer.uint32(10).string(message.authority);
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
if (message.recipient !== "") {
|
|
726
|
+
writer.uint32(18).string(message.recipient);
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
for (const v of message.amount) {
|
|
730
|
+
Coin.encode(v!, writer.uint32(26).fork()).ldelim();
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
return writer;
|
|
734
|
+
},
|
|
735
|
+
|
|
736
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCommunityPoolSpend {
|
|
737
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
738
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
739
|
+
const message = createBaseMsgCommunityPoolSpend();
|
|
740
|
+
|
|
741
|
+
while (reader.pos < end) {
|
|
742
|
+
const tag = reader.uint32();
|
|
743
|
+
|
|
744
|
+
switch (tag >>> 3) {
|
|
745
|
+
case 1:
|
|
746
|
+
message.authority = reader.string();
|
|
747
|
+
break;
|
|
748
|
+
|
|
749
|
+
case 2:
|
|
750
|
+
message.recipient = reader.string();
|
|
751
|
+
break;
|
|
752
|
+
|
|
753
|
+
case 3:
|
|
754
|
+
message.amount.push(Coin.decode(reader, reader.uint32()));
|
|
755
|
+
break;
|
|
756
|
+
|
|
757
|
+
default:
|
|
758
|
+
reader.skipType(tag & 7);
|
|
759
|
+
break;
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
return message;
|
|
764
|
+
},
|
|
765
|
+
|
|
766
|
+
fromPartial(object: DeepPartial<MsgCommunityPoolSpend>): MsgCommunityPoolSpend {
|
|
767
|
+
const message = createBaseMsgCommunityPoolSpend();
|
|
768
|
+
message.authority = object.authority ?? "";
|
|
769
|
+
message.recipient = object.recipient ?? "";
|
|
770
|
+
message.amount = object.amount?.map(e => Coin.fromPartial(e)) || [];
|
|
771
|
+
return message;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
};
|
|
775
|
+
|
|
776
|
+
function createBaseMsgCommunityPoolSpendResponse(): MsgCommunityPoolSpendResponse {
|
|
777
|
+
return {};
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
export const MsgCommunityPoolSpendResponse = {
|
|
781
|
+
encode(_: MsgCommunityPoolSpendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
782
|
+
return writer;
|
|
783
|
+
},
|
|
784
|
+
|
|
785
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCommunityPoolSpendResponse {
|
|
786
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
787
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
788
|
+
const message = createBaseMsgCommunityPoolSpendResponse();
|
|
789
|
+
|
|
790
|
+
while (reader.pos < end) {
|
|
791
|
+
const tag = reader.uint32();
|
|
792
|
+
|
|
793
|
+
switch (tag >>> 3) {
|
|
794
|
+
default:
|
|
795
|
+
reader.skipType(tag & 7);
|
|
796
|
+
break;
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
return message;
|
|
801
|
+
},
|
|
802
|
+
|
|
803
|
+
fromPartial(_: DeepPartial<MsgCommunityPoolSpendResponse>): MsgCommunityPoolSpendResponse {
|
|
804
|
+
const message = createBaseMsgCommunityPoolSpendResponse();
|
|
805
|
+
return message;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
};
|
|
809
|
+
|
|
810
|
+
function createBaseMsgDepositValidatorRewardsPool(): MsgDepositValidatorRewardsPool {
|
|
811
|
+
return {
|
|
812
|
+
depositor: "",
|
|
813
|
+
validatorAddress: "",
|
|
814
|
+
amount: []
|
|
815
|
+
};
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
export const MsgDepositValidatorRewardsPool = {
|
|
819
|
+
encode(message: MsgDepositValidatorRewardsPool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
820
|
+
if (message.depositor !== "") {
|
|
821
|
+
writer.uint32(10).string(message.depositor);
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
if (message.validatorAddress !== "") {
|
|
825
|
+
writer.uint32(18).string(message.validatorAddress);
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
for (const v of message.amount) {
|
|
829
|
+
Coin.encode(v!, writer.uint32(26).fork()).ldelim();
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
return writer;
|
|
833
|
+
},
|
|
834
|
+
|
|
835
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositValidatorRewardsPool {
|
|
836
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
837
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
838
|
+
const message = createBaseMsgDepositValidatorRewardsPool();
|
|
839
|
+
|
|
840
|
+
while (reader.pos < end) {
|
|
841
|
+
const tag = reader.uint32();
|
|
842
|
+
|
|
843
|
+
switch (tag >>> 3) {
|
|
844
|
+
case 1:
|
|
845
|
+
message.depositor = reader.string();
|
|
846
|
+
break;
|
|
847
|
+
|
|
848
|
+
case 2:
|
|
849
|
+
message.validatorAddress = reader.string();
|
|
850
|
+
break;
|
|
851
|
+
|
|
852
|
+
case 3:
|
|
853
|
+
message.amount.push(Coin.decode(reader, reader.uint32()));
|
|
854
|
+
break;
|
|
855
|
+
|
|
856
|
+
default:
|
|
857
|
+
reader.skipType(tag & 7);
|
|
858
|
+
break;
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
return message;
|
|
863
|
+
},
|
|
864
|
+
|
|
865
|
+
fromPartial(object: DeepPartial<MsgDepositValidatorRewardsPool>): MsgDepositValidatorRewardsPool {
|
|
866
|
+
const message = createBaseMsgDepositValidatorRewardsPool();
|
|
867
|
+
message.depositor = object.depositor ?? "";
|
|
868
|
+
message.validatorAddress = object.validatorAddress ?? "";
|
|
869
|
+
message.amount = object.amount?.map(e => Coin.fromPartial(e)) || [];
|
|
870
|
+
return message;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
};
|
|
874
|
+
|
|
875
|
+
function createBaseMsgDepositValidatorRewardsPoolResponse(): MsgDepositValidatorRewardsPoolResponse {
|
|
876
|
+
return {};
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
export const MsgDepositValidatorRewardsPoolResponse = {
|
|
880
|
+
encode(_: MsgDepositValidatorRewardsPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
881
|
+
return writer;
|
|
882
|
+
},
|
|
883
|
+
|
|
884
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositValidatorRewardsPoolResponse {
|
|
885
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
886
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
887
|
+
const message = createBaseMsgDepositValidatorRewardsPoolResponse();
|
|
888
|
+
|
|
889
|
+
while (reader.pos < end) {
|
|
890
|
+
const tag = reader.uint32();
|
|
891
|
+
|
|
892
|
+
switch (tag >>> 3) {
|
|
893
|
+
default:
|
|
894
|
+
reader.skipType(tag & 7);
|
|
895
|
+
break;
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
return message;
|
|
900
|
+
},
|
|
901
|
+
|
|
902
|
+
fromPartial(_: DeepPartial<MsgDepositValidatorRewardsPoolResponse>): MsgDepositValidatorRewardsPoolResponse {
|
|
903
|
+
const message = createBaseMsgDepositValidatorRewardsPoolResponse();
|
|
904
|
+
return message;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
};
|