Skip to content

astroport-fi/astroport-governance

Repository files navigation

Astroport Governance

codecov

This repo contains Astroport Governance contracts.

Contracts diagram

contract diagram

Contracts

Name Description
assembly The Astral Assembly governance contract
builder_unlock ASTRO unlock/vesting contract for Initial Builders
emissions_controller Emissions Controller (Hub) is responsible for receiving vxASTRO votes and managing ASTRO emissions
emissions_controller_outpost Emissions Controller (Outpost) is a lightweight satellite for Hub's counterpart which lives on outposts
voting_escrow Vote escrowed xASTRO with 14 days lockup

Building Contracts

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

You can compile each contract:

Go to the repository root and run

./scripts/build_release.sh

You can run tests for all contracts

Run the following from the repository root

cargo test

The optimized contracts are generated in the artifacts/ directory.

Deployment

Actual deployed contracts with respective commits here.

Docs

Docs can be generated using cargo doc --no-deps

Bug Bounty

The contracts in this repo are included in a bug bounty program.