Updated on 2026-08-14
This commit is contained in:
parent
3bd0392018
commit
368066a4da
8 changed files with 182 additions and 2 deletions
|
|
@ -569,6 +569,16 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "shibarium",
|
||||
"name": "Shibarium",
|
||||
"symbol": "BONE",
|
||||
"networks": [
|
||||
{
|
||||
"networkId": "shibarium/test"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "aptos",
|
||||
"name": "Aptos",
|
||||
|
|
|
|||
|
|
@ -83,7 +83,9 @@ internal fun BriefNetworkItem(model: NetworkItemState, modifier: Modifier = Modi
|
|||
Icon(
|
||||
painter = painterResource(id = model.iconResId.value),
|
||||
contentDescription = null,
|
||||
modifier = Modifier.size(size = TangemTheme.dimens.size20),
|
||||
modifier = Modifier
|
||||
.size(size = TangemTheme.dimens.size20)
|
||||
.clip(CircleShape),
|
||||
tint = if (isAdded) Color.Unspecified else TangemTheme.colors.text.tertiary,
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -80,6 +80,13 @@ object TokenListPreviewData {
|
|||
iconResId = mutableStateOf(R.drawable.ic_bsc_16),
|
||||
isMainNetwork = false,
|
||||
),
|
||||
// check icon clipping
|
||||
NetworkItemState.ReadContent(
|
||||
name = "SHIBARIUM",
|
||||
protocolName = "BEP20",
|
||||
iconResId = mutableStateOf(R.drawable.ic_shibarium_22),
|
||||
isMainNetwork = false,
|
||||
),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
@ -49,6 +49,7 @@ fun getActiveIconRes(blockchainId: String): Int {
|
|||
"xdc", "xdc/test" -> R.drawable.img_xdc_22
|
||||
"vechain", "vechain/test" -> R.drawable.img_vechain_22
|
||||
"aptos", "aptos/test" -> R.drawable.img_aptos_22
|
||||
"shibarium", "shibarium/test" -> R.drawable.img_shibarium_22
|
||||
else -> R.drawable.ic_alert_24
|
||||
}
|
||||
}
|
||||
|
|
@ -99,6 +100,7 @@ fun getActiveIconResByNetworkId(networkId: String): Int {
|
|||
"xdc-network", "xdc-network/test" -> R.drawable.img_xdc_22
|
||||
"vechain", "vechain/test" -> R.drawable.img_vechain_22
|
||||
"aptos", "aptos/test" -> R.drawable.img_aptos_22
|
||||
"shibarium", "shibarium/test" -> R.drawable.img_shibarium_22
|
||||
else -> R.drawable.ic_alert_24
|
||||
}
|
||||
}
|
||||
|
|
@ -146,6 +148,7 @@ fun getActiveIconResByCoinId(coinId: String): Int {
|
|||
"xdce-crowd-sale" -> R.drawable.img_xdc_22
|
||||
"vechain" -> R.drawable.img_vechain_22
|
||||
"aptos" -> R.drawable.img_aptos_22
|
||||
"shibarium" -> R.drawable.img_shibarium_22
|
||||
else -> R.drawable.ic_alert_24
|
||||
}
|
||||
}
|
||||
|
|
@ -196,6 +199,7 @@ fun getGreyedOutIconRes(blockchainId: String): Int {
|
|||
"xdc", "xdc/test" -> R.drawable.ic_xdc_22
|
||||
"vechain", "vechain/test" -> R.drawable.ic_vechain_22
|
||||
"aptos", "aptos/test" -> R.drawable.ic_aptos_22
|
||||
"shibarium", "shibarium/test" -> R.drawable.ic_shibarium_22
|
||||
else -> R.drawable.ic_alert_24
|
||||
}
|
||||
}
|
||||
|
|
@ -246,6 +250,7 @@ fun getGreyedOutIconResByNetworkId(networkId: String): Int {
|
|||
"xdc-network", "xdc-network/test" -> R.drawable.ic_xdc_22
|
||||
"vechain", "vechain/test" -> R.drawable.ic_vechain_22
|
||||
"aptos", "aptos/test" -> R.drawable.ic_aptos_22
|
||||
"shibarium", "shibarium/test" -> R.drawable.ic_shibarium_22
|
||||
else -> R.drawable.ic_alert_24
|
||||
}
|
||||
}
|
||||
57
core/ui/src/main/res/drawable/ic_shibarium_22.xml
Normal file
57
core/ui/src/main/res/drawable/ic_shibarium_22.xml
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="22dp"
|
||||
android:height="22dp"
|
||||
android:viewportWidth="22"
|
||||
android:viewportHeight="22">
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M14.261,15.678C14.261,15.678 12.348,17.54 8.915,17.796C5.848,17.796 4.032,15.581 4.032,15.581C3.151,14.831 2.588,14.067 2.406,13.373C2.347,13.151 2.338,12.983 2.357,12.63L2.355,12.584C2.428,11.406 2.735,10.298 3.302,9.149C3.312,9.132 3.321,9.113 3.329,9.096C3.221,8.777 2.934,7.893 2.701,6.888C2.345,5.369 2.273,3.575 2.959,3.041C2.959,3.041 3.959,2.954 5.52,4.431C5.941,4.833 6.323,5.271 6.666,5.739C6.688,5.731 6.71,5.724 6.734,5.714C7.343,5.503 7.878,5.398 8.577,5.352C8.808,5.337 9.517,5.337 9.707,5.352C10.337,5.393 10.963,5.515 11.566,5.712L11.671,5.746C12.002,5.276 12.375,4.836 12.781,4.429C14.281,2.959 15.401,3.041 15.401,3.041C16.048,3.557 15.836,5.276 15.503,6.746C15.257,7.83 14.872,8.003 14.872,8.003L15,8L16.348,8.023L18.348,5.746H19.5M14.261,15.678H15.503L16.848,17.04H19.848M14.261,15.678C14.754,15.285 15.791,14 15.2,12"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M13.848,10.04L17.5,10L19.348,8.04H21.5"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M15,14.04H18.348L19.348,15.04H21.348"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M13.348,12.04H18.348H19.848"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M10.988,14.91C10.988,14.917 10.958,15.034 10.922,15.173C10.885,15.311 10.856,15.423 10.856,15.428C10.83,15.431 10.805,15.433 10.778,15.431H10.7L10.593,15.684C10.535,15.823 10.481,15.952 10.474,15.971L10.459,16.005L10.408,15.922L10.357,15.84V15.165L10.338,15.17C10.296,15.18 10.002,15.219 9.873,15.231C9.34,15.285 8.804,15.273 8.273,15.197C8.188,15.185 8.115,15.175 8.113,15.177C8.11,15.18 8.113,15.336 8.118,15.528L8.125,15.874L8.084,15.937C8.062,15.971 8.04,16 8.04,16.003C8.032,16.01 8.008,15.971 7.952,15.859C7.891,15.742 7.847,15.618 7.816,15.489L7.799,15.418L7.723,15.423L7.648,15.431L7.628,15.341C7.619,15.292 7.606,15.217 7.602,15.175L7.594,15.097L7.531,15.041C7.494,15.01 7.458,14.978 7.451,14.973C7.438,14.963 7.434,14.946 7.434,14.932V14.903L7.738,14.905L8.042,14.907L8.052,14.939L8.062,14.971L8.166,14.976C8.225,14.978 8.41,14.983 8.575,14.988L8.88,14.995L8.957,14.873L9.038,14.752H9.14L9.138,14.498L9.135,14.245L9.001,14.187C8.57,13.997 8.317,13.78 8.222,13.517C8.203,13.464 8.203,13.444 8.198,13.201C8.195,12.96 8.195,12.938 8.213,12.884C8.247,12.763 8.342,12.668 8.463,12.636C8.505,12.624 8.614,12.624 9.189,12.624L9.865,12.626L9.941,12.663C10.031,12.707 10.072,12.738 10.123,12.807C10.182,12.884 10.199,12.945 10.199,13.094C10.199,13.306 10.184,13.488 10.163,13.561C10.131,13.661 10.082,13.756 10.021,13.841C9.9,13.997 9.678,14.153 9.476,14.223L9.418,14.245L9.42,14.501L9.422,14.756L9.476,14.761L9.53,14.766L9.603,14.876L9.673,14.985H9.999C10.179,14.985 10.338,14.988 10.352,14.99C10.377,14.995 10.382,14.993 10.406,14.951L10.435,14.907H10.715C10.924,14.898 10.988,14.903 10.988,14.91Z"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M9.702,15.608C9.656,15.635 9.624,15.647 9.617,15.642C9.61,15.64 9.576,15.611 9.539,15.584L9.473,15.531L9.405,15.604C9.257,15.764 9.252,15.771 9.208,15.774C9.14,15.781 9.125,15.769 9.043,15.645C8.999,15.582 8.965,15.528 8.965,15.528C8.965,15.528 8.933,15.523 8.897,15.521L8.828,15.514L8.797,15.579L8.765,15.645L8.709,15.628C8.665,15.613 8.621,15.596 8.58,15.577L8.507,15.54V15.401L9.155,15.404L9.802,15.406L9.805,15.472C9.807,15.55 9.809,15.548 9.702,15.608Z"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M15.014,4.569C15.002,4.566 14.99,4.564 14.978,4.561L15.014,4.569Z"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M3.001,4.561C2.988,4.564 2.974,4.566 2.962,4.569L3.001,4.561Z"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M15.769,12.39C15.764,12.281 15.754,12.127 15.747,12.052C15.642,10.947 15.36,10.043 14.824,9.087C14.802,9.05 14.783,9.014 14.771,8.985C14.767,8.979 14.765,8.974 14.763,8.97L14.761,8.965C14.837,8.739 15.146,7.792 15.392,6.708C15.725,5.238 15.937,3.519 15.289,3.003C15.289,3.003 14.17,2.921 12.67,4.391C12.263,4.797 11.891,5.238 11.56,5.708L11.455,5.674C10.851,5.477 10.226,5.355 9.595,5.314C9.405,5.299 8.697,5.299 8.466,5.314C7.767,5.36 7.232,5.464 6.623,5.676C6.599,5.686 6.577,5.693 6.555,5.701C6.212,5.233 5.829,4.795 5.408,4.393C3.848,2.916 2.687,3.001 2.687,3.001C2,3.534 2.234,5.331 2.589,6.85C2.823,7.855 3.11,8.739 3.217,9.058C3.21,9.075 3.2,9.094 3.191,9.111C2.623,10.26 2.317,11.368 2.244,12.546C2.879,12.453 4.629,12.349 5.941,13.761C5.941,13.761 6.808,11.472 9.145,11.472C11.482,11.472 11.981,13.761 11.981,13.761C13.529,12.483 15.197,12.524 15.781,12.585C15.779,12.536 15.774,12.463 15.769,12.39L15.769,12.39V12.39ZM3.677,8.14C3.677,8.14 2.767,5.864 3.001,4.564C3.04,4.345 3.113,4.152 3.227,4.006C3.227,4.006 4.259,4.109 5.924,5.959C5.924,5.959 5.608,6.112 5.184,6.438C5.184,6.438 5.182,6.441 5.179,6.441C4.719,6.794 4.13,7.354 3.677,8.14ZM7.541,11.521C7.526,11.55 7.453,11.582 7.37,11.594C7.288,11.606 7.034,11.599 6.891,11.582C6.375,11.514 5.827,11.356 5.428,11.161C5.204,11.051 5.043,10.942 4.924,10.823L4.856,10.752L4.848,10.659C4.836,10.499 4.839,10.246 4.858,10.156C4.87,10.08 4.897,10.007 4.933,9.941C4.953,9.917 4.953,9.917 5.041,9.917C5.148,9.917 5.238,9.934 5.384,9.98C5.683,10.073 6.129,10.297 6.672,10.623C7.12,10.891 7.288,11.022 7.417,11.202C7.504,11.314 7.563,11.472 7.541,11.521ZM13.276,10.715C13.269,10.754 13.154,10.871 13.04,10.956C12.704,11.202 12.103,11.431 11.492,11.541C11.144,11.604 10.795,11.614 10.691,11.563C10.623,11.528 10.613,11.502 10.637,11.414C10.688,11.231 10.854,11.032 11.112,10.844C11.243,10.75 11.776,10.426 12.025,10.289C12.434,10.065 12.765,9.932 12.989,9.9C13.059,9.89 13.145,9.888 13.171,9.9C13.215,9.917 13.264,10.046 13.283,10.202C13.293,10.285 13.288,10.65 13.276,10.715ZM12.872,6.438L12.867,6.436C12.458,6.11 12.151,5.956 12.151,5.956C13.76,4.106 14.756,4.004 14.756,4.004C14.866,4.152 14.936,4.342 14.975,4.561C15.202,5.861 14.323,8.14 14.323,8.14C13.955,7.485 13.461,6.906 12.872,6.438ZM11.862,9.403C11.862,9.403 11.083,9.452 11.18,8.843C11.277,8.235 11.886,8.162 12.056,8.186C12.227,8.21 12.908,8.454 12.787,8.965C12.686,9.39 12.551,9.394 12.452,9.398C12.432,9.399 12.414,9.399 12.397,9.403C12.3,9.428 11.862,9.403 11.862,9.403ZM5.435,8.843C5.337,9.452 6.116,9.403 6.116,9.403C6.116,9.403 6.555,9.428 6.652,9.403C6.668,9.399 6.687,9.399 6.707,9.398C6.806,9.394 6.94,9.39 7.041,8.965C7.163,8.454 6.482,8.21 6.311,8.186C6.141,8.162 5.532,8.235 5.435,8.843Z"
|
||||
android:fillColor="#000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M19.75,5.79m-0.75,0a0.75,0.75 0,1 1,1.5 0a0.75,0.75 0,1 1,-1.5 0"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M21.098,8.04m-0.75,0a0.75,0.75 0,1 1,1.5 0a0.75,0.75 0,1 1,-1.5 0"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M20.098,12.04m-0.75,0a0.75,0.75 0,1 1,1.5 0a0.75,0.75 0,1 1,-1.5 0"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M21.098,15.04m-0.75,0a0.75,0.75 0,1 1,1.5 0a0.75,0.75 0,1 1,-1.5 0"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M20.098,17.04m-0.75,0a0.75,0.75 0,1 1,1.5 0a0.75,0.75 0,1 1,-1.5 0"
|
||||
android:fillColor="#000000"/>
|
||||
</vector>
|
||||
90
core/ui/src/main/res/drawable/img_shibarium_22.xml
Normal file
90
core/ui/src/main/res/drawable/img_shibarium_22.xml
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="22dp"
|
||||
android:height="22dp"
|
||||
android:viewportWidth="22"
|
||||
android:viewportHeight="22">
|
||||
<group>
|
||||
<clip-path
|
||||
android:pathData="M11,0L11,0A11,11 0,0 1,22 11L22,11A11,11 0,0 1,11 22L11,22A11,11 0,0 1,0 11L0,11A11,11 0,0 1,11 0z"/>
|
||||
<path
|
||||
android:pathData="M11,0L11,0A11,11 0,0 1,22 11L22,11A11,11 0,0 1,11 22L11,22A11,11 0,0 1,0 11L0,11A11,11 0,0 1,11 0z"
|
||||
android:fillColor="#202743"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M19.848,17.04H16.848L15.503,15.678H14.261C14.261,15.678 12.348,17.54 8.915,17.796C5.848,17.796 4.032,15.581 4.032,15.581C3.151,14.831 2.588,14.067 2.406,13.373C2.347,13.151 2.338,12.983 2.357,12.63L2.355,12.584C2.428,11.406 2.735,10.298 3.302,9.149C3.312,9.132 3.321,9.113 3.329,9.096C3.221,8.777 2.934,7.893 2.701,6.888C2.345,5.369 2.273,3.575 2.959,3.041C2.959,3.041 3.959,2.954 5.52,4.431C5.941,4.833 6.323,5.271 6.666,5.739C6.688,5.731 6.71,5.724 6.734,5.714C7.343,5.503 7.878,5.398 8.577,5.352C8.808,5.337 9.517,5.337 9.707,5.352C10.337,5.393 10.963,5.515 11.566,5.712L11.671,5.746C12.002,5.276 12.375,4.836 12.781,4.429C14.281,2.959 15.401,3.041 15.401,3.041C16.048,3.557 15.836,5.276 15.503,6.746C15.257,7.83 14.872,8.003 14.872,8.003L14.882,8.023H16.348L18.348,5.746H19.5"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#74BA40"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M13.848,10.04L17.5,10L19.348,8.04H21.5"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#74BA40"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M13.848,14.04H18.348L19.348,15.04H21.348"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#74BA40"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M13.348,12.04H18.348H19.848"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#74BA40"/>
|
||||
<path
|
||||
android:pathData="M10.988,14.91C10.988,14.917 10.958,15.034 10.922,15.173C10.885,15.311 10.856,15.423 10.856,15.428C10.83,15.431 10.805,15.433 10.778,15.431H10.7L10.593,15.684C10.535,15.823 10.481,15.952 10.474,15.971L10.459,16.005L10.408,15.922L10.357,15.84V15.165L10.338,15.17C10.296,15.18 10.002,15.219 9.873,15.231C9.34,15.285 8.804,15.273 8.273,15.197C8.188,15.185 8.115,15.175 8.113,15.177C8.11,15.18 8.113,15.336 8.118,15.528L8.125,15.874L8.084,15.937C8.062,15.971 8.04,16 8.04,16.003C8.032,16.01 8.008,15.971 7.952,15.859C7.891,15.742 7.847,15.618 7.816,15.489L7.799,15.418L7.723,15.423L7.648,15.431L7.628,15.341C7.619,15.292 7.606,15.217 7.602,15.175L7.594,15.097L7.531,15.041C7.494,15.01 7.458,14.978 7.451,14.973C7.438,14.963 7.434,14.946 7.434,14.932V14.903L7.738,14.905L8.042,14.907L8.052,14.939L8.062,14.971L8.166,14.976C8.225,14.978 8.41,14.983 8.575,14.988L8.88,14.995L8.957,14.873L9.038,14.752H9.14L9.138,14.498L9.135,14.245L9.001,14.187C8.57,13.997 8.317,13.78 8.222,13.517C8.203,13.464 8.203,13.444 8.198,13.201C8.195,12.96 8.195,12.938 8.213,12.884C8.247,12.763 8.342,12.668 8.463,12.636C8.505,12.624 8.614,12.624 9.189,12.624L9.865,12.626L9.941,12.663C10.031,12.707 10.072,12.738 10.123,12.807C10.182,12.884 10.199,12.945 10.199,13.094C10.199,13.306 10.184,13.488 10.163,13.561C10.131,13.661 10.082,13.756 10.021,13.841C9.9,13.997 9.678,14.153 9.476,14.223L9.418,14.245L9.42,14.501L9.422,14.756L9.476,14.761L9.53,14.766L9.603,14.876L9.673,14.985H9.999C10.179,14.985 10.338,14.988 10.352,14.99C10.377,14.995 10.382,14.993 10.406,14.951L10.435,14.907H10.715C10.924,14.898 10.988,14.903 10.988,14.91Z"
|
||||
android:fillColor="#202743"/>
|
||||
<path
|
||||
android:pathData="M9.702,15.608C9.656,15.635 9.624,15.647 9.617,15.642C9.61,15.64 9.576,15.611 9.539,15.584L9.473,15.531L9.405,15.604C9.257,15.764 9.252,15.771 9.208,15.774C9.14,15.781 9.125,15.769 9.043,15.645C8.999,15.582 8.965,15.528 8.965,15.528C8.965,15.528 8.933,15.523 8.897,15.521L8.828,15.514L8.797,15.579L8.765,15.645L8.709,15.628C8.665,15.613 8.621,15.596 8.58,15.577L8.507,15.54V15.401L9.155,15.404L9.802,15.406L9.805,15.472C9.807,15.55 9.809,15.548 9.702,15.608Z"
|
||||
android:fillColor="#202743"/>
|
||||
<path
|
||||
android:pathData="M15.788,12.639C15.786,12.629 15.786,12.612 15.783,12.585C15.199,12.522 13.531,12.483 11.983,13.761C11.983,13.761 11.484,11.472 9.147,11.472C6.81,11.472 5.944,13.761 5.944,13.761C4.634,12.351 2.881,12.453 2.248,12.546C2.248,12.561 2.246,12.578 2.246,12.592C2.226,12.945 2.236,13.113 2.295,13.335C2.477,14.029 3.039,14.793 3.921,15.543C5.364,16.77 7.321,17.656 8.804,17.758C10.35,17.863 12.631,16.959 14.15,15.64C14.388,15.428 14.612,15.204 14.822,14.966C14.973,14.79 15.197,14.489 15.18,14.489C15.175,14.489 15.18,14.484 15.189,14.479C15.197,14.474 15.204,14.467 15.199,14.462C15.197,14.46 15.201,14.452 15.209,14.45C15.216,14.447 15.221,14.442 15.219,14.438C15.216,14.433 15.219,14.428 15.228,14.425C15.236,14.423 15.238,14.416 15.236,14.411C15.233,14.406 15.236,14.401 15.24,14.401C15.245,14.401 15.25,14.394 15.25,14.389C15.25,14.384 15.255,14.377 15.26,14.377C15.265,14.377 15.27,14.372 15.27,14.367C15.277,14.347 15.289,14.328 15.301,14.311C15.338,14.255 15.484,13.995 15.503,13.951C15.642,13.637 15.73,13.357 15.771,13.077C15.786,12.943 15.798,12.697 15.788,12.639ZM9.702,15.608C9.656,15.635 9.624,15.647 9.617,15.643C9.61,15.64 9.576,15.611 9.539,15.584L9.473,15.531L9.405,15.604C9.257,15.764 9.252,15.772 9.208,15.774C9.14,15.781 9.125,15.769 9.043,15.645C8.999,15.582 8.965,15.528 8.965,15.528C8.965,15.528 8.933,15.523 8.896,15.521L8.828,15.514L8.797,15.579L8.765,15.645L8.709,15.628C8.665,15.613 8.621,15.596 8.58,15.577L8.507,15.54V15.402L9.155,15.404L9.802,15.406L9.804,15.472C9.807,15.55 9.809,15.548 9.702,15.608ZM10.919,15.17C10.883,15.309 10.854,15.421 10.854,15.426C10.827,15.428 10.803,15.431 10.776,15.428H10.698L10.593,15.684C10.535,15.823 10.481,15.952 10.474,15.971L10.459,16.005L10.408,15.922L10.357,15.84V15.165L10.338,15.17C10.296,15.18 10.002,15.219 9.873,15.231C9.34,15.285 8.804,15.273 8.273,15.197C8.188,15.185 8.115,15.175 8.113,15.178C8.11,15.18 8.113,15.336 8.117,15.528L8.125,15.874L8.083,15.937C8.061,15.971 8.04,16 8.04,16.003C8.032,16.01 8.008,15.971 7.952,15.859C7.891,15.742 7.847,15.618 7.816,15.489L7.799,15.419L7.723,15.424L7.648,15.431L7.628,15.341C7.618,15.292 7.606,15.217 7.601,15.175L7.594,15.097L7.531,15.041C7.494,15.01 7.458,14.978 7.45,14.973C7.438,14.963 7.433,14.946 7.433,14.932V14.903L7.738,14.905L8.042,14.907L8.052,14.939L8.061,14.971L8.166,14.976C8.225,14.978 8.41,14.983 8.575,14.988L8.879,14.995L8.957,14.873L9.038,14.752H9.14L9.137,14.498L9.135,14.245L9.001,14.187C8.57,13.997 8.317,13.78 8.222,13.517C8.203,13.464 8.203,13.444 8.198,13.201C8.195,12.96 8.195,12.938 8.212,12.884C8.247,12.763 8.341,12.668 8.463,12.636C8.505,12.624 8.614,12.624 9.189,12.624L9.865,12.626L9.941,12.663C10.031,12.707 10.072,12.738 10.123,12.807C10.182,12.884 10.199,12.945 10.199,13.094C10.199,13.306 10.184,13.488 10.162,13.561C10.131,13.661 10.082,13.756 10.021,13.841C9.899,13.997 9.678,14.153 9.476,14.223L9.417,14.245L9.42,14.501L9.422,14.757L9.476,14.761L9.529,14.766L9.602,14.876L9.673,14.985H9.999C10.179,14.985 10.338,14.988 10.352,14.99C10.377,14.995 10.381,14.993 10.406,14.951L10.435,14.907H10.715C10.932,14.907 10.995,14.91 10.995,14.917C10.988,14.915 10.956,15.034 10.919,15.17Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M15.769,12.39C15.764,12.281 15.754,12.127 15.747,12.052C15.642,10.947 15.36,10.043 14.824,9.087C14.802,9.05 14.783,9.014 14.771,8.985C14.766,8.977 14.763,8.97 14.761,8.965C14.837,8.739 15.146,7.792 15.392,6.708C15.725,5.238 15.937,3.519 15.289,3.003C15.289,3.003 14.17,2.921 12.67,4.391C12.263,4.797 11.891,5.238 11.56,5.708L11.455,5.674C10.851,5.477 10.226,5.355 9.595,5.314C9.405,5.299 8.697,5.299 8.466,5.314C7.767,5.36 7.232,5.464 6.623,5.676C6.599,5.686 6.577,5.693 6.555,5.701C6.212,5.233 5.829,4.795 5.408,4.393C3.848,2.916 2.687,3.001 2.687,3.001C2,3.534 2.234,5.331 2.589,6.85C2.823,7.855 3.11,8.739 3.217,9.058C3.21,9.075 3.2,9.094 3.191,9.111C2.623,10.26 2.317,11.368 2.244,12.546C2.879,12.453 4.629,12.349 5.941,13.761C5.941,13.761 6.808,11.472 9.145,11.472C11.482,11.472 11.981,13.761 11.981,13.761C13.529,12.483 15.197,12.524 15.781,12.585C15.779,12.536 15.774,12.463 15.769,12.39ZM3.677,8.14C3.677,8.14 2.767,5.864 3.001,4.564C3.04,4.345 3.113,4.152 3.227,4.006C3.227,4.006 4.259,4.109 5.924,5.959C5.924,5.959 5.608,6.112 5.184,6.438C5.184,6.438 5.182,6.441 5.179,6.441C4.719,6.794 4.13,7.354 3.677,8.14ZM7.541,11.521C7.526,11.55 7.453,11.582 7.37,11.594C7.288,11.606 7.034,11.599 6.891,11.582C6.375,11.514 5.827,11.356 5.428,11.161C5.204,11.051 5.043,10.942 4.924,10.823L4.856,10.752L4.848,10.659C4.836,10.499 4.839,10.246 4.858,10.156C4.87,10.08 4.897,10.007 4.933,9.941C4.953,9.917 4.953,9.917 5.041,9.917C5.148,9.917 5.238,9.934 5.384,9.98C5.683,10.073 6.129,10.297 6.672,10.623C7.12,10.891 7.288,11.022 7.417,11.202C7.504,11.314 7.563,11.472 7.541,11.521ZM13.276,10.715C13.269,10.754 13.154,10.871 13.04,10.956C12.704,11.202 12.103,11.431 11.492,11.541C11.144,11.604 10.795,11.614 10.691,11.563C10.623,11.528 10.613,11.502 10.637,11.414C10.688,11.231 10.854,11.032 11.112,10.844C11.243,10.75 11.776,10.426 12.025,10.289C12.434,10.065 12.765,9.932 12.989,9.9C13.059,9.89 13.145,9.888 13.171,9.9C13.215,9.917 13.264,10.046 13.283,10.202C13.293,10.285 13.288,10.65 13.276,10.715ZM12.872,6.438L12.867,6.436C12.458,6.11 12.151,5.956 12.151,5.956C13.76,4.106 14.756,4.004 14.756,4.004C14.866,4.152 14.936,4.342 14.975,4.561C15.202,5.861 14.323,8.14 14.323,8.14C13.955,7.485 13.461,6.906 12.872,6.438Z"
|
||||
android:fillColor="#FFA409"/>
|
||||
<path
|
||||
android:pathData="M13.276,10.715C13.269,10.754 13.154,10.871 13.04,10.956C12.704,11.202 12.103,11.431 11.492,11.541C11.143,11.604 10.795,11.614 10.691,11.563C10.623,11.528 10.613,11.502 10.637,11.414C10.688,11.231 10.854,11.032 11.112,10.844C11.243,10.75 11.776,10.426 12.025,10.289C12.434,10.065 12.765,9.932 12.989,9.9C13.059,9.89 13.144,9.888 13.171,9.9C13.215,9.917 13.264,10.046 13.283,10.202C13.293,10.285 13.288,10.65 13.276,10.715Z"
|
||||
android:fillColor="#202743"/>
|
||||
<path
|
||||
android:pathData="M7.541,11.521C7.526,11.55 7.453,11.582 7.37,11.594C7.287,11.606 7.034,11.599 6.891,11.582C6.375,11.514 5.827,11.356 5.428,11.161C5.204,11.051 5.043,10.942 4.924,10.823L4.856,10.752L4.848,10.659C4.836,10.499 4.839,10.245 4.858,10.156C4.87,10.08 4.897,10.007 4.933,9.941C4.953,9.917 4.953,9.917 5.041,9.917C5.148,9.917 5.238,9.934 5.384,9.98C5.683,10.073 6.129,10.297 6.672,10.623C7.12,10.891 7.287,11.022 7.417,11.202C7.504,11.314 7.563,11.472 7.541,11.521Z"
|
||||
android:fillColor="#202743"/>
|
||||
<path
|
||||
android:pathData="M14.977,4.561C14.788,4.537 13.889,4.532 12.872,6.438L12.867,6.436C12.458,6.11 12.151,5.956 12.151,5.956C13.76,4.106 14.756,4.004 14.756,4.004C14.868,4.152 14.939,4.342 14.977,4.561Z"
|
||||
android:fillColor="#FF9300"/>
|
||||
<path
|
||||
android:pathData="M14.325,8.14C13.955,7.483 13.463,6.906 12.872,6.438C13.889,4.532 14.785,4.537 14.977,4.561C15.204,5.864 14.325,8.14 14.325,8.14Z"
|
||||
android:fillColor="#FF8300"/>
|
||||
<path
|
||||
android:pathData="M15.014,4.569C15.002,4.566 14.99,4.564 14.978,4.561L15.014,4.569Z"
|
||||
android:fillColor="#FF8300"/>
|
||||
<path
|
||||
android:pathData="M5.924,5.956C5.924,5.956 5.608,6.11 5.184,6.436C5.184,6.436 5.182,6.438 5.179,6.438C4.125,4.53 3.198,4.537 2.998,4.561C3.037,4.342 3.11,4.15 3.224,4.004C3.227,4.004 4.259,4.106 5.924,5.956Z"
|
||||
android:fillColor="#FF9300"/>
|
||||
<path
|
||||
android:pathData="M5.182,6.438C4.719,6.794 4.13,7.351 3.677,8.14C3.677,8.14 2.767,5.864 3.001,4.561C3.198,4.537 4.128,4.532 5.182,6.438Z"
|
||||
android:fillColor="#FF8300"/>
|
||||
<path
|
||||
android:pathData="M3.001,4.561C2.988,4.564 2.974,4.566 2.962,4.569L3.001,4.561Z"
|
||||
android:fillColor="#FF8300"/>
|
||||
<path
|
||||
android:pathData="M11.862,9.403C11.862,9.403 11.083,9.452 11.18,8.843C11.277,8.235 11.886,8.162 12.056,8.186C12.227,8.21 12.908,8.454 12.787,8.965C12.665,9.476 12.495,9.379 12.397,9.403C12.3,9.428 11.862,9.403 11.862,9.403Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M6.116,9.403C6.116,9.403 5.337,9.452 5.435,8.843C5.532,8.235 6.141,8.162 6.311,8.186C6.482,8.21 7.163,8.454 7.041,8.965C6.92,9.476 6.749,9.379 6.652,9.403C6.555,9.428 6.116,9.403 6.116,9.403Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M19.75,5.79m-0.75,0a0.75,0.75 0,1 1,1.5 0a0.75,0.75 0,1 1,-1.5 0"
|
||||
android:fillColor="#74BA40"/>
|
||||
<path
|
||||
android:pathData="M21.098,8.04m-0.75,0a0.75,0.75 0,1 1,1.5 0a0.75,0.75 0,1 1,-1.5 0"
|
||||
android:fillColor="#74BA40"/>
|
||||
<path
|
||||
android:pathData="M20.098,12.04m-0.75,0a0.75,0.75 0,1 1,1.5 0a0.75,0.75 0,1 1,-1.5 0"
|
||||
android:fillColor="#74BA40"/>
|
||||
<path
|
||||
android:pathData="M21.098,15.04m-0.75,0a0.75,0.75 0,1 1,1.5 0a0.75,0.75 0,1 1,-1.5 0"
|
||||
android:fillColor="#74BA40"/>
|
||||
<path
|
||||
android:pathData="M20.098,17.04m-0.75,0a0.75,0.75 0,1 1,1.5 0a0.75,0.75 0,1 1,-1.5 0"
|
||||
android:fillColor="#74BA40"/>
|
||||
</group>
|
||||
</vector>
|
||||
|
|
@ -80,6 +80,8 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
|
|||
"vechain/test" -> Blockchain.VeChainTestnet
|
||||
"aptos" -> Blockchain.Aptos
|
||||
"aptos/test" -> Blockchain.AptosTestnet
|
||||
"shibarium" -> Blockchain.Shibarium
|
||||
"shibarium/test" -> Blockchain.ShibariumTestnet
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
|
@ -161,6 +163,9 @@ fun Blockchain.toNetworkId(): String {
|
|||
Blockchain.VeChainTestnet -> "vechain/test"
|
||||
Blockchain.Aptos -> "aptos"
|
||||
Blockchain.AptosTestnet -> "aptos/test"
|
||||
Blockchain.Shibarium -> "shibarium"
|
||||
Blockchain.ShibariumTestnet -> "shibarium/test"
|
||||
Blockchain.Playa3ull -> "" // FIXME
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -213,6 +218,9 @@ fun Blockchain.toCoinId(): String {
|
|||
Blockchain.Aptos -> "aptos"
|
||||
Blockchain.AptosTestnet -> "aptos/test"
|
||||
Blockchain.Unknown -> "unknown"
|
||||
Blockchain.Shibarium -> "bone-shibaswap"
|
||||
Blockchain.ShibariumTestnet -> "bone-shibaswap/test"
|
||||
Blockchain.Playa3ull -> "" // FIXME
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -241,4 +249,5 @@ private val excludedBlockchains = listOf(
|
|||
Blockchain.Unknown,
|
||||
Blockchain.Ducatus,
|
||||
Blockchain.Aptos,
|
||||
Blockchain.Playa3ull,
|
||||
)
|
||||
|
|
@ -85,7 +85,7 @@ web3j = "4.10.1"
|
|||
# endregion Other libraries
|
||||
|
||||
# region Tangem
|
||||
tangemBlockchainSdk = "develop-475"
|
||||
tangemBlockchainSdk = "develop-482"
|
||||
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
|
||||
tangemCardSdk = "develop-324"
|
||||
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue