@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,946 @@
|
|
|
1
|
+
import { Duration, DurationAmino, DurationSDKType } from "../../google/protobuf/duration";
|
|
2
|
+
import { Coin, CoinAmino, CoinSDKType } from "../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../google/protobuf/any";
|
|
4
|
+
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
5
|
+
/** DaoType is the kind of electorate a DAO has. The two kinds are never mixed. */
|
|
6
|
+
export declare enum DaoType {
|
|
7
|
+
/** DAO_TYPE_STATIC_LIST - DAO_TYPE_STATIC_LIST is a fixed list of member addresses, one vote each. */
|
|
8
|
+
DAO_TYPE_STATIC_LIST = 0,
|
|
9
|
+
/** DAO_TYPE_STAKE - DAO_TYPE_STAKE is an electorate of staking rewards and/or one Denom Reward. */
|
|
10
|
+
DAO_TYPE_STAKE = 1,
|
|
11
|
+
UNRECOGNIZED = -1
|
|
12
|
+
}
|
|
13
|
+
export declare const DaoTypeSDKType: typeof DaoType;
|
|
14
|
+
export declare const DaoTypeAmino: typeof DaoType;
|
|
15
|
+
export declare function daoTypeFromJSON(object: any): DaoType;
|
|
16
|
+
export declare function daoTypeToJSON(object: DaoType): string;
|
|
17
|
+
/** DepositRefundPolicy decides when a proposal deposit goes back to the proposer. */
|
|
18
|
+
export declare enum DepositRefundPolicy {
|
|
19
|
+
/** ALWAYS - ALWAYS refunds the deposit whatever the outcome. */
|
|
20
|
+
ALWAYS = 0,
|
|
21
|
+
/** ONLY_PASSED - ONLY_PASSED refunds the deposit only when the proposal passed. */
|
|
22
|
+
ONLY_PASSED = 1,
|
|
23
|
+
/** NEVER - NEVER keeps the deposit. */
|
|
24
|
+
NEVER = 2,
|
|
25
|
+
UNRECOGNIZED = -1
|
|
26
|
+
}
|
|
27
|
+
export declare const DepositRefundPolicySDKType: typeof DepositRefundPolicy;
|
|
28
|
+
export declare const DepositRefundPolicyAmino: typeof DepositRefundPolicy;
|
|
29
|
+
export declare function depositRefundPolicyFromJSON(object: any): DepositRefundPolicy;
|
|
30
|
+
export declare function depositRefundPolicyToJSON(object: DepositRefundPolicy): string;
|
|
31
|
+
/** FundsDestination is where kept proposal funds (cost, kept deposits) go. */
|
|
32
|
+
export declare enum FundsDestination {
|
|
33
|
+
/** BURN - BURN sends the funds to the burner. */
|
|
34
|
+
BURN = 0,
|
|
35
|
+
/** TREASURY - TREASURY sends the funds to the DAO's own account. */
|
|
36
|
+
TREASURY = 1,
|
|
37
|
+
UNRECOGNIZED = -1
|
|
38
|
+
}
|
|
39
|
+
export declare const FundsDestinationSDKType: typeof FundsDestination;
|
|
40
|
+
export declare const FundsDestinationAmino: typeof FundsDestination;
|
|
41
|
+
export declare function fundsDestinationFromJSON(object: any): FundsDestination;
|
|
42
|
+
export declare function fundsDestinationToJSON(object: FundsDestination): string;
|
|
43
|
+
/**
|
|
44
|
+
* VoteOption is a voter's choice on a proposal. The zero value is
|
|
45
|
+
* UNSPECIFIED, what an omitted option decodes to, so it can never be counted
|
|
46
|
+
* as a vote.
|
|
47
|
+
*/
|
|
48
|
+
export declare enum VoteOption {
|
|
49
|
+
VOTE_OPTION_UNSPECIFIED = 0,
|
|
50
|
+
YES = 1,
|
|
51
|
+
NO = 2,
|
|
52
|
+
ABSTAIN = 3,
|
|
53
|
+
UNRECOGNIZED = -1
|
|
54
|
+
}
|
|
55
|
+
export declare const VoteOptionSDKType: typeof VoteOption;
|
|
56
|
+
export declare const VoteOptionAmino: typeof VoteOption;
|
|
57
|
+
export declare function voteOptionFromJSON(object: any): VoteOption;
|
|
58
|
+
export declare function voteOptionToJSON(object: VoteOption): string;
|
|
59
|
+
/** ProposalStatus is the lifecycle state of a proposal. */
|
|
60
|
+
export declare enum ProposalStatus {
|
|
61
|
+
/** VOTING - VOTING is open for votes, until voting_end or an early decision. */
|
|
62
|
+
VOTING = 0,
|
|
63
|
+
/** REJECTED - REJECTED did not pass. */
|
|
64
|
+
REJECTED = 1,
|
|
65
|
+
/** EXECUTED - EXECUTED passed and its messages ran. */
|
|
66
|
+
EXECUTED = 2,
|
|
67
|
+
/** EXECUTION_FAILED - EXECUTION_FAILED passed but its messages failed; it can be retried. */
|
|
68
|
+
EXECUTION_FAILED = 3,
|
|
69
|
+
/** EXPIRED - EXPIRED passed but was not executed within the execution window. */
|
|
70
|
+
EXPIRED = 4,
|
|
71
|
+
/** CANCELLED - CANCELLED was withdrawn by its proposer. */
|
|
72
|
+
CANCELLED = 5,
|
|
73
|
+
UNRECOGNIZED = -1
|
|
74
|
+
}
|
|
75
|
+
export declare const ProposalStatusSDKType: typeof ProposalStatus;
|
|
76
|
+
export declare const ProposalStatusAmino: typeof ProposalStatus;
|
|
77
|
+
export declare function proposalStatusFromJSON(object: any): ProposalStatus;
|
|
78
|
+
export declare function proposalStatusToJSON(object: ProposalStatus): string;
|
|
79
|
+
/**
|
|
80
|
+
* DaoConfig holds the voting rules of a DAO.
|
|
81
|
+
* @name DaoConfig
|
|
82
|
+
* @package bze.dao
|
|
83
|
+
* @see proto type: bze.dao.DaoConfig
|
|
84
|
+
*/
|
|
85
|
+
export interface DaoConfig {
|
|
86
|
+
/**
|
|
87
|
+
* min_quorum is the share of the electorate that must vote, in (0, 1].
|
|
88
|
+
*/
|
|
89
|
+
minQuorum: string;
|
|
90
|
+
/**
|
|
91
|
+
* threshold is the share of yes votes the outcome must exceed to pass, in (0, 1).
|
|
92
|
+
*/
|
|
93
|
+
threshold: string;
|
|
94
|
+
/**
|
|
95
|
+
* voting_period is how long a normal proposal stays open.
|
|
96
|
+
*/
|
|
97
|
+
votingPeriod: Duration;
|
|
98
|
+
/**
|
|
99
|
+
* allow_expedite enables expedited proposals.
|
|
100
|
+
*/
|
|
101
|
+
allowExpedite: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* expedited_period is how long an expedited proposal stays open; never longer than voting_period.
|
|
104
|
+
*/
|
|
105
|
+
expeditedPeriod: Duration;
|
|
106
|
+
/**
|
|
107
|
+
* expedite_quorum is the quorum of an expedited proposal, at least min_quorum.
|
|
108
|
+
*/
|
|
109
|
+
expediteQuorum: string;
|
|
110
|
+
/**
|
|
111
|
+
* expedite_threshold is the threshold of an expedited proposal, in (0, 1) and at least threshold;
|
|
112
|
+
* its base is the full denominator.
|
|
113
|
+
*/
|
|
114
|
+
expediteThreshold: string;
|
|
115
|
+
/**
|
|
116
|
+
* open_submission lets anyone submit proposals; false (default) = members only.
|
|
117
|
+
*/
|
|
118
|
+
openSubmission: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* proposal_cost is an optional non-refundable fee to submit a proposal.
|
|
121
|
+
*/
|
|
122
|
+
proposalCost?: Coin;
|
|
123
|
+
/**
|
|
124
|
+
* proposal_deposit is an optional deposit locked while a proposal is open.
|
|
125
|
+
*/
|
|
126
|
+
proposalDeposit?: Coin;
|
|
127
|
+
/**
|
|
128
|
+
* deposit_refund_policy decides when the deposit is refunded.
|
|
129
|
+
*/
|
|
130
|
+
depositRefundPolicy: DepositRefundPolicy;
|
|
131
|
+
/**
|
|
132
|
+
* cost_destination is where proposal costs go.
|
|
133
|
+
*/
|
|
134
|
+
costDestination: FundsDestination;
|
|
135
|
+
/**
|
|
136
|
+
* kept_deposit_destination is where kept deposits go.
|
|
137
|
+
*/
|
|
138
|
+
keptDepositDestination: FundsDestination;
|
|
139
|
+
}
|
|
140
|
+
export interface DaoConfigProtoMsg {
|
|
141
|
+
typeUrl: "/bze.dao.DaoConfig";
|
|
142
|
+
value: Uint8Array;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* DaoConfig holds the voting rules of a DAO.
|
|
146
|
+
* @name DaoConfigAmino
|
|
147
|
+
* @package bze.dao
|
|
148
|
+
* @see proto type: bze.dao.DaoConfig
|
|
149
|
+
*/
|
|
150
|
+
export interface DaoConfigAmino {
|
|
151
|
+
/**
|
|
152
|
+
* min_quorum is the share of the electorate that must vote, in (0, 1].
|
|
153
|
+
*/
|
|
154
|
+
min_quorum?: string;
|
|
155
|
+
/**
|
|
156
|
+
* threshold is the share of yes votes the outcome must exceed to pass, in (0, 1).
|
|
157
|
+
*/
|
|
158
|
+
threshold?: string;
|
|
159
|
+
/**
|
|
160
|
+
* voting_period is how long a normal proposal stays open.
|
|
161
|
+
*/
|
|
162
|
+
voting_period?: DurationAmino;
|
|
163
|
+
/**
|
|
164
|
+
* allow_expedite enables expedited proposals.
|
|
165
|
+
*/
|
|
166
|
+
allow_expedite?: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* expedited_period is how long an expedited proposal stays open; never longer than voting_period.
|
|
169
|
+
*/
|
|
170
|
+
expedited_period?: DurationAmino;
|
|
171
|
+
/**
|
|
172
|
+
* expedite_quorum is the quorum of an expedited proposal, at least min_quorum.
|
|
173
|
+
*/
|
|
174
|
+
expedite_quorum?: string;
|
|
175
|
+
/**
|
|
176
|
+
* expedite_threshold is the threshold of an expedited proposal, in (0, 1) and at least threshold;
|
|
177
|
+
* its base is the full denominator.
|
|
178
|
+
*/
|
|
179
|
+
expedite_threshold?: string;
|
|
180
|
+
/**
|
|
181
|
+
* open_submission lets anyone submit proposals; false (default) = members only.
|
|
182
|
+
*/
|
|
183
|
+
open_submission?: boolean;
|
|
184
|
+
/**
|
|
185
|
+
* proposal_cost is an optional non-refundable fee to submit a proposal.
|
|
186
|
+
*/
|
|
187
|
+
proposal_cost?: CoinAmino;
|
|
188
|
+
/**
|
|
189
|
+
* proposal_deposit is an optional deposit locked while a proposal is open.
|
|
190
|
+
*/
|
|
191
|
+
proposal_deposit?: CoinAmino;
|
|
192
|
+
/**
|
|
193
|
+
* deposit_refund_policy decides when the deposit is refunded.
|
|
194
|
+
*/
|
|
195
|
+
deposit_refund_policy?: DepositRefundPolicy;
|
|
196
|
+
/**
|
|
197
|
+
* cost_destination is where proposal costs go.
|
|
198
|
+
*/
|
|
199
|
+
cost_destination?: FundsDestination;
|
|
200
|
+
/**
|
|
201
|
+
* kept_deposit_destination is where kept deposits go.
|
|
202
|
+
*/
|
|
203
|
+
kept_deposit_destination?: FundsDestination;
|
|
204
|
+
}
|
|
205
|
+
export interface DaoConfigAminoMsg {
|
|
206
|
+
type: "/bze.dao.DaoConfig";
|
|
207
|
+
value: DaoConfigAmino;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* DaoConfig holds the voting rules of a DAO.
|
|
211
|
+
* @name DaoConfigSDKType
|
|
212
|
+
* @package bze.dao
|
|
213
|
+
* @see proto type: bze.dao.DaoConfig
|
|
214
|
+
*/
|
|
215
|
+
export interface DaoConfigSDKType {
|
|
216
|
+
min_quorum: string;
|
|
217
|
+
threshold: string;
|
|
218
|
+
voting_period: DurationSDKType;
|
|
219
|
+
allow_expedite: boolean;
|
|
220
|
+
expedited_period: DurationSDKType;
|
|
221
|
+
expedite_quorum: string;
|
|
222
|
+
expedite_threshold: string;
|
|
223
|
+
open_submission: boolean;
|
|
224
|
+
proposal_cost?: CoinSDKType;
|
|
225
|
+
proposal_deposit?: CoinSDKType;
|
|
226
|
+
deposit_refund_policy: DepositRefundPolicy;
|
|
227
|
+
cost_destination: FundsDestination;
|
|
228
|
+
kept_deposit_destination: FundsDestination;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* StakeElectorate lists the reward programs whose stakers vote in a stake DAO.
|
|
232
|
+
* @name StakeElectorate
|
|
233
|
+
* @package bze.dao
|
|
234
|
+
* @see proto type: bze.dao.StakeElectorate
|
|
235
|
+
*/
|
|
236
|
+
export interface StakeElectorate {
|
|
237
|
+
/**
|
|
238
|
+
* sr_ids are the staking reward ids, at most max_sr_per_dao.
|
|
239
|
+
*/
|
|
240
|
+
srIds: string[];
|
|
241
|
+
/**
|
|
242
|
+
* dr_denom optionally names one Denom Reward by its staking denom.
|
|
243
|
+
*/
|
|
244
|
+
drDenom: string;
|
|
245
|
+
}
|
|
246
|
+
export interface StakeElectorateProtoMsg {
|
|
247
|
+
typeUrl: "/bze.dao.StakeElectorate";
|
|
248
|
+
value: Uint8Array;
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* StakeElectorate lists the reward programs whose stakers vote in a stake DAO.
|
|
252
|
+
* @name StakeElectorateAmino
|
|
253
|
+
* @package bze.dao
|
|
254
|
+
* @see proto type: bze.dao.StakeElectorate
|
|
255
|
+
*/
|
|
256
|
+
export interface StakeElectorateAmino {
|
|
257
|
+
/**
|
|
258
|
+
* sr_ids are the staking reward ids, at most max_sr_per_dao.
|
|
259
|
+
*/
|
|
260
|
+
sr_ids?: string[];
|
|
261
|
+
/**
|
|
262
|
+
* dr_denom optionally names one Denom Reward by its staking denom.
|
|
263
|
+
*/
|
|
264
|
+
dr_denom?: string;
|
|
265
|
+
}
|
|
266
|
+
export interface StakeElectorateAminoMsg {
|
|
267
|
+
type: "/bze.dao.StakeElectorate";
|
|
268
|
+
value: StakeElectorateAmino;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* StakeElectorate lists the reward programs whose stakers vote in a stake DAO.
|
|
272
|
+
* @name StakeElectorateSDKType
|
|
273
|
+
* @package bze.dao
|
|
274
|
+
* @see proto type: bze.dao.StakeElectorate
|
|
275
|
+
*/
|
|
276
|
+
export interface StakeElectorateSDKType {
|
|
277
|
+
sr_ids: string[];
|
|
278
|
+
dr_denom: string;
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* Dao is a DAO record.
|
|
282
|
+
* @name Dao
|
|
283
|
+
* @package bze.dao
|
|
284
|
+
* @see proto type: bze.dao.Dao
|
|
285
|
+
*/
|
|
286
|
+
export interface Dao {
|
|
287
|
+
id: bigint;
|
|
288
|
+
/**
|
|
289
|
+
* address is the DAO's derived account (bech32).
|
|
290
|
+
*/
|
|
291
|
+
address: string;
|
|
292
|
+
/**
|
|
293
|
+
* admin is always set; equal to address when the DAO is self-owned.
|
|
294
|
+
*/
|
|
295
|
+
admin: string;
|
|
296
|
+
/**
|
|
297
|
+
* pending_admin is empty unless an admin nomination is pending.
|
|
298
|
+
*/
|
|
299
|
+
pendingAdmin: string;
|
|
300
|
+
type: DaoType;
|
|
301
|
+
name: string;
|
|
302
|
+
description: string;
|
|
303
|
+
config: DaoConfig;
|
|
304
|
+
/**
|
|
305
|
+
* members is the electorate of a DAO_TYPE_STATIC_LIST DAO.
|
|
306
|
+
*/
|
|
307
|
+
members: string[];
|
|
308
|
+
/**
|
|
309
|
+
* electorate is the electorate of a DAO_TYPE_STAKE DAO.
|
|
310
|
+
*/
|
|
311
|
+
electorate?: StakeElectorate;
|
|
312
|
+
/**
|
|
313
|
+
* created_at is the block time (unix seconds) the DAO was created at.
|
|
314
|
+
*/
|
|
315
|
+
createdAt: bigint;
|
|
316
|
+
/**
|
|
317
|
+
* admin_seq is the admin_change_count value issued when the admin last
|
|
318
|
+
* changed; 0 if it never changed.
|
|
319
|
+
*/
|
|
320
|
+
adminSeq: bigint;
|
|
321
|
+
/**
|
|
322
|
+
* pending_admin_seq is the admin_change_count value when the pending
|
|
323
|
+
* nomination was made; 0 when none is pending. The nomination can only be
|
|
324
|
+
* accepted while no DAO on the admin chain changed its admin after it.
|
|
325
|
+
*/
|
|
326
|
+
pendingAdminSeq: bigint;
|
|
327
|
+
}
|
|
328
|
+
export interface DaoProtoMsg {
|
|
329
|
+
typeUrl: "/bze.dao.Dao";
|
|
330
|
+
value: Uint8Array;
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* Dao is a DAO record.
|
|
334
|
+
* @name DaoAmino
|
|
335
|
+
* @package bze.dao
|
|
336
|
+
* @see proto type: bze.dao.Dao
|
|
337
|
+
*/
|
|
338
|
+
export interface DaoAmino {
|
|
339
|
+
id?: string;
|
|
340
|
+
/**
|
|
341
|
+
* address is the DAO's derived account (bech32).
|
|
342
|
+
*/
|
|
343
|
+
address?: string;
|
|
344
|
+
/**
|
|
345
|
+
* admin is always set; equal to address when the DAO is self-owned.
|
|
346
|
+
*/
|
|
347
|
+
admin?: string;
|
|
348
|
+
/**
|
|
349
|
+
* pending_admin is empty unless an admin nomination is pending.
|
|
350
|
+
*/
|
|
351
|
+
pending_admin?: string;
|
|
352
|
+
type?: DaoType;
|
|
353
|
+
name?: string;
|
|
354
|
+
description?: string;
|
|
355
|
+
config?: DaoConfigAmino;
|
|
356
|
+
/**
|
|
357
|
+
* members is the electorate of a DAO_TYPE_STATIC_LIST DAO.
|
|
358
|
+
*/
|
|
359
|
+
members?: string[];
|
|
360
|
+
/**
|
|
361
|
+
* electorate is the electorate of a DAO_TYPE_STAKE DAO.
|
|
362
|
+
*/
|
|
363
|
+
electorate?: StakeElectorateAmino;
|
|
364
|
+
/**
|
|
365
|
+
* created_at is the block time (unix seconds) the DAO was created at.
|
|
366
|
+
*/
|
|
367
|
+
created_at?: string;
|
|
368
|
+
/**
|
|
369
|
+
* admin_seq is the admin_change_count value issued when the admin last
|
|
370
|
+
* changed; 0 if it never changed.
|
|
371
|
+
*/
|
|
372
|
+
admin_seq?: string;
|
|
373
|
+
/**
|
|
374
|
+
* pending_admin_seq is the admin_change_count value when the pending
|
|
375
|
+
* nomination was made; 0 when none is pending. The nomination can only be
|
|
376
|
+
* accepted while no DAO on the admin chain changed its admin after it.
|
|
377
|
+
*/
|
|
378
|
+
pending_admin_seq?: string;
|
|
379
|
+
}
|
|
380
|
+
export interface DaoAminoMsg {
|
|
381
|
+
type: "/bze.dao.Dao";
|
|
382
|
+
value: DaoAmino;
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* Dao is a DAO record.
|
|
386
|
+
* @name DaoSDKType
|
|
387
|
+
* @package bze.dao
|
|
388
|
+
* @see proto type: bze.dao.Dao
|
|
389
|
+
*/
|
|
390
|
+
export interface DaoSDKType {
|
|
391
|
+
id: bigint;
|
|
392
|
+
address: string;
|
|
393
|
+
admin: string;
|
|
394
|
+
pending_admin: string;
|
|
395
|
+
type: DaoType;
|
|
396
|
+
name: string;
|
|
397
|
+
description: string;
|
|
398
|
+
config: DaoConfigSDKType;
|
|
399
|
+
members: string[];
|
|
400
|
+
electorate?: StakeElectorateSDKType;
|
|
401
|
+
created_at: bigint;
|
|
402
|
+
admin_seq: bigint;
|
|
403
|
+
pending_admin_seq: bigint;
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* Proposal is a DAO proposal. It pins the DAO's config, electorate and quorum
|
|
407
|
+
* denominator at submission, so later DAO changes never move an open vote.
|
|
408
|
+
* @name Proposal
|
|
409
|
+
* @package bze.dao
|
|
410
|
+
* @see proto type: bze.dao.Proposal
|
|
411
|
+
*/
|
|
412
|
+
export interface Proposal {
|
|
413
|
+
id: bigint;
|
|
414
|
+
daoId: bigint;
|
|
415
|
+
proposer: string;
|
|
416
|
+
title: string;
|
|
417
|
+
summary: string;
|
|
418
|
+
/**
|
|
419
|
+
* msgs run as the DAO if the proposal passes.
|
|
420
|
+
*/
|
|
421
|
+
msgs: (Any)[] | Any[];
|
|
422
|
+
expedited: boolean;
|
|
423
|
+
status: ProposalStatus;
|
|
424
|
+
/**
|
|
425
|
+
* submit_height is the join-eligibility reference: stake joined at or after
|
|
426
|
+
* it does not count.
|
|
427
|
+
*/
|
|
428
|
+
submitHeight: bigint;
|
|
429
|
+
/**
|
|
430
|
+
* submit_time and voting_end are block times in unix seconds.
|
|
431
|
+
*/
|
|
432
|
+
submitTime: bigint;
|
|
433
|
+
votingEnd: bigint;
|
|
434
|
+
/**
|
|
435
|
+
* pinned_config is the DAO's config at submission.
|
|
436
|
+
*/
|
|
437
|
+
pinnedConfig: DaoConfig;
|
|
438
|
+
/**
|
|
439
|
+
* pinned_electorate is the stake electorate at submission (stake DAOs only).
|
|
440
|
+
*/
|
|
441
|
+
pinnedElectorate?: StakeElectorate;
|
|
442
|
+
/**
|
|
443
|
+
* pinned_denominator is the total voting power at submission: the member
|
|
444
|
+
* count, or the summed stake of the pinned sources.
|
|
445
|
+
*/
|
|
446
|
+
pinnedDenominator: string;
|
|
447
|
+
/**
|
|
448
|
+
* pinned_deposit is the deposit escrowed by the proposer, if any.
|
|
449
|
+
*/
|
|
450
|
+
pinnedDeposit?: Coin;
|
|
451
|
+
/**
|
|
452
|
+
* yes, no and abstain are the running tallies.
|
|
453
|
+
*/
|
|
454
|
+
yes: string;
|
|
455
|
+
no: string;
|
|
456
|
+
abstain: string;
|
|
457
|
+
/**
|
|
458
|
+
* cleanup_cursor is where the ballot cleanup of a finished proposal resumes.
|
|
459
|
+
*/
|
|
460
|
+
cleanupCursor: string;
|
|
461
|
+
}
|
|
462
|
+
export interface ProposalProtoMsg {
|
|
463
|
+
typeUrl: "/bze.dao.Proposal";
|
|
464
|
+
value: Uint8Array;
|
|
465
|
+
}
|
|
466
|
+
export type ProposalEncoded = Omit<Proposal, "msgs"> & {
|
|
467
|
+
/**
|
|
468
|
+
* msgs run as the DAO if the proposal passes.
|
|
469
|
+
*/
|
|
470
|
+
msgs: (AnyProtoMsg)[];
|
|
471
|
+
};
|
|
472
|
+
/**
|
|
473
|
+
* Proposal is a DAO proposal. It pins the DAO's config, electorate and quorum
|
|
474
|
+
* denominator at submission, so later DAO changes never move an open vote.
|
|
475
|
+
* @name ProposalAmino
|
|
476
|
+
* @package bze.dao
|
|
477
|
+
* @see proto type: bze.dao.Proposal
|
|
478
|
+
*/
|
|
479
|
+
export interface ProposalAmino {
|
|
480
|
+
id?: string;
|
|
481
|
+
dao_id?: string;
|
|
482
|
+
proposer?: string;
|
|
483
|
+
title?: string;
|
|
484
|
+
summary?: string;
|
|
485
|
+
/**
|
|
486
|
+
* msgs run as the DAO if the proposal passes.
|
|
487
|
+
*/
|
|
488
|
+
msgs?: AnyAmino[];
|
|
489
|
+
expedited?: boolean;
|
|
490
|
+
status?: ProposalStatus;
|
|
491
|
+
/**
|
|
492
|
+
* submit_height is the join-eligibility reference: stake joined at or after
|
|
493
|
+
* it does not count.
|
|
494
|
+
*/
|
|
495
|
+
submit_height?: string;
|
|
496
|
+
/**
|
|
497
|
+
* submit_time and voting_end are block times in unix seconds.
|
|
498
|
+
*/
|
|
499
|
+
submit_time?: string;
|
|
500
|
+
voting_end?: string;
|
|
501
|
+
/**
|
|
502
|
+
* pinned_config is the DAO's config at submission.
|
|
503
|
+
*/
|
|
504
|
+
pinned_config?: DaoConfigAmino;
|
|
505
|
+
/**
|
|
506
|
+
* pinned_electorate is the stake electorate at submission (stake DAOs only).
|
|
507
|
+
*/
|
|
508
|
+
pinned_electorate?: StakeElectorateAmino;
|
|
509
|
+
/**
|
|
510
|
+
* pinned_denominator is the total voting power at submission: the member
|
|
511
|
+
* count, or the summed stake of the pinned sources.
|
|
512
|
+
*/
|
|
513
|
+
pinned_denominator?: string;
|
|
514
|
+
/**
|
|
515
|
+
* pinned_deposit is the deposit escrowed by the proposer, if any.
|
|
516
|
+
*/
|
|
517
|
+
pinned_deposit?: CoinAmino;
|
|
518
|
+
/**
|
|
519
|
+
* yes, no and abstain are the running tallies.
|
|
520
|
+
*/
|
|
521
|
+
yes?: string;
|
|
522
|
+
no?: string;
|
|
523
|
+
abstain?: string;
|
|
524
|
+
/**
|
|
525
|
+
* cleanup_cursor is where the ballot cleanup of a finished proposal resumes.
|
|
526
|
+
*/
|
|
527
|
+
cleanup_cursor?: string;
|
|
528
|
+
}
|
|
529
|
+
export interface ProposalAminoMsg {
|
|
530
|
+
type: "/bze.dao.Proposal";
|
|
531
|
+
value: ProposalAmino;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Proposal is a DAO proposal. It pins the DAO's config, electorate and quorum
|
|
535
|
+
* denominator at submission, so later DAO changes never move an open vote.
|
|
536
|
+
* @name ProposalSDKType
|
|
537
|
+
* @package bze.dao
|
|
538
|
+
* @see proto type: bze.dao.Proposal
|
|
539
|
+
*/
|
|
540
|
+
export interface ProposalSDKType {
|
|
541
|
+
id: bigint;
|
|
542
|
+
dao_id: bigint;
|
|
543
|
+
proposer: string;
|
|
544
|
+
title: string;
|
|
545
|
+
summary: string;
|
|
546
|
+
msgs: (AnySDKType)[];
|
|
547
|
+
expedited: boolean;
|
|
548
|
+
status: ProposalStatus;
|
|
549
|
+
submit_height: bigint;
|
|
550
|
+
submit_time: bigint;
|
|
551
|
+
voting_end: bigint;
|
|
552
|
+
pinned_config: DaoConfigSDKType;
|
|
553
|
+
pinned_electorate?: StakeElectorateSDKType;
|
|
554
|
+
pinned_denominator: string;
|
|
555
|
+
pinned_deposit?: CoinSDKType;
|
|
556
|
+
yes: string;
|
|
557
|
+
no: string;
|
|
558
|
+
abstain: string;
|
|
559
|
+
cleanup_cursor: string;
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* BallotShare is the weight one electorate source gives a ballot.
|
|
563
|
+
* @name BallotShare
|
|
564
|
+
* @package bze.dao
|
|
565
|
+
* @see proto type: bze.dao.BallotShare
|
|
566
|
+
*/
|
|
567
|
+
export interface BallotShare {
|
|
568
|
+
/**
|
|
569
|
+
* source is sr/{reward_id} or dr/{staking_denom}.
|
|
570
|
+
*/
|
|
571
|
+
source: string;
|
|
572
|
+
amount: string;
|
|
573
|
+
}
|
|
574
|
+
export interface BallotShareProtoMsg {
|
|
575
|
+
typeUrl: "/bze.dao.BallotShare";
|
|
576
|
+
value: Uint8Array;
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
* BallotShare is the weight one electorate source gives a ballot.
|
|
580
|
+
* @name BallotShareAmino
|
|
581
|
+
* @package bze.dao
|
|
582
|
+
* @see proto type: bze.dao.BallotShare
|
|
583
|
+
*/
|
|
584
|
+
export interface BallotShareAmino {
|
|
585
|
+
/**
|
|
586
|
+
* source is sr/{reward_id} or dr/{staking_denom}.
|
|
587
|
+
*/
|
|
588
|
+
source?: string;
|
|
589
|
+
amount?: string;
|
|
590
|
+
}
|
|
591
|
+
export interface BallotShareAminoMsg {
|
|
592
|
+
type: "/bze.dao.BallotShare";
|
|
593
|
+
value: BallotShareAmino;
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* BallotShare is the weight one electorate source gives a ballot.
|
|
597
|
+
* @name BallotShareSDKType
|
|
598
|
+
* @package bze.dao
|
|
599
|
+
* @see proto type: bze.dao.BallotShare
|
|
600
|
+
*/
|
|
601
|
+
export interface BallotShareSDKType {
|
|
602
|
+
source: string;
|
|
603
|
+
amount: string;
|
|
604
|
+
}
|
|
605
|
+
/**
|
|
606
|
+
* Ballot is a voter's vote on a proposal.
|
|
607
|
+
* @name Ballot
|
|
608
|
+
* @package bze.dao
|
|
609
|
+
* @see proto type: bze.dao.Ballot
|
|
610
|
+
*/
|
|
611
|
+
export interface Ballot {
|
|
612
|
+
proposalId: bigint;
|
|
613
|
+
voter: string;
|
|
614
|
+
option: VoteOption;
|
|
615
|
+
/**
|
|
616
|
+
* weight is what the ballot adds to its option's tally: 1 in a static-list
|
|
617
|
+
* DAO, the sum of the shares in a stake DAO.
|
|
618
|
+
*/
|
|
619
|
+
weight: string;
|
|
620
|
+
/**
|
|
621
|
+
* shares are the per-source parts of the weight (stake DAOs only).
|
|
622
|
+
*/
|
|
623
|
+
shares: BallotShare[];
|
|
624
|
+
}
|
|
625
|
+
export interface BallotProtoMsg {
|
|
626
|
+
typeUrl: "/bze.dao.Ballot";
|
|
627
|
+
value: Uint8Array;
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* Ballot is a voter's vote on a proposal.
|
|
631
|
+
* @name BallotAmino
|
|
632
|
+
* @package bze.dao
|
|
633
|
+
* @see proto type: bze.dao.Ballot
|
|
634
|
+
*/
|
|
635
|
+
export interface BallotAmino {
|
|
636
|
+
proposal_id?: string;
|
|
637
|
+
voter?: string;
|
|
638
|
+
option?: VoteOption;
|
|
639
|
+
/**
|
|
640
|
+
* weight is what the ballot adds to its option's tally: 1 in a static-list
|
|
641
|
+
* DAO, the sum of the shares in a stake DAO.
|
|
642
|
+
*/
|
|
643
|
+
weight?: string;
|
|
644
|
+
/**
|
|
645
|
+
* shares are the per-source parts of the weight (stake DAOs only).
|
|
646
|
+
*/
|
|
647
|
+
shares?: BallotShareAmino[];
|
|
648
|
+
}
|
|
649
|
+
export interface BallotAminoMsg {
|
|
650
|
+
type: "/bze.dao.Ballot";
|
|
651
|
+
value: BallotAmino;
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* Ballot is a voter's vote on a proposal.
|
|
655
|
+
* @name BallotSDKType
|
|
656
|
+
* @package bze.dao
|
|
657
|
+
* @see proto type: bze.dao.Ballot
|
|
658
|
+
*/
|
|
659
|
+
export interface BallotSDKType {
|
|
660
|
+
proposal_id: bigint;
|
|
661
|
+
voter: string;
|
|
662
|
+
option: VoteOption;
|
|
663
|
+
weight: string;
|
|
664
|
+
shares: BallotShareSDKType[];
|
|
665
|
+
}
|
|
666
|
+
/**
|
|
667
|
+
* JoinRecord is the height an address joined an electorate source while the
|
|
668
|
+
* source was pinned. Stake joined at or after a proposal's submit height does
|
|
669
|
+
* not vote on it.
|
|
670
|
+
* @name JoinRecord
|
|
671
|
+
* @package bze.dao
|
|
672
|
+
* @see proto type: bze.dao.JoinRecord
|
|
673
|
+
*/
|
|
674
|
+
export interface JoinRecord {
|
|
675
|
+
/**
|
|
676
|
+
* source is sr/{reward_id} or dr/{staking_denom}.
|
|
677
|
+
*/
|
|
678
|
+
source: string;
|
|
679
|
+
address: string;
|
|
680
|
+
height: bigint;
|
|
681
|
+
}
|
|
682
|
+
export interface JoinRecordProtoMsg {
|
|
683
|
+
typeUrl: "/bze.dao.JoinRecord";
|
|
684
|
+
value: Uint8Array;
|
|
685
|
+
}
|
|
686
|
+
/**
|
|
687
|
+
* JoinRecord is the height an address joined an electorate source while the
|
|
688
|
+
* source was pinned. Stake joined at or after a proposal's submit height does
|
|
689
|
+
* not vote on it.
|
|
690
|
+
* @name JoinRecordAmino
|
|
691
|
+
* @package bze.dao
|
|
692
|
+
* @see proto type: bze.dao.JoinRecord
|
|
693
|
+
*/
|
|
694
|
+
export interface JoinRecordAmino {
|
|
695
|
+
/**
|
|
696
|
+
* source is sr/{reward_id} or dr/{staking_denom}.
|
|
697
|
+
*/
|
|
698
|
+
source?: string;
|
|
699
|
+
address?: string;
|
|
700
|
+
height?: string;
|
|
701
|
+
}
|
|
702
|
+
export interface JoinRecordAminoMsg {
|
|
703
|
+
type: "/bze.dao.JoinRecord";
|
|
704
|
+
value: JoinRecordAmino;
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* JoinRecord is the height an address joined an electorate source while the
|
|
708
|
+
* source was pinned. Stake joined at or after a proposal's submit height does
|
|
709
|
+
* not vote on it.
|
|
710
|
+
* @name JoinRecordSDKType
|
|
711
|
+
* @package bze.dao
|
|
712
|
+
* @see proto type: bze.dao.JoinRecord
|
|
713
|
+
*/
|
|
714
|
+
export interface JoinRecordSDKType {
|
|
715
|
+
source: string;
|
|
716
|
+
address: string;
|
|
717
|
+
height: bigint;
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* MemberRecord is the height an address was added to a static-list DAO by
|
|
721
|
+
* MsgUpdateMembers. A member added at or after a proposal's submit height does
|
|
722
|
+
* not vote on it; members listed at creation have no record.
|
|
723
|
+
* @name MemberRecord
|
|
724
|
+
* @package bze.dao
|
|
725
|
+
* @see proto type: bze.dao.MemberRecord
|
|
726
|
+
*/
|
|
727
|
+
export interface MemberRecord {
|
|
728
|
+
daoId: bigint;
|
|
729
|
+
address: string;
|
|
730
|
+
height: bigint;
|
|
731
|
+
}
|
|
732
|
+
export interface MemberRecordProtoMsg {
|
|
733
|
+
typeUrl: "/bze.dao.MemberRecord";
|
|
734
|
+
value: Uint8Array;
|
|
735
|
+
}
|
|
736
|
+
/**
|
|
737
|
+
* MemberRecord is the height an address was added to a static-list DAO by
|
|
738
|
+
* MsgUpdateMembers. A member added at or after a proposal's submit height does
|
|
739
|
+
* not vote on it; members listed at creation have no record.
|
|
740
|
+
* @name MemberRecordAmino
|
|
741
|
+
* @package bze.dao
|
|
742
|
+
* @see proto type: bze.dao.MemberRecord
|
|
743
|
+
*/
|
|
744
|
+
export interface MemberRecordAmino {
|
|
745
|
+
dao_id?: string;
|
|
746
|
+
address?: string;
|
|
747
|
+
height?: string;
|
|
748
|
+
}
|
|
749
|
+
export interface MemberRecordAminoMsg {
|
|
750
|
+
type: "/bze.dao.MemberRecord";
|
|
751
|
+
value: MemberRecordAmino;
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* MemberRecord is the height an address was added to a static-list DAO by
|
|
755
|
+
* MsgUpdateMembers. A member added at or after a proposal's submit height does
|
|
756
|
+
* not vote on it; members listed at creation have no record.
|
|
757
|
+
* @name MemberRecordSDKType
|
|
758
|
+
* @package bze.dao
|
|
759
|
+
* @see proto type: bze.dao.MemberRecord
|
|
760
|
+
*/
|
|
761
|
+
export interface MemberRecordSDKType {
|
|
762
|
+
dao_id: bigint;
|
|
763
|
+
address: string;
|
|
764
|
+
height: bigint;
|
|
765
|
+
}
|
|
766
|
+
/**
|
|
767
|
+
* DaoConfig holds the voting rules of a DAO.
|
|
768
|
+
* @name DaoConfig
|
|
769
|
+
* @package bze.dao
|
|
770
|
+
* @see proto type: bze.dao.DaoConfig
|
|
771
|
+
*/
|
|
772
|
+
export declare const DaoConfig: {
|
|
773
|
+
typeUrl: string;
|
|
774
|
+
is(o: any): o is DaoConfig;
|
|
775
|
+
isSDK(o: any): o is DaoConfigSDKType;
|
|
776
|
+
isAmino(o: any): o is DaoConfigAmino;
|
|
777
|
+
encode(message: DaoConfig, writer?: BinaryWriter): BinaryWriter;
|
|
778
|
+
decode(input: BinaryReader | Uint8Array, length?: number): DaoConfig;
|
|
779
|
+
fromPartial(object: Partial<DaoConfig>): DaoConfig;
|
|
780
|
+
fromAmino(object: DaoConfigAmino): DaoConfig;
|
|
781
|
+
toAmino(message: DaoConfig): DaoConfigAmino;
|
|
782
|
+
fromAminoMsg(object: DaoConfigAminoMsg): DaoConfig;
|
|
783
|
+
fromProtoMsg(message: DaoConfigProtoMsg): DaoConfig;
|
|
784
|
+
toProto(message: DaoConfig): Uint8Array;
|
|
785
|
+
toProtoMsg(message: DaoConfig): DaoConfigProtoMsg;
|
|
786
|
+
registerTypeUrl(): void;
|
|
787
|
+
};
|
|
788
|
+
/**
|
|
789
|
+
* StakeElectorate lists the reward programs whose stakers vote in a stake DAO.
|
|
790
|
+
* @name StakeElectorate
|
|
791
|
+
* @package bze.dao
|
|
792
|
+
* @see proto type: bze.dao.StakeElectorate
|
|
793
|
+
*/
|
|
794
|
+
export declare const StakeElectorate: {
|
|
795
|
+
typeUrl: string;
|
|
796
|
+
is(o: any): o is StakeElectorate;
|
|
797
|
+
isSDK(o: any): o is StakeElectorateSDKType;
|
|
798
|
+
isAmino(o: any): o is StakeElectorateAmino;
|
|
799
|
+
encode(message: StakeElectorate, writer?: BinaryWriter): BinaryWriter;
|
|
800
|
+
decode(input: BinaryReader | Uint8Array, length?: number): StakeElectorate;
|
|
801
|
+
fromPartial(object: Partial<StakeElectorate>): StakeElectorate;
|
|
802
|
+
fromAmino(object: StakeElectorateAmino): StakeElectorate;
|
|
803
|
+
toAmino(message: StakeElectorate): StakeElectorateAmino;
|
|
804
|
+
fromAminoMsg(object: StakeElectorateAminoMsg): StakeElectorate;
|
|
805
|
+
fromProtoMsg(message: StakeElectorateProtoMsg): StakeElectorate;
|
|
806
|
+
toProto(message: StakeElectorate): Uint8Array;
|
|
807
|
+
toProtoMsg(message: StakeElectorate): StakeElectorateProtoMsg;
|
|
808
|
+
registerTypeUrl(): void;
|
|
809
|
+
};
|
|
810
|
+
/**
|
|
811
|
+
* Dao is a DAO record.
|
|
812
|
+
* @name Dao
|
|
813
|
+
* @package bze.dao
|
|
814
|
+
* @see proto type: bze.dao.Dao
|
|
815
|
+
*/
|
|
816
|
+
export declare const Dao: {
|
|
817
|
+
typeUrl: string;
|
|
818
|
+
is(o: any): o is Dao;
|
|
819
|
+
isSDK(o: any): o is DaoSDKType;
|
|
820
|
+
isAmino(o: any): o is DaoAmino;
|
|
821
|
+
encode(message: Dao, writer?: BinaryWriter): BinaryWriter;
|
|
822
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Dao;
|
|
823
|
+
fromPartial(object: Partial<Dao>): Dao;
|
|
824
|
+
fromAmino(object: DaoAmino): Dao;
|
|
825
|
+
toAmino(message: Dao): DaoAmino;
|
|
826
|
+
fromAminoMsg(object: DaoAminoMsg): Dao;
|
|
827
|
+
fromProtoMsg(message: DaoProtoMsg): Dao;
|
|
828
|
+
toProto(message: Dao): Uint8Array;
|
|
829
|
+
toProtoMsg(message: Dao): DaoProtoMsg;
|
|
830
|
+
registerTypeUrl(): void;
|
|
831
|
+
};
|
|
832
|
+
/**
|
|
833
|
+
* Proposal is a DAO proposal. It pins the DAO's config, electorate and quorum
|
|
834
|
+
* denominator at submission, so later DAO changes never move an open vote.
|
|
835
|
+
* @name Proposal
|
|
836
|
+
* @package bze.dao
|
|
837
|
+
* @see proto type: bze.dao.Proposal
|
|
838
|
+
*/
|
|
839
|
+
export declare const Proposal: {
|
|
840
|
+
typeUrl: string;
|
|
841
|
+
is(o: any): o is Proposal;
|
|
842
|
+
isSDK(o: any): o is ProposalSDKType;
|
|
843
|
+
isAmino(o: any): o is ProposalAmino;
|
|
844
|
+
encode(message: Proposal, writer?: BinaryWriter): BinaryWriter;
|
|
845
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Proposal;
|
|
846
|
+
fromPartial(object: Partial<Proposal>): Proposal;
|
|
847
|
+
fromAmino(object: ProposalAmino): Proposal;
|
|
848
|
+
toAmino(message: Proposal): ProposalAmino;
|
|
849
|
+
fromAminoMsg(object: ProposalAminoMsg): Proposal;
|
|
850
|
+
fromProtoMsg(message: ProposalProtoMsg): Proposal;
|
|
851
|
+
toProto(message: Proposal): Uint8Array;
|
|
852
|
+
toProtoMsg(message: Proposal): ProposalProtoMsg;
|
|
853
|
+
registerTypeUrl(): void;
|
|
854
|
+
};
|
|
855
|
+
/**
|
|
856
|
+
* BallotShare is the weight one electorate source gives a ballot.
|
|
857
|
+
* @name BallotShare
|
|
858
|
+
* @package bze.dao
|
|
859
|
+
* @see proto type: bze.dao.BallotShare
|
|
860
|
+
*/
|
|
861
|
+
export declare const BallotShare: {
|
|
862
|
+
typeUrl: string;
|
|
863
|
+
is(o: any): o is BallotShare;
|
|
864
|
+
isSDK(o: any): o is BallotShareSDKType;
|
|
865
|
+
isAmino(o: any): o is BallotShareAmino;
|
|
866
|
+
encode(message: BallotShare, writer?: BinaryWriter): BinaryWriter;
|
|
867
|
+
decode(input: BinaryReader | Uint8Array, length?: number): BallotShare;
|
|
868
|
+
fromPartial(object: Partial<BallotShare>): BallotShare;
|
|
869
|
+
fromAmino(object: BallotShareAmino): BallotShare;
|
|
870
|
+
toAmino(message: BallotShare): BallotShareAmino;
|
|
871
|
+
fromAminoMsg(object: BallotShareAminoMsg): BallotShare;
|
|
872
|
+
fromProtoMsg(message: BallotShareProtoMsg): BallotShare;
|
|
873
|
+
toProto(message: BallotShare): Uint8Array;
|
|
874
|
+
toProtoMsg(message: BallotShare): BallotShareProtoMsg;
|
|
875
|
+
registerTypeUrl(): void;
|
|
876
|
+
};
|
|
877
|
+
/**
|
|
878
|
+
* Ballot is a voter's vote on a proposal.
|
|
879
|
+
* @name Ballot
|
|
880
|
+
* @package bze.dao
|
|
881
|
+
* @see proto type: bze.dao.Ballot
|
|
882
|
+
*/
|
|
883
|
+
export declare const Ballot: {
|
|
884
|
+
typeUrl: string;
|
|
885
|
+
is(o: any): o is Ballot;
|
|
886
|
+
isSDK(o: any): o is BallotSDKType;
|
|
887
|
+
isAmino(o: any): o is BallotAmino;
|
|
888
|
+
encode(message: Ballot, writer?: BinaryWriter): BinaryWriter;
|
|
889
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Ballot;
|
|
890
|
+
fromPartial(object: Partial<Ballot>): Ballot;
|
|
891
|
+
fromAmino(object: BallotAmino): Ballot;
|
|
892
|
+
toAmino(message: Ballot): BallotAmino;
|
|
893
|
+
fromAminoMsg(object: BallotAminoMsg): Ballot;
|
|
894
|
+
fromProtoMsg(message: BallotProtoMsg): Ballot;
|
|
895
|
+
toProto(message: Ballot): Uint8Array;
|
|
896
|
+
toProtoMsg(message: Ballot): BallotProtoMsg;
|
|
897
|
+
registerTypeUrl(): void;
|
|
898
|
+
};
|
|
899
|
+
/**
|
|
900
|
+
* JoinRecord is the height an address joined an electorate source while the
|
|
901
|
+
* source was pinned. Stake joined at or after a proposal's submit height does
|
|
902
|
+
* not vote on it.
|
|
903
|
+
* @name JoinRecord
|
|
904
|
+
* @package bze.dao
|
|
905
|
+
* @see proto type: bze.dao.JoinRecord
|
|
906
|
+
*/
|
|
907
|
+
export declare const JoinRecord: {
|
|
908
|
+
typeUrl: string;
|
|
909
|
+
is(o: any): o is JoinRecord;
|
|
910
|
+
isSDK(o: any): o is JoinRecordSDKType;
|
|
911
|
+
isAmino(o: any): o is JoinRecordAmino;
|
|
912
|
+
encode(message: JoinRecord, writer?: BinaryWriter): BinaryWriter;
|
|
913
|
+
decode(input: BinaryReader | Uint8Array, length?: number): JoinRecord;
|
|
914
|
+
fromPartial(object: Partial<JoinRecord>): JoinRecord;
|
|
915
|
+
fromAmino(object: JoinRecordAmino): JoinRecord;
|
|
916
|
+
toAmino(message: JoinRecord): JoinRecordAmino;
|
|
917
|
+
fromAminoMsg(object: JoinRecordAminoMsg): JoinRecord;
|
|
918
|
+
fromProtoMsg(message: JoinRecordProtoMsg): JoinRecord;
|
|
919
|
+
toProto(message: JoinRecord): Uint8Array;
|
|
920
|
+
toProtoMsg(message: JoinRecord): JoinRecordProtoMsg;
|
|
921
|
+
registerTypeUrl(): void;
|
|
922
|
+
};
|
|
923
|
+
/**
|
|
924
|
+
* MemberRecord is the height an address was added to a static-list DAO by
|
|
925
|
+
* MsgUpdateMembers. A member added at or after a proposal's submit height does
|
|
926
|
+
* not vote on it; members listed at creation have no record.
|
|
927
|
+
* @name MemberRecord
|
|
928
|
+
* @package bze.dao
|
|
929
|
+
* @see proto type: bze.dao.MemberRecord
|
|
930
|
+
*/
|
|
931
|
+
export declare const MemberRecord: {
|
|
932
|
+
typeUrl: string;
|
|
933
|
+
is(o: any): o is MemberRecord;
|
|
934
|
+
isSDK(o: any): o is MemberRecordSDKType;
|
|
935
|
+
isAmino(o: any): o is MemberRecordAmino;
|
|
936
|
+
encode(message: MemberRecord, writer?: BinaryWriter): BinaryWriter;
|
|
937
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MemberRecord;
|
|
938
|
+
fromPartial(object: Partial<MemberRecord>): MemberRecord;
|
|
939
|
+
fromAmino(object: MemberRecordAmino): MemberRecord;
|
|
940
|
+
toAmino(message: MemberRecord): MemberRecordAmino;
|
|
941
|
+
fromAminoMsg(object: MemberRecordAminoMsg): MemberRecord;
|
|
942
|
+
fromProtoMsg(message: MemberRecordProtoMsg): MemberRecord;
|
|
943
|
+
toProto(message: MemberRecord): Uint8Array;
|
|
944
|
+
toProtoMsg(message: MemberRecord): MemberRecordProtoMsg;
|
|
945
|
+
registerTypeUrl(): void;
|
|
946
|
+
};
|