@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
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { Duration, DurationAmino, DurationSDKType } from "../../google/protobuf/duration";
|
|
2
|
+
import { Coin, CoinAmino, CoinSDKType } from "../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
4
|
+
/**
|
|
5
|
+
* Params defines the parameters for the module. Each parameter is added by the
|
|
6
|
+
* change that first uses it; field numbers follow the module's final layout.
|
|
7
|
+
* @name Params
|
|
8
|
+
* @package bze.dao
|
|
9
|
+
* @see proto type: bze.dao.Params
|
|
10
|
+
*/
|
|
11
|
+
export interface Params {
|
|
12
|
+
/**
|
|
13
|
+
* max_sr_per_dao caps the staking rewards in a stake DAO's electorate.
|
|
14
|
+
*/
|
|
15
|
+
maxSrPerDao: bigint;
|
|
16
|
+
/**
|
|
17
|
+
* max_static_members caps the member list of a static-list DAO.
|
|
18
|
+
*/
|
|
19
|
+
maxStaticMembers: bigint;
|
|
20
|
+
/**
|
|
21
|
+
* max_open_proposals caps the proposals a DAO can have in voting at once.
|
|
22
|
+
*/
|
|
23
|
+
maxOpenProposals: bigint;
|
|
24
|
+
/**
|
|
25
|
+
* max_msgs_per_proposal caps the messages of a proposal or a MsgAdminExecute.
|
|
26
|
+
*/
|
|
27
|
+
maxMsgsPerProposal: bigint;
|
|
28
|
+
/**
|
|
29
|
+
* max_proposal_bytes caps the total marshalled size of those messages.
|
|
30
|
+
*/
|
|
31
|
+
maxProposalBytes: bigint;
|
|
32
|
+
/**
|
|
33
|
+
* max_title_len is the longest proposal title, in bytes.
|
|
34
|
+
*/
|
|
35
|
+
maxTitleLen: bigint;
|
|
36
|
+
/**
|
|
37
|
+
* max_summary_len is the longest proposal summary, in bytes.
|
|
38
|
+
*/
|
|
39
|
+
maxSummaryLen: bigint;
|
|
40
|
+
/**
|
|
41
|
+
* min_voting_period is the shortest voting (and expedited) period a DAO may configure.
|
|
42
|
+
*/
|
|
43
|
+
minVotingPeriod: Duration;
|
|
44
|
+
/**
|
|
45
|
+
* max_voting_period is the longest voting (and expedited) period a DAO may configure.
|
|
46
|
+
*/
|
|
47
|
+
maxVotingPeriod: Duration;
|
|
48
|
+
/**
|
|
49
|
+
* execution_window is how long after voting_end a failed execution can be
|
|
50
|
+
* retried; after it the proposal expires.
|
|
51
|
+
*/
|
|
52
|
+
executionWindow: Duration;
|
|
53
|
+
/**
|
|
54
|
+
* cleanup_batch_size caps the ballots one MsgCleanupProposal deletes.
|
|
55
|
+
*/
|
|
56
|
+
cleanupBatchSize: bigint;
|
|
57
|
+
/**
|
|
58
|
+
* dao_creation_fee is charged to the creator of a DAO; a zero amount makes creation free.
|
|
59
|
+
*/
|
|
60
|
+
daoCreationFee: Coin;
|
|
61
|
+
/**
|
|
62
|
+
* dao_creation_fee_destination is "burner" or "community_pool".
|
|
63
|
+
*/
|
|
64
|
+
daoCreationFeeDestination: string;
|
|
65
|
+
/**
|
|
66
|
+
* min_electorate_lock_days is the shortest unstaking lock (days) a staking
|
|
67
|
+
* reward or Denom Reward needs to join a stake DAO's electorate.
|
|
68
|
+
*/
|
|
69
|
+
minElectorateLockDays: number;
|
|
70
|
+
/**
|
|
71
|
+
* min_expedite_delay is how long after submission an expedited proposal of a
|
|
72
|
+
* stake DAO that meets the expedite bars can settle early, so voters get time
|
|
73
|
+
* to react; 0 allows it at once. Static-list DAOs are exempt: their expedited
|
|
74
|
+
* proposals settle as soon as the bars are met. A proposal at its voting end
|
|
75
|
+
* settles normally whatever the delay.
|
|
76
|
+
*/
|
|
77
|
+
minExpediteDelay: Duration;
|
|
78
|
+
}
|
|
79
|
+
export interface ParamsProtoMsg {
|
|
80
|
+
typeUrl: "/bze.dao.Params";
|
|
81
|
+
value: Uint8Array;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Params defines the parameters for the module. Each parameter is added by the
|
|
85
|
+
* change that first uses it; field numbers follow the module's final layout.
|
|
86
|
+
* @name ParamsAmino
|
|
87
|
+
* @package bze.dao
|
|
88
|
+
* @see proto type: bze.dao.Params
|
|
89
|
+
*/
|
|
90
|
+
export interface ParamsAmino {
|
|
91
|
+
/**
|
|
92
|
+
* max_sr_per_dao caps the staking rewards in a stake DAO's electorate.
|
|
93
|
+
*/
|
|
94
|
+
max_sr_per_dao?: string;
|
|
95
|
+
/**
|
|
96
|
+
* max_static_members caps the member list of a static-list DAO.
|
|
97
|
+
*/
|
|
98
|
+
max_static_members?: string;
|
|
99
|
+
/**
|
|
100
|
+
* max_open_proposals caps the proposals a DAO can have in voting at once.
|
|
101
|
+
*/
|
|
102
|
+
max_open_proposals?: string;
|
|
103
|
+
/**
|
|
104
|
+
* max_msgs_per_proposal caps the messages of a proposal or a MsgAdminExecute.
|
|
105
|
+
*/
|
|
106
|
+
max_msgs_per_proposal?: string;
|
|
107
|
+
/**
|
|
108
|
+
* max_proposal_bytes caps the total marshalled size of those messages.
|
|
109
|
+
*/
|
|
110
|
+
max_proposal_bytes?: string;
|
|
111
|
+
/**
|
|
112
|
+
* max_title_len is the longest proposal title, in bytes.
|
|
113
|
+
*/
|
|
114
|
+
max_title_len?: string;
|
|
115
|
+
/**
|
|
116
|
+
* max_summary_len is the longest proposal summary, in bytes.
|
|
117
|
+
*/
|
|
118
|
+
max_summary_len?: string;
|
|
119
|
+
/**
|
|
120
|
+
* min_voting_period is the shortest voting (and expedited) period a DAO may configure.
|
|
121
|
+
*/
|
|
122
|
+
min_voting_period: DurationAmino;
|
|
123
|
+
/**
|
|
124
|
+
* max_voting_period is the longest voting (and expedited) period a DAO may configure.
|
|
125
|
+
*/
|
|
126
|
+
max_voting_period: DurationAmino;
|
|
127
|
+
/**
|
|
128
|
+
* execution_window is how long after voting_end a failed execution can be
|
|
129
|
+
* retried; after it the proposal expires.
|
|
130
|
+
*/
|
|
131
|
+
execution_window: DurationAmino;
|
|
132
|
+
/**
|
|
133
|
+
* cleanup_batch_size caps the ballots one MsgCleanupProposal deletes.
|
|
134
|
+
*/
|
|
135
|
+
cleanup_batch_size?: string;
|
|
136
|
+
/**
|
|
137
|
+
* dao_creation_fee is charged to the creator of a DAO; a zero amount makes creation free.
|
|
138
|
+
*/
|
|
139
|
+
dao_creation_fee: CoinAmino;
|
|
140
|
+
/**
|
|
141
|
+
* dao_creation_fee_destination is "burner" or "community_pool".
|
|
142
|
+
*/
|
|
143
|
+
dao_creation_fee_destination?: string;
|
|
144
|
+
/**
|
|
145
|
+
* min_electorate_lock_days is the shortest unstaking lock (days) a staking
|
|
146
|
+
* reward or Denom Reward needs to join a stake DAO's electorate.
|
|
147
|
+
*/
|
|
148
|
+
min_electorate_lock_days?: number;
|
|
149
|
+
/**
|
|
150
|
+
* min_expedite_delay is how long after submission an expedited proposal of a
|
|
151
|
+
* stake DAO that meets the expedite bars can settle early, so voters get time
|
|
152
|
+
* to react; 0 allows it at once. Static-list DAOs are exempt: their expedited
|
|
153
|
+
* proposals settle as soon as the bars are met. A proposal at its voting end
|
|
154
|
+
* settles normally whatever the delay.
|
|
155
|
+
*/
|
|
156
|
+
min_expedite_delay: DurationAmino;
|
|
157
|
+
}
|
|
158
|
+
export interface ParamsAminoMsg {
|
|
159
|
+
type: "bze/x/dao/Params";
|
|
160
|
+
value: ParamsAmino;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Params defines the parameters for the module. Each parameter is added by the
|
|
164
|
+
* change that first uses it; field numbers follow the module's final layout.
|
|
165
|
+
* @name ParamsSDKType
|
|
166
|
+
* @package bze.dao
|
|
167
|
+
* @see proto type: bze.dao.Params
|
|
168
|
+
*/
|
|
169
|
+
export interface ParamsSDKType {
|
|
170
|
+
max_sr_per_dao: bigint;
|
|
171
|
+
max_static_members: bigint;
|
|
172
|
+
max_open_proposals: bigint;
|
|
173
|
+
max_msgs_per_proposal: bigint;
|
|
174
|
+
max_proposal_bytes: bigint;
|
|
175
|
+
max_title_len: bigint;
|
|
176
|
+
max_summary_len: bigint;
|
|
177
|
+
min_voting_period: DurationSDKType;
|
|
178
|
+
max_voting_period: DurationSDKType;
|
|
179
|
+
execution_window: DurationSDKType;
|
|
180
|
+
cleanup_batch_size: bigint;
|
|
181
|
+
dao_creation_fee: CoinSDKType;
|
|
182
|
+
dao_creation_fee_destination: string;
|
|
183
|
+
min_electorate_lock_days: number;
|
|
184
|
+
min_expedite_delay: DurationSDKType;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Params defines the parameters for the module. Each parameter is added by the
|
|
188
|
+
* change that first uses it; field numbers follow the module's final layout.
|
|
189
|
+
* @name Params
|
|
190
|
+
* @package bze.dao
|
|
191
|
+
* @see proto type: bze.dao.Params
|
|
192
|
+
*/
|
|
193
|
+
export declare const Params: {
|
|
194
|
+
typeUrl: string;
|
|
195
|
+
aminoType: string;
|
|
196
|
+
is(o: any): o is Params;
|
|
197
|
+
isSDK(o: any): o is ParamsSDKType;
|
|
198
|
+
isAmino(o: any): o is ParamsAmino;
|
|
199
|
+
encode(message: Params, writer?: BinaryWriter): BinaryWriter;
|
|
200
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Params;
|
|
201
|
+
fromPartial(object: Partial<Params>): Params;
|
|
202
|
+
fromAmino(object: ParamsAmino): Params;
|
|
203
|
+
toAmino(message: Params): ParamsAmino;
|
|
204
|
+
fromAminoMsg(object: ParamsAminoMsg): Params;
|
|
205
|
+
toAminoMsg(message: Params): ParamsAminoMsg;
|
|
206
|
+
fromProtoMsg(message: ParamsProtoMsg): Params;
|
|
207
|
+
toProto(message: Params): Uint8Array;
|
|
208
|
+
toProtoMsg(message: Params): ParamsProtoMsg;
|
|
209
|
+
registerTypeUrl(): void;
|
|
210
|
+
};
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Params = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const duration_1 = require("../../google/protobuf/duration");
|
|
6
|
+
const coin_1 = require("../../cosmos/base/v1beta1/coin");
|
|
7
|
+
const binary_1 = require("../../binary");
|
|
8
|
+
const registry_1 = require("../../registry");
|
|
9
|
+
function createBaseParams() {
|
|
10
|
+
return {
|
|
11
|
+
maxSrPerDao: BigInt(0),
|
|
12
|
+
maxStaticMembers: BigInt(0),
|
|
13
|
+
maxOpenProposals: BigInt(0),
|
|
14
|
+
maxMsgsPerProposal: BigInt(0),
|
|
15
|
+
maxProposalBytes: BigInt(0),
|
|
16
|
+
maxTitleLen: BigInt(0),
|
|
17
|
+
maxSummaryLen: BigInt(0),
|
|
18
|
+
minVotingPeriod: duration_1.Duration.fromPartial({}),
|
|
19
|
+
maxVotingPeriod: duration_1.Duration.fromPartial({}),
|
|
20
|
+
executionWindow: duration_1.Duration.fromPartial({}),
|
|
21
|
+
cleanupBatchSize: BigInt(0),
|
|
22
|
+
daoCreationFee: coin_1.Coin.fromPartial({}),
|
|
23
|
+
daoCreationFeeDestination: "",
|
|
24
|
+
minElectorateLockDays: 0,
|
|
25
|
+
minExpediteDelay: duration_1.Duration.fromPartial({})
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Params defines the parameters for the module. Each parameter is added by the
|
|
30
|
+
* change that first uses it; field numbers follow the module's final layout.
|
|
31
|
+
* @name Params
|
|
32
|
+
* @package bze.dao
|
|
33
|
+
* @see proto type: bze.dao.Params
|
|
34
|
+
*/
|
|
35
|
+
exports.Params = {
|
|
36
|
+
typeUrl: "/bze.dao.Params",
|
|
37
|
+
aminoType: "bze/x/dao/Params",
|
|
38
|
+
is(o) {
|
|
39
|
+
return o && (o.$typeUrl === exports.Params.typeUrl || typeof o.maxSrPerDao === "bigint" && typeof o.maxStaticMembers === "bigint" && typeof o.maxOpenProposals === "bigint" && typeof o.maxMsgsPerProposal === "bigint" && typeof o.maxProposalBytes === "bigint" && typeof o.maxTitleLen === "bigint" && typeof o.maxSummaryLen === "bigint" && duration_1.Duration.is(o.minVotingPeriod) && duration_1.Duration.is(o.maxVotingPeriod) && duration_1.Duration.is(o.executionWindow) && typeof o.cleanupBatchSize === "bigint" && coin_1.Coin.is(o.daoCreationFee) && typeof o.daoCreationFeeDestination === "string" && typeof o.minElectorateLockDays === "number" && duration_1.Duration.is(o.minExpediteDelay));
|
|
40
|
+
},
|
|
41
|
+
isSDK(o) {
|
|
42
|
+
return o && (o.$typeUrl === exports.Params.typeUrl || typeof o.max_sr_per_dao === "bigint" && typeof o.max_static_members === "bigint" && typeof o.max_open_proposals === "bigint" && typeof o.max_msgs_per_proposal === "bigint" && typeof o.max_proposal_bytes === "bigint" && typeof o.max_title_len === "bigint" && typeof o.max_summary_len === "bigint" && duration_1.Duration.isSDK(o.min_voting_period) && duration_1.Duration.isSDK(o.max_voting_period) && duration_1.Duration.isSDK(o.execution_window) && typeof o.cleanup_batch_size === "bigint" && coin_1.Coin.isSDK(o.dao_creation_fee) && typeof o.dao_creation_fee_destination === "string" && typeof o.min_electorate_lock_days === "number" && duration_1.Duration.isSDK(o.min_expedite_delay));
|
|
43
|
+
},
|
|
44
|
+
isAmino(o) {
|
|
45
|
+
return o && (o.$typeUrl === exports.Params.typeUrl || typeof o.max_sr_per_dao === "bigint" && typeof o.max_static_members === "bigint" && typeof o.max_open_proposals === "bigint" && typeof o.max_msgs_per_proposal === "bigint" && typeof o.max_proposal_bytes === "bigint" && typeof o.max_title_len === "bigint" && typeof o.max_summary_len === "bigint" && duration_1.Duration.isAmino(o.min_voting_period) && duration_1.Duration.isAmino(o.max_voting_period) && duration_1.Duration.isAmino(o.execution_window) && typeof o.cleanup_batch_size === "bigint" && coin_1.Coin.isAmino(o.dao_creation_fee) && typeof o.dao_creation_fee_destination === "string" && typeof o.min_electorate_lock_days === "number" && duration_1.Duration.isAmino(o.min_expedite_delay));
|
|
46
|
+
},
|
|
47
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
48
|
+
if (message.maxSrPerDao !== BigInt(0)) {
|
|
49
|
+
writer.uint32(8).uint64(message.maxSrPerDao);
|
|
50
|
+
}
|
|
51
|
+
if (message.maxStaticMembers !== BigInt(0)) {
|
|
52
|
+
writer.uint32(16).uint64(message.maxStaticMembers);
|
|
53
|
+
}
|
|
54
|
+
if (message.maxOpenProposals !== BigInt(0)) {
|
|
55
|
+
writer.uint32(24).uint64(message.maxOpenProposals);
|
|
56
|
+
}
|
|
57
|
+
if (message.maxMsgsPerProposal !== BigInt(0)) {
|
|
58
|
+
writer.uint32(32).uint64(message.maxMsgsPerProposal);
|
|
59
|
+
}
|
|
60
|
+
if (message.maxProposalBytes !== BigInt(0)) {
|
|
61
|
+
writer.uint32(40).uint64(message.maxProposalBytes);
|
|
62
|
+
}
|
|
63
|
+
if (message.maxTitleLen !== BigInt(0)) {
|
|
64
|
+
writer.uint32(48).uint64(message.maxTitleLen);
|
|
65
|
+
}
|
|
66
|
+
if (message.maxSummaryLen !== BigInt(0)) {
|
|
67
|
+
writer.uint32(56).uint64(message.maxSummaryLen);
|
|
68
|
+
}
|
|
69
|
+
if (message.minVotingPeriod !== undefined) {
|
|
70
|
+
duration_1.Duration.encode(message.minVotingPeriod, writer.uint32(66).fork()).ldelim();
|
|
71
|
+
}
|
|
72
|
+
if (message.maxVotingPeriod !== undefined) {
|
|
73
|
+
duration_1.Duration.encode(message.maxVotingPeriod, writer.uint32(74).fork()).ldelim();
|
|
74
|
+
}
|
|
75
|
+
if (message.executionWindow !== undefined) {
|
|
76
|
+
duration_1.Duration.encode(message.executionWindow, writer.uint32(82).fork()).ldelim();
|
|
77
|
+
}
|
|
78
|
+
if (message.cleanupBatchSize !== BigInt(0)) {
|
|
79
|
+
writer.uint32(88).uint64(message.cleanupBatchSize);
|
|
80
|
+
}
|
|
81
|
+
if (message.daoCreationFee !== undefined) {
|
|
82
|
+
coin_1.Coin.encode(message.daoCreationFee, writer.uint32(98).fork()).ldelim();
|
|
83
|
+
}
|
|
84
|
+
if (message.daoCreationFeeDestination !== "") {
|
|
85
|
+
writer.uint32(106).string(message.daoCreationFeeDestination);
|
|
86
|
+
}
|
|
87
|
+
if (message.minElectorateLockDays !== 0) {
|
|
88
|
+
writer.uint32(112).uint32(message.minElectorateLockDays);
|
|
89
|
+
}
|
|
90
|
+
if (message.minExpediteDelay !== undefined) {
|
|
91
|
+
duration_1.Duration.encode(message.minExpediteDelay, writer.uint32(122).fork()).ldelim();
|
|
92
|
+
}
|
|
93
|
+
return writer;
|
|
94
|
+
},
|
|
95
|
+
decode(input, length) {
|
|
96
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
97
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
98
|
+
const message = createBaseParams();
|
|
99
|
+
while (reader.pos < end) {
|
|
100
|
+
const tag = reader.uint32();
|
|
101
|
+
switch (tag >>> 3) {
|
|
102
|
+
case 1:
|
|
103
|
+
message.maxSrPerDao = reader.uint64();
|
|
104
|
+
break;
|
|
105
|
+
case 2:
|
|
106
|
+
message.maxStaticMembers = reader.uint64();
|
|
107
|
+
break;
|
|
108
|
+
case 3:
|
|
109
|
+
message.maxOpenProposals = reader.uint64();
|
|
110
|
+
break;
|
|
111
|
+
case 4:
|
|
112
|
+
message.maxMsgsPerProposal = reader.uint64();
|
|
113
|
+
break;
|
|
114
|
+
case 5:
|
|
115
|
+
message.maxProposalBytes = reader.uint64();
|
|
116
|
+
break;
|
|
117
|
+
case 6:
|
|
118
|
+
message.maxTitleLen = reader.uint64();
|
|
119
|
+
break;
|
|
120
|
+
case 7:
|
|
121
|
+
message.maxSummaryLen = reader.uint64();
|
|
122
|
+
break;
|
|
123
|
+
case 8:
|
|
124
|
+
message.minVotingPeriod = duration_1.Duration.decode(reader, reader.uint32());
|
|
125
|
+
break;
|
|
126
|
+
case 9:
|
|
127
|
+
message.maxVotingPeriod = duration_1.Duration.decode(reader, reader.uint32());
|
|
128
|
+
break;
|
|
129
|
+
case 10:
|
|
130
|
+
message.executionWindow = duration_1.Duration.decode(reader, reader.uint32());
|
|
131
|
+
break;
|
|
132
|
+
case 11:
|
|
133
|
+
message.cleanupBatchSize = reader.uint64();
|
|
134
|
+
break;
|
|
135
|
+
case 12:
|
|
136
|
+
message.daoCreationFee = coin_1.Coin.decode(reader, reader.uint32());
|
|
137
|
+
break;
|
|
138
|
+
case 13:
|
|
139
|
+
message.daoCreationFeeDestination = reader.string();
|
|
140
|
+
break;
|
|
141
|
+
case 14:
|
|
142
|
+
message.minElectorateLockDays = reader.uint32();
|
|
143
|
+
break;
|
|
144
|
+
case 15:
|
|
145
|
+
message.minExpediteDelay = duration_1.Duration.decode(reader, reader.uint32());
|
|
146
|
+
break;
|
|
147
|
+
default:
|
|
148
|
+
reader.skipType(tag & 7);
|
|
149
|
+
break;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
return message;
|
|
153
|
+
},
|
|
154
|
+
fromPartial(object) {
|
|
155
|
+
const message = createBaseParams();
|
|
156
|
+
message.maxSrPerDao = object.maxSrPerDao !== undefined && object.maxSrPerDao !== null ? BigInt(object.maxSrPerDao.toString()) : BigInt(0);
|
|
157
|
+
message.maxStaticMembers = object.maxStaticMembers !== undefined && object.maxStaticMembers !== null ? BigInt(object.maxStaticMembers.toString()) : BigInt(0);
|
|
158
|
+
message.maxOpenProposals = object.maxOpenProposals !== undefined && object.maxOpenProposals !== null ? BigInt(object.maxOpenProposals.toString()) : BigInt(0);
|
|
159
|
+
message.maxMsgsPerProposal = object.maxMsgsPerProposal !== undefined && object.maxMsgsPerProposal !== null ? BigInt(object.maxMsgsPerProposal.toString()) : BigInt(0);
|
|
160
|
+
message.maxProposalBytes = object.maxProposalBytes !== undefined && object.maxProposalBytes !== null ? BigInt(object.maxProposalBytes.toString()) : BigInt(0);
|
|
161
|
+
message.maxTitleLen = object.maxTitleLen !== undefined && object.maxTitleLen !== null ? BigInt(object.maxTitleLen.toString()) : BigInt(0);
|
|
162
|
+
message.maxSummaryLen = object.maxSummaryLen !== undefined && object.maxSummaryLen !== null ? BigInt(object.maxSummaryLen.toString()) : BigInt(0);
|
|
163
|
+
message.minVotingPeriod = object.minVotingPeriod !== undefined && object.minVotingPeriod !== null ? duration_1.Duration.fromPartial(object.minVotingPeriod) : undefined;
|
|
164
|
+
message.maxVotingPeriod = object.maxVotingPeriod !== undefined && object.maxVotingPeriod !== null ? duration_1.Duration.fromPartial(object.maxVotingPeriod) : undefined;
|
|
165
|
+
message.executionWindow = object.executionWindow !== undefined && object.executionWindow !== null ? duration_1.Duration.fromPartial(object.executionWindow) : undefined;
|
|
166
|
+
message.cleanupBatchSize = object.cleanupBatchSize !== undefined && object.cleanupBatchSize !== null ? BigInt(object.cleanupBatchSize.toString()) : BigInt(0);
|
|
167
|
+
message.daoCreationFee = object.daoCreationFee !== undefined && object.daoCreationFee !== null ? coin_1.Coin.fromPartial(object.daoCreationFee) : undefined;
|
|
168
|
+
message.daoCreationFeeDestination = object.daoCreationFeeDestination ?? "";
|
|
169
|
+
message.minElectorateLockDays = object.minElectorateLockDays ?? 0;
|
|
170
|
+
message.minExpediteDelay = object.minExpediteDelay !== undefined && object.minExpediteDelay !== null ? duration_1.Duration.fromPartial(object.minExpediteDelay) : undefined;
|
|
171
|
+
return message;
|
|
172
|
+
},
|
|
173
|
+
fromAmino(object) {
|
|
174
|
+
const message = createBaseParams();
|
|
175
|
+
if (object.max_sr_per_dao !== undefined && object.max_sr_per_dao !== null) {
|
|
176
|
+
message.maxSrPerDao = BigInt(object.max_sr_per_dao);
|
|
177
|
+
}
|
|
178
|
+
if (object.max_static_members !== undefined && object.max_static_members !== null) {
|
|
179
|
+
message.maxStaticMembers = BigInt(object.max_static_members);
|
|
180
|
+
}
|
|
181
|
+
if (object.max_open_proposals !== undefined && object.max_open_proposals !== null) {
|
|
182
|
+
message.maxOpenProposals = BigInt(object.max_open_proposals);
|
|
183
|
+
}
|
|
184
|
+
if (object.max_msgs_per_proposal !== undefined && object.max_msgs_per_proposal !== null) {
|
|
185
|
+
message.maxMsgsPerProposal = BigInt(object.max_msgs_per_proposal);
|
|
186
|
+
}
|
|
187
|
+
if (object.max_proposal_bytes !== undefined && object.max_proposal_bytes !== null) {
|
|
188
|
+
message.maxProposalBytes = BigInt(object.max_proposal_bytes);
|
|
189
|
+
}
|
|
190
|
+
if (object.max_title_len !== undefined && object.max_title_len !== null) {
|
|
191
|
+
message.maxTitleLen = BigInt(object.max_title_len);
|
|
192
|
+
}
|
|
193
|
+
if (object.max_summary_len !== undefined && object.max_summary_len !== null) {
|
|
194
|
+
message.maxSummaryLen = BigInt(object.max_summary_len);
|
|
195
|
+
}
|
|
196
|
+
if (object.min_voting_period !== undefined && object.min_voting_period !== null) {
|
|
197
|
+
message.minVotingPeriod = duration_1.Duration.fromAmino(object.min_voting_period);
|
|
198
|
+
}
|
|
199
|
+
if (object.max_voting_period !== undefined && object.max_voting_period !== null) {
|
|
200
|
+
message.maxVotingPeriod = duration_1.Duration.fromAmino(object.max_voting_period);
|
|
201
|
+
}
|
|
202
|
+
if (object.execution_window !== undefined && object.execution_window !== null) {
|
|
203
|
+
message.executionWindow = duration_1.Duration.fromAmino(object.execution_window);
|
|
204
|
+
}
|
|
205
|
+
if (object.cleanup_batch_size !== undefined && object.cleanup_batch_size !== null) {
|
|
206
|
+
message.cleanupBatchSize = BigInt(object.cleanup_batch_size);
|
|
207
|
+
}
|
|
208
|
+
if (object.dao_creation_fee !== undefined && object.dao_creation_fee !== null) {
|
|
209
|
+
message.daoCreationFee = coin_1.Coin.fromAmino(object.dao_creation_fee);
|
|
210
|
+
}
|
|
211
|
+
if (object.dao_creation_fee_destination !== undefined && object.dao_creation_fee_destination !== null) {
|
|
212
|
+
message.daoCreationFeeDestination = object.dao_creation_fee_destination;
|
|
213
|
+
}
|
|
214
|
+
if (object.min_electorate_lock_days !== undefined && object.min_electorate_lock_days !== null) {
|
|
215
|
+
message.minElectorateLockDays = object.min_electorate_lock_days;
|
|
216
|
+
}
|
|
217
|
+
if (object.min_expedite_delay !== undefined && object.min_expedite_delay !== null) {
|
|
218
|
+
message.minExpediteDelay = duration_1.Duration.fromAmino(object.min_expedite_delay);
|
|
219
|
+
}
|
|
220
|
+
return message;
|
|
221
|
+
},
|
|
222
|
+
toAmino(message) {
|
|
223
|
+
const obj = {};
|
|
224
|
+
obj.max_sr_per_dao = message.maxSrPerDao !== BigInt(0) ? message.maxSrPerDao?.toString() : undefined;
|
|
225
|
+
obj.max_static_members = message.maxStaticMembers !== BigInt(0) ? message.maxStaticMembers?.toString() : undefined;
|
|
226
|
+
obj.max_open_proposals = message.maxOpenProposals !== BigInt(0) ? message.maxOpenProposals?.toString() : undefined;
|
|
227
|
+
obj.max_msgs_per_proposal = message.maxMsgsPerProposal !== BigInt(0) ? message.maxMsgsPerProposal?.toString() : undefined;
|
|
228
|
+
obj.max_proposal_bytes = message.maxProposalBytes !== BigInt(0) ? message.maxProposalBytes?.toString() : undefined;
|
|
229
|
+
obj.max_title_len = message.maxTitleLen !== BigInt(0) ? message.maxTitleLen?.toString() : undefined;
|
|
230
|
+
obj.max_summary_len = message.maxSummaryLen !== BigInt(0) ? message.maxSummaryLen?.toString() : undefined;
|
|
231
|
+
obj.min_voting_period = message.minVotingPeriod ? duration_1.Duration.toAmino(message.minVotingPeriod) : duration_1.Duration.toAmino(duration_1.Duration.fromPartial({}));
|
|
232
|
+
obj.max_voting_period = message.maxVotingPeriod ? duration_1.Duration.toAmino(message.maxVotingPeriod) : duration_1.Duration.toAmino(duration_1.Duration.fromPartial({}));
|
|
233
|
+
obj.execution_window = message.executionWindow ? duration_1.Duration.toAmino(message.executionWindow) : duration_1.Duration.toAmino(duration_1.Duration.fromPartial({}));
|
|
234
|
+
obj.cleanup_batch_size = message.cleanupBatchSize !== BigInt(0) ? message.cleanupBatchSize?.toString() : undefined;
|
|
235
|
+
obj.dao_creation_fee = message.daoCreationFee ? coin_1.Coin.toAmino(message.daoCreationFee) : coin_1.Coin.toAmino(coin_1.Coin.fromPartial({}));
|
|
236
|
+
obj.dao_creation_fee_destination = message.daoCreationFeeDestination === "" ? undefined : message.daoCreationFeeDestination;
|
|
237
|
+
obj.min_electorate_lock_days = message.minElectorateLockDays === 0 ? undefined : message.minElectorateLockDays;
|
|
238
|
+
obj.min_expedite_delay = message.minExpediteDelay ? duration_1.Duration.toAmino(message.minExpediteDelay) : duration_1.Duration.toAmino(duration_1.Duration.fromPartial({}));
|
|
239
|
+
return obj;
|
|
240
|
+
},
|
|
241
|
+
fromAminoMsg(object) {
|
|
242
|
+
return exports.Params.fromAmino(object.value);
|
|
243
|
+
},
|
|
244
|
+
toAminoMsg(message) {
|
|
245
|
+
return {
|
|
246
|
+
type: "bze/x/dao/Params",
|
|
247
|
+
value: exports.Params.toAmino(message)
|
|
248
|
+
};
|
|
249
|
+
},
|
|
250
|
+
fromProtoMsg(message) {
|
|
251
|
+
return exports.Params.decode(message.value);
|
|
252
|
+
},
|
|
253
|
+
toProto(message) {
|
|
254
|
+
return exports.Params.encode(message).finish();
|
|
255
|
+
},
|
|
256
|
+
toProtoMsg(message) {
|
|
257
|
+
return {
|
|
258
|
+
typeUrl: "/bze.dao.Params",
|
|
259
|
+
value: exports.Params.encode(message).finish()
|
|
260
|
+
};
|
|
261
|
+
},
|
|
262
|
+
registerTypeUrl() {
|
|
263
|
+
if (!registry_1.GlobalDecoderRegistry.registerExistingTypeUrl(exports.Params.typeUrl)) {
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
coin_1.Coin.registerTypeUrl();
|
|
267
|
+
}
|
|
268
|
+
};
|