The San Francisco Giants gave out the biggest contract in franchise history as Buster Posey's first big free agent move as president of baseball operations.