@meddleware/dao-ui 0.1.28 → 0.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/package.json +6 -5
- package/src/tabs/GovernanceTab.vue +2 -2
- package/src/tabs/OverviewTab.vue +2 -2
- package/src/tabs/TreasuryTab.vue +2 -2
package/README.md
CHANGED
|
@@ -30,7 +30,8 @@ Gates are discovered by **`AdminCap` ownership**, not by events:
|
|
|
30
30
|
3. Fetch each `Gate` shared object referenced by its `AdminCap.gate_id`.
|
|
31
31
|
|
|
32
32
|
This is deliberately **resilient to event pruning** — testnet fullnodes prune old events (including
|
|
33
|
-
the one-time `GateCreatedEvent`)
|
|
33
|
+
the one-time `GateCreatedEvent`) within days (about 5½ days when measured on 2026-10-08), so event-based
|
|
34
|
+
gate counting is unreliable. The
|
|
34
35
|
`AdminCap`→`Gate` path always reflects live on-chain reality. See
|
|
35
36
|
[`src/composables/useGates.ts`](src/composables/useGates.ts).
|
|
36
37
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meddleware/dao-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.30",
|
|
4
4
|
"homepage": "https://docs.meddleware.co.uk/blockchain/sui/dao/",
|
|
5
5
|
"description": "Meddleware DAO console — treasury overview, proposals, and governance on Sui.",
|
|
6
6
|
"author": "Meddleware <dev@meddleware.co.uk>",
|
|
@@ -44,16 +44,17 @@
|
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@meddleware/access-gate-client": "^0.0.
|
|
48
|
-
"@meddleware/design-tokens": "^0.1.
|
|
49
|
-
"@meddleware/ui": "^0.1.
|
|
50
|
-
"@mysten/sui": "^2.33.
|
|
47
|
+
"@meddleware/access-gate-client": "^0.0.8",
|
|
48
|
+
"@meddleware/design-tokens": "^0.1.9",
|
|
49
|
+
"@meddleware/ui": "^0.1.31",
|
|
50
|
+
"@mysten/sui": "^2.33.2",
|
|
51
51
|
"vue": "^3.5.43"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@meddleware/wallet-adapter": ">=0.0.12 <0.2.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
+
"@meddleware/eslint-config": "^0.0.2",
|
|
57
58
|
"@meddleware/wallet-adapter": "^0.0.13",
|
|
58
59
|
"@types/node": "~24.12.2",
|
|
59
60
|
"@vitejs/plugin-vue": "^6.0.9",
|
|
@@ -57,8 +57,8 @@ watch(
|
|
|
57
57
|
<UiStatRow label="Commission rate">{{ commissionPct }}</UiStatRow>
|
|
58
58
|
<UiStatRow label="Max commission cap">10.00% (1000 bps — on-chain hard cap)</UiStatRow>
|
|
59
59
|
<UiStatRow label="Treasury address" align="left">
|
|
60
|
-
<CopyableAddress v-if="config?.treasury" :address="config.treasury">
|
|
61
|
-
<ExplorerLink :href="suiExplorerUrl('account', config.treasury, explorerNetwork)" :value="config.treasury" />
|
|
60
|
+
<CopyableAddress v-if="config?.treasury" :address="config.treasury" :truncate="false">
|
|
61
|
+
<ExplorerLink :href="suiExplorerUrl('account', config.treasury, explorerNetwork)" :value="config.treasury" :truncate="false" />
|
|
62
62
|
</CopyableAddress>
|
|
63
63
|
<span v-else class="dao-mono dao-mono--sm">—</span>
|
|
64
64
|
</UiStatRow>
|
package/src/tabs/OverviewTab.vue
CHANGED
|
@@ -47,8 +47,8 @@ const accessesConsumed = computed(() => events.value.filter((e) => e.type === 'A
|
|
|
47
47
|
<UiStatRow label="SUI balance"><AmountCell :mist="balance" /></UiStatRow>
|
|
48
48
|
<UiStatRow label="Commission rate">{{ commissionPct }}</UiStatRow>
|
|
49
49
|
<UiStatRow label="Treasury address" align="left">
|
|
50
|
-
<CopyableAddress v-if="config?.treasury" :address="config.treasury">
|
|
51
|
-
<ExplorerLink :href="suiExplorerUrl('account', config.treasury, explorerNetwork)" :value="config.treasury" />
|
|
50
|
+
<CopyableAddress v-if="config?.treasury" :address="config.treasury" :truncate="false">
|
|
51
|
+
<ExplorerLink :href="suiExplorerUrl('account', config.treasury, explorerNetwork)" :value="config.treasury" :truncate="false" />
|
|
52
52
|
</CopyableAddress>
|
|
53
53
|
<span v-else class="dao-mono dao-mono--sm">—</span>
|
|
54
54
|
</UiStatRow>
|
package/src/tabs/TreasuryTab.vue
CHANGED
|
@@ -41,8 +41,8 @@ function formatPrice(mist: bigint): string {
|
|
|
41
41
|
<UiStatRow label="Commission rate">{{ commissionPct }} ({{ config.commissionBps }} bps)</UiStatRow>
|
|
42
42
|
<UiStatRow label="Current balance"><AmountCell :mist="balance" /></UiStatRow>
|
|
43
43
|
<UiStatRow label="Treasury address" align="left">
|
|
44
|
-
<CopyableAddress :address="config.treasury">
|
|
45
|
-
<ExplorerLink :href="suiExplorerUrl('account', config.treasury, explorerNetwork)" :value="config.treasury" />
|
|
44
|
+
<CopyableAddress :address="config.treasury" :truncate="false">
|
|
45
|
+
<ExplorerLink :href="suiExplorerUrl('account', config.treasury, explorerNetwork)" :value="config.treasury" :truncate="false" />
|
|
46
46
|
</CopyableAddress>
|
|
47
47
|
</UiStatRow>
|
|
48
48
|
</UiStatGrid>
|