Term deposit

Contract purpose

This smart contract allows depositing funds for a given time. It will not withdraw funds back until the initial set time duration passed and not earlier.


ownerAddress: the owner address

Exposed methods

depositFunds deposits the transaction value in wei (ETH denomination) and adds the time to wait for withdraw

parameter nametypedetails
timeuintthe time to wait in seconds (epoch value)

withdrawFunds withdraw the funds if the given time to wait has passed

getInfo gets info if the request comes from the contract owner

Reviewed by Modex
Buy Contract Test Contract

Create an account or login to purchase this smart contract