Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的任务是基于币安智能链网络制作 Solidity 智能合约。该合约必须在支持 USDT 和 BUSD 货币的情况下提取和补充资金。但在合约中必须是一种流通货币,不能在USDT或BUSD上进行拆分。
另一方面,用户必须同时使用 USDT 和 BUSD 来补充余额(或提取他的资金)。但是在合约中必须出现一个通用余额(无论您如何补充余额),利率为 1(usdt 或 busd)到 1(通用硬币,在合约中流通)。
请告诉我如何实现该功能?原则上可以吗?
提前致谢!