Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion packages/donate-button-v4/src/components/widget/types/Crypto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export enum CryptoCurrency {
LTC = 'LTC',
MANA = 'MANA',
MASK = 'MASK',
MATIC = 'MATIC',
MCO2 = 'MCO2',
MEW = 'MEW',
MKR = 'MKR',
Expand Down Expand Up @@ -148,7 +149,8 @@ export const DISABLED_TOKENS = [
CryptoCurrency.ALGO,
CryptoCurrency.MOB,
CryptoCurrency.XLM,
CryptoCurrency.BNB
CryptoCurrency.BNB,
CryptoCurrency.MATIC
];

export const SharedCryptoCurrencyConfig: {
Expand Down Expand Up @@ -536,6 +538,13 @@ export const SharedCryptoCurrencyConfig: {
decimalOffset: 18,
coingeckoId: 'mask-network'
},
[CryptoCurrency.MATIC]: {
displayName: 'Polygon',
abbreviation: 'MATIC',
contractType: ContractType.ERC20,
decimalOffset: 18,
coingeckoId: 'matic-network'
},
[CryptoCurrency.MCO2]: {
displayName: 'Moss Carbon Credit',
abbreviation: 'MCO2',
Expand Down Expand Up @@ -1000,6 +1009,7 @@ const WebsiteCryptoCurrencyConfig: {
[CryptoCurrency.LRC]: {iconCloudinaryId: 'crypto/sazpx9zyfsgbmprmfag9'},
[CryptoCurrency.MANA]: {iconCloudinaryId: 'crypto/ekefdi1p3jgoeb08oszc'},
[CryptoCurrency.MASK]: {iconCloudinaryId: 'crypto/ykwym7djaofb2q6lcn5n'},
[CryptoCurrency.MATIC]: {iconCloudinaryId: 'crypto/i1m8h4uzfijyjcfeeydg'},
[CryptoCurrency.MCO2]: {iconCloudinaryId: 'crypto/ysuyysfrukryu1jw2wrh'},
[CryptoCurrency.MEW]: {iconCloudinaryId: 'crypto/u5yaemgk4ajviyqriav6'},
[CryptoCurrency.MKR]: {iconCloudinaryId: 'crypto/tpdipvaap6m150j2hdec'},
Expand Down
Loading