diff --git a/.claude/worktrees/keen-ritchie-2a9a2a b/.claude/worktrees/keen-ritchie-2a9a2a new file mode 160000 index 00000000..b908c9d5 --- /dev/null +++ b/.claude/worktrees/keen-ritchie-2a9a2a @@ -0,0 +1 @@ +Subproject commit b908c9d5e80bdf4c19c08f021e9f6c469a83940a diff --git a/applications/viewer/src/components/AmountBadges.svelte b/applications/viewer/src/components/AmountBadges.svelte index 7cca996d..6630c306 100644 --- a/applications/viewer/src/components/AmountBadges.svelte +++ b/applications/viewer/src/components/AmountBadges.svelte @@ -48,7 +48,7 @@ {/if} -
-
DRep Id :
+
+
DRep Id :
{drep.drep_id}
-
-
DRep Hash :
+
+
DRep Hash :
{drep.drep_hash}
{#if drep.deposit} -
-
Deposit :
+
+
Deposit :
{drep.deposit}
{/if} {#if drep.anchor_hash} -
-
Anchor Hash :
+
+
Anchor Hash :
{drep.anchor_hash}
{/if} {#if drep.anchor_url } -
-
Anchor URL :
+
+
Anchor URL :
diff --git a/applications/viewer/src/components/inputoutput/InputOutput.svelte b/applications/viewer/src/components/inputoutput/InputOutput.svelte index 0bf70a4e..8b5373f6 100644 --- a/applications/viewer/src/components/inputoutput/InputOutput.svelte +++ b/applications/viewer/src/components/inputoutput/InputOutput.svelte @@ -5,15 +5,15 @@ export let tx = {}; -
+
-

Inputs

+

Inputs

-

Outputs

+

Outputs

diff --git a/applications/viewer/src/components/inputoutput/Inputs.svelte b/applications/viewer/src/components/inputoutput/Inputs.svelte index 0f6cd4d2..9990082f 100644 --- a/applications/viewer/src/components/inputoutput/Inputs.svelte +++ b/applications/viewer/src/components/inputoutput/Inputs.svelte @@ -22,8 +22,8 @@
{#each inputs as input} diff --git a/applications/viewer/src/components/inputoutput/OutputDetails.svelte b/applications/viewer/src/components/inputoutput/OutputDetails.svelte index 46b778e4..4d3c1eb3 100644 --- a/applications/viewer/src/components/inputoutput/OutputDetails.svelte +++ b/applications/viewer/src/components/inputoutput/OutputDetails.svelte @@ -22,35 +22,35 @@ {#if show}
-
-
-
{#if output.inline_datum} -
-
Datum (Cbor) :
+
+
Datum (Cbor) :
{output.inline_datum}
-
-
Datum (Json) :
+
+
Datum (Json) :
{/if} {#if output.script_ref} -
-
Reference Script Hash :
+
+
Reference Script Hash :
{output.reference_script_hash}
-
-
Reference Script :
+
+
Reference Script :
{/if} diff --git a/applications/viewer/src/components/inputoutput/Outputs.svelte b/applications/viewer/src/components/inputoutput/Outputs.svelte index 420b6182..2e2685b3 100644 --- a/applications/viewer/src/components/inputoutput/Outputs.svelte +++ b/applications/viewer/src/components/inputoutput/Outputs.svelte @@ -22,7 +22,7 @@
{#each outputs as output}
-
+
@@ -39,7 +39,7 @@
{/if}
-
+
{/each}
diff --git a/applications/viewer/src/routes/+page.svelte b/applications/viewer/src/routes/+page.svelte index 995e6aa2..e625013a 100644 --- a/applications/viewer/src/routes/+page.svelte +++ b/applications/viewer/src/routes/+page.svelte @@ -52,10 +52,10 @@ {#if blocks.length == 0 || (blocks.length > 0 && Object.keys(blocks[0]).length === 0)}
-
+
- Waiting for live data - + Waiting for live data +
@@ -66,26 +66,26 @@
-
+
-

Recent Blocks

+

Recent Blocks

-
+
-

Recent Transactions

+

Recent Transactions

diff --git a/applications/viewer/src/routes/NetworkInfo.svelte b/applications/viewer/src/routes/NetworkInfo.svelte index e6e83550..45dbbb02 100644 --- a/applications/viewer/src/routes/NetworkInfo.svelte +++ b/applications/viewer/src/routes/NetworkInfo.svelte @@ -94,68 +94,68 @@ }); -
+
-
+

Epoch

-

{network_info.epoch}

+

{network_info.epoch}

-
+

Current Block

-

{network_info.number}

+

{network_info.number}

-
+

Slot

{#if network_info.epoch_slot} -

{network_info.epoch_slot}/{network_info.slots_per_epoch}

+

{network_info.epoch_slot}/{network_info.slots_per_epoch}

{/if}
-
+

Epoch Progress

{#if network_info.epoch_progress}
-
+
-

{network_info.epoch_progress}%

+

{network_info.epoch_progress}%

{/if}
-
+

Total Active Stake

{#if network_info.total_active_stake}
-

{formatAda(parseInt(network_info.total_active_stake))} ADA

+

{formatAda(parseInt(network_info.total_active_stake))} ADA

{:else} - {/if}
-
+

Treasury

{#if network_info.treasury}
-

{formatAda(parseInt(network_info.treasury))} ADA

+

{formatAda(parseInt(network_info.treasury))} ADA

{:else} - {/if}
-
+

Reserves

{#if network_info.reserves}
-

{formatAda(parseInt(network_info.reserves))} ADA

+

{formatAda(parseInt(network_info.reserves))} ADA

{:else} - {/if}
-
+

Circulating Supply

{#if network_info.circulating_supply}
-

{formatAda(parseInt(network_info.circulating_supply))} ADA

+

{formatAda(parseInt(network_info.circulating_supply))} ADA

{:else} - diff --git a/applications/viewer/src/routes/adapot/components/SearchBar.svelte b/applications/viewer/src/routes/adapot/components/SearchBar.svelte index 874a191d..a87fbf26 100644 --- a/applications/viewer/src/routes/adapot/components/SearchBar.svelte +++ b/applications/viewer/src/routes/adapot/components/SearchBar.svelte @@ -19,11 +19,11 @@ } -
+
-
{:else} -
No AdaPot data available
+
No AdaPot data available
{/if}
\ No newline at end of file diff --git a/applications/viewer/src/routes/adapot/list/+page.svelte b/applications/viewer/src/routes/adapot/list/+page.svelte index 7bda0b65..4b891038 100644 --- a/applications/viewer/src/routes/adapot/list/+page.svelte +++ b/applications/viewer/src/routes/adapot/list/+page.svelte @@ -155,67 +155,67 @@
{:else if adapots.length === 0}
-

No AdaPot data available for this page.

+

No AdaPot data available for this page.

{:else}
- - +
+ - - - - - - - - - + + + + + + + + + - + {#each adapots as adapot} - - + - - - - - - - -
EpochTreasuryReservesCirculationFeesTotal RewardsDistributedUndistributedPool RewardsEpochTreasuryReservesCirculationFeesTotal RewardsDistributedUndistributedPool Rewards
+
{adapot.epoch} +
{formatAda(adapot.details.treasury)}
+
{formatAda(adapot.details.reserves)}
+
{formatAda(adapot.details.circulation)}
+
{formatAda(adapot.details.fees)}
+
{formatAda(adapot.totalAmount)}
+
{formatAda(adapot.details.distributedRewards)}
+
{formatAda(adapot.details.undistributedRewards)}
+
{formatAda(adapot.details.poolRewardsPot)}
diff --git a/applications/viewer/src/routes/addresses/[address]/+page.svelte b/applications/viewer/src/routes/addresses/[address]/+page.svelte index ca688730..570ef041 100644 --- a/applications/viewer/src/routes/addresses/[address]/+page.svelte +++ b/applications/viewer/src/routes/addresses/[address]/+page.svelte @@ -106,9 +106,9 @@
-
-
-

+
+
+

Address

@@ -116,30 +116,30 @@
-
+
-
+
ADA Balance
-
- {lovelaceToAda(adaBalance, 2)} ADA +
+ {lovelaceToAda(adaBalance, 2)} ADA
-
+
Token Types
-
+
{tokenCount}
-
+
UTXOs
-
+
{utxos.length}{utxos.length === count ? '+' : ''}
@@ -153,50 +153,50 @@ {/if} -
-
+
+
-
+
{#if loading} -
+
{/if} @@ -208,24 +208,24 @@ {:else}
- - +
+ - - - + + + - + {#each utxos as utxo (utxo.tx_hash + '#' + utxo.output_index)} - +
Tx Hash # IndexAmountsDetailsTx Hash # IndexAmountsDetails
{truncate(utxo.tx_hash, 20, '...')} - #{utxo.output_index} + #{utxo.output_index} {#if utxo.data_hash} -
+
Datum: {truncate(utxo.data_hash, 20, '...')}
{/if} @@ -262,7 +262,7 @@ > < Previous - Page {currentPage} + Page {currentPage}