Skip to content

Commit

Permalink
Temporarily restrict allowed tokens to ETH and DAI
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanberckmans committed Jul 9, 2024
1 parent 762739d commit 6b94db6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pretix_eth/static/pretix_eth/web3modal-dist/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"main.js": "/static/pretix_eth/web3modal-dist/web3modal.8a61f272280a4f3b6af4.js",
"main.js": "/static/pretix_eth/web3modal-dist/web3modal.aae5b37bfac8eee73b79.js",
"periodicCheck.js": "/static/pretix_eth/web3modal-dist/web3modal.ebe91d40da5f60dacd9b.js",
"web3modal.js.map": "/static/pretix_eth/web3modal-dist/web3modal.ebe91d40da5f60dacd9b.js.map"
}

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pretix_eth/web3modal/src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ async function makePayment() {
// }

make3citiesIframe({
tcBaseUrl: 'https://3cities.xyz/#/pay?c=CAESFGdAb29187sroN7d8mdtO6b1XHAPIgICASoCARA6K0VUSCBVU0RUIExVU0QgUFlVU0QgR1VTRCBVU0RQIERBSSBVU0RDIFdFVEhKNQEKAQAKBAIBBgEKBQMEAwUCCgUJAQQECgcHBwcHBwcKCAQFAwoBAQABCggBBAUHCgMEBAQD', // this is a production payment link with baked in settings: single receiver address 0x67406f6F75F3Bb2bA0DeDdf2676D3bA6F55C700F; chain allowlist Ethereum Mainnet, OP Mainnet, Arbitrum One, Scroll, Linea, Zora, Base, Polygon zkEVM, Blast, Mode; TODO add zkSync Era after multi receiver address is implemented; ETH, WETH, USDC, USDT, DAI, LUSD, USDP, PYUSD, GUSD; TODO add USDGLO --> TODO pass chain/token allowlist and receiver address as URL params sourced from plugin config
tcBaseUrl: 'https://3cities.xyz/#/pay?c=CAESFGdAb29187sroN7d8mdtO6b1XHAPIgICASoCARA6DEVUSCBXRVRIIERBSUo1AQoBAAoEAgEGAQoIBAUDCgUJAQQECgUDBAMFAgoDBAQEAwoIAQQFBwoBAQABCgcHBwcHBwc', // this is a production payment link with baked in settings: single receiver address 0x67406f6F75F3Bb2bA0DeDdf2676D3bA6F55C700F; chain allowlist Ethereum Mainnet, OP Mainnet, Arbitrum One, Scroll, Linea, Zora, Base, Polygon zkEVM, Blast, Mode; TODO add zkSync Era after multi receiver address is implemented and Taiko; ETH, WETH, DAI; TODO add USDC, USDT, LUSD, USDP, PYUSD, GUSD after legal approval; TODO add USDGLO to 3cities --> TODO pass chain/token allowlist as URL params sourced from plugin config
receiverAddress: GlobalPretixEthState.paymentDetails['recipient_address'],
paymentLogicalAssetAmountInUsd: GlobalPretixEthState.paymentDetails['amount'],
primaryCurrency: GlobalPretixEthState.paymentDetails['primary_currency'],
Expand Down

0 comments on commit 6b94db6

Please sign in to comment.