diff --git a/applications/viewer/src/components/JsonContent.svelte b/applications/viewer/src/components/JsonContent.svelte index d10524b..3bee1b2 100644 --- a/applications/viewer/src/components/JsonContent.svelte +++ b/applications/viewer/src/components/JsonContent.svelte @@ -1,32 +1,36 @@
-
-
- -
-
+
+
+ +
+
- - diff --git a/applications/viewer/src/components/TxnContext.svelte b/applications/viewer/src/components/TxnContext.svelte index 7b819eb..b390c6a 100644 --- a/applications/viewer/src/components/TxnContext.svelte +++ b/applications/viewer/src/components/TxnContext.svelte @@ -18,7 +18,7 @@
- +
diff --git a/applications/viewer/src/routes/certificates/pool-registrations/+page.svelte b/applications/viewer/src/routes/certificates/pool-registrations/+page.svelte index 3bb4ede..4da9e9f 100644 --- a/applications/viewer/src/routes/certificates/pool-registrations/+page.svelte +++ b/applications/viewer/src/routes/certificates/pool-registrations/+page.svelte @@ -1,7 +1,7 @@
-

Epoch Stakes

+

Epoch Stakes

diff --git a/applications/viewer/src/routes/governance/proposals/+page.svelte b/applications/viewer/src/routes/governance/proposals/+page.svelte index d9abe4e..1028406 100644 --- a/applications/viewer/src/routes/governance/proposals/+page.svelte +++ b/applications/viewer/src/routes/governance/proposals/+page.svelte @@ -1,9 +1,9 @@ -
-
-
-
-
-
- Transaction Hash -
-
-

- {tx.hash} -

-
-
-
-
- Block/Slot -
-
-

- {tx.block_height} / {tx.slot} -

-
-
-
-
- TTL -
-
-

- {tx.ttl} -

-
-
-
-
-
-
- Fee (Ada) -
-
-

- {lovelaceToAda(tx.fees, 4)} -

-
-
-
-
- Total Outputs (Ada) -
-
-

- {lovelaceToAda(tx.total_output, 2)} -

-
-
-
-
-
-
+
+
+
+
+

+ Transaction Hash +

+
+ {tx.hash} + +
+
+ +
+
+
+ Block / Slot +
+
+ + {tx.block_height} + + / + {tx.slot} +
+
+ +
+
Fee
+
+ {lovelaceToAda(tx.fees, 4)} ADA +
+
+ +
+
+ Total Output +
+
+ {lovelaceToAda(tx.total_output, 2)} ADA +
+
+ +
+
TTL
+
{tx.ttl}
+
+
+
+ +
+
+ + + + + -
-
-
- - - - - - -
- - {#if activeTabIndex == INPUT_TAB} -
- -
- {/if} - - {#if activeTabIndex == CONTRACT_TAB} -
- {#each contracts as contract, index} -
-
- -
- {/each} -
- {/if} - - {#if activeTabIndex == COLLATERAL_TAB} -
- -
- {/if} - - {#if activeTabIndex == METADATA_TAB} -
- -
- {/if} - - {#if activeTabIndex == REFERENCE_INPUT_TAB} -
- -
- {/if} - - {#if activeTabIndex == JSON_TAB} -
- -
- {/if} -
+ + + + + +
+
+ +
+ {#if activeTabIndex == INPUT_TAB} +
+ +
+ {/if} + + {#if activeTabIndex == CONTRACT_TAB} +
+ {#if contracts.length === 0} +
+ No contracts found in this transaction. +
+ {:else} + {#each contracts as contract, index} +
+ {#if index > 0}
{/if} + +
+ {/each} + {/if} +
+ {/if} + + {#if activeTabIndex == COLLATERAL_TAB} +
+ +
+ {/if} + + {#if activeTabIndex == METADATA_TAB} +
+ {#if !metadata} +
No metadata available.
+ {:else} + + {/if} +
+ {/if} + + {#if activeTabIndex == REFERENCE_INPUT_TAB} +
+ +
+ {/if} + + {#if activeTabIndex == JSON_TAB} +
+ +
+ {/if} +
+
+ +