@bze/bzejs 3.2.0 → 4.0.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/README.md +18 -1
- package/dist/bze/bundle.d.ts +5982 -3068
- package/dist/bze/bundle.js +144 -93
- package/dist/bze/burner/burned_coins.d.ts +60 -0
- package/dist/bze/burner/burned_coins.js +92 -1
- package/dist/bze/burner/genesis.d.ts +4 -1
- package/dist/bze/burner/genesis.js +20 -4
- package/dist/bze/burner/params.d.ts +22 -0
- package/dist/bze/burner/params.js +29 -4
- package/dist/bze/dao/events.d.ts +1208 -0
- package/dist/bze/dao/events.js +1840 -0
- package/dist/bze/dao/genesis.d.ts +307 -0
- package/dist/bze/dao/genesis.js +435 -0
- package/dist/bze/dao/module/module.d.ts +64 -0
- package/dist/{cosmos/orm/module/v1alpha1 → bze/dao/module}/module.js +27 -23
- package/dist/bze/dao/params.d.ts +210 -0
- package/dist/bze/dao/params.js +268 -0
- package/dist/bze/dao/query.d.ts +1607 -0
- package/dist/bze/dao/query.js +2368 -0
- package/dist/bze/dao/query.lcd.d.ts +20 -0
- package/dist/bze/dao/query.lcd.js +125 -0
- package/dist/bze/dao/query.rpc.func.d.ts +88 -0
- package/dist/bze/dao/query.rpc.func.js +165 -0
- package/dist/bze/dao/store.d.ts +946 -0
- package/dist/bze/dao/store.js +1546 -0
- package/dist/bze/dao/tx.d.ts +2014 -0
- package/dist/bze/dao/tx.js +2823 -0
- package/dist/bze/dao/tx.registry.d.ts +191 -0
- package/dist/bze/dao/tx.registry.js +283 -0
- package/dist/bze/dao/tx.rpc.func.d.ts +124 -0
- package/dist/bze/dao/tx.rpc.func.js +159 -0
- package/dist/bze/guardian/module/module.d.ts +64 -0
- package/dist/bze/guardian/module/module.js +84 -0
- package/dist/bze/guardian/v1/events.d.ts +632 -0
- package/dist/bze/guardian/v1/events.js +985 -0
- package/dist/bze/guardian/v1/genesis.d.ts +85 -0
- package/dist/bze/guardian/v1/genesis.js +118 -0
- package/dist/bze/guardian/v1/params.d.ts +68 -0
- package/dist/bze/guardian/v1/params.js +91 -0
- package/dist/bze/guardian/v1/query.d.ts +472 -0
- package/dist/bze/guardian/v1/query.js +598 -0
- package/dist/bze/guardian/v1/query.lcd.d.ts +12 -0
- package/dist/bze/guardian/v1/query.lcd.js +34 -0
- package/dist/bze/guardian/v1/query.rpc.func.d.ts +29 -0
- package/dist/bze/guardian/v1/query.rpc.func.js +58 -0
- package/dist/bze/guardian/v1/tx.d.ts +1487 -0
- package/dist/bze/guardian/v1/tx.js +1870 -0
- package/dist/bze/guardian/v1/tx.registry.d.ts +143 -0
- package/dist/bze/guardian/v1/tx.registry.js +211 -0
- package/dist/bze/guardian/v1/tx.rpc.func.d.ts +91 -0
- package/dist/bze/guardian/v1/tx.rpc.func.js +118 -0
- package/dist/bze/lcd.d.ts +4 -3
- package/dist/bze/lcd.js +8 -5
- package/dist/bze/rewards/events.d.ts +79 -0
- package/dist/bze/rewards/events.js +109 -5
- package/dist/bze/tokenfactory/denom_authority.d.ts +13 -0
- package/dist/bze/tokenfactory/denom_authority.js +16 -4
- package/dist/bze/tokenfactory/denom_config.d.ts +92 -0
- package/dist/bze/tokenfactory/denom_config.js +111 -0
- package/dist/bze/tokenfactory/events.d.ts +122 -0
- package/dist/bze/tokenfactory/events.js +207 -1
- package/dist/bze/tokenfactory/genesis.d.ts +10 -0
- package/dist/bze/tokenfactory/genesis.js +15 -1
- package/dist/bze/tokenfactory/query.d.ts +107 -0
- package/dist/bze/tokenfactory/query.js +163 -1
- package/dist/bze/tokenfactory/query.lcd.d.ts +2 -1
- package/dist/bze/tokenfactory/query.lcd.js +12 -0
- package/dist/bze/tokenfactory/query.rpc.func.d.ts +8 -1
- package/dist/bze/tokenfactory/query.rpc.func.js +14 -1
- package/dist/bze/tokenfactory/tx.d.ts +396 -0
- package/dist/bze/tokenfactory/tx.js +542 -1
- package/dist/bze/tokenfactory/tx.registry.d.ts +37 -1
- package/dist/bze/tokenfactory/tx.registry.js +55 -1
- package/dist/bze/tokenfactory/tx.rpc.func.d.ts +25 -1
- package/dist/bze/tokenfactory/tx.rpc.func.js +31 -1
- package/dist/bze/tradebin/events.d.ts +312 -174
- package/dist/bze/tradebin/events.js +509 -321
- package/dist/bze/tradebin/genesis.d.ts +1 -4
- package/dist/bze/tradebin/genesis.js +3 -19
- package/dist/bze/tradebin/query.d.ts +109 -0
- package/dist/bze/tradebin/query.js +170 -1
- package/dist/bze/tradebin/query.lcd.d.ts +2 -1
- package/dist/bze/tradebin/query.lcd.js +13 -0
- package/dist/bze/tradebin/query.rpc.func.d.ts +9 -1
- package/dist/bze/tradebin/query.rpc.func.js +15 -1
- package/dist/bze/tradebin/store.d.ts +78 -77
- package/dist/bze/tradebin/store.js +120 -179
- package/dist/bze/tradebin/tx.d.ts +204 -0
- package/dist/bze/tradebin/tx.js +286 -1
- package/dist/bze/tradebin/tx.registry.d.ts +13 -1
- package/dist/bze/tradebin/tx.registry.js +19 -1
- package/dist/bze/tradebin/tx.rpc.func.d.ts +8 -1
- package/dist/bze/tradebin/tx.rpc.func.js +10 -1
- package/dist/bze/tradebin/v2/params.d.ts +54 -12
- package/dist/bze/tradebin/v2/params.js +61 -36
- package/dist/bze/txfeecollector/events.d.ts +185 -0
- package/dist/bze/txfeecollector/events.js +222 -1
- package/dist/cosmos/app/runtime/v1alpha1/module.d.ts +28 -2
- package/dist/cosmos/app/runtime/v1alpha1/module.js +34 -4
- package/dist/cosmos/auth/module/v1/module.d.ts +13 -0
- package/dist/cosmos/auth/module/v1/module.js +16 -4
- package/dist/cosmos/auth/v1beta1/auth.d.ts +0 -8
- package/dist/cosmos/auth/v1beta1/auth.js +0 -2
- package/dist/cosmos/auth/v1beta1/query.d.ts +0 -116
- package/dist/cosmos/auth/v1beta1/query.js +0 -28
- package/dist/cosmos/auth/v1beta1/query.lcd.js +7 -21
- package/dist/cosmos/auth/v1beta1/query.rpc.func.d.ts +0 -14
- package/dist/cosmos/auth/v1beta1/query.rpc.func.js +0 -14
- package/dist/cosmos/auth/v1beta1/tx.d.ts +0 -16
- package/dist/cosmos/auth/v1beta1/tx.js +0 -4
- package/dist/cosmos/auth/v1beta1/tx.rpc.func.d.ts +0 -2
- package/dist/cosmos/auth/v1beta1/tx.rpc.func.js +0 -2
- package/dist/cosmos/authz/v1beta1/query.lcd.js +2 -6
- package/dist/cosmos/authz/v1beta1/query.rpc.func.d.ts +0 -4
- package/dist/cosmos/authz/v1beta1/query.rpc.func.js +0 -4
- package/dist/cosmos/bank/v1beta1/authz.d.ts +0 -12
- package/dist/cosmos/bank/v1beta1/authz.js +0 -2
- package/dist/cosmos/bank/v1beta1/bank.d.ts +0 -16
- package/dist/cosmos/bank/v1beta1/genesis.d.ts +0 -4
- package/dist/cosmos/bank/v1beta1/query.d.ts +0 -92
- package/dist/cosmos/bank/v1beta1/query.js +0 -20
- package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +2 -2
- package/dist/cosmos/bank/v1beta1/query.lcd.js +29 -30
- package/dist/cosmos/bank/v1beta1/query.rpc.func.d.ts +9 -19
- package/dist/cosmos/bank/v1beta1/query.rpc.func.js +15 -25
- package/dist/cosmos/bank/v1beta1/tx.d.ts +0 -32
- package/dist/cosmos/bank/v1beta1/tx.js +0 -8
- package/dist/cosmos/bank/v1beta1/tx.rpc.func.d.ts +0 -4
- package/dist/cosmos/bank/v1beta1/tx.rpc.func.js +0 -4
- package/dist/cosmos/base/abci/v1beta1/abci.d.ts +0 -12
- package/dist/cosmos/base/query/v1beta1/pagination.d.ts +0 -4
- package/dist/cosmos/base/tendermint/v1beta1/query.d.ts +0 -18
- package/dist/cosmos/base/tendermint/v1beta1/query.lcd.js +1 -3
- package/dist/cosmos/base/tendermint/v1beta1/query.rpc.func.d.ts +0 -2
- package/dist/cosmos/base/tendermint/v1beta1/query.rpc.func.js +0 -2
- package/dist/cosmos/bundle.d.ts +8277 -10119
- package/dist/cosmos/bundle.js +366 -415
- package/dist/cosmos/consensus/v1/tx.d.ts +0 -6
- package/dist/cosmos/consensus/v1/tx.rpc.func.d.ts +0 -2
- package/dist/cosmos/consensus/v1/tx.rpc.func.js +0 -2
- package/dist/cosmos/distribution/v1beta1/query.lcd.js +3 -1
- package/dist/cosmos/distribution/v1beta1/query.rpc.func.d.ts +2 -0
- package/dist/cosmos/distribution/v1beta1/query.rpc.func.js +2 -0
- package/dist/cosmos/distribution/v1beta1/tx.d.ts +0 -60
- package/dist/cosmos/distribution/v1beta1/tx.js +0 -12
- package/dist/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +3 -5
- package/dist/cosmos/distribution/v1beta1/tx.rpc.func.js +3 -5
- package/dist/cosmos/feegrant/v1beta1/query.d.ts +0 -16
- package/dist/cosmos/feegrant/v1beta1/query.js +0 -4
- package/dist/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
- package/dist/cosmos/feegrant/v1beta1/query.rpc.func.d.ts +0 -2
- package/dist/cosmos/feegrant/v1beta1/query.rpc.func.js +0 -2
- package/dist/cosmos/feegrant/v1beta1/tx.d.ts +0 -16
- package/dist/cosmos/feegrant/v1beta1/tx.js +0 -4
- package/dist/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +0 -2
- package/dist/cosmos/feegrant/v1beta1/tx.rpc.func.js +0 -2
- package/dist/cosmos/gov/v1/genesis.d.ts +0 -8
- package/dist/cosmos/gov/v1/gov.d.ts +0 -48
- package/dist/cosmos/gov/v1/gov.js +0 -2
- package/dist/cosmos/gov/v1/query.d.ts +0 -4
- package/dist/cosmos/gov/v1/tx.d.ts +0 -44
- package/dist/cosmos/gov/v1/tx.js +0 -8
- package/dist/cosmos/gov/v1/tx.rpc.func.d.ts +0 -4
- package/dist/cosmos/gov/v1/tx.rpc.func.js +0 -4
- package/dist/cosmos/gov/v1beta1/gov.d.ts +0 -12
- package/dist/cosmos/gov/v1beta1/gov.js +0 -2
- package/dist/cosmos/gov/v1beta1/tx.d.ts +0 -16
- package/dist/cosmos/gov/v1beta1/tx.js +0 -4
- package/dist/cosmos/gov/v1beta1/tx.rpc.func.d.ts +0 -2
- package/dist/cosmos/gov/v1beta1/tx.rpc.func.js +0 -2
- package/dist/cosmos/lcd.d.ts +0 -3
- package/dist/cosmos/lcd.js +0 -5
- package/dist/cosmos/mint/v1beta1/tx.d.ts +0 -16
- package/dist/cosmos/mint/v1beta1/tx.js +0 -4
- package/dist/cosmos/mint/v1beta1/tx.rpc.func.d.ts +0 -2
- package/dist/cosmos/mint/v1beta1/tx.rpc.func.js +0 -2
- package/dist/cosmos/params/v1beta1/query.d.ts +0 -24
- package/dist/cosmos/params/v1beta1/query.js +0 -6
- package/dist/cosmos/params/v1beta1/query.lcd.js +1 -3
- package/dist/cosmos/params/v1beta1/query.rpc.func.d.ts +0 -2
- package/dist/cosmos/params/v1beta1/query.rpc.func.js +0 -2
- package/dist/cosmos/staking/v1beta1/authz.d.ts +1 -13
- package/dist/cosmos/staking/v1beta1/authz.js +1 -7
- package/dist/cosmos/staking/v1beta1/staking.d.ts +0 -4
- package/dist/cosmos/staking/v1beta1/tx.d.ts +0 -36
- package/dist/cosmos/staking/v1beta1/tx.js +0 -8
- package/dist/cosmos/staking/v1beta1/tx.rpc.func.d.ts +0 -3
- package/dist/cosmos/staking/v1beta1/tx.rpc.func.js +0 -3
- package/dist/cosmos/store/snapshots/v1/snapshot.d.ts +0 -40
- package/dist/cosmos/store/snapshots/v1/snapshot.js +0 -10
- package/dist/cosmos/store/v1beta1/listening.d.ts +0 -8
- package/dist/cosmos/store/v1beta1/listening.js +0 -2
- package/dist/cosmos/tx/v1beta1/service.d.ts +0 -88
- package/dist/cosmos/tx/v1beta1/service.js +0 -20
- package/dist/cosmos/tx/v1beta1/service.lcd.js +1 -3
- package/dist/cosmos/tx/v1beta1/service.rpc.func.d.ts +0 -10
- package/dist/cosmos/tx/v1beta1/service.rpc.func.js +0 -10
- package/dist/cosmos/tx/v1beta1/tx.d.ts +76 -46
- package/dist/cosmos/tx/v1beta1/tx.js +28 -9
- package/dist/cosmos/upgrade/v1beta1/query.d.ts +0 -38
- package/dist/cosmos/upgrade/v1beta1/query.js +0 -8
- package/dist/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
- package/dist/cosmos/upgrade/v1beta1/query.rpc.func.d.ts +0 -4
- package/dist/cosmos/upgrade/v1beta1/query.rpc.func.js +0 -4
- package/dist/cosmos/upgrade/v1beta1/tx.d.ts +0 -32
- package/dist/cosmos/upgrade/v1beta1/tx.js +0 -8
- package/dist/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +0 -4
- package/dist/cosmos/upgrade/v1beta1/tx.rpc.func.js +0 -4
- package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -8
- package/dist/cosmos/upgrade/v1beta1/upgrade.js +0 -2
- package/dist/cosmos/vesting/v1beta1/tx.d.ts +0 -32
- package/dist/cosmos/vesting/v1beta1/tx.js +0 -8
- package/dist/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +0 -4
- package/dist/cosmos/vesting/v1beta1/tx.rpc.func.js +0 -4
- package/dist/cosmos/vesting/v1beta1/vesting.d.ts +0 -8
- package/dist/cosmos/vesting/v1beta1/vesting.js +0 -2
- package/dist/cosmos_proto/bundle.d.ts +30 -30
- package/dist/cosmos_proto/bundle.js +2 -2
- package/dist/esm/bze/bundle.js +144 -93
- package/dist/esm/bze/burner/burned_coins.js +91 -0
- package/dist/esm/bze/burner/genesis.js +21 -5
- package/dist/esm/bze/burner/params.js +29 -4
- package/dist/esm/bze/dao/events.js +1837 -0
- package/dist/esm/bze/dao/genesis.js +432 -0
- package/dist/esm/{cosmos/orm/module/v1alpha1 → bze/dao/module}/module.js +27 -23
- package/dist/esm/bze/dao/params.js +265 -0
- package/dist/esm/bze/dao/query.js +2363 -0
- package/dist/esm/bze/dao/query.lcd.js +121 -0
- package/dist/esm/bze/dao/query.rpc.func.js +162 -0
- package/dist/esm/bze/dao/store.js +1533 -0
- package/dist/esm/bze/dao/tx.js +2820 -0
- package/dist/esm/bze/dao/tx.registry.js +280 -0
- package/dist/esm/bze/dao/tx.rpc.func.js +156 -0
- package/dist/esm/bze/guardian/module/module.js +81 -0
- package/dist/esm/bze/guardian/v1/events.js +982 -0
- package/dist/esm/bze/guardian/v1/genesis.js +115 -0
- package/dist/esm/bze/guardian/v1/params.js +88 -0
- package/dist/esm/bze/guardian/v1/query.js +595 -0
- package/dist/esm/bze/guardian/v1/query.lcd.js +30 -0
- package/dist/esm/bze/guardian/v1/query.rpc.func.js +55 -0
- package/dist/esm/bze/guardian/v1/tx.js +1867 -0
- package/dist/esm/bze/guardian/v1/tx.registry.js +208 -0
- package/dist/esm/bze/guardian/v1/tx.rpc.func.js +115 -0
- package/dist/esm/bze/lcd.js +8 -5
- package/dist/esm/bze/rewards/events.js +108 -4
- package/dist/esm/bze/tokenfactory/denom_authority.js +16 -4
- package/dist/esm/bze/tokenfactory/denom_config.js +108 -0
- package/dist/esm/bze/tokenfactory/events.js +206 -0
- package/dist/esm/bze/tokenfactory/genesis.js +15 -1
- package/dist/esm/bze/tokenfactory/query.js +162 -0
- package/dist/esm/bze/tokenfactory/query.lcd.js +12 -0
- package/dist/esm/bze/tokenfactory/query.rpc.func.js +14 -1
- package/dist/esm/bze/tokenfactory/tx.js +541 -0
- package/dist/esm/bze/tokenfactory/tx.registry.js +56 -2
- package/dist/esm/bze/tokenfactory/tx.rpc.func.js +31 -1
- package/dist/esm/bze/tradebin/events.js +508 -320
- package/dist/esm/bze/tradebin/genesis.js +4 -20
- package/dist/esm/bze/tradebin/query.js +169 -0
- package/dist/esm/bze/tradebin/query.lcd.js +13 -0
- package/dist/esm/bze/tradebin/query.rpc.func.js +15 -1
- package/dist/esm/bze/tradebin/store.js +119 -178
- package/dist/esm/bze/tradebin/tx.js +285 -0
- package/dist/esm/bze/tradebin/tx.registry.js +20 -2
- package/dist/esm/bze/tradebin/tx.rpc.func.js +10 -1
- package/dist/esm/bze/tradebin/v2/params.js +61 -36
- package/dist/esm/bze/txfeecollector/events.js +221 -0
- package/dist/esm/cosmos/app/runtime/v1alpha1/module.js +34 -4
- package/dist/esm/cosmos/auth/module/v1/module.js +16 -4
- package/dist/esm/cosmos/auth/v1beta1/auth.js +0 -2
- package/dist/esm/cosmos/auth/v1beta1/query.js +0 -28
- package/dist/esm/cosmos/auth/v1beta1/query.lcd.js +7 -21
- package/dist/esm/cosmos/auth/v1beta1/query.rpc.func.js +0 -14
- package/dist/esm/cosmos/auth/v1beta1/tx.js +0 -4
- package/dist/esm/cosmos/auth/v1beta1/tx.rpc.func.js +0 -2
- package/dist/esm/cosmos/authz/v1beta1/query.lcd.js +2 -6
- package/dist/esm/cosmos/authz/v1beta1/query.rpc.func.js +0 -4
- package/dist/esm/cosmos/bank/v1beta1/authz.js +0 -2
- package/dist/esm/cosmos/bank/v1beta1/query.js +0 -20
- package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +29 -30
- package/dist/esm/cosmos/bank/v1beta1/query.rpc.func.js +15 -25
- package/dist/esm/cosmos/bank/v1beta1/tx.js +0 -8
- package/dist/esm/cosmos/bank/v1beta1/tx.rpc.func.js +0 -4
- package/dist/esm/cosmos/base/tendermint/v1beta1/query.lcd.js +1 -3
- package/dist/esm/cosmos/base/tendermint/v1beta1/query.rpc.func.js +0 -2
- package/dist/esm/cosmos/bundle.js +366 -415
- package/dist/esm/cosmos/consensus/v1/tx.rpc.func.js +0 -2
- package/dist/esm/cosmos/distribution/v1beta1/query.lcd.js +3 -1
- package/dist/esm/cosmos/distribution/v1beta1/query.rpc.func.js +2 -0
- package/dist/esm/cosmos/distribution/v1beta1/tx.js +0 -12
- package/dist/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +3 -5
- package/dist/esm/cosmos/feegrant/v1beta1/query.js +0 -4
- package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
- package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.func.js +0 -2
- package/dist/esm/cosmos/feegrant/v1beta1/tx.js +0 -4
- package/dist/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +0 -2
- package/dist/esm/cosmos/gov/v1/gov.js +0 -2
- package/dist/esm/cosmos/gov/v1/tx.js +0 -8
- package/dist/esm/cosmos/gov/v1/tx.rpc.func.js +0 -4
- package/dist/esm/cosmos/gov/v1beta1/gov.js +0 -2
- package/dist/esm/cosmos/gov/v1beta1/tx.js +0 -4
- package/dist/esm/cosmos/gov/v1beta1/tx.rpc.func.js +0 -2
- package/dist/esm/cosmos/lcd.js +0 -5
- package/dist/esm/cosmos/mint/v1beta1/tx.js +0 -4
- package/dist/esm/cosmos/mint/v1beta1/tx.rpc.func.js +0 -2
- package/dist/esm/cosmos/params/v1beta1/query.js +0 -6
- package/dist/esm/cosmos/params/v1beta1/query.lcd.js +1 -3
- package/dist/esm/cosmos/params/v1beta1/query.rpc.func.js +0 -2
- package/dist/esm/cosmos/staking/v1beta1/authz.js +1 -7
- package/dist/esm/cosmos/staking/v1beta1/tx.js +0 -8
- package/dist/esm/cosmos/staking/v1beta1/tx.rpc.func.js +0 -3
- package/dist/esm/cosmos/store/snapshots/v1/snapshot.js +0 -10
- package/dist/esm/cosmos/store/v1beta1/listening.js +0 -2
- package/dist/esm/cosmos/tx/v1beta1/service.js +0 -20
- package/dist/esm/cosmos/tx/v1beta1/service.lcd.js +1 -3
- package/dist/esm/cosmos/tx/v1beta1/service.rpc.func.js +0 -10
- package/dist/esm/cosmos/tx/v1beta1/tx.js +29 -10
- package/dist/esm/cosmos/upgrade/v1beta1/query.js +0 -8
- package/dist/esm/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
- package/dist/esm/cosmos/upgrade/v1beta1/query.rpc.func.js +0 -4
- package/dist/esm/cosmos/upgrade/v1beta1/tx.js +0 -8
- package/dist/esm/cosmos/upgrade/v1beta1/tx.rpc.func.js +0 -4
- package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +0 -2
- package/dist/esm/cosmos/vesting/v1beta1/tx.js +0 -8
- package/dist/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +0 -4
- package/dist/esm/cosmos/vesting/v1beta1/vesting.js +0 -2
- package/dist/esm/cosmos_proto/bundle.js +2 -2
- package/dist/esm/gogoproto/bundle.js +2 -2
- package/dist/esm/google/bundle.js +8 -8
- package/dist/esm/ibc/applications/transfer/v1/tx.js +4 -16
- package/dist/esm/ibc/bundle.js +93 -121
- package/dist/esm/ibc/core/client/v1/tx.js +187 -0
- package/dist/esm/ibc/core/client/v1/tx.registry.js +20 -2
- package/dist/esm/ibc/core/client/v1/tx.rpc.func.js +10 -1
- package/dist/esm/ibc/lcd.js +0 -10
- package/dist/esm/ibc/lightclients/wasm/v1/wasm.js +93 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/ratelimit/bundle.js +35 -0
- package/dist/esm/ratelimit/lcd.js +106 -0
- package/dist/esm/ratelimit/module/v1/module.js +81 -0
- package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/genesis.js +49 -27
- package/dist/esm/ratelimit/v1/params.js +68 -0
- package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/query.js +105 -195
- package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/query.lcd.js +10 -10
- package/dist/esm/ratelimit/v1/query.rpc.func.js +83 -0
- package/dist/esm/{ibc/applications/rate_limiting/v1/rate_limiting.js → ratelimit/v1/ratelimit.js} +29 -73
- package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/tx.js +77 -109
- package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/tx.registry.js +13 -13
- package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/tx.rpc.func.js +9 -9
- package/dist/esm/tendermint/bundle.js +20 -20
- package/dist/gogoproto/bundle.js +2 -2
- package/dist/google/bundle.d.ts +550 -550
- package/dist/google/bundle.js +8 -8
- package/dist/ibc/applications/transfer/v1/tx.d.ts +0 -19
- package/dist/ibc/applications/transfer/v1/tx.js +4 -16
- package/dist/ibc/bundle.d.ts +506 -1065
- package/dist/ibc/bundle.js +93 -121
- package/dist/ibc/core/client/v1/tx.d.ts +155 -0
- package/dist/ibc/core/client/v1/tx.js +188 -1
- package/dist/ibc/core/client/v1/tx.registry.d.ts +13 -1
- package/dist/ibc/core/client/v1/tx.registry.js +19 -1
- package/dist/ibc/core/client/v1/tx.rpc.func.d.ts +8 -1
- package/dist/ibc/core/client/v1/tx.rpc.func.js +10 -1
- package/dist/ibc/lcd.d.ts +0 -6
- package/dist/ibc/lcd.js +0 -10
- package/dist/ibc/lightclients/wasm/v1/wasm.d.ts +75 -0
- package/dist/ibc/lightclients/wasm/v1/wasm.js +94 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/ratelimit/bundle.d.ts +625 -0
- package/dist/ratelimit/bundle.js +71 -0
- package/dist/ratelimit/lcd.d.ts +63 -0
- package/dist/ratelimit/lcd.js +143 -0
- package/dist/ratelimit/module/v1/module.d.ts +64 -0
- package/dist/ratelimit/module/v1/module.js +84 -0
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/genesis.d.ts +19 -14
- package/dist/ratelimit/v1/genesis.js +182 -0
- package/dist/ratelimit/v1/params.d.ts +55 -0
- package/dist/ratelimit/v1/params.js +71 -0
- package/dist/ratelimit/v1/query.d.ts +656 -0
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/query.js +142 -232
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/query.lcd.d.ts +3 -3
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/query.lcd.js +10 -10
- package/dist/ratelimit/v1/query.rpc.func.d.ts +45 -0
- package/dist/ratelimit/v1/query.rpc.func.js +86 -0
- package/dist/{ibc/applications/rate_limiting/v1/rate_limiting.d.ts → ratelimit/v1/ratelimit.d.ts} +62 -82
- package/dist/{ibc/applications/rate_limiting/v1/rate_limiting.js → ratelimit/v1/ratelimit.js} +29 -73
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.d.ts +97 -121
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.js +77 -109
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.registry.d.ts +1 -1
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.registry.js +13 -13
- package/dist/ratelimit/v1/tx.rpc.func.d.ts +29 -0
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.rpc.func.js +9 -9
- package/dist/tendermint/bundle.d.ts +1120 -1120
- package/dist/tendermint/bundle.js +20 -20
- package/package.json +10 -5
- package/dist/cosmos/group/module/v1/module.d.ts +0 -80
- package/dist/cosmos/group/module/v1/module.js +0 -104
- package/dist/cosmos/group/v1/events.d.ts +0 -771
- package/dist/cosmos/group/v1/events.js +0 -1031
- package/dist/cosmos/group/v1/genesis.d.ts +0 -136
- package/dist/cosmos/group/v1/genesis.js +0 -201
- package/dist/cosmos/group/v1/query.d.ts +0 -2001
- package/dist/cosmos/group/v1/query.js +0 -2787
- package/dist/cosmos/group/v1/query.lcd.d.ts +0 -22
- package/dist/cosmos/group/v1/query.lcd.js +0 -158
- package/dist/cosmos/group/v1/query.rpc.func.d.ts +0 -105
- package/dist/cosmos/group/v1/query.rpc.func.js +0 -194
- package/dist/cosmos/group/v1/tx.d.ts +0 -2124
- package/dist/cosmos/group/v1/tx.js +0 -2821
- package/dist/cosmos/group/v1/tx.registry.d.ts +0 -179
- package/dist/cosmos/group/v1/tx.registry.js +0 -265
- package/dist/cosmos/group/v1/tx.rpc.func.d.ts +0 -99
- package/dist/cosmos/group/v1/tx.rpc.func.js +0 -132
- package/dist/cosmos/group/v1/types.d.ts +0 -1297
- package/dist/cosmos/group/v1/types.js +0 -1677
- package/dist/cosmos/orm/module/v1alpha1/module.d.ts +0 -65
- package/dist/cosmos/orm/query/v1alpha1/query.d.ts +0 -622
- package/dist/cosmos/orm/query/v1alpha1/query.js +0 -835
- package/dist/cosmos/orm/query/v1alpha1/query.rpc.func.d.ts +0 -15
- package/dist/cosmos/orm/query/v1alpha1/query.rpc.func.js +0 -32
- package/dist/esm/cosmos/group/module/v1/module.js +0 -101
- package/dist/esm/cosmos/group/v1/events.js +0 -1028
- package/dist/esm/cosmos/group/v1/genesis.js +0 -198
- package/dist/esm/cosmos/group/v1/query.js +0 -2784
- package/dist/esm/cosmos/group/v1/query.lcd.js +0 -154
- package/dist/esm/cosmos/group/v1/query.rpc.func.js +0 -191
- package/dist/esm/cosmos/group/v1/tx.js +0 -2816
- package/dist/esm/cosmos/group/v1/tx.registry.js +0 -262
- package/dist/esm/cosmos/group/v1/tx.rpc.func.js +0 -129
- package/dist/esm/cosmos/group/v1/types.js +0 -1668
- package/dist/esm/cosmos/orm/query/v1alpha1/query.js +0 -832
- package/dist/esm/cosmos/orm/query/v1alpha1/query.rpc.func.js +0 -29
- package/dist/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +0 -409
- package/dist/esm/ibc/applications/rate_limiting/v1/query.rpc.func.js +0 -83
- package/dist/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +0 -225
- package/dist/ibc/applications/packet_forward_middleware/v1/genesis.js +0 -412
- package/dist/ibc/applications/rate_limiting/v1/genesis.js +0 -160
- package/dist/ibc/applications/rate_limiting/v1/query.d.ts +0 -704
- package/dist/ibc/applications/rate_limiting/v1/query.rpc.func.d.ts +0 -45
- package/dist/ibc/applications/rate_limiting/v1/query.rpc.func.js +0 -86
- package/dist/ibc/applications/rate_limiting/v1/tx.rpc.func.d.ts +0 -29
|
@@ -0,0 +1,1867 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Params } from "./params";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
|
+
function createBaseMsgUpdateParams() {
|
|
6
|
+
return {
|
|
7
|
+
authority: "",
|
|
8
|
+
params: Params.fromPartial({})
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
13
|
+
* @name MsgUpdateParams
|
|
14
|
+
* @package bze.guardian.v1
|
|
15
|
+
* @see proto type: bze.guardian.v1.MsgUpdateParams
|
|
16
|
+
*/
|
|
17
|
+
export const MsgUpdateParams = {
|
|
18
|
+
typeUrl: "/bze.guardian.v1.MsgUpdateParams",
|
|
19
|
+
aminoType: "bze/x/guardian/MsgUpdateParams",
|
|
20
|
+
is(o) {
|
|
21
|
+
return o && (o.$typeUrl === MsgUpdateParams.typeUrl || typeof o.authority === "string" && Params.is(o.params));
|
|
22
|
+
},
|
|
23
|
+
isSDK(o) {
|
|
24
|
+
return o && (o.$typeUrl === MsgUpdateParams.typeUrl || typeof o.authority === "string" && Params.isSDK(o.params));
|
|
25
|
+
},
|
|
26
|
+
isAmino(o) {
|
|
27
|
+
return o && (o.$typeUrl === MsgUpdateParams.typeUrl || typeof o.authority === "string" && Params.isAmino(o.params));
|
|
28
|
+
},
|
|
29
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
30
|
+
if (message.authority !== "") {
|
|
31
|
+
writer.uint32(10).string(message.authority);
|
|
32
|
+
}
|
|
33
|
+
if (message.params !== undefined) {
|
|
34
|
+
Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
|
35
|
+
}
|
|
36
|
+
return writer;
|
|
37
|
+
},
|
|
38
|
+
decode(input, length) {
|
|
39
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
40
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
41
|
+
const message = createBaseMsgUpdateParams();
|
|
42
|
+
while (reader.pos < end) {
|
|
43
|
+
const tag = reader.uint32();
|
|
44
|
+
switch (tag >>> 3) {
|
|
45
|
+
case 1:
|
|
46
|
+
message.authority = reader.string();
|
|
47
|
+
break;
|
|
48
|
+
case 2:
|
|
49
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
50
|
+
break;
|
|
51
|
+
default:
|
|
52
|
+
reader.skipType(tag & 7);
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return message;
|
|
57
|
+
},
|
|
58
|
+
fromPartial(object) {
|
|
59
|
+
const message = createBaseMsgUpdateParams();
|
|
60
|
+
message.authority = object.authority ?? "";
|
|
61
|
+
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
fromAmino(object) {
|
|
65
|
+
const message = createBaseMsgUpdateParams();
|
|
66
|
+
if (object.authority !== undefined && object.authority !== null) {
|
|
67
|
+
message.authority = object.authority;
|
|
68
|
+
}
|
|
69
|
+
if (object.params !== undefined && object.params !== null) {
|
|
70
|
+
message.params = Params.fromAmino(object.params);
|
|
71
|
+
}
|
|
72
|
+
return message;
|
|
73
|
+
},
|
|
74
|
+
toAmino(message) {
|
|
75
|
+
const obj = {};
|
|
76
|
+
obj.authority = message.authority === "" ? undefined : message.authority;
|
|
77
|
+
obj.params = message.params ? Params.toAmino(message.params) : Params.toAmino(Params.fromPartial({}));
|
|
78
|
+
return obj;
|
|
79
|
+
},
|
|
80
|
+
fromAminoMsg(object) {
|
|
81
|
+
return MsgUpdateParams.fromAmino(object.value);
|
|
82
|
+
},
|
|
83
|
+
toAminoMsg(message) {
|
|
84
|
+
return {
|
|
85
|
+
type: "bze/x/guardian/MsgUpdateParams",
|
|
86
|
+
value: MsgUpdateParams.toAmino(message)
|
|
87
|
+
};
|
|
88
|
+
},
|
|
89
|
+
fromProtoMsg(message) {
|
|
90
|
+
return MsgUpdateParams.decode(message.value);
|
|
91
|
+
},
|
|
92
|
+
toProto(message) {
|
|
93
|
+
return MsgUpdateParams.encode(message).finish();
|
|
94
|
+
},
|
|
95
|
+
toProtoMsg(message) {
|
|
96
|
+
return {
|
|
97
|
+
typeUrl: "/bze.guardian.v1.MsgUpdateParams",
|
|
98
|
+
value: MsgUpdateParams.encode(message).finish()
|
|
99
|
+
};
|
|
100
|
+
},
|
|
101
|
+
registerTypeUrl() {
|
|
102
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgUpdateParams.typeUrl)) {
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
Params.registerTypeUrl();
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
function createBaseMsgUpdateParamsResponse() {
|
|
109
|
+
return {};
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
113
|
+
* MsgUpdateParams message.
|
|
114
|
+
* @name MsgUpdateParamsResponse
|
|
115
|
+
* @package bze.guardian.v1
|
|
116
|
+
* @see proto type: bze.guardian.v1.MsgUpdateParamsResponse
|
|
117
|
+
*/
|
|
118
|
+
export const MsgUpdateParamsResponse = {
|
|
119
|
+
typeUrl: "/bze.guardian.v1.MsgUpdateParamsResponse",
|
|
120
|
+
is(o) {
|
|
121
|
+
return o && o.$typeUrl === MsgUpdateParamsResponse.typeUrl;
|
|
122
|
+
},
|
|
123
|
+
isSDK(o) {
|
|
124
|
+
return o && o.$typeUrl === MsgUpdateParamsResponse.typeUrl;
|
|
125
|
+
},
|
|
126
|
+
isAmino(o) {
|
|
127
|
+
return o && o.$typeUrl === MsgUpdateParamsResponse.typeUrl;
|
|
128
|
+
},
|
|
129
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
130
|
+
return writer;
|
|
131
|
+
},
|
|
132
|
+
decode(input, length) {
|
|
133
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
134
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
135
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
136
|
+
while (reader.pos < end) {
|
|
137
|
+
const tag = reader.uint32();
|
|
138
|
+
switch (tag >>> 3) {
|
|
139
|
+
default:
|
|
140
|
+
reader.skipType(tag & 7);
|
|
141
|
+
break;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
return message;
|
|
145
|
+
},
|
|
146
|
+
fromPartial(_) {
|
|
147
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
148
|
+
return message;
|
|
149
|
+
},
|
|
150
|
+
fromAmino(_) {
|
|
151
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
152
|
+
return message;
|
|
153
|
+
},
|
|
154
|
+
toAmino(_) {
|
|
155
|
+
const obj = {};
|
|
156
|
+
return obj;
|
|
157
|
+
},
|
|
158
|
+
fromAminoMsg(object) {
|
|
159
|
+
return MsgUpdateParamsResponse.fromAmino(object.value);
|
|
160
|
+
},
|
|
161
|
+
fromProtoMsg(message) {
|
|
162
|
+
return MsgUpdateParamsResponse.decode(message.value);
|
|
163
|
+
},
|
|
164
|
+
toProto(message) {
|
|
165
|
+
return MsgUpdateParamsResponse.encode(message).finish();
|
|
166
|
+
},
|
|
167
|
+
toProtoMsg(message) {
|
|
168
|
+
return {
|
|
169
|
+
typeUrl: "/bze.guardian.v1.MsgUpdateParamsResponse",
|
|
170
|
+
value: MsgUpdateParamsResponse.encode(message).finish()
|
|
171
|
+
};
|
|
172
|
+
},
|
|
173
|
+
registerTypeUrl() { }
|
|
174
|
+
};
|
|
175
|
+
function createBaseMsgTightenRateLimit() {
|
|
176
|
+
return {
|
|
177
|
+
signer: "",
|
|
178
|
+
denom: "",
|
|
179
|
+
channelId: "",
|
|
180
|
+
maxPercentSend: "",
|
|
181
|
+
maxPercentRecv: ""
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* MsgTightenRateLimit is the Msg/TightenRateLimit request type.
|
|
186
|
+
* @name MsgTightenRateLimit
|
|
187
|
+
* @package bze.guardian.v1
|
|
188
|
+
* @see proto type: bze.guardian.v1.MsgTightenRateLimit
|
|
189
|
+
*/
|
|
190
|
+
export const MsgTightenRateLimit = {
|
|
191
|
+
typeUrl: "/bze.guardian.v1.MsgTightenRateLimit",
|
|
192
|
+
aminoType: "bze/x/guardian/MsgTightenRateLimit",
|
|
193
|
+
is(o) {
|
|
194
|
+
return o && (o.$typeUrl === MsgTightenRateLimit.typeUrl || typeof o.signer === "string" && typeof o.denom === "string" && typeof o.channelId === "string" && typeof o.maxPercentSend === "string" && typeof o.maxPercentRecv === "string");
|
|
195
|
+
},
|
|
196
|
+
isSDK(o) {
|
|
197
|
+
return o && (o.$typeUrl === MsgTightenRateLimit.typeUrl || typeof o.signer === "string" && typeof o.denom === "string" && typeof o.channel_id === "string" && typeof o.max_percent_send === "string" && typeof o.max_percent_recv === "string");
|
|
198
|
+
},
|
|
199
|
+
isAmino(o) {
|
|
200
|
+
return o && (o.$typeUrl === MsgTightenRateLimit.typeUrl || typeof o.signer === "string" && typeof o.denom === "string" && typeof o.channel_id === "string" && typeof o.max_percent_send === "string" && typeof o.max_percent_recv === "string");
|
|
201
|
+
},
|
|
202
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
203
|
+
if (message.signer !== "") {
|
|
204
|
+
writer.uint32(10).string(message.signer);
|
|
205
|
+
}
|
|
206
|
+
if (message.denom !== "") {
|
|
207
|
+
writer.uint32(18).string(message.denom);
|
|
208
|
+
}
|
|
209
|
+
if (message.channelId !== "") {
|
|
210
|
+
writer.uint32(26).string(message.channelId);
|
|
211
|
+
}
|
|
212
|
+
if (message.maxPercentSend !== "") {
|
|
213
|
+
writer.uint32(34).string(message.maxPercentSend);
|
|
214
|
+
}
|
|
215
|
+
if (message.maxPercentRecv !== "") {
|
|
216
|
+
writer.uint32(42).string(message.maxPercentRecv);
|
|
217
|
+
}
|
|
218
|
+
return writer;
|
|
219
|
+
},
|
|
220
|
+
decode(input, length) {
|
|
221
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
222
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
223
|
+
const message = createBaseMsgTightenRateLimit();
|
|
224
|
+
while (reader.pos < end) {
|
|
225
|
+
const tag = reader.uint32();
|
|
226
|
+
switch (tag >>> 3) {
|
|
227
|
+
case 1:
|
|
228
|
+
message.signer = reader.string();
|
|
229
|
+
break;
|
|
230
|
+
case 2:
|
|
231
|
+
message.denom = reader.string();
|
|
232
|
+
break;
|
|
233
|
+
case 3:
|
|
234
|
+
message.channelId = reader.string();
|
|
235
|
+
break;
|
|
236
|
+
case 4:
|
|
237
|
+
message.maxPercentSend = reader.string();
|
|
238
|
+
break;
|
|
239
|
+
case 5:
|
|
240
|
+
message.maxPercentRecv = reader.string();
|
|
241
|
+
break;
|
|
242
|
+
default:
|
|
243
|
+
reader.skipType(tag & 7);
|
|
244
|
+
break;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
return message;
|
|
248
|
+
},
|
|
249
|
+
fromPartial(object) {
|
|
250
|
+
const message = createBaseMsgTightenRateLimit();
|
|
251
|
+
message.signer = object.signer ?? "";
|
|
252
|
+
message.denom = object.denom ?? "";
|
|
253
|
+
message.channelId = object.channelId ?? "";
|
|
254
|
+
message.maxPercentSend = object.maxPercentSend ?? "";
|
|
255
|
+
message.maxPercentRecv = object.maxPercentRecv ?? "";
|
|
256
|
+
return message;
|
|
257
|
+
},
|
|
258
|
+
fromAmino(object) {
|
|
259
|
+
const message = createBaseMsgTightenRateLimit();
|
|
260
|
+
if (object.signer !== undefined && object.signer !== null) {
|
|
261
|
+
message.signer = object.signer;
|
|
262
|
+
}
|
|
263
|
+
if (object.denom !== undefined && object.denom !== null) {
|
|
264
|
+
message.denom = object.denom;
|
|
265
|
+
}
|
|
266
|
+
if (object.channel_id !== undefined && object.channel_id !== null) {
|
|
267
|
+
message.channelId = object.channel_id;
|
|
268
|
+
}
|
|
269
|
+
if (object.max_percent_send !== undefined && object.max_percent_send !== null) {
|
|
270
|
+
message.maxPercentSend = object.max_percent_send;
|
|
271
|
+
}
|
|
272
|
+
if (object.max_percent_recv !== undefined && object.max_percent_recv !== null) {
|
|
273
|
+
message.maxPercentRecv = object.max_percent_recv;
|
|
274
|
+
}
|
|
275
|
+
return message;
|
|
276
|
+
},
|
|
277
|
+
toAmino(message) {
|
|
278
|
+
const obj = {};
|
|
279
|
+
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
280
|
+
obj.denom = message.denom === "" ? undefined : message.denom;
|
|
281
|
+
obj.channel_id = message.channelId === "" ? undefined : message.channelId;
|
|
282
|
+
obj.max_percent_send = message.maxPercentSend === "" ? undefined : message.maxPercentSend;
|
|
283
|
+
obj.max_percent_recv = message.maxPercentRecv === "" ? undefined : message.maxPercentRecv;
|
|
284
|
+
return obj;
|
|
285
|
+
},
|
|
286
|
+
fromAminoMsg(object) {
|
|
287
|
+
return MsgTightenRateLimit.fromAmino(object.value);
|
|
288
|
+
},
|
|
289
|
+
toAminoMsg(message) {
|
|
290
|
+
return {
|
|
291
|
+
type: "bze/x/guardian/MsgTightenRateLimit",
|
|
292
|
+
value: MsgTightenRateLimit.toAmino(message)
|
|
293
|
+
};
|
|
294
|
+
},
|
|
295
|
+
fromProtoMsg(message) {
|
|
296
|
+
return MsgTightenRateLimit.decode(message.value);
|
|
297
|
+
},
|
|
298
|
+
toProto(message) {
|
|
299
|
+
return MsgTightenRateLimit.encode(message).finish();
|
|
300
|
+
},
|
|
301
|
+
toProtoMsg(message) {
|
|
302
|
+
return {
|
|
303
|
+
typeUrl: "/bze.guardian.v1.MsgTightenRateLimit",
|
|
304
|
+
value: MsgTightenRateLimit.encode(message).finish()
|
|
305
|
+
};
|
|
306
|
+
},
|
|
307
|
+
registerTypeUrl() { }
|
|
308
|
+
};
|
|
309
|
+
function createBaseMsgTightenRateLimitResponse() {
|
|
310
|
+
return {};
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* MsgTightenRateLimitResponse defines the response structure for executing a
|
|
314
|
+
* MsgTightenRateLimit message.
|
|
315
|
+
* @name MsgTightenRateLimitResponse
|
|
316
|
+
* @package bze.guardian.v1
|
|
317
|
+
* @see proto type: bze.guardian.v1.MsgTightenRateLimitResponse
|
|
318
|
+
*/
|
|
319
|
+
export const MsgTightenRateLimitResponse = {
|
|
320
|
+
typeUrl: "/bze.guardian.v1.MsgTightenRateLimitResponse",
|
|
321
|
+
is(o) {
|
|
322
|
+
return o && o.$typeUrl === MsgTightenRateLimitResponse.typeUrl;
|
|
323
|
+
},
|
|
324
|
+
isSDK(o) {
|
|
325
|
+
return o && o.$typeUrl === MsgTightenRateLimitResponse.typeUrl;
|
|
326
|
+
},
|
|
327
|
+
isAmino(o) {
|
|
328
|
+
return o && o.$typeUrl === MsgTightenRateLimitResponse.typeUrl;
|
|
329
|
+
},
|
|
330
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
331
|
+
return writer;
|
|
332
|
+
},
|
|
333
|
+
decode(input, length) {
|
|
334
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
335
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
336
|
+
const message = createBaseMsgTightenRateLimitResponse();
|
|
337
|
+
while (reader.pos < end) {
|
|
338
|
+
const tag = reader.uint32();
|
|
339
|
+
switch (tag >>> 3) {
|
|
340
|
+
default:
|
|
341
|
+
reader.skipType(tag & 7);
|
|
342
|
+
break;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
return message;
|
|
346
|
+
},
|
|
347
|
+
fromPartial(_) {
|
|
348
|
+
const message = createBaseMsgTightenRateLimitResponse();
|
|
349
|
+
return message;
|
|
350
|
+
},
|
|
351
|
+
fromAmino(_) {
|
|
352
|
+
const message = createBaseMsgTightenRateLimitResponse();
|
|
353
|
+
return message;
|
|
354
|
+
},
|
|
355
|
+
toAmino(_) {
|
|
356
|
+
const obj = {};
|
|
357
|
+
return obj;
|
|
358
|
+
},
|
|
359
|
+
fromAminoMsg(object) {
|
|
360
|
+
return MsgTightenRateLimitResponse.fromAmino(object.value);
|
|
361
|
+
},
|
|
362
|
+
fromProtoMsg(message) {
|
|
363
|
+
return MsgTightenRateLimitResponse.decode(message.value);
|
|
364
|
+
},
|
|
365
|
+
toProto(message) {
|
|
366
|
+
return MsgTightenRateLimitResponse.encode(message).finish();
|
|
367
|
+
},
|
|
368
|
+
toProtoMsg(message) {
|
|
369
|
+
return {
|
|
370
|
+
typeUrl: "/bze.guardian.v1.MsgTightenRateLimitResponse",
|
|
371
|
+
value: MsgTightenRateLimitResponse.encode(message).finish()
|
|
372
|
+
};
|
|
373
|
+
},
|
|
374
|
+
registerTypeUrl() { }
|
|
375
|
+
};
|
|
376
|
+
function createBaseMsgBlockDenom() {
|
|
377
|
+
return {
|
|
378
|
+
signer: "",
|
|
379
|
+
denom: ""
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* MsgBlockDenom is the Msg/BlockDenom request type.
|
|
384
|
+
* @name MsgBlockDenom
|
|
385
|
+
* @package bze.guardian.v1
|
|
386
|
+
* @see proto type: bze.guardian.v1.MsgBlockDenom
|
|
387
|
+
*/
|
|
388
|
+
export const MsgBlockDenom = {
|
|
389
|
+
typeUrl: "/bze.guardian.v1.MsgBlockDenom",
|
|
390
|
+
aminoType: "bze/x/guardian/MsgBlockDenom",
|
|
391
|
+
is(o) {
|
|
392
|
+
return o && (o.$typeUrl === MsgBlockDenom.typeUrl || typeof o.signer === "string" && typeof o.denom === "string");
|
|
393
|
+
},
|
|
394
|
+
isSDK(o) {
|
|
395
|
+
return o && (o.$typeUrl === MsgBlockDenom.typeUrl || typeof o.signer === "string" && typeof o.denom === "string");
|
|
396
|
+
},
|
|
397
|
+
isAmino(o) {
|
|
398
|
+
return o && (o.$typeUrl === MsgBlockDenom.typeUrl || typeof o.signer === "string" && typeof o.denom === "string");
|
|
399
|
+
},
|
|
400
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
401
|
+
if (message.signer !== "") {
|
|
402
|
+
writer.uint32(10).string(message.signer);
|
|
403
|
+
}
|
|
404
|
+
if (message.denom !== "") {
|
|
405
|
+
writer.uint32(18).string(message.denom);
|
|
406
|
+
}
|
|
407
|
+
return writer;
|
|
408
|
+
},
|
|
409
|
+
decode(input, length) {
|
|
410
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
411
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
412
|
+
const message = createBaseMsgBlockDenom();
|
|
413
|
+
while (reader.pos < end) {
|
|
414
|
+
const tag = reader.uint32();
|
|
415
|
+
switch (tag >>> 3) {
|
|
416
|
+
case 1:
|
|
417
|
+
message.signer = reader.string();
|
|
418
|
+
break;
|
|
419
|
+
case 2:
|
|
420
|
+
message.denom = reader.string();
|
|
421
|
+
break;
|
|
422
|
+
default:
|
|
423
|
+
reader.skipType(tag & 7);
|
|
424
|
+
break;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
return message;
|
|
428
|
+
},
|
|
429
|
+
fromPartial(object) {
|
|
430
|
+
const message = createBaseMsgBlockDenom();
|
|
431
|
+
message.signer = object.signer ?? "";
|
|
432
|
+
message.denom = object.denom ?? "";
|
|
433
|
+
return message;
|
|
434
|
+
},
|
|
435
|
+
fromAmino(object) {
|
|
436
|
+
const message = createBaseMsgBlockDenom();
|
|
437
|
+
if (object.signer !== undefined && object.signer !== null) {
|
|
438
|
+
message.signer = object.signer;
|
|
439
|
+
}
|
|
440
|
+
if (object.denom !== undefined && object.denom !== null) {
|
|
441
|
+
message.denom = object.denom;
|
|
442
|
+
}
|
|
443
|
+
return message;
|
|
444
|
+
},
|
|
445
|
+
toAmino(message) {
|
|
446
|
+
const obj = {};
|
|
447
|
+
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
448
|
+
obj.denom = message.denom === "" ? undefined : message.denom;
|
|
449
|
+
return obj;
|
|
450
|
+
},
|
|
451
|
+
fromAminoMsg(object) {
|
|
452
|
+
return MsgBlockDenom.fromAmino(object.value);
|
|
453
|
+
},
|
|
454
|
+
toAminoMsg(message) {
|
|
455
|
+
return {
|
|
456
|
+
type: "bze/x/guardian/MsgBlockDenom",
|
|
457
|
+
value: MsgBlockDenom.toAmino(message)
|
|
458
|
+
};
|
|
459
|
+
},
|
|
460
|
+
fromProtoMsg(message) {
|
|
461
|
+
return MsgBlockDenom.decode(message.value);
|
|
462
|
+
},
|
|
463
|
+
toProto(message) {
|
|
464
|
+
return MsgBlockDenom.encode(message).finish();
|
|
465
|
+
},
|
|
466
|
+
toProtoMsg(message) {
|
|
467
|
+
return {
|
|
468
|
+
typeUrl: "/bze.guardian.v1.MsgBlockDenom",
|
|
469
|
+
value: MsgBlockDenom.encode(message).finish()
|
|
470
|
+
};
|
|
471
|
+
},
|
|
472
|
+
registerTypeUrl() { }
|
|
473
|
+
};
|
|
474
|
+
function createBaseMsgBlockDenomResponse() {
|
|
475
|
+
return {};
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* MsgBlockDenomResponse defines the response structure for executing a
|
|
479
|
+
* MsgBlockDenom message.
|
|
480
|
+
* @name MsgBlockDenomResponse
|
|
481
|
+
* @package bze.guardian.v1
|
|
482
|
+
* @see proto type: bze.guardian.v1.MsgBlockDenomResponse
|
|
483
|
+
*/
|
|
484
|
+
export const MsgBlockDenomResponse = {
|
|
485
|
+
typeUrl: "/bze.guardian.v1.MsgBlockDenomResponse",
|
|
486
|
+
is(o) {
|
|
487
|
+
return o && o.$typeUrl === MsgBlockDenomResponse.typeUrl;
|
|
488
|
+
},
|
|
489
|
+
isSDK(o) {
|
|
490
|
+
return o && o.$typeUrl === MsgBlockDenomResponse.typeUrl;
|
|
491
|
+
},
|
|
492
|
+
isAmino(o) {
|
|
493
|
+
return o && o.$typeUrl === MsgBlockDenomResponse.typeUrl;
|
|
494
|
+
},
|
|
495
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
496
|
+
return writer;
|
|
497
|
+
},
|
|
498
|
+
decode(input, length) {
|
|
499
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
500
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
501
|
+
const message = createBaseMsgBlockDenomResponse();
|
|
502
|
+
while (reader.pos < end) {
|
|
503
|
+
const tag = reader.uint32();
|
|
504
|
+
switch (tag >>> 3) {
|
|
505
|
+
default:
|
|
506
|
+
reader.skipType(tag & 7);
|
|
507
|
+
break;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
return message;
|
|
511
|
+
},
|
|
512
|
+
fromPartial(_) {
|
|
513
|
+
const message = createBaseMsgBlockDenomResponse();
|
|
514
|
+
return message;
|
|
515
|
+
},
|
|
516
|
+
fromAmino(_) {
|
|
517
|
+
const message = createBaseMsgBlockDenomResponse();
|
|
518
|
+
return message;
|
|
519
|
+
},
|
|
520
|
+
toAmino(_) {
|
|
521
|
+
const obj = {};
|
|
522
|
+
return obj;
|
|
523
|
+
},
|
|
524
|
+
fromAminoMsg(object) {
|
|
525
|
+
return MsgBlockDenomResponse.fromAmino(object.value);
|
|
526
|
+
},
|
|
527
|
+
fromProtoMsg(message) {
|
|
528
|
+
return MsgBlockDenomResponse.decode(message.value);
|
|
529
|
+
},
|
|
530
|
+
toProto(message) {
|
|
531
|
+
return MsgBlockDenomResponse.encode(message).finish();
|
|
532
|
+
},
|
|
533
|
+
toProtoMsg(message) {
|
|
534
|
+
return {
|
|
535
|
+
typeUrl: "/bze.guardian.v1.MsgBlockDenomResponse",
|
|
536
|
+
value: MsgBlockDenomResponse.encode(message).finish()
|
|
537
|
+
};
|
|
538
|
+
},
|
|
539
|
+
registerTypeUrl() { }
|
|
540
|
+
};
|
|
541
|
+
function createBaseMsgUnblockDenom() {
|
|
542
|
+
return {
|
|
543
|
+
authority: "",
|
|
544
|
+
denom: ""
|
|
545
|
+
};
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* MsgUnblockDenom is the Msg/UnblockDenom request type.
|
|
549
|
+
* @name MsgUnblockDenom
|
|
550
|
+
* @package bze.guardian.v1
|
|
551
|
+
* @see proto type: bze.guardian.v1.MsgUnblockDenom
|
|
552
|
+
*/
|
|
553
|
+
export const MsgUnblockDenom = {
|
|
554
|
+
typeUrl: "/bze.guardian.v1.MsgUnblockDenom",
|
|
555
|
+
aminoType: "bze/x/guardian/MsgUnblockDenom",
|
|
556
|
+
is(o) {
|
|
557
|
+
return o && (o.$typeUrl === MsgUnblockDenom.typeUrl || typeof o.authority === "string" && typeof o.denom === "string");
|
|
558
|
+
},
|
|
559
|
+
isSDK(o) {
|
|
560
|
+
return o && (o.$typeUrl === MsgUnblockDenom.typeUrl || typeof o.authority === "string" && typeof o.denom === "string");
|
|
561
|
+
},
|
|
562
|
+
isAmino(o) {
|
|
563
|
+
return o && (o.$typeUrl === MsgUnblockDenom.typeUrl || typeof o.authority === "string" && typeof o.denom === "string");
|
|
564
|
+
},
|
|
565
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
566
|
+
if (message.authority !== "") {
|
|
567
|
+
writer.uint32(10).string(message.authority);
|
|
568
|
+
}
|
|
569
|
+
if (message.denom !== "") {
|
|
570
|
+
writer.uint32(18).string(message.denom);
|
|
571
|
+
}
|
|
572
|
+
return writer;
|
|
573
|
+
},
|
|
574
|
+
decode(input, length) {
|
|
575
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
576
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
577
|
+
const message = createBaseMsgUnblockDenom();
|
|
578
|
+
while (reader.pos < end) {
|
|
579
|
+
const tag = reader.uint32();
|
|
580
|
+
switch (tag >>> 3) {
|
|
581
|
+
case 1:
|
|
582
|
+
message.authority = reader.string();
|
|
583
|
+
break;
|
|
584
|
+
case 2:
|
|
585
|
+
message.denom = reader.string();
|
|
586
|
+
break;
|
|
587
|
+
default:
|
|
588
|
+
reader.skipType(tag & 7);
|
|
589
|
+
break;
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
return message;
|
|
593
|
+
},
|
|
594
|
+
fromPartial(object) {
|
|
595
|
+
const message = createBaseMsgUnblockDenom();
|
|
596
|
+
message.authority = object.authority ?? "";
|
|
597
|
+
message.denom = object.denom ?? "";
|
|
598
|
+
return message;
|
|
599
|
+
},
|
|
600
|
+
fromAmino(object) {
|
|
601
|
+
const message = createBaseMsgUnblockDenom();
|
|
602
|
+
if (object.authority !== undefined && object.authority !== null) {
|
|
603
|
+
message.authority = object.authority;
|
|
604
|
+
}
|
|
605
|
+
if (object.denom !== undefined && object.denom !== null) {
|
|
606
|
+
message.denom = object.denom;
|
|
607
|
+
}
|
|
608
|
+
return message;
|
|
609
|
+
},
|
|
610
|
+
toAmino(message) {
|
|
611
|
+
const obj = {};
|
|
612
|
+
obj.authority = message.authority === "" ? undefined : message.authority;
|
|
613
|
+
obj.denom = message.denom === "" ? undefined : message.denom;
|
|
614
|
+
return obj;
|
|
615
|
+
},
|
|
616
|
+
fromAminoMsg(object) {
|
|
617
|
+
return MsgUnblockDenom.fromAmino(object.value);
|
|
618
|
+
},
|
|
619
|
+
toAminoMsg(message) {
|
|
620
|
+
return {
|
|
621
|
+
type: "bze/x/guardian/MsgUnblockDenom",
|
|
622
|
+
value: MsgUnblockDenom.toAmino(message)
|
|
623
|
+
};
|
|
624
|
+
},
|
|
625
|
+
fromProtoMsg(message) {
|
|
626
|
+
return MsgUnblockDenom.decode(message.value);
|
|
627
|
+
},
|
|
628
|
+
toProto(message) {
|
|
629
|
+
return MsgUnblockDenom.encode(message).finish();
|
|
630
|
+
},
|
|
631
|
+
toProtoMsg(message) {
|
|
632
|
+
return {
|
|
633
|
+
typeUrl: "/bze.guardian.v1.MsgUnblockDenom",
|
|
634
|
+
value: MsgUnblockDenom.encode(message).finish()
|
|
635
|
+
};
|
|
636
|
+
},
|
|
637
|
+
registerTypeUrl() { }
|
|
638
|
+
};
|
|
639
|
+
function createBaseMsgUnblockDenomResponse() {
|
|
640
|
+
return {};
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* MsgUnblockDenomResponse defines the response structure for executing a
|
|
644
|
+
* MsgUnblockDenom message.
|
|
645
|
+
* @name MsgUnblockDenomResponse
|
|
646
|
+
* @package bze.guardian.v1
|
|
647
|
+
* @see proto type: bze.guardian.v1.MsgUnblockDenomResponse
|
|
648
|
+
*/
|
|
649
|
+
export const MsgUnblockDenomResponse = {
|
|
650
|
+
typeUrl: "/bze.guardian.v1.MsgUnblockDenomResponse",
|
|
651
|
+
is(o) {
|
|
652
|
+
return o && o.$typeUrl === MsgUnblockDenomResponse.typeUrl;
|
|
653
|
+
},
|
|
654
|
+
isSDK(o) {
|
|
655
|
+
return o && o.$typeUrl === MsgUnblockDenomResponse.typeUrl;
|
|
656
|
+
},
|
|
657
|
+
isAmino(o) {
|
|
658
|
+
return o && o.$typeUrl === MsgUnblockDenomResponse.typeUrl;
|
|
659
|
+
},
|
|
660
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
661
|
+
return writer;
|
|
662
|
+
},
|
|
663
|
+
decode(input, length) {
|
|
664
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
665
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
666
|
+
const message = createBaseMsgUnblockDenomResponse();
|
|
667
|
+
while (reader.pos < end) {
|
|
668
|
+
const tag = reader.uint32();
|
|
669
|
+
switch (tag >>> 3) {
|
|
670
|
+
default:
|
|
671
|
+
reader.skipType(tag & 7);
|
|
672
|
+
break;
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
return message;
|
|
676
|
+
},
|
|
677
|
+
fromPartial(_) {
|
|
678
|
+
const message = createBaseMsgUnblockDenomResponse();
|
|
679
|
+
return message;
|
|
680
|
+
},
|
|
681
|
+
fromAmino(_) {
|
|
682
|
+
const message = createBaseMsgUnblockDenomResponse();
|
|
683
|
+
return message;
|
|
684
|
+
},
|
|
685
|
+
toAmino(_) {
|
|
686
|
+
const obj = {};
|
|
687
|
+
return obj;
|
|
688
|
+
},
|
|
689
|
+
fromAminoMsg(object) {
|
|
690
|
+
return MsgUnblockDenomResponse.fromAmino(object.value);
|
|
691
|
+
},
|
|
692
|
+
fromProtoMsg(message) {
|
|
693
|
+
return MsgUnblockDenomResponse.decode(message.value);
|
|
694
|
+
},
|
|
695
|
+
toProto(message) {
|
|
696
|
+
return MsgUnblockDenomResponse.encode(message).finish();
|
|
697
|
+
},
|
|
698
|
+
toProtoMsg(message) {
|
|
699
|
+
return {
|
|
700
|
+
typeUrl: "/bze.guardian.v1.MsgUnblockDenomResponse",
|
|
701
|
+
value: MsgUnblockDenomResponse.encode(message).finish()
|
|
702
|
+
};
|
|
703
|
+
},
|
|
704
|
+
registerTypeUrl() { }
|
|
705
|
+
};
|
|
706
|
+
function createBaseMsgDisableMessages() {
|
|
707
|
+
return {
|
|
708
|
+
signer: "",
|
|
709
|
+
msgTypeUrls: []
|
|
710
|
+
};
|
|
711
|
+
}
|
|
712
|
+
/**
|
|
713
|
+
* MsgDisableMessages is the Msg/DisableMessages request type.
|
|
714
|
+
* @name MsgDisableMessages
|
|
715
|
+
* @package bze.guardian.v1
|
|
716
|
+
* @see proto type: bze.guardian.v1.MsgDisableMessages
|
|
717
|
+
*/
|
|
718
|
+
export const MsgDisableMessages = {
|
|
719
|
+
typeUrl: "/bze.guardian.v1.MsgDisableMessages",
|
|
720
|
+
aminoType: "bze/x/guardian/MsgDisableMessages",
|
|
721
|
+
is(o) {
|
|
722
|
+
return o && (o.$typeUrl === MsgDisableMessages.typeUrl || typeof o.signer === "string" && Array.isArray(o.msgTypeUrls) && (!o.msgTypeUrls.length || typeof o.msgTypeUrls[0] === "string"));
|
|
723
|
+
},
|
|
724
|
+
isSDK(o) {
|
|
725
|
+
return o && (o.$typeUrl === MsgDisableMessages.typeUrl || typeof o.signer === "string" && Array.isArray(o.msg_type_urls) && (!o.msg_type_urls.length || typeof o.msg_type_urls[0] === "string"));
|
|
726
|
+
},
|
|
727
|
+
isAmino(o) {
|
|
728
|
+
return o && (o.$typeUrl === MsgDisableMessages.typeUrl || typeof o.signer === "string" && Array.isArray(o.msg_type_urls) && (!o.msg_type_urls.length || typeof o.msg_type_urls[0] === "string"));
|
|
729
|
+
},
|
|
730
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
731
|
+
if (message.signer !== "") {
|
|
732
|
+
writer.uint32(10).string(message.signer);
|
|
733
|
+
}
|
|
734
|
+
for (const v of message.msgTypeUrls) {
|
|
735
|
+
writer.uint32(18).string(v);
|
|
736
|
+
}
|
|
737
|
+
return writer;
|
|
738
|
+
},
|
|
739
|
+
decode(input, length) {
|
|
740
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
741
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
742
|
+
const message = createBaseMsgDisableMessages();
|
|
743
|
+
while (reader.pos < end) {
|
|
744
|
+
const tag = reader.uint32();
|
|
745
|
+
switch (tag >>> 3) {
|
|
746
|
+
case 1:
|
|
747
|
+
message.signer = reader.string();
|
|
748
|
+
break;
|
|
749
|
+
case 2:
|
|
750
|
+
message.msgTypeUrls.push(reader.string());
|
|
751
|
+
break;
|
|
752
|
+
default:
|
|
753
|
+
reader.skipType(tag & 7);
|
|
754
|
+
break;
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
return message;
|
|
758
|
+
},
|
|
759
|
+
fromPartial(object) {
|
|
760
|
+
const message = createBaseMsgDisableMessages();
|
|
761
|
+
message.signer = object.signer ?? "";
|
|
762
|
+
message.msgTypeUrls = object.msgTypeUrls?.map(e => e) || [];
|
|
763
|
+
return message;
|
|
764
|
+
},
|
|
765
|
+
fromAmino(object) {
|
|
766
|
+
const message = createBaseMsgDisableMessages();
|
|
767
|
+
if (object.signer !== undefined && object.signer !== null) {
|
|
768
|
+
message.signer = object.signer;
|
|
769
|
+
}
|
|
770
|
+
message.msgTypeUrls = object.msg_type_urls?.map(e => e) || [];
|
|
771
|
+
return message;
|
|
772
|
+
},
|
|
773
|
+
toAmino(message) {
|
|
774
|
+
const obj = {};
|
|
775
|
+
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
776
|
+
if (message.msgTypeUrls) {
|
|
777
|
+
obj.msg_type_urls = message.msgTypeUrls.map(e => e);
|
|
778
|
+
}
|
|
779
|
+
else {
|
|
780
|
+
obj.msg_type_urls = message.msgTypeUrls;
|
|
781
|
+
}
|
|
782
|
+
return obj;
|
|
783
|
+
},
|
|
784
|
+
fromAminoMsg(object) {
|
|
785
|
+
return MsgDisableMessages.fromAmino(object.value);
|
|
786
|
+
},
|
|
787
|
+
toAminoMsg(message) {
|
|
788
|
+
return {
|
|
789
|
+
type: "bze/x/guardian/MsgDisableMessages",
|
|
790
|
+
value: MsgDisableMessages.toAmino(message)
|
|
791
|
+
};
|
|
792
|
+
},
|
|
793
|
+
fromProtoMsg(message) {
|
|
794
|
+
return MsgDisableMessages.decode(message.value);
|
|
795
|
+
},
|
|
796
|
+
toProto(message) {
|
|
797
|
+
return MsgDisableMessages.encode(message).finish();
|
|
798
|
+
},
|
|
799
|
+
toProtoMsg(message) {
|
|
800
|
+
return {
|
|
801
|
+
typeUrl: "/bze.guardian.v1.MsgDisableMessages",
|
|
802
|
+
value: MsgDisableMessages.encode(message).finish()
|
|
803
|
+
};
|
|
804
|
+
},
|
|
805
|
+
registerTypeUrl() { }
|
|
806
|
+
};
|
|
807
|
+
function createBaseMsgDisableMessagesResponse() {
|
|
808
|
+
return {};
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* MsgDisableMessagesResponse defines the response structure for executing a
|
|
812
|
+
* MsgDisableMessages message.
|
|
813
|
+
* @name MsgDisableMessagesResponse
|
|
814
|
+
* @package bze.guardian.v1
|
|
815
|
+
* @see proto type: bze.guardian.v1.MsgDisableMessagesResponse
|
|
816
|
+
*/
|
|
817
|
+
export const MsgDisableMessagesResponse = {
|
|
818
|
+
typeUrl: "/bze.guardian.v1.MsgDisableMessagesResponse",
|
|
819
|
+
is(o) {
|
|
820
|
+
return o && o.$typeUrl === MsgDisableMessagesResponse.typeUrl;
|
|
821
|
+
},
|
|
822
|
+
isSDK(o) {
|
|
823
|
+
return o && o.$typeUrl === MsgDisableMessagesResponse.typeUrl;
|
|
824
|
+
},
|
|
825
|
+
isAmino(o) {
|
|
826
|
+
return o && o.$typeUrl === MsgDisableMessagesResponse.typeUrl;
|
|
827
|
+
},
|
|
828
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
829
|
+
return writer;
|
|
830
|
+
},
|
|
831
|
+
decode(input, length) {
|
|
832
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
833
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
834
|
+
const message = createBaseMsgDisableMessagesResponse();
|
|
835
|
+
while (reader.pos < end) {
|
|
836
|
+
const tag = reader.uint32();
|
|
837
|
+
switch (tag >>> 3) {
|
|
838
|
+
default:
|
|
839
|
+
reader.skipType(tag & 7);
|
|
840
|
+
break;
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
return message;
|
|
844
|
+
},
|
|
845
|
+
fromPartial(_) {
|
|
846
|
+
const message = createBaseMsgDisableMessagesResponse();
|
|
847
|
+
return message;
|
|
848
|
+
},
|
|
849
|
+
fromAmino(_) {
|
|
850
|
+
const message = createBaseMsgDisableMessagesResponse();
|
|
851
|
+
return message;
|
|
852
|
+
},
|
|
853
|
+
toAmino(_) {
|
|
854
|
+
const obj = {};
|
|
855
|
+
return obj;
|
|
856
|
+
},
|
|
857
|
+
fromAminoMsg(object) {
|
|
858
|
+
return MsgDisableMessagesResponse.fromAmino(object.value);
|
|
859
|
+
},
|
|
860
|
+
fromProtoMsg(message) {
|
|
861
|
+
return MsgDisableMessagesResponse.decode(message.value);
|
|
862
|
+
},
|
|
863
|
+
toProto(message) {
|
|
864
|
+
return MsgDisableMessagesResponse.encode(message).finish();
|
|
865
|
+
},
|
|
866
|
+
toProtoMsg(message) {
|
|
867
|
+
return {
|
|
868
|
+
typeUrl: "/bze.guardian.v1.MsgDisableMessagesResponse",
|
|
869
|
+
value: MsgDisableMessagesResponse.encode(message).finish()
|
|
870
|
+
};
|
|
871
|
+
},
|
|
872
|
+
registerTypeUrl() { }
|
|
873
|
+
};
|
|
874
|
+
function createBaseMsgHaltTradingDenoms() {
|
|
875
|
+
return {
|
|
876
|
+
signer: "",
|
|
877
|
+
denoms: []
|
|
878
|
+
};
|
|
879
|
+
}
|
|
880
|
+
/**
|
|
881
|
+
* MsgHaltTradingDenoms is the Msg/HaltTradingDenoms request type.
|
|
882
|
+
* @name MsgHaltTradingDenoms
|
|
883
|
+
* @package bze.guardian.v1
|
|
884
|
+
* @see proto type: bze.guardian.v1.MsgHaltTradingDenoms
|
|
885
|
+
*/
|
|
886
|
+
export const MsgHaltTradingDenoms = {
|
|
887
|
+
typeUrl: "/bze.guardian.v1.MsgHaltTradingDenoms",
|
|
888
|
+
aminoType: "bze/x/guardian/MsgHaltTradingDenoms",
|
|
889
|
+
is(o) {
|
|
890
|
+
return o && (o.$typeUrl === MsgHaltTradingDenoms.typeUrl || typeof o.signer === "string" && Array.isArray(o.denoms) && (!o.denoms.length || typeof o.denoms[0] === "string"));
|
|
891
|
+
},
|
|
892
|
+
isSDK(o) {
|
|
893
|
+
return o && (o.$typeUrl === MsgHaltTradingDenoms.typeUrl || typeof o.signer === "string" && Array.isArray(o.denoms) && (!o.denoms.length || typeof o.denoms[0] === "string"));
|
|
894
|
+
},
|
|
895
|
+
isAmino(o) {
|
|
896
|
+
return o && (o.$typeUrl === MsgHaltTradingDenoms.typeUrl || typeof o.signer === "string" && Array.isArray(o.denoms) && (!o.denoms.length || typeof o.denoms[0] === "string"));
|
|
897
|
+
},
|
|
898
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
899
|
+
if (message.signer !== "") {
|
|
900
|
+
writer.uint32(10).string(message.signer);
|
|
901
|
+
}
|
|
902
|
+
for (const v of message.denoms) {
|
|
903
|
+
writer.uint32(18).string(v);
|
|
904
|
+
}
|
|
905
|
+
return writer;
|
|
906
|
+
},
|
|
907
|
+
decode(input, length) {
|
|
908
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
909
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
910
|
+
const message = createBaseMsgHaltTradingDenoms();
|
|
911
|
+
while (reader.pos < end) {
|
|
912
|
+
const tag = reader.uint32();
|
|
913
|
+
switch (tag >>> 3) {
|
|
914
|
+
case 1:
|
|
915
|
+
message.signer = reader.string();
|
|
916
|
+
break;
|
|
917
|
+
case 2:
|
|
918
|
+
message.denoms.push(reader.string());
|
|
919
|
+
break;
|
|
920
|
+
default:
|
|
921
|
+
reader.skipType(tag & 7);
|
|
922
|
+
break;
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
return message;
|
|
926
|
+
},
|
|
927
|
+
fromPartial(object) {
|
|
928
|
+
const message = createBaseMsgHaltTradingDenoms();
|
|
929
|
+
message.signer = object.signer ?? "";
|
|
930
|
+
message.denoms = object.denoms?.map(e => e) || [];
|
|
931
|
+
return message;
|
|
932
|
+
},
|
|
933
|
+
fromAmino(object) {
|
|
934
|
+
const message = createBaseMsgHaltTradingDenoms();
|
|
935
|
+
if (object.signer !== undefined && object.signer !== null) {
|
|
936
|
+
message.signer = object.signer;
|
|
937
|
+
}
|
|
938
|
+
message.denoms = object.denoms?.map(e => e) || [];
|
|
939
|
+
return message;
|
|
940
|
+
},
|
|
941
|
+
toAmino(message) {
|
|
942
|
+
const obj = {};
|
|
943
|
+
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
944
|
+
if (message.denoms) {
|
|
945
|
+
obj.denoms = message.denoms.map(e => e);
|
|
946
|
+
}
|
|
947
|
+
else {
|
|
948
|
+
obj.denoms = message.denoms;
|
|
949
|
+
}
|
|
950
|
+
return obj;
|
|
951
|
+
},
|
|
952
|
+
fromAminoMsg(object) {
|
|
953
|
+
return MsgHaltTradingDenoms.fromAmino(object.value);
|
|
954
|
+
},
|
|
955
|
+
toAminoMsg(message) {
|
|
956
|
+
return {
|
|
957
|
+
type: "bze/x/guardian/MsgHaltTradingDenoms",
|
|
958
|
+
value: MsgHaltTradingDenoms.toAmino(message)
|
|
959
|
+
};
|
|
960
|
+
},
|
|
961
|
+
fromProtoMsg(message) {
|
|
962
|
+
return MsgHaltTradingDenoms.decode(message.value);
|
|
963
|
+
},
|
|
964
|
+
toProto(message) {
|
|
965
|
+
return MsgHaltTradingDenoms.encode(message).finish();
|
|
966
|
+
},
|
|
967
|
+
toProtoMsg(message) {
|
|
968
|
+
return {
|
|
969
|
+
typeUrl: "/bze.guardian.v1.MsgHaltTradingDenoms",
|
|
970
|
+
value: MsgHaltTradingDenoms.encode(message).finish()
|
|
971
|
+
};
|
|
972
|
+
},
|
|
973
|
+
registerTypeUrl() { }
|
|
974
|
+
};
|
|
975
|
+
function createBaseMsgHaltTradingDenomsResponse() {
|
|
976
|
+
return {};
|
|
977
|
+
}
|
|
978
|
+
/**
|
|
979
|
+
* MsgHaltTradingDenomsResponse defines the response structure for executing a
|
|
980
|
+
* MsgHaltTradingDenoms message.
|
|
981
|
+
* @name MsgHaltTradingDenomsResponse
|
|
982
|
+
* @package bze.guardian.v1
|
|
983
|
+
* @see proto type: bze.guardian.v1.MsgHaltTradingDenomsResponse
|
|
984
|
+
*/
|
|
985
|
+
export const MsgHaltTradingDenomsResponse = {
|
|
986
|
+
typeUrl: "/bze.guardian.v1.MsgHaltTradingDenomsResponse",
|
|
987
|
+
is(o) {
|
|
988
|
+
return o && o.$typeUrl === MsgHaltTradingDenomsResponse.typeUrl;
|
|
989
|
+
},
|
|
990
|
+
isSDK(o) {
|
|
991
|
+
return o && o.$typeUrl === MsgHaltTradingDenomsResponse.typeUrl;
|
|
992
|
+
},
|
|
993
|
+
isAmino(o) {
|
|
994
|
+
return o && o.$typeUrl === MsgHaltTradingDenomsResponse.typeUrl;
|
|
995
|
+
},
|
|
996
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
997
|
+
return writer;
|
|
998
|
+
},
|
|
999
|
+
decode(input, length) {
|
|
1000
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1001
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1002
|
+
const message = createBaseMsgHaltTradingDenomsResponse();
|
|
1003
|
+
while (reader.pos < end) {
|
|
1004
|
+
const tag = reader.uint32();
|
|
1005
|
+
switch (tag >>> 3) {
|
|
1006
|
+
default:
|
|
1007
|
+
reader.skipType(tag & 7);
|
|
1008
|
+
break;
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
return message;
|
|
1012
|
+
},
|
|
1013
|
+
fromPartial(_) {
|
|
1014
|
+
const message = createBaseMsgHaltTradingDenomsResponse();
|
|
1015
|
+
return message;
|
|
1016
|
+
},
|
|
1017
|
+
fromAmino(_) {
|
|
1018
|
+
const message = createBaseMsgHaltTradingDenomsResponse();
|
|
1019
|
+
return message;
|
|
1020
|
+
},
|
|
1021
|
+
toAmino(_) {
|
|
1022
|
+
const obj = {};
|
|
1023
|
+
return obj;
|
|
1024
|
+
},
|
|
1025
|
+
fromAminoMsg(object) {
|
|
1026
|
+
return MsgHaltTradingDenomsResponse.fromAmino(object.value);
|
|
1027
|
+
},
|
|
1028
|
+
fromProtoMsg(message) {
|
|
1029
|
+
return MsgHaltTradingDenomsResponse.decode(message.value);
|
|
1030
|
+
},
|
|
1031
|
+
toProto(message) {
|
|
1032
|
+
return MsgHaltTradingDenomsResponse.encode(message).finish();
|
|
1033
|
+
},
|
|
1034
|
+
toProtoMsg(message) {
|
|
1035
|
+
return {
|
|
1036
|
+
typeUrl: "/bze.guardian.v1.MsgHaltTradingDenomsResponse",
|
|
1037
|
+
value: MsgHaltTradingDenomsResponse.encode(message).finish()
|
|
1038
|
+
};
|
|
1039
|
+
},
|
|
1040
|
+
registerTypeUrl() { }
|
|
1041
|
+
};
|
|
1042
|
+
function createBaseMsgHaltChain() {
|
|
1043
|
+
return {
|
|
1044
|
+
signer: "",
|
|
1045
|
+
reason: ""
|
|
1046
|
+
};
|
|
1047
|
+
}
|
|
1048
|
+
/**
|
|
1049
|
+
* MsgHaltChain is the Msg/HaltChain request type.
|
|
1050
|
+
* @name MsgHaltChain
|
|
1051
|
+
* @package bze.guardian.v1
|
|
1052
|
+
* @see proto type: bze.guardian.v1.MsgHaltChain
|
|
1053
|
+
*/
|
|
1054
|
+
export const MsgHaltChain = {
|
|
1055
|
+
typeUrl: "/bze.guardian.v1.MsgHaltChain",
|
|
1056
|
+
aminoType: "bze/x/guardian/MsgHaltChain",
|
|
1057
|
+
is(o) {
|
|
1058
|
+
return o && (o.$typeUrl === MsgHaltChain.typeUrl || typeof o.signer === "string" && typeof o.reason === "string");
|
|
1059
|
+
},
|
|
1060
|
+
isSDK(o) {
|
|
1061
|
+
return o && (o.$typeUrl === MsgHaltChain.typeUrl || typeof o.signer === "string" && typeof o.reason === "string");
|
|
1062
|
+
},
|
|
1063
|
+
isAmino(o) {
|
|
1064
|
+
return o && (o.$typeUrl === MsgHaltChain.typeUrl || typeof o.signer === "string" && typeof o.reason === "string");
|
|
1065
|
+
},
|
|
1066
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1067
|
+
if (message.signer !== "") {
|
|
1068
|
+
writer.uint32(10).string(message.signer);
|
|
1069
|
+
}
|
|
1070
|
+
if (message.reason !== "") {
|
|
1071
|
+
writer.uint32(18).string(message.reason);
|
|
1072
|
+
}
|
|
1073
|
+
return writer;
|
|
1074
|
+
},
|
|
1075
|
+
decode(input, length) {
|
|
1076
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1077
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1078
|
+
const message = createBaseMsgHaltChain();
|
|
1079
|
+
while (reader.pos < end) {
|
|
1080
|
+
const tag = reader.uint32();
|
|
1081
|
+
switch (tag >>> 3) {
|
|
1082
|
+
case 1:
|
|
1083
|
+
message.signer = reader.string();
|
|
1084
|
+
break;
|
|
1085
|
+
case 2:
|
|
1086
|
+
message.reason = reader.string();
|
|
1087
|
+
break;
|
|
1088
|
+
default:
|
|
1089
|
+
reader.skipType(tag & 7);
|
|
1090
|
+
break;
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
return message;
|
|
1094
|
+
},
|
|
1095
|
+
fromPartial(object) {
|
|
1096
|
+
const message = createBaseMsgHaltChain();
|
|
1097
|
+
message.signer = object.signer ?? "";
|
|
1098
|
+
message.reason = object.reason ?? "";
|
|
1099
|
+
return message;
|
|
1100
|
+
},
|
|
1101
|
+
fromAmino(object) {
|
|
1102
|
+
const message = createBaseMsgHaltChain();
|
|
1103
|
+
if (object.signer !== undefined && object.signer !== null) {
|
|
1104
|
+
message.signer = object.signer;
|
|
1105
|
+
}
|
|
1106
|
+
if (object.reason !== undefined && object.reason !== null) {
|
|
1107
|
+
message.reason = object.reason;
|
|
1108
|
+
}
|
|
1109
|
+
return message;
|
|
1110
|
+
},
|
|
1111
|
+
toAmino(message) {
|
|
1112
|
+
const obj = {};
|
|
1113
|
+
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
1114
|
+
obj.reason = message.reason === "" ? undefined : message.reason;
|
|
1115
|
+
return obj;
|
|
1116
|
+
},
|
|
1117
|
+
fromAminoMsg(object) {
|
|
1118
|
+
return MsgHaltChain.fromAmino(object.value);
|
|
1119
|
+
},
|
|
1120
|
+
toAminoMsg(message) {
|
|
1121
|
+
return {
|
|
1122
|
+
type: "bze/x/guardian/MsgHaltChain",
|
|
1123
|
+
value: MsgHaltChain.toAmino(message)
|
|
1124
|
+
};
|
|
1125
|
+
},
|
|
1126
|
+
fromProtoMsg(message) {
|
|
1127
|
+
return MsgHaltChain.decode(message.value);
|
|
1128
|
+
},
|
|
1129
|
+
toProto(message) {
|
|
1130
|
+
return MsgHaltChain.encode(message).finish();
|
|
1131
|
+
},
|
|
1132
|
+
toProtoMsg(message) {
|
|
1133
|
+
return {
|
|
1134
|
+
typeUrl: "/bze.guardian.v1.MsgHaltChain",
|
|
1135
|
+
value: MsgHaltChain.encode(message).finish()
|
|
1136
|
+
};
|
|
1137
|
+
},
|
|
1138
|
+
registerTypeUrl() { }
|
|
1139
|
+
};
|
|
1140
|
+
function createBaseMsgHaltChainResponse() {
|
|
1141
|
+
return {
|
|
1142
|
+
name: "",
|
|
1143
|
+
height: BigInt(0)
|
|
1144
|
+
};
|
|
1145
|
+
}
|
|
1146
|
+
/**
|
|
1147
|
+
* MsgHaltChainResponse defines the response structure for executing a
|
|
1148
|
+
* MsgHaltChain message.
|
|
1149
|
+
* @name MsgHaltChainResponse
|
|
1150
|
+
* @package bze.guardian.v1
|
|
1151
|
+
* @see proto type: bze.guardian.v1.MsgHaltChainResponse
|
|
1152
|
+
*/
|
|
1153
|
+
export const MsgHaltChainResponse = {
|
|
1154
|
+
typeUrl: "/bze.guardian.v1.MsgHaltChainResponse",
|
|
1155
|
+
is(o) {
|
|
1156
|
+
return o && (o.$typeUrl === MsgHaltChainResponse.typeUrl || typeof o.name === "string" && typeof o.height === "bigint");
|
|
1157
|
+
},
|
|
1158
|
+
isSDK(o) {
|
|
1159
|
+
return o && (o.$typeUrl === MsgHaltChainResponse.typeUrl || typeof o.name === "string" && typeof o.height === "bigint");
|
|
1160
|
+
},
|
|
1161
|
+
isAmino(o) {
|
|
1162
|
+
return o && (o.$typeUrl === MsgHaltChainResponse.typeUrl || typeof o.name === "string" && typeof o.height === "bigint");
|
|
1163
|
+
},
|
|
1164
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1165
|
+
if (message.name !== "") {
|
|
1166
|
+
writer.uint32(10).string(message.name);
|
|
1167
|
+
}
|
|
1168
|
+
if (message.height !== BigInt(0)) {
|
|
1169
|
+
writer.uint32(16).int64(message.height);
|
|
1170
|
+
}
|
|
1171
|
+
return writer;
|
|
1172
|
+
},
|
|
1173
|
+
decode(input, length) {
|
|
1174
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1175
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1176
|
+
const message = createBaseMsgHaltChainResponse();
|
|
1177
|
+
while (reader.pos < end) {
|
|
1178
|
+
const tag = reader.uint32();
|
|
1179
|
+
switch (tag >>> 3) {
|
|
1180
|
+
case 1:
|
|
1181
|
+
message.name = reader.string();
|
|
1182
|
+
break;
|
|
1183
|
+
case 2:
|
|
1184
|
+
message.height = reader.int64();
|
|
1185
|
+
break;
|
|
1186
|
+
default:
|
|
1187
|
+
reader.skipType(tag & 7);
|
|
1188
|
+
break;
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
return message;
|
|
1192
|
+
},
|
|
1193
|
+
fromPartial(object) {
|
|
1194
|
+
const message = createBaseMsgHaltChainResponse();
|
|
1195
|
+
message.name = object.name ?? "";
|
|
1196
|
+
message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
|
|
1197
|
+
return message;
|
|
1198
|
+
},
|
|
1199
|
+
fromAmino(object) {
|
|
1200
|
+
const message = createBaseMsgHaltChainResponse();
|
|
1201
|
+
if (object.name !== undefined && object.name !== null) {
|
|
1202
|
+
message.name = object.name;
|
|
1203
|
+
}
|
|
1204
|
+
if (object.height !== undefined && object.height !== null) {
|
|
1205
|
+
message.height = BigInt(object.height);
|
|
1206
|
+
}
|
|
1207
|
+
return message;
|
|
1208
|
+
},
|
|
1209
|
+
toAmino(message) {
|
|
1210
|
+
const obj = {};
|
|
1211
|
+
obj.name = message.name === "" ? undefined : message.name;
|
|
1212
|
+
obj.height = message.height !== BigInt(0) ? message.height?.toString() : undefined;
|
|
1213
|
+
return obj;
|
|
1214
|
+
},
|
|
1215
|
+
fromAminoMsg(object) {
|
|
1216
|
+
return MsgHaltChainResponse.fromAmino(object.value);
|
|
1217
|
+
},
|
|
1218
|
+
fromProtoMsg(message) {
|
|
1219
|
+
return MsgHaltChainResponse.decode(message.value);
|
|
1220
|
+
},
|
|
1221
|
+
toProto(message) {
|
|
1222
|
+
return MsgHaltChainResponse.encode(message).finish();
|
|
1223
|
+
},
|
|
1224
|
+
toProtoMsg(message) {
|
|
1225
|
+
return {
|
|
1226
|
+
typeUrl: "/bze.guardian.v1.MsgHaltChainResponse",
|
|
1227
|
+
value: MsgHaltChainResponse.encode(message).finish()
|
|
1228
|
+
};
|
|
1229
|
+
},
|
|
1230
|
+
registerTypeUrl() { }
|
|
1231
|
+
};
|
|
1232
|
+
function createBaseMsgPauseAutomation() {
|
|
1233
|
+
return {
|
|
1234
|
+
signer: ""
|
|
1235
|
+
};
|
|
1236
|
+
}
|
|
1237
|
+
/**
|
|
1238
|
+
* MsgPauseAutomation is the Msg/PauseAutomation request type.
|
|
1239
|
+
* @name MsgPauseAutomation
|
|
1240
|
+
* @package bze.guardian.v1
|
|
1241
|
+
* @see proto type: bze.guardian.v1.MsgPauseAutomation
|
|
1242
|
+
*/
|
|
1243
|
+
export const MsgPauseAutomation = {
|
|
1244
|
+
typeUrl: "/bze.guardian.v1.MsgPauseAutomation",
|
|
1245
|
+
aminoType: "bze/x/guardian/MsgPauseAutomation",
|
|
1246
|
+
is(o) {
|
|
1247
|
+
return o && (o.$typeUrl === MsgPauseAutomation.typeUrl || typeof o.signer === "string");
|
|
1248
|
+
},
|
|
1249
|
+
isSDK(o) {
|
|
1250
|
+
return o && (o.$typeUrl === MsgPauseAutomation.typeUrl || typeof o.signer === "string");
|
|
1251
|
+
},
|
|
1252
|
+
isAmino(o) {
|
|
1253
|
+
return o && (o.$typeUrl === MsgPauseAutomation.typeUrl || typeof o.signer === "string");
|
|
1254
|
+
},
|
|
1255
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1256
|
+
if (message.signer !== "") {
|
|
1257
|
+
writer.uint32(10).string(message.signer);
|
|
1258
|
+
}
|
|
1259
|
+
return writer;
|
|
1260
|
+
},
|
|
1261
|
+
decode(input, length) {
|
|
1262
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1263
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1264
|
+
const message = createBaseMsgPauseAutomation();
|
|
1265
|
+
while (reader.pos < end) {
|
|
1266
|
+
const tag = reader.uint32();
|
|
1267
|
+
switch (tag >>> 3) {
|
|
1268
|
+
case 1:
|
|
1269
|
+
message.signer = reader.string();
|
|
1270
|
+
break;
|
|
1271
|
+
default:
|
|
1272
|
+
reader.skipType(tag & 7);
|
|
1273
|
+
break;
|
|
1274
|
+
}
|
|
1275
|
+
}
|
|
1276
|
+
return message;
|
|
1277
|
+
},
|
|
1278
|
+
fromPartial(object) {
|
|
1279
|
+
const message = createBaseMsgPauseAutomation();
|
|
1280
|
+
message.signer = object.signer ?? "";
|
|
1281
|
+
return message;
|
|
1282
|
+
},
|
|
1283
|
+
fromAmino(object) {
|
|
1284
|
+
const message = createBaseMsgPauseAutomation();
|
|
1285
|
+
if (object.signer !== undefined && object.signer !== null) {
|
|
1286
|
+
message.signer = object.signer;
|
|
1287
|
+
}
|
|
1288
|
+
return message;
|
|
1289
|
+
},
|
|
1290
|
+
toAmino(message) {
|
|
1291
|
+
const obj = {};
|
|
1292
|
+
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
1293
|
+
return obj;
|
|
1294
|
+
},
|
|
1295
|
+
fromAminoMsg(object) {
|
|
1296
|
+
return MsgPauseAutomation.fromAmino(object.value);
|
|
1297
|
+
},
|
|
1298
|
+
toAminoMsg(message) {
|
|
1299
|
+
return {
|
|
1300
|
+
type: "bze/x/guardian/MsgPauseAutomation",
|
|
1301
|
+
value: MsgPauseAutomation.toAmino(message)
|
|
1302
|
+
};
|
|
1303
|
+
},
|
|
1304
|
+
fromProtoMsg(message) {
|
|
1305
|
+
return MsgPauseAutomation.decode(message.value);
|
|
1306
|
+
},
|
|
1307
|
+
toProto(message) {
|
|
1308
|
+
return MsgPauseAutomation.encode(message).finish();
|
|
1309
|
+
},
|
|
1310
|
+
toProtoMsg(message) {
|
|
1311
|
+
return {
|
|
1312
|
+
typeUrl: "/bze.guardian.v1.MsgPauseAutomation",
|
|
1313
|
+
value: MsgPauseAutomation.encode(message).finish()
|
|
1314
|
+
};
|
|
1315
|
+
},
|
|
1316
|
+
registerTypeUrl() { }
|
|
1317
|
+
};
|
|
1318
|
+
function createBaseMsgPauseAutomationResponse() {
|
|
1319
|
+
return {};
|
|
1320
|
+
}
|
|
1321
|
+
/**
|
|
1322
|
+
* MsgPauseAutomationResponse defines the response structure for executing a
|
|
1323
|
+
* MsgPauseAutomation message.
|
|
1324
|
+
* @name MsgPauseAutomationResponse
|
|
1325
|
+
* @package bze.guardian.v1
|
|
1326
|
+
* @see proto type: bze.guardian.v1.MsgPauseAutomationResponse
|
|
1327
|
+
*/
|
|
1328
|
+
export const MsgPauseAutomationResponse = {
|
|
1329
|
+
typeUrl: "/bze.guardian.v1.MsgPauseAutomationResponse",
|
|
1330
|
+
is(o) {
|
|
1331
|
+
return o && o.$typeUrl === MsgPauseAutomationResponse.typeUrl;
|
|
1332
|
+
},
|
|
1333
|
+
isSDK(o) {
|
|
1334
|
+
return o && o.$typeUrl === MsgPauseAutomationResponse.typeUrl;
|
|
1335
|
+
},
|
|
1336
|
+
isAmino(o) {
|
|
1337
|
+
return o && o.$typeUrl === MsgPauseAutomationResponse.typeUrl;
|
|
1338
|
+
},
|
|
1339
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
1340
|
+
return writer;
|
|
1341
|
+
},
|
|
1342
|
+
decode(input, length) {
|
|
1343
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1344
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1345
|
+
const message = createBaseMsgPauseAutomationResponse();
|
|
1346
|
+
while (reader.pos < end) {
|
|
1347
|
+
const tag = reader.uint32();
|
|
1348
|
+
switch (tag >>> 3) {
|
|
1349
|
+
default:
|
|
1350
|
+
reader.skipType(tag & 7);
|
|
1351
|
+
break;
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
return message;
|
|
1355
|
+
},
|
|
1356
|
+
fromPartial(_) {
|
|
1357
|
+
const message = createBaseMsgPauseAutomationResponse();
|
|
1358
|
+
return message;
|
|
1359
|
+
},
|
|
1360
|
+
fromAmino(_) {
|
|
1361
|
+
const message = createBaseMsgPauseAutomationResponse();
|
|
1362
|
+
return message;
|
|
1363
|
+
},
|
|
1364
|
+
toAmino(_) {
|
|
1365
|
+
const obj = {};
|
|
1366
|
+
return obj;
|
|
1367
|
+
},
|
|
1368
|
+
fromAminoMsg(object) {
|
|
1369
|
+
return MsgPauseAutomationResponse.fromAmino(object.value);
|
|
1370
|
+
},
|
|
1371
|
+
fromProtoMsg(message) {
|
|
1372
|
+
return MsgPauseAutomationResponse.decode(message.value);
|
|
1373
|
+
},
|
|
1374
|
+
toProto(message) {
|
|
1375
|
+
return MsgPauseAutomationResponse.encode(message).finish();
|
|
1376
|
+
},
|
|
1377
|
+
toProtoMsg(message) {
|
|
1378
|
+
return {
|
|
1379
|
+
typeUrl: "/bze.guardian.v1.MsgPauseAutomationResponse",
|
|
1380
|
+
value: MsgPauseAutomationResponse.encode(message).finish()
|
|
1381
|
+
};
|
|
1382
|
+
},
|
|
1383
|
+
registerTypeUrl() { }
|
|
1384
|
+
};
|
|
1385
|
+
function createBaseMsgResumeAutomation() {
|
|
1386
|
+
return {
|
|
1387
|
+
authority: ""
|
|
1388
|
+
};
|
|
1389
|
+
}
|
|
1390
|
+
/**
|
|
1391
|
+
* MsgResumeAutomation is the Msg/ResumeAutomation request type.
|
|
1392
|
+
* @name MsgResumeAutomation
|
|
1393
|
+
* @package bze.guardian.v1
|
|
1394
|
+
* @see proto type: bze.guardian.v1.MsgResumeAutomation
|
|
1395
|
+
*/
|
|
1396
|
+
export const MsgResumeAutomation = {
|
|
1397
|
+
typeUrl: "/bze.guardian.v1.MsgResumeAutomation",
|
|
1398
|
+
aminoType: "bze/x/guardian/MsgResumeAutomation",
|
|
1399
|
+
is(o) {
|
|
1400
|
+
return o && (o.$typeUrl === MsgResumeAutomation.typeUrl || typeof o.authority === "string");
|
|
1401
|
+
},
|
|
1402
|
+
isSDK(o) {
|
|
1403
|
+
return o && (o.$typeUrl === MsgResumeAutomation.typeUrl || typeof o.authority === "string");
|
|
1404
|
+
},
|
|
1405
|
+
isAmino(o) {
|
|
1406
|
+
return o && (o.$typeUrl === MsgResumeAutomation.typeUrl || typeof o.authority === "string");
|
|
1407
|
+
},
|
|
1408
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1409
|
+
if (message.authority !== "") {
|
|
1410
|
+
writer.uint32(10).string(message.authority);
|
|
1411
|
+
}
|
|
1412
|
+
return writer;
|
|
1413
|
+
},
|
|
1414
|
+
decode(input, length) {
|
|
1415
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1416
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1417
|
+
const message = createBaseMsgResumeAutomation();
|
|
1418
|
+
while (reader.pos < end) {
|
|
1419
|
+
const tag = reader.uint32();
|
|
1420
|
+
switch (tag >>> 3) {
|
|
1421
|
+
case 1:
|
|
1422
|
+
message.authority = reader.string();
|
|
1423
|
+
break;
|
|
1424
|
+
default:
|
|
1425
|
+
reader.skipType(tag & 7);
|
|
1426
|
+
break;
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
return message;
|
|
1430
|
+
},
|
|
1431
|
+
fromPartial(object) {
|
|
1432
|
+
const message = createBaseMsgResumeAutomation();
|
|
1433
|
+
message.authority = object.authority ?? "";
|
|
1434
|
+
return message;
|
|
1435
|
+
},
|
|
1436
|
+
fromAmino(object) {
|
|
1437
|
+
const message = createBaseMsgResumeAutomation();
|
|
1438
|
+
if (object.authority !== undefined && object.authority !== null) {
|
|
1439
|
+
message.authority = object.authority;
|
|
1440
|
+
}
|
|
1441
|
+
return message;
|
|
1442
|
+
},
|
|
1443
|
+
toAmino(message) {
|
|
1444
|
+
const obj = {};
|
|
1445
|
+
obj.authority = message.authority === "" ? undefined : message.authority;
|
|
1446
|
+
return obj;
|
|
1447
|
+
},
|
|
1448
|
+
fromAminoMsg(object) {
|
|
1449
|
+
return MsgResumeAutomation.fromAmino(object.value);
|
|
1450
|
+
},
|
|
1451
|
+
toAminoMsg(message) {
|
|
1452
|
+
return {
|
|
1453
|
+
type: "bze/x/guardian/MsgResumeAutomation",
|
|
1454
|
+
value: MsgResumeAutomation.toAmino(message)
|
|
1455
|
+
};
|
|
1456
|
+
},
|
|
1457
|
+
fromProtoMsg(message) {
|
|
1458
|
+
return MsgResumeAutomation.decode(message.value);
|
|
1459
|
+
},
|
|
1460
|
+
toProto(message) {
|
|
1461
|
+
return MsgResumeAutomation.encode(message).finish();
|
|
1462
|
+
},
|
|
1463
|
+
toProtoMsg(message) {
|
|
1464
|
+
return {
|
|
1465
|
+
typeUrl: "/bze.guardian.v1.MsgResumeAutomation",
|
|
1466
|
+
value: MsgResumeAutomation.encode(message).finish()
|
|
1467
|
+
};
|
|
1468
|
+
},
|
|
1469
|
+
registerTypeUrl() { }
|
|
1470
|
+
};
|
|
1471
|
+
function createBaseMsgResumeAutomationResponse() {
|
|
1472
|
+
return {};
|
|
1473
|
+
}
|
|
1474
|
+
/**
|
|
1475
|
+
* MsgResumeAutomationResponse defines the response structure for executing a
|
|
1476
|
+
* MsgResumeAutomation message.
|
|
1477
|
+
* @name MsgResumeAutomationResponse
|
|
1478
|
+
* @package bze.guardian.v1
|
|
1479
|
+
* @see proto type: bze.guardian.v1.MsgResumeAutomationResponse
|
|
1480
|
+
*/
|
|
1481
|
+
export const MsgResumeAutomationResponse = {
|
|
1482
|
+
typeUrl: "/bze.guardian.v1.MsgResumeAutomationResponse",
|
|
1483
|
+
is(o) {
|
|
1484
|
+
return o && o.$typeUrl === MsgResumeAutomationResponse.typeUrl;
|
|
1485
|
+
},
|
|
1486
|
+
isSDK(o) {
|
|
1487
|
+
return o && o.$typeUrl === MsgResumeAutomationResponse.typeUrl;
|
|
1488
|
+
},
|
|
1489
|
+
isAmino(o) {
|
|
1490
|
+
return o && o.$typeUrl === MsgResumeAutomationResponse.typeUrl;
|
|
1491
|
+
},
|
|
1492
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
1493
|
+
return writer;
|
|
1494
|
+
},
|
|
1495
|
+
decode(input, length) {
|
|
1496
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1497
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1498
|
+
const message = createBaseMsgResumeAutomationResponse();
|
|
1499
|
+
while (reader.pos < end) {
|
|
1500
|
+
const tag = reader.uint32();
|
|
1501
|
+
switch (tag >>> 3) {
|
|
1502
|
+
default:
|
|
1503
|
+
reader.skipType(tag & 7);
|
|
1504
|
+
break;
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
return message;
|
|
1508
|
+
},
|
|
1509
|
+
fromPartial(_) {
|
|
1510
|
+
const message = createBaseMsgResumeAutomationResponse();
|
|
1511
|
+
return message;
|
|
1512
|
+
},
|
|
1513
|
+
fromAmino(_) {
|
|
1514
|
+
const message = createBaseMsgResumeAutomationResponse();
|
|
1515
|
+
return message;
|
|
1516
|
+
},
|
|
1517
|
+
toAmino(_) {
|
|
1518
|
+
const obj = {};
|
|
1519
|
+
return obj;
|
|
1520
|
+
},
|
|
1521
|
+
fromAminoMsg(object) {
|
|
1522
|
+
return MsgResumeAutomationResponse.fromAmino(object.value);
|
|
1523
|
+
},
|
|
1524
|
+
fromProtoMsg(message) {
|
|
1525
|
+
return MsgResumeAutomationResponse.decode(message.value);
|
|
1526
|
+
},
|
|
1527
|
+
toProto(message) {
|
|
1528
|
+
return MsgResumeAutomationResponse.encode(message).finish();
|
|
1529
|
+
},
|
|
1530
|
+
toProtoMsg(message) {
|
|
1531
|
+
return {
|
|
1532
|
+
typeUrl: "/bze.guardian.v1.MsgResumeAutomationResponse",
|
|
1533
|
+
value: MsgResumeAutomationResponse.encode(message).finish()
|
|
1534
|
+
};
|
|
1535
|
+
},
|
|
1536
|
+
registerTypeUrl() { }
|
|
1537
|
+
};
|
|
1538
|
+
function createBaseMsgCloseChannel() {
|
|
1539
|
+
return {
|
|
1540
|
+
signer: "",
|
|
1541
|
+
channelId: ""
|
|
1542
|
+
};
|
|
1543
|
+
}
|
|
1544
|
+
/**
|
|
1545
|
+
* MsgCloseChannel is the Msg/CloseChannel request type.
|
|
1546
|
+
* @name MsgCloseChannel
|
|
1547
|
+
* @package bze.guardian.v1
|
|
1548
|
+
* @see proto type: bze.guardian.v1.MsgCloseChannel
|
|
1549
|
+
*/
|
|
1550
|
+
export const MsgCloseChannel = {
|
|
1551
|
+
typeUrl: "/bze.guardian.v1.MsgCloseChannel",
|
|
1552
|
+
aminoType: "bze/x/guardian/MsgCloseChannel",
|
|
1553
|
+
is(o) {
|
|
1554
|
+
return o && (o.$typeUrl === MsgCloseChannel.typeUrl || typeof o.signer === "string" && typeof o.channelId === "string");
|
|
1555
|
+
},
|
|
1556
|
+
isSDK(o) {
|
|
1557
|
+
return o && (o.$typeUrl === MsgCloseChannel.typeUrl || typeof o.signer === "string" && typeof o.channel_id === "string");
|
|
1558
|
+
},
|
|
1559
|
+
isAmino(o) {
|
|
1560
|
+
return o && (o.$typeUrl === MsgCloseChannel.typeUrl || typeof o.signer === "string" && typeof o.channel_id === "string");
|
|
1561
|
+
},
|
|
1562
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1563
|
+
if (message.signer !== "") {
|
|
1564
|
+
writer.uint32(10).string(message.signer);
|
|
1565
|
+
}
|
|
1566
|
+
if (message.channelId !== "") {
|
|
1567
|
+
writer.uint32(18).string(message.channelId);
|
|
1568
|
+
}
|
|
1569
|
+
return writer;
|
|
1570
|
+
},
|
|
1571
|
+
decode(input, length) {
|
|
1572
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1573
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1574
|
+
const message = createBaseMsgCloseChannel();
|
|
1575
|
+
while (reader.pos < end) {
|
|
1576
|
+
const tag = reader.uint32();
|
|
1577
|
+
switch (tag >>> 3) {
|
|
1578
|
+
case 1:
|
|
1579
|
+
message.signer = reader.string();
|
|
1580
|
+
break;
|
|
1581
|
+
case 2:
|
|
1582
|
+
message.channelId = reader.string();
|
|
1583
|
+
break;
|
|
1584
|
+
default:
|
|
1585
|
+
reader.skipType(tag & 7);
|
|
1586
|
+
break;
|
|
1587
|
+
}
|
|
1588
|
+
}
|
|
1589
|
+
return message;
|
|
1590
|
+
},
|
|
1591
|
+
fromPartial(object) {
|
|
1592
|
+
const message = createBaseMsgCloseChannel();
|
|
1593
|
+
message.signer = object.signer ?? "";
|
|
1594
|
+
message.channelId = object.channelId ?? "";
|
|
1595
|
+
return message;
|
|
1596
|
+
},
|
|
1597
|
+
fromAmino(object) {
|
|
1598
|
+
const message = createBaseMsgCloseChannel();
|
|
1599
|
+
if (object.signer !== undefined && object.signer !== null) {
|
|
1600
|
+
message.signer = object.signer;
|
|
1601
|
+
}
|
|
1602
|
+
if (object.channel_id !== undefined && object.channel_id !== null) {
|
|
1603
|
+
message.channelId = object.channel_id;
|
|
1604
|
+
}
|
|
1605
|
+
return message;
|
|
1606
|
+
},
|
|
1607
|
+
toAmino(message) {
|
|
1608
|
+
const obj = {};
|
|
1609
|
+
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
1610
|
+
obj.channel_id = message.channelId === "" ? undefined : message.channelId;
|
|
1611
|
+
return obj;
|
|
1612
|
+
},
|
|
1613
|
+
fromAminoMsg(object) {
|
|
1614
|
+
return MsgCloseChannel.fromAmino(object.value);
|
|
1615
|
+
},
|
|
1616
|
+
toAminoMsg(message) {
|
|
1617
|
+
return {
|
|
1618
|
+
type: "bze/x/guardian/MsgCloseChannel",
|
|
1619
|
+
value: MsgCloseChannel.toAmino(message)
|
|
1620
|
+
};
|
|
1621
|
+
},
|
|
1622
|
+
fromProtoMsg(message) {
|
|
1623
|
+
return MsgCloseChannel.decode(message.value);
|
|
1624
|
+
},
|
|
1625
|
+
toProto(message) {
|
|
1626
|
+
return MsgCloseChannel.encode(message).finish();
|
|
1627
|
+
},
|
|
1628
|
+
toProtoMsg(message) {
|
|
1629
|
+
return {
|
|
1630
|
+
typeUrl: "/bze.guardian.v1.MsgCloseChannel",
|
|
1631
|
+
value: MsgCloseChannel.encode(message).finish()
|
|
1632
|
+
};
|
|
1633
|
+
},
|
|
1634
|
+
registerTypeUrl() { }
|
|
1635
|
+
};
|
|
1636
|
+
function createBaseMsgCloseChannelResponse() {
|
|
1637
|
+
return {};
|
|
1638
|
+
}
|
|
1639
|
+
/**
|
|
1640
|
+
* MsgCloseChannelResponse defines the response structure for executing a
|
|
1641
|
+
* MsgCloseChannel message.
|
|
1642
|
+
* @name MsgCloseChannelResponse
|
|
1643
|
+
* @package bze.guardian.v1
|
|
1644
|
+
* @see proto type: bze.guardian.v1.MsgCloseChannelResponse
|
|
1645
|
+
*/
|
|
1646
|
+
export const MsgCloseChannelResponse = {
|
|
1647
|
+
typeUrl: "/bze.guardian.v1.MsgCloseChannelResponse",
|
|
1648
|
+
is(o) {
|
|
1649
|
+
return o && o.$typeUrl === MsgCloseChannelResponse.typeUrl;
|
|
1650
|
+
},
|
|
1651
|
+
isSDK(o) {
|
|
1652
|
+
return o && o.$typeUrl === MsgCloseChannelResponse.typeUrl;
|
|
1653
|
+
},
|
|
1654
|
+
isAmino(o) {
|
|
1655
|
+
return o && o.$typeUrl === MsgCloseChannelResponse.typeUrl;
|
|
1656
|
+
},
|
|
1657
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
1658
|
+
return writer;
|
|
1659
|
+
},
|
|
1660
|
+
decode(input, length) {
|
|
1661
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1662
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1663
|
+
const message = createBaseMsgCloseChannelResponse();
|
|
1664
|
+
while (reader.pos < end) {
|
|
1665
|
+
const tag = reader.uint32();
|
|
1666
|
+
switch (tag >>> 3) {
|
|
1667
|
+
default:
|
|
1668
|
+
reader.skipType(tag & 7);
|
|
1669
|
+
break;
|
|
1670
|
+
}
|
|
1671
|
+
}
|
|
1672
|
+
return message;
|
|
1673
|
+
},
|
|
1674
|
+
fromPartial(_) {
|
|
1675
|
+
const message = createBaseMsgCloseChannelResponse();
|
|
1676
|
+
return message;
|
|
1677
|
+
},
|
|
1678
|
+
fromAmino(_) {
|
|
1679
|
+
const message = createBaseMsgCloseChannelResponse();
|
|
1680
|
+
return message;
|
|
1681
|
+
},
|
|
1682
|
+
toAmino(_) {
|
|
1683
|
+
const obj = {};
|
|
1684
|
+
return obj;
|
|
1685
|
+
},
|
|
1686
|
+
fromAminoMsg(object) {
|
|
1687
|
+
return MsgCloseChannelResponse.fromAmino(object.value);
|
|
1688
|
+
},
|
|
1689
|
+
fromProtoMsg(message) {
|
|
1690
|
+
return MsgCloseChannelResponse.decode(message.value);
|
|
1691
|
+
},
|
|
1692
|
+
toProto(message) {
|
|
1693
|
+
return MsgCloseChannelResponse.encode(message).finish();
|
|
1694
|
+
},
|
|
1695
|
+
toProtoMsg(message) {
|
|
1696
|
+
return {
|
|
1697
|
+
typeUrl: "/bze.guardian.v1.MsgCloseChannelResponse",
|
|
1698
|
+
value: MsgCloseChannelResponse.encode(message).finish()
|
|
1699
|
+
};
|
|
1700
|
+
},
|
|
1701
|
+
registerTypeUrl() { }
|
|
1702
|
+
};
|
|
1703
|
+
function createBaseMsgReopenChannel() {
|
|
1704
|
+
return {
|
|
1705
|
+
authority: "",
|
|
1706
|
+
channelId: ""
|
|
1707
|
+
};
|
|
1708
|
+
}
|
|
1709
|
+
/**
|
|
1710
|
+
* MsgReopenChannel is the Msg/ReopenChannel request type.
|
|
1711
|
+
* @name MsgReopenChannel
|
|
1712
|
+
* @package bze.guardian.v1
|
|
1713
|
+
* @see proto type: bze.guardian.v1.MsgReopenChannel
|
|
1714
|
+
*/
|
|
1715
|
+
export const MsgReopenChannel = {
|
|
1716
|
+
typeUrl: "/bze.guardian.v1.MsgReopenChannel",
|
|
1717
|
+
aminoType: "bze/x/guardian/MsgReopenChannel",
|
|
1718
|
+
is(o) {
|
|
1719
|
+
return o && (o.$typeUrl === MsgReopenChannel.typeUrl || typeof o.authority === "string" && typeof o.channelId === "string");
|
|
1720
|
+
},
|
|
1721
|
+
isSDK(o) {
|
|
1722
|
+
return o && (o.$typeUrl === MsgReopenChannel.typeUrl || typeof o.authority === "string" && typeof o.channel_id === "string");
|
|
1723
|
+
},
|
|
1724
|
+
isAmino(o) {
|
|
1725
|
+
return o && (o.$typeUrl === MsgReopenChannel.typeUrl || typeof o.authority === "string" && typeof o.channel_id === "string");
|
|
1726
|
+
},
|
|
1727
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1728
|
+
if (message.authority !== "") {
|
|
1729
|
+
writer.uint32(10).string(message.authority);
|
|
1730
|
+
}
|
|
1731
|
+
if (message.channelId !== "") {
|
|
1732
|
+
writer.uint32(18).string(message.channelId);
|
|
1733
|
+
}
|
|
1734
|
+
return writer;
|
|
1735
|
+
},
|
|
1736
|
+
decode(input, length) {
|
|
1737
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1738
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1739
|
+
const message = createBaseMsgReopenChannel();
|
|
1740
|
+
while (reader.pos < end) {
|
|
1741
|
+
const tag = reader.uint32();
|
|
1742
|
+
switch (tag >>> 3) {
|
|
1743
|
+
case 1:
|
|
1744
|
+
message.authority = reader.string();
|
|
1745
|
+
break;
|
|
1746
|
+
case 2:
|
|
1747
|
+
message.channelId = reader.string();
|
|
1748
|
+
break;
|
|
1749
|
+
default:
|
|
1750
|
+
reader.skipType(tag & 7);
|
|
1751
|
+
break;
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1754
|
+
return message;
|
|
1755
|
+
},
|
|
1756
|
+
fromPartial(object) {
|
|
1757
|
+
const message = createBaseMsgReopenChannel();
|
|
1758
|
+
message.authority = object.authority ?? "";
|
|
1759
|
+
message.channelId = object.channelId ?? "";
|
|
1760
|
+
return message;
|
|
1761
|
+
},
|
|
1762
|
+
fromAmino(object) {
|
|
1763
|
+
const message = createBaseMsgReopenChannel();
|
|
1764
|
+
if (object.authority !== undefined && object.authority !== null) {
|
|
1765
|
+
message.authority = object.authority;
|
|
1766
|
+
}
|
|
1767
|
+
if (object.channel_id !== undefined && object.channel_id !== null) {
|
|
1768
|
+
message.channelId = object.channel_id;
|
|
1769
|
+
}
|
|
1770
|
+
return message;
|
|
1771
|
+
},
|
|
1772
|
+
toAmino(message) {
|
|
1773
|
+
const obj = {};
|
|
1774
|
+
obj.authority = message.authority === "" ? undefined : message.authority;
|
|
1775
|
+
obj.channel_id = message.channelId === "" ? undefined : message.channelId;
|
|
1776
|
+
return obj;
|
|
1777
|
+
},
|
|
1778
|
+
fromAminoMsg(object) {
|
|
1779
|
+
return MsgReopenChannel.fromAmino(object.value);
|
|
1780
|
+
},
|
|
1781
|
+
toAminoMsg(message) {
|
|
1782
|
+
return {
|
|
1783
|
+
type: "bze/x/guardian/MsgReopenChannel",
|
|
1784
|
+
value: MsgReopenChannel.toAmino(message)
|
|
1785
|
+
};
|
|
1786
|
+
},
|
|
1787
|
+
fromProtoMsg(message) {
|
|
1788
|
+
return MsgReopenChannel.decode(message.value);
|
|
1789
|
+
},
|
|
1790
|
+
toProto(message) {
|
|
1791
|
+
return MsgReopenChannel.encode(message).finish();
|
|
1792
|
+
},
|
|
1793
|
+
toProtoMsg(message) {
|
|
1794
|
+
return {
|
|
1795
|
+
typeUrl: "/bze.guardian.v1.MsgReopenChannel",
|
|
1796
|
+
value: MsgReopenChannel.encode(message).finish()
|
|
1797
|
+
};
|
|
1798
|
+
},
|
|
1799
|
+
registerTypeUrl() { }
|
|
1800
|
+
};
|
|
1801
|
+
function createBaseMsgReopenChannelResponse() {
|
|
1802
|
+
return {};
|
|
1803
|
+
}
|
|
1804
|
+
/**
|
|
1805
|
+
* MsgReopenChannelResponse defines the response structure for executing a
|
|
1806
|
+
* MsgReopenChannel message.
|
|
1807
|
+
* @name MsgReopenChannelResponse
|
|
1808
|
+
* @package bze.guardian.v1
|
|
1809
|
+
* @see proto type: bze.guardian.v1.MsgReopenChannelResponse
|
|
1810
|
+
*/
|
|
1811
|
+
export const MsgReopenChannelResponse = {
|
|
1812
|
+
typeUrl: "/bze.guardian.v1.MsgReopenChannelResponse",
|
|
1813
|
+
is(o) {
|
|
1814
|
+
return o && o.$typeUrl === MsgReopenChannelResponse.typeUrl;
|
|
1815
|
+
},
|
|
1816
|
+
isSDK(o) {
|
|
1817
|
+
return o && o.$typeUrl === MsgReopenChannelResponse.typeUrl;
|
|
1818
|
+
},
|
|
1819
|
+
isAmino(o) {
|
|
1820
|
+
return o && o.$typeUrl === MsgReopenChannelResponse.typeUrl;
|
|
1821
|
+
},
|
|
1822
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
1823
|
+
return writer;
|
|
1824
|
+
},
|
|
1825
|
+
decode(input, length) {
|
|
1826
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1827
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1828
|
+
const message = createBaseMsgReopenChannelResponse();
|
|
1829
|
+
while (reader.pos < end) {
|
|
1830
|
+
const tag = reader.uint32();
|
|
1831
|
+
switch (tag >>> 3) {
|
|
1832
|
+
default:
|
|
1833
|
+
reader.skipType(tag & 7);
|
|
1834
|
+
break;
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
return message;
|
|
1838
|
+
},
|
|
1839
|
+
fromPartial(_) {
|
|
1840
|
+
const message = createBaseMsgReopenChannelResponse();
|
|
1841
|
+
return message;
|
|
1842
|
+
},
|
|
1843
|
+
fromAmino(_) {
|
|
1844
|
+
const message = createBaseMsgReopenChannelResponse();
|
|
1845
|
+
return message;
|
|
1846
|
+
},
|
|
1847
|
+
toAmino(_) {
|
|
1848
|
+
const obj = {};
|
|
1849
|
+
return obj;
|
|
1850
|
+
},
|
|
1851
|
+
fromAminoMsg(object) {
|
|
1852
|
+
return MsgReopenChannelResponse.fromAmino(object.value);
|
|
1853
|
+
},
|
|
1854
|
+
fromProtoMsg(message) {
|
|
1855
|
+
return MsgReopenChannelResponse.decode(message.value);
|
|
1856
|
+
},
|
|
1857
|
+
toProto(message) {
|
|
1858
|
+
return MsgReopenChannelResponse.encode(message).finish();
|
|
1859
|
+
},
|
|
1860
|
+
toProtoMsg(message) {
|
|
1861
|
+
return {
|
|
1862
|
+
typeUrl: "/bze.guardian.v1.MsgReopenChannelResponse",
|
|
1863
|
+
value: MsgReopenChannelResponse.encode(message).finish()
|
|
1864
|
+
};
|
|
1865
|
+
},
|
|
1866
|
+
registerTypeUrl() { }
|
|
1867
|
+
};
|