Skip to content

Commit d168470

Browse files
authored
Merge pull request #425 from GiftedGiftB/Add-voting-rights-for-fractional-owners
Add voting rights for fractional owners
2 parents 8ab8cf6 + 7bc754e commit d168470

5 files changed

Lines changed: 11 additions & 0 deletions

File tree

propchain-dashboard/src/StellarClient.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@ export const CONTRACT_ID = "CBLZG7OAKIRCXM4FAQWBW6AWMYMQP7DMUMI5A4HKC2L757BKGBPL
66

77
export const fetchContractStats = async () => {
88
try {
9+
910
// const contract = new SorobanRpc.Address(CONTRACT_ID); // Unused variable removed
1011
// Simulate get_stats call
1112
const result = await server.simulateTransaction({
1213
transaction: { /* simulation details */ },
1314
// Simplified for brevity, use stellar-sdk contract methods here
15+
1416
});
17+
1518
return result;
1619
} catch (e) {
1720
console.error("RPC Error:", e);

propchain-dashboard/src/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
@tailwind utilities;
44

55
body {
6+
67
margin: 0;
78
background-color: #0f172a; /* Slate-900 for that dark theme */
89
}

propchain-dashboard/src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ import App from './App';
55

66
const root = ReactDOM.createRoot(document.getElementById('root'));
77
root.render(
8+
89
<React.StrictMode>
910
<App />
1011
</React.StrictMode>
12+
1113
);

propchain-dashboard/src/reportWebVitals.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
const reportWebVitals = onPerfEntry => {
22
if (onPerfEntry && onPerfEntry instanceof Function) {
3+
34
import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
45
getCLS(onPerfEntry);
56
getFID(onPerfEntry);
67
getFCP(onPerfEntry);
78
getLCP(onPerfEntry);
89
getTTFB(onPerfEntry);
10+
911
});
1012
}
1113
};

tests/bridge_load_tests.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ mod bridge_extreme_load_tests {
4343
daily_counts: Mutex<Vec<u64>>,
4444
rate_limit: u64,
4545
paused: std::sync::atomic::AtomicBool,
46+
4647
}
4748

4849
impl MockBridge {
@@ -75,6 +76,7 @@ mod bridge_extreme_load_tests {
7576
self.rejected_counter.fetch_add(1, Ordering::SeqCst);
7677
return None;
7778
}
79+
7880
counts[account_idx] += 1;
7981
}
8082
let id = self.request_counter.fetch_add(1, Ordering::SeqCst);
@@ -86,6 +88,7 @@ mod bridge_extreme_load_tests {
8688
status: BridgeStatus::Pending,
8789
expires_at_ms: expires_at,
8890
});
91+
8992
Some(id)
9093
}
9194

0 commit comments

Comments
 (0)