Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save adairrr/d3f0b85a0903f3d546da001a5f675d41 to your computer and use it in GitHub Desktop.
Save adairrr/d3f0b85a0903f3d546da001a5f675d41 to your computer and use it in GitHub Desktop.
Abstract Autocompounder Implementation Comparison

Vanilla CosmWasm

Analysis using SCC of https://github.com/spectrumprotocol/contracts excluding tests.

Language Files Lines Blanks Comments Code Complexity
Rust 78 9386 1106 376 7904 585
JSON 60 5244 0 0 5244 0
TOML 14 565 91 50 424 6
Markdown 1 155 41 0 114 0
Total 153 15350 1238 426 13686 591

Estimated Cost to Develop (organic) $421,391

Estimated Schedule Effort (organic) 9.90 months

Estimated People Required (organic) 3.78

Processed 463786 bytes, 0.464 megabytes (SI)

Abstract Implementation

Analysis using SCC of https://github.com/4t2-finance/modules excluding tests.

Language Files Lines Blanks Comments Code Complexity
Rust 15 1857 242 143 1472 58
JSON 8 2625 0 0 2625 0
TOML 2 131 18 28 85 1
Markdown 1 26 7 0 19 0
Protocol Buffers 1 9 1 3 5 0
Total 27 4648 268 174 4206 59

Estimated Cost to Develop (organic) $122,083

Estimated Schedule Effort (organic) 6.19 months

Estimated People Required (organic) 1.75

Processed 155162 bytes, 0.155 megabytes (SI)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment