[x] after minting $BB, a check to see if the holder is delegated to someone on the $BREAD contract should be performed , if they are delegated then after minting , a delegation to that holder should be performed instead of the self delegation
[x] A test should be added to confirm this behavior
[x] #90
[x] The delegation entry point for the $BB contract should be disabled similarly to transfer
This behavior does not guarantee 100% synced delegation behavior, as that would require the bread contract to call the buttered bread contract, which is an undesirable implementation pattern. This is a compromise, assuming that the user performs the LP deposit after delegation, or that partial withdraws \ new deposits will sync the delegation state.
This behavior does not guarantee 100% synced delegation behavior, as that would require the bread contract to call the buttered bread contract, which is an undesirable implementation pattern. This is a compromise, assuming that the user performs the LP deposit after delegation, or that partial withdraws \ new deposits will sync the delegation state.