部分挖矿合约存在恶意代码,能随时提走你的本金。千万不要贪图日化10%的收益,而被盗走所有本金,您一定要学会判断智能合约代码是否安全。
https://etherscan.io/address/0x0001fb050fe7312791bf6475b96569d83f695c9f#code (下图中红框里所有代码即为合约源码)
https://etherscan.io/address/0xe8a64280416c400d5390ac3d17eecb323cd39014#code
第三步:打开https://www.diffchecker.com/ 将YFI与LFI代码分别粘贴到左右各框,点”Find difference”,即可看到颜色标记的不同之处。比较结果如下图所示,详见:https://www.diffchecker.com/hfsR5yta
Some mining contracts have malicious codes, which can withdraw your staking assets at any time. You need know how to judge whether the smart contract codes are secure for avoiding the loss of your crypto.。
First step: Find audited contract codes, such as YFI, YFII token, which are audited by well-known institutions. The address of the YFI mining pool is:
https://etherscan.io/address/0x0001fb050fe7312791bf6475b96569d83f695c9f#code (The code in the red box is the source code of the YFI pool contract)
Step two: Find out the smart contract code that you are going to mine and compare it with the YFI’s code.The code address of the LFI mining pool is:
https://etherscan.io/address/0xe8a64280416c400d5390ac3d17eecb323cd39014#code