Wrapped Song Module
Details of the Wrapped Song module piece
Last updated
Details of the Wrapped Song module piece
Last updated
The WrappedSongFactory
contract is responsible for creating new wrapped songs. It interacts with the ProtocolModule
to ensure that all necessary conditions are met before a wrapped song is created. This contract also manages the initialization of new wrapped songs and keeps track of the songs created by each owner.
The WrappedSongSmartAccount
contract represents the smart account for a wrapped song. It manages the song's state, including its release status, authenticity, and associated distributor wallet. This contract also handles the financial operations related to the wrapped song, such as receiving payments and distributing earnings.
The WSTokensManagement
contract manages the creation and distribution of song-related tokens, including both NFTs and fungible shares. It allows for the creation of song concept NFTs, the minting of participation NFTs, and the exchange of NFTs for fungible shares. This contract also handles the setting and retrieval of token URIs.