@bze/bzejs 3.2.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -1
- package/dist/bze/bundle.d.ts +5982 -3068
- package/dist/bze/bundle.js +144 -93
- package/dist/bze/burner/burned_coins.d.ts +60 -0
- package/dist/bze/burner/burned_coins.js +92 -1
- package/dist/bze/burner/genesis.d.ts +4 -1
- package/dist/bze/burner/genesis.js +20 -4
- package/dist/bze/burner/params.d.ts +22 -0
- package/dist/bze/burner/params.js +29 -4
- package/dist/bze/dao/events.d.ts +1208 -0
- package/dist/bze/dao/events.js +1840 -0
- package/dist/bze/dao/genesis.d.ts +307 -0
- package/dist/bze/dao/genesis.js +435 -0
- package/dist/bze/dao/module/module.d.ts +64 -0
- package/dist/{cosmos/orm/module/v1alpha1 → bze/dao/module}/module.js +27 -23
- package/dist/bze/dao/params.d.ts +210 -0
- package/dist/bze/dao/params.js +268 -0
- package/dist/bze/dao/query.d.ts +1607 -0
- package/dist/bze/dao/query.js +2368 -0
- package/dist/bze/dao/query.lcd.d.ts +20 -0
- package/dist/bze/dao/query.lcd.js +125 -0
- package/dist/bze/dao/query.rpc.func.d.ts +88 -0
- package/dist/bze/dao/query.rpc.func.js +165 -0
- package/dist/bze/dao/store.d.ts +946 -0
- package/dist/bze/dao/store.js +1546 -0
- package/dist/bze/dao/tx.d.ts +2014 -0
- package/dist/bze/dao/tx.js +2823 -0
- package/dist/bze/dao/tx.registry.d.ts +191 -0
- package/dist/bze/dao/tx.registry.js +283 -0
- package/dist/bze/dao/tx.rpc.func.d.ts +124 -0
- package/dist/bze/dao/tx.rpc.func.js +159 -0
- package/dist/bze/guardian/module/module.d.ts +64 -0
- package/dist/bze/guardian/module/module.js +84 -0
- package/dist/bze/guardian/v1/events.d.ts +632 -0
- package/dist/bze/guardian/v1/events.js +985 -0
- package/dist/bze/guardian/v1/genesis.d.ts +85 -0
- package/dist/bze/guardian/v1/genesis.js +118 -0
- package/dist/bze/guardian/v1/params.d.ts +68 -0
- package/dist/bze/guardian/v1/params.js +91 -0
- package/dist/bze/guardian/v1/query.d.ts +472 -0
- package/dist/bze/guardian/v1/query.js +598 -0
- package/dist/bze/guardian/v1/query.lcd.d.ts +12 -0
- package/dist/bze/guardian/v1/query.lcd.js +34 -0
- package/dist/bze/guardian/v1/query.rpc.func.d.ts +29 -0
- package/dist/bze/guardian/v1/query.rpc.func.js +58 -0
- package/dist/bze/guardian/v1/tx.d.ts +1487 -0
- package/dist/bze/guardian/v1/tx.js +1870 -0
- package/dist/bze/guardian/v1/tx.registry.d.ts +143 -0
- package/dist/bze/guardian/v1/tx.registry.js +211 -0
- package/dist/bze/guardian/v1/tx.rpc.func.d.ts +91 -0
- package/dist/bze/guardian/v1/tx.rpc.func.js +118 -0
- package/dist/bze/lcd.d.ts +4 -3
- package/dist/bze/lcd.js +8 -5
- package/dist/bze/rewards/events.d.ts +79 -0
- package/dist/bze/rewards/events.js +109 -5
- package/dist/bze/tokenfactory/denom_authority.d.ts +13 -0
- package/dist/bze/tokenfactory/denom_authority.js +16 -4
- package/dist/bze/tokenfactory/denom_config.d.ts +92 -0
- package/dist/bze/tokenfactory/denom_config.js +111 -0
- package/dist/bze/tokenfactory/events.d.ts +122 -0
- package/dist/bze/tokenfactory/events.js +207 -1
- package/dist/bze/tokenfactory/genesis.d.ts +10 -0
- package/dist/bze/tokenfactory/genesis.js +15 -1
- package/dist/bze/tokenfactory/query.d.ts +107 -0
- package/dist/bze/tokenfactory/query.js +163 -1
- package/dist/bze/tokenfactory/query.lcd.d.ts +2 -1
- package/dist/bze/tokenfactory/query.lcd.js +12 -0
- package/dist/bze/tokenfactory/query.rpc.func.d.ts +8 -1
- package/dist/bze/tokenfactory/query.rpc.func.js +14 -1
- package/dist/bze/tokenfactory/tx.d.ts +396 -0
- package/dist/bze/tokenfactory/tx.js +542 -1
- package/dist/bze/tokenfactory/tx.registry.d.ts +37 -1
- package/dist/bze/tokenfactory/tx.registry.js +55 -1
- package/dist/bze/tokenfactory/tx.rpc.func.d.ts +25 -1
- package/dist/bze/tokenfactory/tx.rpc.func.js +31 -1
- package/dist/bze/tradebin/events.d.ts +312 -174
- package/dist/bze/tradebin/events.js +509 -321
- package/dist/bze/tradebin/genesis.d.ts +1 -4
- package/dist/bze/tradebin/genesis.js +3 -19
- package/dist/bze/tradebin/query.d.ts +109 -0
- package/dist/bze/tradebin/query.js +170 -1
- package/dist/bze/tradebin/query.lcd.d.ts +2 -1
- package/dist/bze/tradebin/query.lcd.js +13 -0
- package/dist/bze/tradebin/query.rpc.func.d.ts +9 -1
- package/dist/bze/tradebin/query.rpc.func.js +15 -1
- package/dist/bze/tradebin/store.d.ts +78 -77
- package/dist/bze/tradebin/store.js +120 -179
- package/dist/bze/tradebin/tx.d.ts +204 -0
- package/dist/bze/tradebin/tx.js +286 -1
- package/dist/bze/tradebin/tx.registry.d.ts +13 -1
- package/dist/bze/tradebin/tx.registry.js +19 -1
- package/dist/bze/tradebin/tx.rpc.func.d.ts +8 -1
- package/dist/bze/tradebin/tx.rpc.func.js +10 -1
- package/dist/bze/tradebin/v2/params.d.ts +54 -12
- package/dist/bze/tradebin/v2/params.js +61 -36
- package/dist/bze/txfeecollector/events.d.ts +185 -0
- package/dist/bze/txfeecollector/events.js +222 -1
- package/dist/cosmos/app/runtime/v1alpha1/module.d.ts +28 -2
- package/dist/cosmos/app/runtime/v1alpha1/module.js +34 -4
- package/dist/cosmos/auth/module/v1/module.d.ts +13 -0
- package/dist/cosmos/auth/module/v1/module.js +16 -4
- package/dist/cosmos/auth/v1beta1/auth.d.ts +0 -8
- package/dist/cosmos/auth/v1beta1/auth.js +0 -2
- package/dist/cosmos/auth/v1beta1/query.d.ts +0 -116
- package/dist/cosmos/auth/v1beta1/query.js +0 -28
- package/dist/cosmos/auth/v1beta1/query.lcd.js +7 -21
- package/dist/cosmos/auth/v1beta1/query.rpc.func.d.ts +0 -14
- package/dist/cosmos/auth/v1beta1/query.rpc.func.js +0 -14
- package/dist/cosmos/auth/v1beta1/tx.d.ts +0 -16
- package/dist/cosmos/auth/v1beta1/tx.js +0 -4
- package/dist/cosmos/auth/v1beta1/tx.rpc.func.d.ts +0 -2
- package/dist/cosmos/auth/v1beta1/tx.rpc.func.js +0 -2
- package/dist/cosmos/authz/v1beta1/query.lcd.js +2 -6
- package/dist/cosmos/authz/v1beta1/query.rpc.func.d.ts +0 -4
- package/dist/cosmos/authz/v1beta1/query.rpc.func.js +0 -4
- package/dist/cosmos/bank/v1beta1/authz.d.ts +0 -12
- package/dist/cosmos/bank/v1beta1/authz.js +0 -2
- package/dist/cosmos/bank/v1beta1/bank.d.ts +0 -16
- package/dist/cosmos/bank/v1beta1/genesis.d.ts +0 -4
- package/dist/cosmos/bank/v1beta1/query.d.ts +0 -92
- package/dist/cosmos/bank/v1beta1/query.js +0 -20
- package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +2 -2
- package/dist/cosmos/bank/v1beta1/query.lcd.js +29 -30
- package/dist/cosmos/bank/v1beta1/query.rpc.func.d.ts +9 -19
- package/dist/cosmos/bank/v1beta1/query.rpc.func.js +15 -25
- package/dist/cosmos/bank/v1beta1/tx.d.ts +0 -32
- package/dist/cosmos/bank/v1beta1/tx.js +0 -8
- package/dist/cosmos/bank/v1beta1/tx.rpc.func.d.ts +0 -4
- package/dist/cosmos/bank/v1beta1/tx.rpc.func.js +0 -4
- package/dist/cosmos/base/abci/v1beta1/abci.d.ts +0 -12
- package/dist/cosmos/base/query/v1beta1/pagination.d.ts +0 -4
- package/dist/cosmos/base/tendermint/v1beta1/query.d.ts +0 -18
- package/dist/cosmos/base/tendermint/v1beta1/query.lcd.js +1 -3
- package/dist/cosmos/base/tendermint/v1beta1/query.rpc.func.d.ts +0 -2
- package/dist/cosmos/base/tendermint/v1beta1/query.rpc.func.js +0 -2
- package/dist/cosmos/bundle.d.ts +8277 -10119
- package/dist/cosmos/bundle.js +366 -415
- package/dist/cosmos/consensus/v1/tx.d.ts +0 -6
- package/dist/cosmos/consensus/v1/tx.rpc.func.d.ts +0 -2
- package/dist/cosmos/consensus/v1/tx.rpc.func.js +0 -2
- package/dist/cosmos/distribution/v1beta1/query.lcd.js +3 -1
- package/dist/cosmos/distribution/v1beta1/query.rpc.func.d.ts +2 -0
- package/dist/cosmos/distribution/v1beta1/query.rpc.func.js +2 -0
- package/dist/cosmos/distribution/v1beta1/tx.d.ts +0 -60
- package/dist/cosmos/distribution/v1beta1/tx.js +0 -12
- package/dist/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +3 -5
- package/dist/cosmos/distribution/v1beta1/tx.rpc.func.js +3 -5
- package/dist/cosmos/feegrant/v1beta1/query.d.ts +0 -16
- package/dist/cosmos/feegrant/v1beta1/query.js +0 -4
- package/dist/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
- package/dist/cosmos/feegrant/v1beta1/query.rpc.func.d.ts +0 -2
- package/dist/cosmos/feegrant/v1beta1/query.rpc.func.js +0 -2
- package/dist/cosmos/feegrant/v1beta1/tx.d.ts +0 -16
- package/dist/cosmos/feegrant/v1beta1/tx.js +0 -4
- package/dist/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +0 -2
- package/dist/cosmos/feegrant/v1beta1/tx.rpc.func.js +0 -2
- package/dist/cosmos/gov/v1/genesis.d.ts +0 -8
- package/dist/cosmos/gov/v1/gov.d.ts +0 -48
- package/dist/cosmos/gov/v1/gov.js +0 -2
- package/dist/cosmos/gov/v1/query.d.ts +0 -4
- package/dist/cosmos/gov/v1/tx.d.ts +0 -44
- package/dist/cosmos/gov/v1/tx.js +0 -8
- package/dist/cosmos/gov/v1/tx.rpc.func.d.ts +0 -4
- package/dist/cosmos/gov/v1/tx.rpc.func.js +0 -4
- package/dist/cosmos/gov/v1beta1/gov.d.ts +0 -12
- package/dist/cosmos/gov/v1beta1/gov.js +0 -2
- package/dist/cosmos/gov/v1beta1/tx.d.ts +0 -16
- package/dist/cosmos/gov/v1beta1/tx.js +0 -4
- package/dist/cosmos/gov/v1beta1/tx.rpc.func.d.ts +0 -2
- package/dist/cosmos/gov/v1beta1/tx.rpc.func.js +0 -2
- package/dist/cosmos/lcd.d.ts +0 -3
- package/dist/cosmos/lcd.js +0 -5
- package/dist/cosmos/mint/v1beta1/tx.d.ts +0 -16
- package/dist/cosmos/mint/v1beta1/tx.js +0 -4
- package/dist/cosmos/mint/v1beta1/tx.rpc.func.d.ts +0 -2
- package/dist/cosmos/mint/v1beta1/tx.rpc.func.js +0 -2
- package/dist/cosmos/params/v1beta1/query.d.ts +0 -24
- package/dist/cosmos/params/v1beta1/query.js +0 -6
- package/dist/cosmos/params/v1beta1/query.lcd.js +1 -3
- package/dist/cosmos/params/v1beta1/query.rpc.func.d.ts +0 -2
- package/dist/cosmos/params/v1beta1/query.rpc.func.js +0 -2
- package/dist/cosmos/staking/v1beta1/authz.d.ts +1 -13
- package/dist/cosmos/staking/v1beta1/authz.js +1 -7
- package/dist/cosmos/staking/v1beta1/staking.d.ts +0 -4
- package/dist/cosmos/staking/v1beta1/tx.d.ts +0 -36
- package/dist/cosmos/staking/v1beta1/tx.js +0 -8
- package/dist/cosmos/staking/v1beta1/tx.rpc.func.d.ts +0 -3
- package/dist/cosmos/staking/v1beta1/tx.rpc.func.js +0 -3
- package/dist/cosmos/store/snapshots/v1/snapshot.d.ts +0 -40
- package/dist/cosmos/store/snapshots/v1/snapshot.js +0 -10
- package/dist/cosmos/store/v1beta1/listening.d.ts +0 -8
- package/dist/cosmos/store/v1beta1/listening.js +0 -2
- package/dist/cosmos/tx/v1beta1/service.d.ts +0 -88
- package/dist/cosmos/tx/v1beta1/service.js +0 -20
- package/dist/cosmos/tx/v1beta1/service.lcd.js +1 -3
- package/dist/cosmos/tx/v1beta1/service.rpc.func.d.ts +0 -10
- package/dist/cosmos/tx/v1beta1/service.rpc.func.js +0 -10
- package/dist/cosmos/tx/v1beta1/tx.d.ts +76 -46
- package/dist/cosmos/tx/v1beta1/tx.js +28 -9
- package/dist/cosmos/upgrade/v1beta1/query.d.ts +0 -38
- package/dist/cosmos/upgrade/v1beta1/query.js +0 -8
- package/dist/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
- package/dist/cosmos/upgrade/v1beta1/query.rpc.func.d.ts +0 -4
- package/dist/cosmos/upgrade/v1beta1/query.rpc.func.js +0 -4
- package/dist/cosmos/upgrade/v1beta1/tx.d.ts +0 -32
- package/dist/cosmos/upgrade/v1beta1/tx.js +0 -8
- package/dist/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +0 -4
- package/dist/cosmos/upgrade/v1beta1/tx.rpc.func.js +0 -4
- package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -8
- package/dist/cosmos/upgrade/v1beta1/upgrade.js +0 -2
- package/dist/cosmos/vesting/v1beta1/tx.d.ts +0 -32
- package/dist/cosmos/vesting/v1beta1/tx.js +0 -8
- package/dist/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +0 -4
- package/dist/cosmos/vesting/v1beta1/tx.rpc.func.js +0 -4
- package/dist/cosmos/vesting/v1beta1/vesting.d.ts +0 -8
- package/dist/cosmos/vesting/v1beta1/vesting.js +0 -2
- package/dist/cosmos_proto/bundle.d.ts +30 -30
- package/dist/cosmos_proto/bundle.js +2 -2
- package/dist/esm/bze/bundle.js +144 -93
- package/dist/esm/bze/burner/burned_coins.js +91 -0
- package/dist/esm/bze/burner/genesis.js +21 -5
- package/dist/esm/bze/burner/params.js +29 -4
- package/dist/esm/bze/dao/events.js +1837 -0
- package/dist/esm/bze/dao/genesis.js +432 -0
- package/dist/esm/{cosmos/orm/module/v1alpha1 → bze/dao/module}/module.js +27 -23
- package/dist/esm/bze/dao/params.js +265 -0
- package/dist/esm/bze/dao/query.js +2363 -0
- package/dist/esm/bze/dao/query.lcd.js +121 -0
- package/dist/esm/bze/dao/query.rpc.func.js +162 -0
- package/dist/esm/bze/dao/store.js +1533 -0
- package/dist/esm/bze/dao/tx.js +2820 -0
- package/dist/esm/bze/dao/tx.registry.js +280 -0
- package/dist/esm/bze/dao/tx.rpc.func.js +156 -0
- package/dist/esm/bze/guardian/module/module.js +81 -0
- package/dist/esm/bze/guardian/v1/events.js +982 -0
- package/dist/esm/bze/guardian/v1/genesis.js +115 -0
- package/dist/esm/bze/guardian/v1/params.js +88 -0
- package/dist/esm/bze/guardian/v1/query.js +595 -0
- package/dist/esm/bze/guardian/v1/query.lcd.js +30 -0
- package/dist/esm/bze/guardian/v1/query.rpc.func.js +55 -0
- package/dist/esm/bze/guardian/v1/tx.js +1867 -0
- package/dist/esm/bze/guardian/v1/tx.registry.js +208 -0
- package/dist/esm/bze/guardian/v1/tx.rpc.func.js +115 -0
- package/dist/esm/bze/lcd.js +8 -5
- package/dist/esm/bze/rewards/events.js +108 -4
- package/dist/esm/bze/tokenfactory/denom_authority.js +16 -4
- package/dist/esm/bze/tokenfactory/denom_config.js +108 -0
- package/dist/esm/bze/tokenfactory/events.js +206 -0
- package/dist/esm/bze/tokenfactory/genesis.js +15 -1
- package/dist/esm/bze/tokenfactory/query.js +162 -0
- package/dist/esm/bze/tokenfactory/query.lcd.js +12 -0
- package/dist/esm/bze/tokenfactory/query.rpc.func.js +14 -1
- package/dist/esm/bze/tokenfactory/tx.js +541 -0
- package/dist/esm/bze/tokenfactory/tx.registry.js +56 -2
- package/dist/esm/bze/tokenfactory/tx.rpc.func.js +31 -1
- package/dist/esm/bze/tradebin/events.js +508 -320
- package/dist/esm/bze/tradebin/genesis.js +4 -20
- package/dist/esm/bze/tradebin/query.js +169 -0
- package/dist/esm/bze/tradebin/query.lcd.js +13 -0
- package/dist/esm/bze/tradebin/query.rpc.func.js +15 -1
- package/dist/esm/bze/tradebin/store.js +119 -178
- package/dist/esm/bze/tradebin/tx.js +285 -0
- package/dist/esm/bze/tradebin/tx.registry.js +20 -2
- package/dist/esm/bze/tradebin/tx.rpc.func.js +10 -1
- package/dist/esm/bze/tradebin/v2/params.js +61 -36
- package/dist/esm/bze/txfeecollector/events.js +221 -0
- package/dist/esm/cosmos/app/runtime/v1alpha1/module.js +34 -4
- package/dist/esm/cosmos/auth/module/v1/module.js +16 -4
- package/dist/esm/cosmos/auth/v1beta1/auth.js +0 -2
- package/dist/esm/cosmos/auth/v1beta1/query.js +0 -28
- package/dist/esm/cosmos/auth/v1beta1/query.lcd.js +7 -21
- package/dist/esm/cosmos/auth/v1beta1/query.rpc.func.js +0 -14
- package/dist/esm/cosmos/auth/v1beta1/tx.js +0 -4
- package/dist/esm/cosmos/auth/v1beta1/tx.rpc.func.js +0 -2
- package/dist/esm/cosmos/authz/v1beta1/query.lcd.js +2 -6
- package/dist/esm/cosmos/authz/v1beta1/query.rpc.func.js +0 -4
- package/dist/esm/cosmos/bank/v1beta1/authz.js +0 -2
- package/dist/esm/cosmos/bank/v1beta1/query.js +0 -20
- package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +29 -30
- package/dist/esm/cosmos/bank/v1beta1/query.rpc.func.js +15 -25
- package/dist/esm/cosmos/bank/v1beta1/tx.js +0 -8
- package/dist/esm/cosmos/bank/v1beta1/tx.rpc.func.js +0 -4
- package/dist/esm/cosmos/base/tendermint/v1beta1/query.lcd.js +1 -3
- package/dist/esm/cosmos/base/tendermint/v1beta1/query.rpc.func.js +0 -2
- package/dist/esm/cosmos/bundle.js +366 -415
- package/dist/esm/cosmos/consensus/v1/tx.rpc.func.js +0 -2
- package/dist/esm/cosmos/distribution/v1beta1/query.lcd.js +3 -1
- package/dist/esm/cosmos/distribution/v1beta1/query.rpc.func.js +2 -0
- package/dist/esm/cosmos/distribution/v1beta1/tx.js +0 -12
- package/dist/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +3 -5
- package/dist/esm/cosmos/feegrant/v1beta1/query.js +0 -4
- package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
- package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.func.js +0 -2
- package/dist/esm/cosmos/feegrant/v1beta1/tx.js +0 -4
- package/dist/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +0 -2
- package/dist/esm/cosmos/gov/v1/gov.js +0 -2
- package/dist/esm/cosmos/gov/v1/tx.js +0 -8
- package/dist/esm/cosmos/gov/v1/tx.rpc.func.js +0 -4
- package/dist/esm/cosmos/gov/v1beta1/gov.js +0 -2
- package/dist/esm/cosmos/gov/v1beta1/tx.js +0 -4
- package/dist/esm/cosmos/gov/v1beta1/tx.rpc.func.js +0 -2
- package/dist/esm/cosmos/lcd.js +0 -5
- package/dist/esm/cosmos/mint/v1beta1/tx.js +0 -4
- package/dist/esm/cosmos/mint/v1beta1/tx.rpc.func.js +0 -2
- package/dist/esm/cosmos/params/v1beta1/query.js +0 -6
- package/dist/esm/cosmos/params/v1beta1/query.lcd.js +1 -3
- package/dist/esm/cosmos/params/v1beta1/query.rpc.func.js +0 -2
- package/dist/esm/cosmos/staking/v1beta1/authz.js +1 -7
- package/dist/esm/cosmos/staking/v1beta1/tx.js +0 -8
- package/dist/esm/cosmos/staking/v1beta1/tx.rpc.func.js +0 -3
- package/dist/esm/cosmos/store/snapshots/v1/snapshot.js +0 -10
- package/dist/esm/cosmos/store/v1beta1/listening.js +0 -2
- package/dist/esm/cosmos/tx/v1beta1/service.js +0 -20
- package/dist/esm/cosmos/tx/v1beta1/service.lcd.js +1 -3
- package/dist/esm/cosmos/tx/v1beta1/service.rpc.func.js +0 -10
- package/dist/esm/cosmos/tx/v1beta1/tx.js +29 -10
- package/dist/esm/cosmos/upgrade/v1beta1/query.js +0 -8
- package/dist/esm/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
- package/dist/esm/cosmos/upgrade/v1beta1/query.rpc.func.js +0 -4
- package/dist/esm/cosmos/upgrade/v1beta1/tx.js +0 -8
- package/dist/esm/cosmos/upgrade/v1beta1/tx.rpc.func.js +0 -4
- package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +0 -2
- package/dist/esm/cosmos/vesting/v1beta1/tx.js +0 -8
- package/dist/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +0 -4
- package/dist/esm/cosmos/vesting/v1beta1/vesting.js +0 -2
- package/dist/esm/cosmos_proto/bundle.js +2 -2
- package/dist/esm/gogoproto/bundle.js +2 -2
- package/dist/esm/google/bundle.js +8 -8
- package/dist/esm/ibc/applications/transfer/v1/tx.js +4 -16
- package/dist/esm/ibc/bundle.js +93 -121
- package/dist/esm/ibc/core/client/v1/tx.js +187 -0
- package/dist/esm/ibc/core/client/v1/tx.registry.js +20 -2
- package/dist/esm/ibc/core/client/v1/tx.rpc.func.js +10 -1
- package/dist/esm/ibc/lcd.js +0 -10
- package/dist/esm/ibc/lightclients/wasm/v1/wasm.js +93 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/ratelimit/bundle.js +35 -0
- package/dist/esm/ratelimit/lcd.js +106 -0
- package/dist/esm/ratelimit/module/v1/module.js +81 -0
- package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/genesis.js +49 -27
- package/dist/esm/ratelimit/v1/params.js +68 -0
- package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/query.js +105 -195
- package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/query.lcd.js +10 -10
- package/dist/esm/ratelimit/v1/query.rpc.func.js +83 -0
- package/dist/esm/{ibc/applications/rate_limiting/v1/rate_limiting.js → ratelimit/v1/ratelimit.js} +29 -73
- package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/tx.js +77 -109
- package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/tx.registry.js +13 -13
- package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/tx.rpc.func.js +9 -9
- package/dist/esm/tendermint/bundle.js +20 -20
- package/dist/gogoproto/bundle.js +2 -2
- package/dist/google/bundle.d.ts +550 -550
- package/dist/google/bundle.js +8 -8
- package/dist/ibc/applications/transfer/v1/tx.d.ts +0 -19
- package/dist/ibc/applications/transfer/v1/tx.js +4 -16
- package/dist/ibc/bundle.d.ts +506 -1065
- package/dist/ibc/bundle.js +93 -121
- package/dist/ibc/core/client/v1/tx.d.ts +155 -0
- package/dist/ibc/core/client/v1/tx.js +188 -1
- package/dist/ibc/core/client/v1/tx.registry.d.ts +13 -1
- package/dist/ibc/core/client/v1/tx.registry.js +19 -1
- package/dist/ibc/core/client/v1/tx.rpc.func.d.ts +8 -1
- package/dist/ibc/core/client/v1/tx.rpc.func.js +10 -1
- package/dist/ibc/lcd.d.ts +0 -6
- package/dist/ibc/lcd.js +0 -10
- package/dist/ibc/lightclients/wasm/v1/wasm.d.ts +75 -0
- package/dist/ibc/lightclients/wasm/v1/wasm.js +94 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/ratelimit/bundle.d.ts +625 -0
- package/dist/ratelimit/bundle.js +71 -0
- package/dist/ratelimit/lcd.d.ts +63 -0
- package/dist/ratelimit/lcd.js +143 -0
- package/dist/ratelimit/module/v1/module.d.ts +64 -0
- package/dist/ratelimit/module/v1/module.js +84 -0
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/genesis.d.ts +19 -14
- package/dist/ratelimit/v1/genesis.js +182 -0
- package/dist/ratelimit/v1/params.d.ts +55 -0
- package/dist/ratelimit/v1/params.js +71 -0
- package/dist/ratelimit/v1/query.d.ts +656 -0
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/query.js +142 -232
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/query.lcd.d.ts +3 -3
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/query.lcd.js +10 -10
- package/dist/ratelimit/v1/query.rpc.func.d.ts +45 -0
- package/dist/ratelimit/v1/query.rpc.func.js +86 -0
- package/dist/{ibc/applications/rate_limiting/v1/rate_limiting.d.ts → ratelimit/v1/ratelimit.d.ts} +62 -82
- package/dist/{ibc/applications/rate_limiting/v1/rate_limiting.js → ratelimit/v1/ratelimit.js} +29 -73
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.d.ts +97 -121
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.js +77 -109
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.registry.d.ts +1 -1
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.registry.js +13 -13
- package/dist/ratelimit/v1/tx.rpc.func.d.ts +29 -0
- package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.rpc.func.js +9 -9
- package/dist/tendermint/bundle.d.ts +1120 -1120
- package/dist/tendermint/bundle.js +20 -20
- package/package.json +10 -5
- package/dist/cosmos/group/module/v1/module.d.ts +0 -80
- package/dist/cosmos/group/module/v1/module.js +0 -104
- package/dist/cosmos/group/v1/events.d.ts +0 -771
- package/dist/cosmos/group/v1/events.js +0 -1031
- package/dist/cosmos/group/v1/genesis.d.ts +0 -136
- package/dist/cosmos/group/v1/genesis.js +0 -201
- package/dist/cosmos/group/v1/query.d.ts +0 -2001
- package/dist/cosmos/group/v1/query.js +0 -2787
- package/dist/cosmos/group/v1/query.lcd.d.ts +0 -22
- package/dist/cosmos/group/v1/query.lcd.js +0 -158
- package/dist/cosmos/group/v1/query.rpc.func.d.ts +0 -105
- package/dist/cosmos/group/v1/query.rpc.func.js +0 -194
- package/dist/cosmos/group/v1/tx.d.ts +0 -2124
- package/dist/cosmos/group/v1/tx.js +0 -2821
- package/dist/cosmos/group/v1/tx.registry.d.ts +0 -179
- package/dist/cosmos/group/v1/tx.registry.js +0 -265
- package/dist/cosmos/group/v1/tx.rpc.func.d.ts +0 -99
- package/dist/cosmos/group/v1/tx.rpc.func.js +0 -132
- package/dist/cosmos/group/v1/types.d.ts +0 -1297
- package/dist/cosmos/group/v1/types.js +0 -1677
- package/dist/cosmos/orm/module/v1alpha1/module.d.ts +0 -65
- package/dist/cosmos/orm/query/v1alpha1/query.d.ts +0 -622
- package/dist/cosmos/orm/query/v1alpha1/query.js +0 -835
- package/dist/cosmos/orm/query/v1alpha1/query.rpc.func.d.ts +0 -15
- package/dist/cosmos/orm/query/v1alpha1/query.rpc.func.js +0 -32
- package/dist/esm/cosmos/group/module/v1/module.js +0 -101
- package/dist/esm/cosmos/group/v1/events.js +0 -1028
- package/dist/esm/cosmos/group/v1/genesis.js +0 -198
- package/dist/esm/cosmos/group/v1/query.js +0 -2784
- package/dist/esm/cosmos/group/v1/query.lcd.js +0 -154
- package/dist/esm/cosmos/group/v1/query.rpc.func.js +0 -191
- package/dist/esm/cosmos/group/v1/tx.js +0 -2816
- package/dist/esm/cosmos/group/v1/tx.registry.js +0 -262
- package/dist/esm/cosmos/group/v1/tx.rpc.func.js +0 -129
- package/dist/esm/cosmos/group/v1/types.js +0 -1668
- package/dist/esm/cosmos/orm/query/v1alpha1/query.js +0 -832
- package/dist/esm/cosmos/orm/query/v1alpha1/query.rpc.func.js +0 -29
- package/dist/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +0 -409
- package/dist/esm/ibc/applications/rate_limiting/v1/query.rpc.func.js +0 -83
- package/dist/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +0 -225
- package/dist/ibc/applications/packet_forward_middleware/v1/genesis.js +0 -412
- package/dist/ibc/applications/rate_limiting/v1/genesis.js +0 -160
- package/dist/ibc/applications/rate_limiting/v1/query.d.ts +0 -704
- package/dist/ibc/applications/rate_limiting/v1/query.rpc.func.d.ts +0 -45
- package/dist/ibc/applications/rate_limiting/v1/query.rpc.func.js +0 -86
- package/dist/ibc/applications/rate_limiting/v1/tx.rpc.func.d.ts +0 -29
|
@@ -14,12 +14,32 @@ export interface Params {
|
|
|
14
14
|
makerFeeDestination: string;
|
|
15
15
|
takerFeeDestination: string;
|
|
16
16
|
nativeDenom: string;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
/**
|
|
18
|
+
* number of distinct owners a price level holds before a new owner joining it pays extra gas
|
|
19
|
+
*/
|
|
20
|
+
priceLevelOwnersWindow: bigint;
|
|
21
|
+
/**
|
|
22
|
+
* extra gas per owner above priceLevelOwnersWindow, paid by a new owner joining the price level
|
|
23
|
+
*/
|
|
24
|
+
priceLevelExtraGas: bigint;
|
|
19
25
|
fillOrdersExtraGas: bigint;
|
|
20
26
|
minNativeLiquidityForModuleSwap: string;
|
|
21
|
-
|
|
22
|
-
|
|
27
|
+
/**
|
|
28
|
+
* maximum number of resting orders one order examines (filled or skipped); the remainder is refunded
|
|
29
|
+
*/
|
|
30
|
+
maxFillsPerOrder: bigint;
|
|
31
|
+
/**
|
|
32
|
+
* half-life, in blocks, of the moving average of each pool's price
|
|
33
|
+
*/
|
|
34
|
+
poolPriceHalfLifeBlocks: bigint;
|
|
35
|
+
/**
|
|
36
|
+
* largest relative distance between a pool's price and its moving average accepted for the fees users pay
|
|
37
|
+
*/
|
|
38
|
+
feeMaxPriceDrift: string;
|
|
39
|
+
/**
|
|
40
|
+
* largest relative distance between a pool's price and its moving average accepted for module operations
|
|
41
|
+
*/
|
|
42
|
+
moduleMaxPriceDrift: string;
|
|
23
43
|
}
|
|
24
44
|
export interface ParamsProtoMsg {
|
|
25
45
|
typeUrl: "/bze.tradebin.v2.Params";
|
|
@@ -39,12 +59,32 @@ export interface ParamsAmino {
|
|
|
39
59
|
makerFeeDestination?: string;
|
|
40
60
|
takerFeeDestination?: string;
|
|
41
61
|
native_denom?: string;
|
|
42
|
-
|
|
43
|
-
|
|
62
|
+
/**
|
|
63
|
+
* number of distinct owners a price level holds before a new owner joining it pays extra gas
|
|
64
|
+
*/
|
|
65
|
+
priceLevelOwnersWindow?: string;
|
|
66
|
+
/**
|
|
67
|
+
* extra gas per owner above priceLevelOwnersWindow, paid by a new owner joining the price level
|
|
68
|
+
*/
|
|
69
|
+
priceLevelExtraGas?: string;
|
|
44
70
|
fillOrdersExtraGas?: string;
|
|
45
71
|
minNativeLiquidityForModuleSwap?: string;
|
|
46
|
-
|
|
47
|
-
|
|
72
|
+
/**
|
|
73
|
+
* maximum number of resting orders one order examines (filled or skipped); the remainder is refunded
|
|
74
|
+
*/
|
|
75
|
+
maxFillsPerOrder?: string;
|
|
76
|
+
/**
|
|
77
|
+
* half-life, in blocks, of the moving average of each pool's price
|
|
78
|
+
*/
|
|
79
|
+
poolPriceHalfLifeBlocks?: string;
|
|
80
|
+
/**
|
|
81
|
+
* largest relative distance between a pool's price and its moving average accepted for the fees users pay
|
|
82
|
+
*/
|
|
83
|
+
feeMaxPriceDrift?: string;
|
|
84
|
+
/**
|
|
85
|
+
* largest relative distance between a pool's price and its moving average accepted for module operations
|
|
86
|
+
*/
|
|
87
|
+
moduleMaxPriceDrift?: string;
|
|
48
88
|
}
|
|
49
89
|
export interface ParamsAminoMsg {
|
|
50
90
|
type: "/bze.tradebin.v2.Params";
|
|
@@ -64,12 +104,14 @@ export interface ParamsSDKType {
|
|
|
64
104
|
makerFeeDestination: string;
|
|
65
105
|
takerFeeDestination: string;
|
|
66
106
|
native_denom: string;
|
|
67
|
-
|
|
68
|
-
|
|
107
|
+
priceLevelOwnersWindow: bigint;
|
|
108
|
+
priceLevelExtraGas: bigint;
|
|
69
109
|
fillOrdersExtraGas: bigint;
|
|
70
110
|
minNativeLiquidityForModuleSwap: string;
|
|
71
|
-
|
|
72
|
-
|
|
111
|
+
maxFillsPerOrder: bigint;
|
|
112
|
+
poolPriceHalfLifeBlocks: bigint;
|
|
113
|
+
feeMaxPriceDrift: string;
|
|
114
|
+
moduleMaxPriceDrift: string;
|
|
73
115
|
}
|
|
74
116
|
/**
|
|
75
117
|
* Params defines the parameters for the module with proper types
|
|
@@ -5,6 +5,7 @@ exports.Params = void 0;
|
|
|
5
5
|
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
6
6
|
const binary_1 = require("../../../binary");
|
|
7
7
|
const registry_1 = require("../../../registry");
|
|
8
|
+
const math_1 = require("@interchainjs/math");
|
|
8
9
|
function createBaseParams() {
|
|
9
10
|
return {
|
|
10
11
|
createMarketFee: coin_1.Coin.fromPartial({}),
|
|
@@ -13,12 +14,14 @@ function createBaseParams() {
|
|
|
13
14
|
makerFeeDestination: "",
|
|
14
15
|
takerFeeDestination: "",
|
|
15
16
|
nativeDenom: "",
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
priceLevelOwnersWindow: BigInt(0),
|
|
18
|
+
priceLevelExtraGas: BigInt(0),
|
|
18
19
|
fillOrdersExtraGas: BigInt(0),
|
|
19
20
|
minNativeLiquidityForModuleSwap: "",
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
maxFillsPerOrder: BigInt(0),
|
|
22
|
+
poolPriceHalfLifeBlocks: BigInt(0),
|
|
23
|
+
feeMaxPriceDrift: "",
|
|
24
|
+
moduleMaxPriceDrift: ""
|
|
22
25
|
};
|
|
23
26
|
}
|
|
24
27
|
/**
|
|
@@ -31,13 +34,13 @@ function createBaseParams() {
|
|
|
31
34
|
exports.Params = {
|
|
32
35
|
typeUrl: "/bze.tradebin.v2.Params",
|
|
33
36
|
is(o) {
|
|
34
|
-
return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.is(o.createMarketFee) && coin_1.Coin.is(o.marketMakerFee) && coin_1.Coin.is(o.marketTakerFee) && typeof o.makerFeeDestination === "string" && typeof o.takerFeeDestination === "string" && typeof o.nativeDenom === "string" && typeof o.
|
|
37
|
+
return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.is(o.createMarketFee) && coin_1.Coin.is(o.marketMakerFee) && coin_1.Coin.is(o.marketTakerFee) && typeof o.makerFeeDestination === "string" && typeof o.takerFeeDestination === "string" && typeof o.nativeDenom === "string" && typeof o.priceLevelOwnersWindow === "bigint" && typeof o.priceLevelExtraGas === "bigint" && typeof o.fillOrdersExtraGas === "bigint" && typeof o.minNativeLiquidityForModuleSwap === "string" && typeof o.maxFillsPerOrder === "bigint" && typeof o.poolPriceHalfLifeBlocks === "bigint" && typeof o.feeMaxPriceDrift === "string" && typeof o.moduleMaxPriceDrift === "string");
|
|
35
38
|
},
|
|
36
39
|
isSDK(o) {
|
|
37
|
-
return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.isSDK(o.createMarketFee) && coin_1.Coin.isSDK(o.marketMakerFee) && coin_1.Coin.isSDK(o.marketTakerFee) && typeof o.makerFeeDestination === "string" && typeof o.takerFeeDestination === "string" && typeof o.native_denom === "string" && typeof o.
|
|
40
|
+
return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.isSDK(o.createMarketFee) && coin_1.Coin.isSDK(o.marketMakerFee) && coin_1.Coin.isSDK(o.marketTakerFee) && typeof o.makerFeeDestination === "string" && typeof o.takerFeeDestination === "string" && typeof o.native_denom === "string" && typeof o.priceLevelOwnersWindow === "bigint" && typeof o.priceLevelExtraGas === "bigint" && typeof o.fillOrdersExtraGas === "bigint" && typeof o.minNativeLiquidityForModuleSwap === "string" && typeof o.maxFillsPerOrder === "bigint" && typeof o.poolPriceHalfLifeBlocks === "bigint" && typeof o.feeMaxPriceDrift === "string" && typeof o.moduleMaxPriceDrift === "string");
|
|
38
41
|
},
|
|
39
42
|
isAmino(o) {
|
|
40
|
-
return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.isAmino(o.createMarketFee) && coin_1.Coin.isAmino(o.marketMakerFee) && coin_1.Coin.isAmino(o.marketTakerFee) && typeof o.makerFeeDestination === "string" && typeof o.takerFeeDestination === "string" && typeof o.native_denom === "string" && typeof o.
|
|
43
|
+
return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.isAmino(o.createMarketFee) && coin_1.Coin.isAmino(o.marketMakerFee) && coin_1.Coin.isAmino(o.marketTakerFee) && typeof o.makerFeeDestination === "string" && typeof o.takerFeeDestination === "string" && typeof o.native_denom === "string" && typeof o.priceLevelOwnersWindow === "bigint" && typeof o.priceLevelExtraGas === "bigint" && typeof o.fillOrdersExtraGas === "bigint" && typeof o.minNativeLiquidityForModuleSwap === "string" && typeof o.maxFillsPerOrder === "bigint" && typeof o.poolPriceHalfLifeBlocks === "bigint" && typeof o.feeMaxPriceDrift === "string" && typeof o.moduleMaxPriceDrift === "string");
|
|
41
44
|
},
|
|
42
45
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
43
46
|
if (message.createMarketFee !== undefined) {
|
|
@@ -58,11 +61,11 @@ exports.Params = {
|
|
|
58
61
|
if (message.nativeDenom !== "") {
|
|
59
62
|
writer.uint32(50).string(message.nativeDenom);
|
|
60
63
|
}
|
|
61
|
-
if (message.
|
|
62
|
-
writer.uint32(56).uint64(message.
|
|
64
|
+
if (message.priceLevelOwnersWindow !== BigInt(0)) {
|
|
65
|
+
writer.uint32(56).uint64(message.priceLevelOwnersWindow);
|
|
63
66
|
}
|
|
64
|
-
if (message.
|
|
65
|
-
writer.uint32(64).uint64(message.
|
|
67
|
+
if (message.priceLevelExtraGas !== BigInt(0)) {
|
|
68
|
+
writer.uint32(64).uint64(message.priceLevelExtraGas);
|
|
66
69
|
}
|
|
67
70
|
if (message.fillOrdersExtraGas !== BigInt(0)) {
|
|
68
71
|
writer.uint32(72).uint64(message.fillOrdersExtraGas);
|
|
@@ -70,11 +73,17 @@ exports.Params = {
|
|
|
70
73
|
if (message.minNativeLiquidityForModuleSwap !== "") {
|
|
71
74
|
writer.uint32(82).string(message.minNativeLiquidityForModuleSwap);
|
|
72
75
|
}
|
|
73
|
-
if (message.
|
|
74
|
-
writer.uint32(88).uint64(message.
|
|
76
|
+
if (message.maxFillsPerOrder !== BigInt(0)) {
|
|
77
|
+
writer.uint32(88).uint64(message.maxFillsPerOrder);
|
|
75
78
|
}
|
|
76
|
-
if (message.
|
|
77
|
-
writer.uint32(
|
|
79
|
+
if (message.poolPriceHalfLifeBlocks !== BigInt(0)) {
|
|
80
|
+
writer.uint32(104).uint64(message.poolPriceHalfLifeBlocks);
|
|
81
|
+
}
|
|
82
|
+
if (message.feeMaxPriceDrift !== "") {
|
|
83
|
+
writer.uint32(114).string(math_1.Decimal.fromUserInput(message.feeMaxPriceDrift, 18).atomics);
|
|
84
|
+
}
|
|
85
|
+
if (message.moduleMaxPriceDrift !== "") {
|
|
86
|
+
writer.uint32(122).string(math_1.Decimal.fromUserInput(message.moduleMaxPriceDrift, 18).atomics);
|
|
78
87
|
}
|
|
79
88
|
return writer;
|
|
80
89
|
},
|
|
@@ -104,10 +113,10 @@ exports.Params = {
|
|
|
104
113
|
message.nativeDenom = reader.string();
|
|
105
114
|
break;
|
|
106
115
|
case 7:
|
|
107
|
-
message.
|
|
116
|
+
message.priceLevelOwnersWindow = reader.uint64();
|
|
108
117
|
break;
|
|
109
118
|
case 8:
|
|
110
|
-
message.
|
|
119
|
+
message.priceLevelExtraGas = reader.uint64();
|
|
111
120
|
break;
|
|
112
121
|
case 9:
|
|
113
122
|
message.fillOrdersExtraGas = reader.uint64();
|
|
@@ -116,10 +125,16 @@ exports.Params = {
|
|
|
116
125
|
message.minNativeLiquidityForModuleSwap = reader.string();
|
|
117
126
|
break;
|
|
118
127
|
case 11:
|
|
119
|
-
message.
|
|
128
|
+
message.maxFillsPerOrder = reader.uint64();
|
|
129
|
+
break;
|
|
130
|
+
case 13:
|
|
131
|
+
message.poolPriceHalfLifeBlocks = reader.uint64();
|
|
120
132
|
break;
|
|
121
|
-
case
|
|
122
|
-
message.
|
|
133
|
+
case 14:
|
|
134
|
+
message.feeMaxPriceDrift = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
135
|
+
break;
|
|
136
|
+
case 15:
|
|
137
|
+
message.moduleMaxPriceDrift = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
123
138
|
break;
|
|
124
139
|
default:
|
|
125
140
|
reader.skipType(tag & 7);
|
|
@@ -136,12 +151,14 @@ exports.Params = {
|
|
|
136
151
|
message.makerFeeDestination = object.makerFeeDestination ?? "";
|
|
137
152
|
message.takerFeeDestination = object.takerFeeDestination ?? "";
|
|
138
153
|
message.nativeDenom = object.nativeDenom ?? "";
|
|
139
|
-
message.
|
|
140
|
-
message.
|
|
154
|
+
message.priceLevelOwnersWindow = object.priceLevelOwnersWindow !== undefined && object.priceLevelOwnersWindow !== null ? BigInt(object.priceLevelOwnersWindow.toString()) : BigInt(0);
|
|
155
|
+
message.priceLevelExtraGas = object.priceLevelExtraGas !== undefined && object.priceLevelExtraGas !== null ? BigInt(object.priceLevelExtraGas.toString()) : BigInt(0);
|
|
141
156
|
message.fillOrdersExtraGas = object.fillOrdersExtraGas !== undefined && object.fillOrdersExtraGas !== null ? BigInt(object.fillOrdersExtraGas.toString()) : BigInt(0);
|
|
142
157
|
message.minNativeLiquidityForModuleSwap = object.minNativeLiquidityForModuleSwap ?? "";
|
|
143
|
-
message.
|
|
144
|
-
message.
|
|
158
|
+
message.maxFillsPerOrder = object.maxFillsPerOrder !== undefined && object.maxFillsPerOrder !== null ? BigInt(object.maxFillsPerOrder.toString()) : BigInt(0);
|
|
159
|
+
message.poolPriceHalfLifeBlocks = object.poolPriceHalfLifeBlocks !== undefined && object.poolPriceHalfLifeBlocks !== null ? BigInt(object.poolPriceHalfLifeBlocks.toString()) : BigInt(0);
|
|
160
|
+
message.feeMaxPriceDrift = object.feeMaxPriceDrift ?? "";
|
|
161
|
+
message.moduleMaxPriceDrift = object.moduleMaxPriceDrift ?? "";
|
|
145
162
|
return message;
|
|
146
163
|
},
|
|
147
164
|
fromAmino(object) {
|
|
@@ -164,11 +181,11 @@ exports.Params = {
|
|
|
164
181
|
if (object.native_denom !== undefined && object.native_denom !== null) {
|
|
165
182
|
message.nativeDenom = object.native_denom;
|
|
166
183
|
}
|
|
167
|
-
if (object.
|
|
168
|
-
message.
|
|
184
|
+
if (object.priceLevelOwnersWindow !== undefined && object.priceLevelOwnersWindow !== null) {
|
|
185
|
+
message.priceLevelOwnersWindow = BigInt(object.priceLevelOwnersWindow);
|
|
169
186
|
}
|
|
170
|
-
if (object.
|
|
171
|
-
message.
|
|
187
|
+
if (object.priceLevelExtraGas !== undefined && object.priceLevelExtraGas !== null) {
|
|
188
|
+
message.priceLevelExtraGas = BigInt(object.priceLevelExtraGas);
|
|
172
189
|
}
|
|
173
190
|
if (object.fillOrdersExtraGas !== undefined && object.fillOrdersExtraGas !== null) {
|
|
174
191
|
message.fillOrdersExtraGas = BigInt(object.fillOrdersExtraGas);
|
|
@@ -176,11 +193,17 @@ exports.Params = {
|
|
|
176
193
|
if (object.minNativeLiquidityForModuleSwap !== undefined && object.minNativeLiquidityForModuleSwap !== null) {
|
|
177
194
|
message.minNativeLiquidityForModuleSwap = object.minNativeLiquidityForModuleSwap;
|
|
178
195
|
}
|
|
179
|
-
if (object.
|
|
180
|
-
message.
|
|
196
|
+
if (object.maxFillsPerOrder !== undefined && object.maxFillsPerOrder !== null) {
|
|
197
|
+
message.maxFillsPerOrder = BigInt(object.maxFillsPerOrder);
|
|
198
|
+
}
|
|
199
|
+
if (object.poolPriceHalfLifeBlocks !== undefined && object.poolPriceHalfLifeBlocks !== null) {
|
|
200
|
+
message.poolPriceHalfLifeBlocks = BigInt(object.poolPriceHalfLifeBlocks);
|
|
201
|
+
}
|
|
202
|
+
if (object.feeMaxPriceDrift !== undefined && object.feeMaxPriceDrift !== null) {
|
|
203
|
+
message.feeMaxPriceDrift = object.feeMaxPriceDrift;
|
|
181
204
|
}
|
|
182
|
-
if (object.
|
|
183
|
-
message.
|
|
205
|
+
if (object.moduleMaxPriceDrift !== undefined && object.moduleMaxPriceDrift !== null) {
|
|
206
|
+
message.moduleMaxPriceDrift = object.moduleMaxPriceDrift;
|
|
184
207
|
}
|
|
185
208
|
return message;
|
|
186
209
|
},
|
|
@@ -192,12 +215,14 @@ exports.Params = {
|
|
|
192
215
|
obj.makerFeeDestination = message.makerFeeDestination === "" ? undefined : message.makerFeeDestination;
|
|
193
216
|
obj.takerFeeDestination = message.takerFeeDestination === "" ? undefined : message.takerFeeDestination;
|
|
194
217
|
obj.native_denom = message.nativeDenom === "" ? undefined : message.nativeDenom;
|
|
195
|
-
obj.
|
|
196
|
-
obj.
|
|
218
|
+
obj.priceLevelOwnersWindow = message.priceLevelOwnersWindow !== BigInt(0) ? message.priceLevelOwnersWindow?.toString() : undefined;
|
|
219
|
+
obj.priceLevelExtraGas = message.priceLevelExtraGas !== BigInt(0) ? message.priceLevelExtraGas?.toString() : undefined;
|
|
197
220
|
obj.fillOrdersExtraGas = message.fillOrdersExtraGas !== BigInt(0) ? message.fillOrdersExtraGas?.toString() : undefined;
|
|
198
221
|
obj.minNativeLiquidityForModuleSwap = message.minNativeLiquidityForModuleSwap === "" ? undefined : message.minNativeLiquidityForModuleSwap;
|
|
199
|
-
obj.
|
|
200
|
-
obj.
|
|
222
|
+
obj.maxFillsPerOrder = message.maxFillsPerOrder !== BigInt(0) ? message.maxFillsPerOrder?.toString() : undefined;
|
|
223
|
+
obj.poolPriceHalfLifeBlocks = message.poolPriceHalfLifeBlocks !== BigInt(0) ? message.poolPriceHalfLifeBlocks?.toString() : undefined;
|
|
224
|
+
obj.feeMaxPriceDrift = message.feeMaxPriceDrift === "" ? undefined : math_1.Decimal.fromUserInput(message.feeMaxPriceDrift, 18).atomics;
|
|
225
|
+
obj.moduleMaxPriceDrift = message.moduleMaxPriceDrift === "" ? undefined : math_1.Decimal.fromUserInput(message.moduleMaxPriceDrift, 18).atomics;
|
|
201
226
|
return obj;
|
|
202
227
|
},
|
|
203
228
|
fromAminoMsg(object) {
|
|
@@ -85,6 +85,144 @@ export interface BlockedIbcInboundEventSDKType {
|
|
|
85
85
|
sender: string;
|
|
86
86
|
receiver: string;
|
|
87
87
|
}
|
|
88
|
+
/**
|
|
89
|
+
* CommunityPoolFeePaidEvent is emitted at EndBlock for every coin the community pool fee collector forwards to the
|
|
90
|
+
* community pool set on the coin's denom (the factory token's DenomConfig), instead of converting it for the chain's
|
|
91
|
+
* community pool.
|
|
92
|
+
* @name CommunityPoolFeePaidEvent
|
|
93
|
+
* @package bze.txfeecollector
|
|
94
|
+
* @see proto type: bze.txfeecollector.CommunityPoolFeePaidEvent
|
|
95
|
+
*/
|
|
96
|
+
export interface CommunityPoolFeePaidEvent {
|
|
97
|
+
/**
|
|
98
|
+
* denom is the denomination of the forwarded coin.
|
|
99
|
+
*/
|
|
100
|
+
denom: string;
|
|
101
|
+
/**
|
|
102
|
+
* recipient is the denom's community pool address.
|
|
103
|
+
*/
|
|
104
|
+
recipient: string;
|
|
105
|
+
/**
|
|
106
|
+
* amount is the forwarded amount.
|
|
107
|
+
*/
|
|
108
|
+
amount: string;
|
|
109
|
+
}
|
|
110
|
+
export interface CommunityPoolFeePaidEventProtoMsg {
|
|
111
|
+
typeUrl: "/bze.txfeecollector.CommunityPoolFeePaidEvent";
|
|
112
|
+
value: Uint8Array;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* CommunityPoolFeePaidEvent is emitted at EndBlock for every coin the community pool fee collector forwards to the
|
|
116
|
+
* community pool set on the coin's denom (the factory token's DenomConfig), instead of converting it for the chain's
|
|
117
|
+
* community pool.
|
|
118
|
+
* @name CommunityPoolFeePaidEventAmino
|
|
119
|
+
* @package bze.txfeecollector
|
|
120
|
+
* @see proto type: bze.txfeecollector.CommunityPoolFeePaidEvent
|
|
121
|
+
*/
|
|
122
|
+
export interface CommunityPoolFeePaidEventAmino {
|
|
123
|
+
/**
|
|
124
|
+
* denom is the denomination of the forwarded coin.
|
|
125
|
+
*/
|
|
126
|
+
denom?: string;
|
|
127
|
+
/**
|
|
128
|
+
* recipient is the denom's community pool address.
|
|
129
|
+
*/
|
|
130
|
+
recipient?: string;
|
|
131
|
+
/**
|
|
132
|
+
* amount is the forwarded amount.
|
|
133
|
+
*/
|
|
134
|
+
amount?: string;
|
|
135
|
+
}
|
|
136
|
+
export interface CommunityPoolFeePaidEventAminoMsg {
|
|
137
|
+
type: "/bze.txfeecollector.CommunityPoolFeePaidEvent";
|
|
138
|
+
value: CommunityPoolFeePaidEventAmino;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* CommunityPoolFeePaidEvent is emitted at EndBlock for every coin the community pool fee collector forwards to the
|
|
142
|
+
* community pool set on the coin's denom (the factory token's DenomConfig), instead of converting it for the chain's
|
|
143
|
+
* community pool.
|
|
144
|
+
* @name CommunityPoolFeePaidEventSDKType
|
|
145
|
+
* @package bze.txfeecollector
|
|
146
|
+
* @see proto type: bze.txfeecollector.CommunityPoolFeePaidEvent
|
|
147
|
+
*/
|
|
148
|
+
export interface CommunityPoolFeePaidEventSDKType {
|
|
149
|
+
denom: string;
|
|
150
|
+
recipient: string;
|
|
151
|
+
amount: string;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* GasSurchargePaidEvent is emitted for every factory-token coin used to pay the tx fee when the token sets a gas
|
|
155
|
+
* surcharge. The amount is the part of the paid fee moved out of the fee collected for validators.
|
|
156
|
+
* @name GasSurchargePaidEvent
|
|
157
|
+
* @package bze.txfeecollector
|
|
158
|
+
* @see proto type: bze.txfeecollector.GasSurchargePaidEvent
|
|
159
|
+
*/
|
|
160
|
+
export interface GasSurchargePaidEvent {
|
|
161
|
+
/**
|
|
162
|
+
* payer is the account that paid the tx fee (the fee granter when one is set).
|
|
163
|
+
*/
|
|
164
|
+
payer: string;
|
|
165
|
+
/**
|
|
166
|
+
* denom is the denomination of the surcharge.
|
|
167
|
+
*/
|
|
168
|
+
denom: string;
|
|
169
|
+
/**
|
|
170
|
+
* amount is the surcharge amount.
|
|
171
|
+
*/
|
|
172
|
+
amount: string;
|
|
173
|
+
/**
|
|
174
|
+
* destination is the module account the surcharge went to: txfeecollector_cp when the token has a community pool
|
|
175
|
+
* (forwarded there at EndBlock), burner when it has none (the burner module burns it).
|
|
176
|
+
*/
|
|
177
|
+
destination: string;
|
|
178
|
+
}
|
|
179
|
+
export interface GasSurchargePaidEventProtoMsg {
|
|
180
|
+
typeUrl: "/bze.txfeecollector.GasSurchargePaidEvent";
|
|
181
|
+
value: Uint8Array;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* GasSurchargePaidEvent is emitted for every factory-token coin used to pay the tx fee when the token sets a gas
|
|
185
|
+
* surcharge. The amount is the part of the paid fee moved out of the fee collected for validators.
|
|
186
|
+
* @name GasSurchargePaidEventAmino
|
|
187
|
+
* @package bze.txfeecollector
|
|
188
|
+
* @see proto type: bze.txfeecollector.GasSurchargePaidEvent
|
|
189
|
+
*/
|
|
190
|
+
export interface GasSurchargePaidEventAmino {
|
|
191
|
+
/**
|
|
192
|
+
* payer is the account that paid the tx fee (the fee granter when one is set).
|
|
193
|
+
*/
|
|
194
|
+
payer?: string;
|
|
195
|
+
/**
|
|
196
|
+
* denom is the denomination of the surcharge.
|
|
197
|
+
*/
|
|
198
|
+
denom?: string;
|
|
199
|
+
/**
|
|
200
|
+
* amount is the surcharge amount.
|
|
201
|
+
*/
|
|
202
|
+
amount?: string;
|
|
203
|
+
/**
|
|
204
|
+
* destination is the module account the surcharge went to: txfeecollector_cp when the token has a community pool
|
|
205
|
+
* (forwarded there at EndBlock), burner when it has none (the burner module burns it).
|
|
206
|
+
*/
|
|
207
|
+
destination?: string;
|
|
208
|
+
}
|
|
209
|
+
export interface GasSurchargePaidEventAminoMsg {
|
|
210
|
+
type: "/bze.txfeecollector.GasSurchargePaidEvent";
|
|
211
|
+
value: GasSurchargePaidEventAmino;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* GasSurchargePaidEvent is emitted for every factory-token coin used to pay the tx fee when the token sets a gas
|
|
215
|
+
* surcharge. The amount is the part of the paid fee moved out of the fee collected for validators.
|
|
216
|
+
* @name GasSurchargePaidEventSDKType
|
|
217
|
+
* @package bze.txfeecollector
|
|
218
|
+
* @see proto type: bze.txfeecollector.GasSurchargePaidEvent
|
|
219
|
+
*/
|
|
220
|
+
export interface GasSurchargePaidEventSDKType {
|
|
221
|
+
payer: string;
|
|
222
|
+
denom: string;
|
|
223
|
+
amount: string;
|
|
224
|
+
destination: string;
|
|
225
|
+
}
|
|
88
226
|
/**
|
|
89
227
|
* BlockedIbcInboundEvent is emitted when an inbound ICS-20 packet is answered with an
|
|
90
228
|
* error acknowledgement because the (channel, base denom) pair it carries is listed in
|
|
@@ -110,3 +248,50 @@ export declare const BlockedIbcInboundEvent: {
|
|
|
110
248
|
toProtoMsg(message: BlockedIbcInboundEvent): BlockedIbcInboundEventProtoMsg;
|
|
111
249
|
registerTypeUrl(): void;
|
|
112
250
|
};
|
|
251
|
+
/**
|
|
252
|
+
* CommunityPoolFeePaidEvent is emitted at EndBlock for every coin the community pool fee collector forwards to the
|
|
253
|
+
* community pool set on the coin's denom (the factory token's DenomConfig), instead of converting it for the chain's
|
|
254
|
+
* community pool.
|
|
255
|
+
* @name CommunityPoolFeePaidEvent
|
|
256
|
+
* @package bze.txfeecollector
|
|
257
|
+
* @see proto type: bze.txfeecollector.CommunityPoolFeePaidEvent
|
|
258
|
+
*/
|
|
259
|
+
export declare const CommunityPoolFeePaidEvent: {
|
|
260
|
+
typeUrl: string;
|
|
261
|
+
is(o: any): o is CommunityPoolFeePaidEvent;
|
|
262
|
+
isSDK(o: any): o is CommunityPoolFeePaidEventSDKType;
|
|
263
|
+
isAmino(o: any): o is CommunityPoolFeePaidEventAmino;
|
|
264
|
+
encode(message: CommunityPoolFeePaidEvent, writer?: BinaryWriter): BinaryWriter;
|
|
265
|
+
decode(input: BinaryReader | Uint8Array, length?: number): CommunityPoolFeePaidEvent;
|
|
266
|
+
fromPartial(object: Partial<CommunityPoolFeePaidEvent>): CommunityPoolFeePaidEvent;
|
|
267
|
+
fromAmino(object: CommunityPoolFeePaidEventAmino): CommunityPoolFeePaidEvent;
|
|
268
|
+
toAmino(message: CommunityPoolFeePaidEvent): CommunityPoolFeePaidEventAmino;
|
|
269
|
+
fromAminoMsg(object: CommunityPoolFeePaidEventAminoMsg): CommunityPoolFeePaidEvent;
|
|
270
|
+
fromProtoMsg(message: CommunityPoolFeePaidEventProtoMsg): CommunityPoolFeePaidEvent;
|
|
271
|
+
toProto(message: CommunityPoolFeePaidEvent): Uint8Array;
|
|
272
|
+
toProtoMsg(message: CommunityPoolFeePaidEvent): CommunityPoolFeePaidEventProtoMsg;
|
|
273
|
+
registerTypeUrl(): void;
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* GasSurchargePaidEvent is emitted for every factory-token coin used to pay the tx fee when the token sets a gas
|
|
277
|
+
* surcharge. The amount is the part of the paid fee moved out of the fee collected for validators.
|
|
278
|
+
* @name GasSurchargePaidEvent
|
|
279
|
+
* @package bze.txfeecollector
|
|
280
|
+
* @see proto type: bze.txfeecollector.GasSurchargePaidEvent
|
|
281
|
+
*/
|
|
282
|
+
export declare const GasSurchargePaidEvent: {
|
|
283
|
+
typeUrl: string;
|
|
284
|
+
is(o: any): o is GasSurchargePaidEvent;
|
|
285
|
+
isSDK(o: any): o is GasSurchargePaidEventSDKType;
|
|
286
|
+
isAmino(o: any): o is GasSurchargePaidEventAmino;
|
|
287
|
+
encode(message: GasSurchargePaidEvent, writer?: BinaryWriter): BinaryWriter;
|
|
288
|
+
decode(input: BinaryReader | Uint8Array, length?: number): GasSurchargePaidEvent;
|
|
289
|
+
fromPartial(object: Partial<GasSurchargePaidEvent>): GasSurchargePaidEvent;
|
|
290
|
+
fromAmino(object: GasSurchargePaidEventAmino): GasSurchargePaidEvent;
|
|
291
|
+
toAmino(message: GasSurchargePaidEvent): GasSurchargePaidEventAmino;
|
|
292
|
+
fromAminoMsg(object: GasSurchargePaidEventAminoMsg): GasSurchargePaidEvent;
|
|
293
|
+
fromProtoMsg(message: GasSurchargePaidEventProtoMsg): GasSurchargePaidEvent;
|
|
294
|
+
toProto(message: GasSurchargePaidEvent): Uint8Array;
|
|
295
|
+
toProtoMsg(message: GasSurchargePaidEvent): GasSurchargePaidEventProtoMsg;
|
|
296
|
+
registerTypeUrl(): void;
|
|
297
|
+
};
|