-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.gas-report
162 lines (151 loc) · 16.9 KB
/
.gas-report
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
| src/IPNFT.sol:IPNFT contract | | | | | |
| ----------------------------------------------- | --------------- | ------ | ------ | ------ | ------- |
| Deployment Cost | Deployment Size | | | | |
| 2567323 | 12992 | | | | |
| Function Name | min | avg | median | max | # calls |
| balanceOf | 629 | 1295 | 629 | 2629 | 9 |
| burn | 5806 | 5806 | 5806 | 5806 | 1 |
| canRead | 816 | 1428 | 1082 | 3082 | 5 |
| fallback | 46 | 46 | 46 | 46 | 1 |
| grantReadAccess | 723 | 8053 | 745 | 22692 | 3 |
| initialize | 2791 | 115755 | 118511 | 118511 | 42 |
| isApprovedForAll | 808 | 1933 | 2808 | 2808 | 16 |
| mintReservation | 1486 | 127784 | 128006 | 150605 | 40 |
| ownerOf | 624 | 1790 | 2624 | 2624 | 36 |
| pause | 25810 | 25810 | 25810 | 25810 | 1 |
| paused | 2382 | 2382 | 2382 | 2382 | 1 |
| proxiableUUID | 352 | 352 | 352 | 352 | 3 |
| reservations | 568 | 568 | 568 | 568 | 3 |
| reserve | 512 | 27591 | 25329 | 36629 | 42 |
| safeTransferFrom(address,address,uint256) | 3858 | 28642 | 31941 | 37069 | 14 |
| safeTransferFrom(address,address,uint256,bytes) | 21710 | 21710 | 21710 | 21710 | 1 |
| setApprovalForAll | 6104 | 23797 | 24729 | 24729 | 20 |
| setAuthorizer | 4652 | 22187 | 23752 | 23752 | 45 |
| symbol | 1486 | 1486 | 1486 | 1486 | 3 |
| tokenURI | 2122 | 2122 | 2122 | 2122 | 1 |
| upgradeTo | 3584 | 3584 | 3584 | 3584 | 1 |
| withdrawAll | 4604 | 8482 | 9422 | 11422 | 3 |
| src/IPToken.sol:IPToken contract | | | | | |
| -------------------------------- | --------------- | ------ | ------ | ------ | ------- |
| Deployment Cost | Deployment Size | | | | |
| 1579252 | 7920 | | | | |
| Function Name | min | avg | median | max | # calls |
| allowance | 2775 | 2775 | 2775 | 2775 | 1 |
| approve | 22546 | 24226 | 24646 | 24646 | 5 |
| balanceOf | 576 | 652 | 576 | 2576 | 26 |
| burnFrom | 4444 | 4444 | 4444 | 4444 | 3 |
| cap | 545 | 19327 | 21675 | 21675 | 9 |
| capped | 443 | 443 | 443 | 443 | 8 |
| decimals | 200 | 200 | 200 | 200 | 1 |
| hash | 645 | 645 | 645 | 645 | 15 |
| initialize | 161418 | 198409 | 205808 | 205808 | 18 |
| issue | 779 | 56787 | 71357 | 71357 | 19 |
| issuer | 432 | 432 | 432 | 432 | 15 |
| metadata | 1794 | 2565 | 2079 | 7794 | 30 |
| symbol | 1284 | 1284 | 1284 | 1284 | 1 |
| totalIssued | 405 | 405 | 405 | 405 | 10 |
| totalSupply | 382 | 382 | 382 | 382 | 4 |
| transfer | 20034 | 24040 | 25042 | 25042 | 10 |
| transferFrom | 22233 | 24153 | 24153 | 26073 | 2 |
| uri | 65913 | 65913 | 65913 | 65913 | 2 |
| src/Permissioner.sol:TermsAcceptedPermissioner contract | | | | | |
| ------------------------------------------------------- | --------------- | ----- | ------ | ----- | ------- |
| Deployment Cost | Deployment Size | | | | |
| 603038 | 3044 | | | | |
| Function Name | min | avg | median | max | # calls |
| accept | 8954 | 14670 | 14345 | 27420 | 11 |
| isValidSignature | 11266 | 17584 | 17584 | 23902 | 2 |
| specificTermsV1((uint256,address,string))(string) | 3859 | 3859 | 3859 | 3859 | 2 |
| specificTermsV1(address)(string) | 6831 | 10290 | 9482 | 14557 | 6 |
| src/SchmackoSwap.sol:SchmackoSwap contract | | | | | |
| ------------------------------------------------------ | --------------- | ------ | ------ | ------ | ------- |
| Deployment Cost | Deployment Size | | | | |
| 977980 | 4705 | | | | |
| Function Name | min | avg | median | max | # calls |
| cancel | 1349 | 3413 | 3413 | 5478 | 2 |
| changeBuyerAllowance | 1554 | 19118 | 25560 | 25560 | 15 |
| fulfill | 11784 | 51265 | 57939 | 75507 | 11 |
| isAllowed | 686 | 1486 | 686 | 2686 | 5 |
| list(address,uint256,address,uint256)(uint256) | 2264 | 121913 | 148502 | 148502 | 11 |
| list(address,uint256,address,uint256,address)(uint256) | 139522 | 139522 | 139522 | 139522 | 5 |
| listings | 1392 | 1392 | 1392 | 1392 | 15 |
| src/SignedMintAuthorizer.sol:SignedMintAuthorizer contract | | | | | |
| ---------------------------------------------------------- | --------------- | ---- | ------ | ---- | ------- |
| Deployment Cost | Deployment Size | | | | |
| 453372 | 2307 | | | | |
| Function Name | min | avg | median | max | # calls |
| authorizeMint | 7060 | 8260 | 9060 | 9060 | 5 |
| authorizeReservation | 351 | 351 | 351 | 351 | 2 |
| redeem | 690 | 690 | 690 | 690 | 2 |
| src/TimelockedToken.sol:TimelockedToken contract | | | | | |
| ------------------------------------------------ | --------------- | ----- | ------ | ------ | ------- |
| Deployment Cost | Deployment Size | | | | |
| 847083 | 4263 | | | | |
| Function Name | min | avg | median | max | # calls |
| approve | 408 | 408 | 408 | 408 | 1 |
| balanceOf | 598 | 973 | 598 | 2598 | 32 |
| initialize | 24568 | 24568 | 24568 | 24568 | 23 |
| lock | 629 | 87670 | 97693 | 136216 | 31 |
| release | 731 | 17098 | 24295 | 24458 | 10 |
| releaseMany | 31359 | 31575 | 31575 | 31791 | 2 |
| totalSupply | 363 | 363 | 363 | 363 | 3 |
| transfer | 384 | 384 | 384 | 384 | 1 |
| src/Tokenizer.sol:Tokenizer contract | | | | | |
| ------------------------------------ | --------------- | ------ | ------ | ------ | ------- |
| Deployment Cost | Deployment Size | | | | |
| 2821010 | 14197 | | | | |
| Function Name | min | avg | median | max | # calls |
| initialize | 92925 | 92925 | 92925 | 92925 | 13 |
| proxiableUUID | 374 | 374 | 374 | 374 | 2 |
| reinit | 945 | 6958 | 9965 | 9965 | 3 |
| tokenizeIpnft | 13947 | 342041 | 373309 | 373309 | 16 |
| src/crowdsale/CrowdSale.sol:CrowdSale contract | | | | | |
| ---------------------------------------------- | --------------- | ------ | ------ | ------ | ------- |
| Deployment Cost | Deployment Size | | | | |
| 1278414 | 6312 | | | | |
| Function Name | min | avg | median | max | # calls |
| claim | 4725 | 19848 | 25007 | 31836 | 18 |
| claimResults | 507 | 28482 | 29579 | 48849 | 8 |
| contribution | 720 | 720 | 720 | 720 | 2 |
| getSaleInfo | 1282 | 1282 | 1282 | 1282 | 2 |
| placeBid | 494 | 45491 | 42946 | 84746 | 19 |
| settle | 4114 | 12512 | 6872 | 25690 | 9 |
| startSale | 482 | 117844 | 186298 | 192200 | 18 |
| src/crowdsale/LockingCrowdSale.sol:LockingCrowdSale contract | | | | | |
| ------------------------------------------------------------ | --------------- | ------ | ------ | ------ | ------- |
| Deployment Cost | Deployment Size | | | | |
| 2509828 | 12417 | | | | |
| Function Name | min | avg | median | max | # calls |
| claim | 9114 | 67846 | 76028 | 125754 | 8 |
| claimResults | 21705 | 34755 | 39106 | 39106 | 4 |
| createOrReturnTimelockContract | 93249 | 93249 | 93249 | 93249 | 1 |
| getSaleInfo | 1304 | 1304 | 1304 | 1304 | 4 |
| lockingContracts | 542 | 542 | 542 | 542 | 6 |
| placeBid | 43329 | 77794 | 84892 | 84892 | 7 |
| settle | 6039 | 28677 | 33540 | 33540 | 6 |
| startSale | 1228 | 250111 | 309338 | 309338 | 7 |
| src/crowdsale/StakedLockingCrowdSale.sol:StakedLockingCrowdSale contract | | | | | |
| ------------------------------------------------------------------------------------------------------------ | --------------- | ------ | ------ | ------ | ------- |
| Deployment Cost | Deployment Size | | | | |
| 3182692 | 15757 | | | | |
| Function Name | min | avg | median | max | # calls |
| claim | 7766 | 223825 | 254309 | 385709 | 21 |
| claimResults | 21705 | 39536 | 39106 | 48882 | 10 |
| getSaleInfo | 1304 | 1304 | 1304 | 1304 | 4 |
| lockingContracts | 620 | 620 | 620 | 620 | 11 |
| placeBid | 11032 | 96630 | 85079 | 163940 | 25 |
| salesStaking | 790 | 790 | 790 | 790 | 1 |
| settle | 5986 | 37518 | 33474 | 53374 | 11 |
| stakesOf | 732 | 732 | 732 | 732 | 5 |
| startSale((address,address,address,uint256,uint256,uint64,address))(uint256) | 384 | 384 | 384 | 384 | 1 |
| startSale((address,address,address,uint256,uint256,uint64,address),address,address,uint256,uint256)(uint256) | 3376 | 277676 | 390426 | 392009 | 17 |
| startSale((address,address,address,uint256,uint256,uint64,address),uint256)(uint256) | 472 | 472 | 472 | 472 | 1 |
| trustVestingContract | 6350 | 24808 | 25984 | 27984 | 15 |
| src/helpers/test-upgrades/SynthPermissioner.sol:TermsAcceptedPermissioner contract | | | | | |
| ---------------------------------------------------------------------------------- | --------------- | ----- | ------ | ----- | ------- |
| Deployment Cost | Deployment Size | | | | |
| 602838 | 3043 | | | | |
| Function Name | min | avg | median | max | # calls |
| accept | 13657 | 14853 | 15053 | 15053 | 7 |
| specificTermsV1 | 3857 | 3857 | 3857 | 3857 | 5 |
Ran 20 test suites: 104 tests passed, 0 failed, 0 skipped (104 total tests)