Deployer

ITTUDeployer

This is the deployer for all TokenTable core and proxy contracts. All initial setup and configuration is automatically done here. To save gas and enable easy upgradeability, all deployed contracts are Clone or BeaconProxy instances. You should avoid deploying TokenTable contracts individually unless you know what you're doing.

TTUDeployerInitialized

event TTUDeployerInitialized(address unlockerImpl, address futureTokenImpl, address trackerTokenImpl, address beaconManagerImpl, address feeCollector)

TokenTableSuiteDeployed

event TokenTableSuiteDeployed(address by, string projectId, address unlocker, address futureToken, address trackerToken)

FeeCollectorChanged

event FeeCollectorChanged(address feeCollector)

AlreadyDeployed

error AlreadyDeployed()

0xa6ef0ba1

feeCollector

function feeCollector() external returns (contract ITTUFeeCollector)

Exposes the fee collector variable.

Return Values

deployTTSuite

function deployTTSuite(address projectToken, string projectId, bool isUpgradeable, bool isTransferable, bool isCancelable, bool isHookable, bool isWithdrawable) external returns (contract ITokenTableUnlockerV2, contract ITTFutureTokenV2, contract ITTTrackerTokenV2)

Deploys and configures a new set of TokenTable products.

Emits TokenTableSuiteDeployed. Throws: AlreadyDeployed.

Parameters

Last updated