yfii / dfi Goto Github PK
View Code? Open in Web Editor NEWdfi.money
Home Page: http://dfi.money/
dfi.money
Home Page: http://dfi.money/
TxGasUtil - Trying to call a function on a non-contract address { "originalError": { "errorKey": "transactionErrorNoContract", "getCodeResponse": "0x" } }
合约地址是:0x3d367c9529f260b0661e1c1e91167c9319ee96ca
和yfii.finance pool3一样,
质押的也是YFII 0xa1d0E215a23d7030842FC67cE582a6aFa3CCaB83
分红的代币是0x72Cf258c852Dc485a853370171d46B9D29fD3184
没有倒计时
质押进去需要3天后解锁
canWithdrawTime[用户地址] 拿到的是用户可以提现的时间戳
如果不为0,且小于当前时间戳(当前时间大于canWithdrawTime),则unstake以及exit这两个按钮都是可以点的,否则这两个按钮不可点.
领取奖励按钮以及stake是一直可以点的
更多介绍见(需要UI 产品大家一起讨论
首页vault需要支持两个区切换
进入lp区,需要先弹提示,
提示内容大概是: lp挖矿是有损的(这个需要文案提供)
用户确认后才可以进入
入金方式支持3种
可能需要换一个图 说明系统是如何运作的
比如 eth/usdt的
用户存 usdt->自动帮忙换成eth/usdt的lp -> uniswap 质押挖矿 -> uni ->换成 eth/usdt lp继续复利挖矿
有个UI上的建议,可以把支持 iToken 挖矿的入口放到dfi 的页面里来。
例如 s.finance 用 itoken 挖 SFG ,入口可以是一个跳转链接,或者直接前端操作投到sfg合约里。数据展示上显示itoken本身的APY+挖SFG的APY来吸引用户。
以 USDT 为例,如果你投入 USDT,iUSDT 本身有14%的年化,再放到s.finance挖 SFG 有22%的年化。加起来35%这个足够有吸引力了。harvest 和 pickle 都是这么做的,把两项APY加起来,或是分别列出来。
个人认为这点还是蛮重要的:
还有就是早日把 LP 池的入口也放到首页来吧,首页显示的数据不怕多,就怕都藏着找不到
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.