FLASH SALE
All Contracts 50% off
Start your projects with Audited contracts and deployment guarantee

API Documentation

Complete technical documentation for all SmartLaunch Suite smart contracts. Organized by tier with detailed function specifications and usage examples.

28 Contracts748 FunctionsProduction Ready
Starter Tier

6 Contracts with 139 Functions

Core functionality with referral, whitelist, and analytics features

SmartLaunchToken.sol16 functions

mint

Owner

mint(address _to, uint256 _amount)

Mint new tokens to specified address

burn

Public

burn(uint256 _amount)

Burn tokens from caller's balance

transfer

Public

transfer(address _to, uint256 _amount)

Transfer tokens to another address

transferFrom

Public

transferFrom(address _from, address _to, uint256 _amount)

Transfer tokens on behalf of another address

approve

Public

approve(address _spender, uint256 _amount)

Approve spender to transfer tokens

allowance

Public

allowance(address _owner, address _spender)

Check approved allowance amount

balanceOf

Public

balanceOf(address _account)

Get token balance of account

totalSupply

Public

totalSupply()

Get total token supply

pause

Owner

pause()

Pause all token transfers

unpause

Owner

unpause()

Resume token transfers

emergencyPause

Owner

emergencyPause(string reason)

Emergency pause with reason

updateMaxSupply

Owner

updateMaxSupply(uint256 _newMaxSupply)

Update maximum token supply

updateTransferCooldown

Owner

updateTransferCooldown(uint256 _newCooldown)

Set transfer cooldown period

getTokenInfo

Public

getTokenInfo()

Get token information

getMintingInfo

Public

getMintingInfo()

Get minting statistics

getPauseStatus

Public

getPauseStatus()

Check if contract is paused

SmartLaunchPresaleStarter.sol31 functions

buyWithUSDT

Public

buyWithUSDT(uint256 _amount)

Purchase tokens with USDT

buyWithBNB

Public

buyWithBNB()

Purchase tokens with BNB

addTier

Owner

addTier()

Add new presale tier

openPresale

Owner

openPresale()

Open presale for purchases

closePresale

Owner

closePresale()

Close presale

pause

Owner

pause()

Pause all token transfers

unpause

Owner

unpause()

Resume token transfers

emergencyPause

Owner

emergencyPause()

Emergency pause with reason

emergencyUnpause

Owner

emergencyUnpause()

[emergencyUnpause]

emergencyWithdraw

Owner

emergencyWithdraw()

[emergencyWithdraw]

withdrawFunds

Owner

withdrawFunds()

[withdrawFunds]

setReferrer

Public

setReferrer()

Set referral address

getReferrer

Public

getReferrer()

Get referral address

getReferrals

Public

getReferrals()

Get user referrals

calculateReferralBonus

Public

calculateReferralBonus()

Calculate referral bonus amount

claimReferralRewards

Public

claimReferralRewards()

Claim referral rewards

addToWhitelist

Owner

addToWhitelist()

Add address to whitelist

removeFromWhitelist

Owner

removeFromWhitelist()

Remove address from whitelist

setWhitelistRequired

Owner

setWhitelistRequired()

Set whitelist requirement

isWhitelisted

Public

isWhitelisted()

Check if address is whitelisted

getWhitelistAllocation

Public

getWhitelistAllocation()

Get whitelist allocation amount

getAnalytics

Public

getAnalytics()

Get presale analytics data

_updateAnalytics

Internal

_updateAnalytics()

Update analytics data

getTierInfo

Public

getTierInfo()

Get tier information

getUserPurchaseInfo

Public

getUserPurchaseInfo()

Get user purchase information

getPresaleStatus

Public

getPresaleStatus()

Get presale status

getBrandingInfo

Public

getBrandingInfo()

Get branding information

updateBranding

Owner

updateBranding()

Update branding information

getContractStatus

Public

getContractStatus()

Get contract status

_initializeDefaultBranding

Internal

_initializeDefaultBranding()

Initialize default branding (internal)

_calculateTokens

Internal

_calculateTokens()

Calculate tokens (internal)

SmartLaunchStakingStarter.sol12 functions

stake

Public

stake(uint256 _amount)

Stake tokens for rewards

unstake

Public

unstake(uint256 _amount)

Unstake tokens

claimRewards

Public

claimRewards()

Claim accumulated rewards

compoundRewards

Public

compoundRewards()

Compound rewards back into stake

getStakeInfo

Public

getStakeInfo(address _user)

Get user stake information

getRewardInfo

Public

getRewardInfo(address _user)

Get user reward information

setAPY

Owner

setAPY(uint256 _newAPY)

Set annual percentage yield

setRewardToken

Owner

setRewardToken(address _token)

Set reward token address

addRewards

Owner

addRewards(uint256 _amount)

Add rewards to pool

emergencyPause

Owner

emergencyPause()

Emergency pause with reason

getStakingInfo

Public

getStakingInfo()

Get staking pool information

getTotalStaked

Public

getTotalStaked()

Get total staked amount

SmartLaunchVestingStarter.sol10 functions

createLinearVesting

Owner

createLinearVesting(address _beneficiary, uint256 _amount, uint256 _duration)

Create linear vesting schedule

claimVestedTokens

Public

claimVestedTokens()

Claim available vested tokens

getVestingInfo

Public

getVestingInfo(address _beneficiary)

Get vesting information

getVestedAmount

Public

getVestedAmount(address _beneficiary)

Get vested amount for beneficiary

getClaimableAmount

Public

getClaimableAmount(address _beneficiary)

Get claimable amount

revokeVesting

Owner

revokeVesting(address _beneficiary)

Revoke vesting schedule

modifyVestingDuration

Owner

modifyVestingDuration(address _beneficiary, uint256 _newDuration)

Modify vesting duration

emergencyPause

Owner

emergencyPause()

Emergency pause with reason

getVestingSummary

Public

getVestingSummary()

Get vesting summary

getTotalVested

Public

getTotalVested()

Get total vested amount

SmartLaunchAirdropStarter.sol10 functions

createAirdrop

Owner

createAirdrop(address[] _recipients, uint256[] _amounts)

Create airdrop campaign

claimAirdrop

Public

claimAirdrop(uint256 _airdropId)

Claim airdrop tokens

getAirdropInfo

Public

getAirdropInfo(uint256 _airdropId)

Get airdrop information

getUserAirdrops

Public

getUserAirdrops(address _user)

Get user airdrops

isEligible

Public

isEligible(address _user, uint256 _airdropId)

Check user eligibility

setAirdropActive

Owner

setAirdropActive(uint256 _airdropId, bool _active)

Enable/disable airdrop

cancelAirdrop

Owner

cancelAirdrop(uint256 _airdropId)

Cancel airdrop campaign

emergencyPause

Owner

emergencyPause()

Emergency pause with reason

getAirdropSummary

Public

getAirdropSummary()

Get airdrop summary

getTotalAirdropped

Public

getTotalAirdropped()

Get total airdropped amount

SmartLaunchRewardsStarter.sol10 functions

claimActivityReward

Public

claimActivityReward()

Claim activity-based rewards

claimReferralReward

Public

claimReferralReward()

Claim referral rewards

getRewardBalance

Public

getRewardBalance(address _user)

Get user reward balance

getRewardHistory

Public

getRewardHistory(address _user)

Get user reward history

getTotalRewardsEarned

Public

getTotalRewardsEarned(address _user)

Get total rewards earned

setRewardRate

Owner

setRewardRate(uint256 _newRate)

Set reward rate

addRewardPool

Owner

addRewardPool(uint256 _amount)

Add rewards to pool

setReferralBonus

Owner

setReferralBonus(uint256 _bonus)

Set referral bonus rate

emergencyPause

Owner

emergencyPause()

Emergency pause with reason

getRewardsSummary

Public

getRewardsSummary()

Get rewards summary

SmartLaunch Suite - Professional DeFi Smart Contracts