-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #587 from cosmostation/feature/APP-783_support_arc…
…hway [APP-783] Support Archway Mainnet
- Loading branch information
Showing
30 changed files
with
63 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
app/src/main/java/wannabit/io/cosmostaion/base/chains/Archway.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package wannabit.io.cosmostaion.base.chains | ||
|
||
import wannabit.io.cosmostaion.R | ||
import wannabit.io.cosmostaion.base.BaseChain | ||
import wannabit.io.cosmostaion.base.BaseConstant | ||
|
||
class Archway : ChainConfig() { | ||
|
||
override fun baseChain(): BaseChain { return BaseChain.ARCHWAY_MAIN } | ||
override fun chainImg(): Int { return R.drawable.chain_archway } | ||
override fun chainInfoImg(): Int { return R.drawable.infoicon_archway } | ||
override fun chainInfoTitle(): Int { return R.string.str_front_guide_title_archway} | ||
override fun chainInfoMsg(): Int { return R.string.str_front_guide_msg_archway } | ||
override fun chainColor(): Int { return R.color.color_archway } | ||
override fun chainBgColor(): Int { return R.color.colorTransBgArchway } | ||
override fun chainTabColor(): Int { return R.color.color_tab_myvalidator_archway } | ||
override fun chainName(): String { return "archway" } | ||
override fun chainKoreanName(): String { return "아치웨이" } | ||
override fun chainTitle(): String { return "archway" } | ||
override fun chainIdPrefix(): String { return "archway-" } | ||
|
||
override fun mainDenomImg(): Int { return R.drawable.token_archway } | ||
override fun mainDenom(): String { return "aarch" } | ||
override fun decimal(): Int { return 18 } | ||
override fun addressPrefix(): String { return "archway" } | ||
|
||
override fun dexSupport(): Boolean { return false } | ||
override fun wcSupport(): Boolean { return false } | ||
override fun authzSupport(): Boolean { return true } | ||
|
||
override fun grpcUrl(): String { return "grpc-archway.cosmostation.io" } | ||
override fun explorerUrl(): String { return BaseConstant.EXPLORER_BASE_URL + "archway/" } | ||
override fun homeInfoLink(): String { return "https://archway.io/" } | ||
override fun blogInfoLink(): String { return "https://blog.archway.io/" } | ||
override fun coingeckoLink(): String { return BaseConstant.COINGECKO_URL + "archway" } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:state_selected="true" | ||
android:color="@color/color_archway" /> | ||
|
||
<item android:state_selected="false" | ||
android:color="@color/colorGray4" /> | ||
</selector> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters