RocketFin Interview Question

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