TheDocumentation Index
Fetch the complete documentation index at: https://actfun.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
LaunchpadFactory maintains an append-only array of every token pair it has deployed. Three view functions let you read this registry: getTokenCount returns the total, getTokens returns a paginated slice sorted newest-first, and getToken returns a single record by its array index. All three are free to call and require no authentication.
Contract: LaunchpadFactory at 0x6Ac3CaF79A5d68D259795380F012f922476A1721 on Arc Testnet (Chain ID 5042002)
getTokenCount
getTokens.
getTokens
count token records starting at pagination offset from, sorted newest first. If from is greater than or equal to the total token count, the function returns an empty array rather than reverting.
Zero-based pagination offset. Pass
0 to start from the most recently deployed token.Maximum number of records to return. If
from + count exceeds the total, the function returns only the available records.getToken
TokenRecord by its raw array index (oldest-first order, opposite of getTokens). Reverts with "LaunchpadFactory: out of bounds" if index >= getTokenCount().
Zero-based index into the internal
tokens array. Index 0 is the first token ever deployed; index getTokenCount() - 1 is the most recent.TokenRecord struct
Each query returns one or moreTokenRecord structs with the following fields:
Address of the
LaunchToken ERC-20 contract.Address of the
TokenLauncher contract that controls mining and trading for this token.Token name as provided to
createToken.Token symbol as provided to
createToken.Image URL or emoji set by the token creator.
Wallet address that called
createToken.Unix timestamp (seconds) of the block in which the token was created.
Total token supply cap in units with 18 decimals.
Tokens minted per
mine() call, in units with 18 decimals.Per-wallet cooldown between consecutive
mine() calls, in seconds.Per-wallet 24-hour mining cap in units with 18 decimals.
ARC (in wei) required per
mine() call.Code examples
Read the total token count
Paginate through all tokens
Fetch a single token by index
getTokens(from, count) returns records newest-first, but getToken(index) uses the raw oldest-first array index. Index 0 in getToken is the oldest token; index 0 in getTokens is the newest. Keep this in mind when correlating results from the two functions.