New smart contract updated & PNUT-yield is halved successfully

in defi •  4 years ago 

New smart contract updated & PNUT-yield is halved successfully.jpeg

It is well know that, The first version of smart contract do not consider the Tron's constraint that any contract should run less than 50 ms. While the amount of clients is increasing, the delegation behavior always result in "Time out" error and the transaction fee is lost. Therefore, we upgraded our contract at the time when the PNUT-yield is halved.

After two days of delicate testing and deploying, brand new Nutbox has been online since 2020-11-27 10:00 (UTC+8). The PNUTs generated before the contract upgrading ( 2020-11-24 16:37(UTC+8)) has already distributed to the individual wallets. The PNUTs issued after that is stored in the smart contract. You can withdraw them any time you like.

mine123.png

Since new algorithm is implemented, the new smart contract eliminates the probability of contract failure. On the other hand, new algorithm also reduced the fee of calling the delegation contract from 6-7 TRX to 3-4 TRX, and reduce the fee of calling the withdrawing contract to 4-5 TRX. Under the tough condition that Tron has increase the miner reward 4 times(https://tronscan.org/#/proposal/47https://tronscan.org/#/proposal/48), with our new algorithm, we still reduced our operation fee about 1/6-1/10.

tronscan pnut.png

Meanwhile, we updated the contents of "About" menu, the "delegateList" and "Nutbox Proposal System" web links are added.

about.png

Of course, after this upgrade, Nutbox has entered the era of every 10 PNUTs per Tron block.

In this upgrading process, we met many problems. However all of those are solved. It is expected that all of our community members will bring the Nutbox to the greater glory.

Nutbox Guide

CN | https://blog.nutbox.io/hive-180932/@honoru/steem-keychaine-tron-sp-tron-nutbox-pnut
EN | https://blog.nutbox.io/nutbox/@wherein/the-nutbox-is-operating-and-the-steem-y-era-is-coming-or-nutbox-steem-y

Nutbox introduction

CN | https://blog.nutbox.io/cn/@nutboxs/nutbox--y-combinator-of-steem-blockchain-20201016t055718157z
EN | https://blog.nutbox.io/cn/@wherein/nutbox--y-combinator-of-steem--will-coming-soon-20201017t190449041z
KR | https://blog.nutbox.io/hive-196917/@ayogom/steem-nutbox-y-combinator
DOCS | https://docs.nutbox.io
Webside | https://nutbox.io/

Contact US

Steem:https://blog.nutbox.io/@nutbox
Discord:https://discord.gg/zPkMuGY
Telegram:https://t.me/joinchat/PrBejBh_Grp6lFZEGArDpA

Vote For US

Please vote for our witness nutbox and smt-wherein:

-nutbox

https://steemconnect.wherein.mobi/sign/account-witness-vote?witness=nutbox&approve=1

-smt-wherein

https://steemconnect.wherein.mobi/sign/account-witness-vote?witness=smt-wherein&approve=1

https://steemitwallet.com/~witnesses

众所周知,Nutbox(nutbox.io)第一版合约没能考虑到Tron Blockchain 50ms合约执行时间的限制,随着代理用户来越来多,代理时经常发生Time out错误,导致用户损失手续费。故借着PNUT产出减半的时间节点,我们对Nutbox(nutbox.io)做了一次合约升级。

经过两天的完全测试、部署,新版的Nutbox于北京时间2020-11-27 10:00点正式上线。此次用新合约替换了旧合约,社区用户截止11月24日下午4点37分(北京时间)所挖的PNUT皆直接转入个人账户。而之后所挖的PNUT在PNUT收益处可见,用户可以自行选择提现或者保留在合约中。

6xIO1jzxZ77hxajh__thumbnail.png

新版合约,使用了全新的算法,解决了在nutbox.io代理SP,调用挖矿合约偶尔失败的问题。也因此,调用代理合约的费用由6-7TRX降低至3-4TRX,提现费用降低至4-5TRX(在11-25日上午2:00点(新加坡时间),波场通过了一项将矿工费提升自原来4倍的提案,且已经生效:https://tronscan.org/#/proposal/47、https://tronscan.org/#/proposal/48)。相当于手续费降低为之前的1/6-1/10。

bq0PqIp7jrpCrfTN__thumbnail.png

同时,我们在界面的关于栏目增加了提案改善系统和代理人列表信息,方便大家使用。

RAGds3iALsDotMYT__thumbnail.png

当然,此次Nutbox更新正值减半的关键节点,Nutbox正式迈入一个区块奖励10 PNUT的时代。

此次更新过程中,我们遇到过很多难题,最后都被我们解决了。希望在往后的日子里,社区继续与我们一道,让Nutbox迈向更大的辉煌。

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Great work! It's better than before!

Resteemed :-)

Thank you!