Smart Contracts
Astroport's contracts run on Terra (phoenix-1) and Neutron (neutron-1) and are in long-term support: they stay live, and changes are limited to security fixes and maintenance. The "Astroport - Contributors" DAO on each chain controls them through the protocol owner contracts. There is no token governance.
- Contract Addresses: every live contract with its version, plus retired contracts.
- Source Code and Versions: where the source lives and how to check a deployed contract.
- Common Types: shared types such as
AssetInfo,AssetandPairInfo. - Factory: creates pools and keeps the registry of pools and pool types.
- Swap Pairs: constant product, stableswap, PCL and exit-only pools.
- Oracle: a demo TWAP contract.
- Router: multi-hop swaps. Router 2.0 is recommended.
- ASTRO Token: ASTRO denoms, supply and legacy tokens.
- Tokenomics: Maker, ASTRO burner, yASTRO, Incentives, Vesting, and the retired xASTRO staking.
- Periphery Contracts: native coin registry, liquidity manager and helpers.
- Access Controls and Permissions: who owns and admins each contract.