forked from Uniswap/permit2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gas-snapshot
115 lines (115 loc) ยท 7.7 KB
/
.gas-snapshot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
AllowanceTransferInvariants:invariant_balanceEqualsSpent() (runs: 256, calls: 3840, reverts: 886)
AllowanceTransferInvariants:invariant_permit2NeverHoldsBalance() (runs: 256, calls: 3840, reverts: 886)
AllowanceTransferInvariants:invariant_spendNeverExceedsPermit() (runs: 256, calls: 3840, reverts: 886)
AllowanceTransferTest:testApprove() (gas: 47561)
AllowanceTransferTest:testBatchTransferFrom() (gas: 159268)
AllowanceTransferTest:testBatchTransferFromDifferentOwners() (gas: 235508)
AllowanceTransferTest:testBatchTransferFromMultiToken() (gas: 231828)
AllowanceTransferTest:testBatchTransferFromWithGasSnapshot() (gas: 159818)
AllowanceTransferTest:testExcessiveInvalidation() (gas: 64136)
AllowanceTransferTest:testInvalidateMultipleNonces() (gas: 83139)
AllowanceTransferTest:testInvalidateNonces() (gas: 62679)
AllowanceTransferTest:testInvalidateNoncesInvalid() (gas: 16261)
AllowanceTransferTest:testLockdown() (gas: 145952)
AllowanceTransferTest:testLockdownEvent() (gas: 117758)
AllowanceTransferTest:testMaxAllowance() (gas: 134993)
AllowanceTransferTest:testMaxAllowanceDirtyWrite() (gas: 117582)
AllowanceTransferTest:testPartialAllowance() (gas: 105067)
AllowanceTransferTest:testReuseOrderedNonceInvalid() (gas: 69095)
AllowanceTransferTest:testSetAllowance() (gas: 89583)
AllowanceTransferTest:testSetAllowanceBatch() (gas: 133608)
AllowanceTransferTest:testSetAllowanceBatchDifferentNonces() (gas: 118583)
AllowanceTransferTest:testSetAllowanceBatchDirtyWrite() (gas: 99144)
AllowanceTransferTest:testSetAllowanceBatchEvent() (gas: 115892)
AllowanceTransferTest:testSetAllowanceCompactSig() (gas: 89543)
AllowanceTransferTest:testSetAllowanceDeadlinePassed() (gas: 56500)
AllowanceTransferTest:testSetAllowanceDirtyWrite() (gas: 72175)
AllowanceTransferTest:testSetAllowanceIncorrectSigLength() (gas: 29157)
AllowanceTransferTest:testSetAllowanceInvalidSignature() (gas: 64071)
AllowanceTransferTest:testSetAllowanceTransfer() (gas: 103161)
AllowanceTransferTest:testSetAllowanceTransferDirtyNonceDirtyTransfer() (gas: 97432)
AllowanceTransferTest:testTransferFromWithGasSnapshot() (gas: 133004)
AllowanceUnitTest:testPackAndUnpack(uint160,uint48,uint48) (runs: 256, ฮผ: 38998, ~: 39076)
AllowanceUnitTest:testUpdateAllRandomly(uint160,uint48,uint48) (runs: 256, ฮผ: 40222, ~: 40223)
AllowanceUnitTest:testUpdateAmountExpirationRandomly(uint160,uint48) (runs: 256, ฮผ: 39224, ~: 39225)
CompactSignature:testCompactSignature27() (gas: 253)
CompactSignature:testCompactSignature28() (gas: 141)
DeployPermit2Test:testAllowanceTransferSanityCheck() (gas: 101958)
DeployPermit2Test:testDeployPermit2() (gas: 4337486)
DeployPermit2Test:testSignatureTransferSanityCheck() (gas: 92819)
EIP712Test:testDomainSeparator() (gas: 5804)
EIP712Test:testDomainSeparatorAfterFork() (gas: 10787)
MockPermit2Lib:testPermit2Code(address):(bool) (runs: 256, ฮผ: 3016, ~: 3016)
NonceBitmapTest:testHighNonces() (gas: 36186)
NonceBitmapTest:testInvalidateFullWord() (gas: 63125)
NonceBitmapTest:testInvalidateNoncesRandomly(uint248,uint256) (runs: 256, ฮผ: 30308, ~: 31008)
NonceBitmapTest:testInvalidateNonzeroWord() (gas: 85665)
NonceBitmapTest:testInvalidateTwoNoncesRandomly(uint248,uint256,uint256) (runs: 256, ฮผ: 39187, ~: 39187)
NonceBitmapTest:testLowNonces() (gas: 41004)
NonceBitmapTest:testNonceWordBoundary() (gas: 42203)
NonceBitmapTest:testUseTwoRandomNonces(uint256,uint256) (runs: 256, ฮผ: 49205, ~: 51640)
NonceBitmapTest:testUsingNonceTwiceFails(uint256) (runs: 256, ฮผ: 21866, ~: 21889)
Permit2LibTest:testOZSafePermit() (gas: 24553)
Permit2LibTest:testOZSafePermitPlusOZSafeTransferFrom() (gas: 129219)
Permit2LibTest:testOZSafeTransferFrom() (gas: 38941)
Permit2LibTest:testPermit2() (gas: 22834)
Permit2LibTest:testPermit2DSLessToken() (gas: 7033)
Permit2LibTest:testPermit2DSMore32Token() (gas: 7120)
Permit2LibTest:testPermit2DSMoreToken() (gas: 6979)
Permit2LibTest:testPermit2Full() (gas: 42293)
Permit2LibTest:testPermit2InvalidAmount() (gas: 20860)
Permit2LibTest:testPermit2LargerDS() (gas: 51338)
Permit2LibTest:testPermit2LargerDSRevert() (gas: 32778)
Permit2LibTest:testPermit2NonPermitFallback() (gas: 37138)
Permit2LibTest:testPermit2NonPermitToken() (gas: 32101)
Permit2LibTest:testPermit2PlusTransferFrom2() (gas: 126951)
Permit2LibTest:testPermit2PlusTransferFrom2WithNonPermit() (gas: 148111)
Permit2LibTest:testPermit2PlusTransferFrom2WithNonPermitFallback() (gas: 174727)
Permit2LibTest:testPermit2PlusTransferFrom2WithWETH9Mainnet() (gas: 147802)
Permit2LibTest:testPermit2SmallerDS() (gas: 77694)
Permit2LibTest:testPermit2SmallerDSNoRevert() (gas: 59305)
Permit2LibTest:testPermit2WETH9Mainnet() (gas: 28777)
Permit2LibTest:testSimplePermit2() (gas: 29010)
Permit2LibTest:testSimplePermit2InvalidAmount() (gas: 16925)
Permit2LibTest:testSimplePermit2PlusTransferFrom2WithNonPermit() (gas: 148309)
Permit2LibTest:testStandardPermit() (gas: 22384)
Permit2LibTest:testStandardTransferFrom() (gas: 38143)
Permit2LibTest:testTransferFrom2() (gas: 38624)
Permit2LibTest:testTransferFrom2Full() (gas: 53280)
Permit2LibTest:testTransferFrom2InvalidAmount() (gas: 12710)
Permit2LibTest:testTransferFrom2NonPermitToken() (gas: 53126)
SignatureTransferTest:testCorrectWitnessTypehashes() (gas: 3075)
SignatureTransferTest:testGasMultiplePermitBatchTransferFrom() (gas: 270919)
SignatureTransferTest:testGasSinglePermitBatchTransferFrom() (gas: 186316)
SignatureTransferTest:testGasSinglePermitTransferFrom() (gas: 123850)
SignatureTransferTest:testInvalidateUnorderedNonces() (gas: 41268)
SignatureTransferTest:testPermitBatchMultiPermitSingleTransfer() (gas: 133644)
SignatureTransferTest:testPermitBatchTransferFrom() (gas: 162010)
SignatureTransferTest:testPermitBatchTransferFromSingleRecipient() (gas: 190319)
SignatureTransferTest:testPermitBatchTransferFromTypedWitness() (gas: 239854)
SignatureTransferTest:testPermitBatchTransferFromTypedWitnessInvalidType() (gas: 84467)
SignatureTransferTest:testPermitBatchTransferFromTypedWitnessInvalidTypeHash() (gas: 85864)
SignatureTransferTest:testPermitBatchTransferFromTypedWitnessInvalidWitness() (gas: 85688)
SignatureTransferTest:testPermitBatchTransferInvalidAmountsLengthMismatch() (gas: 43967)
SignatureTransferTest:testPermitBatchTransferMultiAddr() (gas: 160406)
SignatureTransferTest:testPermitBatchTransferSingleRecipientManyTokens() (gas: 211834)
SignatureTransferTest:testPermitTransferFrom() (gas: 93012)
SignatureTransferTest:testPermitTransferFromCompactSig() (gas: 123927)
SignatureTransferTest:testPermitTransferFromIncorrectSigLength() (gas: 51327)
SignatureTransferTest:testPermitTransferFromInvalidNonce() (gas: 72799)
SignatureTransferTest:testPermitTransferFromRandomNonceAndAmount(uint256,uint128) (runs: 256, ฮผ: 95754, ~: 96730)
SignatureTransferTest:testPermitTransferFromToSpender() (gas: 93342)
SignatureTransferTest:testPermitTransferFromTypedWitness() (gas: 125271)
SignatureTransferTest:testPermitTransferFromTypedWitnessInvalidType() (gas: 55906)
SignatureTransferTest:testPermitTransferFromTypedWitnessInvalidTypehash() (gas: 56794)
SignatureTransferTest:testPermitTransferSpendLessThanFull(uint256,uint128) (runs: 256, ฮผ: 97989, ~: 99707)
TypehashGeneration:testPermitBatch() (gas: 40493)
TypehashGeneration:testPermitBatchTransferFrom() (gas: 49854)
TypehashGeneration:testPermitBatchTransferFromWithWitness() (gas: 56587)
TypehashGeneration:testPermitBatchTransferFromWithWitnessIncorrectPermitData() (gas: 56744)
TypehashGeneration:testPermitBatchTransferFromWithWitnessIncorrectTypehashStub() (gas: 57229)
TypehashGeneration:testPermitSingle() (gas: 28117)
TypehashGeneration:testPermitTransferFrom() (gas: 36520)
TypehashGeneration:testPermitTransferFromWithWitness() (gas: 43369)
TypehashGeneration:testPermitTransferFromWithWitnessIncorrectPermitData() (gas: 43430)
TypehashGeneration:testPermitTransferFromWithWitnessIncorrectTypehashStub() (gas: 43833)