mirror-protocol / terra-web-app Goto Github PK
View Code? Open in Web Editor NEWMirror Protocol App for web browsers
Home Page: https://terra.mirror.finance
License: Apache License 2.0
Mirror Protocol App for web browsers
Home Page: https://terra.mirror.finance
License: Apache License 2.0
Following error is happening in useLatest.tsx
both on https://mirrorprotocol.app/
and https://mirrorprotocol.is/
:
Access to fetch at 'https://price.mirror.finance/latest' from origin 'https://mirrorprotocol.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
This causes an error when closing a short position:
Failed to compile.
./src/airdrop/AirdropToast.module.scss (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-7-1!./node_modules/postccss-loader/src??postcss!./node_modules/resolve-url-loader??ref--5-oneOf-7-3!./node_modules/sass-loader/dist/cjs.js?r?ref--5-oneOf-7-4!./src/airdrop/AirdropToast.module.scss)
SassError: File to import not found or unreadable: mixins.
on line 1 of C:\Users\Umer\Desktop\test\terra-web-app\src\airdrop\AirdropToast.module.scss
@import "mixins";
^
So, I was one of the unfortunate ones that was completely blindsided by this apparent Governance vote to raise the mKO LTV to 130%. While I'm not going to sit here and beg for my position back, I would like an explanation as to exactly how that liquidation worked, and why I got absolutely nothing back in return, despite having 125% of collateral in there at the time. I had $173,000 worth of UST in that loan. I borrowed ~$133,000 worth of mKO. My LTV was suddenly under the allowed limit - fine, I get that, I get liquidated, You take enough of my collateral to buy back the mKO and take the 1.5% in fees to close the loan, and EVEN if you took another couple thousand as a surcharge for liquidation, I should have still been left with something. Instead you took every last penny. Why? I can't find anything in your documents section that elaborates on how liquidations are performed, but this seems sketchy to me. I'm not a programmer, so please don't point me towards a bunch of code. I would really just appreciate a reasonable explanation in layman's terms as to what exactly happened to all my collateral. I thought the point of having an overcollateralized position was to ensure you get back what was borrowed, not that you get to keep all the overcollateralization, but maybe I am wrong.
For the record, here is the TXN Hash:
4F3A1FCE962368F010E030CF878969D7FCCF9BF5AB91F3F3B7B0E204F1DF8C78
I can only find HOST=local.mirror.finance in the .env.devlopment file. I feel like that is not the file I need to at 1.0.0.27 local.mirror.finance too?
In
https://docs.mirror.finance/developer-tools/mirror-api
it gives a link
https://tequila-graph.mirror.finance/graphql
which results in:
This site cannot provide a secure connection.
Please help me to find the easiest way to query mirror prices. Thank you.
I have tried this with multiple browsers and multiple laptops.
Repro steps:
on a chromebook
Navigate to terra.mirror.finance click connect wallet
install chrome wallet extension and setup wallet
Reload web site click connect wallet
extension loads and shows login page for wallet enter password and it shows wallet.
Web site doesn't register that wallet is connected
close extension page
wallet chrome extension page spams chromebook until you reboot it.
This is on a fresh install chrome book new out of box.
Debugger attached.
yarn run v1.22.5
$ react-scripts start
Debugger attached.
Debugger attached.
Attempting to bind to HOST environment variable: local.mirror.finance
If this was unintentional, check that you haven't mistakenly set it in your shell.
Learn more here: https://cra.link/advanced-configCould not find an open port at local.mirror.finance.
Network error message: listen EADDRNOTAVAIL: address not available 76.76.21.21Waiting for the debugger to disconnect...
Waiting for the debugger to disconnect...
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Waiting for the debugger to disconnect...
I think because local.mirror.finance is down.
node : v12.13.0
yarn : v1.22.5
I haven't received an airdrop notification on mirror protocol app in a while. I stumbled on apeboard.finance and it shows unclaimed airdrops on rounds 46, 47, and 48. when I try to claim the airdrops from apeboard, it redirects to mirror protocol app, but doesn't offer any airdrop claim on the mirror app. Not sure why this stopped working or how to claim the airdrops.
This is an idea from Discord around how to prevent polls like this:
https://terra.mirror.finance/gov/poll/127
Could the Mirror frontend query the provided oracle to see if the requested price is there? If not, we should not let the user create a poll.
I used the Wormhole V2 to transfer my MIR from BSC to TERRA, but I don't see my MIR on TERRA STATION.
It looks like I received the CW20 token, what should I do?
I am not familiar with this stuff, so it is quite embarrassing.
There was no problem to proceed with this bridnging and even any error or warning, though.
Tx Hash: BFA8E98E60D50AAFB0F3F64F1DD69D56CEDDCA32B33260F72343CCFA7DE8AEA6
Minted assets takes longer than 20 minutes to display on https://terra.mirror.finance/my
Yet, it appears instantly in https://mirrormarket.finance/portfolio
This leads me to believe there is likely a bug somewhere here.
When i try to close my short position with apple stocks it says: failed to execute message; message index: 0: dispatch: Generic error: Price is too old: execute wasm contract failed.
What can i do?
Thanks.
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.