we've been working on an agent system that can explore and monitor the graph of dependencies a token can have, such as the layerzero DVN.
a tough problem since this has to be done custom for every token, even from the same issuer/protocols. can't make any assumptions since you don't know what peripheral contracts may exist that introduce risks.
lets look at centrifuge JAAA and deSPXA for example:
- both use six contracts between the token mint function and the cross-chain mint calls
- has a multiadapter contract which checks how many message relayers have to verify before a mint goes out (layerzero, axelar, and chainlink)
- configurations are constantly changing. JAAA used to require two adapters but got changed last week to only rely on layerzero (as a 2/2 dvn)
we're still iterating and pushing hard to get this tool out to defi teams asap, and are taking early feedback and examples (dm me).