RocketFin interview question

Q: What are tolling contracts? Q: How do you implement them in Python?