diff --git a/android/app/src/androidTest/java/com/trustwallet/core/app/utils/TestLiquidStaking.kt b/android/app/src/androidTest/java/com/trustwallet/core/app/utils/TestLiquidStaking.kt
index 41adb7f1d4f..44701d5f2b1 100644
--- a/android/app/src/androidTest/java/com/trustwallet/core/app/utils/TestLiquidStaking.kt
+++ b/android/app/src/androidTest/java/com/trustwallet/core/app/utils/TestLiquidStaking.kt
@@ -29,7 +29,7 @@ class TestLiquidStaking {
stake = LiquidStaking.Stake.newBuilder().apply {
amount = "1000000000000000000"
asset = LiquidStaking.Asset.newBuilder().apply {
- stakingToken = LiquidStaking.Coin.MATIC
+ stakingToken = LiquidStaking.Coin.POL
}.build()
}.build()
}
diff --git a/docs/registry.md b/docs/registry.md
index b278eaba2a0..bfbc3b27235 100644
--- a/docs/registry.md
+++ b/docs/registry.md
@@ -75,7 +75,7 @@ This list is generated from [./registry.json](../registry.json)
| 889 | Viction | VIC | | |
| 899 | eCash | XEC | | |
| 931 | THORChain | RUNE | | |
-| 966 | Polygon | MATIC | | |
+| 966 | Polygon | POL | | |
| 996 | OKX Chain | OKT | | |
| 999 | Bitcoin Diamond | BCD | | |
| 1001 | ThunderCore | TT | | |
diff --git a/registry.json b/registry.json
index ab83bc849f1..f04b7224460 100644
--- a/registry.json
+++ b/registry.json
@@ -3108,7 +3108,7 @@
"id": "polygon",
"name": "Polygon",
"coinId": 966,
- "symbol": "MATIC",
+ "symbol": "POL",
"decimals": 18,
"blockchain": "Ethereum",
"derivation": [
@@ -3129,9 +3129,9 @@
},
"info": {
"url": "https://polygon.technology",
- "source": "https://github.com/maticnetwork/contracts",
+ "source": "https://github.com/maticnetwork",
"rpc": "https://polygon-rpc.com",
- "documentation": "https://eth.wiki/json-rpc/API"
+ "documentation": "https://docs.polygon.technology"
}
},
{
diff --git a/src/proto/LiquidStaking.proto b/src/proto/LiquidStaking.proto
index 2193c5d283e..b91c1bdf3b4 100644
--- a/src/proto/LiquidStaking.proto
+++ b/src/proto/LiquidStaking.proto
@@ -13,7 +13,8 @@ import "Aptos.proto";
// Enum for supported coins for liquid staking
enum Coin {
- MATIC = 0;
+ // Previously, MATIC.
+ POL = 0;
ATOM = 1;
BNB = 2;
APT = 3;
diff --git a/swift/Tests/LiquidStakingTests.swift b/swift/Tests/LiquidStakingTests.swift
index b5d721c40d6..009ad2759d1 100644
--- a/swift/Tests/LiquidStakingTests.swift
+++ b/swift/Tests/LiquidStakingTests.swift
@@ -15,7 +15,7 @@ class LiquidStakingTests: XCTestCase {
$0.stake = LiquidStakingStake.with {
$0.amount = "1000000000000000000"
$0.asset = LiquidStakingAsset.with {
- $0.stakingToken = .matic
+ $0.stakingToken = .pol
}
}
}
diff --git a/tests/chains/Polygon/TWCoinTypeTests.cpp b/tests/chains/Polygon/TWCoinTypeTests.cpp
index bf535061355..e9360551de0 100644
--- a/tests/chains/Polygon/TWCoinTypeTests.cpp
+++ b/tests/chains/Polygon/TWCoinTypeTests.cpp
@@ -24,7 +24,7 @@ TEST(TWPolygonCoinType, TWCoinType) {
ASSERT_EQ(TWBlockchainEthereum, TWCoinTypeBlockchain(TWCoinTypePolygon));
ASSERT_EQ(0x0, TWCoinTypeP2shPrefix(TWCoinTypePolygon));
ASSERT_EQ(0x0, TWCoinTypeStaticPrefix(TWCoinTypePolygon));
- assertStringsEqual(symbol, "MATIC");
+ assertStringsEqual(symbol, "POL");
assertStringsEqual(txUrl, "https://polygonscan.com/tx/0xe26ed1470d5bf99a53d687843e7acdf7e4ba6620af93b4d672e714de90476e8e");
assertStringsEqual(accUrl, "https://polygonscan.com/address/0x720E1fa107A1Df39Db4E78A3633121ac36Bec132");
assertStringsEqual(id, "polygon");
diff --git a/tests/common/LiquidStaking/LiquidStakingTests.cpp b/tests/common/LiquidStaking/LiquidStakingTests.cpp
index 46f00178f57..ac5bad4c7b2 100644
--- a/tests/common/LiquidStaking/LiquidStakingTests.cpp
+++ b/tests/common/LiquidStaking/LiquidStakingTests.cpp
@@ -56,7 +56,7 @@ namespace TW::LiquidStaking::tests {
input.set_protocol(Proto::Strader);
Proto::Stake stake;
Proto::Asset asset;
- asset.set_staking_token(Proto::MATIC);
+ asset.set_staking_token(Proto::POL);
*stake.mutable_asset() = asset;
stake.set_amount("1000000000000000000");
*input.mutable_stake() = stake;
@@ -80,14 +80,14 @@ namespace TW::LiquidStaking::tests {
ASSERT_EQ(ls_output.status().code(), Proto::ERROR_TARGETED_BLOCKCHAIN_NOT_SUPPORTED_BY_PROTOCOL);
}
- TEST(LiquidStaking, PolygonStraderStakeMatic) {
+ TEST(LiquidStaking, PolygonStraderStakePol) {
Proto::Input input;
input.set_blockchain(Proto::POLYGON);
input.set_protocol(Proto::Strader);
input.set_smart_contract_address("0xfd225c9e6601c9d38d8f98d8731bf59efcf8c0e3");
Proto::Stake stake;
Proto::Asset asset;
- asset.set_staking_token(Proto::MATIC);
+ asset.set_staking_token(Proto::POL);
*stake.mutable_asset() = asset;
stake.set_amount("1000000000000000000");
*input.mutable_stake() = stake;
@@ -146,7 +146,7 @@ namespace TW::LiquidStaking::tests {
}
}
- TEST(LiquidStaking, PolygonStraderUnStakeMatic) {
+ TEST(LiquidStaking, PolygonStraderUnStakePol) {
Proto::Input input;
input.set_blockchain(Proto::POLYGON);
input.set_protocol(Proto::Strader);
@@ -184,7 +184,7 @@ namespace TW::LiquidStaking::tests {
// Successfully broadcasted https://polygonscan.com/tx/0xa66855e4af8e654e458915f59acd77e88706c01b59a3e4aed1363a665458368a
}
- TEST(LiquidStaking, PolygonStraderWithdrawMatic) {
+ TEST(LiquidStaking, PolygonStraderWithdrawPol) {
Proto::Input input;
input.set_blockchain(Proto::POLYGON);
input.set_protocol(Proto::Strader);