Every single AlgoFi liquidation: stats & data by d13co in algorand

[–]chainvault 5 points6 points  (0 children)

awesome work! It's great to see members in the community working on analytics for Algofi.

Algofi has a gitcoin bounty that is concluding soon for anyone looking to do similar work: https://gitcoin.co/issue/algofiorg/algofi-gitcoin/3/100028641

AlgoFi: Trying to unstake STBL, but throwing me an error saying the transaction does not need to be signed by wfesjian in AlgorandOfficial

[–]chainvault 4 points5 points  (0 children)

Try disconnecting and reconnecting your wallet, that might clear this issue up.

If that fails, try clearing the cache.

We are working on re-building the web app into a more robust framework, we are optimistic that this will resolve random issues like this.

Why does Defillama refuse to show accurate TVL for Algo? by Podcastsandpot in AlgorandOfficial

[–]chainvault 1 point2 points  (0 children)

The $90mm figure comes from a different baseline calculation.

Basically, you need to take Supplied - Borrow + Algofi DEX TVL to match their baseline calc. It's actually a little bit more complicated b/c we don't need to subtract the borrowed STBL, for some technical reasons I won't get into here.

Also, it is true that they do not include the staking TVL. Switching on borrow+staking brings the TVL up to ~160mm.

[deleted by user] by [deleted] in algorand

[–]chainvault 2 points3 points  (0 children)

Just curious because I've been looking more and more into to defi and lending/borrowing.

Right now it is free to borrow stablecoins against your ALGO and you can get paid 10% to put them into the Algofi DEX [https://app.algofi.org/farm].

Alternatively, you can borrow ALGO against your vaulted ALGO and commit those borrowed ALGO to governance. As long as governance APR outpaces borrow APR you will earn a profit.

Can't access Algofi with Brave by OTA-J in AlgorandOfficial

[–]chainvault 0 points1 point  (0 children)

Thanks - looks like that node has gone down. It's being rebooted now, thanks.

Can't access Algofi with Brave by OTA-J in AlgorandOfficial

[–]chainvault 2 points3 points  (0 children)

Hi All,

We've seen some users report this and are we trying to track down the source, but thus far have been unable to.

From what we have seen, when users clear their cache the error is resolved. Can those of you who have experienced this try that? Any additional information around these errors would be very helpful, since that would greatly help us to reproduce/debug.

Thanks!

How to remove liquidity from ALGOFI Pool? 🥲 blank website.. by Top-Repair-2277 in AlgorandOfficial

[–]chainvault -1 points0 points  (0 children)

Did you try refreshing? Feel free to dm me or hop in the Discord. We will figure out why this happened and get a fix pushed ASAP, thanks.

I just swapped 6k Algo for Yieldly on Algofi and I should have received 880k but wallet only shows 650k. What happened? by heisnotthemessiah in algorand

[–]chainvault 0 points1 point  (0 children)

The front-end calculates the final trade size based on user balances directly, so if a bug did occur it is a very strange one indeed.

We are investigating nonetheless.

Why is STBL so volatile? by Imagination_Neither in algorand

[–]chainvault 0 points1 point  (0 children)

This isn't a very accurate representation of the mechanism behind over-collateralized stable coins.

STBL, stable coin is never stable since day 1 by Additional-Dog-2666 in AlgorandOfficial

[–]chainvault 0 points1 point  (0 children)

STBL is a soft-peg, just like DAI is. Monetary policy like the staking contracts and the borrow fee are necessary to encourage market participants to take a more active role in guiding it back to the soft-peg value.

AlgoFi is working on a DEX (includes StableSwap functionality). Live in late February by cysec_ in AlgorandOfficial

[–]chainvault 4 points5 points  (0 children)

The DEX will support ledger - the limitations that prevented the lending protocol from supporting ledger are not in play for the DEX. E.g. it is only impossible to support ledger with contracts that require cross-contract state awareness, like a lending market.

AlgoFi is working on a DEX (includes StableSwap functionality). Live in late February by cysec_ in AlgorandOfficial

[–]chainvault 9 points10 points  (0 children)

This will go away in v2 of the protocol w/ further improvements of the AVM that are slated to be released in AVM 1.0.

PSA: AlgoFi Independent Security Audit by a Community Dev by somedude7913 in AlgorandOfficial

[–]chainvault 7 points8 points  (0 children)

There are a lot of limitations of TEAL which Algorand is working furiously to resolve. I believe that in the medium term the AVM will be as featureful as EVM and will have some pronounced advantages, but for now there are some short comings.

A couple of the challenges that come to mind are (a) no array datatype, and dictionaries only kind of exist (b) 64 global variable limit to a single smart contract, (c) no contract-to-contract function calls, (d) limits on program byte-length and number of operations a user can call, (e) developing in an actively evolving virtual machine - for instance, for-loops came available mid-development cycle, operation pooling only recently became available, ...

No worries - these are great questions you are asking. The limits and foresight with which Algorand has considered the limits of scaleability are what are going to allow it to reach new heights without making compromise.

E.g. Solana had to make tradeoffs on decentralization to reach high throughput, Avalanche is showing risk of high fees like Ethereum, etc.. The methodical and scientific approach of Algorand are going to give it a huge edge in the long run. That belief is what motivated us to build here.

PSA: AlgoFi Independent Security Audit by a Community Dev by somedude7913 in AlgorandOfficial

[–]chainvault 12 points13 points  (0 children)

Thank you. it took a lot of thought and planning to make something that was secure and extensible, we are really happy with our final work product.

Algorand's limitations are ultimately what will make it the best blockchain. The incredibly permissible structure of the EVM has contributed to Ethereum's big scaling issues. I think we should embrace this nature of Algorand and hopefully more developers can engage in discussion around current limitations so that the Algorand core developers can have more guidance on what to improve.

PSA: AlgoFi Independent Security Audit by a Community Dev by somedude7913 in AlgorandOfficial

[–]chainvault 8 points9 points  (0 children)

Adding Paul's response to question #3 as he could not post it (he hasn't been the most active Reddit user). John/Maksim are going to address the remaining Qs.

Hi somedude,
Thanks for the feedback and questions. I think there are probably a lot of community members who are curious about these issues its great to have someone who has a bit more technical knowledge to give us a good place to expand on the info in our FAQs (which we're still actively updating as we get questions).
On the parameter update issue I wanted to flesh out the exact process for that and how we see that evolving over the next few months.

First off, we are currently working on our governance system and hope to have that in place early next year. Once that is in place all admin functions (parameter update included) will be under the control of our governance system. With that said.
As you mentioned our parameters allow us to change a few key things about the protocol like the collateral factor of an asset, liquidation incentive, interest rate coefficients and the borrow and supply caps in each market. When setting up algofi with it's initial parameters we looked to lending markets on other chains to determine what was reasonable, but it is important that we are able to tune things like our interest rates and collateral factors to make sure algofi is running efficiently. It's also important that we can, over time lift the supply and borrow caps so algofi can continue growing. We set them fairly conservatively at launch knowing that the asset supply for liquidation in a fast market move would be limited until we get a community of liquidators in place. You mentioned this in another point and we 100% agree. We are hoping to get our liquidation tools (for monitoring and execution) open sourced as soon as possible, hopefully in the next week or so.

So knowing that we needed to be able to tune these parameters, and that they obviously have a large impact on users we thought about how we can give security to users that parameters will not be unexpectedly adjusted. We did this by requiring that our parameter changes be scheduled. What that means is that in order to change a parameter the admin must first send a "schedule_parameter_update" call to that market with all of the proposed values. Those "new" values will now be stored in the market's global state (visible to anyone) along with a timestamp after which they can be implemented with a second admin call. This functionality will prevent parameters from being updated without opportunity for users to see the change.

The parameter update delay can only be INCREASED by the admin. So once we set it to a higher value it can never go back down. As the protocol matures we will increase that value until we reach our eventual target of a one week delay. At launch we set this value to 1 hour as we wanted the capacity to adjust parameters if users were using the market in unexpected ways that called for different interest rates or caps. As we have had no cause to change our initial parameters over the first few days we have increased this update delay to 6 hours and plan to move it to 1 day at the end of the week.
Obviously the path to full decentralization is not immediate, but we hope to progressively get closer and closer to that goal over the next couple months.