> For the complete documentation index, see [llms.txt](https://carol-8.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://carol-8.gitbook.io/documentation/technical-architecture/smart-contracts-and-technological-stack-description.md).

# Smart Contracts and Technological Stack Description

## **Smart Contracts**&#x20;

The project's smart contracts are written in the Solidity programming language and deployed on the Base and BSC blockchains. They encompass the following key components.

**CAROL Token Contract:** Defines all attributes and methods related to the CAROL token, including issuance, transfer, and special parameters such as restrictions on token purchase via AMM.

**Bonding and Liquid Staking Contract:** Manages all aspects of token bonding, including durations, rewards, and conditions. Additionally, the contract facilitates liquid staking functionality, regulating liquidity and distributing rewards.

**AMM Liquidity Pair Contract:** Enables the storage and management of token liquidity.

## **Technological Stack**

In addition to smart contracts, the project encompasses the following technological components:

**Python Backend:** The server-side of the project is developed using Python and may include various microservices, APIs, and blockchain integrations.

**VueJS Frontend:** The client-side of the project is built using the popular VueJS framework, providing a modern and responsive user interface.

**Integration with Base Blockchain:** All system components interact with the Base blockchain through relevant libraries and tools, ensuring consistent and secure network interaction.

## Base Smart Contracts

<https://basescan.org/address/0x4a0a76645941d8c7ba059940b3446228f0db8972> - CAROL Token

<https://basescan.org/address/0x26fe408bbd7a490feb056da8e2d1e007938e5685> - Main Contract

<https://basescan.org/address/0x0c477c729816228af3cb4e014cbf9412aa080b86> - Pool Contract

## Base SmartContract Audit

An audit was conducted by the auditing firm SpyWolf and is available on their GitHub: <https://github.com/SpyWolfNetwork/Smart_Contract_Audits/blob/main/October_2023/Carol_Protocol_0x26fe408BbD7A490fEB056DA8e2D1e007938E5685.pdf>
