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
| Constructors | Functions | Events | Custom errors | Receive/fallback |
|---|---|---|---|---|
| 1 | 7 | 3 | 0 | 0 |
Construction
Constructor
constructor(address owner_)- Mutability:
nonpayable
Inputs
| Field | ABI 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
| Field | ABI type |
|---|---|
value1 | bytes32 |
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
| Field | ABI type |
|---|---|
tokenOwner | address |
name | string |
symbol | string |
maxSupply | uint256 |
Outputs
| Field | ABI type |
|---|---|
token | address |
launchFactory
function launchFactory() external view returns (address value1)- Signature:
launchFactory() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | address |
launchFactoryPinned
function launchFactoryPinned() external view returns (bool value1)- Signature:
launchFactoryPinned() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | bool |
owner
function owner() external view returns (address value1)- Signature:
owner() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | address |
pinLaunchFactory
function pinLaunchFactory(address launchFactory_) external nonpayable- Signature:
pinLaunchFactory(address) - Mutability:
nonpayable
Inputs
| Field | ABI 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
| Field | ABI type | Indexed |
|---|---|---|
launchFactory | address | yes |
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)- Signature:
OwnershipTransferred(address,address) - Anonymous: no
Fields
| Field | ABI type | Indexed |
|---|---|---|
previousOwner | address | yes |
newOwner | address | yes |
TokenCreated
event TokenCreated(address indexed token, string name, string symbol, uint256 maxSupply)- Signature:
TokenCreated(address,string,string,uint256) - Anonymous: no
Fields
| Field | ABI type | Indexed |
|---|---|---|
token | address | yes |
name | string | no |
symbol | string | no |
maxSupply | uint256 | no |
Generated from data/abi/D17TokenFactory.abi.json. Every entry above is checked against that ABI by npm run check:contracts.