Skip to content

gas prices are high #466

Open
Open
@Akira-Taniguchi

Description

@Akira-Taniguchi

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

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions