Referenda

Open and closed proposals

Polkadot
#708Execution failedSmall TipperErroneous

Test the brand-new spend() extrinsic

Requested
69.0 USDT
Ended
26 Apr 2024
Comments
1
BeneficiaryPolkalytics

AI Digest

Category Erroneous
  • Polkadot Fellowship proposes testing and raising awareness of the new spend() extrinsic by tipping Alice and Bob on AssetHub.
  • The request is for 69 USDT, paid to Polkalytics, the company account of Alice and Bob.
  • The test uses AssetHub USDT and checks whether the corrected spend() call works as described in production.
  • The extrinsic supports multi-asset Treasury payments, specific payout blocks, instant payments, and scheduled monthly payouts.

Description

Written by the proposer, as published on Subsquare · last edited 24 Apr 2024, 14:30 UTC

The Polkadot Fellowship has introduced a new spend() extrinsic.

This proposal aims to raise awareness about the new features it supports and to test it out by tipping Alice und Bob 69 USDT on AssetHub.

The new spend() extrinsic has been introduced with the Polkadot Runtime 1.1 upgrade. It supports:

  • multi-asset Treasury spends, e.g. DOT, USDT, USDC, etc...
  • from an XCM multi-location, e.g. AssetHub
  • to be paid out at a specific block

This new extrinsic makes a lot of things possible:

  • instant payments instead of waiting a spend cycle of up to 24 days
  • paying proposers in USD stables to remove exchange rate risk
  • setting up a payment plan of monthly payouts by batching multiple spends at estimated block heights
    • and even canceling scheduled payments

This proposal is based on the information provided in this forum post and this instructional guide. It is intended to test if the extrinsic works as described. During the test, it was already discovered that the instructions are not exactly correct, as Polkadot.js tries to help the user by having value fields taking "DOT" values that add 10 decimals under the hood, which interferes with the GeneralIndex field of the assetKind location and the amount field. A wrongful proposal 707 was the result. This proposal should have corrected values. But further errors might be possible since this was never before tested in production.

I suggest sending 69 USDT because it's a funny number and it's related to Bitcoin

The call works as follows

The V3 AssetKind contains a V3 MultiLocation pointing to Parachain 1000 -> AssetHub. The AssetID is a relative location inside AssetHub pointing to PalletInstance 50 -> assets, GeneralIndex 1984 -> USDT image.png

The amount is 69_000_000 (USDT is denominated with 6 decimals) image.png

The beneficiary is Polkalytics, the company account of Alice und Bob image.png

Discussion

1 comments from OpenShore and Subsquare; spam hidden

Markdown
Signed with your wallet. No fee, nothing on-chain.
Alice und Bob944d 22h ago

The proposal failed. As I learned, we need to wait for this proposal to execute first: https://polkadot.subsquare.io/referenda/645