A wrongful termination is when you're terminated solely because you're a member of a protected class such as race, sex, color, etc.
Being fired for wrongdoing, lack of fulfillment of an order, someone not liking you, wearing blue socks and green eyeshadow are not wrongful terms.
However now that we've cleared that up, please tell us more about this agreement you mention.

