Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/node_modules
/.pnp
.pnp.js

.env
# testing
/coverage

Expand Down
31 changes: 31 additions & 0 deletions docs/contrax-dao/dao-faq.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: "DAO FAQ"
description: "Frequently asked questions about the Contrax DAO"
---

### Who own the Contrax DAO?

The Contrax DAO does not belong to any organization or individuals. Rather, the
vTRAX token holders control the DAO and make every decision regarding it. The
Contrax team is responsible for setting the initial conditions of the DAO, and
will transition all control of the DAO to the vTRAX token holders after the
release of the token via the public Liquidity Generation Event.

### What does the DAO control?

The DAO controls every aspect related to the Contrax dApp, the DAO treasury, the
revenue, and the community TRAX tokens. Through the DAO voting process, every
decision related to the project is proposed, voted on, and enacted.

### What is the role of the founding team?

At its creation, the DAO will have some partially centralized processes, such as
enforcing voting results or dealing with early bugs or exploits. The purpose of
the team is to transition the Contrax DAO into an entirely decentralized entity
governed exclusively by the Trax token holders.

### How do I vote in the Contrax DAO?

Your voting power in the DAO is determined by the amount of vTRAX tokens you
hold. Voting mechanisms are still in development. We will notify the community
when they are in place.
40 changes: 40 additions & 0 deletions docs/contrax-dao/dao-intro.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
title: "DAO Overview"
description: "An introduction to the Contrax DAO"
---

![Dao Intro](/images/contrax-dao/dao-intro.png)

## A Disclaimer

This entire section, from the description of the token, it's usage, and its
distribution, and the formation of the DAO, are all currently proposed ideas
from the Contrax team. Please keep this mind as you read through.

## The Contrax DAO

The Contrax DAO (Decentralized Autonomous Organization) is the
open-to-participation, decentralized organization that will control the Contrax
Project after its launch. Anyone who holds TRAX tokens will be able to lock them
for vTRAX to vote in the DAO. Voting pertains to the Contrax dApp, the community
TRAX tokens, and the TRAX token treasury.

The DAO is an organization with no central authority and makes all decisions
based on blockchain-based votes by its members. To understand more about DAOs in
general, please read [the explanation of DAOs](https://ethereum.org/en/dao/) on
Ethereum.org.

## DAO Description

The DAO itself is currently in the process of creation. Please check back for
more information on the specifics of the Contrax DAO mechanics and voting
methods. You can also see the TRAX section for more information on the
governance token model:

[Token Overview](/trax-token/introduction)

## DAO Launch

The Contrax DAO will launch simultaneously with the TRAX token release in the
public LGE. The LGE is scheduled to be held some time after the release of the
full Contrax dApp.
25 changes: 25 additions & 0 deletions docs/contrax-dao/dao-voting.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "DAO Voting"
description: "The voting scope and how to participate."
---

## DAO Voting Authority

After the public Liquidity Generation Event, the Contrax project will be
controlled by the Contrax DAO. This includes everything from dApp features and
projects to integrate, to the TRAX staking rewards and treasury token
allocations.

Anyone who owns TRAX tokens (whether they are circulating or not) has the
ability to swap for vTRAX, granting the authority to cast votes per their token
allocation size. Each complete vTRAX token constitutes one a vote.

## DAO Voting Structure

It will initially be the responsibility of the Contrax team to facilitate and
execute the DAO voting. The voting mechanism itself is currently in development.
It will initially be the responsibility of the Contrax team to initiate DAO
voting, and to execute the DAO's decisions. As the infrastructure of the DAO
develops, the voting will move to be on-chain, allowing for the actual voting
and its execution to occur without the Contrax team as a point of
centralization.
46 changes: 46 additions & 0 deletions docs/contrax-dapp/architecture.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
title: "Architecture"
description: "A brief overview of the high level components of the Contrax architecture"
---

![Architecture](/images/contrax-dapp/architecture.png)

**Contrax.finance:** The domain for the Contrax web dApp where users generate
requests from.

**Route 53:** The cloud DNS which holds the domain name and directs the request
to Cloudfront.

**Cloudfront:** The AWS component for securely and quickly delivering the
correct services.

**S3 Buckets:** Contains the React code of the web dApp which is retrieved by
Cloudfront.

**API Gateway:** Called by Cloudfront for any backend requests, which knows the
subnet to call within the cloud.

**NAT Gateway:** The only gateway that can call the private subnet which
contains the lambdas to interact with the blockchain

**Backend lambda builder & Contract builder:** Server-less requests for specific
tasks on the blockchain which only get executed when called.

**Code build/deploy**: As commits to the production branch happens, the code is
built and deployed to the necessary buckets.

**Blockchain:** The EVM chains which the lambdas will interact with to deploy
and execute smart contracts.**Dynamo DB:** The private database for the web
dApp. It is only for mapping useful information to enhance the UX experience.

**Cloudwatch:** Monitors the AWS architecture and ensures all components are
working as expected.

**Dashboard:** Provides a way to interact with Cloudwatch and request status
logs.

**GitHub:** The public codebase and entry-point for code into the Contrax
application.

**Developers:** Changes can be suggested by anyone, but are reviewed, approved,
and merged by the active developers of Contrax.
20 changes: 20 additions & 0 deletions docs/contrax-dapp/dapp-faq.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: "DApp FAQ"
description: "Frequently asked questions about the Contrax dApp"
---

## What makes it a dApp instead of just an App?

Upon its public release, the actual features and functionality of the app will be controlled by the holders of vTRAX tokens. Although the infrastructure currently uses a hybrid approach between centralized and decentralized services, the ultimate goal would be to move both the governance and the architecture to a decentralized model.

## Has the Contrax dApp Launched Yet?

No. The dApp is currently in development. The beta is expected to launch in April. The first public version of the dApp will launch just before the public Liquidity Generation Event.

## What can I do in the Contrax dApp?

The Contrax dApp will allow users to easily create and manage tokens on the Ethereum and Arbitrum networks. It will also allow them to create Uniswap pools for those tokens, and deploy custom farming contracts. Users can use advanced farming features like auto-compounding and impermanent loss protection on both new and existing tokens on Ethereum and Arbitrum.

## What is Auto-Compounding?

This is one of the most useful farming features which Contrax want to bring to as many tokens and chains as possible. Normally, it takes manual effort with several steps to claim, swap, and and re-stake from farming contracts. With auto-compounding, this manual effort is automated several times a day, allowing for exponential growth for any farm offered on Ethereum and Arbitrum.
40 changes: 40 additions & 0 deletions docs/contrax-dapp/dapp-intro.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
title: "DApp Overview"
description: "An Overview of the Contrax dApp, its components, and features"
---

## Introduction

The Contrax web dApp is the application by which any user can easily create tokens, farms, and pools on the Ethereum and Arbitrum network. It is designed to be general in the types of smart contracts deployable, but focus on popular DeFi contracts, all while accommodating everyone from new users with limited knowledge of DeFi to advanced users that want extra features and a deeper involvement with the DeFi ecosystems.

The ultimate vision for the Contrax dApp is to make the creation of DeFi easy for Arbitrum first, and then for other EVM and eventually non-EVM chains.

## Features

The following features will be available on the Ethereum and Arbitrum networks:

**Token Creation**: The Contrax dApp will allow users to create ERC20 tokens on either the Ethereum or Arbitrum network. The token creation process will be done via an interface that allows the user to set the name, ticker, supply, and decimals. The user can also add features such as auto-burning per trade, auto-fee collection to the creator per trade, and the ability to increase the supply.

<Frame>![Home](/images/contrax-dapp/home.png)</Frame>

**Token Management**: After tokens are created, the Contrax dApp shows the user their created token, and provides them options to transfer it, create pools for swapping with other tokens, and create farms for their tokens.

<Frame>![Manage Token](/images/contrax-dapp/manage-token.png)</Frame>

**Pool Creation/Management**: For either existing assets on Ethereum and Arbitrum, or ones created using Contrax, users can set up pools or contribute to pools that exist on Uniswap and receive LP tokens along with a portion of the fees on all trades for those pools.

<Frame>![Graphs](/images/contrax-dapp/graphs.png)</Frame>

**Impermanent Loss Protection on Pools**: To help secure the profitability of Contrax farms, Contrax will offer impermanent loss protection for its most popular pools. This will be in the form of TRAX reimbursement for pools based on how long liquidity was provided.

**Farm Creation/Management**: For either existing pools on Ethereum and Arbitrum, or ones created on Contrax, users can stake the pools' LP tokens for rewards, or set-up LP staking for reward for their own token. Farms can be popular ones already existing on third party sites, or new contracts can be made for farms made through Contrax.

**Auto-compounding Farms**: Unlike most farms where the staking rewards need to be manually withdrawn and re-staked, Contrax can auto-compound rewards so that your rewards work for you as they are earned. This leads to exponential growth in staking rewards for the user. **Token Swaps**: Users can swap between tokens using existing pools or ones created through the Contrax app. All pools will be deployed on Uniswap.

<Frame>![Conversion](/images/contrax-dapp/conversion.png)</Frame>

## Development Stage

The Contrax dApp is at the end of beta development and will be testable by the public in March.

The dApp's development is open source and can be tracked on GitHub. The source code of the front end can be viewed [here](https://github.com/Contrax-co/contrax-web), and the back-end source code can be viewed [here](https://github.com/Contrax-co/contrax-backend). You can also sign up to participate in beta for rewards [here](https://my.forms.app/form/6127a7e0bd6e4f7f3a71a783).
Binary file added docs/images/contrax-dao/dao-intro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/contrax-dao/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/contrax-dapp/architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/contrax-dapp/conversion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/contrax-dapp/graphs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/contrax-dapp/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/contrax-dapp/manage-token.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions docs/images/contrax-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions docs/images/contrax-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/trax-token/graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions docs/introduction.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
title: "What is Contrax?"
description: "An Overview of the Contrax Project"
---

## Project Objective

The Contrax project exists to provide DeFi infrastructure for blockchain projects and their communities on Arbitrum, Ethereum mainnet, and beyond. Contrax can work with projects old and new to create and scale a DeFi ecosystem using no-code creation and management tools. Anyone can create tokens and add staking and farming features to them, or add them to existing Arbitrum or mainnet projects, on the Contrax dApp.

The Contrax project is community owned and controlled by the DAO. Future chains, DeFi templates and app features are selected by community demand.

## Project Components

The project consists of the following components:

**The Contrax DApp** \- The decentralized web application of the Contrax project.

<Card
title="DApp Overview"
icon={duotone("browser")}
href="/contrax-dapp/dapp-intro"
>
An Overview of the Contrax dApp, its components, and features
</Card>

**The Contrax DAO** \- The Decentralized Autonomous Organization that controls the Contrax project

<Card
title="DAO Overview"
icon={duotone("people-group")}
href="/contrax-dao/dao-intro"
>
An introduction to the Contrax DAO
</Card>

**The TRAX Token** \- The governance and staking token of the Contrax DAO and dApp.

<Card
title="Token Overview"
icon={duotone("coin")}
href="/trax-token/introduction"
>
Overview of the TRAX and vTRAX Tokens
</Card>

The rest of the docs will explain each section, its purpose, components, and how to interact with it as a participant in the Contrax ecosystem.

## The Team Behind Contrax

The Contrax Project was launched by Leios, a U.S. company formed in 2018 to provide blockchain products and services to markets that need them. The Leios team consists of experienced software engineers and entrepreneurs from various blockchain backgrounds. You can see the team members on the [Team page](https://contrax.finance/about).
89 changes: 89 additions & 0 deletions docs/mint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"name": "Contrax",
"logo": {
"light": "/images/contrax-light.svg",
"dark": "/images/contrax-dark.svg"
},
"favicon": "/images/favicon.png",
"colors": {
"primary": "#78C5EB",
"light": "#47D6D2",
"dark": "#3B7A86",
"ultraLight": "#F1FAFC",
"ultraDark": "#0F3E47"
},
"topbarLinks": [
{
"name": "Home",
"url": "https://contrax.finance"
},
{
"name": "Blog",
"url": "https://contraxfi.medium.com/contrax-the-dapp-token-and-dao-explained-8c8d5a9b7e9d"
},
{
"name": "About",
"url": "https://contraxfi.medium.com/contrax-the-dapp-token-and-dao-explained-8c8d5a9b7e9d"
}
],
"anchors": [
{
"name": "Blog",
"icon": "newspaper",
"url": "https://contrax.finance/about"
},
{
"name": "Community",
"icon": "discord",
"color": "#7289da",
"url": "https://discord.gg/rDdvyeWAtt"
},
{
"name": "Github",
"icon": "github",
"color": "#333",
"url": "https://github.com/Contrax-co"
}
],
"navigation": [
{
"group": "Welcome",
"pages": ["introduction"]
},
{
"group": "Contrax DApp",
"pages": [
"contrax-dapp/dapp-intro",
"contrax-dapp/architecture",
"contrax-dapp/dapp-faq"
]
},
{
"group": "Proposed Contrax DAO",
"pages": [
"contrax-dao/dao-intro",
"contrax-dao/dao-voting",
"contrax-dao/dao-faq"
]
},
{
"group": "Proposed Trax Token",
"pages": [
"trax-token/introduction",
"trax-token/token-uses",
"trax-token/token-faq"
]
}
],
"classes": {
"logo": "min-h-[2.5rem]",
"anchors": "group-hover:bg-gradient-to-tr from-[#78C5EB] to-[#47D6D2]",
"activeAnchors": "bg-gradient-to-tr"
},
"footerSocials": {
"twitter": "https://twitter.com/Contrax_Finance",
"linkedin": "https://www.linkedin.com/company/actioner/",
"discord": "https://discord.com/invite/rDdvyeWAtt",
"telegram": "https://t.me/Contrax"
}
}
38 changes: 38 additions & 0 deletions docs/trax-token/introduction.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
title: "Token Overview"
description: "Overview of the TRAX and vTRAX Tokens"
---

## A Disclaimer

This entire section, from the description of the token, it's usage, and its distribution, and the formation of the DAO, are all currently proposed ideas from the Contrax team. Please keep this mind as you read through.

## Introduction

The is governance token of the Contrax DAO is the $TRAX token. The Trax token is an ERC-20 token on the Ethereum blockchain with a fixed supply of 700 million. A large portion of the supply will be bridged over to the Arbitrum network for the Liquidity Generation Event. The purpose of the token is to be locked for vTRAX, the governance of the Contrax DAO which also provides features and incentives to the Contrax dApp. TRAX and vTRAX create a vote-locking model like that of Curve with the [CRV/veCRV token](https://resources.curve.fi/base-features/understanding-crv). The Contrax dApp will provide a simple mechanism to lock TRAX for vTRAX, which enables voting rights, staking rewards, and a share of treasury revenues. vTRAX is non-transferable, but can always be exchanged back for the liquid and tradeable TRAX token. The full list of token features is explained in the next section: "Token Uses." The TRAX token will enter circulation at the public Liquidity Generation Event event with 3% of the supply given to those who will provide liquidity for the token. See "TRAX Liquidity Generation" for more details.

## Allocations

![](/images/trax-token/graph.png)

The token are to be allocated as follows

| **Category** | **Percentage** | **Token Allocation** |
| --------------------------- | -------------- | -------------------- |
| Liquidity Generation Event | 3% | 21,000,000 |
| Private Sale | 12% | 84,000,000 |
| Company | 20% | 140,000,000 |
| DAO Public Treasury | 25% | 175,000,000 |
| Community/Liquidity Rewards | 40% | 280,000,000 |

## Release Schedule

The release schedule for each category is as follows:

| **Category** | **% Initially Unlocked** | **Release Schedule** |
| --------------------------- | ------------------------ | ------------------------------------------------------------------------------ |
| Liquidity Generation Event | 100% | The LGE tokens are unlocked and distributed immediately. |
| Private Sale | 0% | 10% unlocked after 12 months, and 5% unlocked every month after for 18 months. |
| Company | 0% | 1% unlocked after 12 months, and 3% unlocked every month after for 33 months. |
| DAO Public Treasury | 4% | 2% unlocked every month for 48 months. |
| Community/Liquidity Rewards | 0% | Distributed by staking APY and other liquidity and reward programs post-LGE. |
Loading