Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sepolia deployment and deposit contract adapter #820

Merged
merged 17 commits into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions contracts/0.8.9/SepoliaDepositAdapter.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// SPDX-FileCopyrightText: 2024 Lido <info@lido.fi>
// SPDX-License-Identifier: GPL-3.0

/* See contracts/COMPILERS.md */
pragma solidity 0.8.9;


contract SepoliaDepositAdapter {

uint public constant TEST_VALUE = 16;
address public immutable depositContract;

function deposit(
bytes calldata pubkey,
bytes calldata withdrawal_credentials,
bytes calldata signature,
bytes32 deposit_data_root
) external payable {
}

constructor(address _deposit_contract) {
depositContract = _deposit_contract;
}



}
Comment on lines +8 to +27

Check warning

Code scanning / Slither

Contracts that lock Ether Medium

Contract locking ether found:
Contract SepoliaDepositAdapter has payable functions:
- SepoliaDepositAdapter.deposit(bytes,bytes,bytes,bytes32)
But does not have a function to withdraw the ether
Loading
Loading