Devnet (#466)
* feat: deployed on devnet * fix: add the faucet * ✨updated vault deposit toast message (#460) * Post demo fixes (#458) * fix: show precission * fix: fixed borrow to wallet * fix: fixed autoLend on funding * fix: adjusted according to feedback * fix: typo * fix: typo * fix: fixed the asset truncation for WETH and WBTC (#461) * wallets: support update * fix: fixed AXL * fix: adjusted assets * fix: asset adjustments --------- Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
This commit is contained in:
parent
8cf3eec143
commit
858da84777
62
.env.example
62
.env.example
@ -1,26 +1,52 @@
|
||||
NEXT_PUBLIC_NETWORK=testnet
|
||||
NEXT_PUBLIC_CHAIN_ID=osmo-test-5
|
||||
NEXT_PUBLIC_RPC=https://testnet-osmosis-node.marsprotocol.io/XF32UOOU55CX/osmosis-rpc-front/
|
||||
NEXT_PUBLIC_GQL=https://testnet-osmosis-node.marsprotocol.io/XF32UOOU55CX/osmosis-hive-front/graphql
|
||||
NEXT_PUBLIC_REST=https://testnet-osmosis-node.marsprotocol.io/XF32UOOU55CX/osmosis-lcd-front/
|
||||
NEXT_PUBLIC_NETWORK=devnet
|
||||
NEXT_PUBLIC_CHAIN_ID=devnet
|
||||
NEXT_PUBLIC_RPC=https://rpc.devnet.osmosis.zone/
|
||||
NEXT_PUBLIC_GQL=https://devnet-osmosis-gql.marsprotocol.io/graphql
|
||||
NEXT_PUBLIC_REST=https://lcd.devnet.osmosis.zone/
|
||||
NEXT_PUBLIC_SWAP=https://testnet.osmosis.zone
|
||||
NEXT_PUBLIC_APOLLO_APR=https://api.apollo.farm/api/vault_infos/v2/osmo-test-5
|
||||
NEXT_PUBLIC_ACCOUNT_NFT=osmo1hdk6nps2l2tdfgly0tegcgwl239l45etuae7nsc6s93u0yrqk4rqv489kl
|
||||
NEXT_PUBLIC_ORACLE=osmo1dxu93scjdnx42txdp9d4hm3snffvnzmkp4jpc9sml8xlu3ncgamsl2lx58
|
||||
NEXT_PUBLIC_RED_BANK=osmo1hs4sm0fah9rk4mz8e56v4n76g0q9fffdkkjm3f8tjagkdx78pqcq75pk0a
|
||||
NEXT_PUBLIC_CREDIT_MANAGER=osmo1zwugj8tz9nq63m3lxcfpunp0xr5lnlxdr0yyn4gpftx3ham09m4skn73ew
|
||||
NEXT_PUBLIC_INCENTIVES=osmo1nu0k6g294jela67vyth6nwr3l42gutq2m07pg9927f7v7tuv0d4sre9fr7
|
||||
NEXT_PUBLIC_ZAPPER=osmo1jwtmujld4ew2vt67qnmpdxr3fmmle2yg823de5ygvf47uvhpu76qlhf82q
|
||||
NEXT_PUBLIC_SWAPPER=osmo1ee9cq8dcknmw43znznx6vuupx5ku0tt505agccgaz5gn48mhe45s3kwwfm
|
||||
NEXT_PUBLIC_PARAMS=osmo1h334tvddn82m4apm08rm9k6kt32ws7vy0c4n30ngrvu6h6yxh8eq9l9jfh
|
||||
NEXT_PUBLIC_APOLLO_APR=https://api.apollo.farm/api/vault_infos/v2/osmosis-1
|
||||
NEXT_PUBLIC_ACCOUNT_NFT=osmo1j0m37hqpaeh79cjrdna4sep6yfyu278rrm4qta6s4hjq6fv3njxqsvhcex
|
||||
NEXT_PUBLIC_ORACLE=osmo1dh8f3rhg4eruc9w7c9d5e06eupqqrth7v32ladwkyphvnn66muzqxcfe60
|
||||
NEXT_PUBLIC_RED_BANK=osmo1pvrlpmdv3ee6lgmxd37n29gtdahy4tec7c5nyer9aphvfr526z6sff9zdg
|
||||
NEXT_PUBLIC_CREDIT_MANAGER=osmo12wd0rwuvu7wwujztkww5c7sg4fw4e6t235jyftwy5ydc48uxd24q4s9why
|
||||
NEXT_PUBLIC_INCENTIVES=osmo1aemnaq5x3jkttnd38g7lewh24nh90r9zwh8853qv3tkf47p2hnasaae0e4
|
||||
NEXT_PUBLIC_ZAPPER=osmo1yhh8mhthj5jn5c6ty59z3tpsk554qxmlkrkcderw6jls0pcg8zxsdjdj94
|
||||
NEXT_PUBLIC_SWAPPER=osmo17c4retwuyxjxzv9f2q9r0272s8smktpzhjetssttxxdavarjtujsjqafa2
|
||||
NEXT_PUBLIC_PARAMS=osmo1dpwu03xc45vpqur6ry69xjhltq4v0snrhaukcp4fvhucx0wypzhs978lnp
|
||||
NEXT_PUBLIC_PYTH=osmo13ge29x4e2s63a8ytz2px8gurtyznmue4a69n5275692v3qn3ks8q7cwck7
|
||||
NEXT_PUBLIC_API=http://localhost:3000/api
|
||||
NEXT_PUBLIC_CANDLES_ENDPOINT="https://api.thegraph.com/subgraphs/name/{NAME}/{GRAPH_NAME}"
|
||||
CHARTING_LIBRARY_USERNAME="username_with_access_to_charting_library"
|
||||
CHARTING_LIBRARY_ACCESS_TOKEN="access_token_with_access_to_charting_library"
|
||||
CHARTING_LIBRARY_REPOSITORY="github.com/username/charting_library/"
|
||||
NEXT_PUBLIC_PYTH_ENDPOINT=https://xc-mainnet.pyth.network/api
|
||||
NEXT_PUBLIC_MAINNET_REST=https://osmosis-node.marsprotocol.io/GGSFGSFGFG34/osmosis-lcd-front/
|
||||
NEXT_PUBLIC_CANDLES_ENDPOINT=https://api.thegraph.com/subgraphs/name/donovansolms/osmosis-tv-candles-test
|
||||
NEXT_PUBLIC_WALLET_CONNECT_ID=d93fdffb159bae5ec87d8fee4cdbb045
|
||||
CHARTING_LIBRARY_REPOSITORY=github.com/tradingview/charting_library
|
||||
CHARTING_LIBRARY_ACCESS_TOKEN=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
|
||||
CHARTING_LIBRARY_USERNAME=mars-git-demo
|
||||
|
||||
# TESTNET #
|
||||
# NEXT_PUBLIC_NETWORK=testnet
|
||||
# NEXT_PUBLIC_CHAIN_ID=osmo-test-5
|
||||
# NEXT_PUBLIC_RPC=https://testnet-osmosis-node.marsprotocol.io/XF32UOOU55CX/osmosis-rpc-front/
|
||||
# NEXT_PUBLIC_GQL=https://testnet-osmosis-node.marsprotocol.io/XF32UOOU55CX/osmosis-hive-front/graphql
|
||||
# NEXT_PUBLIC_REST=https://testnet-osmosis-node.marsprotocol.io/XF32UOOU55CX/osmosis-lcd-front/
|
||||
# NEXT_PUBLIC_SWAP=https://testnet.osmosis.zone
|
||||
# NEXT_PUBLIC_APOLLO_APR=https://api.apollo.farm/api/vault_infos/v2/osmo-test-5
|
||||
# NEXT_PUBLIC_ACCOUNT_NFT=osmo1hdk6nps2l2tdfgly0tegcgwl239l45etuae7nsc6s93u0yrqk4rqv489kl
|
||||
# NEXT_PUBLIC_ORACLE=osmo1dxu93scjdnx42txdp9d4hm3snffvnzmkp4jpc9sml8xlu3ncgamsl2lx58
|
||||
# NEXT_PUBLIC_RED_BANK=osmo1hs4sm0fah9rk4mz8e56v4n76g0q9fffdkkjm3f8tjagkdx78pqcq75pk0a
|
||||
# NEXT_PUBLIC_CREDIT_MANAGER=osmo1zwugj8tz9nq63m3lxcfpunp0xr5lnlxdr0yyn4gpftx3ham09m4skn73ew
|
||||
# NEXT_PUBLIC_INCENTIVES=osmo1nu0k6g294jela67vyth6nwr3l42gutq2m07pg9927f7v7tuv0d4sre9fr7
|
||||
# NEXT_PUBLIC_ZAPPER=osmo1jwtmujld4ew2vt67qnmpdxr3fmmle2yg823de5ygvf47uvhpu76qlhf82q
|
||||
# NEXT_PUBLIC_SWAPPER=osmo1ee9cq8dcknmw43znznx6vuupx5ku0tt505agccgaz5gn48mhe45s3kwwfm
|
||||
# NEXT_PUBLIC_PARAMS=osmo1h334tvddn82m4apm08rm9k6kt32ws7vy0c4n30ngrvu6h6yxh8eq9l9jfh
|
||||
# NEXT_PUBLIC_API=http://localhost:3000/api
|
||||
# NEXT_PUBLIC_CANDLES_ENDPOINT="https://api.thegraph.com/subgraphs/name/{NAME}/{GRAPH_NAME}"
|
||||
# CHARTING_LIBRARY_USERNAME="username_with_access_to_charting_library"
|
||||
# CHARTING_LIBRARY_ACCESS_TOKEN="access_token_with_access_to_charting_library"
|
||||
# CHARTING_LIBRARY_REPOSITORY="github.com/username/charting_library/"
|
||||
# NEXT_PUBLIC_PYTH_ENDPOINT=https://xc-mainnet.pyth.network/api
|
||||
# NEXT_PUBLIC_MAINNET_REST=https://osmosis-node.marsprotocol.io/GGSFGSFGFG34/osmosis-lcd-front/
|
||||
# NEXT_PUBLIC_WALLET_CONNECT_ID=d93fdffb159bae5ec87d8fee4cdbb045
|
||||
|
||||
# MAINNET #
|
||||
# NEXT_PUBLIC_NETWORK=mainnet
|
||||
|
15
public/images/tokens/axl.svg
Normal file
15
public/images/tokens/axl.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 24 24">
|
||||
<path fill="#FFFFFF" d="M12,24c6.6,0,12-5.4,12-12S18.6,0,12,0S0,5.4,0,12S5.4,24,12,24z" />
|
||||
<path
|
||||
d="M12.9,10.8l4.5-4.4l-1.7-1.7L12,8.2L8.4,4.7L6.6,6.4l4.5,4.5c0.2,0.2,0.5,0.3,0.9,0.3S12.6,11,12.9,10.8L12.9,10.8z"
|
||||
/>
|
||||
<path
|
||||
d="M19.4,15.6L15.8,12l3.6-3.6l-1.7-1.7l-4.5,4.5c-0.4,0.4-0.4,1.2,0,1.7l4.5,4.5L19.4,15.6z"
|
||||
/>
|
||||
<path
|
||||
d="M12,15.7l3.6,3.6l1.7-1.7l-4.5-4.5c-0.4-0.4-1.3-0.4-1.7,0l-4.5,4.4l1.7,1.7L12,15.7L12,15.7z"
|
||||
/>
|
||||
<path
|
||||
d="M10.8,12.9c0.2-0.2,0.3-0.5,0.3-0.9s-0.1-0.6-0.3-0.9L6.3,6.6L4.6,8.4L8.2,12l-3.6,3.6l1.7,1.7L10.8,12.9z"
|
||||
/>
|
||||
</svg>
|
After Width: | Height: | Size: 668 B |
@ -1,18 +0,0 @@
|
||||
<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 120.1 138.8" style="enable-background:new 0 0 120.1 138.8;" xml:space="preserve">
|
||||
<path fill="#002D74" d="M60.1,0L0,34.7v69.4l60.1,34.7l60-34.7V34.7L60.1,0z M102.3,93.8l-42.3,24.4L17.8,93.8V45l42.3-24.4L102.3,45
|
||||
V93.8z"/>
|
||||
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="90.1166" y1="1.0868" x2="90.1166" y2="70.4884" gradientTransform="matrix(1 0 0 -1 0 139.8898)">
|
||||
<stop offset="0" style="stop-color:#002D74"/>
|
||||
<stop offset="1" style="stop-color:#002D74;stop-opacity:0"/>
|
||||
</linearGradient>
|
||||
<path fill="url(#SVGID_1_)" d="M60.1,138.8l60-34.7V34.7L60.1,0v20.6L102.3,45v48.9l-42.3,24.4V138.8z"/>
|
||||
<linearGradient id="SVGID_00000034064843000503835000000005854543727190432132_" gradientUnits="userSpaceOnUse" x1="30.0233" y1="139.8898" x2="30.0233" y2="70.4884" gradientTransform="matrix(1 0 0 -1 0 139.8898)">
|
||||
<stop offset="0" style="stop-color:#002D74"/>
|
||||
<stop offset="1" style="stop-color:#002D74;stop-opacity:0"/>
|
||||
</linearGradient>
|
||||
<path fill="url(#SVGID_00000034064843000503835000000005854543727190432132_)" d="M60,0L0,34.7v69.4l60,34.7v-20.6L17.8,93.8
|
||||
V44.9L60,20.6V0z"/>
|
||||
<path fill="#002D74" d="M88.1,85.6l-28,16.2L32,85.6V53.2L60.1,37l28,16.2L76.4,60l-16.4-9.5L43.7,60v18.9l16.4,9.5l16.4-9.5L88.1,85.6
|
||||
z"/>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.4 KiB |
@ -1,34 +0,0 @@
|
||||
<svg viewBox="100 100 400 400" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M148.497 169.135C150.981 166.013 153.613 163.009 156.245 160.005C156.363 159.856 156.63 159.826 156.748 159.677C156.985 159.38 157.37 159.201 157.606 158.903L157.843 158.606C159.678 156.91 161.63 155.064 163.881 153.456C171.845 147.41 180.11 142.817 188.825 139.795C216.778 129.981 247.894 136.029 272.295 159.065C306.366 191.002 303.315 242.451 276.117 276.647C241.748 327.625 182.684 398.748 264.463 462.46C279.167 473.916 290.075 483.361 336.392 496.746C306.1 502.326 278.012 500.59 246.748 492.605C224.634 480.123 189.866 453.397 178.037 417.3C160.159 362.562 209.513 280.732 233.365 249.216C266.113 205.599 213.124 158.382 174.112 211.095C153.72 238.566 118.044 316.303 130.442 373.965C137.691 406.664 147.353 430.499 185.663 463.241C178.559 459.049 171.66 454.294 164.968 448.974C75.957 366.06 86.2838 237.859 148.497 169.135Z"
|
||||
fill="url(#paint0_linear)"
|
||||
/>
|
||||
<path
|
||||
d="M451.503 430.865C449.019 433.987 446.387 436.991 443.755 439.995C443.637 440.144 443.37 440.174 443.252 440.323C443.015 440.62 442.63 440.799 442.394 441.097L442.157 441.394C440.322 443.09 438.37 444.936 436.119 446.544C428.155 452.59 419.89 457.183 411.175 460.205C383.222 470.019 352.106 463.971 327.705 440.935C293.634 408.998 296.685 357.549 323.883 323.353C358.252 272.375 417.316 201.252 335.537 137.54C320.833 126.084 309.925 116.639 263.608 103.254C293.9 97.6736 321.988 99.4095 353.251 107.395C375.366 119.877 410.134 146.603 421.963 182.7C439.841 237.438 390.487 319.268 366.635 350.784C333.887 394.401 386.876 441.618 425.888 388.905C446.28 361.434 481.956 283.697 469.558 226.035C462.309 193.336 452.647 169.501 414.337 136.759C421.441 140.951 428.34 145.706 435.032 151.026C524.043 233.94 513.716 362.141 451.503 430.865Z"
|
||||
fill="url(#paint1_linear)"
|
||||
/>
|
||||
<defs>
|
||||
<linearGradient
|
||||
id="paint0_linear"
|
||||
x1="100"
|
||||
y1="300"
|
||||
x2="500"
|
||||
y2="300"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
>
|
||||
<stop stop-color="#0082FA" />
|
||||
<stop offset="1" stop-color="#00F2FE" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="paint1_linear"
|
||||
x1="100"
|
||||
y1="300"
|
||||
x2="500"
|
||||
y2="300"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
>
|
||||
<stop stop-color="#0082FA" />
|
||||
<stop offset="1" stop-color="#00F2FE" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
Before Width: | Height: | Size: 2.4 KiB |
@ -1,92 +0,0 @@
|
||||
<svg xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" id="svg8" version="1.1" viewBox="0 0 192.6982 188.16626" height="711.17957" width="728.30817" sodipodi:docname="juno.svg" inkscape:version="1.1.1 (c3084ef, 2021-09-22)"><script xmlns=""/><script xmlns="" id="argent-x-extension" data-extension-id="dlcobpjiigpikoobohmabehhmhfoodbb"/>
|
||||
<sodipodi:namedview id="namedview175" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageshadow="2" inkscape:pageopacity="0.0" inkscape:pagecheckerboard="0" showgrid="false" inkscape:zoom="0.774" inkscape:cx="370.80103" inkscape:cy="344.96124" inkscape:window-width="1323" inkscape:window-height="958" inkscape:window-x="0" inkscape:window-y="25" inkscape:window-maximized="0" inkscape:current-layer="svg8"/>
|
||||
<defs id="defs2">
|
||||
<linearGradient id="linearGradient982" inkscape:swatch="gradient">
|
||||
<stop id="stop978" offset="0" style="stop-color:#f0827d;stop-opacity:1;"/>
|
||||
<stop id="stop980" offset="1" style="stop-color:#f0827d;stop-opacity:0;"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient923">
|
||||
<stop id="stop919" offset="0" style="stop-color:#000000;stop-opacity:1;"/>
|
||||
<stop id="stop921" offset="1" style="stop-color:#000000;stop-opacity:0;"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient915">
|
||||
<stop id="stop911" offset="0" style="stop-color:#ff6255;stop-opacity:1;"/>
|
||||
<stop id="stop913" offset="1" style="stop-color:#ff6255;stop-opacity:0;"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient868" inkscape:swatch="solid">
|
||||
<stop id="stop866" offset="0" style="stop-color:#000000;stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient1607" inkscape:swatch="gradient">
|
||||
<stop id="stop1603" offset="0" style="stop-color:#ff6255;stop-opacity:1"/>
|
||||
<stop id="stop1605" offset="1" style="stop-color:#da5b51;stop-opacity:0;"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient6891-7">
|
||||
<stop style="stop-color:#ff8c8c;stop-opacity:1;" offset="0" id="stop6887"/>
|
||||
<stop style="stop-color:#ff8c8c;stop-opacity:0;" offset="1" id="stop6889"/>
|
||||
</linearGradient>
|
||||
<linearGradient xlink:href="#linearGradient6891-7" id="linearGradient6893" x1="116.28441" y1="131.06845" x2="330.48346" y2="131.06845" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0176293,0,0,1.043284,-52.786314,-431.941)"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672" xlink:href="#linearGradient923"/>
|
||||
<linearGradient gradientUnits="userSpaceOnUse" y2="-360.58929" x2="294.47836" y1="-366.6369" x1="-5.883111" id="linearGradient917" xlink:href="#linearGradient915"/>
|
||||
<linearGradient gradientTransform="translate(-161.77381,-52.916668)" gradientUnits="userSpaceOnUse" y2="137.55695" x2="1492.8649" y1="137.55695" x1="956.32697" id="linearGradient925" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-5" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-0" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-5-6" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-8" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-4" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-5-62" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-3" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-5-8" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-37" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-5-5" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-0-4" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-5-6-1" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-8-7" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-4-6" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-5-62-8" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-3-6" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-5-8-6" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-2" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-5-0" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-0-9" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-5-6-4" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-8-0" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-4-9" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-5-62-5" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-3-1" xlink:href="#linearGradient923"/>
|
||||
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.4006544,0,-10.327923)" r="11.343032" fy="25.777636" fx="25.051212" cy="25.777636" cx="25.051212" id="radialGradient1672-5-8-8" xlink:href="#linearGradient923"/>
|
||||
</defs>
|
||||
<metadata id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||
<dc:title/>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g transform="translate(-34.189243,-73.416721)" id="layer1">
|
||||
<ellipse ry="90.662651" rx="92.928627" style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:13.7355;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" id="circle1199" cx="130.53835" cy="169.52222"/>
|
||||
<ellipse ry="90.662651" rx="92.928627" cy="167.49985" cx="130.53835" id="path1185" style="opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:6.84095;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"/>
|
||||
<g transform="matrix(2.4170273,0,0,2.5557268,70.439041,106.28282)" id="g1265" style="clip-rule:evenodd;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2">
|
||||
<g style="fill:#ffffff;fill-opacity:1" transform="matrix(0.721351,0,0,0.811444,6.54562,5.10326)" id="g1229">
|
||||
<path style="fill:#ffffff;fill-opacity:1" d="m 27.411,7.92 c 0,-0.84 -0.766,-1.521 -1.711,-1.521 0,0 -10e-4,0 -0.002,0 -0.944,0 -1.71,0.681 -1.71,1.521 0,6.129 0,28.987 0,35.117 0,0.84 0.766,1.521 1.71,1.521 0.001,0 0.002,0 0.002,0 0.945,0 1.711,-0.681 1.711,-1.521 0,-6.13 0,-28.988 0,-35.117 z" id="path1227"/>
|
||||
</g>
|
||||
<g style="fill:#ffffff;fill-opacity:1" transform="matrix(5.99295e-4,-0.721351,0.258566,2.14816e-4,18.4279,54.7844)" id="g1233">
|
||||
<path style="fill:#ffffff;fill-opacity:1" d="m 27.411,11.171 c 0,-2.635 -0.766,-4.772 -1.711,-4.772 0,0 -10e-4,0 -0.002,0 -0.944,0 -1.71,2.137 -1.71,4.772 0,7.331 0,21.283 0,28.614 0,2.636 0.766,4.773 1.71,4.773 0.001,0 0.002,0 0.002,0 0.945,0 1.711,-2.137 1.711,-4.773 0,-7.331 0,-21.283 0,-28.614 z" id="path1231"/>
|
||||
</g>
|
||||
<g style="fill:#ffffff;fill-opacity:1" transform="matrix(5.99295e-4,-0.721351,0.579332,4.81307e-4,10.2753,38.6396)" id="g1237">
|
||||
<path style="fill:#ffffff;fill-opacity:1" d="m 27.411,8.529 c 0,-1.177 -0.766,-2.13 -1.711,-2.13 0,0 -10e-4,0 -0.002,0 -0.944,0 -1.71,0.953 -1.71,2.13 0,6.687 0,27.212 0,33.899 0,1.176 0.766,2.13 1.71,2.13 0.001,0 0.002,0 0.002,0 0.945,0 1.711,-0.954 1.711,-2.13 0,-6.687 0,-27.212 0,-33.899 z" id="path1235"/>
|
||||
</g>
|
||||
<g style="fill:#ffffff;fill-opacity:1" transform="matrix(0.509521,-0.510622,0.393855,0.393005,1.94156,23.2426)" id="g1241">
|
||||
<path style="fill:#ffffff;fill-opacity:1" d="m 27.411,8.617 c 0,-1.225 -0.766,-2.218 -1.711,-2.218 0,0 -10e-4,0 -0.002,0 -0.944,0 -1.71,0.993 -1.71,2.218 0,6.747 0,26.976 0,33.723 0,1.225 0.766,2.218 1.71,2.218 0.001,0 0.002,0 0.002,0 0.945,0 1.711,-0.993 1.711,-2.218 0,-6.747 0,-26.976 0,-33.723 z" id="path1239"/>
|
||||
</g>
|
||||
<g style="fill:#ffffff;fill-opacity:1" transform="matrix(-0.51096,-0.509182,0.392744,-0.394115,28.1955,43.2602)" id="g1245">
|
||||
<path style="fill:#ffffff;fill-opacity:1" d="m 27.411,8.617 c 0,-1.225 -0.766,-2.218 -1.711,-2.218 0,0 -10e-4,0 -0.002,0 -0.944,0 -1.71,0.993 -1.71,2.218 0,6.747 0,26.976 0,33.723 0,1.225 0.766,2.218 1.71,2.218 0.001,0 0.002,0 0.002,0 0.945,0 1.711,-0.993 1.711,-2.218 0,-6.747 0,-26.976 0,-33.723 z" id="path1243"/>
|
||||
</g>
|
||||
</g>
|
||||
<ellipse ry="79.882423" rx="81.878975" cy="168.1187" cx="130.57381" id="path1267" style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#f0827d;stroke-width:3.92991;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"/>
|
||||
</g>
|
||||
<style type="text/css" id="style1053">
|
||||
.st0{fill:#043BEA;}
|
||||
</style>
|
||||
</svg>
|
Before Width: | Height: | Size: 13 KiB |
@ -16,7 +16,6 @@ export default async function getOraclePrices(...assets: Asset[]): Promise<BNCoi
|
||||
return assets.map((asset) => {
|
||||
const priceResponse = priceResults.find(byDenom(asset.denom)) as PriceResponse
|
||||
const decimalDiff = asset.decimals - PRICE_ORACLE_DECIMALS
|
||||
|
||||
return BNCoin.fromDenomAndBigNumber(
|
||||
asset.denom,
|
||||
BN(priceResponse.price).shiftedBy(decimalDiff),
|
||||
|
@ -19,7 +19,6 @@ export default async function getPrices(): Promise<BNCoin[]> {
|
||||
])
|
||||
).flat()
|
||||
const poolPrices = await requestPoolPrices(assetsWithPoolIds, pythAndOraclePrices)
|
||||
|
||||
return [...pythAndOraclePrices, ...poolPrices, usdPrice]
|
||||
} catch (ex) {
|
||||
console.error(ex)
|
||||
|
@ -114,7 +114,7 @@ function AccountDetails(props: Props) {
|
||||
<AccountDetailsLeverage leverage={leverage} updatedLeverage={updatedLeverage} />
|
||||
</div>
|
||||
<div className='w-full py-4 border-t border-white/20'>
|
||||
<Text size='2xs' className='mb-0.5 w-full text-center text-white/50'>
|
||||
<Text size='2xs' className='mb-0.5 w-full text-center text-white/50 whitespace-nowrap'>
|
||||
Net worth
|
||||
</Text>
|
||||
<DisplayCurrency coin={coin} className='w-full text-center truncate text-2xs ' />
|
||||
|
@ -87,7 +87,7 @@ export default function WalletBridges() {
|
||||
<Bridge key={bridge.name} {...bridge} />
|
||||
))}
|
||||
</div>
|
||||
{IS_TESTNET && (
|
||||
{ENV.NETWORK !== 'mainnet' && (
|
||||
<div className='flex flex-wrap w-full gap-3'>
|
||||
<Text size='lg' className='mt-4 text-white'>
|
||||
Need Testnet Funds?
|
||||
@ -95,7 +95,11 @@ export default function WalletBridges() {
|
||||
<Bridge
|
||||
key='osmosis-faucet'
|
||||
name='Osmosis Testnet Faucet'
|
||||
url='https://faucet.osmotest5.osmosis.zone/'
|
||||
url={
|
||||
IS_TESTNET
|
||||
? 'https://faucet.osmotest5.osmosis.zone/'
|
||||
: 'https://faucet.devnet.osmosis.zone/'
|
||||
}
|
||||
image='/images/tokens/osmo.svg'
|
||||
/>
|
||||
</div>
|
||||
|
@ -13,7 +13,7 @@ import Overlay from 'components/Overlay'
|
||||
import Text from 'components/Text'
|
||||
import RecentTransactions from 'components/Wallet/RecentTransactions'
|
||||
import { CHAINS } from 'constants/chains'
|
||||
import { IS_TESTNET } from 'constants/env'
|
||||
import { ENV } from 'constants/env'
|
||||
import { BN_ZERO } from 'constants/math'
|
||||
import useCurrentWallet from 'hooks/useCurrentWallet'
|
||||
import useToggle from 'hooks/useToggle'
|
||||
@ -80,7 +80,7 @@ export default function WalletConnectedButton() {
|
||||
|
||||
return (
|
||||
<div className={'relative'}>
|
||||
{IS_TESTNET && (
|
||||
{ENV.NETWORK !== 'mainnet' && (
|
||||
<Text
|
||||
className='absolute -right-2 -top-2.5 z-10 rounded-sm p-0.5 px-2 gradient-primary-to-secondary'
|
||||
size='3xs'
|
||||
|
@ -36,7 +36,6 @@ export const ASSETS: Asset[] = [
|
||||
isMarket: true,
|
||||
isDisplayCurrency: true,
|
||||
isAutoLendEnabled: true,
|
||||
poolId: 1,
|
||||
pythPriceFeedId: 'b00b60f88b03a6a625a8d1c048c3f66653edf217439983d037e7222c4e612819',
|
||||
},
|
||||
{
|
||||
@ -45,14 +44,14 @@ export const ASSETS: Asset[] = [
|
||||
id: 'stATOM',
|
||||
denom: 'ibc/C140AFD542AE77BD7DCC83F13FDD8C5E5BB8C4929785E6EC2F4C636F98F17901',
|
||||
mainnetDenom: 'ibc/C140AFD542AE77BD7DCC83F13FDD8C5E5BB8C4929785E6EC2F4C636F98F17901',
|
||||
color: '#9f1ab9',
|
||||
color: '#e50571',
|
||||
logo: '/images/tokens/statom.svg',
|
||||
decimals: 6,
|
||||
poolId: 803,
|
||||
hasOraclePrice: !IS_TESTNET,
|
||||
isEnabled: !IS_TESTNET,
|
||||
isMarket: !IS_TESTNET,
|
||||
isDisplayCurrency: !IS_TESTNET,
|
||||
isAutoLendEnabled: true,
|
||||
},
|
||||
{
|
||||
symbol: 'WBTC.axl',
|
||||
@ -68,7 +67,6 @@ export const ASSETS: Asset[] = [
|
||||
isMarket: !IS_TESTNET,
|
||||
isDisplayCurrency: !IS_TESTNET,
|
||||
isAutoLendEnabled: true,
|
||||
poolId: 712,
|
||||
pythPriceFeedId: 'e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43',
|
||||
},
|
||||
{
|
||||
@ -85,7 +83,6 @@ export const ASSETS: Asset[] = [
|
||||
isMarket: !IS_TESTNET,
|
||||
isDisplayCurrency: !IS_TESTNET,
|
||||
isAutoLendEnabled: true,
|
||||
poolId: 704,
|
||||
pythPriceFeedId: 'ff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace',
|
||||
},
|
||||
{
|
||||
@ -96,7 +93,7 @@ export const ASSETS: Asset[] = [
|
||||
? 'ibc/DB9D326CF53EA07610C394D714D78F8BB4DC7E312D4213193791A9046BF45E20'
|
||||
: MARS_MAINNET_DENOM,
|
||||
mainnetDenom: MARS_MAINNET_DENOM,
|
||||
color: '#dd5b65',
|
||||
color: '#a03b45',
|
||||
logo: '/images/tokens/mars.svg',
|
||||
decimals: 6,
|
||||
poolId: 907,
|
||||
@ -122,9 +119,24 @@ export const ASSETS: Asset[] = [
|
||||
isDisplayCurrency: true,
|
||||
isStable: true,
|
||||
isAutoLendEnabled: true,
|
||||
poolId: 678,
|
||||
pythPriceFeedId: 'eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a',
|
||||
},
|
||||
{
|
||||
symbol: 'AXL',
|
||||
name: 'Axelar',
|
||||
id: 'AXL',
|
||||
denom: 'ibc/903A61A498756EA560B85A85132D3AEE21B5DEDD41213725D22ABF276EA6945E',
|
||||
mainnetDenom: 'ibc/903A61A498756EA560B85A85132D3AEE21B5DEDD41213725D22ABF276EA6945E',
|
||||
color: '#FFF',
|
||||
logo: '/images/tokens/axl.svg',
|
||||
decimals: 6,
|
||||
hasOraclePrice: true,
|
||||
isEnabled: !IS_TESTNET,
|
||||
isMarket: !IS_TESTNET,
|
||||
isDisplayCurrency: !IS_TESTNET,
|
||||
isAutoLendEnabled: true,
|
||||
pythPriceFeedId: '60144b1d5c9e9851732ad1d9760e3485ef80be39b984f6bf60f82b28a2b7f126',
|
||||
},
|
||||
{
|
||||
symbol: '$',
|
||||
name: 'US Dollar',
|
||||
@ -144,9 +156,9 @@ export const ASSETS: Asset[] = [
|
||||
{
|
||||
symbol: 'OSMO-ATOM',
|
||||
name: 'OSMO-ATOM LP',
|
||||
id: 'gamm/pool/12',
|
||||
denom: 'gamm/pool/12',
|
||||
mainnetDenom: 'gamm/pool/12',
|
||||
id: IS_TESTNET ? 'gamm/pool/12' : 'gamm/pool/1',
|
||||
denom: IS_TESTNET ? 'gamm/pool/12' : 'gamm/pool/1',
|
||||
mainnetDenom: IS_TESTNET ? 'gamm/pool/12' : 'gamm/pool/1',
|
||||
color: '',
|
||||
logo: '',
|
||||
decimals: 6,
|
||||
@ -155,4 +167,60 @@ export const ASSETS: Asset[] = [
|
||||
hasOraclePrice: true,
|
||||
forceFetchPrice: true,
|
||||
},
|
||||
{
|
||||
symbol: 'OSMO-USDC.axl',
|
||||
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: !IS_TESTNET,
|
||||
forceFetchPrice: !IS_TESTNET,
|
||||
},
|
||||
{
|
||||
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: !IS_TESTNET,
|
||||
forceFetchPrice: !IS_TESTNET,
|
||||
},
|
||||
{
|
||||
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: !IS_TESTNET,
|
||||
forceFetchPrice: !IS_TESTNET,
|
||||
},
|
||||
{
|
||||
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: !IS_TESTNET,
|
||||
forceFetchPrice: !IS_TESTNET,
|
||||
},
|
||||
]
|
||||
|
@ -50,4 +50,4 @@ export const VERCEL_BYPASS = process.env.NEXT_PUBLIC_BYPASS
|
||||
? `?x-vercel-protection-bypass=${process.env.NEXT_PUBLIC_BYPASS}`
|
||||
: ''
|
||||
|
||||
export const IS_TESTNET = ENV.NETWORK !== 'mainnet'
|
||||
export const IS_TESTNET = ENV.NETWORK === 'testnet'
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { VaultStatus } from 'types/enums/vault'
|
||||
import { BN_ZERO } from 'constants/math'
|
||||
import { VaultStatus } from 'types/enums/vault'
|
||||
|
||||
export const VAULT_DEPOSIT_BUFFER = 0.999
|
||||
|
||||
@ -46,7 +46,87 @@ export const VAULTS_META_DATA: VaultMetaData[] = [
|
||||
primary: 'OSMO',
|
||||
secondary: 'ATOM',
|
||||
},
|
||||
isFeatured: true,
|
||||
isFeatured: false,
|
||||
},
|
||||
{
|
||||
address: 'osmo1jfmwayj8jqp9tfy4v4eks5c2jpnqdumn8x8xvfllng0wfes770qqp7jl4j',
|
||||
name: 'OSMO-USDC.axl',
|
||||
lockup: {
|
||||
duration: 14,
|
||||
timeframe: 'days',
|
||||
},
|
||||
provider: 'Apollo',
|
||||
denoms: {
|
||||
primary: 'uosmo',
|
||||
secondary: 'ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858',
|
||||
lp: 'gamm/pool/678',
|
||||
vault: 'factory/osmo1jfmwayj8jqp9tfy4v4eks5c2jpnqdumn8x8xvfllng0wfes770qqp7jl4j/cwVTT',
|
||||
},
|
||||
symbols: {
|
||||
primary: 'OSMO',
|
||||
secondary: 'USDC.axl',
|
||||
},
|
||||
isFeatured: false,
|
||||
},
|
||||
{
|
||||
address: 'osmo1a6tcf60pyz8qq2n532dzcs7s7sj8klcmra04tvaqympzcvxqg9esn7xz7l',
|
||||
name: 'stATOM-ATOM',
|
||||
lockup: {
|
||||
duration: 14,
|
||||
timeframe: 'days',
|
||||
},
|
||||
provider: 'Apollo',
|
||||
denoms: {
|
||||
primary: 'ibc/C140AFD542AE77BD7DCC83F13FDD8C5E5BB8C4929785E6EC2F4C636F98F17901',
|
||||
secondary: 'ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2',
|
||||
lp: 'gamm/pool/803',
|
||||
vault: 'factory/osmo1a6tcf60pyz8qq2n532dzcs7s7sj8klcmra04tvaqympzcvxqg9esn7xz7l/cwVTT',
|
||||
},
|
||||
symbols: {
|
||||
primary: 'stATOM',
|
||||
secondary: 'ATOM',
|
||||
},
|
||||
isFeatured: false,
|
||||
},
|
||||
{
|
||||
address: 'osmo185gqewrlde8vrqw7j8lpad67v8jfrx9u7770k9q87tqqecctp5tq50wt2c',
|
||||
name: 'OSMO-WBTC.axl',
|
||||
lockup: {
|
||||
duration: 14,
|
||||
timeframe: 'days',
|
||||
},
|
||||
provider: 'Apollo',
|
||||
denoms: {
|
||||
primary: 'uosmo',
|
||||
secondary: 'ibc/D1542AA8762DB13087D8364F3EA6509FD6F009A34F00426AF9E4F9FA85CBBF1F',
|
||||
lp: 'gamm/pool/712',
|
||||
vault: 'factory/osmo185gqewrlde8vrqw7j8lpad67v8jfrx9u7770k9q87tqqecctp5tq50wt2c/cwVTT',
|
||||
},
|
||||
symbols: {
|
||||
primary: 'OSMO',
|
||||
secondary: 'WBTC.axl',
|
||||
},
|
||||
isFeatured: false,
|
||||
},
|
||||
{
|
||||
address: 'osmo1r235f4tdkwrsnj3mdm9hf647l754y6g6xsmz0nas5r4vr5tda3qsgtftef',
|
||||
name: 'OSMO-WETH.axl',
|
||||
lockup: {
|
||||
duration: 14,
|
||||
timeframe: 'days',
|
||||
},
|
||||
provider: 'Apollo',
|
||||
denoms: {
|
||||
primary: 'uosmo',
|
||||
secondary: 'ibc/EA1D43981D5C9A1C4AAEA9C23BB1D4FA126BA9BC7020A25E0AE4AA841EA25DC5',
|
||||
lp: 'gamm/pool/704',
|
||||
vault: 'factory/osmo1r235f4tdkwrsnj3mdm9hf647l754y6g6xsmz0nas5r4vr5tda3qsgtftef/cwVTT',
|
||||
},
|
||||
symbols: {
|
||||
primary: 'OSMO',
|
||||
secondary: 'WETH.axl',
|
||||
},
|
||||
isFeatured: false,
|
||||
},
|
||||
]
|
||||
|
||||
|
@ -18,7 +18,7 @@ export const WALLETS: WalletInfos = {
|
||||
'https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-extension.png',
|
||||
mobileImageURL:
|
||||
'https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-connect.png',
|
||||
supportedChains: [ChainInfoID.Osmosis1, ChainInfoID.OsmosisTestnet],
|
||||
supportedChains: [ChainInfoID.Osmosis1, ChainInfoID.OsmosisDevnet, ChainInfoID.OsmosisTestnet],
|
||||
},
|
||||
[WalletID.Keplr]: {
|
||||
name: 'Keplr Wallet',
|
||||
@ -41,7 +41,7 @@ export const WALLETS: WalletInfos = {
|
||||
installURL:
|
||||
'https://chrome.google.com/webstore/detail/leap-cosmos-wallet/fcfcfllfndlomdhbehjjcoimbgofdncg',
|
||||
imageURL: 'https://assets.leapwallet.io/logos/leap-cosmos-logo.png',
|
||||
supportedChains: [ChainInfoID.Osmosis1, ChainInfoID.OsmosisTestnet],
|
||||
supportedChains: [ChainInfoID.Osmosis1, ChainInfoID.OsmosisDevnet, ChainInfoID.OsmosisTestnet],
|
||||
},
|
||||
[WalletID.Station]: {
|
||||
name: 'Station Wallet',
|
||||
|
11
src/types/interfaces/asset.d.ts
vendored
11
src/types/interfaces/asset.d.ts
vendored
@ -8,6 +8,7 @@ interface Asset {
|
||||
| 'ATOM'
|
||||
| 'MARS'
|
||||
| 'stATOM'
|
||||
| 'AXL'
|
||||
| 'USDC.axl'
|
||||
| 'USDC.n'
|
||||
| 'WBTC.axl'
|
||||
@ -15,11 +16,16 @@ interface Asset {
|
||||
| 'OSMO-USDC.n'
|
||||
| '$'
|
||||
| 'OSMO-ATOM'
|
||||
| 'OSMO-USDC.axl'
|
||||
| 'OSMO-WETH.axl'
|
||||
| 'OSMO-WBTC.axl'
|
||||
| 'stATOM-ATOM'
|
||||
id:
|
||||
| 'OSMO'
|
||||
| 'ATOM'
|
||||
| 'MARS'
|
||||
| 'stATOM'
|
||||
| 'AXL'
|
||||
| 'axlUSDC'
|
||||
| 'axlWBTC'
|
||||
| 'axlWETH'
|
||||
@ -27,6 +33,11 @@ interface Asset {
|
||||
| 'OSMO-USDC.n'
|
||||
| 'USD'
|
||||
| 'gamm/pool/12'
|
||||
| 'gamm/pool/1'
|
||||
| 'gamm/pool/678'
|
||||
| 'gamm/pool/704'
|
||||
| 'gamm/pool/712'
|
||||
| 'gamm/pool/803'
|
||||
prefix?: string
|
||||
contract_addr?: string
|
||||
logo: string
|
||||
|
@ -225,6 +225,7 @@ module.exports = {
|
||||
35: '140px',
|
||||
50: '200px',
|
||||
60: '240px',
|
||||
90: '360px',
|
||||
92.5: '370px',
|
||||
100: '400px',
|
||||
120: '480px',
|
||||
|
Loading…
Reference in New Issue
Block a user