Hi! What is the equivalent of solidity fallback function with rust? Or, is there a method that a contract should implement to act upon receiving royalties?
Normal transfers can't trigger a method call.
So distributing royalties automatically isn't possible.
You would need to explicitly call a method to distribute them later :)
Normal transfers can't trigger a method call. So distributing royalties automatically isn't possible. You would need to explicitly call a method to distribute them later :)