Skip to content

Commit

Permalink
fix: updates matic code to pol_polygon (#37)
Browse files Browse the repository at this point in the history
* Updates matic code to pol_polygon

* Supports enj and weth
  • Loading branch information
percivalruiz-bitcoin authored Jan 24, 2025
1 parent f9425be commit a074e91
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
18 changes: 17 additions & 1 deletion buyassets/onramper.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"android_asset_protocol": "ERC_20_PROTOCOL"
},
{
"compound_key": "matic_polygon",
"compound_key": "pol_polygon",
"asset_id": "MATIC",
"ios_blockchain": "MATIC",
"ios_asset_protocol": "MATIC",
Expand Down Expand Up @@ -295,6 +295,22 @@
"ios_asset_protocol": "ERC20",
"android_blockchain": "ETH_BLOCKCHAIN",
"android_asset_protocol": "ERC_20_PROTOCOL"
},
{
"currency_code": "weth_ethereum",
"asset_id": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"ios_blockchain": "ETH",
"ios_asset_protocol": "ERC20",
"android_blockchain": "ETH_BLOCKCHAIN",
"android_asset_protocol": "ERC_20_PROTOCOL"
},
{
"currency_code": "enj_ethereum",
"asset_id": "0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c",
"ios_blockchain": "ETH",
"ios_asset_protocol": "ERC20",
"android_blockchain": "ETH_BLOCKCHAIN",
"android_asset_protocol": "ERC_20_PROTOCOL"
}
]
}
18 changes: 17 additions & 1 deletion ios/Resources/buyassets/onramper.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"android_asset_protocol": "ERC_20_PROTOCOL"
},
{
"compound_key": "matic_polygon",
"compound_key": "pol_polygon",
"asset_id": "MATIC",
"ios_blockchain": "MATIC",
"ios_asset_protocol": "MATIC",
Expand Down Expand Up @@ -295,6 +295,22 @@
"ios_asset_protocol": "ERC20",
"android_blockchain": "ETH_BLOCKCHAIN",
"android_asset_protocol": "ERC_20_PROTOCOL"
},
{
"currency_code": "weth_ethereum",
"asset_id": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"ios_blockchain": "ETH",
"ios_asset_protocol": "ERC20",
"android_blockchain": "ETH_BLOCKCHAIN",
"android_asset_protocol": "ERC_20_PROTOCOL"
},
{
"currency_code": "enj_ethereum",
"asset_id": "0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c",
"ios_blockchain": "ETH",
"ios_asset_protocol": "ERC20",
"android_blockchain": "ETH_BLOCKCHAIN",
"android_asset_protocol": "ERC_20_PROTOCOL"
}
]
}

0 comments on commit a074e91

Please sign in to comment.