/astroport-governance

Governance and unlock contracts for Astroport

Primary LanguageRust

Astroport Governance

codecov

This repo contains Astroport Governance related contracts.

Contracts

Name Description
assembly The Astral Assembly governance contract
builder_unlock ASTRO unlock/vesting contract for Initial Builders
escrow_fee_distributor vxASTRO fee distributor
generator_controller Generator Controller used to vote on directing ASTRO emissions
voting_escrow vxASTRO contract

Building Contracts

You will need Rust 1.58.1+ with wasm32-unknown-unknown target installed.

You can run unit tests for each contract directory via:

cargo test

For a production-ready (compressed) build:

Run the following from the repository root

./scripts/build_release.sh

The optimized contracts are generated in the artifacts/ directory.