ABI-compliant handlers for console log

hometab-updates
Aniket-Engg 2 years ago committed by Aniket
parent c7f7efadf9
commit 484f85d585
  1. 222
      libs/remix-lib/src/helpers/hhconsoleSigs.ts

@ -1,6 +1,7 @@
// Fetched from https://github.com/nomiclabs/hardhat/blob/ee4969a0a8f746f4775d4018326056d161066869/packages/hardhat-core/src/internal/hardhat-network/stack-traces/logger.ts#L47
export const ConsoleLogs = {
// Legacy method signatures before this PR: https://github.com/NomicFoundation/hardhat/pull/2964
1368866505: '()',
1309416733: '(int)',
4122065833: '(uint)',
@ -377,5 +378,224 @@ export const ConsoleLogs = {
238520724: '(address,address,address,bool)',
1717301556: '(address,address,address,address)',
4133908826: '(uint,uint)',
3054400204: '(string,uint)'
3054400204: '(string,uint)',
// Latest method signatures after updating uint to uint256 and int to int256
760966329: '(int256)',
4163653873: '(uint256)',
1681903839: '(uint256, string)',
480083635: '(uint256, bool)',
1764191366: '(uint256, address)',
965833939: '(bool, uint256)',
2198464680: '(address, uint256)',
3522001468: '(uint256, uint256, uint256)',
1909476082: '(uint256, uint256, string)',
1197922930: '(uint256, uint256, bool)',
1553380145: '(uint256, uint256, address)',
933920076: '(uint256, string, uint256)',
2970968351: '(uint256, string, string)',
1290643290: '(uint256, string, bool)',
2063255897: '(uint256, string, address)',
537493524: '(uint256, bool, uint256)',
2239189025: '(uint256, bool, string)',
544310864: '(uint256, bool, bool)',
889741179: '(uint256, bool, address)',
1520131797: '(uint256, address, uint256)',
1674265081: '(uint256, address, string)',
2607726658: '(uint256, address, bool)',
3170737120: '(uint256, address, address)',
3393701099: '(string, uint256, uint256)',
1500569737: '(string, uint256, string)',
3396809649: '(string, uint256, bool)',
478069832: '(string, uint256, address)',
1478619041: '(string, string, uint256)',
3378075862: '(string, bool, uint256)',
220641573: '(string, address, uint256)',
923808615: '(bool, uint256, uint256)',
3288086896: '(bool, uint256, string)',
3906927529: '(bool, uint256, bool)',
143587794: '(bool, uint256, address)',
278130193: '(bool, string, uint256)',
317855234: '(bool, bool, uint256)',
1601936123: '(bool, address, uint256)',
3063663350: '(address, uint256, uint256)',
2717051050: '(address, uint256, string)',
1736575400: '(address, uint256, bool)',
2076235848: '(address, uint256, address)',
1742565361: '(address, string, uint256)',
2622462459: '(address, bool, uint256)',
402547077: '(address, address, uint256)',
423606272: '(uint256, uint256, uint256, uint256)',
1506790371: '(uint256, uint256, uint256, string)',
4202792367: '(uint256, uint256, uint256, address)',
1570936811: '(uint256, uint256, string, uint256)',
668512210: '(uint256, uint256, string, string)',
2062986021: '(uint256, uint256, string, bool)',
1121066423: '(uint256, uint256, string, address)',
3950997458: '(uint256, uint256, bool, uint256)',
2780101785: '(uint256, uint256, bool, string)',
2869451494: '(uint256, uint256, bool, bool)',
2592172675: '(uint256, uint256, bool, address)',
2297881778: '(uint256, uint256, address, uint256)',
1826504888: '(uint256, uint256, address, string)',
365610102: '(uint256, uint256, address, bool)',
1453707697: '(uint256, uint256, address, address)',
2193775476: '(uint256, string, uint256, uint256)',
3082360010: '(uint256, string, uint256, string)',
1763348340: '(uint256, string, uint256, bool)',
992115124: '(uint256, string, uint256, address)',
2955463101: '(uint256, string, string, uint256)',
564987523: '(uint256, string, string, string)',
3014047421: '(uint256, string, string, bool)',
3582182914: '(uint256, string, string, address)',
3472922752: '(uint256, string, bool, uint256)',
3537118157: '(uint256, string, bool, string)',
3126025628: '(uint256, string, bool, bool)',
2922300801: '(uint256, string, bool, address)',
3906142605: '(uint256, string, address, uint256)',
2621104033: '(uint256, string, address, string)',
2428701270: '(uint256, string, address, bool)',
1634266465: '(uint256, string, address, address)',
3333212072: '(uint256, bool, uint256, uint256)',
3724797812: '(uint256, bool, uint256, string)',
2443193898: '(uint256, bool, uint256, bool)',
2295029825: '(uint256, bool, uint256, address)',
740099910: '(uint256, bool, string, uint256)',
1757984957: '(uint256, bool, string, string)',
3952250239: '(uint256, bool, string, bool)',
4015165464: '(uint256, bool, string, address)',
1952763427: '(uint256, bool, bool, uint256)',
3722155361: '(uint256, bool, bool, string)',
3069540257: '(uint256, bool, bool, bool)',
1768164185: '(uint256, bool, bool, address)',
125994997: '(uint256, bool, address, uint256)',
2917159623: '(uint256, bool, address, string)',
1162695845: '(uint256, bool, address, bool)',
2716814523: '(uint256, bool, address, address)',
211605953: '(uint256, address, uint256, uint256)',
3719324961: '(uint256, address, uint256, string)',
1601452668: '(uint256, address, uint256, bool)',
364980149: '(uint256, address, uint256, address)',
1182952285: '(uint256, address, string, uint256)',
1041403043: '(uint256, address, string, string)',
3425872647: '(uint256, address, string, bool)',
2629472255: '(uint256, address, string, address)',
1522374954: '(uint256, address, bool, uint256)',
2432370346: '(uint256, address, bool, string)',
3813741583: '(uint256, address, bool, bool)',
4017276179: '(uint256, address, bool, address)',
1936653238: '(uint256, address, address, uint256)',
52195187: '(uint256, address, address, string)',
153090805: '(uint256, address, address, bool)',
612938772: '(uint256, address, address, address)',
2812835923: '(string, uint256, uint256, uint256)',
2236298390: '(string, uint256, uint256, string)',
1982258066: '(string, uint256, uint256, bool)',
3793609336: '(string, uint256, uint256, address)',
3330189777: '(string, uint256, string, uint256)',
1522028063: '(string, uint256, string, string)',
2099530013: '(string, uint256, string, bool)',
2084975268: '(string, uint256, string, address)',
3827003247: '(string, uint256, bool, uint256)',
2885106328: '(string, uint256, bool, string)',
894187222: '(string, uint256, bool, bool)',
3773389720: '(string, uint256, bool, address)',
1325727174: '(string, uint256, address, uint256)',
2684039059: '(string, uint256, address, string)',
2182163010: '(string, uint256, address, bool)',
1587722158: '(string, uint256, address, address)',
4099767596: '(string, string, uint256, uint256)',
1562023706: '(string, string, uint256, string)',
3282609748: '(string, string, uint256, bool)',
270792626: '(string, string, uint256, address)',
2393878571: '(string, string, string, uint256)',
3601791698: '(string, string, bool, uint256)',
2093204999: '(string, string, address, uint256)',
1689631591: '(string, bool, uint256, uint256)',
1949134567: '(string, bool, uint256, string)',
2331496330: '(string, bool, uint256, bool)',
2472413631: '(string, bool, uint256, address)',
620303461: '(string, bool, string, uint256)',
2386524329: '(string, bool, bool, uint256)',
1560853253: '(string, bool, address, uint256)',
4176812830: '(string, address, uint256, uint256)',
1514632754: '(string, address, uint256, string)',
4232594928: '(string, address, uint256, bool)',
1677429701: '(string, address, uint256, address)',
2446397742: '(string, address, string, uint256)',
1050642026: '(string, address, bool, uint256)',
2398352281: '(string, address, address, uint256)',
927708338: '(bool, uint256, uint256, uint256)',
2389310301: '(bool, uint256, uint256, string)',
3197649747: '(bool, uint256, uint256, bool)',
14518201: '(bool, uint256, uint256, address)',
1779538402: '(bool, uint256, string, uint256)',
4122747465: '(bool, uint256, string, string)',
3857124139: '(bool, uint256, string, bool)',
4275904511: '(bool, uint256, string, address)',
2437143473: '(bool, uint256, bool, string)',
3468031191: '(bool, uint256, bool, bool)',
2597139990: '(bool, uint256, bool, address)',
355982471: '(bool, uint256, address, uint256)',
464760986: '(bool, uint256, address, string)',
3032683775: '(bool, uint256, address, bool)',
653615272: '(bool, uint256, address, address)',
679886795: '(bool, string, uint256, uint256)',
450457062: '(bool, string, uint256, string)',
1796103507: '(bool, string, uint256, bool)',
362193358: '(bool, string, uint256, address)',
2078327787: '(bool, string, string, uint256)',
369533843: '(bool, string, bool, uint256)',
196087467: '(bool, bool, uint256, uint256)',
2111099104: '(bool, bool, uint256, string)',
1637764366: '(bool, bool, uint256, bool)',
1420274080: '(bool, bool, uint256, address)',
3819555375: '(bool, bool, string, uint256)',
1836074433: '(bool, bool, bool, uint256)',
1276263767: '(bool, bool, address, uint256)',
2079424929: '(bool, address, uint256, uint256)',
1374724088: '(bool, address, uint256, string)',
3590430492: '(bool, address, uint256, bool)',
325780957: '(bool, address, uint256, address)',
3256837319: '(bool, address, string, uint256)',
126031106: '(bool, address, bool, uint256)',
208064958: '(bool, address, address, uint256)',
888202806: '(address, uint256, uint256, uint256)',
1244184599: '(address, uint256, uint256, string)',
1727118439: '(address, uint256, uint256, bool)',
551786573: '(address, uint256, uint256, address)',
3204577425: '(address, uint256, string, uint256)',
2292761606: '(address, uint256, string, string)',
3474460764: '(address, uint256, string, bool)',
1547898183: '(address, uint256, string, address)',
586594713: '(address, uint256, bool, uint256)',
3316483577: '(address, uint256, bool, string)',
1005970743: '(address, uint256, bool, bool)',
2736520652: '(address, uint256, bool, address)',
269444366: '(address, uint256, address, uint256)',
497649386: '(address, uint256, address, string)',
2713504179: '(address, uint256, address, bool)',
1200430178: '(address, uint256, address, address)',
499704248: '(address, string, uint256, uint256)',
1149776040: '(address, string, uint256, string)',
251125840: '(address, string, uint256, bool)',
1662531192: '(address, string, uint256, address)',
362776871: '(address, string, string, uint256)',
1365129398: '(address, string, bool, uint256)',
1166009295: '(address, string, address, uint256)',
946861556: '(address, bool, uint256, uint256)',
178704301: '(address, bool, uint256, string)',
3294903840: '(address, bool, uint256, bool)',
3438776481: '(address, bool, uint256, address)',
2162598411: '(address, bool, string, uint256)',
2353946086: '(address, bool, bool, uint256)',
2807847390: '(address, bool, address, uint256)',
3193255041: '(address, address, uint256, uint256)',
4256496016: '(address, address, uint256, string)',
2604815586: '(address, address, uint256, bool)',
2376523509: '(address, address, uint256, address)',
4011651047: '(address, address, string, uint256)',
963766156: '(address, address, bool, uint256)',
2485456247: '(address, address, address, uint256)',
}

Loading…
Cancel
Save