Creator

Annotated source of the Creator.sol smart contract

Creator

Contents

Globals

Note this list contains both internal and external attributes

Modifiers

authorized

Restricts msg.sender as the only viable caller of a method

Declaration

modifier authorized

Functions

create

Allows the owner to create new markets

Declaration

function create(
uint8 p,
address u,
uint256 m,
address c,
address sw,
string n,
string s,
uint8 d
) external authorized returns
(address, address)

Modifiers:

Args:

setAdmin

Sets the admin

Declaration

function setAdmin(
address a
) external authorized returns
(bool)

Modifiers:

Args:

setMarketPlace

We only allow this to be set once

there is no emit here as it's only done once post deploy by the deploying admin

Declaration

function setMarketPlace(
address m
) external authorized returns
(bool)

Modifiers:

Args:

Events

SetAdmin

Emitted on a change of the admin