# Coin Contract

The ChallengeCoin contract is an ERC20 token with a total supply capped at 1 billion tokens, ensuring scarcity and value stability. Built using OpenZeppelin's ERC20 framework, it provides a secure and reliable token for the Challenge.GG ecosystem. The contract assigns initial token ownership to a multisig wallet, enhancing security and governance by requiring multiple approvals for key transactions.

```solidity
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";

/// @title ChallengeCoin (ERC20 token)
/// @author Challenge.GG
/// @dev The ChallengeCoin contract is an ERC20 token with a total supply capped at 1 billion tokens, ensuring scarcity and value stability. 
/// Built using OpenZeppelin's ERC20 framework, it provides a secure and reliable token for the Challenge.GG ecosystem.
/// The contract assigns initial token ownership to a multisig wallet, enhancing security and governance by requiring multiple approvals for key transactions.
contract ChallengeCoin is ERC20 {

    uint256 private constant MAX_SUPPLY = 10**9;

    constructor(string memory _name,  string memory _symbol, address _multisigOwner) ERC20(_name, _symbol) {
        _mint(_multisigOwner, MAX_SUPPLY * 10 ** decimals());
    }
}
```


---

# 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://whitepaper.challenge.gg/tokenomics/contracts/coin-contract.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.
