ODCdataManagersERC1155linked-with-erc20-dm

ERC20FractionDataManagerFactoryClones

Contract for clonning already deployed ERC20 Fraction Data Manager implementation

This contract does not have any access control on who can deploy new contracts It uses Minimal Proxy ERC-1167

WrongParameters

error WrongParameters()

Error thrown when the parameters are wrong

ERC20FractionDataManagerCloneDeployed

event ERC20FractionDataManagerCloneDeployed(uint256 id, address dm)

Event emitted when a ERC20FractionDataManagerClone contract is deployed

erc20FractionDataManagerImplementation

contract ERC20FractionDataManager erc20FractionDataManagerImplementation

The address of the ERC20FractionDataManager base contract.

constructor

constructor(address _erc20FractionDataManager) public

deploy

function deploy(uint256 id) external returns (address dm)

Deploys a new ERC20FractionDataManager contract The address of the deployed contract is deterministic based on the sender and id

Parameters

NameTypeDescription
iduint256The id of the contract

Return Values

NameTypeDescription
dmaddressThe address of the deployed contract

On this page