-
Notifications
You must be signed in to change notification settings - Fork 2
/
NFTBaseChips.sol
68 lines (61 loc) · 11.5 KB
/
NFTBaseChips.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.7;
import '@openzeppelin/contracts/utils/Strings.sol';
library NFTBaseChips {
string internal constant chipETH =
'<svg width="74" height="57" viewBox="0 0 74 57" fill="none" xmlns="http://www.w3.org/2000/svg">'
'<rect width="74" height="57" rx="6" fill="black" fill-opacity="0.25"/>'
'<path fill-rule="evenodd" clip-rule="evenodd" d="M0 5C0 2.23858 2.23858 0 5 0H35.8788V3.44561C27.6449 3.82022 20.4621 8.2984 16.2598 14.9174L12.8173 11.4H0V5ZM38.1212 3.44561V0H69C71.7614 0 74 2.23858 74 5V11.4H61.209L57.749 14.9336C53.5488 8.30563 46.3617 3.82078 38.1212 3.44561ZM62.1572 13.68H74L74 27.36H61.6667V28.5C61.6667 26.2378 61.3732 24.0458 60.8192 21.9611C60.3571 20.2172 59.7155 18.5484 58.914 16.9764L62.1572 13.68ZM61.6667 28.5V29.64H74L74 43.3462H62.1572L58.9053 40.0408C60.6703 36.5863 61.6667 32.6614 61.6667 28.5ZM61.209 45.6262H74V52C74 54.7614 71.7614 57 69 57H38.1212V53.5544C46.3551 53.1798 53.5379 48.7016 57.7402 42.0826L61.209 45.6262ZM35.8788 53.5544V57H5C2.23858 57 0 54.7614 0 52V45.6262H12.8173L16.2707 42.0987C20.4731 48.7088 27.6515 53.1803 35.8788 53.5544ZM11.8691 43.3462H0V29.64H12.3333V28.5C12.3333 32.6687 13.3341 36.5991 15.1035 40.0581L11.8691 43.3462ZM15.0948 16.9592C13.3297 20.4137 12.3333 24.3386 12.3333 28.5V27.36H0V13.68H11.8691L15.0948 16.9592ZM37 51.87C49.6947 51.87 59.9849 41.4068 59.9849 28.5C59.9849 15.5932 49.6947 5.13 37 5.13C24.3053 5.13 14.0152 15.5932 14.0152 28.5C14.0152 41.4068 24.3053 51.87 37 51.87ZM37.053 7.6423L24.9047 27.6075L37.053 22.1342V7.6423ZM37.553 22.1342V7.64243L49.6997 27.6075L37.553 22.1342ZM37.053 23.2346L24.7275 28.7844L37.053 36.0001V23.2346ZM37.553 36.0001V23.2346L49.8769 28.7844L37.553 36.0001ZM49.2004 32.9088L37.8032 39.5759L37.803 48.8092L49.2004 32.9088ZM36.803 48.8086V39.574L25.4123 32.9086L36.803 48.8086Z" fill="url(#paint0_linear_3351_1200)"/>'
'<defs>'
'<linearGradient id="paint0_linear_3351_1200" x1="2.05555" y1="55.9075" x2="73.822" y2="2.71399" gradientUnits="userSpaceOnUse">'
'<stop stop-color="#D7993E"/>'
'<stop offset="0.255208" stop-color="#DCAE56"/>'
'<stop offset="0.526042" stop-color="#E3C06E"/>'
'<stop offset="0.744792" stop-color="#E9D286"/>'
'<stop offset="1" stop-color="#EFE59E"/>'
'</linearGradient>'
'</defs>'
'</svg>';
string internal constant chipUSDT =
'<svg width="74" height="57" viewBox="0 0 74 57" fill="none" xmlns="http://www.w3.org/2000/svg">'
'<rect width="74" height="57" rx="6" fill="black" fill-opacity="0.25"/>'
'<path fill-rule="evenodd" clip-rule="evenodd" d="M0 5C0 2.23858 2.23858 0 5 0H35.8788V3.44561C27.6449 3.82022 20.4621 8.2984 16.2598 14.9174L12.8173 11.4H0V5ZM38.1212 3.44561V0H69C71.7614 0 74 2.23858 74 5V11.4H61.209L57.749 14.9336C53.5488 8.30563 46.3617 3.82078 38.1212 3.44561ZM62.1572 13.68H74L74 27.36H61.6667V28.5C61.6667 26.2378 61.3732 24.0458 60.8192 21.9611C60.3571 20.2172 59.7155 18.5484 58.914 16.9764L62.1572 13.68ZM61.6667 28.5V29.64H74L74 43.3462H62.1572L58.9053 40.0408C60.6703 36.5863 61.6667 32.6614 61.6667 28.5ZM61.209 45.6262H74V52C74 54.7614 71.7614 57 69 57H38.1212V53.5544C46.3551 53.1798 53.5379 48.7016 57.7402 42.0826L61.209 45.6262ZM35.8788 53.5544V57H5C2.23858 57 0 54.7614 0 52V45.6262H12.8173L16.2707 42.0987C20.4731 48.7088 27.6515 53.1803 35.8788 53.5544ZM11.8691 43.3462H0V29.64H12.3333V28.5C12.3333 32.6687 13.3341 36.5991 15.1035 40.0581L11.8691 43.3462ZM15.0948 16.9592C13.3297 20.4137 12.3333 24.3386 12.3333 28.5V27.36H0V13.68H11.8691L15.0948 16.9592ZM37 51.87C49.6947 51.87 59.9849 41.4068 59.9849 28.5C59.9849 15.5932 49.6947 5.13 37 5.13C24.3053 5.13 14.0152 15.5932 14.0152 28.5C14.0152 41.4068 24.3053 51.87 37 51.87ZM37.5511 29.9472C39.6375 29.9472 40.5729 29.8895 40.7539 29.8755L40.7479 29.874C47.1491 29.5811 51.9239 28.4283 51.9239 27.0511C51.9239 25.674 47.1476 24.5212 40.7479 24.2267V28.7289C40.5684 28.7461 39.5711 28.8318 37.5797 28.8318C35.9202 28.8318 34.7193 28.7585 34.2999 28.7274V24.2236C27.8867 24.5196 23.0997 25.6709 23.0997 27.0511C23.0997 28.4314 27.8867 29.5842 34.2999 29.8755C34.7133 29.8958 35.8915 29.9472 37.5511 29.9472ZM40.7539 23.7595V23.7609L40.7524 23.7594C40.7529 23.7594 40.7534 23.7594 40.7539 23.7595ZM40.7539 19.7308V23.7595C47.9992 24.1054 53.4431 25.5884 53.4431 27.3658C53.4431 29.1433 47.9939 30.6264 40.7524 30.9707V43.89H34.2984V30.9754C27.0403 30.6295 21.582 29.1465 21.582 27.3674C21.582 25.5883 27.0403 24.1037 34.2984 23.7594V19.7308H25.3687V13.585H49.6851V19.7308H40.7539Z" fill="url(#paint0_linear_3351_1196)"/>'
'<defs>'
'<linearGradient id="paint0_linear_3351_1196" x1="2.05555" y1="55.9075" x2="73.822" y2="2.71399" gradientUnits="userSpaceOnUse">'
'<stop stop-color="#D7993E"/>'
'<stop offset="0.255208" stop-color="#DCAE56"/>'
'<stop offset="0.526042" stop-color="#E3C06E"/>'
'<stop offset="0.744792" stop-color="#E9D286"/>'
'<stop offset="1" stop-color="#EFE59E"/>'
'</linearGradient>'
'</defs>'
'</svg>';
string internal constant chipWBTC =
'<svg width="74" height="57" viewBox="0 0 74 57" fill="none" xmlns="http://www.w3.org/2000/svg">'
'<rect width="74" height="57" rx="6" fill="black" fill-opacity="0.25"/>'
'<path fill-rule="evenodd" clip-rule="evenodd" d="M0 5.18182C0 2.31998 2.31998 0 5.18182 0H35.8661V3.44561C27.6351 3.82022 20.4549 8.2984 16.254 14.9174L12.8127 11.4H0V5.18182ZM38.1077 3.44561V0H68.8182C71.68 0 74 2.31998 74 5.18182V11.4H61.1873L57.7285 14.9336C53.5298 8.30563 46.3452 3.82078 38.1077 3.44561ZM62.1351 13.68H74V43.3462H62.1351L58.8843 40.0408C60.6487 36.5863 61.6448 32.6614 61.6448 28.5V29.64H73.9737V27.36H61.6448V28.5C61.6448 26.2378 61.3514 24.0458 60.7976 21.9611C60.3357 20.2172 59.6943 18.5484 58.8931 16.9764L62.1351 13.68ZM61.1873 45.6262H74V51.8182C74 54.68 71.68 57 68.8182 57H38.1077V53.5544C46.3387 53.1798 53.5189 48.7016 57.7197 42.0826L61.1873 45.6262ZM35.8661 53.5544V57H5.18182C2.31998 57 0 54.68 0 51.8182V45.6262H12.8127L16.2649 42.0987C20.4658 48.7088 27.6416 53.1803 35.8661 53.5544ZM11.8649 43.3462H0V29.64H12.329V28.5C12.329 32.6687 13.3294 36.5991 15.0982 40.0581L11.8649 43.3462ZM15.0894 16.9592C13.325 20.4137 12.329 24.3386 12.329 28.5V27.36H0V13.68H11.8649L15.0894 16.9592ZM36.9869 51.87C49.677 51.87 59.9636 41.4068 59.9636 28.5C59.9636 15.5932 49.677 5.13 36.9869 5.13C24.2967 5.13 14.0102 15.5932 14.0102 28.5C14.0102 41.4068 24.2967 51.87 36.9869 51.87ZM48.9324 21.2435C49.2163 24.159 48.001 25.9091 46.0585 26.9028C49.2563 27.6734 51.2606 29.5822 50.8654 33.8584C50.3752 39.1699 46.4321 40.5947 40.7997 40.9195L40.7978 46.4993H37.4471L37.448 40.9946C36.5798 40.9958 35.691 40.9876 34.7702 40.9688L34.7711 46.4993L31.4241 46.4984L31.4212 40.9092C31.1519 40.9071 30.8808 40.9042 30.6079 40.9012C30.0874 40.8956 29.5605 40.89 29.0275 40.8893H24.6676L25.3323 36.8723C25.3323 36.8723 27.813 36.9109 27.7698 36.8727C28.7185 36.8715 28.9698 36.1867 29.0296 35.7581V26.9144L29.0285 20.6185C28.9011 19.9356 28.4581 19.1444 27.1014 19.1435C27.1421 19.0981 24.6676 19.1449 24.6676 19.1449L24.667 15.5525L29.2889 15.5544V15.5708C29.9846 15.5708 30.6971 15.5566 31.4227 15.5417L31.4233 10.0165L34.7711 10.0168L34.7718 15.4328C35.6665 15.4147 36.5652 15.3974 37.4469 15.3974L37.4478 10.0161H40.7986L40.7995 15.5427C45.1242 15.9232 48.5501 17.2592 48.9324 21.2435ZM35.5398 19.3741C35.2759 19.3811 35.0431 19.3873 34.8519 19.3873V26.1038C35.0095 26.1038 35.1952 26.1068 35.4032 26.1103C37.6924 26.1483 42.6853 26.2311 42.6861 22.7472C42.6853 19.1842 37.8837 19.3118 35.5398 19.3741ZM34.8519 29.4945L34.8505 36.9C35.0377 36.8998 35.2579 36.903 35.5044 36.9064C38.2483 36.9451 44.2461 37.0297 44.2452 33.1955C44.2443 29.2744 38.4765 29.4129 35.6673 29.4803C35.3549 29.4878 35.0791 29.4944 34.8519 29.4945Z" fill="url(#paint0_linear_3351_1191)"/>'
'<defs>'
'<linearGradient id="paint0_linear_3351_1191" x1="2.05555" y1="55.4454" x2="73.3986" y2="2.12508" gradientUnits="userSpaceOnUse">'
'<stop stop-color="#D7993E"/>'
'<stop offset="0.255208" stop-color="#DCAE56"/>'
'<stop offset="0.526042" stop-color="#E3C06E"/>'
'<stop offset="0.744792" stop-color="#E9D286"/>'
'<stop offset="1" stop-color="#EFE59E"/>'
'</linearGradient>'
'</defs>'
'</svg>';
string internal constant chipWPAXG =
'<svg width="74" height="57" viewBox="0 0 74 57" fill="none" xmlns="http://www.w3.org/2000/svg">'
'<rect width="74" height="57" rx="5" fill="black" fill-opacity="0.25"/>'
'<path fill-rule="evenodd" clip-rule="evenodd" d="M5 0C2.23858 0 0 2.23858 0 5V11H11.4219L11.4196 11.0054L14.2376 13.8234C15.2312 9.34717 19.2247 6 24 6H36V0H5ZM38 0V6H50C54.7753 6 58.7688 9.34717 59.7624 13.8234L62.5804 11.0054L62.5781 11H74V5C74 2.23858 71.7614 0 69 0H38ZM74 13H63.4142L60 16.4142V28H74V13ZM74 30H60V41C60 41.3221 59.9848 41.6407 59.955 41.955L63.4142 45.4142H74V30ZM74 47.4142H62.5781L62.5804 47.4088L59.4502 44.2786C58.0929 48.1911 54.3745 51 50 51H38V57H69C71.7614 57 74 54.7614 74 52V47.4142ZM36 57V51H24C19.6255 51 15.9071 48.1911 14.5498 44.2786L11.4196 47.4088L11.4219 47.4142H0V52C0 54.7614 2.23858 57 5 57H36ZM0 45.4142H10.5858L14.045 41.955C14.0152 41.6407 14 41.3221 14 41V30H0V45.4142ZM0 28H14V16.4142L10.5858 13H0V28ZM16 41V16C16 11.5817 19.5817 8 24 8H50C54.4183 8 58 11.5817 58 16V38.8034H32.9787L25.8833 45.1784H56.8234C55.4166 47.4709 52.8869 49 50 49H24C19.5817 49 16 45.4183 16 41ZM47.0096 14.373H49V16.8864H48.4762L48.3518 16.3249C47.9131 16.8329 47.5137 17 46.9441 17C45.5429 17 44.7049 15.8636 44.7049 14.5C44.7049 13.1364 45.5429 12 46.9441 12C47.9655 12 48.8232 12.5548 48.9476 13.631H48.1488C48.0703 13.0027 47.5334 12.6818 46.9441 12.6818C45.9423 12.6818 45.5233 13.5842 45.5233 14.5C45.5233 15.4158 45.9423 16.3182 46.9441 16.3182C47.7822 16.3316 48.2405 15.8168 48.2536 15.008H47.0096V14.373ZM26.2309 16.8864H27.0755L28.0315 13.2366H28.0446L28.9809 16.8864H29.8124L31.1022 12.1136H30.2707L29.3999 15.7634H29.3868L28.4702 12.1136H27.6321L26.6892 15.7634H26.6762L25.8315 12.1136H25L26.2309 16.8864ZM32.6562 16.8864H31.8378V12.1136H33.9002C35.2359 12.1136 35.4912 12.996 35.4912 13.5909C35.4912 14.1791 35.2359 15.0615 33.9002 15.0548H32.6562V16.8864ZM33.8675 12.7955H32.6562V14.373H33.8544C34.221 14.373 34.6728 14.1858 34.6728 13.5842C34.6728 12.9559 34.2996 12.7955 33.8675 12.7955ZM36.2165 16.8864H35.3719L37.1659 12.1136H38.0367L39.8373 16.8864H38.9599L38.5212 15.623H36.6552L36.2165 16.8864ZM37.6046 12.9358H37.5849L36.8778 14.988H38.3052L37.6046 12.9358ZM39.9616 16.8864L41.6181 14.4131L40.0729 12.1136H41.0485L42.1092 13.7981L43.2157 12.1136H44.1324L42.5872 14.4131L44.2437 16.8864H43.2485L42.083 15.0615L40.8979 16.8864H39.9616ZM23 35.6512H25.6598L27.0413 31.7729H32.9176L34.299 35.6512H37.0619L31.3918 21H28.6495L23 35.6512ZM29.9691 23.5239H30.031L32.2372 29.8235H27.7423L29.9691 23.5239ZM44.9587 36C41.3298 36 38.9175 34.1327 38.9175 30.3776V21H41.4948V29.5363C41.4948 31.5062 41.6185 33.7839 44.9587 33.7839C48.299 33.7839 48.4227 31.5062 48.4227 29.5363V21H51V30.3776C51 34.1327 48.5876 36 44.9587 36Z" fill="url(#paint0_linear_1315_10169)"/>'
'<defs>'
'<linearGradient id="paint0_linear_1315_10169" x1="2.05555" y1="55.4454" x2="73.3986" y2="2.12508" gradientUnits="userSpaceOnUse">'
'<stop stop-color="#D7993E"/>'
'<stop offset="0.255208" stop-color="#DCAE56"/>'
'<stop offset="0.526042" stop-color="#E3C06E"/>'
'<stop offset="0.744792" stop-color="#E9D286"/>'
'<stop offset="1" stop-color="#EFE59E"/>'
'</linearGradient>'
'</defs>'
'</svg>';
}