智能合约 - 股息现金付款
我想知道是否可以设置一份智能合同,该合同每当公司决定进行股息付款时,将现金(而不是令牌)直接返还给NFT所有者的钱包。
如果是这样,怎么可能?我需要在建立智能合约时指定此现金分配?
I am wondering if it is possible to setup a smart contract which returns cash (and not a token) directly to the wallet of the NFT's owner every time a company decides to do a dividend payment (for example).
If so, how is it possible? Do I need to specify this cash distribution while setting up the smart contract?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您不能从EVM智能合约中退还法定资金,但是您可以将本机代币(例如ETH上的ETH上的以太坊)转移。考虑以下功能:
这将ETH转移到
_TO
地址,然后此地址可以将其交换给fiat货币。逻辑何时,如何和谁呼叫提取
方法应该并且可以在合同中实现。这为所有合同用户提供了透明度。You can't return fiat money from EVM smart contracts, however you can transfer native token, like ETH on ethereum. Consider following function:
This will transfer ETH to
_to
address and then this address can exchange it to fiat money. The logic when, how and who should callwithdraw
method should, and can, be implemented in contract. That gives transparency for all contract users.