1. frontend add constants. 2. MAX_TIMESTAMP as 1999999999