> 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>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://carol-8.gitbook.io/documentation/technical-architecture/smart-contracts-and-technological-stack-description.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
