も[同然「どうぜん」]だ => The same as saying A, as good as A N2
Adjectival, Descriptions
[代「か」]わり => Not A, but B, B in place of A, Instead of A, B; In exchange for A, B N3
Comparison, Exchange