D17 DOCS
ContractsABI reference

D17TokenFactory

Pinned helper that deploys D17 tokens only for the canonical launch factory.

Pinned helper that deploys D17 tokens only for the canonical launch factory.

Important behavior

  • Only the once-pinned launch factory may deploy tokens.

Surface summary

ConstructorsFunctionsEventsCustom errorsReceive/fallback
17300

Construction

Constructor

constructor(address owner_)
  • Mutability: nonpayable

Inputs

FieldABI type
owner_address

Functions

D17_TOKEN_FACTORY_ID

function D17_TOKEN_FACTORY_ID() external view returns (bytes32 value1)
  • Signature: D17_TOKEN_FACTORY_ID()
  • Mutability: view

Inputs

None.

Outputs

FieldABI type
value1bytes32

deployToken

function deployToken(address tokenOwner, string name, string symbol, uint256 maxSupply) external nonpayable returns (address token)
  • Signature: deployToken(address,string,string,uint256)
  • Mutability: nonpayable

Inputs

FieldABI type
tokenOwneraddress
namestring
symbolstring
maxSupplyuint256

Outputs

FieldABI type
tokenaddress

launchFactory

function launchFactory() external view returns (address value1)
  • Signature: launchFactory()
  • Mutability: view

Inputs

None.

Outputs

FieldABI type
value1address

launchFactoryPinned

function launchFactoryPinned() external view returns (bool value1)
  • Signature: launchFactoryPinned()
  • Mutability: view

Inputs

None.

Outputs

FieldABI type
value1bool

owner

function owner() external view returns (address value1)
  • Signature: owner()
  • Mutability: view

Inputs

None.

Outputs

FieldABI type
value1address

pinLaunchFactory

function pinLaunchFactory(address launchFactory_) external nonpayable
  • Signature: pinLaunchFactory(address)
  • Mutability: nonpayable

Inputs

FieldABI type
launchFactory_address

Outputs

None.

renounceOwnership

function renounceOwnership() external nonpayable
  • Signature: renounceOwnership()
  • Mutability: nonpayable

Inputs

None.

Outputs

None.

Events

LaunchFactoryPinned

event LaunchFactoryPinned(address indexed launchFactory)
  • Signature: LaunchFactoryPinned(address)
  • Anonymous: no

Fields

FieldABI typeIndexed
launchFactoryaddressyes

OwnershipTransferred

event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
  • Signature: OwnershipTransferred(address,address)
  • Anonymous: no

Fields

FieldABI typeIndexed
previousOwneraddressyes
newOwneraddressyes

TokenCreated

event TokenCreated(address indexed token, string name, string symbol, uint256 maxSupply)
  • Signature: TokenCreated(address,string,string,uint256)
  • Anonymous: no

Fields

FieldABI typeIndexed
tokenaddressyes
namestringno
symbolstringno
maxSupplyuint256no

Generated from data/abi/D17TokenFactory.abi.json. Every entry above is checked against that ABI by npm run check:contracts.