Skip to content

Commit 4a9eee4

Browse files
committed
feat: Diamond ASCII Art 💎
1 parent f02d2df commit 4a9eee4

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/Diamond.sol

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,29 @@ import {LibOwnableRoles} from "@diamond/libraries/LibOwnableRoles.sol";
66
import {DiamondArgs, FacetCut} from "@diamond-storage/DiamondStorage.sol";
77
import {FunctionDoesNotExist} from "@diamond-errors/DiamondErrors.sol";
88

9+
/*
10+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣤⡤⠤⠤⠴⠶⠒⠒⠛⠋⠉⠉⠙⠛⠒⠒⠶⠦⠤⠤⣤⣤⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
11+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣶⠟⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⠻⣶⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
12+
⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣛⣽⡟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢻⣭⣳⣦⣄⡀⠀⠀⠀⠀⠀⠀⠀
13+
⠀⠀⠀⠀⠀⣠⡾⠋⠉⢩⡟⠉⠛⢶⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⠶⠋⠉⢿⡉⠉⠙⢷⣄⠀⠀⠀⠀⠀
14+
⠀⠀⠀⣠⣾⠏⠀⠀⣰⠏⠀⠀⢀⣠⡼⠿⣷⠒⠒⠶⠦⠤⢤⣤⣤⣄⣀⣀⣀⣀⣀⣀⣤⣤⣤⠤⠤⠴⠶⠒⠒⣾⠻⢥⣄⡀⠀⠀⠻⣄⠀⠀⠹⣷⡀⠀⠀⠀
15+
⠀⢀⣴⡿⠃⠀⢀⣼⣇⡤⠖⠛⠉⠁⠀⠀⠘⣧⡀⠀⠀⠀⠀⠀⠀⢈⣩⡭⠟⠻⢯⣍⡁⠀⠀⠀⠀⠀⠀⢀⡾⠁⠀⠀⠈⠉⠛⠶⣤⣹⣆⠀⠀⠘⢿⣦⡀⠀
16+
⢰⣯⢟⣀⡤⢶⡿⢻⡁⠀⠀⠀⠀⠀⠀⠀⠀⠈⢷⡀⠀⢀⣠⡴⠞⠋⠁⠀⠀⠀⠀⠈⠙⠳⢦⣄⡀⠀⢠⡾⠁⠀⠀⠀⠀⠀⠀⠀⠀⢈⡟⢿⠶⣤⣈⠻⣿⡆
17+
⢿⣟⠉⠁⢠⡞⠁⠸⡇⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⢿⣾⡉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢉⣷⡿⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠃⠈⢷⡄⠈⠙⣻⡇
18+
⠈⢿⣷⣴⡏⠀⠀⠀⣿⠀⠀⠀⢀⣀⡤⠖⠛⠉⠀⣸⠀⠙⢶⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⠾⠋⠀⡇⠀⠉⠛⠶⣤⣀⠀⠀⠀⠀⡿⠀⠀⠀⢻⣤⢾⡟⠀
19+
⠀⠀⠻⣎⣛⣦⣄⣀⣸⣤⡤⠖⠋⠁⠀⠀⠀⠀⠀⣿⠀⠀⠀⠈⠳⣦⡀⠀⠀⠀⠀⢀⡴⠟⠁⠀⠀⠀⣷⠀⠀⠀⠀⠀⠉⠙⠲⣤⣴⣇⣀⣠⣶⣋⣱⠏⠀⠀
20+
⠀⠀⠀⠙⢳⣍⠉⠛⢯⣍⠙⠳⠦⣄⣀⣀⣀⣀⣤⣿⣄⡀⠀⠀⠀⠈⠛⢦⣀⣠⡶⠋⠀⠀⠀⠀⣀⣤⣿⣄⣀⣀⣀⣀⣤⠴⠞⠋⣡⡾⠋⢉⣤⠟⠃⠀⠀⠀
21+
⠀⠀⠀⠀⠀⠈⠻⣦⡀⠈⠻⣶⡒⠛⠋⠛⠿⢭⣄⡀⢈⣙⣛⣶⣖⣒⣒⡛⠛⠛⢛⣓⣒⣲⣖⣛⣋⡁⢀⣠⡭⠟⠛⠙⠛⢓⣶⠛⠁⢀⡴⠟⠁⠀⠀⠀⠀⠀
22+
⠀⠀⠀⠀⠀⠀⠀⠀⠙⢶⣄⠈⢿⣦⣀⠀⠀⠀⠈⠹⣏⠉⠀⠀⠀⠀⠉⠉⣻⡏⠉⠉⠀⠀⠀⠀⠉⣹⠏⠁⠀⠀⠀⣠⣶⡟⠁⣠⠾⠋⠀⠀⠀⠀⠀⠀⠀⠀
23+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠳⣬⡹⣟⢷⣄⠀⠀⠀⠙⣦⠀⠀⠀⠀⠀⢀⡟⣷⠀⠀⠀⠀⠀⠀⣼⠃⠀⠀⠀⣠⠞⡿⢋⣴⠞⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
24+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⢾⣷⡈⠳⣤⡀⠀⠘⢧⡀⠀⠀⠀⢸⠃⢸⡄⠀⠀⠀⢀⡾⠁⠀⢀⣴⠟⣡⣾⡵⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
25+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⣦⡈⠛⢦⣀⠈⢷⡀⠀⠀⡾⠀⠈⣧⠀⠀⢀⡾⠁⣀⡴⠋⢁⣴⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
26+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠛⢦⡀⠙⢷⣌⣷⡀⢰⡇⠀⠀⢹⡄⢠⡟⣠⠾⠋⣠⡴⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
27+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢶⣄⠙⠿⣷⣾⠁⠀⠀⠈⣧⣿⠞⠁⣠⡾⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
28+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠳⣦⡊⢻⣄⠀⠀⣰⠏⢁⡴⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
29+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⢶⣽⡄⣰⣫⠶⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
30+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
31+
*/
932
/// @notice Implements EIP-2535 Diamond proxy pattern, allowing dynamic addition, replacement, and removal of facets
1033
/// @author David Dada
1134
/// @author Modified from Nick Mudge (https://github.com/mudgen/diamond-3-hardhat/blob/main/contracts/Diamond.sol)

0 commit comments

Comments
 (0)