0 txs
4 calls
constructor
constructor()
functions
balanceOf
viewfunction balanceOf(address account, uint256 id) view returns (uint256)
balanceOfAt
viewfunction balanceOfAt(address account, uint256 id, uint256 timestamp) view returns (uint256)
balanceOfBatch
viewfunction balanceOfBatch(address[] accounts, uint256[] ids) view returns (uint256[])
BUYOUT_TOKEN_ID
purefunction BUYOUT_TOKEN_ID() pure returns (uint256)
contractURI
viewfunction contractURI() view returns (string)
currentLegalContractId
viewfunction currentLegalContractId() view returns (uint256)
exists
viewfunction exists(uint256 id) view returns (bool)
isApprovedForAll
viewfunction isApprovedForAll(address account, address operator) view returns (bool)
LEGAL_CONTRACT_START_ID
purefunction LEGAL_CONTRACT_START_ID() pure returns (uint256)
legalContractMetadata
viewfunction legalContractMetadata() view returns (address)
metadataModule
viewfunction metadataModule() view returns (address)
name
viewfunction name() view returns (string)
owner
viewfunction owner() view returns (address)
protocolModule
viewfunction protocolModule() view returns (address)
SONG_CONCEPT_ID
purefunction SONG_CONCEPT_ID() pure returns (uint256)
SONG_SHARES_ID
purefunction SONG_SHARES_ID() pure returns (uint256)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
symbol
viewfunction symbol() view returns (string)
totalShares
viewfunction totalShares() view returns (uint256)
totalSupply
viewfunction totalSupply() view returns (uint256)
totalSupply
viewfunction totalSupply(uint256 id) view returns (uint256)
uri
viewfunction uri(uint256 tokenId) view returns (string)
createBuyoutToken
nonpayablefunction createBuyoutToken(uint256 amount, address recipient)
createLegalContract
nonpayablefunction createLegalContract(string legalContractURI) returns (uint256 tokenId)
createSongShares
nonpayablefunction createSongShares(uint256 sharesAmount)
initialize
nonpayablefunction initialize(address _smartAccount, address _minterAddress, address _protocolModuleAddress)
migrateWrappedSong
nonpayablefunction migrateWrappedSong(address newMetadataAddress, address newWrappedSongAddress)
renounceOwnership
nonpayablefunction renounceOwnership()
safeBatchTransferFrom
nonpayablefunction safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data)
safeTransferFrom
nonpayablefunction safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes data)
setApprovalForAll
nonpayablefunction setApprovalForAll(address operator, bool approved)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
updateSymbol
nonpayablefunction updateSymbol(string newSymbol)
events
ApprovalForAll
event ApprovalForAll(address indexed account, address indexed operator, bool approved)
BuyoutTokenCreated
event BuyoutTokenCreated(uint256 indexed amount, address indexed recipient)
Initialized
event Initialized(uint64 version)
LegalContractCreated
event LegalContractCreated(uint256 indexed tokenId, address indexed recipient, string contractURI)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SongSharesCreated
event SongSharesCreated(uint256 indexed sharesAmount, address indexed minter)
TransferBatch
event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)
TransferSingle
event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)
URI
event URI(string value, uint256 indexed id)
WSTokensCreated
event WSTokensCreated(address indexed smartAccount, address indexed minter)
errors
ERC1155InsufficientBalance
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId)
ERC1155InvalidApprover
error ERC1155InvalidApprover(address approver)
ERC1155InvalidArrayLength
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength)
ERC1155InvalidOperator
error ERC1155InvalidOperator(address operator)
ERC1155InvalidReceiver
error ERC1155InvalidReceiver(address receiver)
ERC1155InvalidSender
error ERC1155InvalidSender(address sender)
ERC1155MissingApprovalForAll
error ERC1155MissingApprovalForAll(address operator, address owner)
InvalidInitialization
error InvalidInitialization()
NotInitializing
error NotInitializing()
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall
error ReentrancyGuardReentrantCall()
creation bytecode
0x3d602d80600a3d3981f3363d3d373d3d3d363d733907d3484b5a6914568d741eaf7544e066f4347d5af43d82803e903d91602b57fd5bf3