API Documentation
Complete technical documentation for all SmartLaunch Suite smart contracts. Organized by tier with detailed function specifications and usage examples.
6 Contracts with 139 Functions
Core functionality with referral, whitelist, and analytics features
SmartLaunchToken.sol16 functions
mint
Ownermint(address _to, uint256 _amount)
Mint new tokens to specified address
burn
Publicburn(uint256 _amount)
Burn tokens from caller's balance
transfer
Publictransfer(address _to, uint256 _amount)
Transfer tokens to another address
transferFrom
PublictransferFrom(address _from, address _to, uint256 _amount)
Transfer tokens on behalf of another address
approve
Publicapprove(address _spender, uint256 _amount)
Approve spender to transfer tokens
allowance
Publicallowance(address _owner, address _spender)
Check approved allowance amount
balanceOf
PublicbalanceOf(address _account)
Get token balance of account
totalSupply
PublictotalSupply()
Get total token supply
pause
Ownerpause()
Pause all token transfers
unpause
Ownerunpause()
Resume token transfers
emergencyPause
OwneremergencyPause(string reason)
Emergency pause with reason
updateMaxSupply
OwnerupdateMaxSupply(uint256 _newMaxSupply)
Update maximum token supply
updateTransferCooldown
OwnerupdateTransferCooldown(uint256 _newCooldown)
Set transfer cooldown period
getTokenInfo
PublicgetTokenInfo()
Get token information
getMintingInfo
PublicgetMintingInfo()
Get minting statistics
getPauseStatus
PublicgetPauseStatus()
Check if contract is paused
SmartLaunchPresaleStarter.sol31 functions
buyWithUSDT
PublicbuyWithUSDT(uint256 _amount)
Purchase tokens with USDT
buyWithBNB
PublicbuyWithBNB()
Purchase tokens with BNB
addTier
OwneraddTier()
Add new presale tier
openPresale
OwneropenPresale()
Open presale for purchases
closePresale
OwnerclosePresale()
Close presale
pause
Ownerpause()
Pause all token transfers
unpause
Ownerunpause()
Resume token transfers
emergencyPause
OwneremergencyPause()
Emergency pause with reason
emergencyUnpause
OwneremergencyUnpause()
[emergencyUnpause]
emergencyWithdraw
OwneremergencyWithdraw()
[emergencyWithdraw]
withdrawFunds
OwnerwithdrawFunds()
[withdrawFunds]
setReferrer
PublicsetReferrer()
Set referral address
getReferrer
PublicgetReferrer()
Get referral address
getReferrals
PublicgetReferrals()
Get user referrals
calculateReferralBonus
PubliccalculateReferralBonus()
Calculate referral bonus amount
claimReferralRewards
PublicclaimReferralRewards()
Claim referral rewards
addToWhitelist
OwneraddToWhitelist()
Add address to whitelist
removeFromWhitelist
OwnerremoveFromWhitelist()
Remove address from whitelist
setWhitelistRequired
OwnersetWhitelistRequired()
Set whitelist requirement
isWhitelisted
PublicisWhitelisted()
Check if address is whitelisted
getWhitelistAllocation
PublicgetWhitelistAllocation()
Get whitelist allocation amount
getAnalytics
PublicgetAnalytics()
Get presale analytics data
_updateAnalytics
Internal_updateAnalytics()
Update analytics data
getTierInfo
PublicgetTierInfo()
Get tier information
getUserPurchaseInfo
PublicgetUserPurchaseInfo()
Get user purchase information
getPresaleStatus
PublicgetPresaleStatus()
Get presale status
getBrandingInfo
PublicgetBrandingInfo()
Get branding information
updateBranding
OwnerupdateBranding()
Update branding information
getContractStatus
PublicgetContractStatus()
Get contract status
_initializeDefaultBranding
Internal_initializeDefaultBranding()
Initialize default branding (internal)
_calculateTokens
Internal_calculateTokens()
Calculate tokens (internal)
SmartLaunchStakingStarter.sol12 functions
stake
Publicstake(uint256 _amount)
Stake tokens for rewards
unstake
Publicunstake(uint256 _amount)
Unstake tokens
claimRewards
PublicclaimRewards()
Claim accumulated rewards
compoundRewards
PubliccompoundRewards()
Compound rewards back into stake
getStakeInfo
PublicgetStakeInfo(address _user)
Get user stake information
getRewardInfo
PublicgetRewardInfo(address _user)
Get user reward information
setAPY
OwnersetAPY(uint256 _newAPY)
Set annual percentage yield
setRewardToken
OwnersetRewardToken(address _token)
Set reward token address
addRewards
OwneraddRewards(uint256 _amount)
Add rewards to pool
emergencyPause
OwneremergencyPause()
Emergency pause with reason
getStakingInfo
PublicgetStakingInfo()
Get staking pool information
getTotalStaked
PublicgetTotalStaked()
Get total staked amount
SmartLaunchVestingStarter.sol10 functions
createLinearVesting
OwnercreateLinearVesting(address _beneficiary, uint256 _amount, uint256 _duration)
Create linear vesting schedule
claimVestedTokens
PublicclaimVestedTokens()
Claim available vested tokens
getVestingInfo
PublicgetVestingInfo(address _beneficiary)
Get vesting information
getVestedAmount
PublicgetVestedAmount(address _beneficiary)
Get vested amount for beneficiary
getClaimableAmount
PublicgetClaimableAmount(address _beneficiary)
Get claimable amount
revokeVesting
OwnerrevokeVesting(address _beneficiary)
Revoke vesting schedule
modifyVestingDuration
OwnermodifyVestingDuration(address _beneficiary, uint256 _newDuration)
Modify vesting duration
emergencyPause
OwneremergencyPause()
Emergency pause with reason
getVestingSummary
PublicgetVestingSummary()
Get vesting summary
getTotalVested
PublicgetTotalVested()
Get total vested amount
SmartLaunchAirdropStarter.sol10 functions
createAirdrop
OwnercreateAirdrop(address[] _recipients, uint256[] _amounts)
Create airdrop campaign
claimAirdrop
PublicclaimAirdrop(uint256 _airdropId)
Claim airdrop tokens
getAirdropInfo
PublicgetAirdropInfo(uint256 _airdropId)
Get airdrop information
getUserAirdrops
PublicgetUserAirdrops(address _user)
Get user airdrops
isEligible
PublicisEligible(address _user, uint256 _airdropId)
Check user eligibility
setAirdropActive
OwnersetAirdropActive(uint256 _airdropId, bool _active)
Enable/disable airdrop
cancelAirdrop
OwnercancelAirdrop(uint256 _airdropId)
Cancel airdrop campaign
emergencyPause
OwneremergencyPause()
Emergency pause with reason
getAirdropSummary
PublicgetAirdropSummary()
Get airdrop summary
getTotalAirdropped
PublicgetTotalAirdropped()
Get total airdropped amount
SmartLaunchRewardsStarter.sol10 functions
claimActivityReward
PublicclaimActivityReward()
Claim activity-based rewards
claimReferralReward
PublicclaimReferralReward()
Claim referral rewards
getRewardBalance
PublicgetRewardBalance(address _user)
Get user reward balance
getRewardHistory
PublicgetRewardHistory(address _user)
Get user reward history
getTotalRewardsEarned
PublicgetTotalRewardsEarned(address _user)
Get total rewards earned
setRewardRate
OwnersetRewardRate(uint256 _newRate)
Set reward rate
addRewardPool
OwneraddRewardPool(uint256 _amount)
Add rewards to pool
setReferralBonus
OwnersetReferralBonus(uint256 _bonus)
Set referral bonus rate
emergencyPause
OwneremergencyPause()
Emergency pause with reason
getRewardsSummary
PublicgetRewardsSummary()
Get rewards summary
