@@ -6841,7 +6841,18 @@ export type PalletOmnipoolCall =
68416841 *
68426842 * Emits `TokenRemoved` event when successful.
68436843 **/
6844- | { name: 'RemoveToken'; params: { assetId: number; beneficiary: AccountId32 } };
6844+ | { name: 'RemoveToken'; params: { assetId: number; beneficiary: AccountId32 } }
6845+ /**
6846+ * Set or clear slip fee configuration.
6847+ *
6848+ * When set to `Some(config)`, slip fees are enabled with the given parameters.
6849+ * When set to `None`, slip fees are disabled.
6850+ *
6851+ * Can only be called by `UpdateTradabilityOrigin`.
6852+ *
6853+ * Emits `SlipFeeSet` event.
6854+ **/
6855+ | { name: 'SetSlipFee'; params: { slipFee?: PalletOmnipoolSlipFeeConfig | undefined } };
68456856
68466857export type PalletOmnipoolCallLike =
68476858 /**
@@ -7099,10 +7110,23 @@ export type PalletOmnipoolCallLike =
70997110 *
71007111 * Emits `TokenRemoved` event when successful.
71017112 **/
7102- | { name: 'RemoveToken'; params: { assetId: number; beneficiary: AccountId32Like } };
7113+ | { name: 'RemoveToken'; params: { assetId: number; beneficiary: AccountId32Like } }
7114+ /**
7115+ * Set or clear slip fee configuration.
7116+ *
7117+ * When set to `Some(config)`, slip fees are enabled with the given parameters.
7118+ * When set to `None`, slip fees are disabled.
7119+ *
7120+ * Can only be called by `UpdateTradabilityOrigin`.
7121+ *
7122+ * Emits `SlipFeeSet` event.
7123+ **/
7124+ | { name: 'SetSlipFee'; params: { slipFee?: PalletOmnipoolSlipFeeConfig | undefined } };
71037125
71047126export type PalletOmnipoolTradability = { bits: number };
71057127
7128+ export type PalletOmnipoolSlipFeeConfig = { maxSlipFee: Permill };
7129+
71067130/**
71077131 * Contains a variant per dispatchable extrinsic that this pallet has.
71087132 **/
@@ -8191,7 +8215,7 @@ export type PalletCircuitBreakerCall =
81918215 * Set the global withdraw limit (reference currency units)
81928216 * Can be called only by authority origin.
81938217 **/
8194- | { name: 'SetGlobalWithdrawLimit '; params: { limit: bigint } }
8218+ | { name: 'SetGlobalWithdrawLimitParams '; params: { parameters: PalletCircuitBreakerGlobalWithdrawLimitParameters } }
81958219 /**
81968220 * Reset the global lockdown and accumulator to zero at current block.
81978221 * Can be called only by authority origin.
@@ -8289,7 +8313,7 @@ export type PalletCircuitBreakerCallLike =
82898313 * Set the global withdraw limit (reference currency units)
82908314 * Can be called only by authority origin.
82918315 **/
8292- | { name: 'SetGlobalWithdrawLimit '; params: { limit: bigint } }
8316+ | { name: 'SetGlobalWithdrawLimitParams '; params: { parameters: PalletCircuitBreakerGlobalWithdrawLimitParameters } }
82938317 /**
82948318 * Reset the global lockdown and accumulator to zero at current block.
82958319 * Can be called only by authority origin.
@@ -8303,6 +8327,8 @@ export type PalletCircuitBreakerCallLike =
83038327 params: { assetId: number; category?: PalletCircuitBreakerGlobalAssetCategory | undefined };
83048328 };
83058329
8330+ export type PalletCircuitBreakerGlobalWithdrawLimitParameters = { limit: bigint; window: bigint };
8331+
83068332export type PalletCircuitBreakerGlobalAssetCategory = 'External' | 'Local';
83078333
83088334/**
@@ -14847,7 +14873,11 @@ export type PalletOmnipoolEvent =
1484714873 /**
1484814874 * Asset's weight cap has been updated.
1484914875 **/
14850- | { name: 'AssetWeightCapUpdated'; data: { assetId: number; cap: Permill } };
14876+ | { name: 'AssetWeightCapUpdated'; data: { assetId: number; cap: Permill } }
14877+ /**
14878+ * Slip fee configuration was updated.
14879+ **/
14880+ | { name: 'SlipFeeSet'; data: { slipFee?: PalletOmnipoolSlipFeeConfig | undefined } };
1485114881
1485214882/**
1485314883 * The `Event` enum of this pallet
@@ -15108,7 +15138,7 @@ export type PalletCircuitBreakerEvent =
1510815138 /**
1510915139 * Global limit value updated by governance (in reference currency).
1511015140 **/
15111- | { name: 'GlobalLimitUpdated '; data: { newLimit: bigint } }
15141+ | { name: 'GlobalWithdrawLimitConfigUpdated '; data: { newLimit: bigint; newPeriod : bigint } }
1511215142 /**
1511315143 * Global withdraw lockdown was set by governance.
1511415144 **/
@@ -18163,6 +18193,10 @@ export type PalletOmnipoolAssetState = {
1816318193
1816418194export type PalletOmnipoolPosition = { assetId: number; amount: bigint; shares: bigint; price: [bigint, bigint] };
1816518195
18196+ export type HydraDxMathOmnipoolTypesSignedBalance =
18197+ | { type: 'Positive'; value: bigint }
18198+ | { type: 'Negative'; value: bigint };
18199+
1816618200/**
1816718201 * The `Error` enum of this pallet.
1816818202 **/
@@ -18294,7 +18328,11 @@ export type PalletOmnipoolError =
1829418328 /**
1829518329 * Extra protocol fee has not been consumed.
1829618330 **/
18297- | 'ProtocolFeeNotConsumed';
18331+ | 'ProtocolFeeNotConsumed'
18332+ /**
18333+ * Slip fee configuration exceeds the allowed maximum (50%).
18334+ **/
18335+ | 'MaxSlipFeeTooHigh';
1829818336
1829918337/**
1830018338 * The `Error` enum of this pallet.
0 commit comments