Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Methods of decreasing gas costs #9

Open
KentonPrescott opened this issue Apr 6, 2020 · 0 comments
Open

Methods of decreasing gas costs #9

KentonPrescott opened this issue Apr 6, 2020 · 0 comments

Comments

@KentonPrescott
Copy link
Contributor

Using back-of-the-napkin calcs, we can estimate gas costs to run the cage-keeper.

Based off of 10k funded Vault ecosystem, let's make the following assumptions of the system state at time of shutdown

Avg Gas Price = 15 GWei
Collateral Types = 3

Flop auctions = 0
Flap auctions = 0
Flip auctions = 1000 (10%)
Underwater Vaults (after yanking auctions) = 2500 (25%) 

Minimum ETH ~= 15 ETH

A couple ways to improve these gas costs:

  1. Discrimination against low-value auctions/vaults
  2. Batching transactions (saves 21k gas per call)
  3. Wait to start the cage-keeper after network congestion dies down.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant