@bze/bzejs 3.1.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 +6334 -2203
- package/dist/bze/bundle.js +148 -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 +610 -0
- package/dist/bze/rewards/events.js +979 -5
- package/dist/bze/rewards/genesis.d.ts +28 -1
- package/dist/bze/rewards/genesis.js +109 -4
- package/dist/bze/rewards/params.d.ts +27 -0
- package/dist/bze/rewards/params.js +88 -4
- package/dist/bze/rewards/query.d.ts +667 -1
- package/dist/bze/rewards/query.js +1086 -1
- package/dist/bze/rewards/query.lcd.d.ts +7 -1
- package/dist/bze/rewards/query.lcd.js +82 -0
- package/dist/bze/rewards/query.rpc.func.d.ts +48 -1
- package/dist/bze/rewards/query.rpc.func.js +84 -1
- package/dist/bze/rewards/store.d.ts +481 -0
- package/dist/bze/rewards/store.js +684 -1
- package/dist/bze/rewards/tx.d.ts +911 -0
- package/dist/bze/rewards/tx.js +1432 -1
- package/dist/bze/rewards/tx.registry.d.ts +97 -1
- package/dist/bze/rewards/tx.registry.js +145 -1
- package/dist/bze/rewards/tx.rpc.func.d.ts +49 -1
- package/dist/bze/rewards/tx.rpc.func.js +65 -1
- package/dist/bze/tokenfactory/denom_authority.d.ts +13 -0
- package/dist/bze/tokenfactory/denom_authority.js +16 -4
- package/dist/bze/tokenfactory/denom_branding.d.ts +206 -0
- package/dist/bze/tokenfactory/denom_branding.js +329 -0
- 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 +175 -0
- package/dist/bze/tokenfactory/events.js +285 -1
- package/dist/bze/tokenfactory/genesis.d.ts +14 -0
- package/dist/bze/tokenfactory/genesis.js +36 -5
- package/dist/bze/tokenfactory/query.d.ts +324 -0
- package/dist/bze/tokenfactory/query.js +508 -1
- package/dist/bze/tokenfactory/query.lcd.d.ts +4 -1
- package/dist/bze/tokenfactory/query.lcd.js +40 -0
- package/dist/bze/tokenfactory/query.rpc.func.d.ts +22 -1
- package/dist/bze/tokenfactory/query.rpc.func.js +40 -1
- package/dist/bze/tokenfactory/tx.d.ts +516 -0
- package/dist/bze/tokenfactory/tx.js +722 -1
- package/dist/bze/tokenfactory/tx.registry.d.ts +49 -1
- package/dist/bze/tokenfactory/tx.registry.js +73 -1
- package/dist/bze/tokenfactory/tx.rpc.func.d.ts +31 -1
- package/dist/bze/tokenfactory/tx.rpc.func.js +39 -1
- package/dist/bze/tradebin/events.d.ts +457 -121
- package/dist/bze/tradebin/events.js +693 -273
- package/dist/bze/tradebin/genesis.d.ts +10 -4
- package/dist/bze/tradebin/genesis.js +19 -20
- package/dist/bze/tradebin/query.d.ts +324 -0
- package/dist/bze/tradebin/query.js +507 -1
- package/dist/bze/tradebin/query.lcd.d.ts +4 -1
- package/dist/bze/tradebin/query.lcd.js +40 -0
- package/dist/bze/tradebin/query.rpc.func.d.ts +24 -1
- package/dist/bze/tradebin/query.rpc.func.js +42 -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 +477 -0
- package/dist/bze/tradebin/tx.js +638 -5
- package/dist/bze/tradebin/tx.registry.d.ts +37 -1
- package/dist/bze/tradebin/tx.registry.js +55 -1
- package/dist/bze/tradebin/tx.rpc.func.d.ts +22 -1
- package/dist/bze/tradebin/tx.rpc.func.js +28 -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 +297 -0
- package/dist/bze/txfeecollector/events.js +356 -0
- package/dist/bze/txfeecollector/params.d.ts +101 -0
- package/dist/bze/txfeecollector/params.js +115 -5
- 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 +8278 -10120
- 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 +148 -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 +978 -4
- package/dist/esm/bze/rewards/genesis.js +110 -5
- package/dist/esm/bze/rewards/params.js +88 -4
- package/dist/esm/bze/rewards/query.js +1086 -1
- package/dist/esm/bze/rewards/query.lcd.js +82 -0
- package/dist/esm/bze/rewards/query.rpc.func.js +84 -1
- package/dist/esm/bze/rewards/store.js +683 -0
- package/dist/esm/bze/rewards/tx.js +1431 -0
- package/dist/esm/bze/rewards/tx.registry.js +146 -2
- package/dist/esm/bze/rewards/tx.rpc.func.js +65 -1
- package/dist/esm/bze/tokenfactory/denom_authority.js +16 -4
- package/dist/esm/bze/tokenfactory/denom_branding.js +326 -0
- package/dist/esm/bze/tokenfactory/denom_config.js +108 -0
- package/dist/esm/bze/tokenfactory/events.js +284 -0
- package/dist/esm/bze/tokenfactory/genesis.js +36 -5
- package/dist/esm/bze/tokenfactory/query.js +507 -0
- package/dist/esm/bze/tokenfactory/query.lcd.js +40 -0
- package/dist/esm/bze/tokenfactory/query.rpc.func.js +40 -1
- package/dist/esm/bze/tokenfactory/tx.js +721 -0
- package/dist/esm/bze/tokenfactory/tx.registry.js +74 -2
- package/dist/esm/bze/tokenfactory/tx.rpc.func.js +39 -1
- package/dist/esm/bze/tradebin/events.js +692 -272
- package/dist/esm/bze/tradebin/genesis.js +20 -21
- package/dist/esm/bze/tradebin/query.js +506 -0
- package/dist/esm/bze/tradebin/query.lcd.js +40 -0
- package/dist/esm/bze/tradebin/query.rpc.func.js +42 -1
- package/dist/esm/bze/tradebin/store.js +119 -178
- package/dist/esm/bze/tradebin/tx.js +637 -4
- package/dist/esm/bze/tradebin/tx.registry.js +56 -2
- package/dist/esm/bze/tradebin/tx.rpc.func.js +28 -1
- package/dist/esm/bze/tradebin/v2/params.js +61 -36
- package/dist/esm/bze/txfeecollector/events.js +353 -0
- package/dist/esm/bze/txfeecollector/params.js +114 -4
- 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 +142 -170
- 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 +4056 -4615
- package/dist/ibc/bundle.js +142 -170
- 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
|
@@ -2,10 +2,105 @@
|
|
|
2
2
|
import { DecCoin } from "../../cosmos/base/v1beta1/coin";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
4
4
|
import { GlobalDecoderRegistry } from "../../registry";
|
|
5
|
+
function createBaseBlockedIbcTransfer() {
|
|
6
|
+
return {
|
|
7
|
+
channelId: "",
|
|
8
|
+
baseDenom: ""
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* BlockedIbcTransfer identifies an inbound ICS-20 transfer that this chain refuses
|
|
13
|
+
* to accept: a base denomination arriving on one of our channels. Only fresh mints
|
|
14
|
+
* are refused - vouchers of BZE-origin tokens coming back home are never affected,
|
|
15
|
+
* and nothing here touches outgoing transfers or their refunds.
|
|
16
|
+
* @name BlockedIbcTransfer
|
|
17
|
+
* @package bze.txfeecollector
|
|
18
|
+
* @see proto type: bze.txfeecollector.BlockedIbcTransfer
|
|
19
|
+
*/
|
|
20
|
+
export const BlockedIbcTransfer = {
|
|
21
|
+
typeUrl: "/bze.txfeecollector.BlockedIbcTransfer",
|
|
22
|
+
is(o) {
|
|
23
|
+
return o && (o.$typeUrl === BlockedIbcTransfer.typeUrl || typeof o.channelId === "string" && typeof o.baseDenom === "string");
|
|
24
|
+
},
|
|
25
|
+
isSDK(o) {
|
|
26
|
+
return o && (o.$typeUrl === BlockedIbcTransfer.typeUrl || typeof o.channel_id === "string" && typeof o.base_denom === "string");
|
|
27
|
+
},
|
|
28
|
+
isAmino(o) {
|
|
29
|
+
return o && (o.$typeUrl === BlockedIbcTransfer.typeUrl || typeof o.channel_id === "string" && typeof o.base_denom === "string");
|
|
30
|
+
},
|
|
31
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
32
|
+
if (message.channelId !== "") {
|
|
33
|
+
writer.uint32(10).string(message.channelId);
|
|
34
|
+
}
|
|
35
|
+
if (message.baseDenom !== "") {
|
|
36
|
+
writer.uint32(18).string(message.baseDenom);
|
|
37
|
+
}
|
|
38
|
+
return writer;
|
|
39
|
+
},
|
|
40
|
+
decode(input, length) {
|
|
41
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
42
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
43
|
+
const message = createBaseBlockedIbcTransfer();
|
|
44
|
+
while (reader.pos < end) {
|
|
45
|
+
const tag = reader.uint32();
|
|
46
|
+
switch (tag >>> 3) {
|
|
47
|
+
case 1:
|
|
48
|
+
message.channelId = reader.string();
|
|
49
|
+
break;
|
|
50
|
+
case 2:
|
|
51
|
+
message.baseDenom = reader.string();
|
|
52
|
+
break;
|
|
53
|
+
default:
|
|
54
|
+
reader.skipType(tag & 7);
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return message;
|
|
59
|
+
},
|
|
60
|
+
fromPartial(object) {
|
|
61
|
+
const message = createBaseBlockedIbcTransfer();
|
|
62
|
+
message.channelId = object.channelId ?? "";
|
|
63
|
+
message.baseDenom = object.baseDenom ?? "";
|
|
64
|
+
return message;
|
|
65
|
+
},
|
|
66
|
+
fromAmino(object) {
|
|
67
|
+
const message = createBaseBlockedIbcTransfer();
|
|
68
|
+
if (object.channel_id !== undefined && object.channel_id !== null) {
|
|
69
|
+
message.channelId = object.channel_id;
|
|
70
|
+
}
|
|
71
|
+
if (object.base_denom !== undefined && object.base_denom !== null) {
|
|
72
|
+
message.baseDenom = object.base_denom;
|
|
73
|
+
}
|
|
74
|
+
return message;
|
|
75
|
+
},
|
|
76
|
+
toAmino(message) {
|
|
77
|
+
const obj = {};
|
|
78
|
+
obj.channel_id = message.channelId === "" ? undefined : message.channelId;
|
|
79
|
+
obj.base_denom = message.baseDenom === "" ? undefined : message.baseDenom;
|
|
80
|
+
return obj;
|
|
81
|
+
},
|
|
82
|
+
fromAminoMsg(object) {
|
|
83
|
+
return BlockedIbcTransfer.fromAmino(object.value);
|
|
84
|
+
},
|
|
85
|
+
fromProtoMsg(message) {
|
|
86
|
+
return BlockedIbcTransfer.decode(message.value);
|
|
87
|
+
},
|
|
88
|
+
toProto(message) {
|
|
89
|
+
return BlockedIbcTransfer.encode(message).finish();
|
|
90
|
+
},
|
|
91
|
+
toProtoMsg(message) {
|
|
92
|
+
return {
|
|
93
|
+
typeUrl: "/bze.txfeecollector.BlockedIbcTransfer",
|
|
94
|
+
value: BlockedIbcTransfer.encode(message).finish()
|
|
95
|
+
};
|
|
96
|
+
},
|
|
97
|
+
registerTypeUrl() { }
|
|
98
|
+
};
|
|
5
99
|
function createBaseParams() {
|
|
6
100
|
return {
|
|
7
101
|
validatorMinGasFee: DecCoin.fromPartial({}),
|
|
8
|
-
maxBalanceIterations: BigInt(0)
|
|
102
|
+
maxBalanceIterations: BigInt(0),
|
|
103
|
+
blockedIbcInbound: []
|
|
9
104
|
};
|
|
10
105
|
}
|
|
11
106
|
/**
|
|
@@ -18,13 +113,13 @@ export const Params = {
|
|
|
18
113
|
typeUrl: "/bze.txfeecollector.Params",
|
|
19
114
|
aminoType: "bze/x/txfeecollector/Params",
|
|
20
115
|
is(o) {
|
|
21
|
-
return o && (o.$typeUrl === Params.typeUrl || DecCoin.is(o.validatorMinGasFee) && typeof o.maxBalanceIterations === "bigint");
|
|
116
|
+
return o && (o.$typeUrl === Params.typeUrl || DecCoin.is(o.validatorMinGasFee) && typeof o.maxBalanceIterations === "bigint" && Array.isArray(o.blockedIbcInbound) && (!o.blockedIbcInbound.length || BlockedIbcTransfer.is(o.blockedIbcInbound[0])));
|
|
22
117
|
},
|
|
23
118
|
isSDK(o) {
|
|
24
|
-
return o && (o.$typeUrl === Params.typeUrl || DecCoin.isSDK(o.ValidatorMinGasFee) && typeof o.MaxBalanceIterations === "bigint");
|
|
119
|
+
return o && (o.$typeUrl === Params.typeUrl || DecCoin.isSDK(o.ValidatorMinGasFee) && typeof o.MaxBalanceIterations === "bigint" && Array.isArray(o.BlockedIbcInbound) && (!o.BlockedIbcInbound.length || BlockedIbcTransfer.isSDK(o.BlockedIbcInbound[0])));
|
|
25
120
|
},
|
|
26
121
|
isAmino(o) {
|
|
27
|
-
return o && (o.$typeUrl === Params.typeUrl || DecCoin.isAmino(o.ValidatorMinGasFee) && typeof o.MaxBalanceIterations === "bigint");
|
|
122
|
+
return o && (o.$typeUrl === Params.typeUrl || DecCoin.isAmino(o.ValidatorMinGasFee) && typeof o.MaxBalanceIterations === "bigint" && Array.isArray(o.BlockedIbcInbound) && (!o.BlockedIbcInbound.length || BlockedIbcTransfer.isAmino(o.BlockedIbcInbound[0])));
|
|
28
123
|
},
|
|
29
124
|
encode(message, writer = BinaryWriter.create()) {
|
|
30
125
|
if (message.validatorMinGasFee !== undefined) {
|
|
@@ -33,6 +128,9 @@ export const Params = {
|
|
|
33
128
|
if (message.maxBalanceIterations !== BigInt(0)) {
|
|
34
129
|
writer.uint32(16).uint64(message.maxBalanceIterations);
|
|
35
130
|
}
|
|
131
|
+
for (const v of message.blockedIbcInbound) {
|
|
132
|
+
BlockedIbcTransfer.encode(v, writer.uint32(26).fork()).ldelim();
|
|
133
|
+
}
|
|
36
134
|
return writer;
|
|
37
135
|
},
|
|
38
136
|
decode(input, length) {
|
|
@@ -48,6 +146,9 @@ export const Params = {
|
|
|
48
146
|
case 2:
|
|
49
147
|
message.maxBalanceIterations = reader.uint64();
|
|
50
148
|
break;
|
|
149
|
+
case 3:
|
|
150
|
+
message.blockedIbcInbound.push(BlockedIbcTransfer.decode(reader, reader.uint32()));
|
|
151
|
+
break;
|
|
51
152
|
default:
|
|
52
153
|
reader.skipType(tag & 7);
|
|
53
154
|
break;
|
|
@@ -59,6 +160,7 @@ export const Params = {
|
|
|
59
160
|
const message = createBaseParams();
|
|
60
161
|
message.validatorMinGasFee = object.validatorMinGasFee !== undefined && object.validatorMinGasFee !== null ? DecCoin.fromPartial(object.validatorMinGasFee) : undefined;
|
|
61
162
|
message.maxBalanceIterations = object.maxBalanceIterations !== undefined && object.maxBalanceIterations !== null ? BigInt(object.maxBalanceIterations.toString()) : BigInt(0);
|
|
163
|
+
message.blockedIbcInbound = object.blockedIbcInbound?.map(e => BlockedIbcTransfer.fromPartial(e)) || [];
|
|
62
164
|
return message;
|
|
63
165
|
},
|
|
64
166
|
fromAmino(object) {
|
|
@@ -69,12 +171,19 @@ export const Params = {
|
|
|
69
171
|
if (object.MaxBalanceIterations !== undefined && object.MaxBalanceIterations !== null) {
|
|
70
172
|
message.maxBalanceIterations = BigInt(object.MaxBalanceIterations);
|
|
71
173
|
}
|
|
174
|
+
message.blockedIbcInbound = object.BlockedIbcInbound?.map(e => BlockedIbcTransfer.fromAmino(e)) || [];
|
|
72
175
|
return message;
|
|
73
176
|
},
|
|
74
177
|
toAmino(message) {
|
|
75
178
|
const obj = {};
|
|
76
179
|
obj.ValidatorMinGasFee = message.validatorMinGasFee ? DecCoin.toAmino(message.validatorMinGasFee) : undefined;
|
|
77
180
|
obj.MaxBalanceIterations = message.maxBalanceIterations !== BigInt(0) ? message.maxBalanceIterations?.toString() : undefined;
|
|
181
|
+
if (message.blockedIbcInbound) {
|
|
182
|
+
obj.BlockedIbcInbound = message.blockedIbcInbound.map(e => e ? BlockedIbcTransfer.toAmino(e) : undefined);
|
|
183
|
+
}
|
|
184
|
+
else {
|
|
185
|
+
obj.BlockedIbcInbound = message.blockedIbcInbound;
|
|
186
|
+
}
|
|
78
187
|
return obj;
|
|
79
188
|
},
|
|
80
189
|
fromAminoMsg(object) {
|
|
@@ -103,5 +212,6 @@ export const Params = {
|
|
|
103
212
|
return;
|
|
104
213
|
}
|
|
105
214
|
DecCoin.registerTypeUrl();
|
|
215
|
+
BlockedIbcTransfer.registerTypeUrl();
|
|
106
216
|
}
|
|
107
217
|
};
|
|
@@ -9,9 +9,11 @@ function createBaseModule() {
|
|
|
9
9
|
initGenesis: [],
|
|
10
10
|
exportGenesis: [],
|
|
11
11
|
overrideStoreKeys: [],
|
|
12
|
+
skipStoreKeys: [],
|
|
12
13
|
orderMigrations: [],
|
|
13
14
|
precommiters: [],
|
|
14
|
-
prepareCheckStaters: []
|
|
15
|
+
prepareCheckStaters: [],
|
|
16
|
+
preBlockers: []
|
|
15
17
|
};
|
|
16
18
|
}
|
|
17
19
|
/**
|
|
@@ -24,13 +26,13 @@ export const Module = {
|
|
|
24
26
|
typeUrl: "/cosmos.app.runtime.v1alpha1.Module",
|
|
25
27
|
aminoType: "cosmos-sdk/Module",
|
|
26
28
|
is(o) {
|
|
27
|
-
return o && (o.$typeUrl === Module.typeUrl || typeof o.appName === "string" && Array.isArray(o.beginBlockers) && (!o.beginBlockers.length || typeof o.beginBlockers[0] === "string") && Array.isArray(o.endBlockers) && (!o.endBlockers.length || typeof o.endBlockers[0] === "string") && Array.isArray(o.initGenesis) && (!o.initGenesis.length || typeof o.initGenesis[0] === "string") && Array.isArray(o.exportGenesis) && (!o.exportGenesis.length || typeof o.exportGenesis[0] === "string") && Array.isArray(o.overrideStoreKeys) && (!o.overrideStoreKeys.length || StoreKeyConfig.is(o.overrideStoreKeys[0])) && Array.isArray(o.orderMigrations) && (!o.orderMigrations.length || typeof o.orderMigrations[0] === "string") && Array.isArray(o.precommiters) && (!o.precommiters.length || typeof o.precommiters[0] === "string") && Array.isArray(o.prepareCheckStaters) && (!o.prepareCheckStaters.length || typeof o.prepareCheckStaters[0] === "string"));
|
|
29
|
+
return o && (o.$typeUrl === Module.typeUrl || typeof o.appName === "string" && Array.isArray(o.beginBlockers) && (!o.beginBlockers.length || typeof o.beginBlockers[0] === "string") && Array.isArray(o.endBlockers) && (!o.endBlockers.length || typeof o.endBlockers[0] === "string") && Array.isArray(o.initGenesis) && (!o.initGenesis.length || typeof o.initGenesis[0] === "string") && Array.isArray(o.exportGenesis) && (!o.exportGenesis.length || typeof o.exportGenesis[0] === "string") && Array.isArray(o.overrideStoreKeys) && (!o.overrideStoreKeys.length || StoreKeyConfig.is(o.overrideStoreKeys[0])) && Array.isArray(o.skipStoreKeys) && (!o.skipStoreKeys.length || typeof o.skipStoreKeys[0] === "string") && Array.isArray(o.orderMigrations) && (!o.orderMigrations.length || typeof o.orderMigrations[0] === "string") && Array.isArray(o.precommiters) && (!o.precommiters.length || typeof o.precommiters[0] === "string") && Array.isArray(o.prepareCheckStaters) && (!o.prepareCheckStaters.length || typeof o.prepareCheckStaters[0] === "string") && Array.isArray(o.preBlockers) && (!o.preBlockers.length || typeof o.preBlockers[0] === "string"));
|
|
28
30
|
},
|
|
29
31
|
isSDK(o) {
|
|
30
|
-
return o && (o.$typeUrl === Module.typeUrl || typeof o.app_name === "string" && Array.isArray(o.begin_blockers) && (!o.begin_blockers.length || typeof o.begin_blockers[0] === "string") && Array.isArray(o.end_blockers) && (!o.end_blockers.length || typeof o.end_blockers[0] === "string") && Array.isArray(o.init_genesis) && (!o.init_genesis.length || typeof o.init_genesis[0] === "string") && Array.isArray(o.export_genesis) && (!o.export_genesis.length || typeof o.export_genesis[0] === "string") && Array.isArray(o.override_store_keys) && (!o.override_store_keys.length || StoreKeyConfig.isSDK(o.override_store_keys[0])) && Array.isArray(o.order_migrations) && (!o.order_migrations.length || typeof o.order_migrations[0] === "string") && Array.isArray(o.precommiters) && (!o.precommiters.length || typeof o.precommiters[0] === "string") && Array.isArray(o.prepare_check_staters) && (!o.prepare_check_staters.length || typeof o.prepare_check_staters[0] === "string"));
|
|
32
|
+
return o && (o.$typeUrl === Module.typeUrl || typeof o.app_name === "string" && Array.isArray(o.begin_blockers) && (!o.begin_blockers.length || typeof o.begin_blockers[0] === "string") && Array.isArray(o.end_blockers) && (!o.end_blockers.length || typeof o.end_blockers[0] === "string") && Array.isArray(o.init_genesis) && (!o.init_genesis.length || typeof o.init_genesis[0] === "string") && Array.isArray(o.export_genesis) && (!o.export_genesis.length || typeof o.export_genesis[0] === "string") && Array.isArray(o.override_store_keys) && (!o.override_store_keys.length || StoreKeyConfig.isSDK(o.override_store_keys[0])) && Array.isArray(o.skip_store_keys) && (!o.skip_store_keys.length || typeof o.skip_store_keys[0] === "string") && Array.isArray(o.order_migrations) && (!o.order_migrations.length || typeof o.order_migrations[0] === "string") && Array.isArray(o.precommiters) && (!o.precommiters.length || typeof o.precommiters[0] === "string") && Array.isArray(o.prepare_check_staters) && (!o.prepare_check_staters.length || typeof o.prepare_check_staters[0] === "string") && Array.isArray(o.pre_blockers) && (!o.pre_blockers.length || typeof o.pre_blockers[0] === "string"));
|
|
31
33
|
},
|
|
32
34
|
isAmino(o) {
|
|
33
|
-
return o && (o.$typeUrl === Module.typeUrl || typeof o.app_name === "string" && Array.isArray(o.begin_blockers) && (!o.begin_blockers.length || typeof o.begin_blockers[0] === "string") && Array.isArray(o.end_blockers) && (!o.end_blockers.length || typeof o.end_blockers[0] === "string") && Array.isArray(o.init_genesis) && (!o.init_genesis.length || typeof o.init_genesis[0] === "string") && Array.isArray(o.export_genesis) && (!o.export_genesis.length || typeof o.export_genesis[0] === "string") && Array.isArray(o.override_store_keys) && (!o.override_store_keys.length || StoreKeyConfig.isAmino(o.override_store_keys[0])) && Array.isArray(o.order_migrations) && (!o.order_migrations.length || typeof o.order_migrations[0] === "string") && Array.isArray(o.precommiters) && (!o.precommiters.length || typeof o.precommiters[0] === "string") && Array.isArray(o.prepare_check_staters) && (!o.prepare_check_staters.length || typeof o.prepare_check_staters[0] === "string"));
|
|
35
|
+
return o && (o.$typeUrl === Module.typeUrl || typeof o.app_name === "string" && Array.isArray(o.begin_blockers) && (!o.begin_blockers.length || typeof o.begin_blockers[0] === "string") && Array.isArray(o.end_blockers) && (!o.end_blockers.length || typeof o.end_blockers[0] === "string") && Array.isArray(o.init_genesis) && (!o.init_genesis.length || typeof o.init_genesis[0] === "string") && Array.isArray(o.export_genesis) && (!o.export_genesis.length || typeof o.export_genesis[0] === "string") && Array.isArray(o.override_store_keys) && (!o.override_store_keys.length || StoreKeyConfig.isAmino(o.override_store_keys[0])) && Array.isArray(o.skip_store_keys) && (!o.skip_store_keys.length || typeof o.skip_store_keys[0] === "string") && Array.isArray(o.order_migrations) && (!o.order_migrations.length || typeof o.order_migrations[0] === "string") && Array.isArray(o.precommiters) && (!o.precommiters.length || typeof o.precommiters[0] === "string") && Array.isArray(o.prepare_check_staters) && (!o.prepare_check_staters.length || typeof o.prepare_check_staters[0] === "string") && Array.isArray(o.pre_blockers) && (!o.pre_blockers.length || typeof o.pre_blockers[0] === "string"));
|
|
34
36
|
},
|
|
35
37
|
encode(message, writer = BinaryWriter.create()) {
|
|
36
38
|
if (message.appName !== "") {
|
|
@@ -51,6 +53,9 @@ export const Module = {
|
|
|
51
53
|
for (const v of message.overrideStoreKeys) {
|
|
52
54
|
StoreKeyConfig.encode(v, writer.uint32(50).fork()).ldelim();
|
|
53
55
|
}
|
|
56
|
+
for (const v of message.skipStoreKeys) {
|
|
57
|
+
writer.uint32(90).string(v);
|
|
58
|
+
}
|
|
54
59
|
for (const v of message.orderMigrations) {
|
|
55
60
|
writer.uint32(58).string(v);
|
|
56
61
|
}
|
|
@@ -60,6 +65,9 @@ export const Module = {
|
|
|
60
65
|
for (const v of message.prepareCheckStaters) {
|
|
61
66
|
writer.uint32(74).string(v);
|
|
62
67
|
}
|
|
68
|
+
for (const v of message.preBlockers) {
|
|
69
|
+
writer.uint32(82).string(v);
|
|
70
|
+
}
|
|
63
71
|
return writer;
|
|
64
72
|
},
|
|
65
73
|
decode(input, length) {
|
|
@@ -87,6 +95,9 @@ export const Module = {
|
|
|
87
95
|
case 6:
|
|
88
96
|
message.overrideStoreKeys.push(StoreKeyConfig.decode(reader, reader.uint32()));
|
|
89
97
|
break;
|
|
98
|
+
case 11:
|
|
99
|
+
message.skipStoreKeys.push(reader.string());
|
|
100
|
+
break;
|
|
90
101
|
case 7:
|
|
91
102
|
message.orderMigrations.push(reader.string());
|
|
92
103
|
break;
|
|
@@ -96,6 +107,9 @@ export const Module = {
|
|
|
96
107
|
case 9:
|
|
97
108
|
message.prepareCheckStaters.push(reader.string());
|
|
98
109
|
break;
|
|
110
|
+
case 10:
|
|
111
|
+
message.preBlockers.push(reader.string());
|
|
112
|
+
break;
|
|
99
113
|
default:
|
|
100
114
|
reader.skipType(tag & 7);
|
|
101
115
|
break;
|
|
@@ -111,9 +125,11 @@ export const Module = {
|
|
|
111
125
|
message.initGenesis = object.initGenesis?.map(e => e) || [];
|
|
112
126
|
message.exportGenesis = object.exportGenesis?.map(e => e) || [];
|
|
113
127
|
message.overrideStoreKeys = object.overrideStoreKeys?.map(e => StoreKeyConfig.fromPartial(e)) || [];
|
|
128
|
+
message.skipStoreKeys = object.skipStoreKeys?.map(e => e) || [];
|
|
114
129
|
message.orderMigrations = object.orderMigrations?.map(e => e) || [];
|
|
115
130
|
message.precommiters = object.precommiters?.map(e => e) || [];
|
|
116
131
|
message.prepareCheckStaters = object.prepareCheckStaters?.map(e => e) || [];
|
|
132
|
+
message.preBlockers = object.preBlockers?.map(e => e) || [];
|
|
117
133
|
return message;
|
|
118
134
|
},
|
|
119
135
|
fromAmino(object) {
|
|
@@ -126,9 +142,11 @@ export const Module = {
|
|
|
126
142
|
message.initGenesis = object.init_genesis?.map(e => e) || [];
|
|
127
143
|
message.exportGenesis = object.export_genesis?.map(e => e) || [];
|
|
128
144
|
message.overrideStoreKeys = object.override_store_keys?.map(e => StoreKeyConfig.fromAmino(e)) || [];
|
|
145
|
+
message.skipStoreKeys = object.skip_store_keys?.map(e => e) || [];
|
|
129
146
|
message.orderMigrations = object.order_migrations?.map(e => e) || [];
|
|
130
147
|
message.precommiters = object.precommiters?.map(e => e) || [];
|
|
131
148
|
message.prepareCheckStaters = object.prepare_check_staters?.map(e => e) || [];
|
|
149
|
+
message.preBlockers = object.pre_blockers?.map(e => e) || [];
|
|
132
150
|
return message;
|
|
133
151
|
},
|
|
134
152
|
toAmino(message) {
|
|
@@ -164,6 +182,12 @@ export const Module = {
|
|
|
164
182
|
else {
|
|
165
183
|
obj.override_store_keys = message.overrideStoreKeys;
|
|
166
184
|
}
|
|
185
|
+
if (message.skipStoreKeys) {
|
|
186
|
+
obj.skip_store_keys = message.skipStoreKeys.map(e => e);
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
obj.skip_store_keys = message.skipStoreKeys;
|
|
190
|
+
}
|
|
167
191
|
if (message.orderMigrations) {
|
|
168
192
|
obj.order_migrations = message.orderMigrations.map(e => e);
|
|
169
193
|
}
|
|
@@ -182,6 +206,12 @@ export const Module = {
|
|
|
182
206
|
else {
|
|
183
207
|
obj.prepare_check_staters = message.prepareCheckStaters;
|
|
184
208
|
}
|
|
209
|
+
if (message.preBlockers) {
|
|
210
|
+
obj.pre_blockers = message.preBlockers.map(e => e);
|
|
211
|
+
}
|
|
212
|
+
else {
|
|
213
|
+
obj.pre_blockers = message.preBlockers;
|
|
214
|
+
}
|
|
185
215
|
return obj;
|
|
186
216
|
},
|
|
187
217
|
fromAminoMsg(object) {
|
|
@@ -5,7 +5,8 @@ function createBaseModule() {
|
|
|
5
5
|
return {
|
|
6
6
|
bech32Prefix: "",
|
|
7
7
|
moduleAccountPermissions: [],
|
|
8
|
-
authority: ""
|
|
8
|
+
authority: "",
|
|
9
|
+
enableUnorderedTransactions: false
|
|
9
10
|
};
|
|
10
11
|
}
|
|
11
12
|
/**
|
|
@@ -18,13 +19,13 @@ export const Module = {
|
|
|
18
19
|
typeUrl: "/cosmos.auth.module.v1.Module",
|
|
19
20
|
aminoType: "cosmos-sdk/Module",
|
|
20
21
|
is(o) {
|
|
21
|
-
return o && (o.$typeUrl === Module.typeUrl || typeof o.bech32Prefix === "string" && Array.isArray(o.moduleAccountPermissions) && (!o.moduleAccountPermissions.length || ModuleAccountPermission.is(o.moduleAccountPermissions[0])) && typeof o.authority === "string");
|
|
22
|
+
return o && (o.$typeUrl === Module.typeUrl || typeof o.bech32Prefix === "string" && Array.isArray(o.moduleAccountPermissions) && (!o.moduleAccountPermissions.length || ModuleAccountPermission.is(o.moduleAccountPermissions[0])) && typeof o.authority === "string" && typeof o.enableUnorderedTransactions === "boolean");
|
|
22
23
|
},
|
|
23
24
|
isSDK(o) {
|
|
24
|
-
return o && (o.$typeUrl === Module.typeUrl || typeof o.bech32_prefix === "string" && Array.isArray(o.module_account_permissions) && (!o.module_account_permissions.length || ModuleAccountPermission.isSDK(o.module_account_permissions[0])) && typeof o.authority === "string");
|
|
25
|
+
return o && (o.$typeUrl === Module.typeUrl || typeof o.bech32_prefix === "string" && Array.isArray(o.module_account_permissions) && (!o.module_account_permissions.length || ModuleAccountPermission.isSDK(o.module_account_permissions[0])) && typeof o.authority === "string" && typeof o.enable_unordered_transactions === "boolean");
|
|
25
26
|
},
|
|
26
27
|
isAmino(o) {
|
|
27
|
-
return o && (o.$typeUrl === Module.typeUrl || typeof o.bech32_prefix === "string" && Array.isArray(o.module_account_permissions) && (!o.module_account_permissions.length || ModuleAccountPermission.isAmino(o.module_account_permissions[0])) && typeof o.authority === "string");
|
|
28
|
+
return o && (o.$typeUrl === Module.typeUrl || typeof o.bech32_prefix === "string" && Array.isArray(o.module_account_permissions) && (!o.module_account_permissions.length || ModuleAccountPermission.isAmino(o.module_account_permissions[0])) && typeof o.authority === "string" && typeof o.enable_unordered_transactions === "boolean");
|
|
28
29
|
},
|
|
29
30
|
encode(message, writer = BinaryWriter.create()) {
|
|
30
31
|
if (message.bech32Prefix !== "") {
|
|
@@ -36,6 +37,9 @@ export const Module = {
|
|
|
36
37
|
if (message.authority !== "") {
|
|
37
38
|
writer.uint32(26).string(message.authority);
|
|
38
39
|
}
|
|
40
|
+
if (message.enableUnorderedTransactions === true) {
|
|
41
|
+
writer.uint32(32).bool(message.enableUnorderedTransactions);
|
|
42
|
+
}
|
|
39
43
|
return writer;
|
|
40
44
|
},
|
|
41
45
|
decode(input, length) {
|
|
@@ -54,6 +58,9 @@ export const Module = {
|
|
|
54
58
|
case 3:
|
|
55
59
|
message.authority = reader.string();
|
|
56
60
|
break;
|
|
61
|
+
case 4:
|
|
62
|
+
message.enableUnorderedTransactions = reader.bool();
|
|
63
|
+
break;
|
|
57
64
|
default:
|
|
58
65
|
reader.skipType(tag & 7);
|
|
59
66
|
break;
|
|
@@ -66,6 +73,7 @@ export const Module = {
|
|
|
66
73
|
message.bech32Prefix = object.bech32Prefix ?? "";
|
|
67
74
|
message.moduleAccountPermissions = object.moduleAccountPermissions?.map(e => ModuleAccountPermission.fromPartial(e)) || [];
|
|
68
75
|
message.authority = object.authority ?? "";
|
|
76
|
+
message.enableUnorderedTransactions = object.enableUnorderedTransactions ?? false;
|
|
69
77
|
return message;
|
|
70
78
|
},
|
|
71
79
|
fromAmino(object) {
|
|
@@ -77,6 +85,9 @@ export const Module = {
|
|
|
77
85
|
if (object.authority !== undefined && object.authority !== null) {
|
|
78
86
|
message.authority = object.authority;
|
|
79
87
|
}
|
|
88
|
+
if (object.enable_unordered_transactions !== undefined && object.enable_unordered_transactions !== null) {
|
|
89
|
+
message.enableUnorderedTransactions = object.enable_unordered_transactions;
|
|
90
|
+
}
|
|
80
91
|
return message;
|
|
81
92
|
},
|
|
82
93
|
toAmino(message) {
|
|
@@ -89,6 +100,7 @@ export const Module = {
|
|
|
89
100
|
obj.module_account_permissions = message.moduleAccountPermissions;
|
|
90
101
|
}
|
|
91
102
|
obj.authority = message.authority === "" ? undefined : message.authority;
|
|
103
|
+
obj.enable_unordered_transactions = message.enableUnorderedTransactions === false ? undefined : message.enableUnorderedTransactions;
|
|
92
104
|
return obj;
|
|
93
105
|
},
|
|
94
106
|
fromAminoMsg(object) {
|
|
@@ -263,8 +263,6 @@ function createBaseModuleCredential() {
|
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
265
|
* ModuleCredential represents a unclaimable pubkey for base accounts controlled by modules.
|
|
266
|
-
*
|
|
267
|
-
* Since: cosmos-sdk 0.47
|
|
268
266
|
* @name ModuleCredential
|
|
269
267
|
* @package cosmos.auth.v1beta1
|
|
270
268
|
* @see proto type: cosmos.auth.v1beta1.ModuleCredential
|
|
@@ -12,8 +12,6 @@ function createBaseQueryAccountsRequest() {
|
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* QueryAccountsRequest is the request type for the Query/Accounts RPC method.
|
|
15
|
-
*
|
|
16
|
-
* Since: cosmos-sdk 0.43
|
|
17
15
|
* @name QueryAccountsRequest
|
|
18
16
|
* @package cosmos.auth.v1beta1
|
|
19
17
|
* @see proto type: cosmos.auth.v1beta1.QueryAccountsRequest
|
|
@@ -106,8 +104,6 @@ function createBaseQueryAccountsResponse() {
|
|
|
106
104
|
}
|
|
107
105
|
/**
|
|
108
106
|
* QueryAccountsResponse is the response type for the Query/Accounts RPC method.
|
|
109
|
-
*
|
|
110
|
-
* Since: cosmos-sdk 0.43
|
|
111
107
|
* @name QueryAccountsResponse
|
|
112
108
|
* @package cosmos.auth.v1beta1
|
|
113
109
|
* @see proto type: cosmos.auth.v1beta1.QueryAccountsResponse
|
|
@@ -553,8 +549,6 @@ function createBaseQueryModuleAccountsRequest() {
|
|
|
553
549
|
}
|
|
554
550
|
/**
|
|
555
551
|
* QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method.
|
|
556
|
-
*
|
|
557
|
-
* Since: cosmos-sdk 0.46
|
|
558
552
|
* @name QueryModuleAccountsRequest
|
|
559
553
|
* @package cosmos.auth.v1beta1
|
|
560
554
|
* @see proto type: cosmos.auth.v1beta1.QueryModuleAccountsRequest
|
|
@@ -630,8 +624,6 @@ function createBaseQueryModuleAccountsResponse() {
|
|
|
630
624
|
}
|
|
631
625
|
/**
|
|
632
626
|
* QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method.
|
|
633
|
-
*
|
|
634
|
-
* Since: cosmos-sdk 0.46
|
|
635
627
|
* @name QueryModuleAccountsResponse
|
|
636
628
|
* @package cosmos.auth.v1beta1
|
|
637
629
|
* @see proto type: cosmos.auth.v1beta1.QueryModuleAccountsResponse
|
|
@@ -901,8 +893,6 @@ function createBaseBech32PrefixRequest() {
|
|
|
901
893
|
}
|
|
902
894
|
/**
|
|
903
895
|
* Bech32PrefixRequest is the request type for Bech32Prefix rpc method.
|
|
904
|
-
*
|
|
905
|
-
* Since: cosmos-sdk 0.46
|
|
906
896
|
* @name Bech32PrefixRequest
|
|
907
897
|
* @package cosmos.auth.v1beta1
|
|
908
898
|
* @see proto type: cosmos.auth.v1beta1.Bech32PrefixRequest
|
|
@@ -978,8 +968,6 @@ function createBaseBech32PrefixResponse() {
|
|
|
978
968
|
}
|
|
979
969
|
/**
|
|
980
970
|
* Bech32PrefixResponse is the response type for Bech32Prefix rpc method.
|
|
981
|
-
*
|
|
982
|
-
* Since: cosmos-sdk 0.46
|
|
983
971
|
* @name Bech32PrefixResponse
|
|
984
972
|
* @package cosmos.auth.v1beta1
|
|
985
973
|
* @see proto type: cosmos.auth.v1beta1.Bech32PrefixResponse
|
|
@@ -1066,8 +1054,6 @@ function createBaseAddressBytesToStringRequest() {
|
|
|
1066
1054
|
}
|
|
1067
1055
|
/**
|
|
1068
1056
|
* AddressBytesToStringRequest is the request type for AddressString rpc method.
|
|
1069
|
-
*
|
|
1070
|
-
* Since: cosmos-sdk 0.46
|
|
1071
1057
|
* @name AddressBytesToStringRequest
|
|
1072
1058
|
* @package cosmos.auth.v1beta1
|
|
1073
1059
|
* @see proto type: cosmos.auth.v1beta1.AddressBytesToStringRequest
|
|
@@ -1154,8 +1140,6 @@ function createBaseAddressBytesToStringResponse() {
|
|
|
1154
1140
|
}
|
|
1155
1141
|
/**
|
|
1156
1142
|
* AddressBytesToStringResponse is the response type for AddressString rpc method.
|
|
1157
|
-
*
|
|
1158
|
-
* Since: cosmos-sdk 0.46
|
|
1159
1143
|
* @name AddressBytesToStringResponse
|
|
1160
1144
|
* @package cosmos.auth.v1beta1
|
|
1161
1145
|
* @see proto type: cosmos.auth.v1beta1.AddressBytesToStringResponse
|
|
@@ -1242,8 +1226,6 @@ function createBaseAddressStringToBytesRequest() {
|
|
|
1242
1226
|
}
|
|
1243
1227
|
/**
|
|
1244
1228
|
* AddressStringToBytesRequest is the request type for AccountBytes rpc method.
|
|
1245
|
-
*
|
|
1246
|
-
* Since: cosmos-sdk 0.46
|
|
1247
1229
|
* @name AddressStringToBytesRequest
|
|
1248
1230
|
* @package cosmos.auth.v1beta1
|
|
1249
1231
|
* @see proto type: cosmos.auth.v1beta1.AddressStringToBytesRequest
|
|
@@ -1330,8 +1312,6 @@ function createBaseAddressStringToBytesResponse() {
|
|
|
1330
1312
|
}
|
|
1331
1313
|
/**
|
|
1332
1314
|
* AddressStringToBytesResponse is the response type for AddressBytes rpc method.
|
|
1333
|
-
*
|
|
1334
|
-
* Since: cosmos-sdk 0.46
|
|
1335
1315
|
* @name AddressStringToBytesResponse
|
|
1336
1316
|
* @package cosmos.auth.v1beta1
|
|
1337
1317
|
* @see proto type: cosmos.auth.v1beta1.AddressStringToBytesResponse
|
|
@@ -1419,8 +1399,6 @@ function createBaseQueryAccountAddressByIDRequest() {
|
|
|
1419
1399
|
}
|
|
1420
1400
|
/**
|
|
1421
1401
|
* QueryAccountAddressByIDRequest is the request type for AccountAddressByID rpc method
|
|
1422
|
-
*
|
|
1423
|
-
* Since: cosmos-sdk 0.46.2
|
|
1424
1402
|
* @name QueryAccountAddressByIDRequest
|
|
1425
1403
|
* @package cosmos.auth.v1beta1
|
|
1426
1404
|
* @see proto type: cosmos.auth.v1beta1.QueryAccountAddressByIDRequest
|
|
@@ -1518,8 +1496,6 @@ function createBaseQueryAccountAddressByIDResponse() {
|
|
|
1518
1496
|
}
|
|
1519
1497
|
/**
|
|
1520
1498
|
* QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method
|
|
1521
|
-
*
|
|
1522
|
-
* Since: cosmos-sdk 0.46.2
|
|
1523
1499
|
* @name QueryAccountAddressByIDResponse
|
|
1524
1500
|
* @package cosmos.auth.v1beta1
|
|
1525
1501
|
* @see proto type: cosmos.auth.v1beta1.QueryAccountAddressByIDResponse
|
|
@@ -1606,8 +1582,6 @@ function createBaseQueryAccountInfoRequest() {
|
|
|
1606
1582
|
}
|
|
1607
1583
|
/**
|
|
1608
1584
|
* QueryAccountInfoRequest is the Query/AccountInfo request type.
|
|
1609
|
-
*
|
|
1610
|
-
* Since: cosmos-sdk 0.47
|
|
1611
1585
|
* @name QueryAccountInfoRequest
|
|
1612
1586
|
* @package cosmos.auth.v1beta1
|
|
1613
1587
|
* @see proto type: cosmos.auth.v1beta1.QueryAccountInfoRequest
|
|
@@ -1694,8 +1668,6 @@ function createBaseQueryAccountInfoResponse() {
|
|
|
1694
1668
|
}
|
|
1695
1669
|
/**
|
|
1696
1670
|
* QueryAccountInfoResponse is the Query/AccountInfo response type.
|
|
1697
|
-
*
|
|
1698
|
-
* Since: cosmos-sdk 0.47
|
|
1699
1671
|
* @name QueryAccountInfoResponse
|
|
1700
1672
|
* @package cosmos.auth.v1beta1
|
|
1701
1673
|
* @see proto type: cosmos.auth.v1beta1.QueryAccountInfoResponse
|
|
@@ -18,9 +18,7 @@ export class LCDQueryClient {
|
|
|
18
18
|
/* Accounts returns all the existing accounts.
|
|
19
19
|
|
|
20
20
|
When called from another module, this query might consume a high amount of
|
|
21
|
-
gas if the pagination field is incorrectly set.
|
|
22
|
-
|
|
23
|
-
Since: cosmos-sdk 0.43 */
|
|
21
|
+
gas if the pagination field is incorrectly set. */
|
|
24
22
|
async accounts(params = {
|
|
25
23
|
pagination: undefined
|
|
26
24
|
}) {
|
|
@@ -38,9 +36,7 @@ export class LCDQueryClient {
|
|
|
38
36
|
const endpoint = `cosmos/auth/v1beta1/accounts/${params.address}`;
|
|
39
37
|
return await this.req.get(endpoint);
|
|
40
38
|
}
|
|
41
|
-
/* AccountAddressByID returns account address based on account number.
|
|
42
|
-
|
|
43
|
-
Since: cosmos-sdk 0.46.2 */
|
|
39
|
+
/* AccountAddressByID returns account address based on account number. */
|
|
44
40
|
async accountAddressByID(params) {
|
|
45
41
|
const options = {
|
|
46
42
|
params: {}
|
|
@@ -56,9 +52,7 @@ export class LCDQueryClient {
|
|
|
56
52
|
const endpoint = `cosmos/auth/v1beta1/params`;
|
|
57
53
|
return await this.req.get(endpoint);
|
|
58
54
|
}
|
|
59
|
-
/* ModuleAccounts returns all the existing module accounts.
|
|
60
|
-
|
|
61
|
-
Since: cosmos-sdk 0.46 */
|
|
55
|
+
/* ModuleAccounts returns all the existing module accounts. */
|
|
62
56
|
async moduleAccounts(_params = {}) {
|
|
63
57
|
const endpoint = `cosmos/auth/v1beta1/module_accounts`;
|
|
64
58
|
return await this.req.get(endpoint);
|
|
@@ -68,30 +62,22 @@ export class LCDQueryClient {
|
|
|
68
62
|
const endpoint = `cosmos/auth/v1beta1/module_accounts/${params.name}`;
|
|
69
63
|
return await this.req.get(endpoint);
|
|
70
64
|
}
|
|
71
|
-
/* Bech32Prefix queries bech32Prefix
|
|
72
|
-
|
|
73
|
-
Since: cosmos-sdk 0.46 */
|
|
65
|
+
/* Bech32Prefix queries bech32Prefix */
|
|
74
66
|
async bech32Prefix(_params = {}) {
|
|
75
67
|
const endpoint = `cosmos/auth/v1beta1/bech32`;
|
|
76
68
|
return await this.req.get(endpoint);
|
|
77
69
|
}
|
|
78
|
-
/* AddressBytesToString converts Account Address bytes to string
|
|
79
|
-
|
|
80
|
-
Since: cosmos-sdk 0.46 */
|
|
70
|
+
/* AddressBytesToString converts Account Address bytes to string */
|
|
81
71
|
async addressBytesToString(params) {
|
|
82
72
|
const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressBytes}`;
|
|
83
73
|
return await this.req.get(endpoint);
|
|
84
74
|
}
|
|
85
|
-
/* AddressStringToBytes converts Address string to bytes
|
|
86
|
-
|
|
87
|
-
Since: cosmos-sdk 0.46 */
|
|
75
|
+
/* AddressStringToBytes converts Address string to bytes */
|
|
88
76
|
async addressStringToBytes(params) {
|
|
89
77
|
const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressString}`;
|
|
90
78
|
return await this.req.get(endpoint);
|
|
91
79
|
}
|
|
92
|
-
/* AccountInfo queries account info which is common to all account types.
|
|
93
|
-
|
|
94
|
-
Since: cosmos-sdk 0.47 */
|
|
80
|
+
/* AccountInfo queries account info which is common to all account types. */
|
|
95
81
|
async accountInfo(params) {
|
|
96
82
|
const endpoint = `cosmos/auth/v1beta1/account_info/${params.address}`;
|
|
97
83
|
return await this.req.get(endpoint);
|
|
@@ -6,8 +6,6 @@ import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, Query
|
|
|
6
6
|
*
|
|
7
7
|
* When called from another module, this query might consume a high amount of
|
|
8
8
|
* gas if the pagination field is incorrectly set.
|
|
9
|
-
*
|
|
10
|
-
* Since: cosmos-sdk 0.43
|
|
11
9
|
* @name getAccounts
|
|
12
10
|
* @package cosmos.auth.v1beta1
|
|
13
11
|
* @see proto service: cosmos.auth.v1beta1.Accounts
|
|
@@ -34,8 +32,6 @@ export const getAccount = buildQuery({
|
|
|
34
32
|
});
|
|
35
33
|
/**
|
|
36
34
|
* AccountAddressByID returns account address based on account number.
|
|
37
|
-
*
|
|
38
|
-
* Since: cosmos-sdk 0.46.2
|
|
39
35
|
* @name getAccountAddressByID
|
|
40
36
|
* @package cosmos.auth.v1beta1
|
|
41
37
|
* @see proto service: cosmos.auth.v1beta1.AccountAddressByID
|
|
@@ -62,8 +58,6 @@ export const getParams = buildQuery({
|
|
|
62
58
|
});
|
|
63
59
|
/**
|
|
64
60
|
* ModuleAccounts returns all the existing module accounts.
|
|
65
|
-
*
|
|
66
|
-
* Since: cosmos-sdk 0.46
|
|
67
61
|
* @name getModuleAccounts
|
|
68
62
|
* @package cosmos.auth.v1beta1
|
|
69
63
|
* @see proto service: cosmos.auth.v1beta1.ModuleAccounts
|
|
@@ -90,8 +84,6 @@ export const getModuleAccountByName = buildQuery({
|
|
|
90
84
|
});
|
|
91
85
|
/**
|
|
92
86
|
* Bech32Prefix queries bech32Prefix
|
|
93
|
-
*
|
|
94
|
-
* Since: cosmos-sdk 0.46
|
|
95
87
|
* @name getBech32Prefix
|
|
96
88
|
* @package cosmos.auth.v1beta1
|
|
97
89
|
* @see proto service: cosmos.auth.v1beta1.Bech32Prefix
|
|
@@ -105,8 +97,6 @@ export const getBech32Prefix = buildQuery({
|
|
|
105
97
|
});
|
|
106
98
|
/**
|
|
107
99
|
* AddressBytesToString converts Account Address bytes to string
|
|
108
|
-
*
|
|
109
|
-
* Since: cosmos-sdk 0.46
|
|
110
100
|
* @name getAddressBytesToString
|
|
111
101
|
* @package cosmos.auth.v1beta1
|
|
112
102
|
* @see proto service: cosmos.auth.v1beta1.AddressBytesToString
|
|
@@ -120,8 +110,6 @@ export const getAddressBytesToString = buildQuery({
|
|
|
120
110
|
});
|
|
121
111
|
/**
|
|
122
112
|
* AddressStringToBytes converts Address string to bytes
|
|
123
|
-
*
|
|
124
|
-
* Since: cosmos-sdk 0.46
|
|
125
113
|
* @name getAddressStringToBytes
|
|
126
114
|
* @package cosmos.auth.v1beta1
|
|
127
115
|
* @see proto service: cosmos.auth.v1beta1.AddressStringToBytes
|
|
@@ -135,8 +123,6 @@ export const getAddressStringToBytes = buildQuery({
|
|
|
135
123
|
});
|
|
136
124
|
/**
|
|
137
125
|
* AccountInfo queries account info which is common to all account types.
|
|
138
|
-
*
|
|
139
|
-
* Since: cosmos-sdk 0.47
|
|
140
126
|
* @name getAccountInfo
|
|
141
127
|
* @package cosmos.auth.v1beta1
|
|
142
128
|
* @see proto service: cosmos.auth.v1beta1.AccountInfo
|
|
@@ -10,8 +10,6 @@ function createBaseMsgUpdateParams() {
|
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
13
|
-
*
|
|
14
|
-
* Since: cosmos-sdk 0.47
|
|
15
13
|
* @name MsgUpdateParams
|
|
16
14
|
* @package cosmos.auth.v1beta1
|
|
17
15
|
* @see proto type: cosmos.auth.v1beta1.MsgUpdateParams
|
|
@@ -113,8 +111,6 @@ function createBaseMsgUpdateParamsResponse() {
|
|
|
113
111
|
/**
|
|
114
112
|
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
115
113
|
* MsgUpdateParams message.
|
|
116
|
-
*
|
|
117
|
-
* Since: cosmos-sdk 0.47
|
|
118
114
|
* @name MsgUpdateParamsResponse
|
|
119
115
|
* @package cosmos.auth.v1beta1
|
|
120
116
|
* @see proto type: cosmos.auth.v1beta1.MsgUpdateParamsResponse
|
|
@@ -4,8 +4,6 @@ import { MsgUpdateParams } from "./tx";
|
|
|
4
4
|
/**
|
|
5
5
|
* UpdateParams defines a (governance) operation for updating the x/auth module
|
|
6
6
|
* parameters. The authority defaults to the x/gov module account.
|
|
7
|
-
*
|
|
8
|
-
* Since: cosmos-sdk 0.47
|
|
9
7
|
* @name updateParams
|
|
10
8
|
* @package cosmos.auth.v1beta1
|
|
11
9
|
* @see proto service: cosmos.auth.v1beta1.UpdateParams
|