Module contract

Source
Expand description

This module contains logic on contract management.

Functionsยง

balance_decrease
Decrease the asset balance for a contract.
balance_increase
Increase the asset balance for a contract. Returns new balance, and a boolean indicating if a new entry was created.