github.com/amazechain/amc@v0.1.3/contracts/deposit/AMT/IDeposit.sol (about)

     1  // SPDX-License-Identifier: MIT
     2  pragma solidity ^0.8.0;
     3  
     4  
     5  interface IDeposit{
     6      event DepositEvent(
     7          bytes pubkey,
     8          uint256 weiAmount,
     9          bytes signature
    10      );
    11      event WithdrawnEvent(uint256 weiAmount);
    12  
    13      function deposit(
    14          bytes calldata pubkey,
    15          bytes calldata signature
    16      ) external payable;
    17  
    18      function withdraw() external payable;
    19      function depositsOf(address payee) external view returns (uint256);
    20      function depositUnlockingTimestamp(address payee) external view returns (uint64);
    21      function getDepositCount() external view returns (uint256);
    22  }