Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add banner for the protocol winddown #1389

Merged
merged 1 commit into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .husky/_/husky.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/sh
#!/usr/bin/env sh
if [ -z "$husky_skip_init" ]; then
debug () {
if [ "$HUSKY_DEBUG" = "1" ]; then
echo "husky (debug) - $1"
fi
}

readonly hook_name="$(basename "$0")"
readonly hook_name="$(basename -- "$0")"
debug "starting $hook_name..."

if [ "$HUSKY" = "0" ]; then
Expand All @@ -19,13 +19,18 @@ if [ -z "$husky_skip_init" ]; then
. ~/.huskyrc
fi

export readonly husky_skip_init=1
readonly husky_skip_init=1
export husky_skip_init
sh -e "$0" "$@"
exitCode="$?"

if [ $exitCode != 0 ]; then
echo "husky - $hook_name hook exited with code $exitCode (error)"
fi

if [ $exitCode = 127 ]; then
echo "husky - command not found in PATH=$PATH"
fi

exit $exitCode
fi
fi
11 changes: 10 additions & 1 deletion src/pages/AppContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Alert, Link, styled, useTheme } from "@mui/material"
import React, { Suspense } from "react"
import { styled, useTheme } from "@mui/material"

import { AdapterDateFns } from "@mui/x-date-pickers/AdapterDateFns"
import DevTool from "../components/DevTool/DevTool"
Expand Down Expand Up @@ -37,6 +37,15 @@ export default function AppContainer() {
<LocalizationProvider dateAdapter={AdapterDateFns}>
<Suspense fallback={null}>
<AppWrapper>
<Alert severity="error">
The Saddle DAO voted to wind down the protocol by pausing all
pools and dissolving the community multisig in{" "}
<Link href="https://vote.saddle.community/#/proposal/0x271aef6b1d04cf08878b33d304add4827da146dc7b1ca12d802a3922e29ad34b">
SIP-54
</Link>
. Users are advised to withdraw their funds{" "}
<Link href="https://saddle.exchange/#/pools">here</Link>.
</Alert>
<Pages />
<Version />
<ToastContainer
Expand Down
Loading