Artificial intelligence technology to manage smart contracts