Files
serai/processor/ethereum/router
Luke Parker 7e01589fba Erc20::approve for DestinationType::Contract
This allows the CREATE code to bork without the Serai router losing access to
the coins in question. It does incur overhead on the deployed contract, which
now no longer just has to query its balance but also has to call the
transferFrom, but its a safer pattern and not a UX detriment.

This also improves documentation.
2025-01-27 11:58:39 -05:00
..
2025-01-27 02:08:01 -05:00
2024-09-19 23:36:32 -07:00
2024-10-30 21:35:43 -04:00

Ethereum Router

The Router contract is extensively documented to ensure clarity and understanding of the design decisions made. Please refer to it for understanding of why/what this is.