The curing agent (Y) can react with the crosslinkable functional group.
Such amine-terminated curing agent can also be capped with a monoepoxy.