diff --git a/src/views/Home.vue b/src/views/Home.vue index 2ac94df..3984dca 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -150,30 +150,75 @@ - -
+ + +
+ +
+
+ + + + + + + + + + {{ action.type }} +
+
+ {{ formatAmount(action.amount) }} + {{ action.rri.name.toUpperCase() }} +
+
+ +
+
+ +
+
+ To: + + + {{ shortenedValidator(action.to_account.toString()) }} + + + +
+
+
+ + +
- - - - + + + + {{ action.type }}
- +
- +
+ + + + +
+ +
+
+ + + + + + + + + {{ action.type }} +
+
+ Token: + + {{ action.rri.name.toUpperCase() }} +
+
+ +
+
+ Supply: + + + {{ formatAmount(action.amount) }} + {{ action.rri.name.toUpperCase() }} + + +
-
--> +
+ To: + + + {{ shortenedValidator(action.to_account.toString()) }} + + + +
+
+ +
@@ -247,6 +342,7 @@ import useRadix from '@/composables/useRadix' import { firstValueFrom } from 'rxjs' import Observed from '@/helpers/observed' import { AccountAddressT, AddressTypeT, AmountT, ExecutedAction, ExecutedTransaction, ExecutedTransferTokensAction, NetworkId, ValidatorAddressT } from '@radixdlt/application' +// ExecutedMintTokensAction, ExecutedBurnTokensAction, ExecutedCreateTokensDefinitionAction import ClickToCopy from '@/components/ClickToCopy.vue' import BigAmount, { asBigNumber } from '@/components/BigAmount.vue' import { formatTransactionAddressForDisplay, formatValidatorAddressForDisplay, formatWalletAddressForDisplay } from '@/helpers/formatter' @@ -278,10 +374,11 @@ export default defineComponent({ data.transactions.forEach(d => { const { actions } = d const alldata = JSON.stringify(d) - console.log(alldata) + // console.log(alldata) actions.forEach(action => { + console.log(action) if (action.type === 'Other') { - // console.log(actions) + console.log(d) const json = JSON.stringify(actions) const parse = JSON.parse(json) // console.log(json)