Skip to content

Commit

Permalink
Merge pull request #820 from lidofinance/debug/sepolia-deposit-contra…
Browse files Browse the repository at this point in the history
…ct-adapter

Sepolia deployment and deposit contract adapter
NB: "debug" in branch is by accident
  • Loading branch information
arwer13 authored Feb 7, 2024
2 parents 5ccdfd6 + 2526388 commit a6a9a5c
Show file tree
Hide file tree
Showing 18 changed files with 848 additions and 66 deletions.
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 <[email protected]>
// 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;
}



}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pragma solidity 0.4.24;
import {SignatureUtils} from "../lib/SignatureUtils.sol";


contract SignatureUtilsConsumer_0_4_24 {
contract SignatureUtilsConsumer_0_4_24 { // solhint-disable-line contract-name-camelcase

function isValidSignature(
address signer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pragma solidity 0.8.9;
import {SignatureUtils} from "../lib/SignatureUtils.sol";


contract SignatureUtilsConsumer_0_8_9 {
contract SignatureUtilsConsumer_0_8_9 { // solhint-disable-line contract-name-camelcase

function isValidSignature(
address signer,
Expand Down
Loading

0 comments on commit a6a9a5c

Please sign in to comment.