Giter VIP home page Giter VIP logo

sigma-usd's People

Contributors

anon-real avatar arobsn avatar bdkent avatar daniel-huber avatar daskre avatar deadit avatar eccehomo1984 avatar franciscoqv avatar glasgowm148 avatar nitram147 avatar ykris45 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sigma-usd's Issues

How to release pending transactions?

image

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.

Texts don't load if not main page is loaded first

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

Incorrect insufficient balance error

Hi,

I have 500 SigUSD in my Nautilus wallet. I am trying to buy Erg worth 350 SigUSD from the UI but I get the following error:

Not enough balance in the NAUTILUS wallet! See FAQ for more info

Screenshot from 2023-03-23 20-01-00
Screenshot from 2023-03-23 20-01-10

Any help would be appreciated! Thanks!

Polish translation

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).

Font not supporting Czech&Slovak&Swedish characters

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.
image
However the original inter font from google fonts support all characters, see:
image
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:

  • Clear user experience

Disadvantages:

  • Full variant of fonts is 5-10 times bigger in size, so it will cause first load of the sigmausd.io site to take longer (however fonts could probably be compressed by some tool)

i18n Translation Updates

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:

dashboard reserve section:

  • "reserves"
  • "baseReserves"
  • "baseReservesTooltip"
  • "baseReservesUsdTooltip"

dashboard history mining status:

  • "miningStatPending"
  • "miningStatMined"
  • "miningStatRefundMined"

FAQ page:

  • "faq"
  • "faqTag"

Refund page:

  • "refund"
  • "refundDescription"
  • "refundForm"
  • "refundToPlaceholder"
  • "refundFromPlaceholder"
  • "refundSubmit"

When you have a moment, these files need to be updated with the translations.

Thanks!

[SigmaRSV] Specify amount of ERG to be used for minting

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.
image

Funds stuck in proxy address - Refund Not Working - Unable to read error message

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..."
image

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!

Make SigmaUSD the first MICA compliant global stablecoin

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.

Funds stuck, 0.15 ERG sent to proxy address, refund process not working

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

Available languages are not visible in the dropdown

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?).

Screenshot:
menu

Not displaying the right error message for small buy attempts

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!")
    }

Swedish translation

Fluent in Swedish and English. I also have experience working as a proof reader and translator in both languages.

UI problem with translation - fallbackLng not working

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):
image

Next it tries to use "sk" language and succeed. However the language swapping select stay with "EN" option selected:
image

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.