TON executes contract logic through asynchronous messages. A single transaction can trigger a chain of messages between contracts, which may be processed across several blocks while preserving a defined order within each chain.



STONfi uses this model when executing complex routes. A swap can generate messages that move funds into a pool, perform internal conversions, update farming positions and return the final result. Each step is a message to a specific STONfi contract, and the whole chain either completes or reverts as one unit.

Applications using the STONfi SDK only see the initial request and the final confirmation. The asynchronous sequence in between is handled by the network and the contracts, remaining visible for on chain analysis but hidden from the everyday user flow. $GRAM $DOGS
GRAM-2.55%
DOGS-4.66%
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • Comment
  • Repost
  • Share
Comment
Add a comment
Add a comment
No comments
  • Pinned