Skip to content

Commit 5f210f5

Browse files
committed
Increase Yearn external abi gas estimates by 1 order of magnitude
1 parent f3f9d80 commit 5f210f5

File tree

2 files changed

+41
-41
lines changed

2 files changed

+41
-41
lines changed

external/abi/yearn/Registry.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,15 @@
124124
}
125125
],
126126
"outputs": [],
127-
"gas": 36245
127+
"gas": 136245
128128
},
129129
{
130130
"stateMutability": "nonpayable",
131131
"type": "function",
132132
"name": "acceptGovernance",
133133
"inputs": [],
134134
"outputs": [],
135-
"gas": 37517
135+
"gas": 137517
136136
},
137137
{
138138
"stateMutability": "view",
@@ -145,7 +145,7 @@
145145
"type": "string"
146146
}
147147
],
148-
"gas": 6831
148+
"gas": 16831
149149
},
150150
{
151151
"stateMutability": "view",
@@ -163,7 +163,7 @@
163163
"type": "address"
164164
}
165165
],
166-
"gas": 2587
166+
"gas": 12587
167167
},
168168
{
169169
"stateMutability": "nonpayable",
@@ -176,7 +176,7 @@
176176
}
177177
],
178178
"outputs": [],
179-
"gas": 82588
179+
"gas": 182588
180180
},
181181
{
182182
"stateMutability": "nonpayable",
@@ -397,7 +397,7 @@
397397
}
398398
],
399399
"outputs": [],
400-
"gas": 186064
400+
"gas": 1186064
401401
},
402402
{
403403
"stateMutability": "view",
@@ -410,7 +410,7 @@
410410
"type": "uint256"
411411
}
412412
],
413-
"gas": 1388
413+
"gas": 11388
414414
},
415415
{
416416
"stateMutability": "view",
@@ -428,7 +428,7 @@
428428
"type": "address"
429429
}
430430
],
431-
"gas": 1533
431+
"gas": 11533
432432
},
433433
{
434434
"stateMutability": "view",
@@ -446,7 +446,7 @@
446446
"type": "uint256"
447447
}
448448
],
449-
"gas": 1663
449+
"gas": 11663
450450
},
451451
{
452452
"stateMutability": "view",
@@ -468,7 +468,7 @@
468468
"type": "address"
469469
}
470470
],
471-
"gas": 1808
471+
"gas": 11808
472472
},
473473
{
474474
"stateMutability": "view",
@@ -486,7 +486,7 @@
486486
"type": "address"
487487
}
488488
],
489-
"gas": 1623
489+
"gas": 11623
490490
},
491491
{
492492
"stateMutability": "view",
@@ -499,7 +499,7 @@
499499
"type": "uint256"
500500
}
501501
],
502-
"gas": 1538
502+
"gas": 11538
503503
},
504504
{
505505
"stateMutability": "view",
@@ -517,7 +517,7 @@
517517
"type": "bool"
518518
}
519519
],
520-
"gas": 1783
520+
"gas": 11783
521521
},
522522
{
523523
"stateMutability": "view",
@@ -530,7 +530,7 @@
530530
"type": "address"
531531
}
532532
],
533-
"gas": 1598
533+
"gas": 11598
534534
},
535535
{
536536
"stateMutability": "view",
@@ -543,7 +543,7 @@
543543
"type": "address"
544544
}
545545
],
546-
"gas": 1628
546+
"gas": 11628
547547
},
548548
{
549549
"stateMutability": "view",
@@ -561,7 +561,7 @@
561561
"type": "string"
562562
}
563563
],
564-
"gas": 10229
564+
"gas": 110229
565565
},
566566
{
567567
"stateMutability": "view",
@@ -579,7 +579,7 @@
579579
"type": "bool"
580580
}
581581
],
582-
"gas": 1903
582+
"gas": 11903
583583
}
584584
],
585585
"bytecode": "0x336007556115eb56600436101561000d576110f9565b600035601c52600051341561002157600080fd5b63ab033ea98114156100535760043560a01c1561003d57600080fd5b600754331461004b57600080fd5b600435600855005b63238efcbc81141561009f57600854331461006d57600080fd5b3360075533610140527f4f386975ea1c2f7cf1845b08bee00626fbb624ecad16254d63d9bb9ba86526de6020610140a1005b637be0ca5e8114156101735760606101a0600463258294106101405261015c60016000546001808210156100d257600080fd5b8082039050905060e05260c052604060c020545afa6100f057600080fd5b603f3d116100fd57600080fd5b601d6101a06101a05101511061011257600080fd5b6000506101c08051602001806102408284600060045af161013257600080fd5b5050610240518061026001818260206001820306601f82010390500336823750506020610220526040610240510160206001820306601f8201039050610220f35b63e177dc708114156101db5760043560a01c1561018f57600080fd5b600360043560e05260c052604060c020600260043560e05260c052604060c020546001808210156101bf57600080fd5b8082039050905060e05260c052604060c0205460005260206000f35b6333990d4b8114156104315760043560a01c156101f757600080fd5b600754331461020557600080fd5b6000546101405260006101405111156102e1576060610400600463258294106103a0526103bc6004355afa61023957600080fd5b603f3d1161024657600080fd5b601d6104006104005101511061025b57600080fd5b600050610420602001516060610340600463258294106102e0526102fc60016101405160018082101561028d57600080fd5b8082039050905060e05260c052604060c020545afa6102ab57600080fd5b603f3d116102b857600080fd5b601d610340610340510151106102cd57600080fd5b60005061036060200151186102e157600080fd5b60043560016101405160e05260c052604060c0205561014051600181818301101561030b57600080fd5b8082019050905060005560606101c0600463258294106101605261017c6004355afa61033657600080fd5b603f3d1161034357600080fd5b601d6101c06101c05101511061035857600080fd5b6000506101e08051602001806102208284600060045af161037857600080fd5b50506004356102c052604061028052610280516102e052610220805160200180610280516102c0018284600060045af16103b157600080fd5b5050610280516102c00151806020610280516102c0010101818260206001820306601f82010390500336823750506020610280516102c0015160206001820306601f820103905061028051010161028052610140517fa6fbd216b6734f34092f1be6b7247e1551a6d4f2d5000c53721cfdc119a5b7cf610280516102c0a2005b63108ca11e81141561044857600061022052610469565b63b0b40fce81141561046457602060a461022037600050610469565b6106f4565b60043560a01c1561047957600080fd5b60243560a01c1561048957600080fd5b60443560a01c1561049957600080fd5b60606064356004016101403760406064356004013511156104b957600080fd5b60406084356004016101c03760206084356004013511156104d957600080fd5b60075433146104e757600080fd5b6000546001808210156104f957600080fd5b80820390509050610220518082101561051157600080fd5b80820390509050610240526101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605160e060043561028052336102a0526044356102c0526024356102e05280610300526101408080516020018084610280018284600060045af161058557600080fd5b50508051820160206001820306601f820103905060200191505080610320526101c08080516020018084610280018284600060045af16105c457600080fd5b50505061024051610340525061032051806102800180518060206001820306601f82010390508201610440525050505b6103606104405110156106065761061b565b610440515160206104405103610440526105f4565b6103405161032051610300516102e0516102c0516102a05161028051600658016110ff565b61046052610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405261046051610260526101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605160043561028052610260516102a0526102a0516102805160065801611302565b610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526000506102605160005260206000f35b635b73aa0d81141561070b5760006102205261072c565b635bd4b0f281141561072757602060c46102203760005061072c565b610a64565b60043560a01c1561073c57600080fd5b60243560a01c1561074c57600080fd5b60443560a01c1561075c57600080fd5b60643560a01c1561076c57600080fd5b606060843560040161014037604060843560040135111561078c57600080fd5b604060a4356004016101c037602060a4356004013511156107ac57600080fd5b6000546001808210156107be57600080fd5b8082039050905061022051808210156107d657600080fd5b80820390509050610240526101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605160e0600435610280526024356102a0526064356102c0526044356102e05280610300526101408080516020018084610280018284600060045af161084c57600080fd5b50508051820160206001820306601f820103905060200191505080610320526101c08080516020018084610280018284600060045af161088b57600080fd5b50505061024051610340525061032051806102800180518060206001820306601f82010390508201610440525050505b6103606104405110156108cd576108e2565b610440515160206104405103610440526108bb565b6103405161032051610300516102e0516102c0516102a05161028051600658016110ff565b61046052610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052610460516102605260606102e0600463258294106102805261029c610260515afa61095d57600080fd5b603f3d1161096a57600080fd5b601d6102e06102e05101511061097f57600080fd5b6000506103008051602001806103408284600060045af161099f57600080fd5b5050610260516103e05260406103a0526103a051610400526103408051602001806103a0516103e0018284600060045af16109d957600080fd5b50506103a0516103e001518060206103a0516103e0010101818260206001820306601f820103905003368237505060206103a0516103e0015160206001820306601f82010390506103a05101016103a052336004357f57a9cdc2a05e05f66e76769bdbe88e21ec45d9ee0f97d4cb60395d4c75dcbcda6103a0516103e0a36102605160005260206000f35b6329b2e0c6811415610a7b57600061014052610a9c565b63b366a35c811415610a97576020602461014037600050610a9c565b610cac565b60043560a01c15610aac57600080fd5b6007543314610aba57600080fd5b3360206101c06004635aa6e6756101605261017c6004355afa610adc57600080fd5b601f3d11610ae957600080fd5b6000506101c05114610afa57600080fd5b600054600180821015610b0c57600080fd5b808203905090506101405180821015610b2457600080fd5b80820390509050610160526060610240600463258294106101e0526101fc60016101605160e05260c052604060c020545afa610b5f57600080fd5b603f3d11610b6c57600080fd5b601d61024061024051015110610b8157600080fd5b6000506102608051602001806101808284600060045af1610ba157600080fd5b50506101a0516060610300600463258294106102a0526102bc6004355afa610bc857600080fd5b603f3d11610bd557600080fd5b601d61030061030051015110610bea57600080fd5b6000506103206020015114610bfe57600080fd5b6020610240600463fc0c546a6101e0526101fc6004355afa610c1f57600080fd5b601f3d11610c2c57600080fd5b60005061024051610260526101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161026051610280526004356102a0526102a0516102805160065801611302565b610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052600050005b632cad8f9f811415610cc357600161014052610cf4565b635e05f6af811415610cef5760243560011c15610cdf57600080fd5b6020602461014037600050610cf4565b610d29565b60043560a01c15610d0457600080fd5b6007543314610d1257600080fd5b61014051600a60043560e05260c052604060c02055005b6360bd68f8811415610ea25760043560a01c15610d4557600080fd5b6098602435600401610140376078602435600401351115610d6557600080fd5b600754331815610d8757600a3360e05260c052604060c02054610d8757600080fd5b61014080600960043560e05260c052604060c02060c052602060c020602082510161012060006005818352015b82610120516020021115610dc757610de9565b61012051602002850151610120518501555b8151600101808352811415610db4575b50505050505060043561024052604061020052610200516102605261014080516020018061020051610240018284600060045af1610e2657600080fd5b505061020051610240015180602061020051610240010101818260206001820306601f8201039050033682375050602061020051610240015160206001820306601f8201039050610200510101610200527f07bd58794c2ca0ae152f7719eb5f02c654476de972cadec0e8191ae8be42096d61020051610240a1005b6356e0a94b811415610eba5760005460005260206000f35b63b6a9f40f811415610ee057600160043560e05260c052604060c0205460005260206000f35b63f9c7bba5811415610f165760043560a01c15610efc57600080fd5b600260043560e05260c052604060c0205460005260206000f35b637bbfc69e811415610f5a5760043560a01c15610f3257600080fd5b600360043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b634f64b2be811415610f8057600460043560e05260c052604060c0205460005260206000f35b638e499bcf811415610f985760055460005260206000f35b63c3c5a547811415610fce5760043560a01c15610fb457600080fd5b600660043560e05260c052604060c0205460005260206000f35b635aa6e675811415610fe65760075460005260206000f35b63f39c38a0811415610ffe5760085460005260206000f35b6358b8f8428114156110c15760043560a01c1561101a57600080fd5b600960043560e05260c052604060c0208060c052602060c020610180602082540161012060006005818352015b8261012051602002111561105a5761107c565b61012051850154610120516020028501525b8151600101808352811415611047575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b63ee711ed58114156110f75760043560a01c156110dd57600080fd5b600a60043560e05260c052604060c0205460005260206000f35b505b60006000fd5b610220526101405261016052610180526101a0526101c0526101e05261020052610240526000610320525b6102405160206001820306601f82010390506103205110151561114c57611165565b610320516102600152610320516020016103205261112a565b6102c0526000610320525b6102c05160206001820306601f820103905061032051101515611192576111ab565b610320516102e001526103205160200161032052611170565b60005060016102005160e05260c052604060c0205461034052600061034051186111d457600080fd5b7f602d3d8160093d39f3363d3d373d3d3d363d7300000000000000000000000000610380526103405160601b610393527f5af43d82803e903d91602b57fd5bf300000000000000000000000000000000006103a75260366103806000f061036052610360513b61124357600080fd5b6000600061016460c063a5b81fdf61038052610140516103a052610160516103c052610180516103e052806104005261024080805160200180846103a0018284600060045af161129257600080fd5b50508051820160206001820306601f820103905060200191505080610420526102c080805160200180846103a0018284600060045af16112d157600080fd5b5050506101a0516104405261039c90506000610360515af16112f257600080fd5b6103605160005260005161022051565b61018052610140526101605260026101405160e05260c052604060c020546101a05260006101a0511115611409576060610460600463258294106104005261041c610160515afa61135257600080fd5b603f3d1161135f57600080fd5b601d6104606104605101511061137457600080fd5b6000506104806020015160606103a0600463258294106103405261035c60036101405160e05260c052604060c0206101a0516001808210156113b557600080fd5b8082039050905060e05260c052604060c020545afa6113d357600080fd5b603f3d116113e057600080fd5b601d6103a06103a0510151106113f557600080fd5b6000506103c0602001511861140957600080fd5b6101605160036101405160e05260c052604060c0206101a05160e05260c052604060c020556101a051600181818301101561144357600080fd5b8082019050905060026101405160e05260c052604060c0205560066101405160e05260c052604060c0205415156114bd57600160066101405160e05260c052604060c0205561014051600460055460e05260c052604060c020556005805460018181830110156114b257600080fd5b808201905090508155505b6060610220600463258294106101c0526101dc610160515afa6114df57600080fd5b603f3d116114ec57600080fd5b601d6102206102205101511061150157600080fd5b6000506102408051602001806102808284600060045af161152157600080fd5b5050610160516103205260406102e0526102e051610340526102808051602001806102e051610320018284600060045af161155b57600080fd5b50506102e05161032001518060206102e051610320010101818260206001820306601f820103905003368237505060206102e051610320015160206001820306601f82010390506102e05101016102e0526101a051610140517fce089905ba4a4d622553bcb5646fd23e895c256f0376eee04e99e61cec1dc7e86102e051610320a361018051565b6100086115eb036100086000396100086115eb036000f3",

external/abi/yearn/Vault.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@
442442
"type": "string"
443443
}
444444
],
445-
"gas": 4546
445+
"gas": 14546
446446
},
447447
{
448448
"stateMutability": "nonpayable",
@@ -455,7 +455,7 @@
455455
}
456456
],
457457
"outputs": [],
458-
"gas": 107044
458+
"gas": 1107044
459459
},
460460
{
461461
"stateMutability": "nonpayable",
@@ -468,7 +468,7 @@
468468
}
469469
],
470470
"outputs": [],
471-
"gas": 71894
471+
"gas": 171894
472472
},
473473
{
474474
"stateMutability": "nonpayable",
@@ -481,15 +481,15 @@
481481
}
482482
],
483483
"outputs": [],
484-
"gas": 36365
484+
"gas": 136365
485485
},
486486
{
487487
"stateMutability": "nonpayable",
488488
"type": "function",
489489
"name": "acceptGovernance",
490490
"inputs": [],
491491
"outputs": [],
492-
"gas": 37637
492+
"gas": 137637
493493
},
494494
{
495495
"stateMutability": "nonpayable",
@@ -502,7 +502,7 @@
502502
}
503503
],
504504
"outputs": [],
505-
"gas": 37775
505+
"gas": 137775
506506
},
507507
{
508508
"stateMutability": "nonpayable",
@@ -515,7 +515,7 @@
515515
}
516516
],
517517
"outputs": [],
518-
"gas": 37805
518+
"gas": 137805
519519
},
520520
{
521521
"stateMutability": "nonpayable",
@@ -528,7 +528,7 @@
528528
}
529529
],
530530
"outputs": [],
531-
"gas": 37835
531+
"gas": 137835
532532
},
533533
{
534534
"stateMutability": "nonpayable",
@@ -541,7 +541,7 @@
541541
}
542542
],
543543
"outputs": [],
544-
"gas": 36519
544+
"gas": 136519
545545
},
546546
{
547547
"stateMutability": "nonpayable",
@@ -554,7 +554,7 @@
554554
}
555555
],
556556
"outputs": [],
557-
"gas": 37795
557+
"gas": 137795
558558
},
559559
{
560560
"stateMutability": "nonpayable",
@@ -567,7 +567,7 @@
567567
}
568568
],
569569
"outputs": [],
570-
"gas": 37929
570+
"gas": 137929
571571
},
572572
{
573573
"stateMutability": "nonpayable",
@@ -580,7 +580,7 @@
580580
}
581581
],
582582
"outputs": [],
583-
"gas": 37959
583+
"gas": 137959
584584
},
585585
{
586586
"stateMutability": "nonpayable",
@@ -593,7 +593,7 @@
593593
}
594594
],
595595
"outputs": [],
596-
"gas": 39203
596+
"gas": 139203
597597
},
598598
{
599599
"stateMutability": "nonpayable",
@@ -606,7 +606,7 @@
606606
}
607607
],
608608
"outputs": [],
609-
"gas": 39274
609+
"gas": 139274
610610
},
611611
{
612612
"stateMutability": "nonpayable",
@@ -619,7 +619,7 @@
619619
}
620620
],
621621
"outputs": [],
622-
"gas": 763950
622+
"gas": 1763950
623623
},
624624
{
625625
"stateMutability": "nonpayable",
@@ -641,7 +641,7 @@
641641
"type": "bool"
642642
}
643643
],
644-
"gas": 76768
644+
"gas": 176768
645645
},
646646
{
647647
"stateMutability": "nonpayable",
@@ -667,7 +667,7 @@
667667
"type": "bool"
668668
}
669669
],
670-
"gas": 116531
670+
"gas": 1116531
671671
},
672672
{
673673
"stateMutability": "nonpayable",
@@ -689,7 +689,7 @@
689689
"type": "bool"
690690
}
691691
],
692-
"gas": 38271
692+
"gas": 138271
693693
},
694694
{
695695
"stateMutability": "nonpayable",
@@ -711,7 +711,7 @@
711711
"type": "bool"
712712
}
713713
],
714-
"gas": 40312
714+
"gas": 140312
715715
},
716716
{
717717
"stateMutability": "nonpayable",
@@ -733,7 +733,7 @@
733733
"type": "bool"
734734
}
735735
],
736-
"gas": 40336
736+
"gas": 140336
737737
},
738738
{
739739
"stateMutability": "nonpayable",
@@ -767,7 +767,7 @@
767767
"type": "bool"
768768
}
769769
],
770-
"gas": 81264
770+
"gas": 181264
771771
},
772772
{
773773
"stateMutability": "view",
@@ -780,7 +780,7 @@
780780
"type": "uint256"
781781
}
782782
],
783-
"gas": 4098
783+
"gas": 14098
784784
},
785785
{
786786
"stateMutability": "nonpayable",
@@ -843,7 +843,7 @@
843843
"type": "uint256"
844844
}
845845
],
846-
"gas": 366010
846+
"gas": 1366010
847847
},
848848
{
849849
"stateMutability": "nonpayable",
@@ -931,7 +931,7 @@
931931
"type": "uint256"
932932
}
933933
],
934-
"gas": 17041
934+
"gas": 117041
935935
},
936936
{
937937
"stateMutability": "nonpayable",

0 commit comments

Comments
 (0)