Giter Club home page Giter Club logo

uniscam-interface's People

Contributors

artistic709 avatar brianmcmichael avatar callil avatar chikeichan avatar christophsiegenthaler avatar cryptocatvc avatar dependabot[bot] avatar dy avatar frankwei98 avatar garfield550 avatar hacktar avatar hav-noms avatar haydenadams avatar ianlapham avatar kennyt avatar kodamasakuno avatar lint-action avatar littlesound avatar lychees avatar micahzoltu avatar mikedemarais avatar mirshko avatar moodysalem avatar nekomeowww avatar noahzinsmeister avatar paulrberg avatar tpmccallum avatar tranquang9a1 avatar wjmelements avatar xiaotiandada avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

uniscam-interface's Issues

Info 和 Mining入口的超链接跟随 网络一齐切换

目前切换钱包的网络中之后,交易界面也会同步切换到对应的网络环境。但是不同网络下的INFO页面的链接是不同的,因此我希望在检测到用户切换网络之后,可以将Info 和 Mining的链接也切换到对应的网络下,如果没有对应页面则不显示入口。
https://heco-info.unisave.exchange/
https://bsc-info.unisave.exchange/
https://eth-info.unisave.exchange/
https://bsc-mining.unisave.exchange/
https://eth-mining.unisave.exchange/
image

交易手续费

Uniscam 目前每个 pair 的手续费都是可以调整的,但是前端似乎依然 hard code 成 0.3%。

image

https://bscscan.com/tx/0x1d53babc3c9457711bfdd4ac4276e023eb423375659d38fb339c35295d089e15

所以实际交易出的结果比前端显示的要多一点,例如上面这个例子里,前端显示 99.x,而实际得到了 100.x。。

我们可以从 info 里查询到具体 pair 的地址。
https://info.y3d.finance/pair/0x1f9dd5967249c83f4e62c4ac55fbfc9a12d67c59

截屏2020-11-03 下午5 52 41

然后从 fee 这个参数查询到具体的手续费
https://bscscan.com/address/0x1f9dd5967249c83f4e62c4ac55fbfc9a12d67c59#readContract

截屏2020-11-03 下午5 52 03

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.