Smart contract that adds the ability to do basic math on values within FCT execution
The values ins and value out supports decimals, making it easy to support various ERC20 tokens.
For example is possible to add 2 USDC and 2 DAI although they use different decimals.
The result of the calculation can be in any chosen decimals (one of the inputs or a different one).
Because the blockchain support only whole numbers, use mulAndDiv when there is a need to multiple a value by a fraction. For example: 1000 * 2.3 can be done by calculating 1000 * 23 / 10