To link CoastDAO with the DssCdpManager and listen to its NewCdp and LogNote events, you can create event listeners in your contract.
Listen to the NewCdp Event:
To capture the NewCdp event from the DssCdpManager contract, which provides information about newly created CDPs, set up an event listener like this:
eventNewCdp(addressindexed usr,addressindexed own,uintindexed cdp);usr:user addressown:proxy addresscdp:vault idThe ilk type is provided by the following eventand needs to be parsed to obtain it: