https://github.com/roswelly/ico-token-launchpad
ICO Token Launchpad - A robust, upgradeable smart contract suite for launching and managing ICOs (Initial Coin Offerings) on EVM-compatible blockchains. Features flexible token sale parameters, built-in vesting, bonus logic, and proxy-based upgradability. Ideal for projects seeking a secure, modular, and UI-friendly ICO platform.
https://github.com/roswelly/ico-token-launchpad
evm ico launchpad smart-contract solidity token-sale vesting
Last synced: 10 months ago
JSON representation
ICO Token Launchpad - A robust, upgradeable smart contract suite for launching and managing ICOs (Initial Coin Offerings) on EVM-compatible blockchains. Features flexible token sale parameters, built-in vesting, bonus logic, and proxy-based upgradability. Ideal for projects seeking a secure, modular, and UI-friendly ICO platform.
- Host: GitHub
- URL: https://github.com/roswelly/ico-token-launchpad
- Owner: roswelly
- Created: 2025-06-23T10:11:53.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-23T10:38:30.000Z (about 1 year ago)
- Last Synced: 2025-08-12T23:40:15.173Z (11 months ago)
- Topics: evm, ico, launchpad, smart-contract, solidity, token-sale, vesting
- Language: Solidity
- Homepage:
- Size: 14.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ICO Token Launchpad
A smart contract suite for launching and managing ICOs (Initial Coin Offerings) with built-in vesting, bonus logic, and upgradability via proxy pattern.
## Contract
- [telegram](http://t.me/caterpillardev)
- [twitter](http://x.com/caterpillardev)
## Features
- Create and manage multiple ICOs
- Flexible token sale parameters (price, amount, dates, bonus)
- Built-in vesting for purchased tokens
- TransparentUpgradeableProxy for contract upgrades
- Designed for integration with dApps and UIs
## Architecture
- **Launchpad.sol**: Main contract for ICO creation, token sales, vesting, and bonus logic.
- **VestingImplementation.sol**: Handles token vesting schedules and claims for beneficiaries.
- **TransparentUpgradeableProxy.sol**: OpenZeppelin-based proxy for upgradable contracts.
## Main Functions
- `createICO(ICOParams memory params)`: Start a new ICO
- `buyToken(uint256 id, uint256 amountToBuy, address buyer)`: Buy tokens from an ICO
- `closeICO(uint256 id)`: Close an ICO and reclaim unsold tokens
- `getICO(uint256 id)`: View ICO parameters and state
- `getValue(uint256 id, uint256 amount)`: Calculate payment required for token purchase
### Vesting Contract
- `allocateTokens(address to, uint256 amount, ...)`: Allocate tokens with vesting
- `claim() / claimBehalf(address)`: Claim unlocked tokens
- `getUnlockedAmount(address)`: View claimable and locked tokens
## Example Usage
1. **Create ICO**: Call `createICO` with desired parameters (ensure tokens are approved for transfer)
2. **Buy Tokens**: Call `buyToken` (ensure payment tokens are approved)
3. **Claim Vested Tokens**: Use `claim` or `claimBehalf` on the vesting contract
## Contributing
Pull requests and issues are welcome! Please open an issue to discuss your proposal before submitting a PR.
## License
No License (None)