Platform: Code4rena
Start Date: 17/02/2021
End Date: 22/02/2021
Period: 6 days
Status: Completed
Pot Size: $20,000 USDC
Participants: 8
Id: 1
League: ETH
Pot Size
$20,000
Start Time
Feb 17, 1400 UTC
Stop Time
Feb 21, 2359 UTC
Judge(s)
Zak Cole
GitHub
As a system, Slingshot aggregates prices for available token pairs from a variety of decentralized exchanges and automated market making protocols.
Slingshot.sol
defines the general logic by which a transaction is
handled and executed.
The specific logic for each DEX/AMM is defined within its own corresponding module that is stored in the module registry.
Slingshot.sol
references these modules to appropriately execute a trade.
Slingshot.sol
also performs some safety checks to account for slippage
and security. Slingshot.sol
expect parameters to be passed from the Slingshot backend that provide the details related to how a given transaction should be executed.
As this code conforms to NatSpec formatting specifications, lower level details regarding function can be found as comments within the code itself.
Should you identify a vulnerability or bug and have a POC that demonstrates the exploit, please create a private repository and share the POC with the contest Judge. When you have shared access, please also notify the judge on Discord to let them know you have shared it.