Difference between revisions of "Astroport (ASTRO)"

From CryptoWiki

 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<br />
Astroport is a [[Decentralized Exchange (DEX)|DEX]] on the [[Terra (LUNA)|Terra]] [[blockchain]]
==Basics==
==Basics==


Line 5: Line 5:
*Started in / Announced on:
*Started in / Announced on:
*[[Testnet]] release:
*[[Testnet]] release:
*[[Mainnet]] release:
*[[Mainnet]] release: went [https://astroport.medium.com/astroport-is-live-on-terra-2-0-932bb214a6b8 live] on 5-6-2022 on Terra 2
*[[Decentralized Exchange (DEX)|DEX]] [[Automated Market Makers (AMM)|AMM]]
*[[Decentralized Exchange (DEX)|DEX]] [[Automated Market Makers (AMM)|AMM]]


==History==
==History==
* Originally deployed on [[Terra Classic (LUNC)|Terra Classic]], but [https://astroport.medium.com/astroport-terra-2-0-a-new-path-forward-b7b328171e4b decided] to stay within the ecosystem and deploy on [[Terra (LUNA)|Terra]] 2 (24-5-2022):
''"The existing implementation of Astroport will remain live on Terra Classic for as long as the network remains operational. However, with two networks running in parallel, there will need to be two sets of governance tokens."''
==Audits & Exploits==
==Audits & Exploits==


*[[bug bounty|Bug bounty]] program can be found [insert here].
*Scored [https://www.defisafety.com/pqrs/266 90%] on [[DeFi Safety]] (14-2-2022):
''"Factory is extremely active at over 10 [[transactions]] per day. Astroport has great software architecture [https://docs.astroport.fi/astroport/astroport/astro-generators documentation].  With a TtC of 85%, this protocol has clearly undergone good testing. A [[GitHub]] code coverage report is detailed. Astroport has not undergone formal verification. Astroport was audited once before and once after launch. Changes were implemented. Astroport's [[bug bounty]] is nothing short of extra-terrestrial at an astonishing $3M top reward [https://immunefi.com/bounty/astroport/ using] [[ImmuneFi|Immunefi]]. "''
*From their [https://docs.astroport.fi/astroport/extras/audits docs] (16-1-2022):
 
# "The audits from Halborn can be found [https://github.com/astroport-fi/astro-audits/tree/main/halborn here].
# The Oak audits can be found [https://github.com/astroport-fi/astro-audits/tree/main/oak here]<span data-key="60baffb37f1549e5b8902f192634322f"><span data-offset-key="60baffb37f1549e5b8902f192634322f:0"></span></span>"


===Bugs/Exploits===
===Bugs/Exploits===
[[Astroport (ASTRO)|Astroport]] got [https://decrypt.co/242549/terra-blockchain-exploit-drains-over-4-million-in-tokens exploited] on 31-7-2024 for around $4M, which promted 67% of Terra's voting power to halt the network.
==Governance==
==Governance==
===Admin Keys===
===Admin Keys===
* [https://www.defisafety.com/pqrs/266 From] [[DeFi Safety]] (14-2-2022):
''"This information is easily [https://docs.astroport.fi/astroport/smart-contracts/access-controls-and-permissions located]. All [[Smart Contract (SC)|contracts]] relevant are listed as upgradeable. Ownership is clearly detailed as being in the [https://docs.astroport.fi/astroport/smart-contracts/access-controls-and-permissions#governance-delays hands of governance]. Change capabilities are clearly [https://docs.astroport.fi/astroport/smart-contracts/access-controls-and-permissions#governance-delays detailed].  Pause control is documented and explained. There is no evidence on testing. The protocol does not use a [[timelock]], and this is [https://docs.astroport.fi/astroport/smart-contracts/access-controls-and-permissions#governance-delays justified].'' "
===DAO===
===DAO===
* [[Governance]] is 'a work in progress' as of [https://docs.astroport.fi/astroport/workstation/governance 24-1-2022].
===Treasury===
===Treasury===
==Token==
==Token==
===Launch===
===Launch===
* From their [https://docs.astroport.fi/astroport/astroport/astro-faq docs] (12-2021):
''"Astroport will not have an [[Initial Coin Offering (ICO)|ICO]]. Instead, [[tokens]] are [[distributed]] through a [https://astroport.medium.com/hello-astro-announcing-the-astroport-governance-token-drops-a07a1bf3ed94 lockdrop]."''
===Token Allocation===
===Token Allocation===
* From their [https://docs.astroport.fi/astroport/astroport/astro-faq docs]:
 
* Astroport team [https://astroport.medium.com/astroport-builders-delay-governance-token-unlocks-by-six-months-26c3e1f36fb5 delayed] their unlocks with 6 months (12-2022), 1/3rd would unlock immediately, 2/3rd will unlock gradually in the 2 years following.
*With the deployment on Terra 2, the team [https://astroport.medium.com/the-astro-airdrop-guidebook-2112c6b75ff0 decided] to [[mint]] more ASTRO tokens (3-6-2022):
''"ASTRO’s annual inflation rate (which is 100 million tokens in Year 1) will remain unchanged. However, the total supply of ASTRO will be increased from 1 billion to 1.1 billion on Terra 2.0. The additional 100 million tokens will be exclusively used to incentivize [[liquidity]]. A portion will go towards a future lockdrop mechanism, and the remainder will be distributed at the same rate as the long-term emission schedule. Plans for the uncirculating supply including locked builder allocations are still being finalized, though Astrochad expects few changes to the pre-depeg distribution."''
*From their [https://docs.astroport.fi/astroport/astroport/astro-faq docs] (12-2021):


''"The community holds 110M ASTRO after the lockdrop(11% of the total supply). 49% of the supply goes to LPs over 69 years. 10% of the supply is reserved for the Astral Assembly (Astroport DAO). The rest is allocated to Astroport Builders, who have a 3-year lock-up period."''
''"The community holds 110M ASTRO after the lockdrop(11% of the total supply). 49% of the supply goes to LPs over 69 years. 10% of the supply is reserved for the Astral Assembly (Astroport DAO). The rest is allocated to Astroport Builders, who have a 3-year lock-up period."''
Line 31: Line 62:
"''$ASTRO - $xASTRO - $vxASTRO''
"''$ASTRO - $xASTRO - $vxASTRO''


''$xASTRO is the [[staked]] version of $ASTRO, It’s main benefits being: - Value accrual from trading [[fees]] captured by the protocol. - Voting in Astroport [[governance]]. - Liquid and Transferable.''
''$xASTRO is the [[staked]] version of $ASTRO, It’s main benefits being: - Value accrual from trading [[fees]] captured by the protocol. - Voting in Astroport governance. - Liquid and Transferable.''


''If you plan to hold your $ASTRO for a long period of time you can take your $xASTRO and lock it up from 1 to 24 months to receive $vxASTRO which provides more benefits such as: - Receiving more protocol fees. - Increasing voting power in Astroport governance. - LP boosties."''
''If you plan to hold your $ASTRO for a long period of time you can take your $xASTRO and lock it up from 1 to 24 months to receive $vxASTRO which provides more benefits such as: - Receiving more protocol fees. - Increasing voting power in Astroport governance. - LP boosties."''
Line 40: Line 71:
==Technology==
==Technology==


*[[Whitepaper]] or docs can be found [insert here].
*[[Whitepaper]] or docs can be found [https://astroport.medium.com/astroport-litepaper-1fab783b77b5?source=user_profile---------12------------------------------- here] (10-9-2021).
*Code can be viewed [insert here].
*Code can be viewed [https://github.com/astroport-fi/astroport-core here]. [https://www.defisafety.com/pqrs/266 From] [[DeFi Safety]] (14-2-2022):
''"At 436 commits and 10 branches, this development history is intergalactic in quality and length."''


===Implementations===
===Implementations===


*Built on: [[Terra (LUNA)|Terra]]
*Built on: [[Terra (LUNA)|Terra]], [https://astroport.medium.com/astroport-arrives-on-injective-mainnet-b2d8de320555 deployed] on [[Injective Protocol (INJ)|Injective]] (9-3-2023).


===How it works===
===How it works===
Line 53: Line 85:
''"You can think of Astroport as a mix between [[Uniswap (UNI)|Uniswap]] and [[Curve Finance (CRV)|Curve]]. It will provide typical [[Automated Market Makers (AMM)|AMM]] pools alongside [[Stablecoins|stable]] swap pools and then hopefully concentrated [[liquidity]] in the future."''
''"You can think of Astroport as a mix between [[Uniswap (UNI)|Uniswap]] and [[Curve Finance (CRV)|Curve]]. It will provide typical [[Automated Market Makers (AMM)|AMM]] pools alongside [[Stablecoins|stable]] swap pools and then hopefully concentrated [[liquidity]] in the future."''


* Pool types offered on launch will include [https://twitter.com/cryptoharry_/status/1463141364250468353?s=21 (23-11-2021)]: - Constant product pools - Stableswap invariant pools - [[Liquidity Bootstrapping Pools|Liquidity bootstrapping pools]] (LBP)
* Pool types offered on launch will include [https://twitter.com/cryptoharry_/status/1463141364250468353?s=21 (23-11-2021)]: - Constant product pools - Stableswap invariant pools - Liquidity bootstrapping pools (LBP)


===Fees===
===Fees===
* From the Terra 2 deployment [https://astroport.medium.com/astroport-is-live-on-terra-2-0-932bb214a6b8 announcement] (5-6-2022):
''"Astroport’s standard fees will apply on Terra 2.0. However, before the launch of ASTRO tokens on Terra 2.0, the portion of the swap fees normally allocated to ASTRO [[stakers]] will accumulate in the Astroport fee collector instead. These fees will then be distributed to ASTRO stakers when ASTRO tokens and fee share launches on Terra 2.0."''
*From their [https://docs.astroport.fi/astroport/tokenomics/astroport-tokenomics/fees docs] (12-2021):
''"A fee is charged on all trades on Astroport pools by traders in the respective native pool tokens. This fee is embedded in the Astroport [[Smart Contract (SC)|smart contracts]] and is subject to adjustment by the Astral Assembly.''
''For constant product pools, this fee will initially be 0.3%.''
''For stableswap invariant pools, this fee will initially be 0.05%."''
===Upgrades===
===Upgrades===
===Mining===
===Staking===
===Staking===
* From their [https://docs.astroport.fi/astroport/tokenomics/astroport-tokenomics/staking-and-locking docs] (12-2021):
''"ASTRO holders will be able to use ASTRO in two ways to assume governance responsibility for Astroport:''
# '''''[[Staking]] ASTRO in the xASTRO pool:''''' ''ASTRO holders may [[stake]] their ASTRO in the xASTRO pool to receive xASTRO tokens, activate their governance power, and accrue a share of trading fees (funded with one-half of the Astral Assembly’s share of trading fees). xASTRO is inspired by SushiSwap’s xSUSHI [[token]] / xSUSHI pool.''
# '''''Locking xASTRO in the vxASTRO pool:''''' ''xASTRO holders may lock their xASTRO in the vxASTRO pool to receive vxASTRO points, amplify their governance power, receive an additional share of trading fees (funded with the other half of the Astral Assembly’s share of trading fees) and access other benefits such as boosted liquidity [[mining]] rewards (see below under “vxAstro Utility”). vxASTRO is inspired by Curve’s pioneering veCRV model''<span data-key="c7d4b98865524ba7a058a8c35cbc8fae"><span data-offset-key="c7d4b98865524ba7a058a8c35cbc8fae:0"></span></span>''"''
====Validator Stats====
====Validator Stats====
===Liquidity Mining===
===Liquidity Mining===
Line 65: Line 115:
===Other Details===
===Other Details===
==Oracle Method==
==Oracle Method==
* [https://www.defisafety.com/pqrs/266 From] [[DeFi Safety]] (14-2-2022):
''"An oracle is fully [https://docs.astroport.fi/astroport/smart-contracts/oracles documented]. Astroport's dev team is well aware of [[Front-running|front running]] but does [https://docs.astroport.fi/astroport/astroport/astro-faq not implement countermeasures].. It considers [[front running]] as a standard part of the protocol operating as intended. In their eyes, no frontrunning countermeasure is necessary. It is important to remember that [[Terra (LUNA)|Terra]] has extremely quick blocktimes and is [[proof of stake]], meaning [[front-running]] is difficult to orchestrate anyway. This protocol considers [[Flash Loan|flashloans]] a legitimate part of user interaction and encourages users willing to use them, so they do not use countermeasures."''
*From their [https://docs.astroport.fi/astroport/smart-contracts/oracles docs] (12-2021):
''"There are two types of [[oracle]] [[contracts]] in Astroport:''
# ''[[Oracles]] for constant product pools''
# ''Oracles for stableswap pools"''
==Privacy Method==
==Privacy Method==
==Compliance==
==Compliance==
Line 73: Line 133:


==Usage==
==Usage==
* From this [https://twitter.com/alpha_pls/status/1500233320357113863 thread] (6-3-2022):
''"@astroport_fi just did $613M in 24h volume making it the second biggest [[Decentralized Exchange (DEX)|DEX]] by volume in crypto right now."''
===Projects that use or built on it===
===Projects that use or built on it===
==Competition==
==Competition==
Line 81: Line 146:
===Team===
===Team===


*Full team can be found [here].
*Team members are [https://astroport.medium.com/astroport-development-and-astro-builder-allocation-d112cd51ba61 listed] and public, though this is transitioning to a system of contributors ([https://www.defisafety.com/pqrs/266 14-2-2022]).


===Funding===
===Funding===

Latest revision as of 04:56, 12 August 2024

Astroport is a DEX on the Terra blockchain

Basics

History

"The existing implementation of Astroport will remain live on Terra Classic for as long as the network remains operational. However, with two networks running in parallel, there will need to be two sets of governance tokens."


Audits & Exploits

"Factory is extremely active at over 10 transactions per day. Astroport has great software architecture documentation. With a TtC of 85%, this protocol has clearly undergone good testing. A GitHub code coverage report is detailed. Astroport has not undergone formal verification. Astroport was audited once before and once after launch. Changes were implemented. Astroport's bug bounty is nothing short of extra-terrestrial at an astonishing $3M top reward using Immunefi. "

  • From their docs (16-1-2022):
  1. "The audits from Halborn can be found here.
  2. The Oak audits can be found here"

Bugs/Exploits

Astroport got exploited on 31-7-2024 for around $4M, which promted 67% of Terra's voting power to halt the network.

Governance

Admin Keys

"This information is easily located. All contracts relevant are listed as upgradeable. Ownership is clearly detailed as being in the hands of governance. Change capabilities are clearly detailed. Pause control is documented and explained. There is no evidence on testing. The protocol does not use a timelock, and this is justified. "

DAO

Treasury

Token

Launch

  • From their docs (12-2021):

"Astroport will not have an ICO. Instead, tokens are distributed through a lockdrop."

Token Allocation

  • Astroport team delayed their unlocks with 6 months (12-2022), 1/3rd would unlock immediately, 2/3rd will unlock gradually in the 2 years following.
  • With the deployment on Terra 2, the team decided to mint more ASTRO tokens (3-6-2022):

"ASTRO’s annual inflation rate (which is 100 million tokens in Year 1) will remain unchanged. However, the total supply of ASTRO will be increased from 1 billion to 1.1 billion on Terra 2.0. The additional 100 million tokens will be exclusively used to incentivize liquidity. A portion will go towards a future lockdrop mechanism, and the remainder will be distributed at the same rate as the long-term emission schedule. Plans for the uncirculating supply including locked builder allocations are still being finalized, though Astrochad expects few changes to the pre-depeg distribution."

  • From their docs (12-2021):

"The community holds 110M ASTRO after the lockdrop(11% of the total supply). 49% of the supply goes to LPs over 69 years. 10% of the supply is reserved for the Astral Assembly (Astroport DAO). The rest is allocated to Astroport Builders, who have a 3-year lock-up period."

Utility

"$ASTRO - $xASTRO - $vxASTRO

$xASTRO is the staked version of $ASTRO, It’s main benefits being: - Value accrual from trading fees captured by the protocol. - Voting in Astroport governance. - Liquid and Transferable.

If you plan to hold your $ASTRO for a long period of time you can take your $xASTRO and lock it up from 1 to 24 months to receive $vxASTRO which provides more benefits such as: - Receiving more protocol fees. - Increasing voting power in Astroport governance. - LP boosties."

Other Details

Stablecoin

Coin Distribution

Technology

"At 436 commits and 10 branches, this development history is intergalactic in quality and length."

Implementations

How it works

"You can think of Astroport as a mix between Uniswap and Curve. It will provide typical AMM pools alongside stable swap pools and then hopefully concentrated liquidity in the future."

  • Pool types offered on launch will include (23-11-2021): - Constant product pools - Stableswap invariant pools - Liquidity bootstrapping pools (LBP)

Fees

"Astroport’s standard fees will apply on Terra 2.0. However, before the launch of ASTRO tokens on Terra 2.0, the portion of the swap fees normally allocated to ASTRO stakers will accumulate in the Astroport fee collector instead. These fees will then be distributed to ASTRO stakers when ASTRO tokens and fee share launches on Terra 2.0."

  • From their docs (12-2021):

"A fee is charged on all trades on Astroport pools by traders in the respective native pool tokens. This fee is embedded in the Astroport smart contracts and is subject to adjustment by the Astral Assembly.

For constant product pools, this fee will initially be 0.3%.

For stableswap invariant pools, this fee will initially be 0.05%."

Upgrades

Staking

  • From their docs (12-2021):

"ASTRO holders will be able to use ASTRO in two ways to assume governance responsibility for Astroport:

  1. Staking ASTRO in the xASTRO pool: ASTRO holders may stake their ASTRO in the xASTRO pool to receive xASTRO tokens, activate their governance power, and accrue a share of trading fees (funded with one-half of the Astral Assembly’s share of trading fees). xASTRO is inspired by SushiSwap’s xSUSHI token / xSUSHI pool.
  2. Locking xASTRO in the vxASTRO pool: xASTRO holders may lock their xASTRO in the vxASTRO pool to receive vxASTRO points, amplify their governance power, receive an additional share of trading fees (funded with the other half of the Astral Assembly’s share of trading fees) and access other benefits such as boosted liquidity mining rewards (see below under “vxAstro Utility”). vxASTRO is inspired by Curve’s pioneering veCRV model"

Validator Stats

Liquidity Mining

Scaling

Interoperability

Other Details

Oracle Method

"An oracle is fully documented. Astroport's dev team is well aware of front running but does not implement countermeasures.. It considers front running as a standard part of the protocol operating as intended. In their eyes, no frontrunning countermeasure is necessary. It is important to remember that Terra has extremely quick blocktimes and is proof of stake, meaning front-running is difficult to orchestrate anyway. This protocol considers flashloans a legitimate part of user interaction and encourages users willing to use them, so they do not use countermeasures."

  • From their docs (12-2021):

"There are two types of oracle contracts in Astroport:

  1. Oracles for constant product pools
  2. Oracles for stableswap pools"

Privacy Method

Compliance

Their Other Projects

Roadmap

  • Can be found [Insert link here].

Usage

"@astroport_fi just did $613M in 24h volume making it the second biggest DEX by volume in crypto right now."

Projects that use or built on it

Competition

Pros and Cons

Pros

Cons

Team, Funding and Partners

Team

  • Team members are listed and public, though this is transitioning to a system of contributors (14-2-2022).

Funding

Partners

(:

Knowledge empowers all and will help us get closer to the decentralized world we all want to live in!

Making these free wiki pages is fun but takes a lot of effort and time.

If you have enjoyed reading, tips are appreciated :) This will help us to keep expanding this archive of information.

LUNA tip address: terra1usk0sedwmq5rlyegtnv4lvzmyq6t5vgda8s9ex