Debt Tracker

TOOLSFINANCIALUTILITY

Exposed Methods

addDebt this function adds a person to the array

parameter nametypedetails
_namestringstores name of the person
_debtamountuintstores how much money the owner has to pay
_duetimestringstores the time when the debt will be due
_addrstringstores the address of the person

payDebt enables the owner to pay the debt that he owes to a person

parameter nametypedetails
_indexuintindex of the persons that lend the money

getDebtStatus shows the status of a debt

parameter nametypedetails
_indexuintindex of the persons that lend the money

getIndexPerson shows the index of a person

parameter nametypedetails
_namestringstores name of the person

checkDue

parameter nametypedetails
Buy
Reviewed by Modex
Buy Contract Test Contract

Create an account or login to purchase this smart contract