mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 02:00:31 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user