# Deposit additional ASTR into HydraDX Omnipool

**URL:** <https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507>\
**Category:** Astar\
**Created:** [March 22, 2024, 3:31pm UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507 "2024-03-22T15:31:05Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![BoomBLB](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/boomblb/32/2209_2.png) [@BoomBLB](https://forum.astar.network/u/BoomBLB)\
**Post date:** [April 5, 2024, 12:02pm UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/21 "2024-04-05T12:02:58Z")

</div>

Thank you for the great proposal! I would like to ask a few more questions.

1. Increasing liquidity is a good thing. However, I am not sure if it will be a long-term solution if a similar event happens again. What are your thoughts on this?

2. I am not very familiar with technical matters. Will doing something like this have any other effects?

---

<div class="post-metadata">

**Author:** ![Kabrine](https://avatars.discourse-cdn.com/v4/letter/k/e95f7d/32.png) [@Kabrine](https://forum.astar.network/u/Kabrine)\
**Post date:** [April 5, 2024, 2:05pm UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/22 "2024-04-05T14:05:04Z")

</div>

The proposal is acceptable given the availability of the treasury. I believe that a clearer policy on fundraising is necessary to encourage everyone to vote positively on future proposals. I echo @'s words. We cannot leave other forms of liquidity aside.

> [@Gaius\_sama](#):
>
> As Astar becomes a multichain ecosystem, we need to have strategies and liquidity for all parts of our network.

---

<div class="post-metadata">

**Author:** ![Vangardem](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/vangardem/32/2184_2.png) [@Vangardem](https://forum.astar.network/u/Vangardem)\
**Post date:** [April 5, 2024, 2:14pm UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/23 "2024-04-05T14:14:24Z")

</div>

Increasing liquidity in Hydra could be a good strategy, the amount of ASTR requested is high, I will vote in favor but if the proposal is fully approved it would be good that the Hydra team presents a monthly report to the forum on the performance of the liquidity in its platform to provide liquidity that is not used is not good either, because it could be used to support other areas within Astar.

---

<div class="post-metadata">

**Author:** ![cmalize](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@cmalize](https://forum.astar.network/u/cmalize)\
**Post date:** [April 5, 2024, 7:34pm UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/24 "2024-04-05T19:34:04Z")

</div>

Hello, thanks for your proposal. While i strongly support this proposal, I’m still of the opinion that the liquidity is a little bit high on a single protocol at this time, owing to the fact there other chains like Astar zkEVM that requires more liquidity. Thank you.

---

<div class="post-metadata">

**Author:** ![pitcoin777](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/pitcoin777/32/1912_2.png) [@pitcoin777](https://forum.astar.network/u/pitcoin777)\
**Post date:** [April 5, 2024, 11:22pm UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/25 "2024-04-05T23:22:25Z")

</div>

I support the proposal. Liquidity is really importante and Hydra is a top #1 product on Polkadot. Super easy way to transfer assets between chains - ASTR needs to stay liquid!!

---

<div class="post-metadata">

**Author:** ![spazcoin](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@spazcoin](https://forum.astar.network/u/spazcoin)\
**Post date:** [April 6, 2024, 4:08am UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/26 "2024-04-06T04:08:06Z")

</div>

You can check anytime the current value of the Astar deposit into the Omnipool at:

> **[HydraDX Omnipool - An Ocean of Liquidity](https://app.hydradx.io/wallet/assets?account=7LCt6dFnHxYDyomeCEC8nsnBUEC6omC6y7SZQk4ESzDpiDYo)**
>
> HydraDX is a next-gen DeFi protocol which is designed to bring an ocean of liquidity to Polkadot. Our tool for the job the HydraDX Omnipool - an innovative Automated Market Maker (AMM) which unlocks unparalleled efficiencies by combining all assets...

You can always check the usage of the ASTR in the Omnipool at:

> **[HydraDX Omnipool - An Ocean of Liquidity](https://app.hydradx.io/stats/overview)**
>
> HydraDX is a next-gen DeFi protocol which is designed to bring an ocean of liquidity to Polkadot. Our tool for the job the HydraDX Omnipool - an innovative Automated Market Maker (AMM) which unlocks unparalleled efficiencies by combining all assets...

(specifically, what is the ASTR trading volume over the past 24 hours)

---

<div class="post-metadata">

**Author:** ![VasaKing](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/vasaking/32/1568_2.png) [@VasaKing](https://forum.astar.network/u/VasaKing)\
**Post date:** [April 6, 2024, 9:51am UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/27 "2024-04-06T09:51:43Z")

</div>

Voted YES, I have used Hydra and it’s the best way to manage multiple operations on Polkadot. Providing more liquidity and lowering the slippage can be beneficial for both Parachains

---

<div class="post-metadata">

**Author:** ![GuiGou](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/guigou/32/1366_2.png) [@GuiGou](https://forum.astar.network/u/GuiGou)\
**Post date:** [April 6, 2024, 11:20am UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/28 "2024-04-06T11:20:41Z")

</div>

I voted YES, liquidity is important in a ecosystem and HydraDX provides a very good dex.

---

<div class="post-metadata">

**Author:** ![bao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/bao/32/1809_2.png) [@bao](https://forum.astar.network/u/bao)\
**Post date:** [April 7, 2024, 11:18pm UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/29 "2024-04-07T23:18:41Z")

</div>

Voted Yes.  
After thoroughly reading the thread, I believe this proposal is a good way to make effective use of the treasury.

---

<div class="post-metadata">

**Author:** ![Vangardem](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/vangardem/32/2184_2.png) [@Vangardem](https://forum.astar.network/u/Vangardem)\
**Post date:** [April 8, 2024, 12:38pm UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/30 "2024-04-08T12:38:20Z")

</div>

Oh yes perfect, nice board I will add it to my favorites in the browser. Thanks for the info. Additionally it would be nice if you will present a trading report here on the forum with the support of the dashboard I think that would give everyone a better understanding of the performance of ASTR, as the forum is the easiest way to access the information of the projects.

---

<div class="post-metadata">

**Author:** ![Sequaja](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/sequaja/32/1992_2.png) [@Sequaja](https://forum.astar.network/u/Sequaja)\
**Post date:** [April 8, 2024, 8:27pm UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/31 "2024-04-08T20:27:14Z")

</div>

Was first against it. After reading through the conversations from the community and the team I changed my vote. You have my support.

---

<div class="post-metadata">

**Author:** ![DrCAO](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@DrCAO](https://forum.astar.network/u/DrCAO)\
**Post date:** [April 8, 2024, 9:09pm UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/32 "2024-04-08T21:09:39Z")

</div>

I would like to share my support for this proposal, as the Astar is also doing great on Polkadot, and this is not going to just spend the treasury but may also earn some trading fees and increase the liquidity on Polkadot side.

---

<div class="post-metadata">

**Author:** ![Gaius\_sama](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/gaius_sama/32/4741_2.png) [@Gaius\_sama](https://forum.astar.network/u/Gaius_sama)\
**Post date:** [April 10, 2024, 11:14am UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/33 "2024-04-10T11:14:10Z")

</div>

Congratulations @spazcoin 🎉

The proposal to provide 5.54M ASTR as liquidity provision to HydraDX Omnipool has been accepted by the Astar Community.

In order to proceed with the liquidity deposit, please prepare the instructions as follows:

> [@Listing ASTR in HydraDX Omnipool & seeding initial liquidity](https://forum.astar.network/t/listing-astr-in-hydradx-omnipool-seeding-initial-liquidity/4696/17):
>
> Technically, this is what needs to be called on-chain:
> 
> **Send 2222222 ASTR into the Omnipool (Initial seeding):**
> 
> > 0x330201010100c91f01000101006d6f646c6f6d6e69706f6f6c00000000000000000000000000000000000000000104000000001f000078793dbb60e592d60100000000
> 
> LP position, after it is created, can be controlled by XCM transact calls. The exact call data will depend on performed action and available tools. Since on Astar there is no scheduler pallet, 2 different calls have to be sent.
> 
> **Add additional 2222222 ASTR:**
> 
> 1. Send 2222242 (20 for fees) ASTR to Astar sibling sovereign account:
> 
> > 0x330201010100c91f01000101007369626cd60700000000000000000000000000000000000000000000000000000104000000001f0000488d4601effa93d60100000000
> 
> 1. Add new position of 2222222 ASTR:
> 
> > 0x330001010100c91f0214000400010100591f00130000c84e676dc11b1300010100591f00130000c84e676dc11b0006010700f2052a01583b0209000000000078793dbb60e592d6010000000000140d010004000101006d6f646c70792f74727372790000000000000000000000000000000000000000

Thank you

---

<div class="post-metadata">

**Author:** ![BoomBLB](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/boomblb/32/2209_2.png) [@BoomBLB](https://forum.astar.network/u/BoomBLB)\
**Post date:** [April 23, 2024, 10:03am UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/34 "2024-04-23T10:03:04Z")

</div>

Congrats Team!!! Let’s make cool things together =)

---

<div class="post-metadata">

**Author:** ![Vangardem](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/vangardem/32/2184_2.png) [@Vangardem](https://forum.astar.network/u/Vangardem)\
**Post date:** [April 23, 2024, 1:01pm UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/35 "2024-04-23T13:01:00Z")

</div>

Congratulations to the team ASTR liquidity is expanding!!!

---

<div class="post-metadata">

**Author:** ![spazcoin](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@spazcoin](https://forum.astar.network/u/spazcoin)\
**Post date:** [April 25, 2024, 5:43am UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/36 "2024-04-25T05:43:48Z")

</div>

Thanks @Gaius_sama and everyone in the Astar community who supported this initiative! Sorry I’ve been silent for two weeks – I’ve been working every night to set up Chopsticks and verify the correct extrinsics to perform the deposit. Now we’re ready to roll.

First, here are the limitations I discovered:

- only 100k ASTR can be deposited or withdrawn at a time, which would require 54 separate deposits.
- HydraDX integrates a `scheduler` pallet which could be used to perform the 54 deposits. But it can only be called from HydraDX governance and not by normal accounts. Plus that would result in 54 NFTs for the LP positions, making it more difficult to see cumulative stats for the deposit in the future.
- Astar does not have the `scheduler` pallet integrated.
- In the HydraDX code, I noticed there’s an existential deposit of 0.147 ASTR. Therefore I’d suggest sending slightly more than the 5.4M ASTR.

Therefore the options to achieve this 5.4M ASTR deposit into the Omnipool are:

1. manually perform 54 multisig transactions from multisig on Hydra or on Astar or from Astar governance. All sound painful.
2. Hydra governance perform this large deposit for the Astar community.  
Pro: not painful, results in only one more liquidity NFT for easier monitoring.  
Con: another chain’s governance can’t yet fully control Omnipool deposits via governance yet.
3. Hydra chain allows normal accounts to use the scheduler pallet. (not available for the forseeable future)

Therefore after discussion with the Hydra team we’ll pursue #2 and use Hydra governance to complete the 5.4M ASTR deposit. Astar governance can still issue XCM messages in the future to remove the liquidity and bring it back to the Astar treasury; you just have to remove it 5% at a time (again, per-block rate limits).

Finally, I learned that the Astar team had planned to use an Astar-team multisig on the Hydra chain to hold the funds/LP. However, when HydraDX performed the initial ASTR liquidity deposit into the Omnipool they moved the resulting LP NFT into the Astar Sibling account on Hydra instead of to the Astar-team multisig. Looking at each proposal I don’t see the address for that multisig account so it doesn’t seem very discoverable/transparent, whereas the Astar Sibling account is easy to find using tools like https://www.shawntabrizi.com/substrate-js-utilities/ and https://polkadot.subscan.io/tools/format\_transform. Therefore for this operation I would suggest the ASTR funds be sent to the Astar sibling account and from there deposited into the Omnipool instead of being routed through a multisig.

Here is the call to move this additional 5.4M ASTR liquidity from the Astar Treasury into the Astar Sibling acct on HydraDX:

`0x330203010100c91f03000101007369626cd60700000000000000000000000000000000000000000000000000000304000000001f0000d012d9cbb7ab7f770400000000`

where Astar Sibling acct public key is: `0x7369626cd6070000000000000000000000000000000000000000000000000000`

Then HydraDX governance will deposit the 5.4M ASTR into Omnipool using:

`0x0d020c4101090000000188130000e80300000d0301017369626cd60700000000000000000000000000000000000000000000000000003b0209000000000000ffcf8529967e7704000000000041010900000001f401000010270000`

where Astar Sibling acct on HydraDX is: `7LCt6dFnHxYDyomeCEC8nsnBUEC6omC6y7SZQk4ESzDpiDYo` and is visualized as “SIBLING 2,006”.

In the future you can call `uniques.account(7LCt6dFnHxYDyomeCEC8nsnBUEC6omC6y7SZQk4ESzDpiDYo,1337)` to get the IDs for the liquidity deposits in the Omnipool. You can also use `omnipool.positions(2011)` to see the specific number of shares in that ASTR LP position.

When withdrawing the LP, you can only withdraw 5% of the overall ASTR liquidity at a time. Here is the Hydradx call to withdraw 1% (2.2k) of one of that LP position:

`0x3b03db070000000000000000000000000000ba35f4c4b7a54f6e93d6010000000000`

Wrapped as an XCM transaction issued from the Astar chain, the call is:

`0x330003010100c91f03180b0101006d6f646c70792f7472737279000000000000000000000000000000000000000000040001000002286bee130001000002286bee0006010700e40b5402821a0600883b03db070000000000000000000000000000ba35f4c4b7a54f6e93d6010000000000140d0100010100591f`

As a result of this investigation:

I’ve proposed these feature requests to the Hydra team:

1. Allow normal accounts to use the `scheduler` pallet.

2. On the account liquidity page where it shows the value of that account’s LP deposits, if there are multiple deposits/NFTs of the same token then also show a cumulative stat view. This will be valuable for taking screenshots of LP stats for communities to monitor how their treasury’s deposits are doing. (instead of seeing 50 individual LP positions and manually summing them up each time)

Suggestions for the Astar team – please integrate the `scheduler` pallet, which would enable Astar treasury to perform more complex transactions on other chains.

Tl;dr – Astar treasury should send the 5.4M ASTR to the Astar Sibling account on HydraDX chain. Then HydraDX governance will execute adding the ASTR liquidity to the Omnipool.

---

<div class="post-metadata">

**Author:** ![Gaius\_sama](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/gaius_sama/32/4741_2.png) [@Gaius\_sama](https://forum.astar.network/u/Gaius_sama)\
**Post date:** [April 26, 2024, 6:53pm UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/37 "2024-04-26T18:53:03Z")

</div>

Thank you @spazcoin for preparing the instructions.

I have informed the foundation to review your post and proceed with the liquidity provision in the Omnipool.

I’ll keep the community informed of progress in this discussion.

---

<div class="post-metadata">

**Author:** ![spazcoin](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@spazcoin](https://forum.astar.network/u/spazcoin)\
**Post date:** [May 7, 2024, 3:11am UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/38 "2024-05-07T03:11:46Z")

</div>

I’ve tested extrinsics further for other networks and `xtokens.transfer` appears to work better than `reserveTransferAsset` to move treasury tokens to other parachains. Or `reserveTransferAsset` works on Astar if you wrap it with `sudoAs`. Therefore for the first step of moving `ASTR` to the sibling acct on HydraDX I’d recommend using:

`0x6303006d6f646c70792f74727372790000000000000000000000000000000000000000330203010100c91f03000101007369626cd60700000000000000000000000000000000000000000000000000000304000000001f000050d20ed4021625950400000000`

where Astar Sibling acct public key is: `0x7369626cd6070000000000000000000000000000000000000000000000000000`

the rest of the procedure remains the same:  
HydraDX governance will deposit the 5.54M ASTR into Omnipool using:

`0x0d020c4101090000000188130000e80300000d0301017369626cd60700000000000000000000000000000000000000000000000000003b0209000000000080be058e7400249504000000000041010900000001f401000010270000`

where Astar Sibling acct on HydraDX is: `7LCt6dFnHxYDyomeCEC8nsnBUEC6omC6y7SZQk4ESzDpiDYo` and is visualized as “SIBLING 2,006”.

In the future you can call `uniques.account(7LCt6dFnHxYDyomeCEC8nsnBUEC6omC6y7SZQk4ESzDpiDYo,1337)` to get the IDs for the liquidity deposits in the Omnipool. You can also use `omnipool.positions(2011)` to see the specific number of shares in that ASTR LP position.

When withdrawing the LP, you can only withdraw 5% of the overall ASTR liquidity at a time. Here is the Hydradx call to withdraw 1% (2.2k) of one of that LP position:

`0x3b03db0700000000000000000000000000000000f8e556cb71747800000000000000`

Wrapped as an XCM transaction issued from the Astar chain, the call is:

`0x330003010200c91f01007369626cd60700000000000000000000000000000000000000000000000000000314000400000000070010a5d4e81300000000070010a5d4e80006000700e40b5402821a0600883b03db0700000000000000000000000000000000f8e556cb71747800000000000000140d0100000101007369626cd6070000000000000000000000000000000000000000000000000000`

---

<div class="post-metadata">

**Author:** ![Gaius\_sama](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/gaius_sama/32/4741_2.png) [@Gaius\_sama](https://forum.astar.network/u/Gaius_sama)\
**Post date:** [May 8, 2024, 7:51am UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/39 "2024-05-08T07:51:04Z")

</div>

Hello @spazcoin

The cross-chain transfer of 5,540,020 ASTR has been executed and the funds have arrived in the Astar siblings’ account on HydraDX parachain.

Due to a communication mix-up, the transfer was split into two transfers, one of 5,400,020 ASTR and the other of 140,000 ASTR.

5,400,020 ASTR transfer:

- [Astar Transaction](https://astar.subscan.io/xcm_message/polkadot-76a57e2b885535a815b949437f5f0d572ad076ff)
- [Hydra Transaction](https://hydradx.subscan.io/xcm_message/polkadot-76a57e2b885535a815b949437f5f0d572ad076ff)

140,000 ASTR transfer:

- [Astar Transaction](https://astar.subscan.io/xcm_message/polkadot-83f2bddaf04657d694422e658a6aafa1a92dd985)
- [Hydra Transaction](https://hydradx.subscan.io/xcm_message/polkadot-83f2bddaf04657d694422e658a6aafa1a92dd985)

The total amount of 5,540,020 ASTR is now in the [Astar sibling account](https://hydradx.subscan.io/account/7LCt6dFnHxYDyomeCEC8nsnBUEC6omC6y7SZQk4ESzDpiDYo) on HydraDX.

The next step is for Hydra’s governance to vote to supply the liquidity from the sibling account to the omnipool.

---

<div class="post-metadata">

**Author:** ![Gaius\_sama](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/gaius_sama/32/4741_2.png) [@Gaius\_sama](https://forum.astar.network/u/Gaius_sama)\
**Post date:** [May 16, 2024, 11:08am UTC](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507/40 "2024-05-16T11:08:32Z")

</div>

Omnipool was hydrated with 5,540,000 ASTR tokens from the Astar Treasury.

> **[Subscan | Aggregate Substrate ecological network high-precision Web3 explorer](https://hydradx.subscan.io/extrinsic/5126400-0)**
>
> Subscan | Substrate ecological explorer: Search, analyze, and visualize blockchain that occurs on Substrate based network (Polkadot, Kusama, Moonbeam, Acala, Darwinia), such as extrinsics, transfers, accounts, tokens, prices, staking, PLO and other...

 ![image](https://us1.discourse-cdn.com/flex020/uploads/plasmnet/original/2X/c/cd35b86f324501c80a47b6475bdca58633f46984.png)

Good job leading this @spazcoin

[Previous page](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507.md?page=1)

[Next page](https://forum.astar.network/t/deposit-additional-astr-into-hydradx-omnipool/6507.md?page=3)
