Tia and stosmo (#627)
* feat: listed TIA and stOSMO * fix: fixed USDC * tidy: refactor the token logos
This commit is contained in:
parent
d521c1b54e
commit
cc3b0eee20
@ -1,44 +1,30 @@
|
||||
<svg
|
||||
id='Layer_1'
|
||||
data-name='Layer 1'
|
||||
xmlns='http://www.w3.org/2000/svg'
|
||||
viewBox='0 0 2500 2500'
|
||||
>
|
||||
<title>cosmos-atom-logo</title>
|
||||
<circle cx='1250' cy='1250' r='1250' style='fill:#2e3148' />
|
||||
<circle cx='1250' cy='1250' r='725.31' style='fill:#1b1e36' />
|
||||
<path
|
||||
d='M1252.57,159.47c-134.93,0-244.34,489.4-244.34,1093.11s109.41,1093.11,244.34,1093.11,244.34-489.4,244.34-1093.11S1387.5,159.47,1252.57,159.47ZM1269.44,2284c-15.43,20.58-30.86,5.14-30.86,5.14-62.14-72-93.21-205.76-93.21-205.76-108.69-349.79-82.82-1100.82-82.82-1100.82,51.08-596.24,144-737.09,175.62-768.36a19.29,19.29,0,0,1,24.74-2c45.88,32.51,84.36,168.47,84.36,168.47,113.63,421.81,103.34,817.9,103.34,817.9,10.29,344.65-56.94,730.45-56.94,730.45C1341.92,2222.22,1269.44,2284,1269.44,2284Z'
|
||||
style='fill:#6f7390'
|
||||
/>
|
||||
<path
|
||||
d='M2200.72,708.59c-67.18-117.08-546.09,31.58-1070,332s-893.47,638.89-826.34,755.92,546.09-31.58,1070-332,893.47-638.89,826.34-755.92h0ZM366.36,1780.45c-25.72-3.24-19.91-24.38-19.91-24.38C378,1666.36,478.4,1572.84,478.4,1572.84c249.43-268.36,913.79-619.65,913.79-619.65,542.54-252.42,711.06-241.77,753.81-230a19.29,19.29,0,0,1,14,20.58c-5.14,56-104.17,157-104.17,157C1746.71,1209.36,1398,1397.58,1398,1397.58c-293.83,180.5-661.93,314.09-661.93,314.09-280.09,100.93-369.7,68.78-369.7,68.78h0Z'
|
||||
style='fill:#6f7390'
|
||||
/>
|
||||
<path
|
||||
d='M2198.35,1800.41c67.7-116.77-300.93-456.79-823-759.47S374.43,587.76,306.79,704.73s300.93,456.79,823.3,759.47S2130.71,1917.39,2198.35,1800.41ZM351.65,749.85c-10-23.71,11.11-29.42,11.11-29.42C456.22,702.78,587.5,743,587.5,743c357.15,81.33,994,480.25,994,480.25,490.33,343.11,565.53,494.24,576.8,537.14a19.29,19.29,0,0,1-10.7,22.43c-51.13,23.41-188.07-11.47-188.07-11.47-422.07-113.17-759.62-320.52-759.62-320.52-303.29-163.58-603.19-415.28-603.19-415.28-227.88-191.87-245-285.44-245-285.44Z'
|
||||
style='fill:#6f7390'
|
||||
/>
|
||||
<circle cx='1250' cy='1250' r='128.6' style='fill:#b7b9c8' />
|
||||
<ellipse
|
||||
cx='1777.26'
|
||||
cy='756.17'
|
||||
rx='74.59'
|
||||
ry='77.16'
|
||||
style='fill:#b7b9c8'
|
||||
/>
|
||||
<ellipse
|
||||
cx='552.98'
|
||||
cy='1018.52'
|
||||
rx='74.59'
|
||||
ry='77.16'
|
||||
style='fill:#b7b9c8'
|
||||
/>
|
||||
<ellipse
|
||||
cx='1098.25'
|
||||
cy='1965.02'
|
||||
rx='74.59'
|
||||
ry='77.16'
|
||||
style='fill:#b7b9c8'
|
||||
/>
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2500 2500">
|
||||
<circle fill="#2E3148" cx="1250" cy="1250" r="1250" />
|
||||
<circle fill="#1B1E36" cx="1250.4" cy="1250.4" r="619.2" />
|
||||
<path
|
||||
fill="#6F7390"
|
||||
d="M1252.6,319.4c-115.2,0-208.6,417.8-208.6,933.1s93.4,933.1,208.6,933.1s208.6-417.8,208.6-933.1
|
||||
S1367.8,319.4,1252.6,319.4z M1267,2133.1c-13.2,17.6-26.3,4.4-26.3,4.4c-53-61.5-79.6-175.6-79.6-175.6
|
||||
c-92.8-298.6-70.7-939.7-70.7-939.7c43.6-509,122.9-629.2,149.9-655.9c5.7-5.6,14.6-6.3,21.1-1.7c39.2,27.8,72,143.8,72,143.8
|
||||
c97,360.1,88.2,698.2,88.2,698.2c8.8,294.2-48.6,623.6-48.6,623.6C1328.8,2080.3,1267,2133.1,1267,2133.1z"
|
||||
/>
|
||||
<path
|
||||
fill="#6F7390"
|
||||
d="M2062,788.2c-57.3-99.9-466.2,27-913.4,283.4S385.8,1617,443.1,1716.9c57.3,99.9,466.2-27,913.4-283.4
|
||||
S2119.3,888.1,2062,788.2L2062,788.2z M496,1703.2c-22-2.8-17-20.8-17-20.8C506,1605.8,591.7,1526,591.7,1526
|
||||
c212.9-229.1,780.1-529,780.1-529c463.1-215.5,607-206.4,643.5-196.3c7.7,2.2,12.8,9.6,12,17.6c-4.4,47.8-88.9,134-88.9,134
|
||||
c-263.9,263.4-561.6,424.1-561.6,424.1c-250.8,154.1-565.1,268.1-565.1,268.1C572.5,1730.6,496.1,1703.2,496,1703.2L496,1703.2
|
||||
L496,1703.2z"
|
||||
/>
|
||||
<path
|
||||
fill="#6F7390"
|
||||
d="M2059.9,1720.2c57.8-99.7-256.9-389.9-702.6-648.3S502.9,685,445.2,784.9s256.9,389.9,702.8,648.3
|
||||
S2002.2,1820.1,2059.9,1720.2z M483.5,823.4c-8.5-20.2,9.5-25.1,9.5-25.1c79.8-15.1,191.9,19.3,191.9,19.3
|
||||
c304.9,69.4,848.5,410,848.5,410c418.6,292.9,482.8,421.9,492.4,458.5c2,7.8-1.8,15.8-9.1,19.1c-43.6,20-160.5-9.8-160.5-9.8
|
||||
c-360.3-96.6-648.5-273.6-648.5-273.6c-258.9-139.6-514.9-354.5-514.9-354.5C498.2,903.5,483.5,823.6,483.5,823.6L483.5,823.4z"
|
||||
/>
|
||||
<circle fill="#B7B9C8" cx="1250.4" cy="1250.4" r="109.8" />
|
||||
<ellipse fill="#B7B9C8" cx="1700.5" cy="828.8" rx="63.7" ry="65.9" />
|
||||
<ellipse fill="#B7B9C8" cx="655.4" cy="1052.8" rx="63.7" ry="65.9" />
|
||||
<ellipse fill="#B7B9C8" cx="1120.8" cy="1860.8" rx="63.7" ry="65.9" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 1.9 KiB |
@ -1,38 +1,40 @@
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 2500 2500" style="enable-background:new 0 0 2500 2500;" xml:space="preserve">
|
||||
<circle style="fill:#E50571;" cx="1250" cy="1250" r="1250"/>
|
||||
<circle style="fill:#FFFFFF;" cx="1250" cy="1250" r="128.6"/>
|
||||
<path style="fill:#FFFFFF;" d="M1709.1,1253.5c336.5-233.9,543.2-454.9,491.6-544.9c-33.3-58.1-168.1-50.8-359.4,8.1
|
||||
c-13-22.6-36.8-37.7-64.1-37.7c-41.2,0-74.6,34.5-74.6,77.2c0,2.8,0.2,5.6,0.4,8.3c-69.8,26.5-144.5,58.1-222.5,94.3
|
||||
c-35.3-409.1-124.1-699.3-228-699.3c-103.7,0-192.4,289.3-227.8,697.4c-370.9-173.9-665.9-242-718-152.1
|
||||
c-32.5,56.3,35.9,164.2,173.9,294.7c-1.5,6.1-2.3,12.5-2.3,19.1c0,42.6,33.4,77.2,74.6,77.2c10.5,0,20.5-2.3,29.6-6.3
|
||||
c62.9,52.3,134.6,106.9,213.5,162.2c-336.6,233.9-543.3,454.9-491.6,544.9c51.7,90.1,347.6,22.7,720.2-150.2
|
||||
c7.9,91.7,18.5,177.4,31.4,255.2c-19.5,13.9-32.3,37.2-32.3,63.5c0,37.3,25.6,68.4,59.6,75.6c43.9,188.9,103.6,305.1,169.3,305.1
|
||||
c103.8,0,192.4-289.4,227.8-697.6c371,174,665.9,242.2,717.9,152.3C2250.4,1710.6,2044.5,1488.8,1709.1,1253.5z M1725.6,811.8
|
||||
c13.4,13.3,31.6,21.5,51.7,21.5c37.1,0,67.9-28,73.6-64.8c190.7-59.8,268.1-52.8,295.1-45.4c9.1,2.5,15,11.2,14,20.6
|
||||
c-5.1,56-104.2,157-104.2,157c-132.1,131.9-271.4,241.7-387.7,324.4c-54.8-37.5-112.7-75.2-173.3-112.6
|
||||
c-2-69.4-5.4-136.8-10.2-201.5C1576.7,870.1,1656.5,837.6,1725.6,811.8z M1398,1397.6c-47.4,29.1-96.7,57-146.1,83.3
|
||||
c-33.6-18.8-52-30.1-52-30.1c-46.3-25-92.5-52-137.6-79.9c-2.2-85.5-2.7-164-2.4-227.6c71-43.2,136.9-81.4,190.9-112.1
|
||||
c76.2,41.6,145,81.1,199.8,113.2c0.4,34.7-0.1,54.1-0.1,54.1c1.7,55.9,1.3,112.8-0.5,169.1C1417,1387.3,1398,1397.6,1398,1397.6z
|
||||
M1448,1421.5c-2.5,53.4-6.2,105.5-10.4,154.9c-54.3-25.8-101-49.7-138.3-69.6c24.9-13.7,50-27.8,75.2-42.2
|
||||
C1399.3,1450.2,1423.8,1435.9,1448,1421.5z M1203.7,1506c-45.2,23.2-90.1,44.9-133,65c-3-49.4-5.2-98.4-6.8-145.8
|
||||
c21.7,13.1,43.8,26.1,66.1,39C1154.8,1478.5,1179.3,1492.4,1203.7,1506z M1009,1337.3c-43.2-27.8-85-56-124.2-83.4
|
||||
c41.7-27.4,83.5-53.9,124.1-79.1c-0.4,25.7-0.6,51.7-0.6,77.9C1008.2,1281.1,1008.5,1309.3,1009,1337.3z M1066.8,934.6
|
||||
c44.8,22.5,88.9,45.4,131.2,68c-22.3,12.4-44.8,25-67.3,37.9c-23.7,13.6-47.2,27.3-70.2,41.1c0.8-61.8,2.1-99.1,2.1-99.1
|
||||
C1063.9,966.2,1065.4,950.3,1066.8,934.6z M1304.9,1000.9c54.2-30.2,87.3-47.7,87.3-47.7c16.4-7.6,32.4-15,48-22.1
|
||||
c4.9,59.5,7.5,111.6,9,153.5c-24.3-14.6-48.9-29.2-73.9-43.7C1351.8,1027.3,1328.3,1013.9,1304.9,1000.9z M1496.2,1171.4
|
||||
c53.4,31.9,85.3,51.8,85.3,51.8c15.2,10.6,30,21.1,44.5,31.4c-49.7,34.2-93.9,62.7-129.8,85c0.5-28.7,0.8-57.8,0.8-87.1
|
||||
C1496.9,1225.3,1496.7,1198.2,1496.2,1171.4z M1238.2,214.2c6.7-6.6,17.1-7.4,24.7-2c45.9,32.5,84.4,168.5,84.4,168.5
|
||||
c48.7,180.9,74.7,357.1,88.4,499.3c-59.3,28.4-120.2,59.3-182.3,92.6c-61.6-33.4-122.2-64.5-181.2-93
|
||||
C1124.6,369.7,1208.5,243.6,1238.2,214.2z M619.2,1054c5.3-10.6,8.4-22.7,8.4-35.5c0-42.6-33.4-77.2-74.6-77.2
|
||||
c-16.7,0-32,5.7-44.5,15.2C364.1,818,351.7,750.1,351.7,750.1l-0.1-0.3c-10-23.7,11.1-29.4,11.1-29.4
|
||||
c93.5-17.6,224.7,22.6,224.7,22.6c123.5,28.1,280.4,94.2,432.9,168.6c-4.7,64.4-8.1,131.3-10.1,200.3
|
||||
c-59.6,36.5-116.7,73.2-170.8,109.8C736.8,1148.2,656.4,1084.2,619.2,1054z M736.1,1711.7c-280.1,100.9-369.7,68.8-369.7,68.8h0
|
||||
c-25.7-3.2-19.9-24.4-19.9-24.4c31.5-89.7,132-183.2,132-183.2c86.2-92.8,222-195.4,362.8-290c53.6,36.5,110.1,73.2,169,109.7
|
||||
c2,69.5,5.4,136.9,10.2,201.7C859.5,1666.9,736.1,1711.7,736.1,1711.7z M1393.7,1929c-51.8,293.2-124.2,355-124.2,355
|
||||
c-15.4,20.6-30.9,5.1-30.9,5.1c-62.1-72-93.2-205.8-93.2-205.8c-4.9-15.7-9.5-32.1-13.8-49.3c24.5-12.7,41.3-38.8,41.3-69
|
||||
c0-41.1-31-74.7-70.2-77c-12.9-83.4-22.1-174.2-28.5-265.2c57.8-27.8,117.3-58,177.7-90.4c61.7,33.4,122.3,64.5,181.2,93.1
|
||||
C1416.1,1800.5,1393.7,1929,1393.7,1929z M2147.6,1782.8c-51.1,23.4-188.1-11.5-188.1-11.5c-180.4-48.4-345.3-113.9-475.1-173.2
|
||||
c4.9-65.8,8.4-134.4,10.5-205.1c59.6-36.5,116.7-73.3,170.8-109.9c414.9,300.9,482,436.8,492.5,477.1
|
||||
C2160.7,1769.5,2156.1,1778.9,2147.6,1782.8z"/>
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2500 2500">
|
||||
<circle fill="#E50571" cx="1250" cy="1250" r="1250" />
|
||||
<circle fill="#FFFFFF" cx="1250.4" cy="1250.4" r="109.8" />
|
||||
<path
|
||||
fill="#FFFFFF"
|
||||
d="M1642.3,1253.4C1929.6,1053.7,2106,865,2062,788.2c-28.4-49.6-143.5-43.4-306.8,6.9
|
||||
c-11.1-19.3-31.4-32.2-54.7-32.2c-35.2,0-63.7,29.5-63.7,65.9c0,2.4,0.2,4.8,0.3,7.1c-59.6,22.6-123.4,49.6-189.9,80.5
|
||||
c-30.1-349.2-105.9-597-194.6-597c-88.5,0-164.2,247-194.5,595.4C741.4,766.4,489.6,708.2,445.1,785
|
||||
c-27.7,48.1,30.6,140.2,148.5,251.6c-1.3,5.2-2,10.7-2,16.3c0,36.4,28.5,65.9,63.7,65.9c9,0,17.5-2,25.3-5.4
|
||||
c53.7,44.6,114.9,91.3,182.3,138.5C575.5,1451.5,399,1640.2,443.1,1717c44.1,76.9,296.7,19.4,614.8-128.2
|
||||
c6.7,78.3,15.8,151.4,26.8,217.9c-16.6,11.9-27.6,31.8-27.6,54.2c0,31.8,21.9,58.4,50.9,64.5c37.5,161.3,88.4,260.5,144.5,260.5
|
||||
c88.6,0,164.2-247.1,194.5-595.5c316.7,148.5,568.5,206.8,612.9,130C2104.4,1643.6,1928.6,1454.2,1642.3,1253.4z M1656.4,876.3
|
||||
c11.4,11.4,27,18.4,44.1,18.4c31.7,0,58-23.9,62.8-55.3c162.8-51,228.9-45.1,251.9-38.8c7.8,2.1,12.8,9.6,12,17.6
|
||||
c-4.4,47.8-89,134-89,134c-112.8,112.6-231.7,206.3-331,276.9c-46.8-32-96.2-64.2-147.9-96.1c-1.7-59.2-4.6-116.8-8.7-172
|
||||
C1529.3,926.1,1597.4,898.3,1656.4,876.3z M1376.7,1376.4c-40.5,24.8-82.6,48.7-124.7,71.1c-28.7-16-44.4-25.7-44.4-25.7
|
||||
c-39.5-21.3-79-44.4-117.5-68.2c-1.9-73-2.3-140-2-194.3c60.6-36.9,116.9-69.5,163-95.7c65.1,35.5,123.8,69.2,170.6,96.6
|
||||
c0.3,29.6-0.1,46.2-0.1,46.2c1.5,47.7,1.1,96.3-0.4,144.4C1392.9,1367.6,1376.7,1376.4,1376.7,1376.4z M1419.4,1396.8
|
||||
c-2.1,45.6-5.3,90.1-8.9,132.2c-46.4-22-86.2-42.4-118.1-59.4c21.3-11.7,42.7-23.7,64.2-36
|
||||
C1377.8,1421.3,1398.7,1409.1,1419.4,1396.8z M1210.8,1468.9c-38.6,19.8-76.9,38.3-113.5,55.5c-2.6-42.2-4.4-84-5.8-124.5
|
||||
c18.5,11.2,37.4,22.3,56.4,33.3C1169.1,1445.5,1190,1457.3,1210.8,1468.9z M1044.6,1324.9c-36.9-23.7-72.6-47.8-106-71.2
|
||||
c35.6-23.4,71.3-46,105.9-67.5c-0.3,21.9-0.5,44.1-0.5,66.5C1044,1276.9,1044.2,1301,1044.6,1324.9z M1094,981.1
|
||||
c38.2,19.2,75.9,38.8,112,58.1c-19,10.6-38.2,21.3-57.5,32.4c-20.2,11.6-40.3,23.3-59.9,35.1c0.7-52.8,1.8-84.6,1.8-84.6
|
||||
C1091.5,1008.1,1092.8,994.5,1094,981.1z M1297.2,1037.7c46.3-25.8,74.5-40.7,74.5-40.7c14-6.5,27.7-12.8,41-18.9
|
||||
c4.2,50.8,6.4,95.3,7.7,131c-20.7-12.5-41.7-24.9-63.1-37.3C1337.3,1060.3,1317.2,1048.8,1297.2,1037.7z M1460.5,1183.3
|
||||
c45.6,27.2,72.8,44.2,72.8,44.2c13,9,25.6,18,38,26.8c-42.4,29.2-80.2,53.5-110.8,72.6c0.4-24.5,0.7-49.3,0.7-74.4
|
||||
C1461.1,1229.3,1461,1206.2,1460.5,1183.3z M1240.3,366.1c5.7-5.6,14.6-6.3,21.1-1.7c39.2,27.7,72.1,143.8,72.1,143.8
|
||||
c41.6,154.4,63.8,304.8,75.5,426.2c-50.6,24.2-102.6,50.6-155.6,79.1c-52.6-28.5-104.3-55.1-154.7-79.4
|
||||
C1143.3,498.9,1214.9,391.2,1240.3,366.1z M711.9,1083.1c4.5-9,7.2-19.4,7.2-30.3c0-36.4-28.5-65.9-63.7-65.9
|
||||
c-14.3,0-27.3,4.9-38,13C494.1,881.6,483.5,823.6,483.5,823.6l-0.1-0.3c-8.5-20.2,9.5-25.1,9.5-25.1c79.8-15,191.8,19.3,191.8,19.3
|
||||
c105.4,24,239.4,80.4,369.6,143.9c-4,55-6.9,112.1-8.6,171c-50.9,31.2-99.6,62.5-145.8,93.7C812.3,1163.5,743.6,1108.8,711.9,1083.1
|
||||
z M811.7,1644.5c-239.1,86.1-315.6,58.7-315.6,58.7l0,0c-21.9-2.7-17-20.8-17-20.8C506,1605.9,591.8,1526,591.8,1526
|
||||
c73.6-79.2,189.5-166.8,309.7-247.6c45.8,31.2,94,62.5,144.3,93.6c1.7,59.3,4.6,116.9,8.7,172.2
|
||||
C917,1606.3,811.7,1644.5,811.7,1644.5z M1373,1830c-44.2,250.3-106,303.1-106,303.1c-13.1,17.6-26.4,4.4-26.4,4.4
|
||||
c-53-61.5-79.6-175.7-79.6-175.7c-4.2-13.4-8.1-27.4-11.8-42.1c20.9-10.8,35.3-33.1,35.3-58.9c0-35.1-26.5-63.8-59.9-65.7
|
||||
c-11-71.2-18.9-148.7-24.3-226.4c49.3-23.7,100.1-49.5,151.7-77.2c52.7,28.5,104.4,55.1,154.7,79.5
|
||||
C1392.2,1720.3,1373,1830,1373,1830z M2016.6,1705.2c-43.6,20-160.6-9.8-160.6-9.8c-154-41.3-294.8-97.2-405.6-147.9
|
||||
c4.2-56.2,7.2-114.7,9-175.1c50.9-31.2,99.6-62.6,145.8-93.8c354.2,256.9,411.5,372.9,420.4,407.3
|
||||
C2027.8,1693.9,2023.9,1701.9,2016.6,1705.2z"
|
||||
/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.8 KiB |
42
public/images/tokens/stosmo.svg
Normal file
42
public/images/tokens/stosmo.svg
Normal file
@ -0,0 +1,42 @@
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2500 2500">
|
||||
<circle fill="#E50571" cx="1250" cy="1250" r="1250" />
|
||||
<path
|
||||
fill="#FFFFFF"
|
||||
d="M1336.6,1182.4c-23,4.2-102.5,23-175.7,39.7c-100.4,25.1-186.1,29.3-345.1,18.8
|
||||
c-255.2-18.8-276.1-6.3-253.1,150.6c31.4,215.4,175.7,409.9,376.5,510.3c85.8,39.7,140.5,60.9,276.4,60.9
|
||||
c196.6,0,323.9-60.9,453.5-184.3c161-154.8,253.1-451.8,165.2-533.4c-20.9-16.7-94.1-41.8-161.1-54.4
|
||||
C1550,1167.8,1416.1,1163.6,1336.6,1182.4z M1782.1,1322.6c-14.6,4.2-131.8,41.8-259.4,83.7c-267.7,87.8-468.5,112.9-640,77.4
|
||||
c-131.8-27.2-253.1-98.3-263.5-154.8c-6.3-31.4,18.8-35.6,251-33.5c169.4,0,292.8-10.5,361.8-31.4c123.4-35.6,363.9-41.8,474.8-12.5
|
||||
C1790.5,1274.5,1828.2,1310,1782.1,1322.6z"
|
||||
/>
|
||||
<path
|
||||
fill="#FFFFFF"
|
||||
d="M1656.6,1027.7c-4.2-18.8-16.7-37.6-29.3-41.8c-35.6-12.5-71.1,43.9-50.2,75.3
|
||||
C1600.2,1100.9,1665,1073.7,1656.6,1027.7z"
|
||||
/>
|
||||
<path
|
||||
fill="#FFFFFF"
|
||||
d="M1529.1,939.8c25.1-52.3,6.3-119.2-43.9-152.7c-66.9-46-159,20.9-159,115C1326.2,1006.7,1481,1036,1529.1,939.8
|
||||
z"
|
||||
/>
|
||||
<path
|
||||
fill="#FFFFFF"
|
||||
d="M1788.4,414.8c-46-23-112.9-41.8-148.5-41.8c-110.9,0-182,119.2-127.6,207.1c16.7,25.1,25.1,20.9,46-23
|
||||
c12.6-31.4,37.6-60.7,52.3-66.9c41.8-14.6,232.2,87.8,290.7,159c60.7,71.1,58.6,102.5-6.3,131.8c-62.7,29.3-56.5,52.3,12.5,52.3
|
||||
c77.4,0,129.7-58.6,129.7-142.2C2037.3,611.4,1920.2,483.8,1788.4,414.8z"
|
||||
/>
|
||||
<path
|
||||
fill="#FFFFFF"
|
||||
d="M1893.2,1016.4c-19.9-47.5-44.5-92.4-73.5-134.3l0.3,0.2c-19.9-51.1,26.7-134.7,26.7-134.7s41.7-71.8,34.3-88.4
|
||||
c-6.1-13.6-84.6-70-84.6-70c-50.3-33.8-98.5-63.3-109-63.3s-50.3,23.2-92.2,50.7c-57.4,39.7-72.5,48.3-119.6,34.9
|
||||
c-83-31.7-170.3-47.7-260.1-47.7c-99.3,0-195.6,19.6-286.2,58.2c-87.6,37.3-166.2,90.7-233.7,158.8
|
||||
c-67.5,68-120.5,147.3-157.6,235.5c-38.3,91.4-57.8,188.4-57.8,288.4s19.4,197.1,57.8,288.4c37,88.2,90.1,167.5,157.6,235.5
|
||||
c67.5,68,146.2,121.5,233.7,158.8c90.7,38.6,187,58.2,286.2,58.2c99.3,0,195.6-19.6,286.2-58.2c87.6-37.3,166.2-90.7,233.7-158.8
|
||||
c67.5-68,120.5-147.3,157.6-235.5c38.3-91.4,57.8-188.4,57.8-288.4S1931.6,1107.8,1893.2,1016.4z M1844.8,1572.7
|
||||
c-34.4,81.9-83.6,155.5-146.3,218.7c-62.7,63.2-135.7,112.8-217,147.5c-84.2,35.9-173.6,54.1-265.8,54.1
|
||||
c-92.2,0-181.6-18.2-265.8-54.1c-81.3-34.7-154.3-84.3-217-147.5c-62.7-63.2-111.9-136.8-146.3-218.7
|
||||
c-35.6-84.8-53.6-174.9-53.6-267.8c0-92.9,18-183,53.6-267.8c34.4-81.9,83.6-155.5,146.3-218.7c62.7-63.2,135.7-112.8,217-147.5
|
||||
c84.2-35.9,173.6-54.1,265.8-54.1c92.2,0,181.6,18.2,265.8,54.1c81.3,34.7,154.3,84.3,217,147.5c62.7,63.2,111.9,136.8,146.3,218.7
|
||||
c35.6,84.8,53.6,174.9,53.6,267.8C1898.5,1397.8,1880.4,1487.9,1844.8,1572.7z"
|
||||
/>
|
||||
</svg>
|
After Width: | Height: | Size: 2.6 KiB |
55
public/images/tokens/tia.svg
Normal file
55
public/images/tokens/tia.svg
Normal file
@ -0,0 +1,55 @@
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2500 2500">
|
||||
<circle fill="#8623FF" cx="1250" cy="1250" r="1250" />
|
||||
<path
|
||||
fill="#FFFFFF"
|
||||
d="M2231.4,1044.1c-0.3-0.9-0.4-1.8-0.5-2.6c-39.7-188.2-132.8-361.1-272-500.3
|
||||
c-189.3-189.3-441-293.6-708.9-293.6S730.5,351.7,541.1,541.1c-46.1,46.1-87.1,95.7-122.7,148.5c-10.6,14.1-20.1,29-28.5,44.7
|
||||
c-92.7,154.2-142.3,331.1-142.3,515.6c0,267.9,104.3,519.5,293.6,708.9s441,293.6,708.9,293.6s519.5-104.3,708.9-293.6
|
||||
c89.3-89.3,159.7-192.6,209.2-304.9c6-12.4,11.3-25.3,15.8-38.1c45-115,68.6-238.5,68.6-365.9
|
||||
C2252.5,1179.9,2245.3,1111.2,2231.4,1044.1z M1883,583.1c5.8,5.5,11.4,11.1,17.2,16.7c88.6,88.6,156.9,192.1,202.5,304.9
|
||||
c4.5,11.4-5,23.2-17.1,21.1c-26.4-4.8-56.2-6.8-89.1-6.3c-22.7,0.4-42.6-15.6-46.6-38.1c-17.8-100.3-43.7-192.9-77-273.6
|
||||
c-1.9-4.5-3.8-9.2-5.7-13.6C1863,584.2,1875.3,575.7,1883,583.1z M1978.3,1171.2c-0.3-10.6,13.2-15.1,19.3-6.4
|
||||
c7.5,10.6,14.7,21.1,21.6,31.8c9.3,14.1,17.8,28.3,25.8,42.2c5,8.8,3.8,19.6-2.9,27c-10.8,11.8-22.4,24-35.1,36.6
|
||||
c-4.5,4.5-9.3,9.3-14.1,13.8c-6,5.8-16,1.4-15.6-6.9c0.6-15.1,1-30.2,1.4-45.5C1979.3,1232.8,1979.2,1201.9,1978.3,1171.2z
|
||||
M716.2,501.1c154.8-110.8,339.7-170.6,533.8-170.6c51.3,0,101.8,4.1,151.4,12.4c13.3,2.3,17.7,19.1,7.2,27.4
|
||||
c-48,37.6-92.6,93.3-132.2,165.6c-9.7,17.6-30.2,26.3-49.4,20.9c-130.8-36.8-259.6-54.2-378.4-50c-43.8,1.5-85.4,6-124.5,13.2
|
||||
C713,521.9,707.1,507.6,716.2,501.1z M585,1874.5c-19.3-36.6,5.7-121,132.5-249.3l0.1-0.1c13.2-13.4,11.9-35.4-2.9-47
|
||||
c-5-4-10.2-8-15.2-12.1c-12.6-10.2-30.9-9.3-42.3,2.3c-2.5,2.5-4.4,4.4-5,5c-63.4,65.1-107.9,125.4-132.7,179.7
|
||||
c-7,15.3-28.4,17-37.6,2.9c-98.4-148.9-151.4-323.3-151.4-505.8c0-65.3,6.8-129.5,20-191.8c2-9.4,15.3-10.1,18.1-0.8
|
||||
c19.1,62.9,50.1,128.2,93,194c57.8,88.7,133.9,174,224.1,252.2c30.8,26.8,63.3,52.5,97.2,77.5c68.8,50.4,143.6,97.1,223,138.3
|
||||
c35.3,18.3,69.6,35.8,104.8,51.6c19.6,8.8,41.8,9.4,61.8,1.6c16.6-6.5,33.3-13.2,50-20.2c18.3-7.7,28.1-27.5,23.2-46.7
|
||||
c-0.6-2.4-1.1-4.4-1.4-5.5c-27.6-116.5-43.1-247.6-45-385.1h-0.1c0-1.6,0-3.3,0-5c-0.1-7.5,0-15.1-0.3-22.6c0-2.4,0-6.4,0.1-8.8
|
||||
c0-0.9,0-1.9,0-2.9l0,0c0-8.7,0.1-17.2,0.3-25.9c0.4-23.6,1.4-47,2.4-70.1l0,0c8.5-165.8,36.6-321.6,81.3-452.7
|
||||
c4.1-12.1-2.4-25.4-14.4-29.4c-11.8-4-23.6-7.9-35.4-11.6c-11.9-3.8-24.8,2.8-28.6,14.6c-48.5,142.3-78.4,311.1-86.3,489.7
|
||||
c-1,22.6-13.3,43.3-32.8,54.9c-105.8,62.7-203,129.3-287,196.2c-17.5,13.9-42.5,13.4-59.4-1.3c-84.2-73-154.9-152.1-208.6-234.3
|
||||
c-105.3-161.6-130.3-313.7-70.4-428.4c0.3-0.3,0.3-0.5,0.5-0.8c7.7-12.6,15.6-25.1,23.7-37.4c68.7-91,196.8-143.7,366.5-149.6
|
||||
c10.8-0.4,21.6-0.6,32.4-0.6c104.2,0,215.7,17.2,329.4,49.9l0,0c2.4,0.8,5,1.4,7.4,2.3c1.9,0.6,3.9,1.1,5.8,1.6l0,0
|
||||
c26.3,7.8,52.5,16.6,79,26l0,0c0.6,0.3,1.3,0.5,1.9,0.8c6.9,2.4,13.7,5,20.6,7.7c2.1,0.8,4.3,1.6,6.4,2.4c2,0.8,4.1,1.5,6.2,2.4l0,0
|
||||
c55.5,21.5,110.9,46.5,165.6,74.9c105.9,55,202.9,119.6,287.3,190.5c-161.1,36.9-348.3,108-536.5,204c-8.7,4.5-14.4,13.1-15,22.9
|
||||
c-0.6,11.7-1.5,35.1-2.1,53.8c-0.4,11.7,11.9,19.5,22.4,14.1l0.1-0.1c186.3-97.9,372.4-171,532.2-209.7c29.9-7.2,49.3-35.9,45-66.3
|
||||
c-2.9-21.2-6.2-42.2-9.8-62.7c-4.5-25.9-18.7-48.9-39.6-64.7c-74.9-57-157.3-109.3-245.5-155.2c-59.4-30.9-119.9-57.9-180.4-81.2
|
||||
c-12.9-5-18.5-20.2-11.7-32.3c62.3-111.4,136.4-173.9,208.7-173.9c0.8,0,1.5,0,2.3,0c85.2,1.5,170.1,90.2,233.1,243.4
|
||||
c31.8,77.5,56.5,166.8,73.4,264.1c-0.1-0.1-0.3-0.3-0.3-0.3c7.2,41.5,13.1,84.3,17.3,128.2c-0.4,0.3-0.8,0.4-1.1,0.8
|
||||
c0.5,0.5,1,1,1.5,1.5c7.2,73.7,10.2,150.5,8.8,228.9c-0.9,49.6-3.5,98.4-7.8,146.4c-114,92.1-254.8,183.7-409.7,265.7
|
||||
c-50.9,26.9-101.8,52-152.1,75.3c-0.8,0.4-1.5,0.8-2.4,1.1c-3.9,1.8-7.8,3.5-11.6,5.3h-0.1c-41.8,19-83,36.4-123.8,52.4l0,0
|
||||
c-2.4,0.9-4.5,1.8-6.9,2.6c-2.9,1.1-5.7,2.3-8.5,3.4c-6.8,2.6-13.6,5.2-20.5,7.8c-1.9,0.8-3.8,1.4-5.7,2.1c-8.3,3-16.3,6-24.6,8.9
|
||||
c-1,0.4-2,0.8-3,1.1l0,0c-87.2,31-170.2,54.5-245.9,69C690.7,1938.5,604.5,1911.6,585,1874.5z M836.9,1517.7
|
||||
c81-66,176-131.8,280-194.1c2.3,133.2,16.8,261.1,42.7,376.5c-38.7-16.5-77.1-34.6-115.3-54.4
|
||||
C970.5,1607.3,900.9,1564.2,836.9,1517.7z M1368.6,2161.9c-39.1,5-78.6,7.7-118.6,7.7c-178.8,0-349.7-50.6-496.5-145.2
|
||||
c-10.1-6.5-5.8-22.1,6.2-22.7c2.4-0.1,4.8-0.3,6.8-0.4c37.3-2.4,78.1-7.9,122.5-16.5c94.2-18.1,199-49.3,308.8-91.1
|
||||
c9.8-3.8,20.9,1.1,24.8,10.9c0,0.1,0,0.1,0.1,0.3c42.5,103.5,94.9,181.7,153.7,231.6C1386.1,2144.4,1381.3,2160.3,1368.6,2161.9z
|
||||
M1757.3,1916.4c-65.7,129.2-146.5,201.6-224.8,200.1c-85.2-1.5-170.1-90.2-233.1-243.4l-0.1-0.3c-4-9.8,0.6-20.9,10.3-25
|
||||
c0.8-0.3,1.4-0.6,2-0.9c4.1-1.9,8.8-2.1,13.1-0.9c117.6,33,233.6,50.3,342.1,50.3c11.8,0,23.5-0.3,35.2-0.6
|
||||
c13.6-0.5,26.9-1.3,40.2-2.4C1754.4,1892.5,1763,1905.5,1757.3,1916.4z M1785.6,1805.3c-27.4,4-56.3,6.5-86.6,7.7
|
||||
c-73.7,2.5-151.6-3.8-231.6-18.5c-9.8-1.9-11.6-15-2.8-19.5c17.5-8.8,34.9-17.8,52.4-27.1c122.4-64.8,236.7-135.8,336.6-208.6
|
||||
c7.5-5.5,17.8,1,16.2,10.2c-13.8,83.4-33,161.8-57.2,233.1C1808.8,1794.6,1798.3,1803.6,1785.6,1805.3z M1921.3,1878.3
|
||||
c-6.9,7.4-13.9,14.7-21.1,21.9c-12.6,12.6-25.4,24.6-38.4,36.3c-8.3,7.3-20.7-1.9-16.1-11.9c1.4-2.9,2.6-5.8,4-8.7
|
||||
c5.5-12.1,10.9-24.6,16-37.3c1.3-2.9,3.8-5.2,6.9-6c13.1-3.4,25.8-6.9,38.1-10.9C1920.8,1858.5,1928.6,1870.7,1921.3,1878.3z
|
||||
M2106.2,1586.6c-4.4,11.3-9,22.4-13.9,33.4c-0.8,1.5-1.4,3-2.3,4.5c-30.3,58.4-81.3,104.3-149.1,136.2c-15.2,7.2-31.9-6.8-27.4-23
|
||||
c22.6-80.8,39.7-168.4,50.8-260.3c2-17.1,10.4-32.8,23.6-44.1c28-24.2,54.2-48.2,78-72.2l0.3-0.3c11.8-11.8,32-6.7,36.8,9.3
|
||||
C2126.6,1449,2128,1522.5,2106.2,1586.6z M2124.6,1155.9c-6.8,12.3-24.4,12.9-32,1c-1.3-1.9-2.4-3.6-3.5-5.5
|
||||
c-27.4-42.1-58.9-83.4-94.2-123.6c-8.7-9.8-1.6-25.4,11.6-25.4h0.3c82.3,0,125.5,20.4,138.8,45.2
|
||||
C2156.4,1068.3,2153,1104.6,2124.6,1155.9z M2169,1277.4c-0.3,6.2-8.7,7.8-11.1,2.1c-1-2.4-2.1-5-3.3-7.4c-2-4.5-1.4-9.8,1.5-13.7
|
||||
c0.6-0.8,1.9-2.4,3.4-4.4c4-5.3,9.8-4.5,9.8,1.4C2169.5,1262.8,2169.3,1269.5,2169,1277.4z"
|
||||
/>
|
||||
</svg>
|
After Width: | Height: | Size: 5.7 KiB |
@ -1,13 +1,10 @@
|
||||
import { ASSETS, MARS_MAINNET_DENOM } from 'constants/assets'
|
||||
import { bySymbol } from 'utils/array'
|
||||
import getPoolPrice from 'api/prices/getPoolPrice'
|
||||
import { ASSETS } from 'constants/assets'
|
||||
import { bySymbol } from 'utils/array'
|
||||
|
||||
async function getMarsPrice() {
|
||||
const marsAsset = {
|
||||
...(ASSETS.find(bySymbol('MARS')) as Asset),
|
||||
denom: MARS_MAINNET_DENOM,
|
||||
}
|
||||
|
||||
const marsAsset = ASSETS.find(bySymbol('MARS'))
|
||||
if (!marsAsset) return 0
|
||||
return await getPoolPrice(marsAsset)
|
||||
}
|
||||
|
||||
|
@ -41,7 +41,21 @@ const getAssetRate = async (asset: Asset) => {
|
||||
`poolPrices/${(asset.poolId || 0).toString()}`,
|
||||
60,
|
||||
)
|
||||
return calculateSpotPrice(response.pool.pool_assets, asset)
|
||||
const pool = response.pool
|
||||
const poolAssets: PoolAsset[] = pool.scaling_factor_controller
|
||||
? [
|
||||
{
|
||||
token: pool.pool_liquidity[0],
|
||||
weight: 1,
|
||||
},
|
||||
{
|
||||
token: pool.pool_liquidity[1],
|
||||
weight: 1,
|
||||
},
|
||||
]
|
||||
: pool.pool_assets
|
||||
|
||||
return calculateSpotPrice(poolAssets, asset)
|
||||
}
|
||||
|
||||
const calculateSpotPrice = (poolAssets: PoolAsset[], asset: Asset): [BigNumber, PoolAsset] => {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import React, { useCallback, useMemo } from 'react'
|
||||
import { useCallback, useMemo } from 'react'
|
||||
|
||||
import DropDownButton from 'components/Button/DropDownButton'
|
||||
import { ArrowDownLine, Cross, HandCoins, Plus, Scale } from 'components/Icons'
|
||||
@ -61,7 +61,7 @@ export default function Manage(props: Props) {
|
||||
onClick: () => closeHlsStakingPosition({ accountId: props.account.id, actions }),
|
||||
},
|
||||
],
|
||||
[actions, closeHlsStakingPosition, openModal, props.account.id],
|
||||
[actions, closeHlsStakingPosition, openModal, props.account.id, hasNoDebt],
|
||||
)
|
||||
|
||||
return <DropDownButton items={ITEMS} text='Manage' color='tertiary' />
|
||||
|
@ -36,7 +36,7 @@ export default function DesktopHeader() {
|
||||
return (
|
||||
<header
|
||||
className={classNames(
|
||||
'fixed left-0 top-0 z-30 hidden w-full',
|
||||
'fixed left-0 top-0 z-50 hidden w-full',
|
||||
'before:content-[" "] before:absolute before:inset-0 before:-z-1 before:h-full before:w-full before:rounded-sm before:backdrop-blur-sticky',
|
||||
'lg:block',
|
||||
)}
|
||||
|
@ -54,7 +54,7 @@ export default function TokenInput(props: Props) {
|
||||
<div
|
||||
data-testid='token-input-wrapper'
|
||||
className={classNames(
|
||||
'relative isolate z-40 box-content flex h-11 w-full rounded-sm border bg-white/5',
|
||||
'relative isolate z-20 box-content flex h-11 w-full rounded-sm border bg-white/5',
|
||||
props.warning ? 'border-warning' : 'border-white/20',
|
||||
)}
|
||||
>
|
||||
|
@ -21,7 +21,7 @@ export const TVChartContainer = (props: Props) => {
|
||||
const chartContainerRef = useRef<HTMLDivElement>() as React.MutableRefObject<HTMLInputElement>
|
||||
const widgetRef = useRef<IChartingLibraryWidget>()
|
||||
const defaultSymbol = useRef<string>(
|
||||
`${props.sellAsset.mainnetDenom}${PAIR_SEPARATOR}${props.buyAsset.mainnetDenom}`,
|
||||
`${props.sellAsset.denom}${PAIR_SEPARATOR}${props.buyAsset.denom}`,
|
||||
)
|
||||
const baseCurrency = useStore((s) => s.baseCurrency)
|
||||
const dataFeed = useMemo(
|
||||
@ -94,12 +94,12 @@ export const TVChartContainer = (props: Props) => {
|
||||
useEffect(() => {
|
||||
if (widgetRef?.current) {
|
||||
widgetRef.current.setSymbol(
|
||||
`${props.sellAsset.mainnetDenom}${PAIR_SEPARATOR}${props.buyAsset.mainnetDenom}`,
|
||||
`${props.sellAsset.denom}${PAIR_SEPARATOR}${props.buyAsset.denom}`,
|
||||
widgetRef.current.chart().resolution() || ('1h' as ResolutionString),
|
||||
() => {},
|
||||
)
|
||||
}
|
||||
}, [props.buyAsset.mainnetDenom, props.sellAsset.mainnetDenom])
|
||||
}, [props.buyAsset.denom, props.sellAsset.denom])
|
||||
|
||||
return (
|
||||
<Card title='Trading Chart' contentClassName='px-0.5 pb-0.5 h-full'>
|
||||
|
@ -14,7 +14,7 @@ export default function TradeModule(props: Props) {
|
||||
return (
|
||||
<div
|
||||
className={classNames(
|
||||
'relative isolate max-w-full overflow-hidden rounded-base pb-4 z-50',
|
||||
'relative isolate max-w-full overflow-hidden rounded-base pb-4 z-30',
|
||||
'before:content-[" "] before:absolute before:inset-0 before:-z-1 before:rounded-base before:p-[1px] before:border-glas',
|
||||
'h-full',
|
||||
)}
|
||||
|
@ -1,16 +1,12 @@
|
||||
import { ENV } from 'constants/env'
|
||||
import { NETWORK } from 'types/enums/network'
|
||||
|
||||
export const MARS_MAINNET_DENOM =
|
||||
'ibc/573FCD90FACEE750F55A8864EF7D38265F07E5A9273FA0E8DAFD39951332B580'
|
||||
|
||||
export const ASSETS: Asset[] = [
|
||||
{
|
||||
symbol: 'OSMO',
|
||||
name: 'Osmosis',
|
||||
id: 'OSMO',
|
||||
denom: 'uosmo',
|
||||
mainnetDenom: 'uosmo',
|
||||
color: '#9f1ab9',
|
||||
decimals: 6,
|
||||
hasOraclePrice: true,
|
||||
@ -27,11 +23,7 @@ export const ASSETS: Asset[] = [
|
||||
symbol: 'ATOM',
|
||||
name: 'Atom',
|
||||
id: 'ATOM',
|
||||
denom:
|
||||
ENV.NETWORK === NETWORK.TESTNET
|
||||
? 'ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477'
|
||||
: 'ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2',
|
||||
mainnetDenom: 'ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2',
|
||||
denom: 'ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2',
|
||||
color: '#6f7390',
|
||||
logo: '/images/tokens/atom.svg',
|
||||
decimals: 6,
|
||||
@ -50,31 +42,45 @@ export const ASSETS: Asset[] = [
|
||||
name: 'Stride Atom',
|
||||
id: 'stATOM',
|
||||
denom: 'ibc/C140AFD542AE77BD7DCC83F13FDD8C5E5BB8C4929785E6EC2F4C636F98F17901',
|
||||
mainnetDenom: 'ibc/C140AFD542AE77BD7DCC83F13FDD8C5E5BB8C4929785E6EC2F4C636F98F17901',
|
||||
color: '#e50571',
|
||||
logo: '/images/tokens/statom.svg',
|
||||
decimals: 6,
|
||||
hasOraclePrice: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
isEnabled: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
isMarket: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
isDisplayCurrency: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
hasOraclePrice: true,
|
||||
isEnabled: true,
|
||||
isMarket: true,
|
||||
isDisplayCurrency: true,
|
||||
isAutoLendEnabled: false,
|
||||
poolId: 803,
|
||||
isStaking: true,
|
||||
},
|
||||
{
|
||||
symbol: 'stOSMO',
|
||||
name: 'Stride Osmosis',
|
||||
id: 'stOSMO',
|
||||
denom: 'ibc/D176154B0C63D1F9C6DCFB4F70349EBF2E2B5A87A05902F57A6AE92B863E9AEC',
|
||||
color: '#e50571',
|
||||
logo: '/images/tokens/stosmo.svg',
|
||||
decimals: 6,
|
||||
hasOraclePrice: true,
|
||||
isEnabled: true,
|
||||
isMarket: true,
|
||||
isDisplayCurrency: true,
|
||||
isAutoLendEnabled: false,
|
||||
poolId: 833,
|
||||
isStaking: true,
|
||||
},
|
||||
{
|
||||
symbol: 'WBTC.axl',
|
||||
id: 'axlWBTC',
|
||||
name: 'Axelar Wrapped Bitcoin',
|
||||
denom: 'ibc/D1542AA8762DB13087D8364F3EA6509FD6F009A34F00426AF9E4F9FA85CBBF1F',
|
||||
mainnetDenom: 'ibc/D1542AA8762DB13087D8364F3EA6509FD6F009A34F00426AF9E4F9FA85CBBF1F',
|
||||
color: '#f09242',
|
||||
logo: '/images/tokens/axlwbtc.svg',
|
||||
decimals: 8,
|
||||
hasOraclePrice: true,
|
||||
isEnabled: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
isMarket: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
isDisplayCurrency: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
isEnabled: true,
|
||||
isMarket: true,
|
||||
isDisplayCurrency: true,
|
||||
isAutoLendEnabled: true,
|
||||
isBorrowEnabled: true,
|
||||
pythPriceFeedId: 'e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43',
|
||||
@ -86,14 +92,13 @@ export const ASSETS: Asset[] = [
|
||||
id: 'axlWETH',
|
||||
name: 'Axelar Wrapped Ethereum',
|
||||
denom: 'ibc/EA1D43981D5C9A1C4AAEA9C23BB1D4FA126BA9BC7020A25E0AE4AA841EA25DC5',
|
||||
mainnetDenom: 'ibc/EA1D43981D5C9A1C4AAEA9C23BB1D4FA126BA9BC7020A25E0AE4AA841EA25DC5',
|
||||
color: '#343434',
|
||||
logo: '/images/tokens/axlweth.svg',
|
||||
decimals: 18,
|
||||
hasOraclePrice: true,
|
||||
isEnabled: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
isMarket: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
isDisplayCurrency: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
isEnabled: true,
|
||||
isMarket: true,
|
||||
isDisplayCurrency: true,
|
||||
isAutoLendEnabled: true,
|
||||
isBorrowEnabled: true,
|
||||
pythPriceFeedId: 'ff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace',
|
||||
@ -104,11 +109,7 @@ export const ASSETS: Asset[] = [
|
||||
symbol: 'MARS',
|
||||
name: 'Mars',
|
||||
id: 'MARS',
|
||||
denom:
|
||||
ENV.NETWORK === NETWORK.TESTNET
|
||||
? 'ibc/DB9D326CF53EA07610C394D714D78F8BB4DC7E312D4213193791A9046BF45E20'
|
||||
: MARS_MAINNET_DENOM,
|
||||
mainnetDenom: MARS_MAINNET_DENOM,
|
||||
denom: 'ibc/573FCD90FACEE750F55A8864EF7D38265F07E5A9273FA0E8DAFD39951332B580',
|
||||
color: '#a03b45',
|
||||
logo: '/images/tokens/mars.svg',
|
||||
decimals: 6,
|
||||
@ -122,11 +123,7 @@ export const ASSETS: Asset[] = [
|
||||
symbol: 'USDC.axl',
|
||||
name: 'Axelar USDC',
|
||||
id: 'axlUSDC',
|
||||
denom:
|
||||
ENV.NETWORK === NETWORK.TESTNET
|
||||
? 'ibc/6F34E1BD664C36CE49ACC28E60D62559A5F96C4F9A6CCE4FC5A67B2852E24CFE'
|
||||
: 'ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858',
|
||||
mainnetDenom: 'ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858',
|
||||
denom: 'ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858',
|
||||
color: '#478edc',
|
||||
logo: '/images/tokens/axlusdc.svg',
|
||||
decimals: 6,
|
||||
@ -145,11 +142,7 @@ export const ASSETS: Asset[] = [
|
||||
symbol: 'USDC',
|
||||
name: 'Noble',
|
||||
id: 'USDC',
|
||||
denom:
|
||||
ENV.NETWORK === NETWORK.TESTNET
|
||||
? 'ibc/B3504E092456BA618CC28AC671A71FB08C6CA0FD0BE7C8A5B5A3E2DD933CC9E4'
|
||||
: 'ibc/498A0751C798A0D9A389AA3691123DADA57DAA4FE165D5C75894505B876BA6E4',
|
||||
mainnetDenom: 'ibc/498A0751C798A0D9A389AA3691123DADA57DAA4FE165D5C75894505B876BA6E4',
|
||||
denom: 'ibc/498A0751C798A0D9A389AA3691123DADA57DAA4FE165D5C75894505B876BA6E4',
|
||||
color: '#478edc',
|
||||
logo: '/images/tokens/usdc.svg',
|
||||
decimals: 6,
|
||||
@ -161,33 +154,49 @@ export const ASSETS: Asset[] = [
|
||||
isBorrowEnabled: true,
|
||||
isAutoLendEnabled: true,
|
||||
pythPriceFeedId: 'eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a',
|
||||
pythHistoryFeedId: 'Crypto.USDC/USD',
|
||||
poolId: ENV.NETWORK === NETWORK.DEVNET ? 678 : 1221,
|
||||
pythHistoryFeedId: 'Crypto.USDC/USD',
|
||||
},
|
||||
{
|
||||
symbol: 'AXL',
|
||||
name: 'Axelar',
|
||||
id: 'AXL',
|
||||
denom: 'ibc/903A61A498756EA560B85A85132D3AEE21B5DEDD41213725D22ABF276EA6945E',
|
||||
mainnetDenom: 'ibc/903A61A498756EA560B85A85132D3AEE21B5DEDD41213725D22ABF276EA6945E',
|
||||
color: '#FFF',
|
||||
logo: '/images/tokens/axl.svg',
|
||||
decimals: 6,
|
||||
hasOraclePrice: true,
|
||||
isEnabled: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
isMarket: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
isDisplayCurrency: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
isEnabled: true,
|
||||
isMarket: true,
|
||||
isDisplayCurrency: true,
|
||||
isAutoLendEnabled: false,
|
||||
pythPriceFeedId: '60144b1d5c9e9851732ad1d9760e3485ef80be39b984f6bf60f82b28a2b7f126',
|
||||
pythHistoryFeedId: 'Crypto.AXL/USD',
|
||||
poolId: 812,
|
||||
},
|
||||
{
|
||||
symbol: 'TIA',
|
||||
id: 'TIA',
|
||||
name: 'Celestia',
|
||||
denom: 'ibc/D79E7D83AB399BFFF93433E54FAA480C191248FC556924A2A8351AE2638B3877',
|
||||
color: '#8623ff',
|
||||
logo: '/images/tokens/tia.svg',
|
||||
decimals: 6,
|
||||
hasOraclePrice: true,
|
||||
isEnabled: true,
|
||||
isMarket: true,
|
||||
isDisplayCurrency: true,
|
||||
isAutoLendEnabled: true,
|
||||
isBorrowEnabled: true,
|
||||
pythPriceFeedId: '09f7c1d7dfbb7df2b8fe3d3d87ee94a2259d212da4f30c1f0540d066dfa44723',
|
||||
poolId: 1249,
|
||||
pythHistoryFeedId: 'Crypto.TIA/USD',
|
||||
},
|
||||
{
|
||||
symbol: '$',
|
||||
name: 'US Dollar',
|
||||
id: 'USD',
|
||||
denom: 'usd',
|
||||
mainnetDenom: 'usd',
|
||||
color: '',
|
||||
logo: '',
|
||||
decimals: 2,
|
||||
@ -201,9 +210,8 @@ export const ASSETS: Asset[] = [
|
||||
{
|
||||
symbol: 'OSMO-ATOM',
|
||||
name: 'OSMO-ATOM LP',
|
||||
id: ENV.NETWORK === NETWORK.TESTNET ? 'gamm/pool/12' : 'gamm/pool/1',
|
||||
denom: ENV.NETWORK === NETWORK.TESTNET ? 'gamm/pool/12' : 'gamm/pool/1',
|
||||
mainnetDenom: ENV.NETWORK === NETWORK.TESTNET ? 'gamm/pool/12' : 'gamm/pool/1',
|
||||
id: 'gamm/pool/1',
|
||||
denom: 'gamm/pool/1',
|
||||
color: '',
|
||||
logo: '',
|
||||
decimals: 6,
|
||||
@ -217,55 +225,51 @@ export const ASSETS: Asset[] = [
|
||||
name: 'OSMO-USDC.axl LP',
|
||||
id: 'gamm/pool/678',
|
||||
denom: 'gamm/pool/678',
|
||||
mainnetDenom: 'gamm/pool/678',
|
||||
color: '',
|
||||
logo: '',
|
||||
decimals: 6,
|
||||
isEnabled: false,
|
||||
isMarket: false,
|
||||
hasOraclePrice: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
forceFetchPrice: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
hasOraclePrice: true,
|
||||
forceFetchPrice: true,
|
||||
},
|
||||
{
|
||||
symbol: 'OSMO-WETH.axl',
|
||||
name: 'OSMO-WETH.axl LP',
|
||||
id: 'gamm/pool/704',
|
||||
denom: 'gamm/pool/704',
|
||||
mainnetDenom: 'gamm/pool/704',
|
||||
color: '',
|
||||
logo: '',
|
||||
decimals: 6,
|
||||
isEnabled: false,
|
||||
isMarket: false,
|
||||
hasOraclePrice: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
forceFetchPrice: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
hasOraclePrice: true,
|
||||
forceFetchPrice: true,
|
||||
},
|
||||
{
|
||||
symbol: 'OSMO-WBTC.axl',
|
||||
name: 'OSMO-WBTC.axl LP',
|
||||
id: 'gamm/pool/712',
|
||||
denom: 'gamm/pool/712',
|
||||
mainnetDenom: 'gamm/pool/712',
|
||||
color: '',
|
||||
logo: '',
|
||||
decimals: 6,
|
||||
isEnabled: false,
|
||||
isMarket: false,
|
||||
hasOraclePrice: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
forceFetchPrice: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
hasOraclePrice: true,
|
||||
forceFetchPrice: true,
|
||||
},
|
||||
{
|
||||
symbol: 'stATOM-ATOM',
|
||||
name: 'stATOM-ATOM LP',
|
||||
id: 'gamm/pool/803',
|
||||
denom: 'gamm/pool/803',
|
||||
mainnetDenom: 'gamm/pool/803',
|
||||
color: '',
|
||||
logo: '',
|
||||
decimals: 6,
|
||||
isEnabled: false,
|
||||
isMarket: false,
|
||||
hasOraclePrice: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
forceFetchPrice: ENV.NETWORK !== NETWORK.TESTNET,
|
||||
hasOraclePrice: true,
|
||||
forceFetchPrice: true,
|
||||
},
|
||||
]
|
||||
|
@ -39,7 +39,7 @@ export default function TradePage() {
|
||||
</div>
|
||||
{assetOverlayState !== 'closed' && (
|
||||
<div
|
||||
className='fixed top-0 left-0 z-40 block w-full h-full hover:cursor-pointer'
|
||||
className='fixed top-0 left-0 z-20 block w-full h-full hover:cursor-pointer'
|
||||
onClick={() => useStore.setState({ assetOverlayState: 'closed' })}
|
||||
role='button'
|
||||
/>
|
||||
|
5
src/types/interfaces/asset.d.ts
vendored
5
src/types/interfaces/asset.d.ts
vendored
@ -2,13 +2,14 @@ interface Asset {
|
||||
color: string
|
||||
name: string
|
||||
denom: string
|
||||
mainnetDenom: string
|
||||
symbol:
|
||||
| 'OSMO'
|
||||
| 'ATOM'
|
||||
| 'MARS'
|
||||
| 'stATOM'
|
||||
| 'stOSMO'
|
||||
| 'AXL'
|
||||
| 'TIA'
|
||||
| 'USDC.axl'
|
||||
| 'USDC'
|
||||
| 'WBTC.axl'
|
||||
@ -25,7 +26,9 @@ interface Asset {
|
||||
| 'ATOM'
|
||||
| 'MARS'
|
||||
| 'stATOM'
|
||||
| 'stOSMO'
|
||||
| 'AXL'
|
||||
| 'TIA'
|
||||
| 'axlUSDC'
|
||||
| 'axlWBTC'
|
||||
| 'axlWETH'
|
||||
|
Loading…
Reference in New Issue
Block a user