Skip to content

Incoherency(?) around the use of "msg" withdrawals documentation #21

@Prometheo

Description

@Prometheo

https://docs.near-intents.org/near-intents/market-makers/verifier/deposits-and-withdrawals/withdrawals#refunds-on-failed-withdrawals-warning

there seems to be some incoherency in the docs around withdrawals, first it is stated that:

  1. If msg is specified, the contract will use ft_transfer to process the withdrawal
  2. If msg is not specified, or "msg": null in json, the withdrawal will be done using an ft_transfer_call function call

a couple of paragraphs later this line comes in:

However, this is not always the case. Due to complexities related to the asynchronous and sharded nature of the NEAR blockchain, refunds will only be processed when msg is unspecified or has a value null, i.e., when ft_transfer is used for processing the withdrawal.

normally ft_transfer_call requires a msg.

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