Skip to content

Commit f43ef09

Browse files
authored
feat: revert "remove PoP chains" (#68)
1 parent 9921d84 commit f43ef09

4 files changed

Lines changed: 96 additions & 1 deletion

File tree

packages/arb-token-bridge-ui/src/components/TransferPanel/TransferPanel.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ import { WidgetTransferPanel } from '../Widget/WidgetTransferPanel'
9898
import { useMode } from '../../hooks/useMode'
9999
import { getTokenOverride } from '../../app/api/crosschain-transfers/utils'
100100
import { ReceiveFundsHeader } from './ReceiveFundsHeader'
101+
import { NoteBox } from '../common/NoteBox'
101102

102103
const signerUndefinedError = 'Signer is undefined'
103104
const transferNotAllowedError = 'Transfer not allowed'
@@ -1349,6 +1350,14 @@ export function TransferPanel() {
13491350
'sm:rounded sm:border'
13501351
)}
13511352
>
1353+
{/* PoP Apex 70700 and PoP Boss 70701 */}
1354+
{(childChain.id === 70700 || childChain.id === 70701) && (
1355+
<NoteBox variant="warning" className="mb-4">
1356+
Proof of Play will be deprecating their chains Proof of Play Apex
1357+
and Proof of Play Boss on Sept 27th, please withdraw funds now.
1358+
</NoteBox>
1359+
)}
1360+
13521361
<TransferPanelMain />
13531362

13541363
<ReceiveFundsHeader />

packages/arb-token-bridge-ui/src/components/TransferPanel/useTransferReadiness.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import { Token } from '../../app/api/crosschain-transfers/types'
4949
export const DISABLED_CHAIN_IDS: number[] = []
5050

5151
// withdraw-only chains (will also display error message in the transfer panel)
52-
const WITHDRAW_ONLY_CHAIN_IDS: number[] = [98865, 140] // Plume Legacy, Data Lake Mainnet
52+
const WITHDRAW_ONLY_CHAIN_IDS: number[] = [98865, 70700, 70701, 140] // Plume Legacy, PoP Apex, PoP Boss, Data Lake Mainnet
5353

5454
type ErrorMessages = {
5555
inputAmount1?: string | TransferReadinessRichErrorMessage

packages/arb-token-bridge-ui/src/util/networks.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ export const l2MoonGatewayAddresses: { [chainId: number]: string } = {
348348
}
349349

350350
export const l2UsdcGatewayAddresses: { [chainId: number]: string } = {
351+
// PoP Apex
352+
70700: '0x97e2b88b44946cd932fb85675412699723200987',
351353
// Superposition
352354
[ChainId.Superposition]: '0xF70ae1Af7D49dA0f7D66Bb55469caC9da336181b'
353355
}

packages/arb-token-bridge-ui/src/util/orbitChainsData.json

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,90 @@
132132
}
133133
}
134134
},
135+
{
136+
"chainId": 70700,
137+
"confirmPeriodBlocks": 40320,
138+
"ethBridge": {
139+
"bridge": "0x074fFD20C6D8865752C997f4980Cf70F2a3Fbac6",
140+
"inbox": "0xC3874bE54E3f25BBC6B4fB582654fd9294f485a1",
141+
"outbox": "0x0cD85675897B7020d7121e63AB250d3F47ff3Ff2",
142+
"rollup": "0x65AD139061B3f6DDb16170a07b925337ddf42407",
143+
"sequencerInbox": "0xa58F38102579dAE7C584850780dDA55744f67DF1"
144+
},
145+
"explorerUrl": "https://explorer.apex.proofofplay.com",
146+
"rpcUrl": "https://rpc.apex.proofofplay.com",
147+
"name": "Proof of Play Apex",
148+
"slug": "pop-apex",
149+
"parentChainId": 42161,
150+
"isCustom": true,
151+
"isTestnet": false,
152+
"tokenBridge": {
153+
"parentCustomGateway": "0x653f8D34a86207569069164d45a031eE552A4729",
154+
"parentErc20Gateway": "0x298eb8d9f2F046AC60c01535fad40320CCdeB7c0",
155+
"parentGatewayRouter": "0x2f883c5997Cf60B4d52a2fD4039918E1f9D1147c",
156+
"parentMultiCall": "0x90B02D9F861017844F30dFbdF725b6aa84E63822",
157+
"parentProxyAdmin": "0xCC6f49cff395c4d160C61112522700dcB007c41d",
158+
"parentWeth": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
159+
"parentWethGateway": "0xEB2Ae03709f63CEa9E5eC6ab25C1838c4A5634BA",
160+
"childCustomGateway": "0x1a4ba648Ddc0E726085A847178eBff204411EB1A",
161+
"childErc20Gateway": "0x7aEdD5a2F3bBd4841711D017Edf90d611aD96a9e",
162+
"childGatewayRouter": "0x33e59640CD7E5C5E8D43fd46d995efDdDd0Fc930",
163+
"childMultiCall": "0xEB4150a4F26Cf3563B3a86965E269C8873D48527",
164+
"childProxyAdmin": "0x518e5FA773118b779a6231303f5593A10D3B3c84",
165+
"childWeth": "0x77684A04145a5924eFCE0D92A7c4a2A2E8C359de",
166+
"childWethGateway": "0x6e965dd667cb08f09DE8285317f012Ac889507b4"
167+
},
168+
"bridgeUiConfig": {
169+
"color": "#6C41FF",
170+
"network": {
171+
"name": "Proof of Play Apex",
172+
"description": "Apex is the first chain in Proof of Play's Multichain, powering the popular Pirate Nation game.",
173+
"logo": "/images/PopApexLogo.webp"
174+
}
175+
}
176+
},
177+
{
178+
"chainId": 70701,
179+
"confirmPeriodBlocks": 43200,
180+
"ethBridge": {
181+
"bridge": "0x53D82686BC9827fEc03bcEe661B37b855A18EcA9",
182+
"inbox": "0xEe30EfcaF812d10e1EFE25E9458f76a39DAD3239",
183+
"outbox": "0xa4270256B160C3Ebec2d6914a906c7EC38D8d072",
184+
"rollup": "0x330F8fEB25f3427cABA32446728C36ae67f2135b",
185+
"sequencerInbox": "0x6eE94AD8057Fd7Ba4d47bb6278a261c8a9FD4E3f"
186+
},
187+
"explorerUrl": "https://explorer-proofofplay-boss-mainnet.t.conduit.xyz",
188+
"rpcUrl": "https://rpc.boss.proofofplay.com",
189+
"name": "Proof of Play Boss",
190+
"slug": "pop-boss",
191+
"parentChainId": 42161,
192+
"isCustom": true,
193+
"isTestnet": false,
194+
"tokenBridge": {
195+
"parentCustomGateway": "0x7D25Cc5b71AC932F696F3f4Da109e867395f4F05",
196+
"parentErc20Gateway": "0x410a210d51597be9e575F9b46c11eB865c0Ee073",
197+
"parentGatewayRouter": "0x48e067CC8eedc2f6E6dfB7192E7E32158A7de0E2",
198+
"parentMultiCall": "0x90B02D9F861017844F30dFbdF725b6aa84E63822",
199+
"parentProxyAdmin": "0x490C4c92Ea9FF02EE8277222C66afD80Bfb1b7c1",
200+
"parentWeth": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
201+
"parentWethGateway": "0x7480A89d1e360e512493489711EC7bc8eE7acfD6",
202+
"childCustomGateway": "0xA534bFDaBBac7F0511E97bDFCE8aB72bd7380355",
203+
"childErc20Gateway": "0xb7B9a171D4B318e87e198A028b0650Bf3Fa16615",
204+
"childGatewayRouter": "0x2DDb10B368c5D31BEb395Cbb16f0bC6Ffea7eE08",
205+
"childMultiCall": "0xFcA54035D5CceE942674721E8Ab5aB37d88D82b9",
206+
"childProxyAdmin": "0x63a766C4C8f1c54cD818A7Ab67A9AF54a78cB82F",
207+
"childWeth": "0x993232978869f1772Fb5D282Fdbcb0f6C5ef744D",
208+
"childWethGateway": "0x9c0c007880e04685947d13533dCa27BF2AAEc0Ec"
209+
},
210+
"bridgeUiConfig": {
211+
"color": "#3E63DD",
212+
"network": {
213+
"name": "Proof of Play Boss",
214+
"description": "Proof of Play Boss is a gaming-focused L3 settling on Arbitrum using the Orbit Stack and AnyTrust DA.",
215+
"logo": "/images/PopApexLogo.webp"
216+
}
217+
}
218+
},
135219
{
136220
"chainId": 94524,
137221
"confirmPeriodBlocks": 40320,

0 commit comments

Comments
 (0)