anchor-protocol / anchor-web-app Goto Github PK
View Code? Open in Web Editor NEWA monorepo containing everything user-facing
License: Apache License 2.0
A monorepo containing everything user-facing
License: Apache License 2.0
Suggestion that came in on Discord:
The same way that we can see how much our UST is worth in the local currency (EURO/EUT, etc.) inside Terra Station, display the same kind of feature on the Anchor Web App, so we can see how much our deposits, collaterals, etc. are worth.
Dear team, i cant withdraw my ust on anchor protocol , im using MathWallet, can u help me to solve this ? This is my error id 79d373dfbf8a49cb96323ae05917819e
Terra station is the only option to connect on mobile anchor.protocol webapp. Users can use this app from ledger which supports u2f..
https://github.com/LedgerHQ/android-u2f-bridge/releases
The guide for support of a web app and ethereum can be found here.
https://support.mycrypto.com/how-to/hardware-wallets/ledger/how-to-use-a-ledger-wallet-with-android
I believe the website could allow ledger/android connections
I've attempted to borrow as a test but keep getting this error code
Error ID: 162b1b1dff3e4513848d073f7d6e0821
I'm connecting via my Nano S Ledger which has been fine with Terra Station
Hi there,
Following a conversation on Discord, I feel like adding browser notifications to users who are about to be liquidated (LTV>40 or 45%) or when they are liquidated would be a very nice-to-have feature. Provided of course that they have a tab open with the Anchor web app to ensure that the app running locally is updated in real-time.
While it's possible that the future mobile app will feature such functionalities, adding more to the web one would be great regardless.
It would be great to show the current value of the aUST holdings on a wallet on Anchor EARN that are used as collateral on Mirror. After posting several charts and videos on Twitter and YouTube, I received a lot of feedback that their aUST is gone. This was connected to the feat, that the aUST would also no appreciated anymore. But, of course, this is a matter of education. Anyway, I personally agree that an overview of the current aUST would be helpful.
This is probably than connected to an issue of withdrawing on the EARN tab. A figure showing the aUST bonded as collateral and the aUST free for a withdraw would be optimal. Thanks and Best! Danku
Error ID: 165fe8e95de34310be300622eeb8d0b6
Hi,
Anchor failed to provide me with the UST I borrowed, but my account says that I owe the money!? Please help.
The transaction requested has failed due to the following reason:
pubKey does not match signer address
Not sure how the format for issues/enhancements should be.
When trying to withdraw deposited UST there is an issue where I get the error "Not enough transaction fees" at the top of the modal. Also I get the error "Not enough UST" below the Amount control. I assume the transaction is trying to get the fees paid from the actual UST wallet in terra, not the withdrawn amount (which in my case it does not cover the fee amount). The problem I see is that the "Tx Fee" and "Amount Received" controls clearly display the numbers as if the UST fees were going to be subtracted from the withdrawn amount, so if that were the case I should not be receiving the error and should be able to withdrawn the money.
If my assumption is right and the UST fees are only to be paid from the UST wallet (not the withdrawn amount) then I believe the "Amount Received" control should display the total amount to be withdrawn not the amount minus the fees. Also, maybe the error message can read something a little more descriptive like "Not enough balance in your wallet to pay for transaction fees" or something that intuitively let the user know that the fees are paid from terra UST wallet and not from the withdrawal amount.
If my assumption is wrong and the UST fees are to be paid from the withdrawal amount then there is a bug preventing the user from withdrawing funds from anchor (which is pretty alarming).
I've been unable to withdraw rewards from Anchor/Mirror protocol using my ledger device for the last week (since the crash). I have changed nothing on my end and all was working fine before.
Thanks in advance for your help!
My deposit page at Anchor is zero. Why it happened? I just sell some Lunas that having nothing to see with bLunas I provided.
Is there a guide how to actually get this running? for example do we use pm2, what is the node file to start, what are nginx config settings
Feature Request:
Dark Mode would be very very appreciated. ๐
Step to reproduce:
Bond bluna
borrow just on your bluna deposit
try to repay the loan
==> I get the following error message : Transaction failed: The transaction requested has failed due to the following reason:
account sequence mismatch, expected 222, got 221: incorrect account sequence
Havne't heard back from anyone on the discord, so just posting this here...
Only Borrow fn seems to have this issue:
The transaction requested has failed due to the following reason:
generic: contract query failed: generic: Price is too old:
Here is the tx for reference:
I withdrew from the ANC-UST LP but only received the ANC portion of the 50/50 LP tokens, no UST has hit my Terra Wallet. Here is the transaction/contract:
https://finder.terra.money/columbus-4/tx/3A6D3E7F85DE374965BE12F18B423CEC2084851D82D62DA1AFB84903FEF90F69
Assistance very much appreciated.
Would be nice to see the End Time with the Zimezone included, currently it's not clear if it's converted using the bowser time zone or is in UTC.
e.g. https://app.anchorprotocol.com/poll/15
Also would it be possible to show the actual execution date using the current config param?
Problem
The historical APY in the Earn interest section shows today's date (eg: Sep 12, 2021) on all slider values. Looking at the network tab I can see these values fetched from the https://mantle.anchorprotocol.com/?earn--apy-history
endpoint.
{
"apyHistory": [
{
"DepositRate": "0.000000041816843557",
"Height": 4498946,
"Timestamp": 1631452797
},
{
"DepositRate": "0.000000041816843557",
"Height": 4498424,
"Timestamp": 1631449190
},
{
"DepositRate": "0.000000041833331018",
"Height": 4497901,
"Timestamp": 1631445583
},
{
"DepositRate": "0.000000041833331018",
"Height": 4497379,
"Timestamp": 1631441980
},
{
"DepositRate": "0.000000041833331018",
"Height": 4496858,
"Timestamp": 1631438377
},
{
"DepositRate": "0.000000041833331018",
"Height": 4496335,
"Timestamp": 1631434775
},
{
"DepositRate": "0.000000041637400716",
"Height": 4495810,
"Timestamp": 1631431173
},
{
"DepositRate": "0.000000041637400716",
"Height": 4495287,
"Timestamp": 1631427571
},
{
"DepositRate": "0.000000041637400716",
"Height": 4494764,
"Timestamp": 1631423966
}
]
}
Parsing the timestamps using new Date(timestamp * 1000)
as done in the InterestSection.tsx I get that the timestamps are from today's date, each an hour apart.
Proposed solution
If possible the values fetched should be from previous days and not hours. Otherwise, the time should also be included in the slider label (eg: 13h, Sep 12, 2021). Ideally a larger historical view is shown (past 50, 100 or 1000 days).
packages/*
sources...
Originally filed at terra-money/finder#70, but the issue may be on the Anchor side, so filing here also.
This is an example of claiming rewards from the Anchor Govern tab. Inspecting the transaction in Terra Finder shows that data is being dropped regarding the reward value. Looks like the entire from_contract event log is missing.
Here is an example of an Anchor claim reward tx that contains the data:
This likely is not the right repo for this issue, as this seems like a data problem, so please transfer this issue to the proper repo if appropriate. Thank you.
Hello,
I executed below transaction:
Tx 81E21D2EC5499F678986BABC25019025219F3E8E12F8EC683AFAD810DD27CD3C
to the Anchor Liquidity Pool today at 1:13 eastern time.
The liquidity appeared in Anchor Protocol as a pool balance as expected. Later today when I checked the pool balance it was $0.00. There is no record of a withdrawal transaction or trace of the funds that I can find.
Please assist if possible-
Thank you!
Is there an existing REST API to find data like 20% yield earn balance, bLuna balance, collateral balance, borrowed balance, borrowing rewards balance, etc? If there is, is it documented anywhere?
I am getting this error in transaction on anchor webapp. Any ideas?
Error ID: 75ec5e66cefa4baf9ac3eaed2eb99d8f
Bonus points for exposing the details of that summary (rewards from borrowing APY, rewards from ANC-UST LP staking, etc.)
It looks like the Monthly/weekly/daily earnings are simply calculated by taking the expected interest in APY for the year and dividing by 12/52/365. This is incorrect as the interest rate displayed is APY, meaning it compounds/accelerates over time
meaning just dividing is going to make the interest appear linear, which is not how it works in reality.
For example, if my balance is $1000, and the APY is 19.49%, the APR is 17.78%, which means the daily earnings should be $0.487 ((1000*.1778)/365).
Instead, the earn page will show $0.534 ((1000*.1949)/365), making it off by a significant margin.
These transactions and their respective data (amount of bLuna liquidated, timestamp, amount of loan payed down, etc.) are important for calculating taxable gains/losses. As far as I can tell, these transactions are not surfaced in terra finder. Where is this data, and how can the end user view it? thanks.
wallet-provider
view
walletAddress
{ walletReady, availableService } = useService()
{ connectedUserWallet, userWallet } = useWallet()
connectedWallet
is exists when the Chrome Extension is connecteduserWallet
is exists when the user wallet address is provided by Chrome Extension or User manual configurationuserWallet
> connectedWallet
: User manual configuration is higher order than Chrome Extension infoconnectedWallet
and userWallet
Running yarn install
after clone gives me
error An unexpected error occurred: "Unknown token: { line: 3, col: 2, type: 'INVALID', value: undefined } 3:2 in /Users/Adham1/Desktop/repos/anchor-web-app/yarn.lock
Tried deleting the yarn.lock, reinstalling packages, and then ran yarn run app:start
and got (yes i tried running yarn install again)
Internal Error: root-workspace-0b6124@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
Please help
Hey there! ๐
Since we do not have access to your Trello Board, we do not know the reason why the Interest Earned
section has been removed from the UI (code is still there).
Commit: becc666
I believe it can still be useful to display this information as a note, like it has been done with the liquidation price of bLuna (84e03f7 & 3f38852).
In the discord channel, i realise some user did not put in the memo when sending to wallet in exchanges. One of the reason is because there is no memo
field in the anchor app wallet send modal
in the MIR wallet, there is no memo field too but there is a warning saying Double check if the above transaction requires a memo
.
I would like to discuss here whether this is already in the roadmap or is there any reason why the memo
field is not present?
I would love to contribute to the fix once we have a conclusion on the solution. thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.