# ICO - Presale funds gathering

### **Overview**

The contract can be deployed on any EVM based blockchain. It's purpose is to collect funds for the future token. It emits events after each transaction to then assign how much crypto each of the wallets bought the tokens for. The list of ICO participants with allocations can be then used in the Claiming Contract to distribute tokens according to the vesting schedule.

Alongside smart contract there is a frontend panel for interacting with it. Here is a video of a presale panel used to purchase RVC during Public Sale:\
<https://twitter.com/RevenueCoin/status/1455924955019980800>

<figure><img src="https://2975585572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGTndagrTalGkWGtrq4lu%2Fuploads%2FUmmIWdOIIzLKcdqA679y%2FScreenshot%202023-03-02%20at%2014.47.40.png?alt=media&#x26;token=b39f1b89-03d6-438e-91bf-9d0117f75ad1" alt=""><figcaption><p>Presale component for collecting funds</p></figcaption></figure>

#### **What are we collecting funds in**

It is possible to collect funds in the native crypto for the blockchain (i.e. BNB for BNB Chain or ETH for Ethereum). It is also possible to collect funds in any ERC-20 or BEP-20 compliant token. If you choose ERC-20 token there needs to be 1 more step of approving the spending of ERC-20 token from the wallet of an investor before purchasing.

#### **Stages**

The presale can consist of one or multiple stages. For each stage there needs to be a price per token set and the max amount of crypto collected in that stage. Stages can be also added after contract creation and while the presale is ongoing.

#### **Investment cap per user**

It is possible to set a minimum and maximum amount the user can purchase for (i.e. from 0.1 BNB to 20 BNB). The maximum cap is set per wallet so the user can purchase multiple times before reaching maximum cap.

#### Whitelist

It is possible but not necessary to set a whitelist of addresses that can participate in the ICO. Other addresses will not be allowed to buy.

### Configuration

#### **Design configuration**

* Custom logo
* Custom fonts
* Custom colors and images
* Custom text
* Possibility to add additional components on request

#### Technical configuration

* Selected chain (i.e. BNB Chain)
* Asset to collect funds in (i.e. BNB or USDT)
* List of stages with cap per stage and price per token
* Min and max amount of tokens that 1 investor can buy
* Vesting schedule information
* Token Generation Event date
* Whitelist

### Estimated time to prepare

1-2 weeks

*Learn more about our tokenization services at* [*https://www.revenuecoin.io/services/it-tokenization*](https://www.revenuecoin.io/services/it-tokenization)


---

# 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://docs.revenuecoin.io/token-panel-components/ico-presale-funds-gathering.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.
