Finance Library Cancel Transfer
- VictorShneerOP 2
Hi Finance team!
Suppose we have a batch and a list of instructions. What is the best way to cancel them all?
So if one party wants to cancel, what can it do? Archive the Instruction. Who will archive others? And who archives the batch?Thanks!
Victor - Johan_Sjodin 1
Hi Victor,
In the current implementation, the individuals or entities who sign the
Batch, known as therequestors, have the ability to use the consumingCancelchoice of theBatchto cancel all associatedInstructions.It’s important to note that the
requestorscould be a variety of parties, such as the{buyer, seller}of a trade or a third-party like a trade registration party. However, it is generally not desirable for a single trading party, such as thebuyer, to unilaterally be able to cancel a trade (as theBatchand itsInstructions generally represent an obligation to settle). Instead, if a single trading party wishes to cancel a trade, it could be handled with a separate “propose-accept” workflow which gathers sufficient authorization to cancel.Furthermore, while it’s possible for the
requestorstoCanceleachInstructionindividually and then archive theBatch, theCancelchoice of theBatchdoes so atomically.I hope that helps.
Johan
- VictorShneer 1
Thanks for the answer, Johan. It helps a lot!
But what if I have
Instructionswhererequestorsare not taking action? Routed Steps case. Alice sends tokens to Bob through a chain:
Alice → AliceBank → CentralBank → BobBank → BobI have an instruction (AliceBank-BobBank leg) where the
senderandreceiverare not in therequestors. How can I effectively cancel the transfer from their perspective? For example, AliceBank rejects allocation and wants to stop the transfer.Thanks!
Victor - Johan_Sjodin 1
If any
Instructionin theBatchis either not approved or not allocated, the settlement of theBatchwill fail. Therefore, ifAliceBankleaves theirInstructions unapproved or unallocated, the transfer will not take place. Currently, the only way to indicate rejection is by leaving the corresponding instructions unapproved or unallocated.For the particular case where
AliceBankshould be able to reject acting as an intermediary for a particular transfer (after the batch has been instantiated), it may be necessary to implement a separate workflow initiated byAliceBankwhich requests that therequestorsamend the route or cancel the entireBatch(including its Instructions).