Skip to content

anoma/token

Repository files navigation

Token

The Anoma token is the foundation of the Anoma Economic System. It is an ERC-20 token, which can be upgraded (to arbitrary new logic) with a meta-governance mechanism based on quorum approval voting and a fast-track council.

Audits

Anoma smart contracts undergo regular audits:

  1. Zellic Audit

    📄 Full Report (pdf)

Security

If you believe you've found a security issue, we encourage you to notify us via Email at [email protected]. Please do not use the issue tracker for security issues. We welcome working with you to resolve the issue promptly.

Setup

  1. Get an up-to-date version of Foundry with

    curl -L https://foundry.paradigm.xyz | bash
    foundryup
  2. Clone this repo and run

    forge install

Usage

Tests

Run

forge test --force --gas-report

Note

The --force flag is required for the openzeppelin-foundry-upgrades package to work. The --gas-report flag prints selected gas reports.

Coverage

Run

forge coverage

Linting & Static Analysis

As a prerequisite, install the

Run the linter and analysis with

npx solhint --config .solhint.json 'src/**/*.sol' && \
npx solhint --config .solhint.other.json 'script/**/*.sol' 'test/**/*.sol' && \
slither .

Documentation

Run

forge doc

About

The Anoma token contract written in Solidity

Resources

Stars

Watchers

Forks

Packages

No packages published