Skip to content

why not wait for token notification for withdrawal #1

Description

@shunjizhan

Hi friend, I am trying to study this awesome project, and I am a little confused about the withdrawal logic https://github.com/evaafi/contracts/blob/main/contracts/core/master-withdrawal.fc#L214-L227

Why can we update state right after sending jetton to user, without waiting for it to arrive (notifiaction)? Are we assuming the token transfer will succeed for sure?

Thank you in advance for any clarification : )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions