transferredamount by a duration value to get a new duration value. It is then necessary to convert the tez amount and the duration value into integer values in order to multiply then.
mutez_to_natfunction. For example the following converts the transferred amount to a
duration, and utez for
duration(line 4) is done by multiplying
t * dby
intis done with operators
natis done with