Skip to content

Commit 45b0cf6

Browse files
authored
Merge branch 'main' into 902-traefik-image-upgrade
2 parents a59e031 + 6f3b9a2 commit 45b0cf6

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

components/TokenSupply.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const TokenSupply = (props: ISupply) => {
99
const classCell =
1010
"text-sm text-center py-4 lg:min-h-96px border-t border-solid border-color-cell-border";
1111
return (
12-
<div className="md:grid grid-cols-4 mx-auto">
12+
<div className="md:grid grid-cols-3 mx-auto">
1313
<div className={classCell}>
1414
<h3 className={classTitle}>Locked by governance</h3>
1515
<strong>
@@ -24,10 +24,6 @@ export const TokenSupply = (props: ISupply) => {
2424
<h3 className={classTitle}>Locked rewards</h3>
2525
<strong>{noDecimals(toCurrency(props.lockedRewards))} tokens</strong>
2626
</div>
27-
<div className={classCell}>
28-
<h3 className={classTitle}>Time locked</h3>
29-
<strong>{noDecimals(toCurrency(props.timeLocked))} tokens</strong>
30-
</div>
3127
</div>
3228
);
3329
};

services/supply.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,8 @@ export const Supply = {
9595
18,
9696
);
9797
console.log("Locked Rewards", lockedRewards);
98-
const timeLocked = withDecimals(
99-
(await supplyContract.getTimelocked()).toString(),
100-
18,
101-
);
98+
// There are no longer any time-locked tokens
99+
const timeLocked = withDecimals("0", 18);
102100
console.log("Time locked", timeLocked);
103101

104102
await prisma.api3Supply.create({

0 commit comments

Comments
 (0)