Remove remaining Gnosis safe code

This should have been removed in
cb12d8eeab.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-10-11 17:36:07 +02:00
parent 0b27e4bbfd
commit f6165978f8
5 changed files with 0 additions and 60 deletions
-15
View File
@@ -21,16 +21,9 @@ import emojis from "@app/emojis";
export enum AddressType {
Contract,
Org,
Safe,
EOA,
}
export interface Safe {
address: string;
owners: string[];
threshold: number;
}
export interface Token {
name: string;
symbol: string;
@@ -305,14 +298,6 @@ export function explorerLink(addr: string, config: Config): string {
return `https://etherscan.io/address/${addr}`;
}
// Get the Gnosis Safe link of an address, eg. Etherscan.
export function safeLink(addr: string, config: Config): string {
if (config.safe.viewer) {
return `${config.safe.viewer}/${addr}`;
}
return explorerLink(addr, config);
}
// Format a name.
export function formatName(input: string, config: Config): string {
return parseEnsLabel(input, config);