Add base repo contract