Skip to content

Commit

Permalink
Add custom transfer for polkadot
Browse files Browse the repository at this point in the history
  • Loading branch information
samchuk-vlad committed Feb 20, 2024
1 parent 882c920 commit b8a24d3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/transfer/configs/same-chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ const customSameChainTransferConfig: {
return [ data.recipient, data.amount ]
},
},
[getCustomTransferParamId('DOT', 'polkadot')]: {
extrinsic: 'balances.transferAllowDeath',
getParams: (data) => {
return [ data.recipient, data.amount ]
},
},
[getCustomTransferParamId('MGX', 'mangata')]: {
extrinsic: 'tokens.transfer',
getParams: (data) => {
Expand Down

0 comments on commit b8a24d3

Please sign in to comment.