This proposal aims to open HRMP channel between Statemine & Picasso. For more context please read here.
Let me explain the technical details of this call. It is a batch transaction with two calls:
A force transfer from Kusama treasury (F3opxRbN5ZbjJNU511Kj2TLuzFcDq9BGduA9TgiECafpg29
) to Statemine (F7fq1jSNVTPfJmaHaXCMtatT1EZefCUsa7rRiQVNR5efcah
). The amount is 11 KSM. 10 KSM will be used for deposit to accept (5 KSM) and open (5 KSM) HRMP channel. 1 KSM will be used by Statemine parachain to pay for transaction execution fee on Kusama. Note that 1 KSM is more than enough and unused funds will be trapped in XCM asset trap. But that's totally fine as it can be claimed & used for transaction fee in later XCM executions.
Send XCM message to Statemine to execute a transaction with superuser (root) permission.
The XCM message to Statemine is 0x1f00010100020c000400000000070010a5d4e81300000000070010a5d4e800060002286bee5c1802083c01270800003c0027080000e803000000900100
, which can be decoded on Statemine, and it is polkadotXcm.send
. It sends a XCM message back to Kusama, to with 1 KSM for transaction fee and perform a transact of call 0x1802083c01270800003c0027080000e803000000900100
.
The call is is a batchAll
that accepts open channel request from Picasso, and make an open channel request to Picasso.
batchAll
call.