Content Factory
Last updated
Last updated
EVENT
ContractsDeployed(content, contentManager)
ContractsDeployed(address content, address contentManager) |
---|
FUNCTIONS
updateContracts(_content, _contentManager, _contentStorage, _accessControlManager)
contentExists(_content)
contentManagerExists(_contentManager)
createContracts(_contractRoyaltyAccount, _contractRoyaltyRate, _contractUri)
updateContracts(address _content, address _contentManager, address _contentStorage, address _accessControlManager) |
---|
contentExists(address _content) -> bool |
---|
contentManagerExists(address _contentManager) -> bool |
---|
createContracts(address _contractRoyaltyAccount, uint24 _contractRoyaltyRate, string _contractUri) |
---|
Event emitted when the createContracts
function is called.
Updates contract implementations with _content
, _contentManager
, _contentStorage
, and accessControlManager
.
Requirements:
Address parameters cannot be address zero.
visibility: public
state mutability:
Queries whether the contract address_content
exists.
visibility: public
state mutability: view
Queries whether the contract address _contentManager
exists.
visibility: public
state mutability: view
Deploys new content contracts onto the blockchain and initializes the contract royalties and uri.
Emits a ContractsDeployed
event.
visibility: external
state mutability: