Workflow updating files of flowallet
This commit is contained in:
parent
dad09da9e2
commit
5e776f13b2
@ -2618,8 +2618,8 @@
|
|||||||
if (tokenReceivers.length) {
|
if (tokenReceivers.length) {
|
||||||
const consent = await getConfirmation(`Confirm transaction`, {
|
const consent = await getConfirmation(`Confirm transaction`, {
|
||||||
message: `
|
message: `
|
||||||
Sending ${selectedToken.value} tokens to \n\n ${tokenReceivers.map(r => `${r}: ${bulkTokenReceivers[r]} ${selectedToken.value}`).join('\n')}
|
Sending ${selectedToken.value} tokens to \n\n ${tokenReceivers.map(r => `${r}: ${bulkTokenReceivers[r]} ${selectedToken.value}`).join('\n')}
|
||||||
`,
|
`,
|
||||||
confirmText: 'Send',
|
confirmText: 'Send',
|
||||||
})
|
})
|
||||||
if (!consent) return;
|
if (!consent) return;
|
||||||
@ -2630,19 +2630,19 @@
|
|||||||
showTransactionResult(true, null, {
|
showTransactionResult(true, null, {
|
||||||
title: `Multiple transactions have been initiated`,
|
title: `Multiple transactions have been initiated`,
|
||||||
description: html`
|
description: html`
|
||||||
<ul class="grid gap-0-5">
|
<ul class="grid gap-0-5">
|
||||||
${tokenReceivers.map((receiver, index) => html`
|
${tokenReceivers.map((receiver, index) => html`
|
||||||
<li>
|
<li>
|
||||||
<a href=${`${floBlockchainAPI.current_server}tx/${transactionIds[receiver]}`} target="_blank">
|
<a href=${`${floBlockchainAPI.current_server}tx/${transactionIds[receiver]}`} target="_blank">
|
||||||
Check ${receiver} (${bulkTokenReceivers[receiver]} ${selectedToken.value}) transaction
|
Check ${receiver} (${bulkTokenReceivers[receiver]} ${selectedToken.value}) transaction
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
`)}
|
`)}
|
||||||
</ul>
|
</ul>
|
||||||
`
|
`
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
const floData = `send ${bulkTokenReceivers[tokenReceivers[0]]} ${selectedToken.value}#`
|
const floData = `send ${bulkTokenReceivers[tokenReceivers[0]].toFixed(10)} ${selectedToken.value}#`
|
||||||
if (await hasUnconfirmedTransactions(sender)) return
|
if (await hasUnconfirmedTransactions(sender)) return
|
||||||
transactionId = await floBlockchainAPI.writeData(sender, floData, privKey, tokenReceivers[0])
|
transactionId = await floBlockchainAPI.writeData(sender, floData, privKey, tokenReceivers[0])
|
||||||
showTransactionResult(true, transactionId);
|
showTransactionResult(true, transactionId);
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
2
flowallet/scripts/floBlockchainAPI.min.js
vendored
2
flowallet/scripts/floBlockchainAPI.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
flowallet/scripts/floTokenAPI.min.js
vendored
2
flowallet/scripts/floTokenAPI.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user