Music Albums List

TOOLSUTILITYDOCUMENTS

Contract purpose

Contract that keeps track of music albums for a particular artist

Contract parameters

manager : address of the list manager

Exposed methods and variables

addAlbum : allows the manager to introduce a new album in the list

parameter nametypedetails
_idintegerthe unique id of the album
_nrOfTracksintegerthe number of tracks recorded on the album
_releaseDateintegerthe date when the album was released (unix epoch time)

getAlbumDetails : returns the details of a particular album

parameter nametypedetails
_idintegerthe unique id of the album

getMostRecent : returns the name and release date of the most recent album

parameter nametypedetails
_seriesNumberintegerthe unique series number of the bottle
Buy
Reviewed by Modex
Buy Contract Test Contract

Create an account or login to purchase this smart contract