@metamask/institutional-wallet-snap 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32" fill="none">
2
+ <g clip-path="url(#clip0_4284_19554)">
3
+ <rect width="32" height="32" rx="4" fill="white"/>
4
+ <path d="M15.9583 27.5C15.9583 27.5 25.7914 24.1545 25.7914 11.8674V7.44457C25.7914 6.9598 25.4144 6.57078 24.9415 6.54085C23.158 6.45108 18.9268 6.09199 15.9583 4.5C12.9956 6.09199 8.75836 6.45108 6.97486 6.53486C6.50205 6.57078 6.125 6.9598 6.125 7.44457V11.8674C6.125 24.1545 15.9583 27.5 15.9583 27.5Z" fill="#00AEEF"/>
5
+ <path d="M19.9316 13.4826C19.812 12.1419 18.6628 11.6811 17.2025 11.5434L17.2085 9.67017L16.0773 9.67615L16.0833 11.4896C15.7841 11.4896 15.4668 11.4896 15.1617 11.4956V9.6582L14.0186 9.66419L14.0246 11.5255C13.7791 11.5315 11.7383 11.5315 11.7383 11.5315V12.7225H13.1866L13.1807 18.7073L11.9118 18.7133L11.8999 20.078C11.8999 20.078 13.6953 20.072 13.9587 20.072L13.9647 21.9572L15.0898 21.9632L15.1018 20.09C15.4131 20.0958 15.7122 20.1018 16.0056 20.1078L15.9996 21.9632H17.1427L17.1367 20.09C19.0398 19.9941 20.3805 19.5213 20.5601 17.7378C20.7037 16.2955 20.0333 15.6491 18.9501 15.3857C19.6085 15.0506 20.0215 14.4641 19.9316 13.4826ZM18.3217 17.4925C18.3097 18.899 15.9277 18.7253 15.1557 18.7193L15.1497 16.2237C15.9217 16.2296 18.3337 16.0262 18.3217 17.4925ZM17.819 13.9733C17.807 15.2541 15.82 15.0925 15.1856 15.0865L15.1796 12.8242C15.814 12.8242 17.825 12.6387 17.819 13.9733Z" fill="white"/>
6
+ </g>
7
+ <defs>
8
+ <clipPath id="clip0_4284_19554">
9
+ <rect width="32" height="32" rx="4" fill="white"/>
10
+ </clipPath>
11
+ </defs>
12
+ </svg>
@@ -0,0 +1,11 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32" fill="none">
2
+ <rect width="32" height="32" rx="4" fill="white"/>
3
+ <g clip-path="url(#clip0_4284_19593)">
4
+ <path d="M16.0193 19.9909C13.8104 19.9909 12.0199 18.2019 12.0221 15.996C12.0164 13.7992 13.7952 12.0147 15.995 12.009H16.0377C17.7967 12.0168 19.2872 13.1588 19.8136 14.7403C19.8583 14.875 19.9444 14.9923 20.0596 15.0754C20.1748 15.1586 20.3133 15.2034 20.4554 15.2035H23.976C24.0197 15.2035 24.0617 15.1861 24.0926 15.1552C24.1236 15.1243 24.141 15.0824 24.141 15.0387V14.132C24.141 14.1126 24.1487 14.094 24.1625 14.0802C24.1762 14.0665 24.1949 14.0588 24.2143 14.0588H25.0721C25.0915 14.0588 25.1102 14.0665 25.1239 14.0802C25.1377 14.094 25.1454 14.1126 25.1454 14.132V15.0389C25.1454 15.0826 25.1628 15.1245 25.1938 15.1554C25.2247 15.1863 25.2667 15.2037 25.3105 15.2037H25.8121C25.8559 15.2037 25.8979 15.1863 25.9288 15.1554C25.9598 15.1245 25.9772 15.0826 25.9772 15.0389V14.132C25.9772 14.1126 25.9849 14.094 25.9986 14.0802C26.0124 14.0665 26.031 14.0588 26.0505 14.0588H26.9083C26.9277 14.0588 26.9464 14.0665 26.9601 14.0802C26.9739 14.094 26.9816 14.1126 26.9816 14.132V15.0389C26.9816 15.0826 26.999 15.1245 27.0299 15.1554C27.0609 15.1863 27.1029 15.2037 27.1466 15.2037H27.8342C27.878 15.2037 27.92 15.1863 27.9509 15.1554C27.9819 15.1245 27.9993 15.0826 27.9993 15.0389C27.9993 15.0343 27.9993 15.0296 27.9993 15.025C27.5029 8.85639 22.333 4.00385 16.0269 4C9.39083 3.99597 4 9.37502 4 16.0002C4 22.6254 9.38129 28 16.0193 28C22.3288 28 27.5027 23.1462 27.9994 16.9747C28.0012 16.9531 27.9987 16.9314 27.9921 16.9108C27.9855 16.8902 27.9749 16.8711 27.9609 16.8546C27.9469 16.8381 27.9297 16.8245 27.9105 16.8146C27.8912 16.8047 27.8701 16.7987 27.8485 16.7969C27.8438 16.7969 27.8392 16.7969 27.8344 16.7969H20.4558C20.3129 16.7974 20.1738 16.8428 20.0582 16.9267C19.9427 17.0106 19.8565 17.1287 19.812 17.2643C19.2824 18.8485 17.7846 19.9909 16.0193 19.9909Z" fill="#1C46A0"/>
5
+ </g>
6
+ <defs>
7
+ <clipPath id="clip0_4284_19593">
8
+ <rect width="24" height="24" fill="white" transform="translate(4 4)"/>
9
+ </clipPath>
10
+ </defs>
11
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
2
+ <path d="M23.0522 0C23.5757 0 24 0.429807 24 0.96V23.04C24 23.5702 23.5757 24 23.0522 24H0.947791C0.424341 24 0 23.5702 0 23.04V0.96C0 0.429807 0.424341 0 0.947791 0H23.0522ZM11.9999 6.66667L5.33328 17.3333H18.6666L11.9999 6.66667Z" fill="#002E7F"/>
3
+ </svg>
package/images/gk8.svg ADDED
@@ -0,0 +1,20 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 -34.5 129 129">
2
+ <g>
3
+ <g>
4
+ <g>
5
+ <g>
6
+ <path fill="#00e6e6" d="M104.997 52.376a7.849 7.849 0 1 1 0-15.698 7.849 7.849 0 0 1 0 15.698zm9.814-19.595a12.908 12.908 0 0 0 3.149-8.463c0-7.159-5.804-12.962-12.963-12.962-7.159 0-12.962 5.803-12.962 12.962 0 3.235 1.188 6.191 3.148 8.463a15.275 15.275 0 0 0-5.494 11.747c0 8.454 6.853 15.308 15.308 15.308s15.309-6.854 15.309-15.308c0-4.72-2.137-8.939-5.495-11.747z"/>
7
+ </g>
8
+ <g>
9
+ <path fill="#00e6e6" d="M23.375 59.153c-6.372 0-11.862-2.235-16.466-6.707C2.303 47.975 0 42.284 0 35.375c0-6.909 2.303-12.61 6.909-17.105 4.604-4.493 10.239-6.74 16.903-6.74 4.964 0 9.379 1.219 13.247 3.655a20.356 20.356 0 0 1 5.935 5.658c1.38 1.987-.02 4.706-2.44 4.706h-2.58a2.952 2.952 0 0 1-2.46-1.298c-2.552-3.83-6.453-5.745-11.702-5.745-4.696 0-8.531 1.542-11.504 4.628-2.975 3.085-4.46 7.166-4.46 12.241 0 5.076 1.485 9.156 4.46 12.241 2.973 3.086 6.674 4.629 11.101 4.629 4.428 0 7.949-1.174 10.564-3.522 1.663-1.492 2.906-3.323 3.729-5.493.744-1.962-.687-4.065-2.785-4.065H24.18a2.984 2.984 0 1 1 0-5.97H43.9a2.984 2.984 0 0 1 2.985 2.985v2.774c0 .14-.009.281-.028.421-.75 5.499-3.245 10.157-7.484 13.976-4.293 3.869-9.625 5.802-15.998 5.802z"/>
10
+ </g>
11
+ <g>
12
+ <path fill="#00e6e6" d="M57.103 58.65h-.307a3.67 3.67 0 0 1-3.67-3.67V15.703a3.67 3.67 0 0 1 3.67-3.67h.307a3.67 3.67 0 0 1 3.67 3.67v17.594l17.65-20.02a3.669 3.669 0 0 1 2.753-1.243c3.192 0 4.862 3.794 2.706 6.148L70.316 32.99a3.67 3.67 0 0 0-.027 4.928l13.102 14.614c2.119 2.362.442 6.118-2.732 6.118h-.165a3.669 3.669 0 0 1-2.776-1.269L60.772 37.79v17.19a3.67 3.67 0 0 1-3.669 3.67z"/>
13
+ </g>
14
+ </g>
15
+ <g>
16
+ <path fill="#00e6e6" d="M117.587 5.706a5.706 5.706 0 1 1 11.413 0 5.706 5.706 0 0 1-11.413 0z"/>
17
+ </g>
18
+ </g>
19
+ </g>
20
+ </svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="25" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.037 0H6.975C2.605 0 0 2.617 0 6.987v10.05c0 4.37 2.605 6.975 6.975 6.975h10.05c4.37 0 6.975-2.605 6.975-6.976V6.988C24.012 2.617 21.407 0 17.037 0ZM11.49 17.757c0 .36-.18.684-.492.876a.975.975 0 0 1-.54.156 1.11 1.11 0 0 1-.469-.108l-4.202-2.1a1.811 1.811 0 0 1-.985-1.61v-3.973c0-.36.18-.685.493-.877a1.04 1.04 0 0 1 1.008-.048l4.202 2.101a1.8 1.8 0 0 1 .997 1.609v3.974h-.012Zm-.252-6.423L6.723 8.896a1.045 1.045 0 0 1-.528-.924c0-.384.204-.744.528-.924l4.515-2.438a1.631 1.631 0 0 1 1.524 0l4.515 2.438c.324.18.528.528.528.924s-.204.744-.528.924l-4.515 2.438c-.24.132-.504.192-.768.192a1.54 1.54 0 0 1-.756-.192Zm7.972 3.638c0 .684-.385 1.308-.997 1.608l-4.202 2.101c-.144.072-.3.108-.468.108a.975.975 0 0 1-.54-.156 1.017 1.017 0 0 1-.493-.876v-3.974c0-.684.384-1.309.997-1.609l4.202-2.101a1.04 1.04 0 0 1 1.008.048c.313.192.493.516.493.877v3.974Z" fill="#24272A"/></svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 1024 1024" fill="none">
2
+ <path d="M409.166 218.478C454.87 141.841 569.13 141.841 614.834 218.478L895.914 689.798C941.618 766.435 884.488 862.232 793.08 862.232H230.92C139.512 862.232 82.3816 766.435 128.086 689.798L409.166 218.478Z" fill="black"/>
3
+ </svg>
@@ -0,0 +1,14 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 480 480" fill="none">
2
+ <g clip-path="url(#clip0_1_2)">
3
+ <path d="M480 240C480 372.547 372.547 480 240 480C107.453 480 -3.05176e-05 372.547 -3.05176e-05 240C-3.05176e-05 107.453 107.453 -3.05176e-05 240 -3.05176e-05C372.547 -3.05176e-05 480 107.453 480 240ZM398.187 79.4266C394.192 81.0898 393.034 87.432 395.6 93.5915C398.166 99.7511 403.482 103.399 407.477 101.736C411.472 100.072 412.63 93.7302 410.064 87.5706C407.498 81.4111 402.18 77.7635 398.187 79.4266ZM382.442 422.44C341.108 438.44 263.331 446.216 197.553 443.549C233.558 457.352 337.148 456.509 382.442 422.44ZM269.166 180.6C263.571 180.6 259.038 182.867 259.038 185.666C259.038 188.466 263.571 190.732 269.166 190.732C274.762 190.732 279.295 188.464 279.295 185.666C279.293 182.867 274.76 180.6 269.166 180.6ZM422.411 137.939C413.104 148.044 398.581 158.157 386.666 164.333C412.916 157.404 423.626 162.019 432.932 155.255C438.979 150.852 431.839 127.704 422.41 137.939H422.411ZM264.411 360.534C187.788 359.345 222.336 383.58 259.734 383.911C293.044 384.204 339.792 361.703 264.411 360.534ZM177.557 264.663C170 260.439 155.781 252.22 146 245.106C154 247.772 164.443 248.663 191.111 247.33C173.778 245.772 144.889 238.439 121.778 231.996C132.444 244.22 152.444 260.663 177.56 264.663L177.557 264.663ZM271.335 305.106C247.778 304.215 214.224 300.439 189.78 295.106C212.649 308.349 240.824 314.673 271.335 305.106ZM286.892 297.772C304.668 284.882 290.892 275.548 272.002 265.548C287.559 265.772 350.668 259.324 375.006 246.328C324.668 256.333 234.668 249.996 207.113 247.772C231.561 256.22 275.562 273.554 286.895 297.772H286.892Z" fill="url(#paint0_linear_1_2)"/>
4
+ </g>
5
+ <defs>
6
+ <linearGradient id="paint0_linear_1_2" x1="62.6666" y1="43.1667" x2="287" y2="296.5" gradientUnits="userSpaceOnUse">
7
+ <stop stop-color="#444FAC"/>
8
+ <stop offset="1" stop-color="#8BBAF9"/>
9
+ </linearGradient>
10
+ <clipPath id="clip0_1_2">
11
+ <rect width="480" height="480" fill="white"/>
12
+ </clipPath>
13
+ </defs>
14
+ </svg>
@@ -0,0 +1,11 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 90 90" fill="none">
2
+ <g transform="translate(0, 29)">
3
+ <path d="M44.5568 15.3278C43.7367 15.0109 42.735 14.7468 41.5518 14.5349H41.5267C40.3772 14.3399 39.5148 14.1609 38.9401 13.9979C38.3653 13.8358 37.9133 13.6162 37.5834 13.3395C37.2535 13.0633 37.0891 12.6811 37.0891 12.193C37.0891 11.4775 37.3682 10.9327 37.9258 10.5588C38.484 10.1848 39.2191 9.99761 40.1318 9.99761C41.1294 9.99761 41.936 10.2414 42.5535 10.7296C43.1076 11.1679 43.447 11.7247 43.5717 12.399C43.5964 12.5335 43.7145 12.6327 43.8563 12.6342L46.6622 12.6545C46.8342 12.6559 46.972 12.5137 46.9549 12.3487C46.8608 11.4465 46.5516 10.626 46.0276 9.88779C45.4443 9.06683 44.6413 8.42826 43.6185 7.97254C42.5957 7.51732 41.4337 7.28946 40.1318 7.28946C38.8978 7.28946 37.7866 7.50909 36.7975 7.94836C35.8089 8.38762 35.0395 8.99717 34.4899 9.77798C33.9403 10.5588 33.6658 11.4368 33.6658 12.4126C33.6658 13.4861 33.9107 14.3482 34.4009 14.9983C34.8912 15.649 35.5333 16.141 36.3278 16.4743C37.1223 16.8077 38.0772 17.0718 39.193 17.2672L39.3197 17.2914C40.5024 17.5028 41.3864 17.6901 41.9697 17.8526C42.553 18.0156 43.0131 18.243 43.3515 18.5357C43.6894 18.8284 43.8584 19.227 43.8584 19.7311C43.8584 20.4471 43.5541 21.0078 42.9457 21.4141C42.3373 21.821 41.5508 22.0242 40.5874 22.0242C39.4374 22.0242 38.5081 21.7436 37.7981 21.1824C37.152 20.672 36.7718 20.0165 36.6577 19.2163C36.6381 19.078 36.5184 18.973 36.3736 18.9711L33.5712 18.9304C33.4008 18.928 33.263 19.0664 33.2761 19.2299C33.3555 20.2139 33.6753 21.1006 34.2355 21.8902C34.8525 22.7605 35.7018 23.4435 36.7839 23.9394C37.8655 24.4358 39.108 24.6834 40.5114 24.6834C41.8128 24.6834 42.9794 24.4561 44.0107 24.0004C45.0415 23.5451 45.8491 22.9148 46.4324 22.1098C47.0157 21.3048 47.3073 20.3982 47.3073 19.3895C47.3073 18.3161 47.0534 17.4501 46.5465 16.7912C46.0397 16.1323 45.3759 15.6447 44.5563 15.3273L44.5568 15.3278Z" fill="#121312"/>
4
+ <path d="M61.7876 21.9027H61.3497C61.0962 21.9027 60.8971 21.8379 60.7538 21.7073C60.61 21.5776 60.5381 21.3657 60.5381 21.0731V16.4134C60.5381 14.9335 60.0478 13.8073 59.0678 13.0347C58.0872 12.2626 56.9327 11.8688 55.124 11.8688C53.4163 11.8688 52.0823 12.2259 51.0344 12.9249C50.079 13.5625 49.5032 14.4357 49.3061 15.546C49.2754 15.7187 49.4112 15.8769 49.5927 15.8769H52.1698C52.299 15.8769 52.4147 15.7951 52.4489 15.6751C52.5665 15.2644 52.826 14.9292 53.2273 14.6694C53.6919 14.3685 54.244 14.218 54.9711 14.218C56.3424 14.218 57.3174 15.0312 57.3174 16.2426V16.6214C57.3174 16.7762 57.1871 16.9015 57.0262 16.9015H54.6921C52.7989 16.9015 51.3617 17.2595 50.3817 17.975C49.4012 18.691 48.9109 19.7074 48.9109 21.0242C48.9109 22.163 49.3589 23.0575 50.255 23.7077C50.9273 24.1953 51.7308 24.4769 52.558 24.6002C53.1901 24.6946 53.8392 24.7289 54.4728 24.6312C55.1366 24.5291 55.6756 24.266 56.2152 23.8905C56.6999 23.5538 57.1042 23.1223 57.4733 22.596C57.6533 22.2985 58.1255 22.4179 58.1255 22.7619V23.1755C58.125 23.9273 58.758 24.5369 59.5394 24.5369H61.7876C61.9486 24.5369 62.0788 24.4116 62.0788 24.2568V22.1823C62.0788 22.0275 61.9486 21.9022 61.7876 21.9022V21.9027ZM57.3179 19.39C57.3179 19.9918 57.1866 20.5162 56.9247 20.9632C56.3756 21.9008 55.393 22.3904 54.2873 22.3904C53.6446 22.3904 53.1292 22.2443 52.7405 21.9516C52.3513 21.6589 52.1572 21.2685 52.1572 20.7804C52.1572 20.2279 52.3729 19.8007 52.8039 19.4998C53.2348 19.1994 53.8473 19.0485 54.6423 19.0485H57.0267C57.1877 19.0485 57.3179 19.1738 57.3179 19.3286V19.39V19.39Z" fill="#121312"/>
5
+ <path d="M71.1823 7.46796H67.8288C66.0598 7.46796 64.6257 8.84767 64.6257 10.5496V11.9037C64.6257 12.0585 64.4955 12.1838 64.3346 12.1838H62.4197C62.2588 12.1838 62.1286 12.3091 62.1286 12.4639V14.5625C62.1286 14.7173 62.2588 14.8426 62.4197 14.8426H64.3346C64.4955 14.8426 64.6257 14.9679 64.6257 15.1227V24.2572C64.6257 24.412 64.7559 24.5373 64.9169 24.5373H67.5296C67.6905 24.5373 67.8208 24.412 67.8208 24.2572V15.1227C67.8208 14.9679 67.951 14.8426 68.1119 14.8426H71.1566C71.3175 14.8426 71.4478 14.7173 71.4478 14.5625V12.4639C71.4478 12.3091 71.3175 12.1838 71.1566 12.1838H68.1119C67.951 12.1838 67.8208 12.0585 67.8208 11.9037V10.687C67.8208 10.3774 68.0817 10.1268 68.403 10.1268H71.1817C71.3427 10.1268 71.4729 10.0015 71.4729 9.84666V7.74806C71.4729 7.59325 71.3427 7.46796 71.1817 7.46796H71.1823Z" fill="#121312"/>
6
+ <path d="M83.9825 14.7062C83.4163 13.7957 82.6425 13.0962 81.6624 12.608C80.6819 12.1204 79.549 11.8693 78.2647 11.8693C76.9805 11.8693 75.8722 12.1407 74.8922 12.669C73.9116 13.1978 73.1508 13.9457 72.6103 14.9132C72.0692 15.8812 71.7987 17.0152 71.7987 18.3165C71.7987 19.6179 72.0778 20.7035 72.6354 21.671C73.1936 22.6385 73.9921 23.3826 75.0315 23.9031C76.0708 24.4237 77.2922 24.6839 78.6957 24.6839C79.7773 24.6839 80.7453 24.4928 81.5991 24.1107C82.4524 23.729 83.1413 23.2041 83.6653 22.5374C84.1138 21.9666 84.42 21.3416 84.5839 20.6628C84.6267 20.4867 84.4884 20.3174 84.3003 20.3174H81.6755C81.5498 20.3174 81.4397 20.3958 81.3995 20.5104C81.2144 21.0363 80.8881 21.4519 80.4199 21.7566C79.8955 22.0982 79.2448 22.2689 78.4674 22.2689C77.8248 22.2689 77.2631 22.1388 76.7814 21.8785C76.2996 21.6188 75.9195 21.2525 75.6404 20.7809C75.5303 20.5946 75.4403 20.3977 75.3684 20.195C75.2914 19.9773 75.2361 19.7529 75.1979 19.5255C75.1848 19.4461 75.1728 19.3658 75.1627 19.2855C75.1431 19.1201 75.2794 18.9754 75.4524 18.9754H84.504C84.6508 18.9754 84.7765 18.8709 84.7931 18.7302C84.8057 18.6271 84.8142 18.5221 84.8188 18.4143C84.8273 18.2193 84.8313 18.0403 84.8313 17.8778C84.8313 16.6746 84.5482 15.6176 83.982 14.7066L83.9825 14.7062ZM81.2627 16.8526H75.5936C75.4076 16.8526 75.2673 16.6867 75.3085 16.5121C75.3991 16.1294 75.5559 15.784 75.7792 15.4744C76.0663 15.0762 76.4384 14.771 76.895 14.5596C77.3516 14.3482 77.8499 14.2422 78.391 14.2422C79.2699 14.2422 79.997 14.4701 80.5718 14.9253C81.0651 15.3162 81.3899 15.8445 81.5473 16.5106C81.5885 16.6857 81.4492 16.8526 81.2627 16.8526V16.8526Z" fill="#121312"/>
7
+ <path d="M26.7572 15.9983H24.2722C23.53 15.9983 22.9286 16.5769 22.9286 17.291V20.761C22.9286 21.4751 22.3272 22.0537 21.585 22.0537H11.6986C10.9564 22.0537 10.355 22.6323 10.355 23.3463V25.7371C10.355 26.4512 10.9564 27.0298 11.6986 27.0298H22.1572C22.8994 27.0298 23.4923 26.4512 23.4923 25.7371V23.819C23.4923 23.1049 24.0937 22.5984 24.8359 22.5984H26.7567C27.4989 22.5984 28.1003 22.0198 28.1003 21.3058V17.276C28.1003 16.5619 27.4989 15.9983 26.7567 15.9983H26.7572Z" fill="#121312"/>
8
+ <path d="M10.3545 11.2487C10.3545 10.5346 10.9559 9.95602 11.6981 9.95602H21.5785C22.3206 9.95602 22.922 9.37743 22.922 8.66338V6.27259C22.922 5.55854 22.3206 4.97995 21.5785 4.97995H11.1254C10.3832 4.97995 9.7818 5.55854 9.7818 6.27259V8.11479C9.7818 8.82883 9.1804 9.40742 8.43821 9.40742H6.5259C5.78371 9.40742 5.18231 9.98601 5.18231 10.7001V14.7342C5.18231 15.4483 5.78622 15.9978 6.52842 15.9978H9.01346C9.75565 15.9978 10.357 15.4192 10.357 14.7052L10.3545 11.2491V11.2487Z" fill="#121312"/>
9
+ <path d="M15.4719 13.4851H17.8589C18.6368 13.4851 19.2679 14.0928 19.2679 14.8407V17.1371C19.2679 17.8855 18.6363 18.4927 17.8589 18.4927H15.4719C14.6941 18.4927 14.063 17.885 14.063 17.1371V14.8407C14.063 14.0923 14.6946 13.4851 15.4719 13.4851V13.4851Z" fill="#121312"/>
10
+ </g>
11
+ </svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" viewBox="-517.605 -517.605 1879.26 1879.26"><g fill="#007978"><path d="m794.78 0c-22.41 0-41.59 13.76-49.61 33.29l-455.23 86.05c-9.55-14.79-26.14-24.6-45.05-24.6-29.62 0-53.62 24.01-53.62 53.62s22.02 51.51 49.88 53.43l54.66 142.72-208.27 133.49c-9.24-7.56-21.05-12.11-33.92-12.11-29.62 0-53.62 24.01-53.62 53.62s24.01 53.62 53.62 53.62c8.77 0 17.03-2.15 24.33-5.88l363.21 221.33c-.02.64-.1 1.27-.1 1.92 0 29.62 24.01 53.62 53.62 53.62s53.62-24.01 53.62-53.62c0-26.97-19.93-49.22-45.85-53l-142.43-371.89 411.53-263.72c7.04 3.39 14.9 5.35 23.24 5.35 29.62 0 53.62-24.01 53.62-53.62s-24.01-53.62-53.63-53.62zm-352.03 728.17-332.36-202.54 204.58-131.12 127.78 333.65zm-101.86-412.53-52.22-136.36c1.6-2.26 3.01-4.65 4.25-7.14l385.62-72.89-337.64 216.4z"/><path d="m770.61 683.14c10.34-6.29 22.29-9.44 35.85-9.44 15.51 0 28.51 4.05 39 12.16 10.48 8.11 17.26 19.5 20.33 34.18h-11.32c-3.08-11.46-8.88-20.3-17.4-26.52-8.53-6.22-18.94-9.33-31.24-9.33-11.18 0-20.97 2.72-29.36 8.18-8.39 5.45-14.88 13.03-19.5 22.75-4.61 9.72-6.92 20.8-6.92 33.23s2.31 23.52 6.92 33.23c4.61 9.72 11.11 17.3 19.5 22.75s18.17 8.18 29.36 8.18c12.58 0 23.03-3.08 31.34-9.23 8.32-6.15 14.01-15.09 17.09-26.84h11.32c-3.22 14.82-9.96 26.28-20.23 34.38-10.27 8.11-23.24 12.16-38.89 12.16-13.56 0-25.51-3.11-35.85-9.33-10.35-6.22-18.31-14.99-23.9-26.31s-8.39-24.32-8.39-39 2.8-27.46 8.39-38.79c5.59-11.32 13.56-20.13 23.9-26.42z"/><path d="m939.62 761.76c0 17.05 3.42 29.78 10.27 38.16 6.85 8.39 17.47 12.58 31.87 12.58s25.27-4.19 32.18-12.58c6.92-8.39 10.38-21.11 10.38-38.16v-86.8h11.32v86.17c0 41.23-17.96 61.85-53.88 61.85s-53.46-20.62-53.46-61.85v-86.17h11.32z"/><path d="m1122.26 802.76c7.83 6.5 17.96 9.75 30.41 9.75s21.63-2.69 28.83-8.07 10.8-12.75 10.8-22.12c0-6.71-1.92-12.02-5.76-15.94-3.84-3.91-8.77-6.81-14.79-8.7-6.01-1.89-13.69-3.6-23.06-5.14-9.79-1.67-17.96-3.74-24.53-6.18s-12.02-6.22-16.35-11.32c-4.34-5.1-6.5-12.06-6.5-20.86 0-8.1 2.03-15.24 6.08-21.38s9.82-10.9 17.29-14.26c7.48-3.35 16.11-5.03 25.89-5.03 14.54 0 26.38 3.81 35.54 11.43 9.15 7.62 14.29 17.72 15.41 30.3l-11.11.21c-1.26-9.65-5.45-17.33-12.58-23.06s-16.21-8.6-27.26-8.6c-11.6 0-20.83 2.62-27.68 7.86s-10.27 12.54-10.27 21.91c0 6.57 1.81 11.74 5.45 15.52s8.21 6.5 13.74 8.18c5.52 1.68 13.1 3.35 22.75 5.03 9.78 1.54 18.14 3.6 25.06 6.18 6.92 2.59 12.65 6.53 17.19 11.85 4.55 5.31 6.81 12.37 6.81 21.17 0 8.11-2.13 15.31-6.39 21.59-4.26 6.29-10.24 11.18-17.92 14.68-7.69 3.49-16.63 5.24-26.84 5.24s-19.96-1.92-27.99-5.76-14.32-9.3-18.87-16.36-7.02-15.2-7.44-24.43h11.32c.7 11.04 4.96 19.81 12.79 26.31z"/><path d="m1361.94 674.97v10.48h-50.32v136.28h-11.32v-136.28h-50.32v-10.48z"/><path d="m1507.15 813.44c-10.41 6.36-22.26 9.54-35.54 9.54s-25.12-3.18-35.53-9.54-18.52-15.24-24.32-26.63-8.7-24.22-8.7-38.47 2.9-27.08 8.7-38.47c5.8-11.4 13.91-20.27 24.32-26.63s22.26-9.54 35.53-9.54 25.13 3.18 35.54 9.54 18.52 15.24 24.32 26.63 8.7 24.22 8.7 38.47-2.9 27.08-8.7 38.47-13.91 20.27-24.32 26.63zm-64.99-9.11c8.6 5.45 18.42 8.18 29.45 8.18s20.9-2.72 29.57-8.18c8.67-5.45 15.41-13.03 20.23-22.75 4.82-9.71 7.23-20.79 7.23-33.23s-2.41-23.51-7.23-33.23c-4.82-9.71-11.57-17.29-20.23-22.75-8.67-5.45-18.52-8.18-29.57-8.18s-20.86 2.72-29.45 8.18c-8.6 5.45-15.31 13.03-20.13 22.75s-7.23 20.8-7.23 33.23 2.41 23.52 7.23 33.23c4.82 9.72 11.53 17.3 20.13 22.75z"/><path d="m1642.95 674.97c15.37 0 28.58 3.01 39.63 9.02 11.04 6.01 19.5 14.53 25.37 25.58 5.87 11.04 8.81 23.97 8.81 38.79s-2.93 27.75-8.81 38.79c-5.87 11.04-14.32 19.57-25.37 25.58-11.04 6.01-24.25 9.02-39.63 9.02h-39.42v-146.76h39.42zm45.91 119.4c10.9-11.25 16.35-26.6 16.35-46.02s-5.42-34.94-16.25-46.12-26.17-16.78-46.02-16.78h-28.1v125.8h28.1c19.71 0 35.01-5.63 45.92-16.87z"/><path d="m1768.77 674.76 48.65 80.51 49.06-80.51h12.79l-56.19 92.88v54.09h-11.32v-54.09l-56.19-92.88h13.21z"/><path d="m948.1 346.36v-30.87h-202.2v37.35h147.42l-153.89 185.77v30.88h215.15v-37.36h-160.87z"/><path d="m1163 328.93c-19.09-10.96-40.92-16.43-65.49-16.43s-46.4 5.48-65.49 16.43c-19.09 10.96-33.95 26.23-44.57 45.82-10.63 19.59-15.94 42.17-15.94 67.73s5.31 48.14 15.94 67.74c10.62 19.59 25.48 34.86 44.57 45.82s40.93 16.44 65.49 16.44 46.4-5.48 65.49-16.44 33.95-26.23 44.58-45.82c10.62-19.59 15.94-42.17 15.94-67.74s-5.31-48.14-15.94-67.73c-10.62-19.59-25.49-34.86-44.58-45.82zm8.22 161.87c-6.97 14.27-16.85 25.4-29.63 33.36-12.78 7.97-27.47 11.95-44.07 11.95s-31.3-3.98-44.08-11.95-22.66-19.09-29.63-33.36c-6.97-14.28-10.46-30.38-10.46-48.31s3.49-34.03 10.46-48.31 16.85-25.4 29.63-33.37 27.48-11.95 44.08-11.95 31.29 3.99 44.07 11.95c12.78 7.97 22.66 19.09 29.63 33.37s10.46 30.38 10.46 48.31-3.49 34.03-10.46 48.31z"/><path d="m1470.54 354.33c-8.3-12.95-19.76-23.16-34.37-30.63s-32.2-11.21-52.79-11.21c-23.24 0-44.16 5.48-62.76 16.43-18.59 10.96-33.12 26.23-43.58 45.82s-15.69 42.17-15.69 67.73c0 26.89 5.23 50.14 15.69 69.73s24.9 34.53 43.33 44.82 39.43 15.44 63 15.44c36.85 0 65.9-14.61 87.16-43.83l5.48 40.84h35.36v-348.61h-40.84v133.47zm-9.96 137.21c-6.97 14.11-16.85 25.07-29.63 32.87s-27.31 11.7-43.58 11.7c-25.23 0-45.57-8.71-61.01-26.15-15.44-17.43-23.16-39.93-23.16-67.49s7.72-50.05 23.16-67.48 35.78-26.15 61.01-26.15c16.27 0 30.79 3.99 43.58 11.95 12.78 7.97 22.66 19.17 29.63 33.62 6.97 14.44 10.46 30.79 10.46 49.06s-3.49 33.95-10.46 48.06z"/><path d="m1567.16 315.49h40.84v254h-40.84z"/><path d="m1587.58 217.37c-7.63 0-13.95 2.49-18.92 7.47-4.98 4.98-7.47 11.29-7.47 18.93s2.49 13.95 7.47 18.93 11.29 7.47 18.92 7.47 13.95-2.49 18.93-7.47 7.47-11.29 7.47-18.93-2.49-13.95-7.47-18.93-11.29-7.47-18.93-7.47z"/><path d="m1845.31 336.16c-17.76-15.77-42.92-23.66-75.45-23.66-30.55 0-55.37 6.97-74.46 20.92s-30.13 33.37-33.12 58.27h40.84c2.66-12.95 9.71-23.32 21.16-31.13 11.46-7.81 25.98-11.71 43.58-11.71 19.92 0 35.44 4.65 46.56 13.95s16.68 22.25 16.68 38.85v17.43h-74.7c-33.2 0-58.52 6.81-75.95 20.42s-26.15 33.2-26.15 58.77c0 22.91 8.55 41 25.65 54.28 17.1 13.29 39.76 19.93 67.98 19.93 37.19 0 65.58-14.11 85.16-42.33v39.13h38.73v-.05s.08 0 .12.01v-165.1c0-29.55-8.88-52.21-26.64-67.98zm-14.2 129.74c0 21.58-7.14 38.93-21.42 52.04-14.28 13.12-33.87 19.67-58.77 19.67-16.94 0-30.38-3.82-40.34-11.45-9.96-7.64-14.94-17.76-14.94-30.38 0-28.22 18.92-42.33 56.78-42.33h78.69v12.46z"/></g></svg>
package/package.json ADDED
@@ -0,0 +1,92 @@
1
+ {
2
+ "name": "@metamask/institutional-wallet-snap",
3
+ "version": "0.2.8",
4
+ "description": "Institutional accounts in MetaMask.",
5
+ "keywords": [
6
+ "metamask",
7
+ "snap",
8
+ "keyring",
9
+ "account"
10
+ ],
11
+ "homepage": "https://github.com/MetaMask/snap-institutional-wallet#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/MetaMask/snap-institutional-wallet/issues"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/MetaMask/snap-institutional-wallet.git"
18
+ },
19
+ "license": "(MIT-0 OR Apache-2.0)",
20
+ "main": "dist/bundle.js",
21
+ "files": [
22
+ "dist/",
23
+ "images/",
24
+ "snap.manifest.json"
25
+ ],
26
+ "scripts": {
27
+ "build": "mm-snap build && yarn build-preinstalled-snap",
28
+ "build:clean": "yarn clean && yarn build",
29
+ "build-preinstalled-snap": "node scripts/build-preinstalled-snap.js",
30
+ "clean": "rimraf dist",
31
+ "lint": "yarn lint:eslint && yarn lint:misc && yarn lint:deps && yarn lint:types",
32
+ "lint:deps": "depcheck",
33
+ "lint:eslint": "eslint . --cache --ext js,jsx,ts,tsx",
34
+ "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
35
+ "lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '!snap.manifest.json' --check",
36
+ "lint:types": "tsc --noEmit",
37
+ "serve": "mm-snap serve",
38
+ "start": "NODE_ENV='development' mm-snap watch",
39
+ "test": "jest --passWithNoTests",
40
+ "test:watch": "jest --watch --passWithNoTests"
41
+ },
42
+ "dependencies": {
43
+ "@ethereumjs/common": "^3.1.2",
44
+ "@ethereumjs/tx": "^4.1.2",
45
+ "@metamask/eth-sig-util": "^7.0.1",
46
+ "@metamask/keyring-api": "11.0.0",
47
+ "@metamask/snaps-sdk": "6.12.0",
48
+ "@metamask/snaps-types": "^3.0.0",
49
+ "@metamask/utils": "^8.1.0",
50
+ "uuid": "^9.0.0"
51
+ },
52
+ "devDependencies": {
53
+ "@jest/globals": "^29.7.0",
54
+ "@lavamoat/allow-scripts": "^2.0.3",
55
+ "@metamask/auto-changelog": "^3.3.0",
56
+ "@metamask/eslint-config": "^12.2.0",
57
+ "@metamask/eslint-config-jest": "^12.1.0",
58
+ "@metamask/eslint-config-nodejs": "^12.1.0",
59
+ "@metamask/eslint-config-typescript": "^12.1.0",
60
+ "@metamask/snaps-cli": "6.2.1",
61
+ "@metamask/snaps-jest": "^8.7.1",
62
+ "@types/jest": "^29.5.14",
63
+ "@types/node": "^20.6.2",
64
+ "@types/react": "18.2.4",
65
+ "@types/react-dom": "18.2.2",
66
+ "@typescript-eslint/eslint-plugin": "^5.33.0",
67
+ "@typescript-eslint/parser": "^5.33.0",
68
+ "depcheck": "^1.4.6",
69
+ "eslint": "^8.21.0",
70
+ "eslint-config-prettier": "^8.1.0",
71
+ "eslint-plugin-import": "^2.26.0",
72
+ "eslint-plugin-jest": "^26.8.2",
73
+ "eslint-plugin-jsdoc": "^39.2.9",
74
+ "eslint-plugin-n": "^16.1.0",
75
+ "eslint-plugin-prettier": "^4.2.1",
76
+ "eslint-plugin-promise": "^6.1.1",
77
+ "jest": "^29.7.0",
78
+ "jest-fetch-mock": "^3.0.3",
79
+ "prettier": "^2.2.1",
80
+ "rimraf": "^3.0.2",
81
+ "ts-jest": "^29.2.5",
82
+ "typescript": "^4.7.4"
83
+ },
84
+ "packageManager": "yarn@3.2.1",
85
+ "engines": {
86
+ "node": ">=18.0.0"
87
+ },
88
+ "publishConfig": {
89
+ "access": "public",
90
+ "registry": "https://registry.npmjs.org/"
91
+ }
92
+ }
@@ -0,0 +1,82 @@
1
+ {
2
+ "version": "0.2.8",
3
+ "description": "Institutional accounts in MetaMask.",
4
+ "proposedName": "Institutional Wallet",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/MetaMask/snap-institutional-wallet.git"
8
+ },
9
+ "source": {
10
+ "shasum": "MZmBjUheoXZyLuJkpMBk6V6XPeDhY/+yhfAxVbAFLgc=",
11
+ "location": {
12
+ "npm": {
13
+ "filePath": "dist/bundle.js",
14
+ "iconPath": "images/icon.svg",
15
+ "packageName": "@metamask/institutional-wallet-snap",
16
+ "registry": "https://registry.npmjs.org/"
17
+ }
18
+ }
19
+ },
20
+ "initialConnections": {
21
+ "localhost:8000": {},
22
+ "https://localhost:8000": {},
23
+ "https://neptune-custody-ui.dev.metamask-institutional.io": {},
24
+ "https://neptune-custody-ui.metamask-institutional.io": {},
25
+ "https://zodia.io": {},
26
+ "https://sit.zodia.io": {},
27
+ "https://qa.zodia.io": {},
28
+ "https://console.fireblocks.io": {},
29
+ "https://console.dev.mpcvault.com": {},
30
+ "https://saturn-custody-ui.dev.metamask-institutional.io": {},
31
+ "https://saturn-custody-ui.metamask-institutional.io": {},
32
+ "https://console.mpcvault.com": {},
33
+ "https://app.bitgo.com": {},
34
+ "https://app.bitgo-test.com": {},
35
+ "https://apps-portal.safe.global": {}
36
+ },
37
+ "initialPermissions": {
38
+ "snap_notify": {},
39
+ "endowment:network-access": {},
40
+ "endowment:ethereum-provider": {},
41
+ "endowment:keyring": {
42
+ "allowedOrigins": [
43
+ "localhost:8000",
44
+ "http://localhost:8000",
45
+ "https://neptune-custody-ui.dev.metamask-institutional.io",
46
+ "https://saturn-custody-ui.dev.metamask-institutional.io"
47
+ ]
48
+ },
49
+ "endowment:rpc": {
50
+ "allowedOrigins": [
51
+ "localhost:8000",
52
+ "http://localhost:8000",
53
+ "https://neptune-custody-ui.dev.metamask-institutional.io",
54
+ "https://zodia.io",
55
+ "https://sit.zodia.io",
56
+ "https://qa.zodia.io",
57
+ "https://console.fireblocks.io",
58
+ "https://console.dev.mpcvault.com",
59
+ "https://saturn-custody-ui.dev.metamask-institutional.io",
60
+ "https://console.mpcvault.com",
61
+ "https://app.bitgo.com",
62
+ "https://app.bitgo-test.com",
63
+ "https://apps-portal.safe.global"
64
+ ]
65
+ },
66
+ "endowment:cronjob": {
67
+ "jobs": [
68
+ {
69
+ "expression": "* * * * *",
70
+ "request": {
71
+ "method": "execute"
72
+ }
73
+ }
74
+ ]
75
+ },
76
+ "snap_manageAccounts": {},
77
+ "snap_manageState": {},
78
+ "snap_dialog": {},
79
+ "endowment:page-home": {}
80
+ },
81
+ "manifestVersion": "0.1"
82
+ }