0 txs
0 calls
constructor
constructor()
functions
ethBalance
viewfunction ethBalance() view returns (uint256)
ethEarningsEpochs
viewfunction ethEarningsEpochs(uint256 index) view returns (tuple)
getPendingETHEarnings
viewfunction getPendingETHEarnings(address account) view returns (uint256)
getPendingStablecoinDistribution
viewfunction getPendingStablecoinDistribution() view returns (uint256)
getPendingStablecoinEarnings
viewfunction getPendingStablecoinEarnings(address account) view returns (uint256)
getUnclaimedETHEpochs
viewfunction getUnclaimedETHEpochs(address account) view returns (uint256[] epochIds, uint256[] amounts, uint256[] timestamps, string[] sources)
getUnclaimedStablecoinEpochs
viewfunction getUnclaimedStablecoinEpochs(address account) view returns (uint256[] epochIds, uint256[] amounts, uint256[] timestamps, string[] sources)
getWSTokenManagementAddress
viewfunction getWSTokenManagementAddress() view returns (address)
hasMoreEpochsToClaim
viewfunction hasMoreEpochsToClaim(address account, address token) view returns (bool hasMore, uint256 nextEpoch, uint256 totalEpochs)
metadataModule
viewfunction metadataModule() view returns (address)
migrated
viewfunction migrated() view returns (bool)
onERC1155BatchReceived
purefunction onERC1155BatchReceived(address operator, address from, uint256[] ids, uint256[] values, bytes data) pure returns (bytes4)
onERC1155Received
purefunction onERC1155Received(address operator, address from, uint256 id, uint256 value, bytes data) pure returns (bytes4)
owner
viewfunction owner() view returns (address)
protocolModule
viewfunction protocolModule() view returns (address)
releaseModule
viewfunction releaseModule() view returns (address)
songSharesId
viewfunction songSharesId() view returns (uint256)
stablecoin
viewfunction stablecoin() view returns (address)
stablecoinEarningsEpochs
viewfunction stablecoinEarningsEpochs(uint256 index) view returns (tuple)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
userEpochBalances
viewfunction userEpochBalances(address user) view returns (tuple)
wrappedSongTokenId
viewfunction wrappedSongTokenId() view returns (uint256)
wsTokenManagement
viewfunction wsTokenManagement() view returns (address)
claimETHEarnings
nonpayablefunction claimETHEarnings(uint256 maxEpochs)
claimStablecoinEarnings
nonpayablefunction claimStablecoinEarnings(uint256 maxEpochs)
createBuyoutToken
nonpayablefunction createBuyoutToken(uint256 amount, address recipient)
createETHDistributionEpoch
nonpayablefunction createETHDistributionEpoch()
createLegalContract
nonpayablefunction createLegalContract(string contractURI) returns (uint256)
createSongShares
nonpayablefunction createSongShares(uint256 sharesAmount)
createStablecoinDistributionEpoch
nonpayablefunction createStablecoinDistributionEpoch()
initialize
nonpayablefunction initialize(address _stablecoinAddress, address _owner, address _protocolModuleAddress)
migrateWrappedSong
nonpayablefunction migrateWrappedSong(address newMetadataAddress, address newWrappedSongAddress)
receiveERC20
nonpayablefunction receiveERC20(address token, uint256 amount)
renounceOwnership
nonpayablefunction renounceOwnership()
setSymbol
nonpayablefunction setSymbol(string newSymbol)
setWSTokenManagement
nonpayablefunction setWSTokenManagement(address _wsTokenManagement)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
events
ContractMigrated
event ContractMigrated(address indexed newWrappedSongAddress)
EarningsEpochProcessed
event EarningsEpochProcessed(uint256 indexed epochId, uint256 amount, uint256 earningsPerShare, bool isETH)
EpochEarningsClaimed
event EpochEarningsClaimed(address indexed user, uint256 fromEpoch, uint256 toEpoch, uint256 amount, address indexed token)
Initialized
event Initialized(uint64 version)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
errors
InvalidInitialization
error InvalidInitialization()
NotInitializing
error NotInitializing()
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall
error ReentrancyGuardReentrantCall()
creation bytecode
0x3d602d80600a3d3981f3363d3d373d3d3d363d73a348abcf29f030b176f6b5af15e0e11c6c04e4f75af43d82803e903d91602b57fd5bf3