# Smart Contracts

COMIN uses a set of Smart Contracts each serving a distinct purpose to ensure the platform's seamless operation and user-centric functionalities.

1. **Ride Management Smart Contract:** This smart contract handles ride-hailing functionalities, such as creating, accepting, and completing ride requests. It also manage the calculation of fares, distance traveled, and any other relevant ride parameters.
2. **Payment Smart Contract**: This smart contract manages the payments between riders and drivers. It handles the transfer of funds from the rider’s wallet to the driver’ wallet upon the completion of a ride.
3. **Token Smart Contract**: This contract handle the distribution of Rewards and Governance Tokens ($COWIN and $COGOV). This involves reward mechanisms, staking, or other distribution models.
4. **Governance Smart Contract**: This contract facilitates decentralized governance, allowing token holders to propose, vote on, and implement changes to the platform. This includes making decisions related to platform updates, tokenomics, or other aspects of the ecosystem.
5. **Wallet Smart Contract**: Operating under the ERC 4337 principle, this contract is responsible for generating and managing users' noncustodial wallets. It ensures secure and efficient wallet operations, safeguarding user assets and facilitating smooth transactions within the platform.


---

# Agent Instructions: 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:

```
GET https://litepaper.wearecomin.com/blockchain-technology/smart-contracts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
