github.com/amazechain/amc@v0.1.3/contracts/deposit/FUJI/IDeposit.sol (about) 1 // SPDX-License-Identifier: MIT 2 pragma solidity ^0.8.17; 3 4 interface IDeposit { 5 event DepositEvent(bytes pubkey, uint256 weiAmount, bytes signature); 6 7 event WithdrawnEvent(uint256 weiAmount); 8 9 function deposit( 10 bytes calldata pubkey, 11 bytes calldata signature, 12 uint256 tokenID 13 ) external; 14 15 function withdraw() external; 16 17 function depositsOf(address account) external view returns (uint256); 18 19 function depositUnlockingTimestamp( 20 address payee 21 ) external view returns (uint256); 22 }