-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gas-report
76 lines (66 loc) · 7.44 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
| src/ClarityMarkets.sol:ClarityMarkets contract | | | | | |
|------------------------------------------------|-----------------|--------|--------|--------|---------|
| Deployment Cost | Deployment Size | | | | |
| 4331399 | 21664 | | | | |
| Function Name | min | avg | median | max | # calls |
| MAXIMUM_EXPIRY | 293 | 293 | 293 | 293 | 2 |
| MAXIMUM_WRITABLE | 295 | 295 | 295 | 295 | 38 |
| approve | 25011 | 25011 | 25011 | 25011 | 55 |
| assetMetadataStorage | 687 | 687 | 687 | 687 | 4 |
| balanceOf | 1074 | 1908 | 1841 | 3933 | 1083 |
| batchWriteExisting | 875 | 350282 | 123249 | 817194 | 5 |
| decimals | 395 | 395 | 395 | 395 | 22 |
| exerciseOptions | 515 | 37703 | 49699 | 66923 | 68 |
| name | 2351 | 2375 | 2400 | 2400 | 109 |
| netOffsetting | 497 | 14345 | 16921 | 16921 | 45 |
| option | 2292 | 2302 | 2292 | 2819 | 216 |
| optionTokenId | 2099 | 2496 | 2099 | 4084 | 5 |
| position | 687 | 3368 | 3274 | 5274 | 10 |
| redeemCollateral | 484 | 9522 | 11764 | 16960 | 21 |
| skim | 1724 | 4736 | 4736 | 7748 | 2 |
| skimmable | 1596 | 1596 | 1596 | 1596 | 6 |
| tokenType | 360 | 1052 | 735 | 2695 | 5 |
| tokenURI | 252997 | 253262 | 253053 | 254514 | 18 |
| totalSupply | 1016 | 1532 | 1527 | 2660 | 288 |
| transfer | 907 | 12739 | 4539 | 26439 | 65 |
| transferFrom | 1224 | 26525 | 29084 | 29236 | 55 |
| writeExisting | 450 | 16680 | 16081 | 124381 | 3045 |
| writeNewCall | 1034 | 209937 | 208478 | 314140 | 266 |
| writeNewPut | 991 | 185002 | 210435 | 309297 | 66 |
| src/adapter/ClarityERC20Factory.sol:ClarityERC20Factory contract | | | | | |
|------------------------------------------------------------------|-----------------|---------|---------|---------|---------|
| Deployment Cost | Deployment Size | | | | |
| 3312202 | 16760 | | | | |
| Function Name | min | avg | median | max | # calls |
| clarity | 182 | 182 | 182 | 182 | 1 |
| deployWrappedLong | 3766 | 1234299 | 1320054 | 1320054 | 46 |
| deployWrappedShort | 402 | 1175626 | 1335386 | 1335386 | 50 |
| wrapperFor | 490 | 490 | 490 | 490 | 22 |
| src/adapter/ClarityWrappedLong.sol:ClarityWrappedLong contract | | | | | |
|----------------------------------------------------------------|-----------------|-------|--------|-------|---------|
| Deployment Cost | Deployment Size | | | | |
| 1256487 | 7050 | | | | |
| Function Name | min | avg | median | max | # calls |
| balanceOf | 580 | 580 | 580 | 580 | 33 |
| decimals | 271 | 271 | 271 | 271 | 11 |
| name | 1534 | 1534 | 1534 | 1534 | 11 |
| option | 3981 | 3981 | 3981 | 3981 | 11 |
| optionTokenId | 283 | 283 | 283 | 283 | 11 |
| symbol | 1511 | 1511 | 1511 | 1511 | 11 |
| totalSupply | 363 | 363 | 363 | 363 | 33 |
| unwrapLongs | 365 | 9362 | 9675 | 23660 | 14 |
| wrapLongs | 364 | 72497 | 81231 | 83231 | 30 |
| src/adapter/ClarityWrappedShort.sol:ClarityWrappedShort contract | | | | | |
|------------------------------------------------------------------|-----------------|-------|--------|-------|---------|
| Deployment Cost | Deployment Size | | | | |
| 1269734 | 7135 | | | | |
| Function Name | min | avg | median | max | # calls |
| balanceOf | 558 | 558 | 558 | 558 | 33 |
| decimals | 271 | 271 | 271 | 271 | 11 |
| name | 1512 | 1512 | 1512 | 1512 | 11 |
| option | 3981 | 3981 | 3981 | 3981 | 11 |
| optionTokenId | 283 | 283 | 283 | 283 | 11 |
| symbol | 1555 | 1555 | 1555 | 1555 | 11 |
| totalSupply | 341 | 341 | 341 | 341 | 33 |
| unwrapShorts | 387 | 9511 | 9849 | 23800 | 14 |
| wrapShorts | 364 | 72367 | 81769 | 83769 | 31 |