Core

The core contract holds the trading and settlement logic of the protocol. It's the only contract that can execute functions in the vault contract and transfer funds.