Add vestedTransfer for Assets on Asset Hub #4090
Labels
I5-enhancement
An additional feature request.
I10-unconfirmed
Issue might be valid, but it's not yet known.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Motivation
As Asset Hub becomes more integral in the Polkadot XCM paradigm, it's important that it integrates useful defi tools. Having the right tools available will ensure that projects wanting to launch Asset Hub tokens have access to on-chain functions that facilitate tokenomics. Adding simple, out-of-the-box tools to all assets created on Asset Hub will give founders and users more flexibility in their innovations without needing to rely on trust-based, centralized solutions.
Request
While many features could be added to assets, I request that we begin with the simplest and most useful: vested transfers. Vesting is present in nearly all tokenomic models and it's quite precarious to facilitate using off-chain tools. Much like
vesting.vestedTransfer
on the relay chain, assets on Asset Hub could be autonomously vested on a per block basis. This simple feature will make facilitating tokenomics much easier for founders.Solution
The core logic/framework is already fleshed out in the vesting pallet, however there could be some challenges adapting it to assets on Asset Hub. Since Asset Hub assets are customizable and don't necessarily have intrinsic value, the parameters for vested transfers may need to be dependent on an asset's existential deposit and require a DOT deposit for the on-chain storage required to facilitated vested transfers.
I could help with implementing this solution but my contractors are not briefed on Polkadot SDK pallets and I might need to contract new devs to get this done. It would probably be most cost effective if a couple of members in the fellowship work together to roll this out.
Are you willing to help with this request?
Maybe (please elaborate above)
The text was updated successfully, but these errors were encountered: