You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
idea base
・The Allocator.CalculateMaxRewardsPerBlock has been added to the Since it is only called from Lockup, it should be a private method of Lockup.
・WithdrawStorage is inherited by Withdraw.
・Abolish the Metrics contract (requires verification) and make it a hash map.
・The value of Lockup.getPropertyValue is the same as Dev.balanceOf(property). You can reduce your gas bill a bit.
Description
High gas prices when performing lockups.
Solution
idea base
・The Allocator.CalculateMaxRewardsPerBlock has been added to the Since it is only called from Lockup, it should be a private method of Lockup.
・WithdrawStorage is inherited by Withdraw.
・Abolish the Metrics contract (requires verification) and make it a hash map.
・The value of Lockup.getPropertyValue is the same as Dev.balanceOf(property). You can reduce your gas bill a bit.
reference
https://twitter.com/xgarreau/status/1277518221869006850
The text was updated successfully, but these errors were encountered: