anon-real / sigma-usd Goto Github PK
View Code? Open in Web Editor NEWUI for SigmaUSD instance of AgeUSD protocol.
License: MIT License
UI for SigmaUSD instance of AgeUSD protocol.
License: MIT License
Attempted to buy SigRSV on 15:03:02 01.06.2021. The receiving account accepted the transaction. However, the 212.32 Erg was not sent on to the sigma-usd smart contract or returned to the original account. Appreciate any help resolving this issue. Thanks!
As the title says. My balance appearing in sigmausd website is about 4x the real held amount (as expected/as seen in yoroi).
The bottom transaction is shown as pending for the last 12 hours. It has a transaction ID, but it shows as Not Found in Ergo Explorer.
The weird part is that I sent the funds from Yoroi, and they've left my wallet, but I don't have a transaction shown there that I can pull a destination address from to use the "Refund" feature. It seems like there was some glitch in the SC that invalidated the incoming transaction and locked the funds.
I would post examples in the next comments and also do pull request with fixes for all of the mentioned problems :-)
As the title says, the page right now freezes when trying to purchase sigRSV. I am using Chrome version 90.0.4430.93 (Official Build) (64-bit).
I found an issue where not all texts are loaded / rendered if not the main page is loaded first.
For example if I load https://sigmausd.io/ in the browser and then navigate to the ReserveCoin page (https://sigmausd.io/#/reservecoin), all texts are loaded properly.
But if I'm on the ResrveCoin page and hit Refresh in the browser, the "Provide liquidity and earn premiums upon redemption"
text disappears and only reserveTag
is displayed in its place. This is just one example.
I am using Chrome Version 90.0.4430.212 (Official Build) (64-bit), on Ubuntu 20.04.02 LTS.
Opening the developer console, I can see the following JavaScript warnings:
2.15f9c5fc.chunk.js:1 i18next: hasLoadedNamespace: i18next was not initialized undefined
2.15f9c5fc.chunk.js:1 i18next::translator: key "menuDash" for languages "en" won't get resolved as namespace "translation" was not yet loaded This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!
2.15f9c5fc.chunk.js:1 i18next::backendConnector: loading namespace translation for language en-US failed failed parsing /locales/en-US/translation.json to json
Hi guys, I've previously translated the Ergo website to Polish, now I'd be happy to translate the SigmaUSD one. I'm a professional translator with ~20 years of experience (specialisations: IT, gaming, marketing, crypto).
The current version of fonts unfortunately do not support all characters from the supported languages.
You can use following link https://www.alphabet-type.com/tools/charset-checker/ to check the font.
Here are the results for the inter font.
However the original inter font from google fonts support all characters, see:
The same goes for the IBM Plex Mono font.
I propose the following fix - replace all the fonts with their full variant from the google fonts.
Advantages:
Disadvantages:
There are a bunch of new keys in the translation files. There is also now a faq.yaml
file in each translation directory for Questions/Answers.
New Keys:
"reserves"
"baseReserves"
"baseReservesTooltip"
"baseReservesUsdTooltip"
"miningStatPending"
"miningStatMined"
"miningStatRefundMined"
"faq"
"faqTag"
"refund"
"refundDescription"
"refundForm"
"refundToPlaceholder"
"refundFromPlaceholder"
"refundSubmit"
When you have a moment, these files need to be updated with the translations.
Thanks!
It is more intuitive to specify the amount of ERG to swap for SigmaRSV, as opposed for users to specify the amount of SigmaRSV to mint. Although the current method is more intuitive for SigmaUSD due to its dollar-locked ratio, users often have to resort to a trial-and-error fashion for them to approximately use a specific amount of ERG to be minted into SigmaRSV.
I submitted a transaction to exchange SigRSV for ERG which was confirmed at 2022-08-12 16:07:52. It's been over 12 hours and the ERG has not been sent, nor has the original SigRSV been sent back. I tried to submit a refund through the refund page, but it flashes a quick error that is partially cut-off saying "Could not generate tx, {"error":4... requirement failed: Minimal ERG..."
It would be nice to know what the full error message is, so i can try to resolve it. Otherwise, I have no recourse outside submitting this issue.
Any help on this would be appreciated.
Thanks!
The European Banking Authority set guidelines for achieving MICA compliance in global stablecoins. https://www.eba.europa.eu/sites/default/documents/files/document_library/Publications/Other%20publications/2023/Statement%20on%20%20preparatory%20steps%20towards%20application%20of%20MiCAR/1057527/Statement%20on%20timely%20preparatory%20steps%20towards%20the%20application%20of%20MiCAR%20to%20asset-referenced%20and%20e-money%20tokens.pdf
They should be implemented in the current or an updated version of the SigmaUSD protocol. This would make SigmaUSD one of the first EU compliant stablecoins.
I tried to convert my sigma RSV to ERG so I sent my RSV token to the address provided by the smart contract.
The transaction was executed but the funds are now stuck in a proxy address and I haven't received my ERG.
I sent 0.15 ERG to the proxy address and then tried the refund process but it doesn't work, it gives me an error.
The proxy address is:
2Q6YZQL7Tg81drkFyY1ydQcfJvnaeYYWmQzsnq9vN2t4pYUsfqxu2Rzp412VrJvfv6pHCyJGNfjhZT3ZyRGnysvKUt1FtmMNVGLfdv7XEmNQmpkPQHssHacDS5eo2cVAovrWDub9YQvnALtn7fP2ebmhJQjeiZYztuVmJBWippA66T4A6sHKpykzoRmoCnYpEPwCkXM6iqkCTPLubzhxwvHwq8CzstbS7A4ad8GpWhCVaxbh9qntoVzcpiwHYqLqfjQg5XvVJt9yRgQfG9kYYotTA4jrcRR8pxH1KDctBqc5rhcPz2PXdTLg5wJozd7aMYJ9JqoLs6YgafPHvYnuiWhLyBzq17M2UjA1mRftW2DDhErAso8LSAV65iGqtM21zw2WryUxGAte3Rs48uYsfypAXYjn3YRszN94uL638t6pYR2FzfNkruxYrfF5M73umvfNtaY1uhJmjxKNLuFcdGm4yhZxVuY6X5x6pdzCR98kBNerGwhYEdPmdMSB25BThsxxhvjBM6Dvm2L9xFgK4qnoGmHZvek4GoU7z8vWewg7nYHMB9gD4U1uHUbyUZwrUCbfH8ZHdr3a5G6yhee6MYBfgSasgSFjFftMckTox1AYpqddYyiQ3yjcKKNAauTj92DNFen4WNgci3KiCQ3NTaaUvypUr
I asked infos on the official Discord server but nobody was able to explain the issue.
This is the output of the error when I ask the refund on the refund page:
{
"success": false,
"detail": "Could not generate tx, {"error":400,"reason":"bad.request","detail":"Bad request List(PaymentRequest(9ekErCEG4i9xt52iwvtD6GCBJRn8Si1avhbdSsEYqkVsVZsmafq,-200000,List(([B@55e3349f,710000)),Map()), PaymentRequest(2iHkR7CWvD1R4j1yZg5bkeDRQavjAaVPeTDFGGLZduHyfWMuYpmhHocX8GJoaieTx78FntzJbCBVL6rf96ocJoZdmWBL2fci7NqWgAirppPQmZ7fN9V6z13Ay6brPriBKYqLp1bT2Fk4FkFLCfdPpe,1200000,List(),Map())). java.nio.BufferUnderflowException"}"
}
Thanks in advance for any help
The items in the Language selection dropdown are not visible because the unselected items have the same color as the background: white. Probably just a styling issue.
I am using Chrome Version 90.0.4430.212 (Official Build) (64-bit), on Ubuntu 20.04.02 LTS. It works with Firefox 88.0.1 (64-bit), this issue is just Chrome-related (WebKit engine?).
SigRSV 1-5 = request.undefined
SigRSV 5-13 = request. Too little value!
export const minErgVal = 33000
for (let i = 0; i < tx.requests.length; i++) {
if (tx.requests[i].value < minErgVal) throw new Error("The amount you're trying to mint is too small!")
}
It would be nice to have multiple language support in sigmausd.io
Fluent in Swedish and English. I also have experience working as a proof reader and translator in both languages.
I encountered this problem during usage of Chrome browser, Firefox works fine (reason mentioned below).
Browser is sending following Accept-Language request header "sk-SK;sk" (for comparison Firefox is only sending "sk").
i18n tries to fetch "sk-SK" and fail with the following error (because node backend return some default html instead of json - the locales/sk-SK/translation.json path don't exists):
Next it tries to use "sk" language and succeed. However the language swapping select stay with "EN" option selected:
So in case you want to swap your language to English, you have to select Slovak/Swedish language (swapping select pretends to be checked on "EN" option) and then select "EN" option. This can confuse users to think that there isn't English localization available.
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.