telemint
telemint copied to clipboard
Using ~ operator to overwrite balance value
I went through the entire smart contracts code and only found a missing op read check that was reported in pr #5.
Therefore, I decided to propose to slightly improve the work with balances using the ~ operator.
I went through the entire smart contracts code and only found a missing op read check that was reported in pr #5.
Therefore, I decided to propose to slightly improve the work with balances using the ~ operator.
Nice, but it looks a bit misleading in the case of maybe_end_auction
when the subsequent two function arguments are changed too. I think it is a bit cleaner the way it is now.
Hypothetically, it would be interesting to be able to write something like this
(my_balance, owner_address, auction)~maybe_end_auction(royalty_params, -1)