Antique Appraisal

FINANCIALTOOLSUTILITY

Exposed Methods

sendAntique holder sends the antique to be appraised

parameter nametypedetails
_namestringname of the antique

appraiseAntique owner of the contract appraises the antique

parameter nametypedetails
_holderaddressetherum address of the antique holder
_priceuintprice estimated by the owner
_genuineboolstores if the antique is genuine or not

checkAntique shows the status of an appraised antique for a specific holder

parameter nametypedetails
_holderaddressetherum address of the antique holder

agreeToSell holder of the antique agrees to sell

noSale holder refuses the offer and wants the antique back

buyAntique owner buys the antique if the holder approved the price

returnAntique function to return the antique to the holder

Buy
Reviewed by Modex
Buy Contract Test Contract

Create an account or login to purchase this smart contract