The contingency fee is based on an agreement that provides about $3.5 billion to the province.