This proposal moves to restore liquidity to the DOT x dotUSD pool on the Hub DEX, deploying the funds recovered after the October XCM incident gradually, autonomously and within a fixed price band.
This proposal follows Referendum 1944, which launched dotUSD and seeded the DOT x dotUSD pool on the Hub DEX with Treasury funds, and the XCM issue of 24 to 26 October which impacted part of that position. The remaining liquidity was rescued and returned to the Treasury.
The liquidity will be added in small, equal slices every block over approximately 251,000 blocks. Once enacted by the DAO, the schedule will run on and no additional steps or intervention is required by any individual or entity.
This governance proposal covers the following actions:
- Schedule a first phase of liquidity provisioning beginning at enactment: 5 dotUSD and up to 5.2335 DOT added to the pool every block, for 100,000 blocks.
- Schedule a second phase beginning 101,000 blocks after enactment: 10 dotUSD and up to 10.4671 DOT added every block, for 150,000 blocks.
- Deploy in total up to 2,000,000 dotUSD from the recovered funds, paired with up to 2,093,418 DOT from the Treasury.
- Enforce a price band on every slice. Should the pool price DOT outside $0.50 to $1.20, that slice does not execute and the funds remain in the Treasury.
- Mint all LP tokens directly to the Treasury.
Disclaimer – Polkadot Community Foundation (“PCF”)
For the avoidance of doubt, PCF is simply, in an administrative capacity and as a community member and support vehicle, putting forward this proposal for DAO approval and its implementation will not, and is not intended to, involve:
- PCF deploying, controlling, distributing or operating dotUSD;
- PCF issuing, controlling and/or taking custody over users’ digital assets or collateral including dotUSD, DOT, USDT;
- PCF engaging in any liquidity provisioning;
- Funds (or other user assets) flowing through PCF at any time; or
- PCF engaging in, carrying on, or holding itself out as carrying on, any “virtual asset service” or other regulated activity for the purposes of the Cayman Islands Virtual Asset (Service Providers) Act (as amended), or any other Cayman Islands regulatory regime.
The liquidity described in this proposal is provided by the Polkadot Treasury, from the Treasury account, through on-chain logic alone.
Between 24 and 26 October, a bug in the XCM executor on Asset Hub allowed the recorded supply of dotUSD to be reduced without any change to account balances. The DOT x dotUSD pool reads its reserves through that supply figure, so it mispriced DOT, and arbitrageurs drained an estimated $1.38 million from the Treasury’s liquidity position.
The bug was fixed in runtime 2.5.1, and the remaining liquidity was rescued and returned to the Treasury. dotUSD’s recorded supply was corrected in runtime 2.5.2. No user funds were lost, and dotUSD remained fully backed throughout. The full account is set out in the forum announcement.
Referendum 1944 asked the DAO to recognize dotUSD as the protocol’s primary stable-value instrument, and to give it a native market against DOT on the Hub. Without liquidity in the pool, users may still mint and redeem dotUSD against USDT through the Peg Stability Module, but they cannot move between DOT and dotUSD on Asset Hub at any meaningful size.
The conditions that permitted the incident have been addressed: the executor bug is fixed and the recorded supply has been corrected to match balances. This proposal therefore returns a portion of the recovered funds to the pool. The liquidity is introduced slowly, in increments, and only while the pool price remains within sensible bounds.
- The scheduler dispatches utility.dispatchAs with the task's stored origin, Root, inherited from the whitelisted dispatch.
- dispatchAs checks ensure_root, dispatches addLiquidity as Signed(Treasury), and always returns Ok. The inner result is in utility.DispatchedAs.
- addLiquidity transfers both assets to the pool account and mints LP tokens to the Treasury. On error its state changes are rolled back.
- The scheduler reschedules the task at now + 1 and decrements count whether or not the inner call succeeded. Skipped slices are not retried, so each failure lowers the total deposited.
| Event | When |
|---|---|
| whitelist.WhitelistedCallDispatched | Once, at enactment. Carries call hash 0x92c3…f2bb and the batch result. |
| scheduler.Scheduled | Twice, at enactment (one per task). |
| scheduler.Dispatched | Every execution. Result is always Ok, because dispatchAs returns Ok. |
| utility.DispatchedAs | Every execution. Ok, or the addLiquidity error. |
| assetConversion.LiquidityAdded | Successful slices only, with amount1_provided, amount2_provided and lp_token_minted. |
To monitor the schedule, count LiquidityAdded events where who is the Treasury, and group DispatchedAs errors by type,
This is a plan to put money back into a trading pool on the Polkadot network after a computer bug caused a loss.
This proposal moves to restore liquidity to the DOT x dotUSD pool on the Hub DEX, deploying the funds recovered after the October XCM incident gradually, autonomously and within a fixed price band.
This proposal follows Referendum 1944, which launched dotUSD and seeded the DOT x dotUSD pool on the Hub DEX with Treasury funds, and the XCM issue of 24 to 26 October which impacted part of that position. The remaining liquidity was rescued and returned to the Treasury.
The liquidity will be added in small, equal slices every block over approximately 251,000 blocks. Once enacted by the DAO, the schedule will run on and no additional steps or intervention is required by any individual or entity.
This governance proposal covers the following actions:
- Schedule a first phase of liquidity provisioning beginning at enactment: 5 dotUSD and up to 5.2335 DOT added to the pool every block, for 100,000 blocks.
- Schedule a second phase beginning 101,000 blocks after enactment: 10 dotUSD and up to 10.4671 DOT added every block, for 150,000 blocks.
- Deploy in total up to 2,000,000 dotUSD from the recovered funds, paired with up to 2,093,418 DOT from the Treasury.
- Enforce a price band on every slice. Should the pool price DOT outside $0.50 to $1.20, that slice does not execute and the funds remain in the Treasury.
- Mint all LP tokens directly to the Treasury.
Disclaimer – Polkadot Community Foundation (“PCF”)
For the avoidance of doubt, PCF is simply, in an administrative capacity and as a community member and support vehicle, putting forward this proposal for DAO approval and its implementation will not, and is not intended to, involve:
- PCF deploying, controlling, distributing or operating dotUSD;
- PCF issuing, controlling and/or taking custody over users’ digital assets or collateral including dotUSD, DOT, USDT;
- PCF engaging in any liquidity provisioning;
- Funds (or other user assets) flowing through PCF at any time; or
- PCF engaging in, carrying on, or holding itself out as carrying on, any “virtual asset service” or other regulated activity for the purposes of the Cayman Islands Virtual Asset (Service Providers) Act (as amended), or any other Cayman Islands regulatory regime.
The liquidity described in this proposal is provided by the Polkadot Treasury, from the Treasury account, through on-chain logic alone.
Between 24 and 26 October, a bug in the XCM executor on Asset Hub allowed the recorded supply of dotUSD to be reduced without any change to account balances. The DOT x dotUSD pool reads its reserves through that supply figure, so it mispriced DOT, and arbitrageurs drained an estimated $1.38 million from the Treasury’s liquidity position.
The bug was fixed in runtime 2.5.1, and the remaining liquidity was rescued and returned to the Treasury. dotUSD’s recorded supply was corrected in runtime 2.5.2. No user funds were lost, and dotUSD remained fully backed throughout. The full account is set out in the forum announcement.
Referendum 1944 asked the DAO to recognize dotUSD as the protocol’s primary stable-value instrument, and to give it a native market against DOT on the Hub. Without liquidity in the pool, users may still mint and redeem dotUSD against USDT through the Peg Stability Module, but they cannot move between DOT and dotUSD on Asset Hub at any meaningful size.
The conditions that permitted the incident have been addressed: the executor bug is fixed and the recorded supply has been corrected to match balances. This proposal therefore returns a portion of the recovered funds to the pool. The liquidity is introduced slowly, in increments, and only while the pool price remains within sensible bounds.
- The scheduler dispatches utility.dispatchAs with the task's stored origin, Root, inherited from the whitelisted dispatch.
- dispatchAs checks ensure_root, dispatches addLiquidity as Signed(Treasury), and always returns Ok. The inner result is in utility.DispatchedAs.
- addLiquidity transfers both assets to the pool account and mints LP tokens to the Treasury. On error its state changes are rolled back.
- The scheduler reschedules the task at now + 1 and decrements count whether or not the inner call succeeded. Skipped slices are not retried, so each failure lowers the total deposited.
| Event | When |
|---|---|
| whitelist.WhitelistedCallDispatched | Once, at enactment. Carries call hash 0x92c3…f2bb and the batch result. |
| scheduler.Scheduled | Twice, at enactment (one per task). |
| scheduler.Dispatched | Every execution. Result is always Ok, because dispatchAs returns Ok. |
| utility.DispatchedAs | Every execution. Ok, or the addLiquidity error. |
| assetConversion.LiquidityAdded | Successful slices only, with amount1_provided, amount2_provided and lp_token_minted. |
To monitor the schedule, count LiquidityAdded events where who is the Treasury, and group DispatchedAs errors by type,
Threshold
Threshold