D17Factory
Canonical registry, launch configuration validator, and public launch entry point.
Canonical registry, launch configuration validator, and public launch entry point.
Important behavior
createLaunchis the public atomic launch entry point.- Factory dependencies can be pinned once; public deployment ownership is then renounced.
lockersOfOwnerand canonical launch/locker records are public discovery surfaces.
Surface summary
| Constructors | Functions | Events | Custom errors | Receive/fallback |
|---|---|---|---|---|
| 1 | 38 | 7 | 0 | 0 |
Construction
Constructor
constructor(address owner_, address weth_, address router_)- Mutability:
nonpayable
Inputs
| Field | ABI type |
|---|---|
owner_ | address |
weth_ | address |
router_ | address |
Functions
BPS
function BPS() external view returns (uint16 value1)- Signature:
BPS() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint16 |
D17_FACTORY_ID
function D17_FACTORY_ID() external view returns (bytes32 value1)- Signature:
D17_FACTORY_ID() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | bytes32 |
LOGO_SVG_BASE64_PREFIX
function LOGO_SVG_BASE64_PREFIX() external view returns (string value1)- Signature:
LOGO_SVG_BASE64_PREFIX() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | string |
MAX_DESCRIPTION_BYTES
function MAX_DESCRIPTION_BYTES() external view returns (uint256 value1)- Signature:
MAX_DESCRIPTION_BYTES() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint256 |
MAX_LINKS
function MAX_LINKS() external view returns (uint256 value1)- Signature:
MAX_LINKS() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint256 |
MAX_LINK_TYPE_BYTES
function MAX_LINK_TYPE_BYTES() external view returns (uint256 value1)- Signature:
MAX_LINK_TYPE_BYTES() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint256 |
MAX_LINK_URL_BYTES
function MAX_LINK_URL_BYTES() external view returns (uint256 value1)- Signature:
MAX_LINK_URL_BYTES() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint256 |
MAX_LOGO_SVG_URI_BYTES
function MAX_LOGO_SVG_URI_BYTES() external view returns (uint256 value1)- Signature:
MAX_LOGO_SVG_URI_BYTES() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint256 |
MAX_MANUAL_DISTRIBUTION_BPS
function MAX_MANUAL_DISTRIBUTION_BPS() external view returns (uint16 value1)- Signature:
MAX_MANUAL_DISTRIBUTION_BPS() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint16 |
MAX_REFUND_PENALTY_BPS
function MAX_REFUND_PENALTY_BPS() external view returns (uint16 value1)- Signature:
MAX_REFUND_PENALTY_BPS() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint16 |
MAX_REFUND_SECONDS
function MAX_REFUND_SECONDS() external view returns (uint32 value1)- Signature:
MAX_REFUND_SECONDS() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint32 |
MAX_ROUND_SECONDS
function MAX_ROUND_SECONDS() external view returns (uint32 value1)- Signature:
MAX_ROUND_SECONDS() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint32 |
MAX_SETTLEMENT_SECONDS
function MAX_SETTLEMENT_SECONDS() external view returns (uint32 value1)- Signature:
MAX_SETTLEMENT_SECONDS() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint32 |
MAX_START_DELAY
function MAX_START_DELAY() external view returns (uint64 value1)- Signature:
MAX_START_DELAY() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint64 |
MAX_TREASURY_BPS
function MAX_TREASURY_BPS() external view returns (uint16 value1)- Signature:
MAX_TREASURY_BPS() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint16 |
MIN_ANCHOR_PRICE_WAD
function MIN_ANCHOR_PRICE_WAD() external view returns (uint256 value1)- Signature:
MIN_ANCHOR_PRICE_WAD() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint256 |
MIN_COMMIT_WETH
function MIN_COMMIT_WETH() external view returns (uint256 value1)- Signature:
MIN_COMMIT_WETH() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint256 |
MIN_LP_TOKENS
function MIN_LP_TOKENS() external view returns (uint256 value1)- Signature:
MIN_LP_TOKENS() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint256 |
MIN_ROUND_ALLOCATION_TOKENS
function MIN_ROUND_ALLOCATION_TOKENS() external view returns (uint256 value1)- Signature:
MIN_ROUND_ALLOCATION_TOKENS() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint256 |
MIN_ROUND_SECONDS
function MIN_ROUND_SECONDS() external view returns (uint32 value1)- Signature:
MIN_ROUND_SECONDS() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint32 |
ROUND_COUNT
function ROUND_COUNT() external view returns (uint8 value1)- Signature:
ROUND_COUNT() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | uint8 |
createLaunch
function createLaunch((string,string,string,string,(string,string)[],uint256,uint256,uint256,uint256,uint256,address,address,uint64,uint32[5],uint32,uint32,uint256,uint256,uint256,uint16[5],uint16,uint16,bool) config) external nonpayable returns (address token, address launch, address liquidityVault)- Signature:
createLaunch((string,string,string,string,(string,string)[],uint256,uint256,uint256,uint256,uint256,address,address,uint64,uint32[5],uint32,uint32,uint256,uint256,uint256,uint16[5],uint16,uint16,bool)) - Mutability:
nonpayable
Inputs
| Field | ABI type |
|---|---|
config | (string,string,string,string,(string,string)[],uint256,uint256,uint256,uint256,uint256,address,address,uint64,uint32[5],uint32,uint32,uint256,uint256,uint256,uint16[5],uint16,uint16,bool) |
config.tokenName | string |
config.tokenSymbol | string |
config.description | string |
config.logoSvgUri | string |
config.links | (string,string)[] |
config.links.linkType | string |
config.links.url | string |
config.tokenSupply | uint256 |
config.saleTokens | uint256 |
config.lpTokens | uint256 |
config.manualDistributionTokens | uint256 |
config.deadTokens | uint256 |
config.deadRecipient | address |
config.treasury | address |
config.startTime | uint64 |
config.roundSeconds | uint32[5] |
config.refundSeconds | uint32 |
config.settlementSeconds | uint32 |
config.minCommitWeth | uint256 |
config.minPhase1Weth | uint256 |
config.minAnchorPriceWad | uint256 |
config.roundSharesBps | uint16[5] |
config.treasuryBps | uint16 |
config.refundPenaltyBps | uint16 |
config.burnUnsoldSaleTokens | bool |
Outputs
| Field | ABI type |
|---|---|
token | address |
launch | address |
liquidityVault | address |
isCanonicalLaunch
function isCanonicalLaunch(address launch, bytes32 rulesHash) external view returns (bool value1)- Signature:
isCanonicalLaunch(address,bytes32) - Mutability:
view
Inputs
| Field | ABI type |
|---|---|
launch | address |
rulesHash | bytes32 |
Outputs
| Field | ABI type |
|---|---|
value1 | bool |
isLocker
function isLocker(address value1) external view returns (bool value1)- Signature:
isLocker(address) - Mutability:
view
Inputs
| Field | ABI type |
|---|---|
value1 | address |
Outputs
| Field | ABI type |
|---|---|
value1 | bool |
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 |
launches
function launches(address value1) external view returns (bool canonical, address creator, address token, address liquidityVault, bytes32 rulesHash)- Signature:
launches(address) - Mutability:
view
Inputs
| Field | ABI type |
|---|---|
value1 | address |
Outputs
| Field | ABI type |
|---|---|
canonical | bool |
creator | address |
token | address |
liquidityVault | address |
rulesHash | bytes32 |
lockerFactory
function lockerFactory() external view returns (address value1)- Signature:
lockerFactory() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | address |
lockerFactoryPinned
function lockerFactoryPinned() external view returns (bool value1)- Signature:
lockerFactoryPinned() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | bool |
lockersOfOwner
function lockersOfOwner(address lockerOwner) external view returns (address[] value1)- Signature:
lockersOfOwner(address) - Mutability:
view
Inputs
| Field | ABI type |
|---|---|
lockerOwner | address |
Outputs
| Field | ABI type |
|---|---|
value1 | address[] |
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.
pinLockerFactory
function pinLockerFactory(address lockerFactory_) external nonpayable- Signature:
pinLockerFactory(address) - Mutability:
nonpayable
Inputs
| Field | ABI type |
|---|---|
lockerFactory_ | address |
Outputs
None.
registerLockerFor
function registerLockerFor(address lockerOwner, address locker) external nonpayable- Signature:
registerLockerFor(address,address) - Mutability:
nonpayable
Inputs
| Field | ABI type |
|---|---|
lockerOwner | address |
locker | address |
Outputs
None.
renounceOwnership
function renounceOwnership() external nonpayable- Signature:
renounceOwnership() - Mutability:
nonpayable
Inputs
None.
Outputs
None.
router
function router() external view returns (address value1)- Signature:
router() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | address |
transferOwnership
function transferOwnership(address newOwner) external nonpayable- Signature:
transferOwnership(address) - Mutability:
nonpayable
Inputs
| Field | ABI type |
|---|---|
newOwner | address |
Outputs
None.
weth
function weth() external view returns (address value1)- Signature:
weth() - Mutability:
view
Inputs
None.
Outputs
| Field | ABI type |
|---|---|
value1 | address |
Events
LaunchCreated
event LaunchCreated(address indexed creator, address indexed launch, address indexed token, address liquidityVault, bytes32 rulesHash)- Signature:
LaunchCreated(address,address,address,address,bytes32) - Anonymous: no
Fields
| Field | ABI type | Indexed |
|---|---|---|
creator | address | yes |
launch | address | yes |
token | address | yes |
liquidityVault | address | no |
rulesHash | bytes32 | no |
LaunchFactoryPinned
event LaunchFactoryPinned(address indexed launchFactory)- Signature:
LaunchFactoryPinned(address) - Anonymous: no
Fields
| Field | ABI type | Indexed |
|---|---|---|
launchFactory | address | yes |
LaunchMetadataPublished
event LaunchMetadataPublished(address indexed launch, bytes32 indexed metadataHash, string description, string logoSvgUri, string[] linkTypes, string[] linkUrls)- Signature:
LaunchMetadataPublished(address,bytes32,string,string,string[],string[]) - Anonymous: no
Fields
| Field | ABI type | Indexed |
|---|---|---|
launch | address | yes |
metadataHash | bytes32 | yes |
description | string | no |
logoSvgUri | string | no |
linkTypes | string[] | no |
linkUrls | string[] | no |
LockerFactoryPinned
event LockerFactoryPinned(address indexed lockerFactory)- Signature:
LockerFactoryPinned(address) - Anonymous: no
Fields
| Field | ABI type | Indexed |
|---|---|---|
lockerFactory | address | yes |
LockerRegistered
event LockerRegistered(address indexed owner, address indexed locker, address indexed manager)- Signature:
LockerRegistered(address,address,address) - Anonymous: no
Fields
| Field | ABI type | Indexed |
|---|---|---|
owner | address | yes |
locker | address | yes |
manager | address | yes |
ManualDistributionConfigured
event ManualDistributionConfigured(address indexed launch, address indexed recipient, uint256 amount)- Signature:
ManualDistributionConfigured(address,address,uint256) - Anonymous: no
Fields
| Field | ABI type | Indexed |
|---|---|---|
launch | address | yes |
recipient | address | yes |
amount | uint256 | no |
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 |
Generated from data/abi/D17Factory.abi.json. Every entry above is checked against that ABI by npm run check:contracts.