You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sendSwapRequest():
Sends a swap request to another chain via Across.
handleV3AcrossMessage():
Handles incoming crosschain swap requests from Across.
Additional Details
When deploying the contract to zkSync Era using Foundry, a warning related to EIP-3855 is shown — even though the contract is compiled with Solidity version ^0.8.10.
EIP-3855 is not supported in one or more of the RPCs used.
Unsupported Chain IDs: 324.
Contracts deployed with a Solidity version equal or higher than 0.8.20 might not work properly.
For more information, please see https://eips.ethereum.org/EIPS/eip-3855
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Team or Project
No response
ZK chain
era
Environment
Mainnet
L2 block number
61923045
zkSolc Version
0.8.10
zksync-ethers Version
?
Minimal Reproducible Code or Repo Link
foundry.toml
Does this work on other EVMs? (If yes, please list at least 1 of them)
ethereum, base, op ... (all)
Description of What Your Contract Does
Crosschain Swap Portal via Across Protocol
This contract serves as a portal to initiate and receive crosschain swaps using the Across Protocol.
Deployment
The contract is deployed on multiple blockchains.
Mainnet (Ethereum): 0xb8eD8F9e2A04ecC70c801d4f05ab8F00599CEfC2
Base: 0x7274b2528D82E6a2b42FAA90dDBEc5489252d1a8
...
Core Functions
sendSwapRequest()
:Sends a swap request to another chain via Across.
handleV3AcrossMessage()
:Handles incoming crosschain swap requests from Across.
Additional Details
When deploying the contract to zkSync Era using Foundry, a warning related to EIP-3855 is shown — even though the contract is compiled with Solidity version
^0.8.10
.Deployment Command
Warning
EIP-3855 is not supported in one or more of the RPCs used. Unsupported Chain IDs: 324. Contracts deployed with a Solidity version equal or higher than 0.8.20 might not work properly. For more information, please see https://eips.ethereum.org/EIPS/eip-3855
Beta Was this translation helpful? Give feedback.
All reactions