Skip to content

Commit

Permalink
Rename MATIC token name to POL
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 authored Sep 24, 2024
1 parent 298ed6e commit e08b0cd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions core/payment-driver/erc20/config-payments.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ dns-source = "holesky.rpc-node.dev.golem.network."
[chain.mumbai]
chain-name = "Mumbai testnet"
chain-id = 80001
currency-symbol = "tMATIC"
currency-symbol = "POL"
priority-fee = 1.0
max-fee-per-gas = 14.0
transaction-timeout = 60
Expand Down Expand Up @@ -144,7 +144,7 @@ dns-source = "mumbai.rpc-node.dev.golem.network."
[chain.polygon]
chain-name = "Polygon mainnet"
chain-id = 137
currency-symbol = "MATIC"
currency-symbol = "POL"
priority-fee = 30.111
max-fee-per-gas = 500.0
transaction-timeout = 100
Expand All @@ -165,7 +165,7 @@ dns-source = "polygon.rpc-node.dev.golem.network."
[chain.amoy]
chain-name = "Amoy testnet"
chain-id = 80002
currency-symbol = "tMATIC"
currency-symbol = "POL"
priority-fee = 30.111
max-fee-per-gas = 500.0
transaction-timeout = 100
Expand Down
10 changes: 5 additions & 5 deletions core/payment-driver/erc20/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ pub const HOLESKY_CURRENCY_LONG: &str = "Holesky Ether";
pub const MUMBAI_NETWORK: &str = "mumbai";
pub const MUMBAI_TOKEN: &str = "tGLM";
pub const MUMBAI_PLATFORM: &str = "erc20-mumbai-tglm";
pub const MUMBAI_CURRENCY_SHORT: &str = "tMATIC";
pub const MUMBAI_CURRENCY_LONG: &str = "Test MATIC";
pub const MUMBAI_CURRENCY_SHORT: &str = "POL";
pub const MUMBAI_CURRENCY_LONG: &str = "Test POL";

pub const AMOY_NETWORK: &str = "amoy";
pub const AMOY_TOKEN: &str = "tGLM";
pub const AMOY_PLATFORM: &str = "erc20-amoy-tglm";
pub const AMOY_CURRENCY_SHORT: &str = "tMATIC";
pub const AMOY_CURRENCY_LONG: &str = "Test MATIC";
pub const AMOY_CURRENCY_SHORT: &str = "POL";
pub const AMOY_CURRENCY_LONG: &str = "Test POL";

pub const SEPOLIA_NETWORK: &str = "sepolia";
pub const SEPOLIA_TOKEN: &str = "tGLM";
Expand All @@ -52,7 +52,7 @@ pub const MAINNET_CURRENCY_LONG: &str = "Ether";
pub const POLYGON_MAINNET_NETWORK: &str = "polygon";
pub const POLYGON_MAINNET_TOKEN: &str = "GLM";
pub const POLYGON_MAINNET_PLATFORM: &str = "erc20-polygon-glm";
pub const POLYGON_MAINNET_CURRENCY_SHORT: &str = "MATIC";
pub const POLYGON_MAINNET_CURRENCY_SHORT: &str = "POL";
pub const POLYGON_MAINNET_CURRENCY_LONG: &str = "Polygon";

pub use service::Erc20Service as PaymentDriverService;
Expand Down
4 changes: 2 additions & 2 deletions extra/payments/multi_test/config-payments.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ dns-source = "holesky.rpc-node.dev.golem.network."
[chain.mumbai]
chain-name = "Mumbai testnet"
chain-id = 80001
currency-symbol = "tMATIC"
currency-symbol = "POL"
priority-fee = 1.0
max-fee-per-gas = 14.0
transaction-timeout = 60
Expand Down Expand Up @@ -167,7 +167,7 @@ dns-source = "mumbai.rpc-node.dev.golem.network."
[chain.polygon]
chain-name = "Polygon mainnet"
chain-id = 137
currency-symbol = "MATIC"
currency-symbol = "POL"
priority-fee = 30.111
max-fee-per-gas = 500.0
transaction-timeout = 100
Expand Down

0 comments on commit e08b0cd

Please sign in to comment.