Content Factory
EVENT
ContractsDeployed(content, contentManager)
Event emitted when the createContracts
function is called.
FUNCTIONS
updateContracts(_content, _contentManager, _contentStorage, _accessControlManager)
contentExists(_content)
contentManagerExists(_contentManager)
createContracts(_contractRoyaltyAccount, _contractRoyaltyRate, _contractUri)
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:
Last updated