Skip to content

Gas comparison between InvestProvider and PoolzBack

Andrew Dmytrenko edited this page Mar 4, 2025 · 8 revisions

InvestProvider and PoolzBack Gas Results

In the tests, the gas price was set to 3 gwei, and the BNB price was set to $700.

BSC mainnet PoolzBack address:

0xCc8f6A82Ff034C15dFDAcBcab29F7Ea28C616EF7

Create IDO Pool

Description gas usage % Difference Num Logs ~USD Price Transaction
Old CreatePool 385,869 - 3 $0.81 link
CreateNewPool with msg.sender as owner 427,955 +10.89% 3 $0.90 link
CreateNewPool with different signature owners 428,992 +11.17% 3 $0.90 link

Invest in Pool

Description ~gas usage % Difference Num Logs ~USD Price Transaction
Old Invest ERC20 297,256 - 9 $0.62 link
Old Invest ETH 363,915 +22.46% 9 $0.76 link
Invest v1.0.1 145,512 -51.05% 4 $0.31 link
Invest v1.1.0 424,150 +42.72% 9 $0.91 link
Invest with double sig (cancun evm) 397,879 +33.85% 9 $0.85 link
Transfer directly to vault (cancun evm) 375,626 +26.38% 9 $0.78 link
Invest v1.2.0 222,106 -25.28% 4 $0.48 link
Invest v1.2.1 226,184 -23.91% 4 $0.48 link

Clone this wiki locally