Skip to content

Instantly share code, notes, and snippets.

@ernestognw
Created May 14, 2025 15:06
Show Gist options
  • Save ernestognw/4dd75a43472aa26b53d3b0c013fa0803 to your computer and use it in GitHub Desktop.
Save ernestognw/4dd75a43472aa26b53d3b0c013fa0803 to your computer and use it in GitHub Desktop.
········································································································································································
| Solidity and Network Configuration │
···················································································|·················|···············|·················|································
| Solidity: 0.8.24 · Optim: true · Runs: 200 · viaIR: true · Block: 30,000,000 gas │
···················································································|·················|···············|·················|································
| Methods │
···················································································|·················|···············|·················|················|···············
| Contracts / Methods · Min · Max · Avg · # calls · usd (avg) │
···················································································|·················|···············|·················|················|···············
| $_mint(address,uint256) · - · - · 118,620 · 1 · - │
···················································································|·················|···············|·················|················|···············
| $ERC20Votes · │
···················································································|·················|···············|·················|················|···············
| delegate(address) · 48,621 · 111,216 · 91,959 · 13 · - │
···················································································|·················|···············|·················|················|···············
| transfer(address,uint256) · 103,863 · 103,875 · 103,872 · 4 · - │
···················································································|·················|···············|·················|················|···············
| $_useCheckedNonce(address,uint192,uint64) · 45,701 · 45,960 · 45,874 · 3 · - │
···················································································|·················|···············|·················|················|···············
| $_useCheckedNonce(address,uint256) · 44,950 · 45,220 · 45,130 · 3 · - │
···················································································|·················|···············|·················|················|···············
| $_useNonce(address,uint192) · 28,995 · 46,298 · 34,830 · 6 · - │
···················································································|·················|···············|·················|················|···············
| $_useNonce(address) · - · - · 45,202 · 2 · - │
···················································································|·················|···············|·················|················|···············
| $GovernorNoncesKeyedMock · │
···················································································|·················|···············|·················|················|···············
| castVoteBySig(uint256,uint8,address,bytes) · 115,843 · 128,024 · 121,500 · 8 · - │
···················································································|·················|···············|·················|················|···············
| castVoteWithReasonAndParamsBySig(uint256,uint8,address,string,bytes,bytes) · 117,980 · 124,706 · 121,343 · 4 · - │
···················································································|·················|···············|·················|················|···············
| execute(address[],uint256[],bytes[],bytes32) · - · - · 69,756 · 6 · - │
···················································································|·················|···············|·················|················|···············
| propose(address[],uint256[],bytes[],string) · - · - · 69,083 · 9 · - │
···················································································|·················|···············|·················|················|···············
| Deployments · · % of limit · │
···················································································|·················|···············|·················|················|···············
| $ERC20Votes · - · - · 2,195,340 · 7.3 % · - │
···················································································|·················|···············|·················|················|···············
| $GovernorNoncesKeyedMock · - · - · 4,097,061 · 13.7 % · - │
···················································································|·················|···············|·················|················|···············
| CallReceiverMock · - · - · 257,493 · 0.9 % · - │
···················································································|·················|···············|·················|················|···············
| ERC1271WalletMock · - · - · 294,874 · 1 % · - │
···················································································|·················|···············|·················|················|···············
| Key │
········································································································································································
| ◯ Execution gas for this method does not include intrinsic gas overhead │
········································································································································································
| △ Cost was non-zero but below the precision setting for the currency display (see options) │
········································································································································································
| Toolchain: hardhat │
········································································································································································
········································································································································································
| Solidity and Network Configuration │
···················································································|·················|···············|·················|································
| Solidity: 0.8.24 · Optim: true · Runs: 200 · viaIR: false · Block: 30,000,000 gas │
···················································································|·················|···············|·················|································
| Methods │
···················································································|·················|···············|·················|················|···············
| Contracts / Methods · Min · Max · Avg · # calls · usd (avg) │
···················································································|·················|···············|·················|················|···············
| $_mint(address,uint256) · - · - · 118,685 · 1 · - │
···················································································|·················|···············|·················|················|···············
| $ERC20Votes · │
···················································································|·················|···············|·················|················|···············
| delegate(address) · 48,430 · 111,348 · 91,991 · 13 · - │
···················································································|·················|···············|·················|················|···············
| transfer(address,uint256) · 103,533 · 103,545 · 103,542 · 4 · - │
···················································································|·················|···············|·················|················|···············
| $_useCheckedNonce(address,uint192,uint64) · 44,759 · 45,026 · 44,937 · 3 · - │
···················································································|·················|···············|·················|················|···············
| $_useCheckedNonce(address,uint256) · 44,370 · 44,637 · 44,548 · 3 · - │
···················································································|·················|···············|·················|················|···············
| $_useNonce(address,uint192) · 28,385 · 45,703 · 34,230 · 6 · - │
···················································································|·················|···············|·················|················|···············
| $_useNonce(address) · - · - · 45,237 · 2 · - │
···················································································|·················|···············|·················|················|···············
| $GovernorNoncesKeyedMock · │
···················································································|·················|···············|·················|················|···············
| castVoteBySig(uint256,uint8,address,bytes) · 115,516 · 129,757 · 121,994 · 8 · - │
···················································································|·················|···············|·················|················|···············
| castVoteWithReasonAndParamsBySig(uint256,uint8,address,string,bytes,bytes) · 117,828 · 124,943 · 121,386 · 4 · - │
···················································································|·················|···············|·················|················|···············
| execute(address[],uint256[],bytes[],bytes32) · - · - · 70,051 · 6 · - │
···················································································|·················|···············|·················|················|···············
| propose(address[],uint256[],bytes[],string) · - · - · 67,974 · 9 · - │
···················································································|·················|···············|·················|················|···············
| Deployments · · % of limit · │
···················································································|·················|···············|·················|················|···············
| $ERC20Votes · - · - · 1,969,534 · 6.6 % · - │
···················································································|·················|···············|·················|················|···············
| $GovernorNoncesKeyedMock · - · - · 4,671,055 · 15.6 % · - │
···················································································|·················|···············|·················|················|···············
| CallReceiverMock · - · - · 258,116 · 0.9 % · - │
···················································································|·················|···············|·················|················|···············
| ERC1271WalletMock · - · - · 353,836 · 1.2 % · - │
···················································································|·················|···············|·················|················|···············
| Key │
········································································································································································
| ◯ Execution gas for this method does not include intrinsic gas overhead │
········································································································································································
| △ Cost was non-zero but below the precision setting for the currency display (see options) │
········································································································································································
| Toolchain: hardhat │
········································································································································································
········································································································································································
| Solidity and Network Configuration │
···················································································|·················|···············|·················|································
| Solidity: 0.8.24 · Optim: true · Runs: 200 · viaIR: true · Block: 30,000,000 gas │
···················································································|·················|···············|·················|································
| Methods │
···················································································|·················|···············|·················|················|···············
| Contracts / Methods · Min · Max · Avg · # calls · usd (avg) │
···················································································|·················|···············|·················|················|···············
| $_mint(address,uint256) · - · - · 118,620 · 1 · - │
···················································································|·················|···············|·················|················|···············
| $ERC20Votes · │
···················································································|·················|···············|·················|················|···············
| delegate(address) · 48,621 · 111,216 · 91,959 · 13 · - │
···················································································|·················|···············|·················|················|···············
| transfer(address,uint256) · 103,863 · 103,875 · 103,872 · 4 · - │
···················································································|·················|···············|·················|················|···············
| $_useCheckedNonce(address,uint192,uint64) · 45,701 · 45,960 · 45,874 · 3 · - │
···················································································|·················|···············|·················|················|···············
| $_useCheckedNonce(address,uint256) · 44,928 · 45,198 · 45,108 · 3 · - │
···················································································|·················|···············|·················|················|···············
| $_useNonce(address,uint192) · 28,995 · 46,298 · 34,830 · 6 · - │
···················································································|·················|···············|·················|················|···············
| $_useNonce(address) · - · - · 45,202 · 2 · - │
···················································································|·················|···············|·················|················|···············
| $GovernorNoncesKeyedMock · │
···················································································|·················|···············|·················|················|···············
| castVoteBySig(uint256,uint8,address,bytes) · 116,352 · 127,885 · 121,684 · 8 · - │
···················································································|·················|···············|·················|················|···············
| castVoteWithReasonAndParamsBySig(uint256,uint8,address,string,bytes,bytes) · 118,522 · 124,732 · 121,627 · 4 · - │
···················································································|·················|···············|·················|················|···············
| execute(address[],uint256[],bytes[],bytes32) · - · - · 69,756 · 6 · - │
···················································································|·················|···············|·················|················|···············
| propose(address[],uint256[],bytes[],string) · - · - · 69,083 · 9 · - │
···················································································|·················|···············|·················|················|···············
| Deployments · · % of limit · │
···················································································|·················|···············|·················|················|···············
| $ERC20Votes · - · - · 2,195,340 · 7.3 % · - │
···················································································|·················|···············|·················|················|···············
| $GovernorNoncesKeyedMock · - · - · 4,194,034 · 14 % · - │
···················································································|·················|···············|·················|················|···············
| CallReceiverMock · - · - · 257,493 · 0.9 % · - │
···················································································|·················|···············|·················|················|···············
| ERC1271WalletMock · - · - · 294,874 · 1 % · - │
···················································································|·················|···············|·················|················|···············
| Key │
········································································································································································
| ◯ Execution gas for this method does not include intrinsic gas overhead │
········································································································································································
| △ Cost was non-zero but below the precision setting for the currency display (see options) │
········································································································································································
| Toolchain: hardhat │
········································································································································································
········································································································································································
| Solidity and Network Configuration │
···················································································|·················|···············|·················|································
| Solidity: 0.8.24 · Optim: true · Runs: 200 · viaIR: false · Block: 30,000,000 gas │
···················································································|·················|···············|·················|································
| Methods │
···················································································|·················|···············|·················|················|···············
| Contracts / Methods · Min · Max · Avg · # calls · usd (avg) │
···················································································|·················|···············|·················|················|···············
| $_mint(address,uint256) · - · - · 118,685 · 1 · - │
···················································································|·················|···············|·················|················|···············
| $ERC20Votes · │
···················································································|·················|···············|·················|················|···············
| delegate(address) · 48,430 · 111,348 · 91,991 · 13 · - │
···················································································|·················|···············|·················|················|···············
| transfer(address,uint256) · 103,533 · 103,545 · 103,542 · 4 · - │
···················································································|·················|···············|·················|················|···············
| $_useCheckedNonce(address,uint192,uint64) · 44,868 · 45,135 · 45,046 · 3 · - │
···················································································|·················|···············|·················|················|···············
| $_useCheckedNonce(address,uint256) · 44,456 · 44,723 · 44,634 · 3 · - │
···················································································|·················|···············|·················|················|···············
| $_useNonce(address,uint192) · 28,363 · 45,681 · 34,208 · 6 · - │
···················································································|·················|···············|·················|················|···············
| $_useNonce(address) · - · - · 45,237 · 2 · - │
···················································································|·················|···············|·················|················|···············
| $GovernorNoncesKeyedMock · │
···················································································|·················|···············|·················|················|···············
| castVoteBySig(uint256,uint8,address,bytes) · 115,957 · 129,319 · 121,996 · 8 · - │
···················································································|·················|···············|·················|················|···············
| castVoteWithReasonAndParamsBySig(uint256,uint8,address,string,bytes,bytes) · 118,392 · 124,828 · 121,610 · 4 · - │
···················································································|·················|···············|·················|················|···············
| execute(address[],uint256[],bytes[],bytes32) · - · - · 70,051 · 6 · - │
···················································································|·················|···············|·················|················|···············
| propose(address[],uint256[],bytes[],string) · - · - · 68,063 · 9 · - │
···················································································|·················|···············|·················|················|···············
| Deployments · · % of limit · │
···················································································|·················|···············|·················|················|···············
| $ERC20Votes · - · - · 1,969,534 · 6.6 % · - │
···················································································|·················|···············|·················|················|···············
| $GovernorNoncesKeyedMock · - · - · 4,781,156 · 15.9 % · - │
···················································································|·················|···············|·················|················|···············
| CallReceiverMock · - · - · 258,116 · 0.9 % · - │
···················································································|·················|···············|·················|················|···············
| ERC1271WalletMock · - · - · 353,836 · 1.2 % · - │
···················································································|·················|···············|·················|················|···············
| Key │
········································································································································································
| ◯ Execution gas for this method does not include intrinsic gas overhead │
········································································································································································
| △ Cost was non-zero but below the precision setting for the currency display (see options) │
········································································································································································
| Toolchain: hardhat │
········································································································································································
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment