# Deployed Contracts

## Contract Addresses

The core smart contracts of Glow are deployed on the [Terra blockchain](https://terra.money/), and can be found at the  networks below:

| Network Type | Chain ID     |
| ------------ | ------------ |
| Mainnet      | `columbus-5` |
| Testnet      | `bombay-12`  |

The Glow Yield ecosystem is formed by a core group of contracts, named **Glow Core**. For each new app that is built on top of Glow, one or more contracts will be created e.g. **Lotto Contract**.

## Glow Smart Contracts

{% tabs %}
{% tab title="Mainnet" %}

#### Core Contracts

| Contract        | Address                                      |
| --------------- | -------------------------------------------- |
| Gov             | terra1xxp34xk4rjexwlu0xfdhyn0zr3qsgare04yll0 |
| Staking         | terra1le3a67j4khkjhyytkllxre60dvywm43ztq2s8t |
| Community (GEF) | terra1zenektjsg4q8t6kpvksy25430eeq40zdu358lr |
| Warchest        | terra12pfhdv4ursl04wzlyee9ak30q3ez2jgcchnv2t |
| Distributor     | terra1lk3dl4wgau9zvxjustyh6fspjsf5jcxm9clq9p |

#### CW20 Token Contracts

| Contract          | Address                                      |
| ----------------- | -------------------------------------------- |
| Glow Token (GLOW) | terra13zx49nk8wjavedjzu8xkk95r3t0ta43c9ptul7 |
| {% endtab %}      |                                              |

{% tab title="Testnet" %}

#### Core Contracts

| Contract    | Address |
| ----------- | ------- |
| Gov         |         |
| Staking     |         |
| Community   |         |
| Distributor |         |

####

#### CW20 Token Contracts

| Contract          | Address |
| ----------------- | ------- |
| Glow Token (GLOW) |         |
| {% endtab %}      |         |
| {% endtabs %}     |         |

## Lotto Smart Contracts

{% tabs %}
{% tab title="Mainnet" %}

#### Lotto Contract

| Contract     | Address                                      |
| ------------ | -------------------------------------------- |
| Lotto        | terra1tu9yjssxslh3fd6fe908ntkquf3nd3xt8kp2u2 |
| {% endtab %} |                                              |

{% tab title="Testnet" %}

#### Lotto Contract

| Contract      | Address |
| ------------- | ------- |
| Lotto         |         |
| {% endtab %}  |         |
| {% endtabs %} |         |


---

# 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.glowyield.com/glow-yield/smart-contracts/deployed-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.
