The main contract that a DODO V3 user will interact with is
D3MM, also known as the DODO V3 Market Marker.
D3MMinherits from four smart contracts, each with its own specific functions:
D3Fundingmanages asset deposit and withdrawal
D3Liquidationdefines the liquidation-related functions
D3Tradingoffers the token swapping feature for users
D3Makerprovides market making functions for pool owners
D3MMFactoryis the factory contract for pool creation and registration.
D3Tokenis an ERC-20 token which is used within D3MM pools. When a user deposits tokens into a pool, the corresponding D3Token will be minted and transferred to the user. The D3Token can be seen as an interest-bearing LP token, which is transferrable. Anyone who has D3Tokens can withdraw the corresponding original token from the D3MM pool.