6 txs
7 calls
constructor
constructor()
functions
DEFAULT_ADMIN_ROLE
viewfunction DEFAULT_ADMIN_ROLE() view returns (bytes32)
deployedContracts
viewfunction deployedContracts(address) view returns (bool)
generativeImplementation
viewfunction generativeImplementation() view returns (address)
getRoleAdmin
viewfunction getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole
viewfunction hasRole(bytes32 role, address account) view returns (bool)
isDeployedByFactory
viewfunction isDeployedByFactory(address nft) view returns (bool)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
deployGenerativeContract
nonpayablefunction deployGenerativeContract(string _name, string _symbol, uint256 _maxSupply, tuple _settings, tuple _royaltySettings, tuple[] _withdrawRecipients, address _pixelDataContract)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
renounceRole
nonpayablefunction renounceRole(bytes32 role, address callerConfirmation)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
updateCollectorFee
nonpayablefunction updateCollectorFee(uint256 newCollectorFee)
updateCollectorFeeRecipient
nonpayablefunction updateCollectorFeeRecipient(address newCollectorFeeRecipient)
updateGenerativeImplementation
nonpayablefunction updateGenerativeImplementation(address newImplementation)
updateMintbaySecurity
nonpayablefunction updateMintbaySecurity(address newMintbaySecurity)
updateSignatureLifespan
nonpayablefunction updateSignatureLifespan(uint256 newSignatureLifespan)
events
ContractCreated
event ContractCreated(address creator, address contractAddress)
RoleAdminChanged
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
errors
AccessControlBadConfirmation
error AccessControlBadConfirmation()
AccessControlUnauthorizedAccount
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
FailedDeployment
error FailedDeployment()
InsufficientBalance
error InsufficientBalance(uint256 balance, uint256 needed)
creation bytecode
0x6080604052602860055534801561001557600080fd5b50610021600033610027565b506100d3565b6000828152602081815260408083206001600160a01b038516845290915281205460ff166100c9576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556100813390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016100cd565b5060005b92915050565b610eec806100e26000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80635b8cf71411610097578063a217fddf11610066578063a217fddf14610237578063c70242ad1461023f578063d547741f14610262578063ee48e7241461027557600080fd5b80635b8cf714146101d2578063741cf840146101fe57806386bf06e61461021157806391d148541461022457600080fd5b8063248a9ca3116100d3578063248a9ca314610168578063250a9655146101995780632f2ff15d146101ac57806336568abe146101bf57600080fd5b806301ffc9a71461010557806305df25e61461012d5780630d74534214610142578063229c5ccb14610155575b600080fd5b61011861011336600461091e565b6102a0565b60405190151581526020015b60405180910390f35b61014061013b36600461094f565b6102d7565b005b610140610150366004610984565b6102e8565b61014061016336600461094f565b610316565b61018b61017636600461094f565b60009081526020819052604090206001015490565b604051908152602001610124565b6101406101a7366004610ab8565b610327565b6101406101ba366004610b98565b610627565b6101406101cd366004610b98565b610652565b6101186101e0366004610984565b6001600160a01b031660009081526006602052604090205460ff1690565b61014061020c366004610984565b61068a565b61014061021f366004610984565b6106b8565b610118610232366004610b98565b6106e6565b61018b600081565b61011861024d366004610984565b60066020526000908152604090205460ff1681565b610140610270366004610b98565b61070f565b600154610288906001600160a01b031681565b6040516001600160a01b039091168152602001610124565b60006001600160e01b03198216637965db0b60e01b14806102d157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60006102e281610734565b50600455565b60006102f381610734565b50600280546001600160a01b0319166001600160a01b0392909216919091179055565b600061032181610734565b50600555565b6001546001600160a01b031661037d5760405162461bcd60e51b8152602060048201526016602482015275125b5c1b195b595b9d185d1a5bdb881b9bdd081cd95d60521b60448201526064015b60405180910390fd5b6001600160a01b0381166103d35760405162461bcd60e51b815260206004820152601b60248201527f496e76616c696420706978656c206461746120636f6e747261637400000000006044820152606401610374565b6000861180156103e557506127108611155b6104265760405162461bcd60e51b8152602060048201526012602482015271496e76616c6964206d617820737570706c7960701b6044820152606401610374565b60008851116104675760405162461bcd60e51b815260206004820152600d60248201526c13985b59481c995c5d5a5c9959609a1b6044820152606401610374565b60008751116104aa5760405162461bcd60e51b815260206004820152600f60248201526e14de5b589bdb081c995c5d5a5c9959608a1b6044820152606401610374565b60006104b96080870187610bc4565b9050116104ff5760405162461bcd60e51b815260206004820152601460248201527311195cd8dc9a5c1d1a5bdb881c995c5d5a5c995960621b6044820152606401610374565b600154600090610517906001600160a01b0316610741565b6040805160c0810182526002546001600160a01b0390811682526003548116602083015260048054838501523360608401526000608084015260055460a08401529251632431ec0160e01b8152939450841692632431ec019261058c928e928e928e928e928e928e928e9290918e9101610d61565b600060405180830381600087803b1580156105a657600080fd5b505af11580156105ba573d6000803e3d6000fd5b505050506001600160a01b038116600081815260066020908152604091829020805460ff191660011790558151338152908101929092527f2d49c67975aadd2d389580b368cfff5b49965b0bd5da33c144922ce01e7a4d7b910160405180910390a1505050505050505050565b60008281526020819052604090206001015461064281610734565b61064c838361074e565b50505050565b6001600160a01b038116331461067b5760405163334bd91960e11b815260040160405180910390fd5b61068582826107e0565b505050565b600061069581610734565b50600180546001600160a01b0319166001600160a01b0392909216919091179055565b60006106c381610734565b50600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008281526020819052604090206001015461072a81610734565b61064c83836107e0565b61073e813361084b565b50565b60006102d1826000610888565b600061075a83836106e6565b6107d8576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556107903390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016102d1565b5060006102d1565b60006107ec83836106e6565b156107d8576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016102d1565b61085582826106e6565b6108845760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401610374565b5050565b6000814710156108b45760405163cf47918160e01b815247600482015260248101839052604401610374565b763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c176000526e5af43d82803e903d91602b57fd5bf38360781b176020526037600983f090506001600160a01b0381166102d15760405163b06ebf3d60e01b815260040160405180910390fd5b60006020828403121561093057600080fd5b81356001600160e01b03198116811461094857600080fd5b9392505050565b60006020828403121561096157600080fd5b5035919050565b80356001600160a01b038116811461097f57600080fd5b919050565b60006020828403121561099657600080fd5b61094882610968565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126109c657600080fd5b813567ffffffffffffffff808211156109e1576109e161099f565b604051601f8301601f19908116603f01168101908282118183101715610a0957610a0961099f565b81604052838152866020858801011115610a2257600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060e08284031215610a5457600080fd5b50919050565b600060408284031215610a5457600080fd5b60008083601f840112610a7e57600080fd5b50813567ffffffffffffffff811115610a9657600080fd5b6020830191508360208260061b8501011115610ab157600080fd5b9250929050565b600080600080600080600080610100898b031215610ad557600080fd5b883567ffffffffffffffff80821115610aed57600080fd5b610af98c838d016109b5565b995060208b0135915080821115610b0f57600080fd5b610b1b8c838d016109b5565b985060408b0135975060608b0135915080821115610b3857600080fd5b610b448c838d01610a42565b9650610b538c60808d01610a5a565b955060c08b0135915080821115610b6957600080fd5b50610b768b828c01610a6c565b9094509250610b89905060e08a01610968565b90509295985092959890939650565b60008060408385031215610bab57600080fd5b82359150610bbb60208401610968565b90509250929050565b6000808335601e19843603018112610bdb57600080fd5b83018035915067ffffffffffffffff821115610bf657600080fd5b602001915036819003821315610ab157600080fd5b6000815180845260005b81811015610c3157602081850181015186830182015201610c15565b506000602082860101526020601f19601f83011685010191505092915050565b8035801515811461097f57600080fd5b6000808335601e19843603018112610c7857600080fd5b830160208101925035905067ffffffffffffffff811115610c9857600080fd5b803603821315610ab157600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b03610ce182610968565b16825260208101356bffffffffffffffffffffffff8116808214610d0457600080fd5b80602085015250505050565b8183526000602080850194508260005b85811015610d56576001600160a01b03610d3983610968565b168752818301358388015260409687019690910190600101610d20565b509495945050505050565b60006101c0808352610d758184018d610c0b565b90508281036020840152610d89818c610c0b565b90508960408401528281036060840152883581526020890135602082015260408901356040820152610dbd60608a01610c51565b15156060820152610dd160808a018a610c61565b60e06080840152610de660e084018284610ca7565b915050610df660a08b018b610c61565b83830360a0850152610e09838284610ca7565b92505050610e1960c08b01610c51565b151560c0830152610e2d608085018a610cd0565b83810360c0850152610e4081888a610d10565b86516001600160a01b0390811660e08701526020880151811661010087015260408801516101208701526060880151811661014087015260808801511661016086015260a08701516101808601529250610e98915050565b6001600160a01b0383166101a08301529a995050505050505050505056fea26469706673582212205de4a1982cd892e7e4e831275d185fd78536da2f317bb4ee745e1673123cb17164736f6c63430008140033