current position:Home>The for cycle leads to relatively high handling charges

The for cycle leads to relatively high handling charges

2022-02-03 23:28:03 Q & A of Denglian community

There is a circular reward in the contract , as time goes on , The number of cycles will increase , As a result, the handling fee has also increased , If you put the calculation into another contract , Call this view Type of calculation contract , Can the handling charge be reduced




Take the answer 1:

Can not be .

use view When the function is called alone, you don't have to pay gas, But you still have to pay in the transaction .




copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032328014564.html

Random recommended