Hi! I have a function to harvest a accumulated profit just for holding an NFT, what I want is to send an "amount" of ETH from an specific sender (creator) to a recipient (owner). The button "harvest" take action from the owner account so if I use the transfer function the eth amount to send would be from the owner account to the same account, what I need is to send the amount from creator to owner when the owner push the harvest button, do you know how to solve it? The safeTransferFrom should be a good solution for?

Jun 17, 2023, 1:14 PM

© 2024 Draquery.com All rights reserved.