canceled_transfers
Represents a crosschain transfer that has been canceled.
A cross-chain transfer that is past its deadline can be canceled if it never was applied (with apply_transfer
on the last chain). To do so, cancel_transfer
needs to be called (instead of apply_transfer
) on the chain that would be next in the flow.
For example, if a chain going A -> B -> C expired after init_transfer
and never got applied on chain B, cancel_transfer
must be called on chain B. If it instead expired after applying it on chain B, it must be canceled on chain C.
See also
applied_transfers
for an example flow of normal crosschain transfers