And as the state court had held that the statute was a condition imposed upon the oil company doing business within the state, we said of the statute that, 'whatever its limitations were upon the power of contracting, whatever its discriminations were, they became conditions of the permit and were accepted with it.'