Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 323 Bytes

LibSwap.md

File metadata and controls

7 lines (5 loc) · 323 Bytes

LibSwap

Description

A library used to perform multiple swaps given an array of DEX addresses and calldata. This makes it very flexible but also dangerous in that it allows arbitrary calls to any contract. The swap function should not be used without additional security checks (e.g. whitelisting of allowed DEXs).