-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CoW Amm Deployer] Check and set fallback handler domain verifier (#598)
* chore: remove unused milkman components * add create amm form * chore: remove milkmapp related files * add fallback and domain verifier alert * fix PR comments * [CoW Amm Deployer] Create and enable module (#599) * Update safe app info * feat: add module creation * run formatter * Update apps/cow-amm-deployer/public/manifest.json Co-authored-by: José Ribeiro <[email protected]> * fix PR comments * run formatter --------- Co-authored-by: José Ribeiro <[email protected]> --------- Co-authored-by: José Ribeiro <[email protected]>
- Loading branch information
1 parent
dfdf0de
commit c21d49d
Showing
24 changed files
with
1,345 additions
and
1,790 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "Milkman", | ||
"description": "UI for Milkman orders", | ||
"name": "CoW AMM Manager", | ||
"description": "UI to manage your CoW AMM", | ||
"iconPath": "favicon.ico" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
apps/cow-amm-deployer/src/app/amms/(components)/FallbackAndDomainWarning.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { AlertCard } from "#/components/AlertCard"; | ||
import { Checkbox } from "#/components/Checkbox"; | ||
|
||
export function FallbackAndDomainWarning({ | ||
confirmedFallbackSetup, | ||
setConfirmedFallbackSetup, | ||
}: { | ||
confirmedFallbackSetup: boolean; | ||
setConfirmedFallbackSetup: (value: boolean) => void; | ||
}) { | ||
return ( | ||
<AlertCard style="warning" title="Fallback Setting"> | ||
<Checkbox | ||
id="set" | ||
checked={confirmedFallbackSetup} | ||
onChange={() => setConfirmedFallbackSetup(!confirmedFallbackSetup)} | ||
label="Approve fallback and domain verifier setup" | ||
/> | ||
</AlertCard> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default function Layout({ children }: { children: React.ReactNode }) { | ||
return children; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.