diff --git a/public/index.css b/public/index.css
index 1c8cc53ce..4234ff850 100644
--- a/public/index.css
+++ b/public/index.css
@@ -42,6 +42,7 @@
--color-foreground-6: #d3dee8;
--color-background: #0b131a;
--color-glow: #5555ff22;
+ --color-subtle: #777;
--font-family-sans-serif: Inter, sans-serif;
--font-family-monospace: monospace;
@@ -234,6 +235,10 @@ input.wide {
.highlight {
color: var(--color-secondary);
}
+.subtle {
+ color: var(--color-subtle);
+ font-style: italic;
+}
button.error:hover {
background-color: var(--color-negative);
diff --git a/src/Loading.svelte b/src/Loading.svelte
index fb66dfff7..37a11c9fa 100644
--- a/src/Loading.svelte
+++ b/src/Loading.svelte
@@ -1,6 +1,10 @@
+
+
-
+
diff --git a/src/base/orgs/Org.ts b/src/base/orgs/Org.ts
index dba508175..e84339caa 100644
--- a/src/base/orgs/Org.ts
+++ b/src/base/orgs/Org.ts
@@ -14,10 +14,17 @@ const orgAbi = ["function owner() view returns (address)"];
export class Org {
address: string
safe: string
+ name: string | null
constructor(address: string, safe: string) {
this.address = address;
this.safe = safe;
+ this.name = null;
+ }
+
+ async resolveAddress(config: Config): Promise
{
+ this.name = await config.provider.lookupAddress(this.address);
+ return this.name;
}
static fromReceipt(receipt: ContractReceipt): Org | null {
diff --git a/src/base/orgs/Profile.svelte b/src/base/orgs/Profile.svelte
index b0b576e1c..3e6bdd878 100644
--- a/src/base/orgs/Profile.svelte
+++ b/src/base/orgs/Profile.svelte
@@ -21,6 +21,20 @@
| Address | {org.address} |
| Safe | {org.safe} |
+
+ | Name |
+
+ {#await org.resolveAddress(config)}
+
+ {:then name}
+ {#if name}
+ {name}
+ {:else}
+ Not registered
+ {/if}
+ {/await}
+ |
+
{:else}