# Functions

This section provides detailed documentation for all functions available in the SC Bonding Curve contract.

## Available Functions

1. [Create Token](https://docs.something.cool/sc-bonding-curve/functions/create-token) - Creates a new token with a bonding curve
2. [Buy Token](https://docs.something.cool/sc-bonding-curve/functions/buy-token) - Purchases tokens from the bonding curve using SOL
3. [Sell Token](https://docs.something.cool/sc-bonding-curve/functions/sell-token) - Sells tokens back to the bonding curve for SOL
4. [Admin Migrate](https://docs.something.cool/sc-bonding-curve/functions/migrate) - Migrates token from bonding curve to DEX after finalization (admin only)
5. [Admin Set Properties](https://github.com/fablee1/sc-gitbook/blob/main/coolpad/functions/admin-set-properties.md) - Sets platform-wide properties (admin only)

Each function documentation includes:

* Parameter descriptions
* Required accounts
* Function logic
* Example usage
