As I understand, all the calculations are made in tokens?
Apparently that's how it works.
Yes! All settlements within the ecosystem are in IDM tokens. Payment for the service is in tokens. A smart contract calculates the number of tokens required for a payment and accepts the payment.