Notice: This repository, which was treated as a git submodule, has been merged with migaloo-core in commit b180e6cd23f87cd6a01ad38854fab64b810dc756.
White Whale's pool network is based on Terraswap, a Uniswap-inspired automated market-maker (AMM) protocol.
Name | Description |
---|---|
terraswap_factory |
|
terraswap_pair |
|
terraswap_router |
|
terraswap_token |
CW20 (ERC20 equivalent) token implementation |
This repo is a submodule of Migaloo Core, White Whale's core infrastructure repository.
You will need Rust 1.44.1+ with wasm32-unknown-unknown target installed.
You can run unit tests on each contract directory via:
cargo test
To compile each individual contract, you can run:
cargo build
cargo wasm
Or for a production-ready (optimized) build, run the following from the migaloo-core
repository:
scripts/build_release.sh
The optimized contracts are generated in the artifacts/ directory.