Deposit

UTILITYFINANCIAL

Contract purpose

This is a contract used for depositing. When someone deploys the contract he says how much does he want to lock his ETH. He can only withdraw the tokens after the time has passed

Customizable Variables

typedetails
depositTimeintegersets the deposit time, receives seconds so you should multiply for different time units. Ex(1 day = 86400 seconds)

Exposed methods

deposit lets the buyer deposit ETH to the smart contract

getBalance allows anybody to check the balance amount

withdraw lets the owner to withdraw the tokens if it's past the unlock date

isUnlocked check if you can unlock the tokens

Buy
Reviewed by Modex
Buy Contract Test Contract

Create an account or login to purchase this smart contract