
Exposed Methods
sendAntique holder sends the antique to be appraised
parameter name | type | details |
---|---|---|
_name | string | name of the antique |
appraiseAntique owner of the contract appraises the antique
parameter name | type | details |
---|---|---|
_holder | address | etherum address of the antique holder |
_price | uint | price estimated by the owner |
_genuine | bool | stores if the antique is genuine or not |
checkAntique shows the status of an appraised antique for a specific holder
parameter name | type | details |
---|---|---|
_holder | address | etherum 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