Skip to content

Commit

Permalink
Details on while Adapter is required
Browse files Browse the repository at this point in the history
  • Loading branch information
vp4242 committed Feb 20, 2024
1 parent e3a089e commit c9d0887
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/0.8.9/SepoliaDepositAdapter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ interface IDepositContract {
interface ISepoliaDepositContract is IDepositContract, IERC20 { }

// Sepolia testnet deposit contract have a different interface than the mainnet deposit contract.
// The differences are:
// 1. Sepolia contract require specific Bepolia token to be used for depositing. It burns this token after depositing.
// 2. It returns the ETH to the sender after depositing.
// This adapter is used to make the mainnet deposit contract compatible with the testnet deposit contract.
// For further information see Sepolia deposit contract variant source code link above.
contract SepoliaDepositAdapter is IDepositContract, Ownable {
Expand Down

0 comments on commit c9d0887

Please sign in to comment.