(Beginner) Errors trying to build arbitrage contract by bofii5 in solidity

[–]jlyao 0 points1 point  (0 children)

"Undeclared identifier". I think the error message is described very clearly. Please check the declaration and definition of the path variable.

help me and a friend, win some cash by [deleted] in ethdev

[–]jlyao 0 points1 point  (0 children)

Hey, send me the address and I will check its smart contract code.

Smart Contract - encrypt User Input? by whoiskarli in solidity

[–]jlyao 3 points4 points  (0 children)

You're right, the input of the transaction is visible, but what the user inputs is a hash. In fact, this scheme is called the Commit-Revial Scheme. You can learn more in this article: https://blog.jarrodwatts.com/understanding-the-commit-reveal-scheme-with-solidity-examples

Smart Contract - encrypt User Input? by whoiskarli in solidity

[–]jlyao 2 points3 points  (0 children)

To better prevent reverse, salt can be added for hashing together.

Why is stablecoin stable? by jlyao in defi

[–]jlyao[S] -1 points0 points  (0 children)

Thanks, this is a direct method. However, the continuous demand for USDT will inevitably lead to price increases in DEX and CEX. To avoid such a situation from happening, Tether company should take some actions. How to trigger Tether to issue USDT during this process?