diff --git a/17645f66770270d4fac0__mypyc.cp38-win_amd64.pyd b/17645f66770270d4fac0__mypyc.cp38-win_amd64.pyd index 450d18f235..424da96cf3 100644 Binary files a/17645f66770270d4fac0__mypyc.cp38-win_amd64.pyd and b/17645f66770270d4fac0__mypyc.cp38-win_amd64.pyd differ diff --git a/17645f66770270d4fac0__mypyc.cpython-38-darwin.so b/17645f66770270d4fac0__mypyc.cpython-38-darwin.so index 2ee8ac73ae..e0565419f4 100755 Binary files a/17645f66770270d4fac0__mypyc.cpython-38-darwin.so and b/17645f66770270d4fac0__mypyc.cpython-38-darwin.so differ diff --git a/17645f66770270d4fac0__mypyc.cpython-38-x86_64-linux-gnu.so b/17645f66770270d4fac0__mypyc.cpython-38-x86_64-linux-gnu.so index 8a37f9ae1d..6afa4744ad 100755 Binary files a/17645f66770270d4fac0__mypyc.cpython-38-x86_64-linux-gnu.so and b/17645f66770270d4fac0__mypyc.cpython-38-x86_64-linux-gnu.so differ diff --git a/build/__native_17645f66770270d4fac0.c b/build/__native_17645f66770270d4fac0.c index 96b9b1d1ea..713c6f56b8 100644 --- a/build/__native_17645f66770270d4fac0.c +++ b/build/__native_17645f66770270d4fac0.c @@ -254,7 +254,7 @@ char CPyDef__demo_mode_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[632]; /* ('Any', 'Final', 'final') */ + cpy_r_r5 = CPyStatics[633]; /* ('Any', 'Final', 'final') */ cpy_r_r6 = CPyStatics[7]; /* 'typing' */ cpy_r_r7 = CPyStatic__demo_mode___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -265,7 +265,7 @@ CPyL3: ; CPyModule_typing = cpy_r_r8; CPy_INCREF(CPyModule_typing); CPy_DECREF(cpy_r_r8); - cpy_r_r9 = CPyStatics[633]; /* ('ENVIRONMENT_VARIABLES',) */ + cpy_r_r9 = CPyStatics[634]; /* ('ENVIRONMENT_VARIABLES',) */ cpy_r_r10 = CPyStatics[9]; /* 'dank_mids' */ cpy_r_r11 = CPyStatic__demo_mode___globals; cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); @@ -276,7 +276,7 @@ CPyL3: ; CPyModule_dank_mids = cpy_r_r12; CPy_INCREF(CPyModule_dank_mids); CPy_DECREF(cpy_r_r12); - cpy_r_r13 = CPyStatics[634]; /* ('getLogger',) */ + cpy_r_r13 = CPyStatics[635]; /* ('getLogger',) */ cpy_r_r14 = CPyStatics[11]; /* 'dank_mids._logging' */ cpy_r_r15 = CPyStatic__demo_mode___globals; cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); @@ -555,7 +555,7 @@ char CPyDef__envs_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[635]; /* ('Final',) */ + cpy_r_r5 = CPyStatics[636]; /* ('Final',) */ cpy_r_r6 = CPyStatics[7]; /* 'typing' */ cpy_r_r7 = CPyStatic__envs___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -571,13 +571,13 @@ CPyL3: ; cpy_r_r11 = (void *)&cpy_r_r10; int64_t cpy_r_r12[1] = {3}; cpy_r_r13 = (void *)&cpy_r_r12; - cpy_r_r14 = CPyStatics[637]; /* (('a_sync', 'a_sync', 'a_sync'),) */ + cpy_r_r14 = CPyStatics[638]; /* (('a_sync', 'a_sync', 'a_sync'),) */ cpy_r_r15 = CPyStatic__envs___globals; cpy_r_r16 = CPyStatics[19]; /* 'dank_mids\\_envs.py' */ cpy_r_r17 = CPyStatics[20]; /* '' */ cpy_r_r18 = CPyImport_ImportMany(cpy_r_r14, cpy_r_r11, cpy_r_r15, cpy_r_r16, cpy_r_r17, cpy_r_r13); if (!cpy_r_r18) goto CPyL36; - cpy_r_r19 = CPyStatics[638]; /* ('EnvVarFactory',) */ + cpy_r_r19 = CPyStatics[639]; /* ('EnvVarFactory',) */ cpy_r_r20 = CPyStatics[22]; /* 'typed_envs' */ cpy_r_r21 = CPyStatic__envs___globals; cpy_r_r22 = CPyImport_ImportFromMany(cpy_r_r20, cpy_r_r19, cpy_r_r19, cpy_r_r21); @@ -588,7 +588,7 @@ CPyL3: ; CPyModule_typed_envs = cpy_r_r22; CPy_INCREF(CPyModule_typed_envs); CPy_DECREF(cpy_r_r22); - cpy_r_r23 = CPyStatics[639]; /* ('BlockSemaphore',) */ + cpy_r_r23 = CPyStatics[640]; /* ('BlockSemaphore',) */ cpy_r_r24 = CPyStatics[24]; /* 'dank_mids.semaphores' */ cpy_r_r25 = CPyStatic__envs___globals; cpy_r_r26 = CPyImport_ImportFromMany(cpy_r_r24, cpy_r_r23, cpy_r_r23, cpy_r_r25); @@ -2517,12 +2517,12 @@ CPyL8: ; goto CPyL50; } if (!cpy_r_r7) goto CPyL11; - cpy_r_r8 = CPyStatics[599]; /* b'\x01' */ + cpy_r_r8 = CPyStatics[600]; /* b'\x01' */ CPy_INCREF(cpy_r_r8); cpy_r_r9 = cpy_r_r8; goto CPyL12; CPyL11: ; - cpy_r_r10 = CPyStatics[600]; /* b'\x00' */ + cpy_r_r10 = CPyStatics[601]; /* b'\x00' */ CPy_INCREF(cpy_r_r10); cpy_r_r9 = cpy_r_r10; CPyL12: ; @@ -3381,7 +3381,7 @@ PyObject *CPyDef__eth_utils___remove_0x_prefix(PyObject *cpy_r_value) { if (!cpy_r_r1) goto CPyL6; cpy_r_r2 = (PyObject *)&_Py_NoneStruct; cpy_r_r3 = (PyObject *)&_Py_NoneStruct; - cpy_r_r4 = CPyStatics[605]; /* 2 */ + cpy_r_r4 = CPyStatics[606]; /* 2 */ cpy_r_r5 = PySlice_New(cpy_r_r4, cpy_r_r2, cpy_r_r3); if (unlikely(cpy_r_r5 == NULL)) { CPy_AddTraceback("dank_mids\\_eth_utils.py", "remove_0x_prefix", 158, CPyStatic__eth_utils___globals); @@ -3530,13 +3530,13 @@ CPyL3: ; cpy_r_r7 = (void *)&cpy_r_r6; int64_t cpy_r_r8[1] = {8}; cpy_r_r9 = (void *)&cpy_r_r8; - cpy_r_r10 = CPyStatics[641]; /* (('binascii', 'binascii', 'binascii'),) */ + cpy_r_r10 = CPyStatics[642]; /* (('binascii', 'binascii', 'binascii'),) */ cpy_r_r11 = CPyStatic__eth_utils___globals; cpy_r_r12 = CPyStatics[81]; /* 'dank_mids\\_eth_utils.py' */ cpy_r_r13 = CPyStatics[20]; /* '' */ cpy_r_r14 = CPyImport_ImportMany(cpy_r_r10, cpy_r_r7, cpy_r_r11, cpy_r_r12, cpy_r_r13, cpy_r_r9); if (!cpy_r_r14) goto CPyL11; - cpy_r_r15 = CPyStatics[642]; /* ('Any', 'AnyStr', 'Final', 'Optional') */ + cpy_r_r15 = CPyStatics[643]; /* ('Any', 'AnyStr', 'Final', 'Optional') */ cpy_r_r16 = CPyStatics[7]; /* 'typing' */ cpy_r_r17 = CPyStatic__eth_utils___globals; cpy_r_r18 = CPyImport_ImportFromMany(cpy_r_r16, cpy_r_r15, cpy_r_r15, cpy_r_r17); @@ -3547,7 +3547,7 @@ CPyL3: ; CPyModule_typing = cpy_r_r18; CPy_INCREF(CPyModule_typing); CPy_DECREF(cpy_r_r18); - cpy_r_r19 = CPyStatics[643]; /* ('HexStr',) */ + cpy_r_r19 = CPyStatics[644]; /* ('HexStr',) */ cpy_r_r20 = CPyStatics[85]; /* 'eth_typing' */ cpy_r_r21 = CPyStatic__eth_utils___globals; cpy_r_r22 = CPyImport_ImportFromMany(cpy_r_r20, cpy_r_r19, cpy_r_r19, cpy_r_r21); @@ -4595,7 +4595,7 @@ CPyTagged CPyDef__exceptions___ExceedsMaxBatchSize___limit(PyObject *cpy_r_self) goto CPyL10; } CPy_DECREF(cpy_r_r6); - cpy_r_r13 = CPyStatics[606]; /* 1 */ + cpy_r_r13 = CPyStatics[607]; /* 1 */ cpy_r_r14 = PyObject_GetItem(cpy_r_r12, cpy_r_r13); CPy_DECREF(cpy_r_r12); if (unlikely(cpy_r_r14 == NULL)) { @@ -4779,7 +4779,7 @@ CPyL3: ; } PyObject *cpy_r_r25[5] = {cpy_r_r16, cpy_r_r18, cpy_r_r20, cpy_r_r22, cpy_r_r24}; cpy_r_r26 = (PyObject **)&cpy_r_r25; - cpy_r_r27 = CPyStatics[644]; /* ('status', 'message', 'headers') */ + cpy_r_r27 = CPyStatics[645]; /* ('status', 'message', 'headers') */ cpy_r_r28 = _PyObject_Vectorcall(cpy_r_r14, cpy_r_r26, 2, cpy_r_r27); CPy_DECREF(cpy_r_r14); if (unlikely(cpy_r_r28 == NULL)) { @@ -4935,7 +4935,7 @@ CPyL3: ; cpy_r_r7 = 1 ? Py_True : Py_False; PyObject *cpy_r_r8[2] = {cpy_r_r4, cpy_r_r7}; cpy_r_r9 = (PyObject **)&cpy_r_r8; - cpy_r_r10 = CPyStatics[645]; /* ('exc_info',) */ + cpy_r_r10 = CPyStatics[646]; /* ('exc_info',) */ cpy_r_r11 = _PyObject_Vectorcall(cpy_r_r6, cpy_r_r9, 1, cpy_r_r10); CPy_DECREF(cpy_r_r6); if (unlikely(cpy_r_r11 == NULL)) { @@ -5726,13 +5726,13 @@ CPyL3: ; cpy_r_r8 = (void *)&cpy_r_r7; int64_t cpy_r_r9[2] = {1, 2}; cpy_r_r10 = (void *)&cpy_r_r9; - cpy_r_r11 = CPyStatics[648]; /* (('logging', 'logging', 'logging'), ('re', 're', 're')) */ + cpy_r_r11 = CPyStatics[649]; /* (('logging', 'logging', 'logging'), ('re', 're', 're')) */ cpy_r_r12 = CPyStatic__exceptions___globals; cpy_r_r13 = CPyStatics[121]; /* 'dank_mids\\_exceptions.py' */ cpy_r_r14 = CPyStatics[20]; /* '' */ cpy_r_r15 = CPyImport_ImportMany(cpy_r_r11, cpy_r_r8, cpy_r_r12, cpy_r_r13, cpy_r_r14, cpy_r_r10); if (!cpy_r_r15) goto CPyL88; - cpy_r_r16 = CPyStatics[649]; /* ('TYPE_CHECKING', 'Final', 'List', 'Union', 'final') */ + cpy_r_r16 = CPyStatics[650]; /* ('TYPE_CHECKING', 'Final', 'List', 'Union', 'final') */ cpy_r_r17 = CPyStatics[7]; /* 'typing' */ cpy_r_r18 = CPyStatic__exceptions___globals; cpy_r_r19 = CPyImport_ImportFromMany(cpy_r_r17, cpy_r_r16, cpy_r_r16, cpy_r_r18); @@ -5743,7 +5743,7 @@ CPyL3: ; CPyModule_typing = cpy_r_r19; CPy_INCREF(CPyModule_typing); CPy_DECREF(cpy_r_r19); - cpy_r_r20 = CPyStatics[650]; /* ('ClientResponseError',) */ + cpy_r_r20 = CPyStatics[651]; /* ('ClientResponseError',) */ cpy_r_r21 = CPyStatics[126]; /* 'aiohttp.client_exceptions' */ cpy_r_r22 = CPyStatic__exceptions___globals; cpy_r_r23 = CPyImport_ImportFromMany(cpy_r_r21, cpy_r_r20, cpy_r_r20, cpy_r_r22); @@ -6604,13 +6604,13 @@ CPyL3: ; cpy_r_r7 = (void *)&cpy_r_r6; int64_t cpy_r_r8[1] = {1}; cpy_r_r9 = (void *)&cpy_r_r8; - cpy_r_r10 = CPyStatics[651]; /* (('logging', 'logging', 'logging'),) */ + cpy_r_r10 = CPyStatics[652]; /* (('logging', 'logging', 'logging'),) */ cpy_r_r11 = CPyStatic__logging___globals; cpy_r_r12 = CPyStatics[155]; /* 'dank_mids\\_logging.py' */ cpy_r_r13 = CPyStatics[20]; /* '' */ cpy_r_r14 = CPyImport_ImportMany(cpy_r_r10, cpy_r_r7, cpy_r_r11, cpy_r_r12, cpy_r_r13, cpy_r_r9); if (!cpy_r_r14) goto CPyL16; - cpy_r_r15 = CPyStatics[635]; /* ('Final',) */ + cpy_r_r15 = CPyStatics[636]; /* ('Final',) */ cpy_r_r16 = CPyStatics[7]; /* 'typing' */ cpy_r_r17 = CPyStatic__logging___globals; cpy_r_r18 = CPyImport_ImportFromMany(cpy_r_r16, cpy_r_r15, cpy_r_r15, cpy_r_r17); @@ -6642,7 +6642,7 @@ CPyL3: ; CPyStatic__logging___CRITICAL = 100; cpy_r_r26 = CPyStatic__logging___globals; cpy_r_r27 = CPyStatics[156]; /* 'CRITICAL' */ - cpy_r_r28 = CPyStatics[607]; /* 50 */ + cpy_r_r28 = CPyStatics[608]; /* 50 */ cpy_r_r29 = CPyDict_SetItem(cpy_r_r26, cpy_r_r27, cpy_r_r28); cpy_r_r30 = cpy_r_r29 >= 0; if (unlikely(!cpy_r_r30)) { @@ -6652,7 +6652,7 @@ CPyL3: ; CPyStatic__logging___FATAL = 100; cpy_r_r31 = CPyStatic__logging___globals; cpy_r_r32 = CPyStatics[157]; /* 'FATAL' */ - cpy_r_r33 = CPyStatics[607]; /* 50 */ + cpy_r_r33 = CPyStatics[608]; /* 50 */ cpy_r_r34 = CPyDict_SetItem(cpy_r_r31, cpy_r_r32, cpy_r_r33); cpy_r_r35 = cpy_r_r34 >= 0; if (unlikely(!cpy_r_r35)) { @@ -6662,7 +6662,7 @@ CPyL3: ; CPyStatic__logging___ERROR = 80; cpy_r_r36 = CPyStatic__logging___globals; cpy_r_r37 = CPyStatics[158]; /* 'ERROR' */ - cpy_r_r38 = CPyStatics[608]; /* 40 */ + cpy_r_r38 = CPyStatics[609]; /* 40 */ cpy_r_r39 = CPyDict_SetItem(cpy_r_r36, cpy_r_r37, cpy_r_r38); cpy_r_r40 = cpy_r_r39 >= 0; if (unlikely(!cpy_r_r40)) { @@ -6672,7 +6672,7 @@ CPyL3: ; CPyStatic__logging___WARN = 60; cpy_r_r41 = CPyStatic__logging___globals; cpy_r_r42 = CPyStatics[159]; /* 'WARN' */ - cpy_r_r43 = CPyStatics[609]; /* 30 */ + cpy_r_r43 = CPyStatics[610]; /* 30 */ cpy_r_r44 = CPyDict_SetItem(cpy_r_r41, cpy_r_r42, cpy_r_r43); cpy_r_r45 = cpy_r_r44 >= 0; if (unlikely(!cpy_r_r45)) { @@ -6682,7 +6682,7 @@ CPyL3: ; CPyStatic__logging___WARNING = 60; cpy_r_r46 = CPyStatic__logging___globals; cpy_r_r47 = CPyStatics[160]; /* 'WARNING' */ - cpy_r_r48 = CPyStatics[609]; /* 30 */ + cpy_r_r48 = CPyStatics[610]; /* 30 */ cpy_r_r49 = CPyDict_SetItem(cpy_r_r46, cpy_r_r47, cpy_r_r48); cpy_r_r50 = cpy_r_r49 >= 0; if (unlikely(!cpy_r_r50)) { @@ -6692,7 +6692,7 @@ CPyL3: ; CPyStatic__logging___INFO = 40; cpy_r_r51 = CPyStatic__logging___globals; cpy_r_r52 = CPyStatics[161]; /* 'INFO' */ - cpy_r_r53 = CPyStatics[610]; /* 20 */ + cpy_r_r53 = CPyStatics[611]; /* 20 */ cpy_r_r54 = CPyDict_SetItem(cpy_r_r51, cpy_r_r52, cpy_r_r53); cpy_r_r55 = cpy_r_r54 >= 0; if (unlikely(!cpy_r_r55)) { @@ -6702,7 +6702,7 @@ CPyL3: ; CPyStatic__logging___DEBUG = 20; cpy_r_r56 = CPyStatic__logging___globals; cpy_r_r57 = CPyStatics[162]; /* 'DEBUG' */ - cpy_r_r58 = CPyStatics[611]; /* 10 */ + cpy_r_r58 = CPyStatics[612]; /* 10 */ cpy_r_r59 = CPyDict_SetItem(cpy_r_r56, cpy_r_r57, cpy_r_r58); cpy_r_r60 = cpy_r_r59 >= 0; if (unlikely(!cpy_r_r60)) { @@ -6712,7 +6712,7 @@ CPyL3: ; CPyStatic__logging___NOTSET = 0; cpy_r_r61 = CPyStatic__logging___globals; cpy_r_r62 = CPyStatics[163]; /* 'NOTSET' */ - cpy_r_r63 = CPyStatics[612]; /* 0 */ + cpy_r_r63 = CPyStatics[613]; /* 0 */ cpy_r_r64 = CPyDict_SetItem(cpy_r_r61, cpy_r_r62, cpy_r_r63); cpy_r_r65 = cpy_r_r64 >= 0; if (unlikely(!cpy_r_r65)) { @@ -7019,7 +7019,7 @@ char CPyDef__uid___UIDGenerator_____init__(PyObject *cpy_r_self) { } PyObject *cpy_r_r4[1] = {cpy_r_r0}; cpy_r_r5 = (PyObject **)&cpy_r_r4; - cpy_r_r6 = CPyStatics[652]; /* ('name',) */ + cpy_r_r6 = CPyStatics[653]; /* ('name',) */ cpy_r_r7 = _PyObject_Vectorcall(cpy_r_r3, cpy_r_r5, 0, cpy_r_r6); CPy_DECREF(cpy_r_r3); if (unlikely(cpy_r_r7 == NULL)) { @@ -7284,7 +7284,7 @@ char CPyDef__uid_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[653]; /* ('AlertingRLock',) */ + cpy_r_r5 = CPyStatics[654]; /* ('AlertingRLock',) */ cpy_r_r6 = CPyStatics[168]; /* 'dank_mids.helpers._lock' */ cpy_r_r7 = CPyStatic__uid___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -7532,7 +7532,7 @@ char CPyDef_brownie_patch_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[654]; /* ('suppress',) */ + cpy_r_r5 = CPyStatics[655]; /* ('suppress',) */ cpy_r_r6 = CPyStatics[174]; /* 'contextlib' */ cpy_r_r7 = CPyStatic_brownie_patch___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -7543,7 +7543,7 @@ CPyL3: ; CPyModule_contextlib = cpy_r_r8; CPy_INCREF(CPyModule_contextlib); CPy_DECREF(cpy_r_r8); - cpy_r_r9 = CPyStatics[655]; /* ('AsyncEth',) */ + cpy_r_r9 = CPyStatics[656]; /* ('AsyncEth',) */ cpy_r_r10 = CPyStatics[176]; /* 'web3.eth' */ cpy_r_r11 = CPyStatic_brownie_patch___globals; cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); @@ -7554,7 +7554,7 @@ CPyL3: ; CPyModule_web3___eth = cpy_r_r12; CPy_INCREF(CPyModule_web3___eth); CPy_DECREF(cpy_r_r12); - cpy_r_r13 = CPyStatics[656]; /* ('setup_dank_w3_from_sync',) */ + cpy_r_r13 = CPyStatics[657]; /* ('setup_dank_w3_from_sync',) */ cpy_r_r14 = CPyStatics[178]; /* 'dank_mids.helpers' */ cpy_r_r15 = CPyStatic_brownie_patch___globals; cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); @@ -7565,7 +7565,7 @@ CPyL3: ; CPyModule_dank_mids___helpers = cpy_r_r16; CPy_INCREF(CPyModule_dank_mids___helpers); CPy_DECREF(cpy_r_r16); - cpy_r_r17 = CPyStatics[657]; /* ('DankContractCall', 'DankContractMethod', + cpy_r_r17 = CPyStatics[658]; /* ('DankContractCall', 'DankContractMethod', 'DankContractTx', 'DankOverloadedMethod') */ cpy_r_r18 = CPyStatics[183]; /* 'dank_mids.brownie_patch.types' */ cpy_r_r19 = CPyStatic_brownie_patch___globals; @@ -7608,7 +7608,7 @@ CPyL3: ; CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 13, CPyStatic_brownie_patch___globals); goto CPyL56; } - cpy_r_r35 = CPyStatics[658]; /* ('DankEth',) */ + cpy_r_r35 = CPyStatics[659]; /* ('DankEth',) */ cpy_r_r36 = CPyStatics[186]; /* 'dank_mids.eth' */ cpy_r_r37 = CPyStatic_brownie_patch___globals; cpy_r_r38 = CPyImport_ImportFromMany(cpy_r_r36, cpy_r_r35, cpy_r_r35, cpy_r_r37); @@ -7619,7 +7619,7 @@ CPyL3: ; CPyModule_dank_mids___eth = cpy_r_r38; CPy_INCREF(CPyModule_dank_mids___eth); CPy_DECREF(cpy_r_r38); - cpy_r_r39 = CPyStatics[659]; /* ('DankWeb3',) */ + cpy_r_r39 = CPyStatics[660]; /* ('DankWeb3',) */ cpy_r_r40 = CPyStatics[188]; /* 'dank_mids.helpers._helpers' */ cpy_r_r41 = CPyStatic_brownie_patch___globals; cpy_r_r42 = CPyImport_ImportFromMany(cpy_r_r40, cpy_r_r39, cpy_r_r39, cpy_r_r41); @@ -7682,7 +7682,7 @@ CPyL3: ; goto CPyL60; CPyL17: ; cpy_r_r64 = 1; - cpy_r_r65 = CPyStatics[660]; /* ('network', 'web3') */ + cpy_r_r65 = CPyStatics[661]; /* ('network', 'web3') */ cpy_r_r66 = CPyStatics[193]; /* 'brownie' */ cpy_r_r67 = CPyStatic_brownie_patch___globals; cpy_r_r68 = CPyImport_ImportFromMany(cpy_r_r66, cpy_r_r65, cpy_r_r65, cpy_r_r67); @@ -7716,7 +7716,7 @@ CPyL17: ; } cpy_r_r76 = cpy_r_r74; if (!cpy_r_r76) goto CPyL43; - cpy_r_r77 = CPyStatics[661]; /* ('Contract', 'patch_contract') */ + cpy_r_r77 = CPyStatics[662]; /* ('Contract', 'patch_contract') */ cpy_r_r78 = CPyStatics[197]; /* 'dank_mids.brownie_patch.contract' */ cpy_r_r79 = CPyStatic_brownie_patch___globals; cpy_r_r80 = CPyImport_ImportFromMany(cpy_r_r78, cpy_r_r77, cpy_r_r77, cpy_r_r79); @@ -8479,13 +8479,13 @@ CPyL3: ; cpy_r_r7 = (void *)&cpy_r_r6; int64_t cpy_r_r8[1] = {1}; cpy_r_r9 = (void *)&cpy_r_r8; - cpy_r_r10 = CPyStatics[663]; /* (('functools', 'functools', 'functools'),) */ + cpy_r_r10 = CPyStatics[664]; /* (('functools', 'functools', 'functools'),) */ cpy_r_r11 = CPyStatic__abi___globals; cpy_r_r12 = CPyStatics[202]; /* 'dank_mids\\brownie_patch\\_abi.py' */ cpy_r_r13 = CPyStatics[20]; /* '' */ cpy_r_r14 = CPyImport_ImportMany(cpy_r_r10, cpy_r_r7, cpy_r_r11, cpy_r_r12, cpy_r_r13, cpy_r_r9); if (!cpy_r_r14) goto CPyL17; - cpy_r_r15 = CPyStatics[664]; /* ('Any', 'final') */ + cpy_r_r15 = CPyStatics[665]; /* ('Any', 'final') */ cpy_r_r16 = CPyStatics[7]; /* 'typing' */ cpy_r_r17 = CPyStatic__abi___globals; cpy_r_r18 = CPyImport_ImportFromMany(cpy_r_r16, cpy_r_r15, cpy_r_r15, cpy_r_r17); @@ -8496,7 +8496,7 @@ CPyL3: ; CPyModule_typing = cpy_r_r18; CPy_INCREF(CPyModule_typing); CPy_DECREF(cpy_r_r18); - cpy_r_r19 = CPyStatics[665]; /* ('build_function_selector', 'build_function_signature') */ + cpy_r_r19 = CPyStatics[666]; /* ('build_function_selector', 'build_function_signature') */ cpy_r_r20 = CPyStatics[203]; /* 'brownie.convert.utils' */ cpy_r_r21 = CPyStatic__abi___globals; cpy_r_r22 = CPyImport_ImportFromMany(cpy_r_r20, cpy_r_r19, cpy_r_r19, cpy_r_r21); @@ -8564,7 +8564,7 @@ CPyL3: ; cpy_r_r45 = Py_None; PyObject *cpy_r_r46[1] = {cpy_r_r45}; cpy_r_r47 = (PyObject **)&cpy_r_r46; - cpy_r_r48 = CPyStatics[666]; /* ('maxsize',) */ + cpy_r_r48 = CPyStatics[667]; /* ('maxsize',) */ cpy_r_r49 = _PyObject_Vectorcall(cpy_r_r44, cpy_r_r47, 0, cpy_r_r48); CPy_DECREF(cpy_r_r44); if (unlikely(cpy_r_r49 == NULL)) { @@ -14170,7 +14170,7 @@ CPyL469: ; goto CPyL677; } CPy_DECREF(cpy_r_r419); - cpy_r_r423 = CPyStatics[611]; /* 10 */ + cpy_r_r423 = CPyStatics[612]; /* 10 */ cpy_r_r424 = CPyNumber_Power(cpy_r_r423, cpy_r_r422); CPy_DECREF(cpy_r_r422); if (unlikely(cpy_r_r424 == NULL)) { @@ -19054,7 +19054,7 @@ CPyL11: ; } cpy_r_r19 = cpy_r_r17; if (cpy_r_r19) goto CPyL213; - cpy_r_r20 = CPyStatics[601]; /* b'Unexpected error' */ + cpy_r_r20 = CPyStatics[602]; /* b'Unexpected error' */ cpy_r_r21 = ((dank_mids___brownie_patch___call___decode_output_envObject *)cpy_r_r4)->_data; if (unlikely(cpy_r_r21 == NULL)) { CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_env", "data", 207, CPyStatic_call___globals); @@ -22014,7 +22014,7 @@ CPyL4: ; } cpy_r_r5 = (PyObject *)&_Py_NoneStruct; cpy_r_r6 = (PyObject *)&_Py_NoneStruct; - cpy_r_r7 = CPyStatics[613]; /* 4 */ + cpy_r_r7 = CPyStatics[614]; /* 4 */ cpy_r_r8 = PySlice_New(cpy_r_r5, cpy_r_r7, cpy_r_r6); if (unlikely(cpy_r_r8 == NULL)) { CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 283, CPyStatic_call___globals); @@ -22093,7 +22093,7 @@ CPyL16: ; } cpy_r_r29 = (PyObject *)&_Py_NoneStruct; cpy_r_r30 = (PyObject *)&_Py_NoneStruct; - cpy_r_r31 = CPyStatics[613]; /* 4 */ + cpy_r_r31 = CPyStatics[614]; /* 4 */ cpy_r_r32 = PySlice_New(cpy_r_r31, cpy_r_r29, cpy_r_r30); if (unlikely(cpy_r_r32 == NULL)) { CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 285, CPyStatic_call___globals); @@ -22115,7 +22115,7 @@ CPyL16: ; CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 285, CPyStatic_call___globals); goto CPyL78; } - cpy_r_r36 = CPyStatics[612]; /* 0 */ + cpy_r_r36 = CPyStatics[613]; /* 0 */ cpy_r_r37 = PyObject_GetItem(cpy_r_r35, cpy_r_r36); CPy_DECREF(cpy_r_r35); if (unlikely(cpy_r_r37 == NULL)) { @@ -22204,7 +22204,7 @@ CPyL35: ; } cpy_r_r56 = (PyObject *)&_Py_NoneStruct; cpy_r_r57 = (PyObject *)&_Py_NoneStruct; - cpy_r_r58 = CPyStatics[613]; /* 4 */ + cpy_r_r58 = CPyStatics[614]; /* 4 */ cpy_r_r59 = PySlice_New(cpy_r_r58, cpy_r_r56, cpy_r_r57); if (unlikely(cpy_r_r59 == NULL)) { CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 288, CPyStatic_call___globals); @@ -22225,7 +22225,7 @@ CPyL35: ; goto CPyL78; } cpy_r_r63 = (PyObject *)&PyLong_Type; - cpy_r_r64 = CPyStatics[614]; /* 16 */ + cpy_r_r64 = CPyStatics[615]; /* 16 */ PyObject *cpy_r_r65[2] = {cpy_r_r62, cpy_r_r64}; cpy_r_r66 = (PyObject **)&cpy_r_r65; cpy_r_r67 = _PyObject_Vectorcall(cpy_r_r63, cpy_r_r66, 2, 0); @@ -23564,7 +23564,7 @@ PyObject *CPyDef_call____format_array_but_cache_checksums(PyObject *cpy_r_abi_ty CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 351, CPyStatic_call___globals); goto CPyL48; } - cpy_r_r2 = CPyStatics[615]; /* -1 */ + cpy_r_r2 = CPyStatics[616]; /* -1 */ cpy_r_r3 = PyObject_GetItem(cpy_r_r1, cpy_r_r2); CPy_DECREF(cpy_r_r1); if (unlikely(cpy_r_r3 == NULL)) { @@ -23586,14 +23586,14 @@ PyObject *CPyDef_call____format_array_but_cache_checksums(PyObject *cpy_r_abi_ty CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 351, CPyStatic_call___globals); goto CPyL48; } - cpy_r_r8 = CPyStatics[615]; /* -1 */ + cpy_r_r8 = CPyStatics[616]; /* -1 */ cpy_r_r9 = PyObject_GetItem(cpy_r_r7, cpy_r_r8); CPy_DECREF(cpy_r_r7); if (unlikely(cpy_r_r9 == NULL)) { CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 351, CPyStatic_call___globals); goto CPyL48; } - cpy_r_r10 = CPyStatics[612]; /* 0 */ + cpy_r_r10 = CPyStatics[613]; /* 0 */ cpy_r_r11 = PyObject_GetItem(cpy_r_r9, cpy_r_r10); CPy_DECREF(cpy_r_r9); if (unlikely(cpy_r_r11 == NULL)) { @@ -24977,13 +24977,13 @@ CPyL3: ; cpy_r_r7 = (void *)&cpy_r_r6; int64_t cpy_r_r8[1] = {1}; cpy_r_r9 = (void *)&cpy_r_r8; - cpy_r_r10 = CPyStatics[668]; /* (('decimal', 'decimal', 'decimal'),) */ + cpy_r_r10 = CPyStatics[669]; /* (('decimal', 'decimal', 'decimal'),) */ cpy_r_r11 = CPyStatic_call___globals; cpy_r_r12 = CPyStatics[284]; /* 'dank_mids\\brownie_patch\\call.py' */ cpy_r_r13 = CPyStatics[20]; /* '' */ cpy_r_r14 = CPyImport_ImportMany(cpy_r_r10, cpy_r_r7, cpy_r_r11, cpy_r_r12, cpy_r_r13, cpy_r_r9); if (!cpy_r_r14) goto CPyL222; - cpy_r_r15 = CPyStatics[669]; /* ('BrokenProcessPool',) */ + cpy_r_r15 = CPyStatics[670]; /* ('BrokenProcessPool',) */ cpy_r_r16 = CPyStatics[285]; /* 'concurrent.futures.process' */ cpy_r_r17 = CPyStatic_call___globals; cpy_r_r18 = CPyImport_ImportFromMany(cpy_r_r16, cpy_r_r15, cpy_r_r15, cpy_r_r17); @@ -24994,7 +24994,7 @@ CPyL3: ; CPyModule_concurrent___futures___process = cpy_r_r18; CPy_INCREF(CPyModule_concurrent___futures___process); CPy_DECREF(cpy_r_r18); - cpy_r_r19 = CPyStatics[670]; /* ('Logger',) */ + cpy_r_r19 = CPyStatics[671]; /* ('Logger',) */ cpy_r_r20 = CPyStatics[119]; /* 'logging' */ cpy_r_r21 = CPyStatic_call___globals; cpy_r_r22 = CPyImport_ImportFromMany(cpy_r_r20, cpy_r_r19, cpy_r_r19, cpy_r_r21); @@ -25005,7 +25005,7 @@ CPyL3: ; CPyModule_logging = cpy_r_r22; CPy_INCREF(CPyModule_logging); CPy_DECREF(cpy_r_r22); - cpy_r_r23 = CPyStatics[671]; /* ('PicklingError',) */ + cpy_r_r23 = CPyStatics[672]; /* ('PicklingError',) */ cpy_r_r24 = CPyStatics[287]; /* 'pickle' */ cpy_r_r25 = CPyStatic_call___globals; cpy_r_r26 = CPyImport_ImportFromMany(cpy_r_r24, cpy_r_r23, cpy_r_r23, cpy_r_r25); @@ -25016,7 +25016,7 @@ CPyL3: ; CPyModule_pickle = cpy_r_r26; CPy_INCREF(CPyModule_pickle); CPy_DECREF(cpy_r_r26); - cpy_r_r27 = CPyStatics[672]; /* ('MethodType', 'ModuleType') */ + cpy_r_r27 = CPyStatics[673]; /* ('MethodType', 'ModuleType') */ cpy_r_r28 = CPyStatics[289]; /* 'types' */ cpy_r_r29 = CPyStatic_call___globals; cpy_r_r30 = CPyImport_ImportFromMany(cpy_r_r28, cpy_r_r27, cpy_r_r27, cpy_r_r29); @@ -25027,7 +25027,7 @@ CPyL3: ; CPyModule_types = cpy_r_r30; CPy_INCREF(CPyModule_types); CPy_DECREF(cpy_r_r30); - cpy_r_r31 = CPyStatics[673]; /* ('Any', 'Callable', 'Dict', 'Final', 'List', 'NewType', + cpy_r_r31 = CPyStatics[674]; /* ('Any', 'Callable', 'Dict', 'Final', 'List', 'NewType', 'Optional', 'Sequence', 'Tuple', 'TypeVar', 'Union') */ cpy_r_r32 = CPyStatics[7]; /* 'typing' */ cpy_r_r33 = CPyStatic_call___globals; @@ -25048,7 +25048,7 @@ CPyL3: ; cpy_r_r41 = (void *)&cpy_r_r40; int64_t cpy_r_r42[5] = {20, 21, 22, 23, 24}; cpy_r_r43 = (void *)&cpy_r_r42; - cpy_r_r44 = CPyStatics[679]; /* (('brownie.convert.datatypes', 'brownie', 'brownie'), + cpy_r_r44 = CPyStatics[680]; /* (('brownie.convert.datatypes', 'brownie', 'brownie'), ('brownie.convert.normalize', 'brownie', 'brownie'), ('brownie.network.contract', 'brownie', 'brownie'), ('eth_abi', 'eth_abi', 'eth_abi'), @@ -25058,7 +25058,7 @@ CPyL3: ; cpy_r_r47 = CPyStatics[20]; /* '' */ cpy_r_r48 = CPyImport_ImportMany(cpy_r_r44, cpy_r_r41, cpy_r_r45, cpy_r_r46, cpy_r_r47, cpy_r_r43); if (!cpy_r_r48) goto CPyL222; - cpy_r_r49 = CPyStatics[680]; /* ('AsyncProcessPoolExecutor',) */ + cpy_r_r49 = CPyStatics[681]; /* ('AsyncProcessPoolExecutor',) */ cpy_r_r50 = CPyStatics[18]; /* 'a_sync' */ cpy_r_r51 = CPyStatic_call___globals; cpy_r_r52 = CPyImport_ImportFromMany(cpy_r_r50, cpy_r_r49, cpy_r_r49, cpy_r_r51); @@ -25069,7 +25069,7 @@ CPyL3: ; CPyModule_a_sync = cpy_r_r52; CPy_INCREF(CPyModule_a_sync); CPy_DECREF(cpy_r_r52); - cpy_r_r53 = CPyStatics[681]; /* ('chain',) */ + cpy_r_r53 = CPyStatics[682]; /* ('chain',) */ cpy_r_r54 = CPyStatics[193]; /* 'brownie' */ cpy_r_r55 = CPyStatic_call___globals; cpy_r_r56 = CPyImport_ImportFromMany(cpy_r_r54, cpy_r_r53, cpy_r_r53, cpy_r_r55); @@ -25080,7 +25080,7 @@ CPyL3: ; CPyModule_brownie = cpy_r_r56; CPy_INCREF(CPyModule_brownie); CPy_DECREF(cpy_r_r56); - cpy_r_r57 = CPyStatics[682]; /* ('ABIType',) */ + cpy_r_r57 = CPyStatics[683]; /* ('ABIType',) */ cpy_r_r58 = CPyStatics[297]; /* 'brownie.convert.normalize' */ cpy_r_r59 = CPyStatic_call___globals; cpy_r_r60 = CPyImport_ImportFromMany(cpy_r_r58, cpy_r_r57, cpy_r_r57, cpy_r_r59); @@ -25091,7 +25091,7 @@ CPyL3: ; CPyModule_brownie___convert___normalize = cpy_r_r60; CPy_INCREF(CPyModule_brownie___convert___normalize); CPy_DECREF(cpy_r_r60); - cpy_r_r61 = CPyStatics[683]; /* ('get_type_strings',) */ + cpy_r_r61 = CPyStatics[684]; /* ('get_type_strings',) */ cpy_r_r62 = CPyStatics[203]; /* 'brownie.convert.utils' */ cpy_r_r63 = CPyStatic_call___globals; cpy_r_r64 = CPyImport_ImportFromMany(cpy_r_r62, cpy_r_r61, cpy_r_r61, cpy_r_r63); @@ -25102,7 +25102,7 @@ CPyL3: ; CPyModule_brownie___convert___utils = cpy_r_r64; CPy_INCREF(CPyModule_brownie___convert___utils); CPy_DECREF(cpy_r_r64); - cpy_r_r65 = CPyStatics[684]; /* ('VirtualMachineError',) */ + cpy_r_r65 = CPyStatics[685]; /* ('VirtualMachineError',) */ cpy_r_r66 = CPyStatics[302]; /* 'brownie.exceptions' */ cpy_r_r67 = CPyStatic_call___globals; cpy_r_r68 = CPyImport_ImportFromMany(cpy_r_r66, cpy_r_r65, cpy_r_r65, cpy_r_r67); @@ -25113,7 +25113,7 @@ CPyL3: ; CPyModule_brownie___exceptions = cpy_r_r68; CPy_INCREF(CPyModule_brownie___exceptions); CPy_DECREF(cpy_r_r68); - cpy_r_r69 = CPyStatics[685]; /* ('ContractCall',) */ + cpy_r_r69 = CPyStatics[686]; /* ('ContractCall',) */ cpy_r_r70 = CPyStatics[298]; /* 'brownie.network.contract' */ cpy_r_r71 = CPyStatic_call___globals; cpy_r_r72 = CPyImport_ImportFromMany(cpy_r_r70, cpy_r_r69, cpy_r_r69, cpy_r_r71); @@ -25124,7 +25124,7 @@ CPyL3: ; CPyModule_brownie___network___contract = cpy_r_r72; CPy_INCREF(CPyModule_brownie___network___contract); CPy_DECREF(cpy_r_r72); - cpy_r_r73 = CPyStatics[686]; /* ('SOLIDITY_ERROR_CODES',) */ + cpy_r_r73 = CPyStatics[687]; /* ('SOLIDITY_ERROR_CODES',) */ cpy_r_r74 = CPyStatics[304]; /* 'brownie.project.compiler.solidity' */ cpy_r_r75 = CPyStatic_call___globals; cpy_r_r76 = CPyImport_ImportFromMany(cpy_r_r74, cpy_r_r73, cpy_r_r73, cpy_r_r75); @@ -25135,7 +25135,7 @@ CPyL3: ; CPyModule_brownie___project___compiler___solidity = cpy_r_r76; CPy_INCREF(CPyModule_brownie___project___compiler___solidity); CPy_DECREF(cpy_r_r76); - cpy_r_r77 = CPyStatics[687]; /* ('InsufficientDataBytes',) */ + cpy_r_r77 = CPyStatics[688]; /* ('InsufficientDataBytes',) */ cpy_r_r78 = CPyStatics[305]; /* 'eth_abi.exceptions' */ cpy_r_r79 = CPyStatic_call___globals; cpy_r_r80 = CPyImport_ImportFromMany(cpy_r_r78, cpy_r_r77, cpy_r_r77, cpy_r_r79); @@ -25146,7 +25146,7 @@ CPyL3: ; CPyModule_eth_abi___exceptions = cpy_r_r80; CPy_INCREF(CPyModule_eth_abi___exceptions); CPy_DECREF(cpy_r_r80); - cpy_r_r81 = CPyStatics[643]; /* ('HexStr',) */ + cpy_r_r81 = CPyStatics[644]; /* ('HexStr',) */ cpy_r_r82 = CPyStatics[85]; /* 'eth_typing' */ cpy_r_r83 = CPyStatic_call___globals; cpy_r_r84 = CPyImport_ImportFromMany(cpy_r_r82, cpy_r_r81, cpy_r_r81, cpy_r_r83); @@ -25157,7 +25157,7 @@ CPyL3: ; CPyModule_eth_typing = cpy_r_r84; CPy_INCREF(CPyModule_eth_typing); CPy_DECREF(cpy_r_r84); - cpy_r_r85 = CPyStatics[688]; /* ('Address',) */ + cpy_r_r85 = CPyStatics[689]; /* ('Address',) */ cpy_r_r86 = CPyStatics[307]; /* 'evmspec.data' */ cpy_r_r87 = CPyStatic_call___globals; cpy_r_r88 = CPyImport_ImportFromMany(cpy_r_r86, cpy_r_r85, cpy_r_r85, cpy_r_r87); @@ -25168,7 +25168,7 @@ CPyL3: ; CPyModule_evmspec___data = cpy_r_r88; CPy_INCREF(CPyModule_evmspec___data); CPy_DECREF(cpy_r_r88); - cpy_r_r89 = CPyStatics[689]; /* ('BytesLike',) */ + cpy_r_r89 = CPyStatics[690]; /* ('BytesLike',) */ cpy_r_r90 = CPyStatics[309]; /* 'hexbytes.main' */ cpy_r_r91 = CPyStatic_call___globals; cpy_r_r92 = CPyImport_ImportFromMany(cpy_r_r90, cpy_r_r89, cpy_r_r89, cpy_r_r91); @@ -25179,7 +25179,7 @@ CPyL3: ; CPyModule_hexbytes___main = cpy_r_r92; CPy_INCREF(CPyModule_hexbytes___main); CPy_DECREF(cpy_r_r92); - cpy_r_r93 = CPyStatics[690]; /* ('MULTICALL2_ADDRESSES',) */ + cpy_r_r93 = CPyStatics[691]; /* ('MULTICALL2_ADDRESSES',) */ cpy_r_r94 = CPyStatics[311]; /* 'multicall.constants' */ cpy_r_r95 = CPyStatic_call___globals; cpy_r_r96 = CPyImport_ImportFromMany(cpy_r_r94, cpy_r_r93, cpy_r_r93, cpy_r_r95); @@ -25190,7 +25190,7 @@ CPyL3: ; CPyModule_multicall___constants = cpy_r_r96; CPy_INCREF(CPyModule_multicall___constants); CPy_DECREF(cpy_r_r96); - cpy_r_r97 = CPyStatics[691]; /* ('BlockIdentifier',) */ + cpy_r_r97 = CPyStatics[692]; /* ('BlockIdentifier',) */ cpy_r_r98 = CPyStatics[313]; /* 'web3.types' */ cpy_r_r99 = CPyStatic_call___globals; cpy_r_r100 = CPyImport_ImportFromMany(cpy_r_r98, cpy_r_r97, cpy_r_r97, cpy_r_r99); @@ -25201,7 +25201,7 @@ CPyL3: ; CPyModule_web3___types = cpy_r_r100; CPy_INCREF(CPyModule_web3___types); CPy_DECREF(cpy_r_r100); - cpy_r_r101 = CPyStatics[692]; /* ('ENVIRONMENT_VARIABLES', 'exceptions') */ + cpy_r_r101 = CPyStatics[693]; /* ('ENVIRONMENT_VARIABLES', 'exceptions') */ cpy_r_r102 = CPyStatics[9]; /* 'dank_mids' */ cpy_r_r103 = CPyStatic_call___globals; cpy_r_r104 = CPyImport_ImportFromMany(cpy_r_r102, cpy_r_r101, cpy_r_r101, cpy_r_r103); @@ -25212,7 +25212,7 @@ CPyL3: ; CPyModule_dank_mids = cpy_r_r104; CPy_INCREF(CPyModule_dank_mids); CPy_DECREF(cpy_r_r104); - cpy_r_r105 = CPyStatics[634]; /* ('getLogger',) */ + cpy_r_r105 = CPyStatics[635]; /* ('getLogger',) */ cpy_r_r106 = CPyStatics[11]; /* 'dank_mids._logging' */ cpy_r_r107 = CPyStatic_call___globals; cpy_r_r108 = CPyImport_ImportFromMany(cpy_r_r106, cpy_r_r105, cpy_r_r105, cpy_r_r107); @@ -25223,7 +25223,7 @@ CPyL3: ; CPyModule_dank_mids____logging = cpy_r_r108; CPy_INCREF(CPyModule_dank_mids____logging); CPy_DECREF(cpy_r_r108); - cpy_r_r109 = CPyStatics[693]; /* ('ContractMethod',) */ + cpy_r_r109 = CPyStatics[694]; /* ('ContractMethod',) */ cpy_r_r110 = CPyStatics[183]; /* 'dank_mids.brownie_patch.types' */ cpy_r_r111 = CPyStatic_call___globals; cpy_r_r112 = CPyImport_ImportFromMany(cpy_r_r110, cpy_r_r109, cpy_r_r109, cpy_r_r111); @@ -25234,7 +25234,7 @@ CPyL3: ; CPyModule_dank_mids___brownie_patch___types = cpy_r_r112; CPy_INCREF(CPyModule_dank_mids___brownie_patch___types); CPy_DECREF(cpy_r_r112); - cpy_r_r113 = CPyStatics[694]; /* ('lru_cache_lite_nonull',) */ + cpy_r_r113 = CPyStatics[695]; /* ('lru_cache_lite_nonull',) */ cpy_r_r114 = CPyStatics[317]; /* 'dank_mids.helpers.lru_cache' */ cpy_r_r115 = CPyStatic_call___globals; cpy_r_r116 = CPyImport_ImportFromMany(cpy_r_r114, cpy_r_r113, cpy_r_r113, cpy_r_r115); @@ -25245,7 +25245,7 @@ CPyL3: ; CPyModule_dank_mids___helpers___lru_cache = cpy_r_r116; CPy_INCREF(CPyModule_dank_mids___helpers___lru_cache); CPy_DECREF(cpy_r_r116); - cpy_r_r117 = CPyStatics[659]; /* ('DankWeb3',) */ + cpy_r_r117 = CPyStatics[660]; /* ('DankWeb3',) */ cpy_r_r118 = CPyStatics[188]; /* 'dank_mids.helpers._helpers' */ cpy_r_r119 = CPyStatic_call___globals; cpy_r_r120 = CPyImport_ImportFromMany(cpy_r_r118, cpy_r_r117, cpy_r_r117, cpy_r_r119); @@ -29983,7 +29983,7 @@ char CPyDef_overloaded_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[695]; /* ('wraps',) */ + cpy_r_r5 = CPyStatics[696]; /* ('wraps',) */ cpy_r_r6 = CPyStatics[201]; /* 'functools' */ cpy_r_r7 = CPyStatic_overloaded___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -29994,7 +29994,7 @@ CPyL3: ; CPyModule_functools = cpy_r_r8; CPy_INCREF(CPyModule_functools); CPy_DECREF(cpy_r_r8); - cpy_r_r9 = CPyStatics[696]; /* ('MethodType',) */ + cpy_r_r9 = CPyStatics[697]; /* ('MethodType',) */ cpy_r_r10 = CPyStatics[289]; /* 'types' */ cpy_r_r11 = CPyStatic_overloaded___globals; cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); @@ -30005,7 +30005,7 @@ CPyL3: ; CPyModule_types = cpy_r_r12; CPy_INCREF(CPyModule_types); CPy_DECREF(cpy_r_r12); - cpy_r_r13 = CPyStatics[697]; /* ('Any', 'Dict', 'Optional', 'Union') */ + cpy_r_r13 = CPyStatics[698]; /* ('Any', 'Dict', 'Optional', 'Union') */ cpy_r_r14 = CPyStatics[7]; /* 'typing' */ cpy_r_r15 = CPyStatic_overloaded___globals; cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); @@ -30016,7 +30016,7 @@ CPyL3: ; CPyModule_typing = cpy_r_r16; CPy_INCREF(CPyModule_typing); CPy_DECREF(cpy_r_r16); - cpy_r_r17 = CPyStatics[698]; /* ('Contract',) */ + cpy_r_r17 = CPyStatics[699]; /* ('Contract',) */ cpy_r_r18 = CPyStatics[193]; /* 'brownie' */ cpy_r_r19 = CPyStatic_overloaded___globals; cpy_r_r20 = CPyImport_ImportFromMany(cpy_r_r18, cpy_r_r17, cpy_r_r17, cpy_r_r19); @@ -30027,7 +30027,7 @@ CPyL3: ; CPyModule_brownie = cpy_r_r20; CPy_INCREF(CPyModule_brownie); CPy_DECREF(cpy_r_r20); - cpy_r_r21 = CPyStatics[699]; /* ('ContractCall', 'ContractTx', 'OverloadedMethod') */ + cpy_r_r21 = CPyStatics[700]; /* ('ContractCall', 'ContractTx', 'OverloadedMethod') */ cpy_r_r22 = CPyStatics[298]; /* 'brownie.network.contract' */ cpy_r_r23 = CPyStatic_overloaded___globals; cpy_r_r24 = CPyImport_ImportFromMany(cpy_r_r22, cpy_r_r21, cpy_r_r21, cpy_r_r23); @@ -30038,7 +30038,7 @@ CPyL3: ; CPyModule_brownie___network___contract = cpy_r_r24; CPy_INCREF(CPyModule_brownie___network___contract); CPy_DECREF(cpy_r_r24); - cpy_r_r25 = CPyStatics[700]; /* ('_get_coroutine_fn', '_skip_proc_pool') */ + cpy_r_r25 = CPyStatics[701]; /* ('_get_coroutine_fn', '_skip_proc_pool') */ cpy_r_r26 = CPyStatics[381]; /* 'dank_mids.brownie_patch.call' */ cpy_r_r27 = CPyStatic_overloaded___globals; cpy_r_r28 = CPyImport_ImportFromMany(cpy_r_r26, cpy_r_r25, cpy_r_r25, cpy_r_r27); @@ -30049,7 +30049,7 @@ CPyL3: ; CPyModule_dank_mids___brownie_patch___call = cpy_r_r28; CPy_INCREF(CPyModule_dank_mids___brownie_patch___call); CPy_DECREF(cpy_r_r28); - cpy_r_r29 = CPyStatics[693]; /* ('ContractMethod',) */ + cpy_r_r29 = CPyStatics[694]; /* ('ContractMethod',) */ cpy_r_r30 = CPyStatics[183]; /* 'dank_mids.brownie_patch.types' */ cpy_r_r31 = CPyStatic_overloaded___globals; cpy_r_r32 = CPyImport_ImportFromMany(cpy_r_r30, cpy_r_r29, cpy_r_r29, cpy_r_r31); @@ -30060,7 +30060,7 @@ CPyL3: ; CPyModule_dank_mids___brownie_patch___types = cpy_r_r32; CPy_INCREF(CPyModule_dank_mids___brownie_patch___types); CPy_DECREF(cpy_r_r32); - cpy_r_r33 = CPyStatics[659]; /* ('DankWeb3',) */ + cpy_r_r33 = CPyStatics[660]; /* ('DankWeb3',) */ cpy_r_r34 = CPyStatics[188]; /* 'dank_mids.helpers._helpers' */ cpy_r_r35 = CPyStatic_overloaded___globals; cpy_r_r36 = CPyImport_ImportFromMany(cpy_r_r34, cpy_r_r33, cpy_r_r33, cpy_r_r35); @@ -32497,7 +32497,7 @@ char CPyDef_types_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[701]; /* ('Any', 'Dict', 'Optional', 'Tuple', 'TypeVar', 'Union', + cpy_r_r5 = CPyStatics[702]; /* ('Any', 'Dict', 'Optional', 'Tuple', 'TypeVar', 'Union', 'final') */ cpy_r_r6 = CPyStatics[7]; /* 'typing' */ cpy_r_r7 = CPyStatic_types___globals; @@ -32509,7 +32509,7 @@ CPyL3: ; CPyModule_typing = cpy_r_r8; CPy_INCREF(CPyModule_typing); CPy_DECREF(cpy_r_r8); - cpy_r_r9 = CPyStatics[699]; /* ('ContractCall', 'ContractTx', 'OverloadedMethod') */ + cpy_r_r9 = CPyStatics[700]; /* ('ContractCall', 'ContractTx', 'OverloadedMethod') */ cpy_r_r10 = CPyStatics[298]; /* 'brownie.network.contract' */ cpy_r_r11 = CPyStatic_types___globals; cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); @@ -32520,7 +32520,7 @@ CPyL3: ; CPyModule_brownie___network___contract = cpy_r_r12; CPy_INCREF(CPyModule_brownie___network___contract); CPy_DECREF(cpy_r_r12); - cpy_r_r13 = CPyStatics[702]; /* ('AccountsType',) */ + cpy_r_r13 = CPyStatics[703]; /* ('AccountsType',) */ cpy_r_r14 = CPyStatics[393]; /* 'brownie.typing' */ cpy_r_r15 = CPyStatic_types___globals; cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); @@ -32531,7 +32531,7 @@ CPyL3: ; CPyModule_brownie___typing = cpy_r_r16; CPy_INCREF(CPyModule_brownie___typing); CPy_DECREF(cpy_r_r16); - cpy_r_r17 = CPyStatics[703]; /* ('_DankMethod', '_DankMethodMixin', '_EVMType') */ + cpy_r_r17 = CPyStatics[704]; /* ('_DankMethod', '_DankMethodMixin', '_EVMType') */ cpy_r_r18 = CPyStatics[397]; /* 'dank_mids.brownie_patch._method' */ cpy_r_r19 = CPyStatic_types___globals; cpy_r_r20 = CPyImport_ImportFromMany(cpy_r_r18, cpy_r_r17, cpy_r_r17, cpy_r_r19); @@ -33176,7 +33176,7 @@ CPyL4: ; CPyL7: ; PyObject *cpy_r_r4[2] = {cpy_r_data, cpy_r_r0}; cpy_r_r5 = (PyObject **)&cpy_r_r4; - cpy_r_r6 = CPyStatics[704]; /* ('type',) */ + cpy_r_r6 = CPyStatics[705]; /* ('type',) */ cpy_r_r7 = _PyObject_Vectorcall(cpy_r_r2, cpy_r_r5, 1, cpy_r_r6); if (unlikely(cpy_r_r7 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_raw", 45, CPyStatic__codec___globals); @@ -33394,7 +33394,7 @@ CPyL2: ; CPyL4: ; PyObject *cpy_r_r5[2] = {cpy_r_data, cpy_r_r2}; cpy_r_r6 = (PyObject **)&cpy_r_r5; - cpy_r_r7 = CPyStatics[704]; /* ('type',) */ + cpy_r_r7 = CPyStatics[705]; /* ('type',) */ cpy_r_r8 = _PyObject_Vectorcall(cpy_r_r3, cpy_r_r6, 1, cpy_r_r7); if (unlikely(cpy_r_r8 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_jsonrpc_batch", 61, CPyStatic__codec___globals); @@ -33549,7 +33549,7 @@ CPyL3: ; CPyL6: ; PyObject *cpy_r_r4[2] = {cpy_r_obj, cpy_r_r0}; cpy_r_r5 = (PyObject **)&cpy_r_r4; - cpy_r_r6 = CPyStatics[705]; /* ('enc_hook',) */ + cpy_r_r6 = CPyStatics[706]; /* ('enc_hook',) */ cpy_r_r7 = _PyObject_Vectorcall(cpy_r_r2, cpy_r_r5, 1, cpy_r_r6); if (unlikely(cpy_r_r7 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "encode", 80, CPyStatic__codec___globals); @@ -34050,7 +34050,7 @@ CPyL32: ; CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 105, CPyStatic__codec___globals); goto CPyL58; } - cpy_r_r62 = CPyStatics[602]; /* b'' */ + cpy_r_r62 = CPyStatics[603]; /* b'' */ cpy_r_r63 = CPyStatic__codec___globals; cpy_r_r64 = CPyStatics[300]; /* 'chain' */ cpy_r_r65 = CPyDict_GetItem(cpy_r_r63, cpy_r_r64); @@ -35024,7 +35024,7 @@ char CPyDef__codec_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[706]; /* ('accumulate', 'chain') */ + cpy_r_r5 = CPyStatics[707]; /* ('accumulate', 'chain') */ cpy_r_r6 = CPyStatics[405]; /* 'itertools' */ cpy_r_r7 = CPyStatic__codec___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -35035,7 +35035,7 @@ CPyL3: ; CPyModule_itertools = cpy_r_r8; CPy_INCREF(CPyModule_itertools); CPy_DECREF(cpy_r_r8); - cpy_r_r9 = CPyStatics[707]; /* ('Any', 'AnyStr', 'Callable', 'Final', 'Iterable', 'List', + cpy_r_r9 = CPyStatics[708]; /* ('Any', 'AnyStr', 'Callable', 'Final', 'Iterable', 'List', 'Union', 'Tuple', 'TypeVar') */ cpy_r_r10 = CPyStatics[7]; /* 'typing' */ cpy_r_r11 = CPyStatic__codec___globals; @@ -35053,14 +35053,14 @@ CPyL3: ; cpy_r_r16 = (void *)&cpy_r_r15; int64_t cpy_r_r17[2] = {4, 5}; cpy_r_r18 = (void *)&cpy_r_r17; - cpy_r_r19 = CPyStatics[710]; /* (('msgspec', 'msgspec', 'msgspec'), + cpy_r_r19 = CPyStatics[711]; /* (('msgspec', 'msgspec', 'msgspec'), ('msgspec.json', 'msgspec', 'msgspec')) */ cpy_r_r20 = CPyStatic__codec___globals; cpy_r_r21 = CPyStatics[409]; /* 'dank_mids\\helpers\\_codec.py' */ cpy_r_r22 = CPyStatics[20]; /* '' */ cpy_r_r23 = CPyImport_ImportMany(cpy_r_r19, cpy_r_r16, cpy_r_r20, cpy_r_r21, cpy_r_r22, cpy_r_r18); if (!cpy_r_r23) goto CPyL103; - cpy_r_r24 = CPyStatics[711]; /* ('decoding', 'encoding') */ + cpy_r_r24 = CPyStatics[712]; /* ('decoding', 'encoding') */ cpy_r_r25 = CPyStatics[256]; /* 'eth_abi' */ cpy_r_r26 = CPyStatic__codec___globals; cpy_r_r27 = CPyImport_ImportFromMany(cpy_r_r25, cpy_r_r24, cpy_r_r24, cpy_r_r26); @@ -35071,7 +35071,7 @@ CPyL3: ; CPyModule_eth_abi = cpy_r_r27; CPy_INCREF(CPyModule_eth_abi); CPy_DECREF(cpy_r_r27); - cpy_r_r28 = CPyStatics[712]; /* ('default_codec',) */ + cpy_r_r28 = CPyStatics[713]; /* ('default_codec',) */ cpy_r_r29 = CPyStatics[412]; /* 'eth_abi.abi' */ cpy_r_r30 = CPyStatic__codec___globals; cpy_r_r31 = CPyImport_ImportFromMany(cpy_r_r29, cpy_r_r28, cpy_r_r28, cpy_r_r30); @@ -35082,7 +35082,7 @@ CPyL3: ; CPyModule_eth_abi___abi = cpy_r_r31; CPy_INCREF(CPyModule_eth_abi___abi); CPy_DECREF(cpy_r_r31); - cpy_r_r32 = CPyStatics[713]; /* ('DynamicArrayEncoder', 'TupleEncoder') */ + cpy_r_r32 = CPyStatics[714]; /* ('DynamicArrayEncoder', 'TupleEncoder') */ cpy_r_r33 = CPyStatics[415]; /* 'eth_abi.encoding' */ cpy_r_r34 = CPyStatic__codec___globals; cpy_r_r35 = CPyImport_ImportFromMany(cpy_r_r33, cpy_r_r32, cpy_r_r32, cpy_r_r34); @@ -35093,7 +35093,7 @@ CPyL3: ; CPyModule_eth_abi___encoding = cpy_r_r35; CPy_INCREF(CPyModule_eth_abi___encoding); CPy_DECREF(cpy_r_r35); - cpy_r_r36 = CPyStatics[714]; /* ('types',) */ + cpy_r_r36 = CPyStatics[715]; /* ('types',) */ cpy_r_r37 = CPyStatics[9]; /* 'dank_mids' */ cpy_r_r38 = CPyStatic__codec___globals; cpy_r_r39 = CPyImport_ImportFromMany(cpy_r_r37, cpy_r_r36, cpy_r_r36, cpy_r_r38); @@ -35104,7 +35104,7 @@ CPyL3: ; CPyModule_dank_mids = cpy_r_r39; CPy_INCREF(CPyModule_dank_mids); CPy_DECREF(cpy_r_r39); - cpy_r_r40 = CPyStatics[715]; /* ('JSONRPCBatchResponseRaw', 'MulticallChunk', + cpy_r_r40 = CPyStatics[716]; /* ('JSONRPCBatchResponseRaw', 'MulticallChunk', 'PartialResponse') */ cpy_r_r41 = CPyStatics[417]; /* 'dank_mids.types' */ cpy_r_r42 = CPyStatic__codec___globals; @@ -35610,7 +35610,7 @@ CPyL65: ; CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 88, CPyStatic__codec___globals); goto CPyL103; } - cpy_r_r212 = CPyStatics[615]; /* -1 */ + cpy_r_r212 = CPyStatics[616]; /* -1 */ cpy_r_r213 = PyObject_GetItem(cpy_r_r211, cpy_r_r212); CPy_DECREF(cpy_r_r211); if (unlikely(cpy_r_r213 == NULL)) { @@ -36248,7 +36248,7 @@ CPyL12: ; cpy_r_batch_objs, cpy_r_r25 }; cpy_r_r27 = (PyObject **)&cpy_r_r26; - cpy_r_r28 = CPyStatics[645]; /* ('exc_info',) */ + cpy_r_r28 = CPyStatics[646]; /* ('exc_info',) */ cpy_r_r29 = _PyObject_Vectorcall(cpy_r_r23, cpy_r_r27, 6, cpy_r_r28); CPy_DECREF(cpy_r_r23); if (unlikely(cpy_r_r29 == NULL)) { @@ -36851,7 +36851,7 @@ char CPyDef__errors_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[670]; /* ('Logger',) */ + cpy_r_r5 = CPyStatics[671]; /* ('Logger',) */ cpy_r_r6 = CPyStatics[119]; /* 'logging' */ cpy_r_r7 = CPyStatic__errors___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -36862,7 +36862,7 @@ CPyL3: ; CPyModule_logging = cpy_r_r8; CPy_INCREF(CPyModule_logging); CPy_DECREF(cpy_r_r8); - cpy_r_r9 = CPyStatics[716]; /* ('TYPE_CHECKING', 'Any', 'Final') */ + cpy_r_r9 = CPyStatics[717]; /* ('TYPE_CHECKING', 'Any', 'Final') */ cpy_r_r10 = CPyStatics[7]; /* 'typing' */ cpy_r_r11 = CPyStatic__errors___globals; cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); @@ -36873,7 +36873,7 @@ CPyL3: ; CPyModule_typing = cpy_r_r12; CPy_INCREF(CPyModule_typing); CPy_DECREF(cpy_r_r12); - cpy_r_r13 = CPyStatics[717]; /* ('BadResponse',) */ + cpy_r_r13 = CPyStatics[718]; /* ('BadResponse',) */ cpy_r_r14 = CPyStatics[130]; /* 'dank_mids._exceptions' */ cpy_r_r15 = CPyStatic__errors___globals; cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); @@ -36884,7 +36884,7 @@ CPyL3: ; CPyModule_dank_mids____exceptions = cpy_r_r16; CPy_INCREF(CPyModule_dank_mids____exceptions); CPy_DECREF(cpy_r_r16); - cpy_r_r17 = CPyStatics[718]; /* ('DEBUG', 'getLogger') */ + cpy_r_r17 = CPyStatics[719]; /* ('DEBUG', 'getLogger') */ cpy_r_r18 = CPyStatics[11]; /* 'dank_mids._logging' */ cpy_r_r19 = CPyStatic__errors___globals; cpy_r_r20 = CPyImport_ImportFromMany(cpy_r_r18, cpy_r_r17, cpy_r_r17, cpy_r_r19); @@ -36895,7 +36895,7 @@ CPyL3: ; CPyModule_dank_mids____logging = cpy_r_r20; CPy_INCREF(CPyModule_dank_mids____logging); CPy_DECREF(cpy_r_r20); - cpy_r_r21 = CPyStatics[719]; /* ('PartialResponse',) */ + cpy_r_r21 = CPyStatics[720]; /* ('PartialResponse',) */ cpy_r_r22 = CPyStatics[417]; /* 'dank_mids.types' */ cpy_r_r23 = CPyStatic__errors___globals; cpy_r_r24 = CPyImport_ImportFromMany(cpy_r_r22, cpy_r_r21, cpy_r_r21, cpy_r_r23); @@ -37576,8 +37576,13 @@ _gather___first_completed_env_traverse(dank_mids___helpers____gather___first_com Py_VISIT(self->___mypyc_temp__20.f2); Py_VISIT(self->_done); Py_VISIT(self->_pending); - Py_VISIT(self->___mypyc_temp__21); + Py_VISIT(self->___mypyc_temp__21.f0); + Py_VISIT(self->___mypyc_temp__21.f1); + Py_VISIT(self->___mypyc_temp__21.f2); Py_VISIT(self->___mypyc_temp__22); + Py_VISIT(self->_f); + Py_VISIT(self->___mypyc_temp__24); + Py_VISIT(self->___mypyc_temp__25); Py_VISIT(self->_p); return 0; } @@ -37606,8 +37611,13 @@ _gather___first_completed_env_clear(dank_mids___helpers____gather___first_comple Py_CLEAR(self->___mypyc_temp__20.f2); Py_CLEAR(self->_done); Py_CLEAR(self->_pending); - Py_CLEAR(self->___mypyc_temp__21); + Py_CLEAR(self->___mypyc_temp__21.f0); + Py_CLEAR(self->___mypyc_temp__21.f1); + Py_CLEAR(self->___mypyc_temp__21.f2); Py_CLEAR(self->___mypyc_temp__22); + Py_CLEAR(self->_f); + Py_CLEAR(self->___mypyc_temp__24); + Py_CLEAR(self->___mypyc_temp__25); Py_CLEAR(self->_p); return 0; } @@ -37664,6 +37674,8 @@ _gather___first_completed_env_setup(PyTypeObject *type) self->___mypyc_next_label__ = CPY_INT_TAG; self->___mypyc_temp__18 = (tuple_T3OOO) { NULL, NULL, NULL }; self->___mypyc_temp__20 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__21 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__23 = CPY_INT_TAG; return (PyObject *)self; } @@ -37846,6 +37858,8 @@ PyObject *CPyInit_dank_mids___helpers____gather(void) fail: Py_CLEAR(CPyModule_dank_mids___helpers____gather_internal); Py_CLEAR(modname); + CPy_XDECREF(CPyStatic__gather___CancelledError); + CPyStatic__gather___CancelledError = NULL; CPy_XDECREF(CPyStatic__gather___Task); CPyStatic__gather___Task = NULL; CPy_XDECREF(CPyStatic__gather___get_running_loop); @@ -38058,14 +38072,14 @@ PyObject *CPyDef__gather___gatherish_gen_____mypyc_generator_helper__(PyObject * cpy_r_r7 = cpy_r_r6; cpy_r_r8 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_env__; if (unlikely(cpy_r_r8 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_env__", 33, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_env__", 34, CPyStatic__gather___globals); goto CPyL229; } CPy_INCREF(cpy_r_r8); CPyL1: ; cpy_r_r9 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_next_label__; if (unlikely(cpy_r_r9 == CPY_INT_TAG)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_next_label__", 33, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_next_label__", 34, CPyStatic__gather___globals); goto CPyL230; } CPyTagged_INCREF(cpy_r_r9); @@ -38080,7 +38094,7 @@ CPyL2: ; CPyL3: ; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL228; } CPy_Unreachable(); @@ -38094,14 +38108,14 @@ CPyL6: ; PyErr_SetString(PyExc_NameError, "value for final name \"get_running_loop\" was not set"); cpy_r_r13 = 0; if (unlikely(!cpy_r_r13)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 41, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 42, CPyStatic__gather___globals); goto CPyL228; } CPy_Unreachable(); CPyL8: ; cpy_r_r14 = _PyObject_Vectorcall(cpy_r_r12, 0, 0, 0); if (unlikely(cpy_r_r14 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 41, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 42, CPyStatic__gather___globals); goto CPyL230; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_loop != NULL) { @@ -38110,12 +38124,12 @@ CPyL8: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_loop = cpy_r_r14; cpy_r_r15 = 1; if (unlikely(!cpy_r_r15)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 41, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 42, CPyStatic__gather___globals); goto CPyL230; } cpy_r_r16 = PyList_New(0); if (unlikely(cpy_r_r16 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL230; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__0 != NULL) { @@ -38129,14 +38143,14 @@ CPyL8: ; } cpy_r_r18 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_coros; if (unlikely(cpy_r_r18 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "coros", 44, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "coros", 45, CPyStatic__gather___globals); goto CPyL230; } CPy_INCREF(cpy_r_r18); CPyL13: ; cpy_r_r19 = PyObject_GetIter(cpy_r_r18); if (unlikely(cpy_r_r19 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL233; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__1 != NULL) { @@ -38160,7 +38174,7 @@ CPyL13: ; CPyL16: ; cpy_r_r22 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__2; if (unlikely(cpy_r_r22 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_temp__2", 44, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_temp__2", 45, CPyStatic__gather___globals); goto CPyL230; } CPy_INCREF(cpy_r_r22); @@ -38174,26 +38188,26 @@ CPyL17: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_coro = cpy_r_r23; cpy_r_r24 = 1; if (unlikely(!cpy_r_r24)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL230; } cpy_r_r25 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_coro; if (unlikely(cpy_r_r25 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "coro", 44, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "coro", 45, CPyStatic__gather___globals); goto CPyL230; } CPy_INCREF(cpy_r_r25); CPyL20: ; cpy_r_r26 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_loop; if (unlikely(cpy_r_r26 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "loop", 44, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "loop", 45, CPyStatic__gather___globals); goto CPyL235; } CPy_INCREF(cpy_r_r26); CPyL21: ; cpy_r_r27 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_name; if (unlikely(cpy_r_r27 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "name", 44, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "name", 45, CPyStatic__gather___globals); goto CPyL236; } CPy_INCREF(cpy_r_r27); @@ -38207,17 +38221,17 @@ CPyL23: ; PyErr_SetString(PyExc_NameError, "value for final name \"Task\" was not set"); cpy_r_r29 = 0; if (unlikely(!cpy_r_r29)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL228; } CPy_Unreachable(); CPyL25: ; PyObject *cpy_r_r30[3] = {cpy_r_r25, cpy_r_r26, cpy_r_r27}; cpy_r_r31 = (PyObject **)&cpy_r_r30; - cpy_r_r32 = CPyStatics[720]; /* ('loop', 'name') */ + cpy_r_r32 = CPyStatics[721]; /* ('loop', 'name') */ cpy_r_r33 = _PyObject_Vectorcall(cpy_r_r28, cpy_r_r31, 1, cpy_r_r32); if (unlikely(cpy_r_r33 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL238; } CPy_DECREF(cpy_r_r25); @@ -38235,14 +38249,14 @@ CPyL27: ; CPy_DECREF(cpy_r_r33); cpy_r_r36 = cpy_r_r35 >= 0; if (unlikely(!cpy_r_r36)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL230; } else goto CPyL16; CPyL28: ; cpy_r_r37 = CPy_NoErrOccured(); if (unlikely(!cpy_r_r37)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL230; } cpy_r_r38 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__0; @@ -38255,7 +38269,7 @@ CPyL30: ; cpy_r_r39 = PyObject_GetIter(cpy_r_r38); CPy_DECREF(cpy_r_r38); if (unlikely(cpy_r_r39 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL230; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_tasks != NULL) { @@ -38264,7 +38278,7 @@ CPyL30: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_tasks = cpy_r_r39; cpy_r_r40 = 1; if (unlikely(!cpy_r_r40)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL230; } cpy_r_r41 = CPyStatic__gather___yield_to_loop; @@ -38276,20 +38290,20 @@ CPyL33: ; PyErr_SetString(PyExc_NameError, "value for final name \"yield_to_loop\" was not set"); cpy_r_r42 = 0; if (unlikely(!cpy_r_r42)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL228; } CPy_Unreachable(); CPyL35: ; cpy_r_r43 = _PyObject_Vectorcall(cpy_r_r41, 0, 0, 0); if (unlikely(cpy_r_r43 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL230; } cpy_r_r44 = CPy_GetCoro(cpy_r_r43); CPy_DECREF(cpy_r_r43); if (unlikely(cpy_r_r44 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL230; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__3 != NULL) { @@ -38317,7 +38331,7 @@ CPyL39: ; CPyL40: ; cpy_r_r48 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r48 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL242; } cpy_r_r49 = cpy_r_r48; @@ -38332,7 +38346,7 @@ CPyL43: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_next_label__ = 2; cpy_r_r51 = 1; if (unlikely(!cpy_r_r51)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL243; } else goto CPyL244; @@ -38344,7 +38358,7 @@ CPyL45: ; if (!cpy_r_r53) goto CPyL48; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL49; } else goto CPyL245; @@ -38377,7 +38391,7 @@ CPyL51: ; cpy_r_r58 = CPy_YieldFromErrorHandle(cpy_r_r57, cpy_r_r56); CPy_DecRef(cpy_r_r57); if (unlikely(cpy_r_r58 == 2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL246; } if (cpy_r_r58) goto CPyL58; @@ -38483,7 +38497,7 @@ CPyL67: ; CPyL69: ; cpy_r_r67 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r67 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL242; } cpy_r_r49 = cpy_r_r67; @@ -38498,20 +38512,20 @@ CPyL72: ; PyErr_SetString(PyExc_NameError, "value for final name \"yield_to_loop\" was not set"); cpy_r_r69 = 0; if (unlikely(!cpy_r_r69)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL228; } CPy_Unreachable(); CPyL74: ; cpy_r_r70 = _PyObject_Vectorcall(cpy_r_r68, 0, 0, 0); if (unlikely(cpy_r_r70 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL242; } cpy_r_r71 = CPy_GetCoro(cpy_r_r70); CPy_DECREF(cpy_r_r70); if (unlikely(cpy_r_r71 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL242; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__5 != NULL) { @@ -38539,7 +38553,7 @@ CPyL78: ; CPyL79: ; cpy_r_r75 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r75 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL257; } cpy_r_r76 = cpy_r_r75; @@ -38554,7 +38568,7 @@ CPyL82: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_next_label__ = 4; cpy_r_r78 = 1; if (unlikely(!cpy_r_r78)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL258; } else goto CPyL259; @@ -38566,7 +38580,7 @@ CPyL84: ; if (!cpy_r_r80) goto CPyL87; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL88; } else goto CPyL260; @@ -38599,7 +38613,7 @@ CPyL90: ; cpy_r_r85 = CPy_YieldFromErrorHandle(cpy_r_r84, cpy_r_r83); CPy_DecRef(cpy_r_r84); if (unlikely(cpy_r_r85 == 2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL261; } if (cpy_r_r85) goto CPyL97; @@ -38705,7 +38719,7 @@ CPyL106: ; CPyL108: ; cpy_r_r94 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r94 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL257; } cpy_r_r76 = cpy_r_r94; @@ -38713,14 +38727,14 @@ CPyL108: ; CPyL110: ; cpy_r_r95 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_tasks; if (unlikely(cpy_r_r95 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "tasks", 51, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "tasks", 52, CPyStatic__gather___globals); goto CPyL257; } CPy_INCREF(cpy_r_r95); CPyL111: ; cpy_r_r96 = PyObject_GetIter(cpy_r_r95); if (unlikely(cpy_r_r96 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 52, CPyStatic__gather___globals); goto CPyL270; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__7 != NULL) { @@ -38744,7 +38758,7 @@ CPyL111: ; CPyL114: ; cpy_r_r99 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__8; if (unlikely(cpy_r_r99 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_temp__8", 51, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_temp__8", 52, CPyStatic__gather___globals); goto CPyL257; } CPy_INCREF(cpy_r_r99); @@ -38758,12 +38772,12 @@ CPyL115: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_task = cpy_r_r100; cpy_r_r101 = 1; if (unlikely(!cpy_r_r101)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 52, CPyStatic__gather___globals); goto CPyL257; } cpy_r_r102 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_task; if (unlikely(cpy_r_r102 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "task", 53, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "task", 54, CPyStatic__gather___globals); goto CPyL273; } CPy_INCREF(cpy_r_r102); @@ -38771,7 +38785,7 @@ CPyL118: ; cpy_r_r103 = CPy_GetCoro(cpy_r_r102); CPy_DECREF(cpy_r_r102); if (unlikely(cpy_r_r103 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 54, CPyStatic__gather___globals); goto CPyL273; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__9 != NULL) { @@ -38795,7 +38809,7 @@ CPyL121: ; if (cpy_r_r106 != NULL) goto CPyL124; cpy_r_r107 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r107 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 54, CPyStatic__gather___globals); goto CPyL273; } cpy_r_r108 = cpy_r_r107; @@ -38810,7 +38824,7 @@ CPyL125: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_next_label__ = 6; cpy_r_r110 = 1; if (unlikely(!cpy_r_r110)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 54, CPyStatic__gather___globals); goto CPyL274; } else goto CPyL275; @@ -38822,7 +38836,7 @@ CPyL127: ; if (!cpy_r_r112) goto CPyL130; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 54, CPyStatic__gather___globals); goto CPyL131; } else goto CPyL276; @@ -38855,7 +38869,7 @@ CPyL133: ; cpy_r_r117 = CPy_YieldFromErrorHandle(cpy_r_r116, cpy_r_r115); CPy_DecRef(cpy_r_r116); if (unlikely(cpy_r_r117 == 2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 54, CPyStatic__gather___globals); goto CPyL277; } if (cpy_r_r117) goto CPyL140; @@ -38953,7 +38967,7 @@ CPyL149: ; CPyL151: ; cpy_r_r126 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r126 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 54, CPyStatic__gather___globals); goto CPyL273; } cpy_r_r108 = cpy_r_r126; @@ -38976,7 +38990,7 @@ CPyL153: ; cpy_r_r130 = CPyStatics[149]; /* 'Exception' */ cpy_r_r131 = CPyObject_GetAttr(cpy_r_r129, cpy_r_r130); if (unlikely(cpy_r_r131 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 54, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 55, CPyStatic__gather___globals); goto CPyL283; } cpy_r_r132 = CPy_ExceptionMatches(cpy_r_r131); @@ -38984,14 +38998,14 @@ CPyL153: ; if (!cpy_r_r132) goto CPyL284; cpy_r_r133 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_tasks; if (unlikely(cpy_r_r133 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "tasks", 57, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "tasks", 58, CPyStatic__gather___globals); goto CPyL283; } CPy_INCREF(cpy_r_r133); CPyL157: ; cpy_r_r134 = PyObject_GetIter(cpy_r_r133); if (unlikely(cpy_r_r134 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 57, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 58, CPyStatic__gather___globals); goto CPyL285; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__12 != NULL) { @@ -39015,7 +39029,7 @@ CPyL157: ; CPyL160: ; cpy_r_r137 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__13; if (unlikely(cpy_r_r137 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_temp__13", 57, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_temp__13", 58, CPyStatic__gather___globals); goto CPyL283; } CPy_INCREF(cpy_r_r137); @@ -39029,12 +39043,12 @@ CPyL161: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_task = cpy_r_r138; cpy_r_r139 = 1; if (unlikely(!cpy_r_r139)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 57, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 58, CPyStatic__gather___globals); goto CPyL283; } cpy_r_r140 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_task; if (unlikely(cpy_r_r140 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "task", 60, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "task", 61, CPyStatic__gather___globals); goto CPyL199; } CPy_INCREF(cpy_r_r140); @@ -39042,7 +39056,7 @@ CPyL164: ; cpy_r_r141 = CPy_GetCoro(cpy_r_r140); CPy_DECREF(cpy_r_r140); if (unlikely(cpy_r_r141 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 61, CPyStatic__gather___globals); goto CPyL199; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__14 != NULL) { @@ -39066,7 +39080,7 @@ CPyL167: ; if (cpy_r_r144 != NULL) goto CPyL170; cpy_r_r145 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r145 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 61, CPyStatic__gather___globals); goto CPyL199; } cpy_r_r146 = cpy_r_r145; @@ -39081,7 +39095,7 @@ CPyL171: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_next_label__ = 8; cpy_r_r148 = 1; if (unlikely(!cpy_r_r148)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 61, CPyStatic__gather___globals); goto CPyL288; } else goto CPyL289; @@ -39093,7 +39107,7 @@ CPyL173: ; if (!cpy_r_r150) goto CPyL176; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 61, CPyStatic__gather___globals); goto CPyL177; } else goto CPyL290; @@ -39126,7 +39140,7 @@ CPyL179: ; cpy_r_r155 = CPy_YieldFromErrorHandle(cpy_r_r154, cpy_r_r153); CPy_DecRef(cpy_r_r154); if (unlikely(cpy_r_r155 == 2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 61, CPyStatic__gather___globals); goto CPyL191; } if (cpy_r_r155) goto CPyL186; @@ -39224,7 +39238,7 @@ CPyL195: ; CPyL197: ; cpy_r_r164 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r164 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 61, CPyStatic__gather___globals); goto CPyL199; } cpy_r_r146 = cpy_r_r164; @@ -39247,7 +39261,7 @@ CPyL199: ; cpy_r_r168 = CPyStatics[149]; /* 'Exception' */ cpy_r_r169 = CPyObject_GetAttr(cpy_r_r167, cpy_r_r168); if (unlikely(cpy_r_r169 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 61, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 62, CPyStatic__gather___globals); goto CPyL296; } cpy_r_r170 = CPy_ExceptionMatches(cpy_r_r169); @@ -39303,7 +39317,7 @@ CPyL208: ; CPyL209: ; cpy_r_r174 = CPy_NoErrOccured(); if (unlikely(!cpy_r_r174)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 57, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 58, CPyStatic__gather___globals); goto CPyL214; } CPy_Reraise(); @@ -39346,7 +39360,7 @@ CPyL215: ; CPyL217: ; cpy_r_r177 = CPy_NoErrOccured(); if (unlikely(!cpy_r_r177)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 52, CPyStatic__gather___globals); goto CPyL302; } cpy_r_r178 = Py_None; @@ -39357,7 +39371,7 @@ CPyL217: ; cpy_r_r179 = 1; CPy_DECREF(cpy_r_r8); if (unlikely(!cpy_r_r179)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL228; } CPyGen_SetStopIterationValue(cpy_r_r178); @@ -39394,7 +39408,7 @@ CPyL226: ; PyErr_SetNone(PyExc_StopIteration); cpy_r_r185 = 0; if (unlikely(!cpy_r_r185)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL228; } CPy_Unreachable(); @@ -39803,7 +39817,7 @@ PyObject *CPyPy__gather___gatherish_gen_____mypyc_generator_helper__(PyObject *s PyObject *retval = CPyDef__gather___gatherish_gen_____mypyc_generator_helper__(arg___mypyc_self__, arg_type, arg_value, arg_traceback, arg_arg); return retval; fail: ; - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); return NULL; } @@ -40111,7 +40125,7 @@ PyObject *CPyDef__gather___gatherish(PyObject *cpy_r_coros, PyObject *cpy_r_name CPyL2: ; cpy_r_r1 = CPyDef__gather___gatherish_env(); if (unlikely(cpy_r_r1 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL11; } CPy_INCREF(cpy_r_coros); @@ -40121,7 +40135,7 @@ CPyL2: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r1)->_coros = cpy_r_coros; cpy_r_r2 = 1; if (unlikely(!cpy_r_r2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL12; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r1)->_name != NULL) { @@ -40130,12 +40144,12 @@ CPyL2: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r1)->_name = cpy_r_name; cpy_r_r3 = 1; if (unlikely(!cpy_r_r3)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL13; } cpy_r_r4 = CPyDef__gather___gatherish_gen(); if (unlikely(cpy_r_r4 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL13; } CPy_INCREF(cpy_r_r1); @@ -40145,7 +40159,7 @@ CPyL2: ; ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r_r4)->___mypyc_env__ = cpy_r_r1; cpy_r_r5 = 1; if (unlikely(!cpy_r_r5)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL14; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r1)->___mypyc_next_label__ != CPY_INT_TAG) { @@ -40155,7 +40169,7 @@ CPyL2: ; cpy_r_r6 = 1; CPy_DECREF(cpy_r_r1); if (unlikely(!cpy_r_r6)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL15; } return cpy_r_r4; @@ -40216,7 +40230,7 @@ __LL132: ; PyObject *retval = CPyDef__gather___gatherish(arg_coros, arg_name); return retval; fail: ; - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); return NULL; } @@ -40302,104 +40316,130 @@ PyObject *CPyDef__gather___first_completed_gen_____mypyc_generator_helper__(PyOb PyObject *cpy_r_r80; PyObject *cpy_r_r81; char cpy_r_r82; - PyObject *cpy_r_r83; - PyObject *cpy_r_r84; - char cpy_r_r85; + tuple_T3OOO cpy_r_r83; + char cpy_r_r84; + PyObject *cpy_r_r85; char cpy_r_r86; - PyObject *cpy_r_r87; + char cpy_r_r87; PyObject *cpy_r_r88; char cpy_r_r89; - PyObject *cpy_r_r90; + char cpy_r_r90; PyObject *cpy_r_r91; - PyObject *cpy_r_r92; - char cpy_r_r93; - PyObject *cpy_r_r94; - char cpy_r_r95; + CPyPtr cpy_r_r92; + int64_t cpy_r_r93; + CPyTagged cpy_r_r94; + CPyTagged cpy_r_r95; char cpy_r_r96; - char cpy_r_r97; - char cpy_r_r98; - char cpy_r_r99; - PyObject *cpy_r_r100; + PyObject *cpy_r_r97; + CPyTagged cpy_r_r98; + PyObject *cpy_r_r99; + char cpy_r_r100; + PyObject *cpy_r_r101; + PyObject *cpy_r_r102; + PyObject *cpy_r_r103; + CPyTagged cpy_r_r104; + CPyTagged cpy_r_r105; + char cpy_r_r106; + tuple_T3OOO cpy_r_r107; + char cpy_r_r108; + PyObject *cpy_r_r109; + PyObject *cpy_r_r110; + char cpy_r_r111; + char cpy_r_r112; + PyObject *cpy_r_r113; + PyObject *cpy_r_r114; + char cpy_r_r115; + PyObject *cpy_r_r116; + PyObject *cpy_r_r117; + PyObject *cpy_r_r118; + char cpy_r_r119; + PyObject *cpy_r_r120; + char cpy_r_r121; + char cpy_r_r122; + char cpy_r_r123; + char cpy_r_r124; + char cpy_r_r125; + PyObject *cpy_r_r126; cpy_r_r0 = NULL; cpy_r_r1 = cpy_r_r0; cpy_r_r2 = NULL; cpy_r_r3 = cpy_r_r2; cpy_r_r4 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_env__; if (unlikely(cpy_r_r4 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_env__", 74, CPyStatic__gather___globals); - goto CPyL114; + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_env__", 75, CPyStatic__gather___globals); + goto CPyL140; } CPy_INCREF(cpy_r_r4); CPyL1: ; cpy_r_r5 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_next_label__; if (unlikely(cpy_r_r5 == CPY_INT_TAG)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_next_label__", 74, CPyStatic__gather___globals); - goto CPyL115; + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_next_label__", 75, CPyStatic__gather___globals); + goto CPyL141; } CPyTagged_INCREF(cpy_r_r5); - goto CPyL108; + goto CPyL134; CPyL2: ; cpy_r_r6 = (PyObject *)&_Py_NoneStruct; cpy_r_r7 = cpy_r_type != cpy_r_r6; if (cpy_r_r7) { - goto CPyL116; + goto CPyL142; } else goto CPyL5; CPyL3: ; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); - goto CPyL113; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); + goto CPyL139; } CPy_Unreachable(); CPyL5: ; cpy_r_r8 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_cancel; if (unlikely(cpy_r_r8 == 2)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "cancel", 77, CPyStatic__gather___globals); - goto CPyL115; + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "cancel", 78, CPyStatic__gather___globals); + goto CPyL141; } CPyL6: ; if (cpy_r_r8) { - goto CPyL117; + goto CPyL143; } else - goto CPyL118; + goto CPyL144; CPyL7: ; cpy_r_r9 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_fs; if (unlikely(cpy_r_r9 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "fs", 78, CPyStatic__gather___globals); - goto CPyL119; + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "fs", 79, CPyStatic__gather___globals); + goto CPyL145; } CPy_INCREF(cpy_r_r9); CPyL8: ; cpy_r_r10 = CPyStatics[476]; /* 'FIRST_COMPLETED' */ cpy_r_r11 = CPyStatic__gather___wait; if (unlikely(cpy_r_r11 == NULL)) { - goto CPyL120; + goto CPyL146; } else goto CPyL11; CPyL9: ; PyErr_SetString(PyExc_NameError, "value for final name \"wait\" was not set"); cpy_r_r12 = 0; if (unlikely(!cpy_r_r12)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL113; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL139; } CPy_Unreachable(); CPyL11: ; PyObject *cpy_r_r13[2] = {cpy_r_r9, cpy_r_r10}; cpy_r_r14 = (PyObject **)&cpy_r_r13; - cpy_r_r15 = CPyStatics[721]; /* ('return_when',) */ + cpy_r_r15 = CPyStatics[722]; /* ('return_when',) */ cpy_r_r16 = _PyObject_Vectorcall(cpy_r_r11, cpy_r_r14, 1, cpy_r_r15); if (unlikely(cpy_r_r16 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL121; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL147; } CPy_DECREF(cpy_r_r9); cpy_r_r17 = CPy_GetCoro(cpy_r_r16); CPy_DECREF(cpy_r_r16); if (unlikely(cpy_r_r17 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL119; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL145; } if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__17 != NULL) { CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__17); @@ -40408,26 +40448,26 @@ CPyL11: ; cpy_r_r18 = 1; if (unlikely(!cpy_r_r18)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL119; + goto CPyL145; } cpy_r_r19 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__17; if (unlikely(cpy_r_r19 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__17", -1, CPyStatic__gather___globals); - goto CPyL119; + goto CPyL145; } CPy_INCREF(cpy_r_r19); CPyL15: ; cpy_r_r20 = CPyIter_Next(cpy_r_r19); CPy_DECREF(cpy_r_r19); if (cpy_r_r20 == NULL) { - goto CPyL122; + goto CPyL148; } else goto CPyL18; CPyL16: ; cpy_r_r21 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r21 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL123; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL149; } cpy_r_r22 = cpy_r_r21; goto CPyL47; @@ -40440,10 +40480,10 @@ CPyL19: ; ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_next_label__ = 2; cpy_r_r24 = 1; if (unlikely(!cpy_r_r24)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL124; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL150; } else - goto CPyL125; + goto CPyL151; CPyL20: ; return cpy_r_r23; CPyL21: ; @@ -40452,10 +40492,10 @@ CPyL21: ; if (!cpy_r_r26) goto CPyL24; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); goto CPyL25; } else - goto CPyL126; + goto CPyL152; CPyL23: ; CPy_Unreachable(); CPyL24: ; @@ -40472,21 +40512,21 @@ CPyL25: ; cpy_r_r28 = 1; if (unlikely(!cpy_r_r28)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL127; + goto CPyL153; } cpy_r_r29 = (PyObject **)&cpy_r_r1; cpy_r_r30 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__17; if (unlikely(cpy_r_r30 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__17", -1, CPyStatic__gather___globals); - goto CPyL127; + goto CPyL153; } CPy_INCREF(cpy_r_r30); CPyL27: ; cpy_r_r31 = CPy_YieldFromErrorHandle(cpy_r_r30, cpy_r_r29); CPy_DecRef(cpy_r_r30); if (unlikely(cpy_r_r31 == 2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL127; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL153; } if (cpy_r_r31) goto CPyL34; if (cpy_r_r1 != NULL) goto CPyL32; @@ -40496,7 +40536,7 @@ CPyL27: ; CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); goto CPyL39; } else - goto CPyL128; + goto CPyL154; CPyL31: ; CPy_Unreachable(); CPyL32: ; @@ -40505,7 +40545,7 @@ CPyL32: ; cpy_r_r33 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__18; if (unlikely(cpy_r_r33.f0 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__18", -1, CPyStatic__gather___globals); - goto CPyL129; + goto CPyL155; } CPy_INCREF(cpy_r_r33.f0); CPy_INCREF(cpy_r_r33.f1); @@ -40524,7 +40564,7 @@ CPyL34: ; CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); goto CPyL39; } else - goto CPyL130; + goto CPyL156; CPyL36: ; CPy_Unreachable(); CPyL37: ; @@ -40532,7 +40572,7 @@ CPyL37: ; cpy_r_r35 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__18; if (unlikely(cpy_r_r35.f0 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__18", -1, CPyStatic__gather___globals); - goto CPyL131; + goto CPyL157; } CPy_INCREF(cpy_r_r35.f0); CPy_INCREF(cpy_r_r35.f1); @@ -40555,7 +40595,7 @@ CPyL39: ; CPy_DecRef(cpy_r_r4); if (unlikely(cpy_r_r36.f0 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL113; + goto CPyL139; } CPyL40: ; CPy_RestoreExcInfo(cpy_r_r36); @@ -40563,27 +40603,27 @@ CPyL40: ; CPy_DecRef(cpy_r_r36.f1); CPy_DecRef(cpy_r_r36.f2); cpy_r_r37 = CPy_KeepPropagating(); - if (!cpy_r_r37) goto CPyL113; + if (!cpy_r_r37) goto CPyL139; CPy_Unreachable(); CPyL42: ; cpy_r_r38 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__17; if (unlikely(cpy_r_r38 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__17", -1, CPyStatic__gather___globals); - goto CPyL132; + goto CPyL158; } CPy_INCREF(cpy_r_r38); CPyL43: ; cpy_r_r39 = CPyIter_Send(cpy_r_r38, cpy_r_arg); CPy_DECREF(cpy_r_r38); CPy_DECREF(cpy_r_arg); - if (cpy_r_r39 == NULL) goto CPyL133; + if (cpy_r_r39 == NULL) goto CPyL159; cpy_r_r23 = cpy_r_r39; goto CPyL19; CPyL45: ; cpy_r_r40 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r40 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL123; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL149; } cpy_r_r22 = cpy_r_r40; CPyL47: ; @@ -40632,8 +40672,8 @@ __LL134: ; } CPy_DECREF(cpy_r_r22); if (unlikely(cpy_r_r41.f0 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL123; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL149; } cpy_r_r42 = PyTuple_New(2); if (unlikely(cpy_r_r42 == NULL)) @@ -40649,50 +40689,52 @@ __LL134: ; cpy_r_r43 = 1; CPy_DECREF(cpy_r_r4); if (unlikely(!cpy_r_r43)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL134; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL160; } CPyGen_SetStopIterationValue(cpy_r_r42); CPy_DECREF(cpy_r_r42); - if (!0) goto CPyL113; + if (!0) goto CPyL139; CPy_Unreachable(); CPyL51: ; cpy_r_r44 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_fs; if (unlikely(cpy_r_r44 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "fs", 79, CPyStatic__gather___globals); - goto CPyL135; + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "fs", 81, CPyStatic__gather___globals); + goto CPyL161; } CPy_INCREF(cpy_r_r44); CPyL52: ; cpy_r_r45 = CPyStatics[476]; /* 'FIRST_COMPLETED' */ cpy_r_r46 = CPyStatic__gather___wait; if (unlikely(cpy_r_r46 == NULL)) { - goto CPyL136; + goto CPyL162; } else goto CPyL55; CPyL53: ; PyErr_SetString(PyExc_NameError, "value for final name \"wait\" was not set"); cpy_r_r47 = 0; if (unlikely(!cpy_r_r47)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL113; - } + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL94; + } else + goto CPyL163; +CPyL54: ; CPy_Unreachable(); CPyL55: ; PyObject *cpy_r_r48[2] = {cpy_r_r44, cpy_r_r45}; cpy_r_r49 = (PyObject **)&cpy_r_r48; - cpy_r_r50 = CPyStatics[721]; /* ('return_when',) */ + cpy_r_r50 = CPyStatics[722]; /* ('return_when',) */ cpy_r_r51 = _PyObject_Vectorcall(cpy_r_r46, cpy_r_r49, 1, cpy_r_r50); if (unlikely(cpy_r_r51 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL137; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL164; } CPy_DECREF(cpy_r_r44); cpy_r_r52 = CPy_GetCoro(cpy_r_r51); CPy_DECREF(cpy_r_r51); if (unlikely(cpy_r_r52 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL135; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL161; } if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__19 != NULL) { CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__19); @@ -40701,26 +40743,26 @@ CPyL55: ; cpy_r_r53 = 1; if (unlikely(!cpy_r_r53)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL135; + goto CPyL161; } cpy_r_r54 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__19; if (unlikely(cpy_r_r54 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__19", -1, CPyStatic__gather___globals); - goto CPyL135; + goto CPyL161; } CPy_INCREF(cpy_r_r54); CPyL59: ; cpy_r_r55 = CPyIter_Next(cpy_r_r54); CPy_DECREF(cpy_r_r54); if (cpy_r_r55 == NULL) { - goto CPyL138; + goto CPyL165; } else goto CPyL62; CPyL60: ; cpy_r_r56 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r56 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL123; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL94; } cpy_r_r57 = cpy_r_r56; goto CPyL91; @@ -40733,10 +40775,10 @@ CPyL63: ; ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_next_label__ = 4; cpy_r_r59 = 1; if (unlikely(!cpy_r_r59)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL139; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL166; } else - goto CPyL140; + goto CPyL167; CPyL64: ; return cpy_r_r58; CPyL65: ; @@ -40745,10 +40787,10 @@ CPyL65: ; if (!cpy_r_r61) goto CPyL68; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); goto CPyL69; } else - goto CPyL141; + goto CPyL168; CPyL67: ; CPy_Unreachable(); CPyL68: ; @@ -40765,21 +40807,21 @@ CPyL69: ; cpy_r_r63 = 1; if (unlikely(!cpy_r_r63)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL142; + goto CPyL169; } cpy_r_r64 = (PyObject **)&cpy_r_r3; cpy_r_r65 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__19; if (unlikely(cpy_r_r65 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__19", -1, CPyStatic__gather___globals); - goto CPyL142; + goto CPyL169; } CPy_INCREF(cpy_r_r65); CPyL71: ; cpy_r_r66 = CPy_YieldFromErrorHandle(cpy_r_r65, cpy_r_r64); CPy_DecRef(cpy_r_r65); if (unlikely(cpy_r_r66 == 2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL142; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL169; } if (cpy_r_r66) goto CPyL78; if (cpy_r_r3 != NULL) goto CPyL76; @@ -40789,7 +40831,7 @@ CPyL71: ; CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); goto CPyL83; } else - goto CPyL143; + goto CPyL170; CPyL75: ; CPy_Unreachable(); CPyL76: ; @@ -40798,7 +40840,7 @@ CPyL76: ; cpy_r_r68 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__20; if (unlikely(cpy_r_r68.f0 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__20", -1, CPyStatic__gather___globals); - goto CPyL144; + goto CPyL171; } CPy_INCREF(cpy_r_r68.f0); CPy_INCREF(cpy_r_r68.f1); @@ -40817,7 +40859,7 @@ CPyL78: ; CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); goto CPyL83; } else - goto CPyL145; + goto CPyL172; CPyL80: ; CPy_Unreachable(); CPyL81: ; @@ -40825,7 +40867,7 @@ CPyL81: ; cpy_r_r70 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__20; if (unlikely(cpy_r_r70.f0 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__20", -1, CPyStatic__gather___globals); - goto CPyL146; + goto CPyL173; } CPy_INCREF(cpy_r_r70.f0); CPy_INCREF(cpy_r_r70.f1); @@ -40839,44 +40881,43 @@ CPyL82: ; CPyL83: ; cpy_r_r71 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__20; if (unlikely(cpy_r_r71.f0 == NULL)) { - PyErr_SetString(PyExc_AttributeError, "attribute '__mypyc_temp__20' of 'first_completed_env' undefined"); - } else { - CPy_INCREF(cpy_r_r71.f0); - CPy_INCREF(cpy_r_r71.f1); - CPy_INCREF(cpy_r_r71.f2); - } - CPy_DecRef(cpy_r_r4); - if (unlikely(cpy_r_r71.f0 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL113; + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__20", -1, CPyStatic__gather___globals); + goto CPyL94; } + CPy_INCREF(cpy_r_r71.f0); + CPy_INCREF(cpy_r_r71.f1); + CPy_INCREF(cpy_r_r71.f2); CPyL84: ; CPy_RestoreExcInfo(cpy_r_r71); CPy_DecRef(cpy_r_r71.f0); CPy_DecRef(cpy_r_r71.f1); CPy_DecRef(cpy_r_r71.f2); cpy_r_r72 = CPy_KeepPropagating(); - if (!cpy_r_r72) goto CPyL113; + if (!cpy_r_r72) { + goto CPyL94; + } else + goto CPyL174; +CPyL85: ; CPy_Unreachable(); CPyL86: ; cpy_r_r73 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__19; if (unlikely(cpy_r_r73 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__19", -1, CPyStatic__gather___globals); - goto CPyL147; + goto CPyL175; } CPy_INCREF(cpy_r_r73); CPyL87: ; cpy_r_r74 = CPyIter_Send(cpy_r_r73, cpy_r_arg); CPy_DECREF(cpy_r_r73); CPy_DECREF(cpy_r_arg); - if (cpy_r_r74 == NULL) goto CPyL148; + if (cpy_r_r74 == NULL) goto CPyL176; cpy_r_r58 = cpy_r_r74; goto CPyL63; CPyL89: ; cpy_r_r75 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r75 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL123; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL94; } cpy_r_r57 = cpy_r_r75; CPyL91: ; @@ -40925,8 +40966,8 @@ __LL142: ; } CPy_DECREF(cpy_r_r57); if (unlikely(cpy_r_r76.f0 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL123; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL94; } cpy_r_r77 = cpy_r_r76.f0; cpy_r_r78 = cpy_r_r77; @@ -40936,8 +40977,8 @@ __LL142: ; ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_done = cpy_r_r78; cpy_r_r79 = 1; if (unlikely(!cpy_r_r79)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL149; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL177; } cpy_r_r80 = cpy_r_r76.f1; cpy_r_r81 = cpy_r_r80; @@ -40947,290 +40988,473 @@ __LL142: ; ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_pending = cpy_r_r81; cpy_r_r82 = 1; if (unlikely(!cpy_r_r82)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL149; - } - cpy_r_r83 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_pending; - if (unlikely(cpy_r_r83 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "pending", 80, CPyStatic__gather___globals); - goto CPyL123; - } - CPy_INCREF(cpy_r_r83); -CPyL95: ; - cpy_r_r84 = PyObject_GetIter(cpy_r_r83); - if (unlikely(cpy_r_r84 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 80, CPyStatic__gather___globals); - goto CPyL150; - } - if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21 != NULL) { - CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL177; + } else + goto CPyL120; +CPyL94: ; + cpy_r_r83 = CPy_CatchError(); + if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21.f0 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21.f0); + CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21.f1); + CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21.f2); } ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21 = cpy_r_r83; - cpy_r_r85 = 1; - if (unlikely(!cpy_r_r85)) { + cpy_r_r84 = 1; + if (unlikely(!cpy_r_r84)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL151; + goto CPyL117; + } + cpy_r_r85 = CPyStatic__gather___CancelledError; + if (likely(cpy_r_r85 != NULL)) goto CPyL98; + PyErr_SetString(PyExc_NameError, "value for final name \"CancelledError\" was not set"); + cpy_r_r86 = 0; + if (unlikely(!cpy_r_r86)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 82, CPyStatic__gather___globals); + goto CPyL117; + } else + goto CPyL178; +CPyL97: ; + CPy_Unreachable(); +CPyL98: ; + cpy_r_r87 = CPy_ExceptionMatches(cpy_r_r85); + if (!cpy_r_r87) goto CPyL115; + cpy_r_r88 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_fs; + if (unlikely(cpy_r_r88 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "fs", 83, CPyStatic__gather___globals); + goto CPyL117; } + CPy_INCREF(cpy_r_r88); +CPyL100: ; if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22 != NULL) { CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22); } - ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22 = cpy_r_r84; - cpy_r_r86 = 1; - if (unlikely(!cpy_r_r86)) { + ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22 = cpy_r_r88; + cpy_r_r89 = 1; + if (unlikely(!cpy_r_r89)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL123; + goto CPyL117; } -CPyL98: ; - cpy_r_r87 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22; - if (unlikely(cpy_r_r87 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__22", 80, CPyStatic__gather___globals); - goto CPyL123; + ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__23 = 0; + cpy_r_r90 = 1; + if (unlikely(!cpy_r_r90)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); + goto CPyL117; } - CPy_INCREF(cpy_r_r87); -CPyL99: ; - cpy_r_r88 = PyIter_Next(cpy_r_r87); - CPy_DECREF(cpy_r_r87); - if (cpy_r_r88 == NULL) goto CPyL103; +CPyL102: ; + cpy_r_r91 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22; + if (unlikely(cpy_r_r91 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__22", 83, CPyStatic__gather___globals); + goto CPyL117; + } + CPy_INCREF(cpy_r_r91); +CPyL103: ; + cpy_r_r92 = (CPyPtr)&((PyVarObject *)cpy_r_r91)->ob_size; + cpy_r_r93 = *(int64_t *)cpy_r_r92; + CPy_DecRef(cpy_r_r91); + cpy_r_r94 = cpy_r_r93 << 1; + cpy_r_r95 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__23; + if (unlikely(cpy_r_r95 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__23", 83, CPyStatic__gather___globals); + goto CPyL117; + } +CPyL104: ; + cpy_r_r96 = (Py_ssize_t)cpy_r_r95 < (Py_ssize_t)cpy_r_r94; + if (!cpy_r_r96) goto CPyL113; + cpy_r_r97 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22; + if (unlikely(cpy_r_r97 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__22", 83, CPyStatic__gather___globals); + goto CPyL117; + } + CPy_INCREF(cpy_r_r97); +CPyL106: ; + cpy_r_r98 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__23; + if (unlikely(cpy_r_r98 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__23", 83, CPyStatic__gather___globals); + goto CPyL179; + } +CPyL107: ; + cpy_r_r99 = CPySequenceTuple_GetItem(cpy_r_r97, cpy_r_r98); + CPy_DecRef(cpy_r_r97); + if (unlikely(cpy_r_r99 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 83, CPyStatic__gather___globals); + goto CPyL117; + } + if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_f != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_f); + } + ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_f = cpy_r_r99; + cpy_r_r100 = 1; + if (unlikely(!cpy_r_r100)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 83, CPyStatic__gather___globals); + goto CPyL117; + } + cpy_r_r101 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_f; + if (unlikely(cpy_r_r101 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "f", 84, CPyStatic__gather___globals); + goto CPyL117; + } + CPy_INCREF(cpy_r_r101); +CPyL110: ; + cpy_r_r102 = CPyStatics[478]; /* 'cancel' */ + cpy_r_r103 = CPyObject_CallMethodObjArgs(cpy_r_r101, cpy_r_r102, NULL); + CPy_DecRef(cpy_r_r101); + if (unlikely(cpy_r_r103 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 84, CPyStatic__gather___globals); + goto CPyL117; + } else + goto CPyL180; +CPyL111: ; + cpy_r_r104 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__23; + if (unlikely(cpy_r_r104 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__23", 83, CPyStatic__gather___globals); + goto CPyL117; + } +CPyL112: ; + cpy_r_r105 = cpy_r_r104 + 2; + ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__23 = cpy_r_r105; + cpy_r_r106 = 1; + if (unlikely(!cpy_r_r106)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 83, CPyStatic__gather___globals); + goto CPyL117; + } else + goto CPyL102; +CPyL113: ; + CPy_Reraise(); + if (!0) { + goto CPyL117; + } else + goto CPyL181; +CPyL114: ; + CPy_Unreachable(); +CPyL115: ; + CPy_Reraise(); + if (!0) { + goto CPyL117; + } else + goto CPyL182; +CPyL116: ; + CPy_Unreachable(); +CPyL117: ; + cpy_r_r107 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21; + if (unlikely(cpy_r_r107.f0 == NULL)) { + PyErr_SetString(PyExc_AttributeError, "attribute '__mypyc_temp__21' of 'first_completed_env' undefined"); + } else { + CPy_INCREF(cpy_r_r107.f0); + CPy_INCREF(cpy_r_r107.f1); + CPy_INCREF(cpy_r_r107.f2); + } + CPy_DecRef(cpy_r_r4); + if (unlikely(cpy_r_r107.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); + goto CPyL139; + } +CPyL118: ; + CPy_RestoreExcInfo(cpy_r_r107); + CPy_DecRef(cpy_r_r107.f0); + CPy_DecRef(cpy_r_r107.f1); + CPy_DecRef(cpy_r_r107.f2); + cpy_r_r108 = CPy_KeepPropagating(); + if (!cpy_r_r108) goto CPyL139; + CPy_Unreachable(); +CPyL120: ; + cpy_r_r109 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_pending; + if (unlikely(cpy_r_r109 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "pending", 86, CPyStatic__gather___globals); + goto CPyL149; + } + CPy_INCREF(cpy_r_r109); +CPyL121: ; + cpy_r_r110 = PyObject_GetIter(cpy_r_r109); + if (unlikely(cpy_r_r110 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 86, CPyStatic__gather___globals); + goto CPyL183; + } + if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__24 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__24); + } + ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__24 = cpy_r_r109; + cpy_r_r111 = 1; + if (unlikely(!cpy_r_r111)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); + goto CPyL184; + } + if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__25 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__25); + } + ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__25 = cpy_r_r110; + cpy_r_r112 = 1; + if (unlikely(!cpy_r_r112)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); + goto CPyL149; + } +CPyL124: ; + cpy_r_r113 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__25; + if (unlikely(cpy_r_r113 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__25", 86, CPyStatic__gather___globals); + goto CPyL149; + } + CPy_INCREF(cpy_r_r113); +CPyL125: ; + cpy_r_r114 = PyIter_Next(cpy_r_r113); + CPy_DECREF(cpy_r_r113); + if (cpy_r_r114 == NULL) goto CPyL129; if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_p != NULL) { CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_p); } - ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_p = cpy_r_r88; - cpy_r_r89 = 1; - if (unlikely(!cpy_r_r89)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 80, CPyStatic__gather___globals); - goto CPyL123; + ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_p = cpy_r_r114; + cpy_r_r115 = 1; + if (unlikely(!cpy_r_r115)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 86, CPyStatic__gather___globals); + goto CPyL149; } - cpy_r_r90 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_p; - if (unlikely(cpy_r_r90 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "p", 81, CPyStatic__gather___globals); - goto CPyL123; + cpy_r_r116 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_p; + if (unlikely(cpy_r_r116 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "p", 87, CPyStatic__gather___globals); + goto CPyL149; } - CPy_INCREF(cpy_r_r90); -CPyL102: ; - cpy_r_r91 = CPyStatics[478]; /* 'cancel' */ - cpy_r_r92 = CPyObject_CallMethodObjArgs(cpy_r_r90, cpy_r_r91, NULL); - CPy_DECREF(cpy_r_r90); - if (unlikely(cpy_r_r92 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); - goto CPyL123; + CPy_INCREF(cpy_r_r116); +CPyL128: ; + cpy_r_r117 = CPyStatics[478]; /* 'cancel' */ + cpy_r_r118 = CPyObject_CallMethodObjArgs(cpy_r_r116, cpy_r_r117, NULL); + CPy_DECREF(cpy_r_r116); + if (unlikely(cpy_r_r118 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 87, CPyStatic__gather___globals); + goto CPyL149; } else - goto CPyL152; -CPyL103: ; - cpy_r_r93 = CPy_NoErrOccured(); - if (unlikely(!cpy_r_r93)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 80, CPyStatic__gather___globals); - goto CPyL123; + goto CPyL185; +CPyL129: ; + cpy_r_r119 = CPy_NoErrOccured(); + if (unlikely(!cpy_r_r119)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 86, CPyStatic__gather___globals); + goto CPyL149; } - cpy_r_r94 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_done; - if (unlikely(cpy_r_r94 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "done", 82, CPyStatic__gather___globals); - goto CPyL123; + cpy_r_r120 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_done; + if (unlikely(cpy_r_r120 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "done", 88, CPyStatic__gather___globals); + goto CPyL149; } - CPy_INCREF(cpy_r_r94); -CPyL105: ; + CPy_INCREF(cpy_r_r120); +CPyL131: ; if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_next_label__ != CPY_INT_TAG) { CPyTagged_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_next_label__); } ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_next_label__ = -2; - cpy_r_r95 = 1; + cpy_r_r121 = 1; CPy_DECREF(cpy_r_r4); - if (unlikely(!cpy_r_r95)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 82, CPyStatic__gather___globals); - goto CPyL153; + if (unlikely(!cpy_r_r121)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 88, CPyStatic__gather___globals); + goto CPyL186; } - CPyGen_SetStopIterationValue(cpy_r_r94); - CPy_DECREF(cpy_r_r94); - if (!0) goto CPyL113; + CPyGen_SetStopIterationValue(cpy_r_r120); + CPy_DECREF(cpy_r_r120); + if (!0) goto CPyL139; CPy_Unreachable(); -CPyL108: ; - cpy_r_r96 = cpy_r_r5 == 0; - if (cpy_r_r96) goto CPyL154; - cpy_r_r97 = cpy_r_r5 == 2; - if (cpy_r_r97) { - goto CPyL155; +CPyL134: ; + cpy_r_r122 = cpy_r_r5 == 0; + if (cpy_r_r122) goto CPyL187; + cpy_r_r123 = cpy_r_r5 == 2; + if (cpy_r_r123) { + goto CPyL188; } else - goto CPyL156; -CPyL110: ; - cpy_r_r98 = cpy_r_r5 == 4; + goto CPyL189; +CPyL136: ; + cpy_r_r124 = cpy_r_r5 == 4; CPyTagged_DECREF(cpy_r_r5); - if (cpy_r_r98) { + if (cpy_r_r124) { goto CPyL65; } else - goto CPyL157; -CPyL111: ; + goto CPyL190; +CPyL137: ; PyErr_SetNone(PyExc_StopIteration); - cpy_r_r99 = 0; - if (unlikely(!cpy_r_r99)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); - goto CPyL113; + cpy_r_r125 = 0; + if (unlikely(!cpy_r_r125)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); + goto CPyL139; } CPy_Unreachable(); -CPyL113: ; - cpy_r_r100 = NULL; - return cpy_r_r100; -CPyL114: ; +CPyL139: ; + cpy_r_r126 = NULL; + return cpy_r_r126; +CPyL140: ; CPy_XDecRef(cpy_r_r1); CPy_XDecRef(cpy_r_r3); - goto CPyL113; -CPyL115: ; + goto CPyL139; +CPyL141: ; CPy_XDecRef(cpy_r_r1); CPy_XDecRef(cpy_r_r3); CPy_DecRef(cpy_r_r4); - goto CPyL113; -CPyL116: ; + goto CPyL139; +CPyL142: ; CPy_XDECREF(cpy_r_r1); CPy_XDECREF(cpy_r_r3); CPy_DECREF(cpy_r_r4); goto CPyL3; -CPyL117: ; +CPyL143: ; CPy_XDECREF(cpy_r_r1); goto CPyL51; -CPyL118: ; +CPyL144: ; CPy_XDECREF(cpy_r_r3); goto CPyL7; -CPyL119: ; +CPyL145: ; CPy_XDecRef(cpy_r_r1); CPy_DecRef(cpy_r_r4); - goto CPyL113; -CPyL120: ; + goto CPyL139; +CPyL146: ; CPy_XDecRef(cpy_r_r1); CPy_DecRef(cpy_r_r4); CPy_DecRef(cpy_r_r9); goto CPyL9; -CPyL121: ; +CPyL147: ; CPy_XDecRef(cpy_r_r1); CPy_DecRef(cpy_r_r4); CPy_DecRef(cpy_r_r9); - goto CPyL113; -CPyL122: ; + goto CPyL139; +CPyL148: ; CPy_XDECREF(cpy_r_r1); goto CPyL16; -CPyL123: ; +CPyL149: ; CPy_DecRef(cpy_r_r4); - goto CPyL113; -CPyL124: ; + goto CPyL139; +CPyL150: ; CPy_DecRef(cpy_r_r23); goto CPyL25; -CPyL125: ; +CPyL151: ; CPy_XDECREF(cpy_r_r1); CPy_DECREF(cpy_r_r4); goto CPyL20; -CPyL126: ; +CPyL152: ; CPy_XDECREF(cpy_r_r1); CPy_DECREF(cpy_r_r4); goto CPyL23; -CPyL127: ; +CPyL153: ; CPy_XDecRef(cpy_r_r1); goto CPyL39; -CPyL128: ; +CPyL154: ; CPy_DecRef(cpy_r_r4); goto CPyL31; -CPyL129: ; +CPyL155: ; CPy_XDecRef(cpy_r_r1); CPy_DecRef(cpy_r_r23); goto CPyL39; -CPyL130: ; +CPyL156: ; CPy_DecRef(cpy_r_r4); goto CPyL36; -CPyL131: ; +CPyL157: ; CPy_DecRef(cpy_r_r22); goto CPyL39; -CPyL132: ; +CPyL158: ; CPy_XDecRef(cpy_r_r1); CPy_DecRef(cpy_r_r4); CPy_DecRef(cpy_r_arg); - goto CPyL113; -CPyL133: ; + goto CPyL139; +CPyL159: ; CPy_XDECREF(cpy_r_r1); goto CPyL45; -CPyL134: ; +CPyL160: ; CPy_DecRef(cpy_r_r42); - goto CPyL113; -CPyL135: ; + goto CPyL139; +CPyL161: ; CPy_XDecRef(cpy_r_r3); - CPy_DecRef(cpy_r_r4); - goto CPyL113; -CPyL136: ; + goto CPyL94; +CPyL162: ; CPy_XDecRef(cpy_r_r3); - CPy_DecRef(cpy_r_r4); CPy_DecRef(cpy_r_r44); goto CPyL53; -CPyL137: ; - CPy_XDecRef(cpy_r_r3); +CPyL163: ; CPy_DecRef(cpy_r_r4); + goto CPyL54; +CPyL164: ; + CPy_XDecRef(cpy_r_r3); CPy_DecRef(cpy_r_r44); - goto CPyL113; -CPyL138: ; + goto CPyL94; +CPyL165: ; CPy_XDECREF(cpy_r_r3); goto CPyL60; -CPyL139: ; +CPyL166: ; CPy_DecRef(cpy_r_r58); goto CPyL69; -CPyL140: ; +CPyL167: ; CPy_XDECREF(cpy_r_r3); CPy_DECREF(cpy_r_r4); goto CPyL64; -CPyL141: ; +CPyL168: ; CPy_XDECREF(cpy_r_r3); CPy_DECREF(cpy_r_r4); goto CPyL67; -CPyL142: ; +CPyL169: ; CPy_XDecRef(cpy_r_r3); goto CPyL83; -CPyL143: ; +CPyL170: ; CPy_DecRef(cpy_r_r4); goto CPyL75; -CPyL144: ; +CPyL171: ; CPy_XDecRef(cpy_r_r3); CPy_DecRef(cpy_r_r58); goto CPyL83; -CPyL145: ; +CPyL172: ; CPy_DecRef(cpy_r_r4); goto CPyL80; -CPyL146: ; +CPyL173: ; CPy_DecRef(cpy_r_r57); goto CPyL83; -CPyL147: ; - CPy_XDecRef(cpy_r_r3); +CPyL174: ; CPy_DecRef(cpy_r_r4); + goto CPyL85; +CPyL175: ; + CPy_XDecRef(cpy_r_r3); CPy_DecRef(cpy_r_arg); - goto CPyL113; -CPyL148: ; + goto CPyL94; +CPyL176: ; CPy_XDECREF(cpy_r_r3); goto CPyL89; -CPyL149: ; - CPy_DecRef(cpy_r_r4); +CPyL177: ; CPy_DecRef(cpy_r_r76.f0); CPy_DecRef(cpy_r_r76.f1); - goto CPyL113; -CPyL150: ; + goto CPyL94; +CPyL178: ; CPy_DecRef(cpy_r_r4); - CPy_DecRef(cpy_r_r83); - goto CPyL113; -CPyL151: ; + goto CPyL97; +CPyL179: ; + CPy_DecRef(cpy_r_r97); + goto CPyL117; +CPyL180: ; + CPy_DecRef(cpy_r_r103); + goto CPyL111; +CPyL181: ; CPy_DecRef(cpy_r_r4); - CPy_DecRef(cpy_r_r84); - goto CPyL113; -CPyL152: ; - CPy_DECREF(cpy_r_r92); - goto CPyL98; -CPyL153: ; - CPy_DecRef(cpy_r_r94); - goto CPyL113; -CPyL154: ; + goto CPyL114; +CPyL182: ; + CPy_DecRef(cpy_r_r4); + goto CPyL116; +CPyL183: ; + CPy_DecRef(cpy_r_r4); + CPy_DecRef(cpy_r_r109); + goto CPyL139; +CPyL184: ; + CPy_DecRef(cpy_r_r4); + CPy_DecRef(cpy_r_r110); + goto CPyL139; +CPyL185: ; + CPy_DECREF(cpy_r_r118); + goto CPyL124; +CPyL186: ; + CPy_DecRef(cpy_r_r120); + goto CPyL139; +CPyL187: ; CPyTagged_DECREF(cpy_r_r5); goto CPyL2; -CPyL155: ; +CPyL188: ; CPy_XDECREF(cpy_r_r3); CPyTagged_DECREF(cpy_r_r5); goto CPyL21; -CPyL156: ; +CPyL189: ; CPy_XDECREF(cpy_r_r1); - goto CPyL110; -CPyL157: ; + goto CPyL136; +CPyL190: ; CPy_XDECREF(cpy_r_r3); CPy_DECREF(cpy_r_r4); - goto CPyL111; + goto CPyL137; } PyObject *CPyPy__gather___first_completed_gen_____mypyc_generator_helper__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { @@ -41252,7 +41476,7 @@ PyObject *CPyPy__gather___first_completed_gen_____mypyc_generator_helper__(PyObj PyObject *retval = CPyDef__gather___first_completed_gen_____mypyc_generator_helper__(arg___mypyc_self__, arg_type, arg_value, arg_traceback, arg_arg); return retval; fail: ; - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); return NULL; } @@ -41557,7 +41781,7 @@ PyObject *CPyDef__gather___first_completed(PyObject *cpy_r_fs, char cpy_r_cancel CPyL2: ; cpy_r_r0 = CPyDef__gather___first_completed_env(); if (unlikely(cpy_r_r0 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); goto CPyL9; } CPy_INCREF(cpy_r_fs); @@ -41567,18 +41791,18 @@ CPyL2: ; ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r0)->_fs = cpy_r_fs; cpy_r_r1 = 1; if (unlikely(!cpy_r_r1)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); goto CPyL10; } ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r0)->_cancel = cpy_r_cancel; cpy_r_r2 = 1; if (unlikely(!cpy_r_r2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); goto CPyL10; } cpy_r_r3 = CPyDef__gather___first_completed_gen(); if (unlikely(cpy_r_r3 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); goto CPyL10; } CPy_INCREF(cpy_r_r0); @@ -41588,7 +41812,7 @@ CPyL2: ; ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r_r3)->___mypyc_env__ = cpy_r_r0; cpy_r_r4 = 1; if (unlikely(!cpy_r_r4)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); goto CPyL11; } if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r0)->___mypyc_next_label__ != CPY_INT_TAG) { @@ -41598,7 +41822,7 @@ CPyL2: ; cpy_r_r5 = 1; CPy_DECREF(cpy_r_r0); if (unlikely(!cpy_r_r5)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); goto CPyL12; } return cpy_r_r3; @@ -41638,7 +41862,7 @@ PyObject *CPyPy__gather___first_completed(PyObject *self, PyObject *const *args, return retval; fail: ; CPy_DECREF(obj_fs); - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); return NULL; } @@ -41722,13 +41946,20 @@ char CPyDef__gather_____top_level__(void) { PyObject *cpy_r_r81; PyObject *cpy_r_r82; PyObject *cpy_r_r83; - PyObject *cpy_r_r84; - PyObject *cpy_r_r85; + int32_t cpy_r_r84; + char cpy_r_r85; PyObject *cpy_r_r86; PyObject *cpy_r_r87; - int32_t cpy_r_r88; - char cpy_r_r89; - char cpy_r_r90; + PyObject *cpy_r_r88; + PyObject *cpy_r_r89; + PyObject *cpy_r_r90; + PyObject *cpy_r_r91; + PyObject *cpy_r_r92; + PyObject *cpy_r_r93; + PyObject *cpy_r_r94; + int32_t cpy_r_r95; + char cpy_r_r96; + char cpy_r_r97; cpy_r_r0 = CPyModule_builtins; cpy_r_r1 = (PyObject *)&_Py_NoneStruct; cpy_r_r2 = cpy_r_r0 != cpy_r_r1; @@ -41737,7 +41968,7 @@ char CPyDef__gather_____top_level__(void) { cpy_r_r4 = PyImport_Import(cpy_r_r3); if (unlikely(cpy_r_r4 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", -1, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } CPyModule_builtins = cpy_r_r4; CPy_INCREF(CPyModule_builtins); @@ -41748,20 +41979,20 @@ CPyL3: ; cpy_r_r7 = (void *)&cpy_r_r6; int64_t cpy_r_r8[1] = {1}; cpy_r_r9 = (void *)&cpy_r_r8; - cpy_r_r10 = CPyStatics[723]; /* (('asyncio', 'asyncio', 'asyncio'),) */ + cpy_r_r10 = CPyStatics[724]; /* (('asyncio', 'asyncio', 'asyncio'),) */ cpy_r_r11 = CPyStatic__gather___globals; cpy_r_r12 = CPyStatics[480]; /* 'dank_mids\\helpers\\_gather.py' */ cpy_r_r13 = CPyStatics[20]; /* '' */ cpy_r_r14 = CPyImport_ImportMany(cpy_r_r10, cpy_r_r7, cpy_r_r11, cpy_r_r12, cpy_r_r13, cpy_r_r9); - if (!cpy_r_r14) goto CPyL26; - cpy_r_r15 = CPyStatics[724]; /* ('Coroutine', 'Final', 'Iterable', 'Literal', 'Optional', + if (!cpy_r_r14) goto CPyL28; + cpy_r_r15 = CPyStatics[725]; /* ('Coroutine', 'Final', 'Iterable', 'Literal', 'Optional', 'Set', 'Tuple', 'TypeVar', 'Union', 'overload') */ cpy_r_r16 = CPyStatics[7]; /* 'typing' */ cpy_r_r17 = CPyStatic__gather___globals; cpy_r_r18 = CPyImport_ImportFromMany(cpy_r_r16, cpy_r_r15, cpy_r_r15, cpy_r_r17); if (unlikely(cpy_r_r18 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 2, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } CPyModule_typing = cpy_r_r18; CPy_INCREF(CPyModule_typing); @@ -41771,19 +42002,19 @@ CPyL3: ; cpy_r_r21 = (void *)&cpy_r_r20; int64_t cpy_r_r22[1] = {15}; cpy_r_r23 = (void *)&cpy_r_r22; - cpy_r_r24 = CPyStatics[726]; /* (('a_sync.asyncio', 'a_sync', 'a_sync'),) */ + cpy_r_r24 = CPyStatics[727]; /* (('a_sync.asyncio', 'a_sync', 'a_sync'),) */ cpy_r_r25 = CPyStatic__gather___globals; cpy_r_r26 = CPyStatics[480]; /* 'dank_mids\\helpers\\_gather.py' */ cpy_r_r27 = CPyStatics[20]; /* '' */ cpy_r_r28 = CPyImport_ImportMany(cpy_r_r24, cpy_r_r21, cpy_r_r25, cpy_r_r26, cpy_r_r27, cpy_r_r23); - if (!cpy_r_r28) goto CPyL26; + if (!cpy_r_r28) goto CPyL28; cpy_r_r29 = CPyStatics[418]; /* '__T' */ cpy_r_r30 = CPyStatic__gather___globals; cpy_r_r31 = CPyStatics[295]; /* 'TypeVar' */ cpy_r_r32 = CPyDict_GetItem(cpy_r_r30, cpy_r_r31); if (unlikely(cpy_r_r32 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 18, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } PyObject *cpy_r_r33[1] = {cpy_r_r29}; cpy_r_r34 = (PyObject **)&cpy_r_r33; @@ -41791,7 +42022,7 @@ CPyL3: ; CPy_DECREF(cpy_r_r32); if (unlikely(cpy_r_r35 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 18, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r36 = CPyStatic__gather___globals; cpy_r_r37 = CPyStatics[418]; /* '__T' */ @@ -41800,21 +42031,21 @@ CPyL3: ; cpy_r_r39 = cpy_r_r38 >= 0; if (unlikely(!cpy_r_r39)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 18, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r40 = CPyStatic__gather___globals; cpy_r_r41 = CPyStatics[483]; /* 'Set' */ cpy_r_r42 = CPyDict_GetItem(cpy_r_r40, cpy_r_r41); if (unlikely(cpy_r_r42 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 20, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r43 = CPyStatics[486]; /* 'asyncio.Future[__T]' */ cpy_r_r44 = PyObject_GetItem(cpy_r_r42, cpy_r_r43); CPy_DECREF(cpy_r_r42); if (unlikely(cpy_r_r44 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 20, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r45 = CPyStatic__gather___globals; cpy_r_r46 = CPyStatics[487]; /* 'FinishedTasks' */ @@ -41823,21 +42054,21 @@ CPyL3: ; cpy_r_r48 = cpy_r_r47 >= 0; if (unlikely(!cpy_r_r48)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 20, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r49 = CPyStatic__gather___globals; cpy_r_r50 = CPyStatics[483]; /* 'Set' */ cpy_r_r51 = CPyDict_GetItem(cpy_r_r49, cpy_r_r50); if (unlikely(cpy_r_r51 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 21, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r52 = CPyStatics[486]; /* 'asyncio.Future[__T]' */ cpy_r_r53 = PyObject_GetItem(cpy_r_r51, cpy_r_r52); CPy_DECREF(cpy_r_r51); if (unlikely(cpy_r_r53 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 21, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r54 = CPyStatic__gather___globals; cpy_r_r55 = CPyStatics[488]; /* 'PendingTasks' */ @@ -41846,98 +42077,116 @@ CPyL3: ; cpy_r_r57 = cpy_r_r56 >= 0; if (unlikely(!cpy_r_r57)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 21, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r58 = CPyModule_asyncio; - cpy_r_r59 = CPyStatics[489]; /* 'Task' */ + cpy_r_r59 = CPyStatics[489]; /* 'CancelledError' */ cpy_r_r60 = CPyObject_GetAttr(cpy_r_r58, cpy_r_r59); if (unlikely(cpy_r_r60 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 25, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } - CPyStatic__gather___Task = cpy_r_r60; - CPy_INCREF(CPyStatic__gather___Task); + CPyStatic__gather___CancelledError = cpy_r_r60; + CPy_INCREF(CPyStatic__gather___CancelledError); cpy_r_r61 = CPyStatic__gather___globals; - cpy_r_r62 = CPyStatics[489]; /* 'Task' */ + cpy_r_r62 = CPyStatics[489]; /* 'CancelledError' */ cpy_r_r63 = CPyDict_SetItem(cpy_r_r61, cpy_r_r62, cpy_r_r60); CPy_DECREF(cpy_r_r60); cpy_r_r64 = cpy_r_r63 >= 0; if (unlikely(!cpy_r_r64)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 25, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r65 = CPyModule_asyncio; - cpy_r_r66 = CPyStatics[490]; /* 'get_running_loop' */ + cpy_r_r66 = CPyStatics[490]; /* 'Task' */ cpy_r_r67 = CPyObject_GetAttr(cpy_r_r65, cpy_r_r66); if (unlikely(cpy_r_r67 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 26, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } - CPyStatic__gather___get_running_loop = cpy_r_r67; - CPy_INCREF(CPyStatic__gather___get_running_loop); + CPyStatic__gather___Task = cpy_r_r67; + CPy_INCREF(CPyStatic__gather___Task); cpy_r_r68 = CPyStatic__gather___globals; - cpy_r_r69 = CPyStatics[490]; /* 'get_running_loop' */ + cpy_r_r69 = CPyStatics[490]; /* 'Task' */ cpy_r_r70 = CPyDict_SetItem(cpy_r_r68, cpy_r_r69, cpy_r_r67); CPy_DECREF(cpy_r_r67); cpy_r_r71 = cpy_r_r70 >= 0; if (unlikely(!cpy_r_r71)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 26, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r72 = CPyModule_asyncio; - cpy_r_r73 = CPyStatics[491]; /* 'wait' */ + cpy_r_r73 = CPyStatics[491]; /* 'get_running_loop' */ cpy_r_r74 = CPyObject_GetAttr(cpy_r_r72, cpy_r_r73); if (unlikely(cpy_r_r74 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 27, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } - CPyStatic__gather___wait = cpy_r_r74; - CPy_INCREF(CPyStatic__gather___wait); + CPyStatic__gather___get_running_loop = cpy_r_r74; + CPy_INCREF(CPyStatic__gather___get_running_loop); cpy_r_r75 = CPyStatic__gather___globals; - cpy_r_r76 = CPyStatics[491]; /* 'wait' */ + cpy_r_r76 = CPyStatics[491]; /* 'get_running_loop' */ cpy_r_r77 = CPyDict_SetItem(cpy_r_r75, cpy_r_r76, cpy_r_r74); CPy_DECREF(cpy_r_r74); cpy_r_r78 = cpy_r_r77 >= 0; if (unlikely(!cpy_r_r78)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 27, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } - cpy_r_r79 = CPyStatic__gather___globals; - cpy_r_r80 = CPyStatics[18]; /* 'a_sync' */ - cpy_r_r81 = CPyDict_GetItem(cpy_r_r79, cpy_r_r80); + cpy_r_r79 = CPyModule_asyncio; + cpy_r_r80 = CPyStatics[492]; /* 'wait' */ + cpy_r_r81 = CPyObject_GetAttr(cpy_r_r79, cpy_r_r80); if (unlikely(cpy_r_r81 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 30, CPyStatic__gather___globals); - goto CPyL26; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 28, CPyStatic__gather___globals); + goto CPyL28; } - cpy_r_r82 = CPyStatics[479]; /* 'asyncio' */ - cpy_r_r83 = CPyObject_GetAttr(cpy_r_r81, cpy_r_r82); + CPyStatic__gather___wait = cpy_r_r81; + CPy_INCREF(CPyStatic__gather___wait); + cpy_r_r82 = CPyStatic__gather___globals; + cpy_r_r83 = CPyStatics[492]; /* 'wait' */ + cpy_r_r84 = CPyDict_SetItem(cpy_r_r82, cpy_r_r83, cpy_r_r81); CPy_DECREF(cpy_r_r81); - if (unlikely(cpy_r_r83 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 30, CPyStatic__gather___globals); - goto CPyL26; + cpy_r_r85 = cpy_r_r84 >= 0; + if (unlikely(!cpy_r_r85)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 28, CPyStatic__gather___globals); + goto CPyL28; } - cpy_r_r84 = CPyStatics[492]; /* 'sleep0' */ - cpy_r_r85 = CPyObject_GetAttr(cpy_r_r83, cpy_r_r84); - CPy_DECREF(cpy_r_r83); - if (unlikely(cpy_r_r85 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 30, CPyStatic__gather___globals); - goto CPyL26; + cpy_r_r86 = CPyStatic__gather___globals; + cpy_r_r87 = CPyStatics[18]; /* 'a_sync' */ + cpy_r_r88 = CPyDict_GetItem(cpy_r_r86, cpy_r_r87); + if (unlikely(cpy_r_r88 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 31, CPyStatic__gather___globals); + goto CPyL28; + } + cpy_r_r89 = CPyStatics[479]; /* 'asyncio' */ + cpy_r_r90 = CPyObject_GetAttr(cpy_r_r88, cpy_r_r89); + CPy_DECREF(cpy_r_r88); + if (unlikely(cpy_r_r90 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 31, CPyStatic__gather___globals); + goto CPyL28; + } + cpy_r_r91 = CPyStatics[493]; /* 'sleep0' */ + cpy_r_r92 = CPyObject_GetAttr(cpy_r_r90, cpy_r_r91); + CPy_DECREF(cpy_r_r90); + if (unlikely(cpy_r_r92 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 31, CPyStatic__gather___globals); + goto CPyL28; } - CPyStatic__gather___yield_to_loop = cpy_r_r85; + CPyStatic__gather___yield_to_loop = cpy_r_r92; CPy_INCREF(CPyStatic__gather___yield_to_loop); - cpy_r_r86 = CPyStatic__gather___globals; - cpy_r_r87 = CPyStatics[493]; /* 'yield_to_loop' */ - cpy_r_r88 = CPyDict_SetItem(cpy_r_r86, cpy_r_r87, cpy_r_r85); - CPy_DECREF(cpy_r_r85); - cpy_r_r89 = cpy_r_r88 >= 0; - if (unlikely(!cpy_r_r89)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 30, CPyStatic__gather___globals); - goto CPyL26; + cpy_r_r93 = CPyStatic__gather___globals; + cpy_r_r94 = CPyStatics[494]; /* 'yield_to_loop' */ + cpy_r_r95 = CPyDict_SetItem(cpy_r_r93, cpy_r_r94, cpy_r_r92); + CPy_DECREF(cpy_r_r92); + cpy_r_r96 = cpy_r_r95 >= 0; + if (unlikely(!cpy_r_r96)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 31, CPyStatic__gather___globals); + goto CPyL28; } return 1; -CPyL26: ; - cpy_r_r90 = 2; - return cpy_r_r90; +CPyL28: ; + cpy_r_r97 = 2; + return cpy_r_r97; } static int @@ -42592,8 +42841,8 @@ PyObject *CPyDef__weaklist___WeakList_____repr__(PyObject *cpy_r_self) { CPy_TypeErrorTraceback("dank_mids\\helpers\\_weaklist.py", "__repr__", 24, CPyStatic__weaklist___globals, "str", cpy_r_r2); goto CPyL8; } - cpy_r_r4 = CPyStatics[494]; /* '([' */ - cpy_r_r5 = CPyStatics[495]; /* ', ' */ + cpy_r_r4 = CPyStatics[495]; /* '([' */ + cpy_r_r5 = CPyStatics[496]; /* ', ' */ cpy_r_r6 = CPyModule_builtins; cpy_r_r7 = CPyStatics[66]; /* 'repr' */ cpy_r_r8 = CPyObject_GetAttr(cpy_r_r6, cpy_r_r7); @@ -42623,7 +42872,7 @@ PyObject *CPyDef__weaklist___WeakList_____repr__(PyObject *cpy_r_self) { CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__repr__", 24, CPyStatic__weaklist___globals); goto CPyL9; } - cpy_r_r16 = CPyStatics[496]; /* '])' */ + cpy_r_r16 = CPyStatics[497]; /* '])' */ cpy_r_r17 = CPyStr_Build(4, cpy_r_r3, cpy_r_r4, cpy_r_r15, cpy_r_r16); CPy_DECREF(cpy_r_r3); CPy_DECREF(cpy_r_r15); @@ -43609,7 +43858,7 @@ char CPyDef__weaklist___WeakList___append(PyObject *cpy_r_self, PyObject *cpy_r_ int32_t cpy_r_r10; char cpy_r_r11; char cpy_r_r12; - cpy_r_r0 = CPyStatics[497]; /* '_gc_callback' */ + cpy_r_r0 = CPyStatics[498]; /* '_gc_callback' */ cpy_r_r1 = CPyObject_GetAttr(cpy_r_self, cpy_r_r0); if (unlikely(cpy_r_r1 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "append", 45, CPyStatic__weaklist___globals); @@ -43718,7 +43967,7 @@ char CPyDef__weaklist___WeakList___extend(PyObject *cpy_r_self, PyObject *cpy_r_ int32_t cpy_r_r17; char cpy_r_r18; char cpy_r_r19; - cpy_r_r0 = CPyStatics[497]; /* '_gc_callback' */ + cpy_r_r0 = CPyStatics[498]; /* '_gc_callback' */ cpy_r_r1 = CPyObject_GetAttr(cpy_r_self, cpy_r_r0); if (unlikely(cpy_r_r1 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "extend", 48, CPyStatic__weaklist___globals); @@ -43931,7 +44180,7 @@ CPyL1: ; } else goto CPyL9; CPyL5: ; - cpy_r_r9 = CPyStatics[498]; /* 'list.remove(x): x not in list' */ + cpy_r_r9 = CPyStatics[499]; /* 'list.remove(x): x not in list' */ cpy_r_r10 = CPyModule_builtins; cpy_r_r11 = CPyStatics[129]; /* 'ValueError' */ cpy_r_r12 = CPyObject_GetAttr(cpy_r_r10, cpy_r_r11); @@ -44031,7 +44280,7 @@ char CPyDef__weaklist___WeakList____gc_callback(PyObject *cpy_r_self, PyObject * CPy_INCREF(cpy_r_r0); CPyL1: ; cpy_r_r1 = CPyTagged_Id(cpy_r_item); - cpy_r_r2 = CPyStatics[499]; /* 'pop' */ + cpy_r_r2 = CPyStatics[500]; /* 'pop' */ cpy_r_r3 = CPyTagged_StealAsObject(cpy_r_r1); cpy_r_r4 = Py_None; cpy_r_r5 = CPyObject_CallMethodObjArgs(cpy_r_r0, cpy_r_r2, cpy_r_r3, cpy_r_r4, NULL); @@ -44190,13 +44439,13 @@ CPyL3: ; cpy_r_r7 = (void *)&cpy_r_r6; int64_t cpy_r_r8[1] = {1}; cpy_r_r9 = (void *)&cpy_r_r8; - cpy_r_r10 = CPyStatics[728]; /* (('weakref', 'weakref', 'weakref'),) */ + cpy_r_r10 = CPyStatics[729]; /* (('weakref', 'weakref', 'weakref'),) */ cpy_r_r11 = CPyStatic__weaklist___globals; - cpy_r_r12 = CPyStatics[501]; /* 'dank_mids\\helpers\\_weaklist.py' */ + cpy_r_r12 = CPyStatics[502]; /* 'dank_mids\\helpers\\_weaklist.py' */ cpy_r_r13 = CPyStatics[20]; /* '' */ cpy_r_r14 = CPyImport_ImportMany(cpy_r_r10, cpy_r_r7, cpy_r_r11, cpy_r_r12, cpy_r_r13, cpy_r_r9); if (!cpy_r_r14) goto CPyL30; - cpy_r_r15 = CPyStatics[729]; /* ('Any', 'Callable', 'Dict', 'Final', 'Generic', + cpy_r_r15 = CPyStatics[730]; /* ('Any', 'Callable', 'Dict', 'Final', 'Generic', 'Iterable', 'Iterator', 'Optional', 'TypeVar', 'final') */ cpy_r_r16 = CPyStatics[7]; /* 'typing' */ cpy_r_r17 = CPyStatic__weaklist___globals; @@ -44234,14 +44483,14 @@ CPyL3: ; goto CPyL30; } cpy_r_r30 = CPyModule_weakref; - cpy_r_r31 = CPyStatics[504]; /* 'ReferenceType' */ + cpy_r_r31 = CPyStatics[505]; /* 'ReferenceType' */ cpy_r_r32 = CPyObject_GetAttr(cpy_r_r30, cpy_r_r31); if (unlikely(cpy_r_r32 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 7, CPyStatic__weaklist___globals); goto CPyL30; } cpy_r_r33 = CPyStatic__weaklist___globals; - cpy_r_r34 = CPyStatics[505]; /* 'Ref' */ + cpy_r_r34 = CPyStatics[506]; /* 'Ref' */ cpy_r_r35 = CPyDict_SetItem(cpy_r_r33, cpy_r_r34, cpy_r_r32); CPy_DECREF(cpy_r_r32); cpy_r_r36 = cpy_r_r35 >= 0; @@ -44290,7 +44539,7 @@ CPyL3: ; goto CPyL30; } cpy_r_r50 = CPyStatic__weaklist___globals; - cpy_r_r51 = CPyStatics[506]; /* 'GCCallback' */ + cpy_r_r51 = CPyStatics[507]; /* 'GCCallback' */ cpy_r_r52 = CPyDict_SetItem(cpy_r_r50, cpy_r_r51, cpy_r_r49); CPy_DECREF(cpy_r_r49); cpy_r_r53 = cpy_r_r52 >= 0; @@ -44299,7 +44548,7 @@ CPyL3: ; goto CPyL30; } cpy_r_r54 = CPyModule_weakref; - cpy_r_r55 = CPyStatics[507]; /* 'ref' */ + cpy_r_r55 = CPyStatics[508]; /* 'ref' */ cpy_r_r56 = CPyObject_GetAttr(cpy_r_r54, cpy_r_r55); if (unlikely(cpy_r_r56 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 10, CPyStatic__weaklist___globals); @@ -44308,7 +44557,7 @@ CPyL3: ; CPyStatic__weaklist___ref = cpy_r_r56; CPy_INCREF(CPyStatic__weaklist___ref); cpy_r_r57 = CPyStatic__weaklist___globals; - cpy_r_r58 = CPyStatics[507]; /* 'ref' */ + cpy_r_r58 = CPyStatics[508]; /* 'ref' */ cpy_r_r59 = CPyDict_SetItem(cpy_r_r57, cpy_r_r58, cpy_r_r56); CPy_DECREF(cpy_r_r56); cpy_r_r60 = cpy_r_r59 >= 0; @@ -44317,13 +44566,13 @@ CPyL3: ; goto CPyL30; } cpy_r_r61 = CPyModule_weakref; - cpy_r_r62 = CPyStatics[507]; /* 'ref' */ + cpy_r_r62 = CPyStatics[508]; /* 'ref' */ cpy_r_r63 = CPyObject_GetAttr(cpy_r_r61, cpy_r_r62); if (unlikely(cpy_r_r63 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 11, CPyStatic__weaklist___globals); goto CPyL30; } - cpy_r_r64 = CPyStatics[508]; /* '__call__' */ + cpy_r_r64 = CPyStatics[509]; /* '__call__' */ cpy_r_r65 = CPyObject_GetAttr(cpy_r_r63, cpy_r_r64); CPy_DECREF(cpy_r_r63); if (unlikely(cpy_r_r65 == NULL)) { @@ -44333,7 +44582,7 @@ CPyL3: ; CPyStatic__weaklist____call_ref = cpy_r_r65; CPy_INCREF(CPyStatic__weaklist____call_ref); cpy_r_r66 = CPyStatic__weaklist___globals; - cpy_r_r67 = CPyStatics[509]; /* '_call_ref' */ + cpy_r_r67 = CPyStatics[510]; /* '_call_ref' */ cpy_r_r68 = CPyDict_SetItem(cpy_r_r66, cpy_r_r67, cpy_r_r65); CPy_DECREF(cpy_r_r65); cpy_r_r69 = cpy_r_r68 >= 0; @@ -44342,7 +44591,7 @@ CPyL3: ; goto CPyL30; } cpy_r_r70 = CPyStatic__weaklist___globals; - cpy_r_r71 = CPyStatics[502]; /* 'Generic' */ + cpy_r_r71 = CPyStatics[503]; /* 'Generic' */ cpy_r_r72 = CPyDict_GetItem(cpy_r_r70, cpy_r_r71); if (unlikely(cpy_r_r72 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 15, CPyStatic__weaklist___globals); @@ -44368,7 +44617,7 @@ CPyL3: ; CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 15, CPyStatic__weaklist___globals); goto CPyL30; } - cpy_r_r78 = CPyStatics[510]; /* 'dank_mids.helpers._weaklist' */ + cpy_r_r78 = CPyStatics[511]; /* 'dank_mids.helpers._weaklist' */ cpy_r_r79 = (PyObject *)CPyType__weaklist___WeakList_template; cpy_r_r80 = CPyType_FromTemplate(cpy_r_r79, cpy_r_r77, cpy_r_r78); CPy_DECREF(cpy_r_r77); @@ -44382,7 +44631,7 @@ CPyL3: ; goto CPyL34; } cpy_r_r82 = CPyStatics[13]; /* '__mypyc_attrs__' */ - cpy_r_r83 = CPyStatics[511]; /* '_refs' */ + cpy_r_r83 = CPyStatics[512]; /* '_refs' */ cpy_r_r84 = CPyStatics[131]; /* '__dict__' */ cpy_r_r85 = PyTuple_Pack(2, cpy_r_r83, cpy_r_r84); if (unlikely(cpy_r_r85 == NULL)) { @@ -44399,7 +44648,7 @@ CPyL3: ; CPyType__weaklist___WeakList = (PyTypeObject *)cpy_r_r80; CPy_INCREF(CPyType__weaklist___WeakList); cpy_r_r88 = CPyStatic__weaklist___globals; - cpy_r_r89 = CPyStatics[512]; /* 'WeakList' */ + cpy_r_r89 = CPyStatics[513]; /* 'WeakList' */ cpy_r_r90 = CPyDict_SetItem(cpy_r_r88, cpy_r_r89, cpy_r_r80); CPy_DECREF(cpy_r_r80); cpy_r_r91 = cpy_r_r90 >= 0; @@ -44723,7 +44972,7 @@ char CPyDef_constants_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[730]; /* ('Dict', 'Final') */ + cpy_r_r5 = CPyStatics[731]; /* ('Dict', 'Final') */ cpy_r_r6 = CPyStatics[7]; /* 'typing' */ cpy_r_r7 = CPyStatic_constants___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -44739,13 +44988,13 @@ CPyL3: ; cpy_r_r11 = (void *)&cpy_r_r10; int64_t cpy_r_r12[1] = {4}; cpy_r_r13 = (void *)&cpy_r_r12; - cpy_r_r14 = CPyStatics[732]; /* (('multicall.constants', 'multicall', 'multicall'),) */ + cpy_r_r14 = CPyStatics[733]; /* (('multicall.constants', 'multicall', 'multicall'),) */ cpy_r_r15 = CPyStatic_constants___globals; - cpy_r_r16 = CPyStatics[514]; /* 'dank_mids\\constants.py' */ + cpy_r_r16 = CPyStatics[515]; /* 'dank_mids\\constants.py' */ cpy_r_r17 = CPyStatics[20]; /* '' */ cpy_r_r18 = CPyImport_ImportMany(cpy_r_r14, cpy_r_r11, cpy_r_r15, cpy_r_r16, cpy_r_r17, cpy_r_r13); if (!cpy_r_r18) goto CPyL80; - cpy_r_r19 = CPyStatics[733]; /* ('BlockNumber',) */ + cpy_r_r19 = CPyStatics[734]; /* ('BlockNumber',) */ cpy_r_r20 = CPyStatics[85]; /* 'eth_typing' */ cpy_r_r21 = CPyStatic_constants___globals; cpy_r_r22 = CPyImport_ImportFromMany(cpy_r_r20, cpy_r_r19, cpy_r_r19, cpy_r_r21); @@ -44756,7 +45005,7 @@ CPyL3: ; CPyModule_eth_typing = cpy_r_r22; CPy_INCREF(CPyModule_eth_typing); CPy_DECREF(cpy_r_r22); - cpy_r_r23 = CPyStatics[734]; /* ('Network',) */ + cpy_r_r23 = CPyStatics[735]; /* ('Network',) */ cpy_r_r24 = CPyStatics[311]; /* 'multicall.constants' */ cpy_r_r25 = CPyStatic_constants___globals; cpy_r_r26 = CPyImport_ImportFromMany(cpy_r_r24, cpy_r_r23, cpy_r_r23, cpy_r_r25); @@ -44767,10 +45016,10 @@ CPyL3: ; CPyModule_multicall___constants = cpy_r_r26; CPy_INCREF(CPyModule_multicall___constants); CPy_DECREF(cpy_r_r26); - cpy_r_r27 = CPyStatics[517]; /* 'payload too large' */ - cpy_r_r28 = CPyStatics[518]; /* 'content length too large' */ - cpy_r_r29 = CPyStatics[519]; /* 'request entity too large' */ - cpy_r_r30 = CPyStatics[520]; /* 'batch limit exceeded' */ + cpy_r_r27 = CPyStatics[518]; /* 'payload too large' */ + cpy_r_r28 = CPyStatics[519]; /* 'content length too large' */ + cpy_r_r29 = CPyStatics[520]; /* 'request entity too large' */ + cpy_r_r30 = CPyStatics[521]; /* 'batch limit exceeded' */ cpy_r_r31 = PySet_New(NULL); if (unlikely(cpy_r_r31 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 8, CPyStatic_constants___globals); @@ -44803,7 +45052,7 @@ CPyL3: ; CPyStatic_constants___TOO_MUCH_DATA_ERRS = cpy_r_r31; CPy_INCREF(CPyStatic_constants___TOO_MUCH_DATA_ERRS); cpy_r_r40 = CPyStatic_constants___globals; - cpy_r_r41 = CPyStatics[521]; /* 'TOO_MUCH_DATA_ERRS' */ + cpy_r_r41 = CPyStatics[522]; /* 'TOO_MUCH_DATA_ERRS' */ cpy_r_r42 = CPyDict_SetItem(cpy_r_r40, cpy_r_r41, cpy_r_r31); CPy_DECREF(cpy_r_r31); cpy_r_r43 = cpy_r_r42 >= 0; @@ -44811,12 +45060,12 @@ CPyL3: ; CPy_AddTraceback("dank_mids\\constants.py", "", 8, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r44 = CPyStatics[522]; /* 'connection reset by peer' */ - cpy_r_r45 = CPyStatics[523]; /* 'server disconnected' */ - cpy_r_r46 = CPyStatics[524]; /* 'execution aborted (timeout =' */ - cpy_r_r47 = CPyStatics[520]; /* 'batch limit exceeded' */ - cpy_r_r48 = CPyStatics[525]; /* 'request timed out' */ - cpy_r_r49 = CPyStatics[526]; /* 'evm timeout' */ + cpy_r_r44 = CPyStatics[523]; /* 'connection reset by peer' */ + cpy_r_r45 = CPyStatics[524]; /* 'server disconnected' */ + cpy_r_r46 = CPyStatics[525]; /* 'execution aborted (timeout =' */ + cpy_r_r47 = CPyStatics[521]; /* 'batch limit exceeded' */ + cpy_r_r48 = CPyStatics[526]; /* 'request timed out' */ + cpy_r_r49 = CPyStatics[527]; /* 'evm timeout' */ cpy_r_r50 = PySet_New(NULL); if (unlikely(cpy_r_r50 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 19, CPyStatic_constants___globals); @@ -44861,7 +45110,7 @@ CPyL3: ; CPyStatic_constants___RETRY_ERRS = cpy_r_r50; CPy_INCREF(CPyStatic_constants___RETRY_ERRS); cpy_r_r63 = CPyStatic_constants___globals; - cpy_r_r64 = CPyStatics[527]; /* 'RETRY_ERRS' */ + cpy_r_r64 = CPyStatics[528]; /* 'RETRY_ERRS' */ cpy_r_r65 = CPyDict_SetItem(cpy_r_r63, cpy_r_r64, cpy_r_r50); CPy_DECREF(cpy_r_r50); cpy_r_r66 = cpy_r_r65 >= 0; @@ -44870,20 +45119,20 @@ CPyL3: ; goto CPyL80; } cpy_r_r67 = CPyStatic_constants___globals; - cpy_r_r68 = CPyStatics[513]; /* 'multicall' */ + cpy_r_r68 = CPyStatics[514]; /* 'multicall' */ cpy_r_r69 = CPyDict_GetItem(cpy_r_r67, cpy_r_r68); if (unlikely(cpy_r_r69 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 32, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r70 = CPyStatics[528]; /* 'constants' */ + cpy_r_r70 = CPyStatics[529]; /* 'constants' */ cpy_r_r71 = CPyObject_GetAttr(cpy_r_r69, cpy_r_r70); CPy_DECREF(cpy_r_r69); if (unlikely(cpy_r_r71 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 32, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r72 = CPyStatics[529]; /* 'GAS_LIMIT' */ + cpy_r_r72 = CPyStatics[530]; /* 'GAS_LIMIT' */ cpy_r_r73 = CPyObject_GetAttr(cpy_r_r71, cpy_r_r72); CPy_DECREF(cpy_r_r71); if (unlikely(cpy_r_r73 == NULL)) { @@ -44893,7 +45142,7 @@ CPyL3: ; CPyStatic_constants___GAS_LIMIT = cpy_r_r73; CPy_INCREF(CPyStatic_constants___GAS_LIMIT); cpy_r_r74 = CPyStatic_constants___globals; - cpy_r_r75 = CPyStatics[529]; /* 'GAS_LIMIT' */ + cpy_r_r75 = CPyStatics[530]; /* 'GAS_LIMIT' */ cpy_r_r76 = CPyDict_SetItem(cpy_r_r74, cpy_r_r75, cpy_r_r73); CPy_DECREF(cpy_r_r73); cpy_r_r77 = cpy_r_r76 >= 0; @@ -44902,20 +45151,20 @@ CPyL3: ; goto CPyL80; } cpy_r_r78 = CPyStatic_constants___globals; - cpy_r_r79 = CPyStatics[513]; /* 'multicall' */ + cpy_r_r79 = CPyStatics[514]; /* 'multicall' */ cpy_r_r80 = CPyDict_GetItem(cpy_r_r78, cpy_r_r79); if (unlikely(cpy_r_r80 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 38, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r81 = CPyStatics[528]; /* 'constants' */ + cpy_r_r81 = CPyStatics[529]; /* 'constants' */ cpy_r_r82 = CPyObject_GetAttr(cpy_r_r80, cpy_r_r81); CPy_DECREF(cpy_r_r80); if (unlikely(cpy_r_r82 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 38, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r83 = CPyStatics[530]; /* 'MULTICALL2_BYTECODE' */ + cpy_r_r83 = CPyStatics[531]; /* 'MULTICALL2_BYTECODE' */ cpy_r_r84 = CPyObject_GetAttr(cpy_r_r82, cpy_r_r83); CPy_DECREF(cpy_r_r82); if (unlikely(cpy_r_r84 == NULL)) { @@ -44925,7 +45174,7 @@ CPyL3: ; CPyStatic_constants___MULTICALL2_OVERRIDE_CODE = cpy_r_r84; CPy_INCREF(CPyStatic_constants___MULTICALL2_OVERRIDE_CODE); cpy_r_r85 = CPyStatic_constants___globals; - cpy_r_r86 = CPyStatics[531]; /* 'MULTICALL2_OVERRIDE_CODE' */ + cpy_r_r86 = CPyStatics[532]; /* 'MULTICALL2_OVERRIDE_CODE' */ cpy_r_r87 = CPyDict_SetItem(cpy_r_r85, cpy_r_r86, cpy_r_r84); CPy_DECREF(cpy_r_r84); cpy_r_r88 = cpy_r_r87 >= 0; @@ -44934,20 +45183,20 @@ CPyL3: ; goto CPyL80; } cpy_r_r89 = CPyStatic_constants___globals; - cpy_r_r90 = CPyStatics[513]; /* 'multicall' */ + cpy_r_r90 = CPyStatics[514]; /* 'multicall' */ cpy_r_r91 = CPyDict_GetItem(cpy_r_r89, cpy_r_r90); if (unlikely(cpy_r_r91 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 45, CPyStatic_constants___globals); goto CPyL33; } - cpy_r_r92 = CPyStatics[528]; /* 'constants' */ + cpy_r_r92 = CPyStatics[529]; /* 'constants' */ cpy_r_r93 = CPyObject_GetAttr(cpy_r_r91, cpy_r_r92); CPy_DECREF(cpy_r_r91); if (unlikely(cpy_r_r93 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 45, CPyStatic_constants___globals); goto CPyL33; } - cpy_r_r94 = CPyStatics[532]; /* 'MULTICALL3_BYTECODE' */ + cpy_r_r94 = CPyStatics[533]; /* 'MULTICALL3_BYTECODE' */ cpy_r_r95 = CPyObject_GetAttr(cpy_r_r93, cpy_r_r94); CPy_DECREF(cpy_r_r93); if (unlikely(cpy_r_r95 == NULL)) { @@ -44955,7 +45204,7 @@ CPyL3: ; goto CPyL33; } cpy_r_r96 = CPyStatic_constants___globals; - cpy_r_r97 = CPyStatics[533]; /* '__MULTICALL3_OVERRIDE_CODE' */ + cpy_r_r97 = CPyStatics[534]; /* '__MULTICALL3_OVERRIDE_CODE' */ cpy_r_r98 = CPyDict_SetItem(cpy_r_r96, cpy_r_r97, cpy_r_r95); CPy_DECREF(cpy_r_r95); cpy_r_r99 = cpy_r_r98 >= 0; @@ -44976,20 +45225,20 @@ CPyL33: ; CPy_DecRef(cpy_r_r103); if (!cpy_r_r104) goto CPyL39; cpy_r_r105 = CPyStatic_constants___globals; - cpy_r_r106 = CPyStatics[513]; /* 'multicall' */ + cpy_r_r106 = CPyStatics[514]; /* 'multicall' */ cpy_r_r107 = CPyDict_GetItem(cpy_r_r105, cpy_r_r106); if (unlikely(cpy_r_r107 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 51, CPyStatic_constants___globals); goto CPyL42; } - cpy_r_r108 = CPyStatics[528]; /* 'constants' */ + cpy_r_r108 = CPyStatics[529]; /* 'constants' */ cpy_r_r109 = CPyObject_GetAttr(cpy_r_r107, cpy_r_r108); CPy_DecRef(cpy_r_r107); if (unlikely(cpy_r_r109 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 51, CPyStatic_constants___globals); goto CPyL42; } - cpy_r_r110 = CPyStatics[530]; /* 'MULTICALL2_BYTECODE' */ + cpy_r_r110 = CPyStatics[531]; /* 'MULTICALL2_BYTECODE' */ cpy_r_r111 = CPyObject_GetAttr(cpy_r_r109, cpy_r_r110); CPy_DecRef(cpy_r_r109); if (unlikely(cpy_r_r111 == NULL)) { @@ -44997,7 +45246,7 @@ CPyL33: ; goto CPyL42; } cpy_r_r112 = CPyStatic_constants___globals; - cpy_r_r113 = CPyStatics[533]; /* '__MULTICALL3_OVERRIDE_CODE' */ + cpy_r_r113 = CPyStatics[534]; /* '__MULTICALL3_OVERRIDE_CODE' */ cpy_r_r114 = CPyDict_SetItem(cpy_r_r112, cpy_r_r113, cpy_r_r111); CPy_DecRef(cpy_r_r111); cpy_r_r115 = cpy_r_r114 >= 0; @@ -45038,7 +45287,7 @@ CPyL45: ; cpy_r_r118 = cpy_r_r119; CPyL46: ; cpy_r_r120 = CPyStatic_constants___globals; - cpy_r_r121 = CPyStatics[533]; /* '__MULTICALL3_OVERRIDE_CODE' */ + cpy_r_r121 = CPyStatics[534]; /* '__MULTICALL3_OVERRIDE_CODE' */ cpy_r_r122 = CPyDict_GetItem(cpy_r_r120, cpy_r_r121); if (unlikely(cpy_r_r122 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 53, CPyStatic_constants___globals); @@ -45047,7 +45296,7 @@ CPyL46: ; CPyStatic_constants___MULTICALL3_OVERRIDE_CODE = cpy_r_r122; CPy_INCREF(CPyStatic_constants___MULTICALL3_OVERRIDE_CODE); cpy_r_r123 = CPyStatic_constants___globals; - cpy_r_r124 = CPyStatics[534]; /* 'MULTICALL3_OVERRIDE_CODE' */ + cpy_r_r124 = CPyStatics[535]; /* 'MULTICALL3_OVERRIDE_CODE' */ cpy_r_r125 = CPyDict_SetItem(cpy_r_r123, cpy_r_r124, cpy_r_r122); CPy_DECREF(cpy_r_r122); cpy_r_r126 = cpy_r_r125 >= 0; @@ -45075,13 +45324,13 @@ CPyL53: ; CPy_Unreachable(); CPyL55: ; cpy_r_r128 = CPyStatic_constants___globals; - cpy_r_r129 = CPyStatics[516]; /* 'Network' */ + cpy_r_r129 = CPyStatics[517]; /* 'Network' */ cpy_r_r130 = CPyDict_GetItem(cpy_r_r128, cpy_r_r129); if (unlikely(cpy_r_r130 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 56, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r131 = CPyStatics[535]; /* 'Mainnet' */ + cpy_r_r131 = CPyStatics[536]; /* 'Mainnet' */ cpy_r_r132 = CPyObject_GetAttr(cpy_r_r130, cpy_r_r131); CPy_DECREF(cpy_r_r130); if (unlikely(cpy_r_r132 == NULL)) { @@ -45089,13 +45338,13 @@ CPyL55: ; goto CPyL80; } cpy_r_r133 = CPyStatic_constants___globals; - cpy_r_r134 = CPyStatics[516]; /* 'Network' */ + cpy_r_r134 = CPyStatics[517]; /* 'Network' */ cpy_r_r135 = CPyDict_GetItem(cpy_r_r133, cpy_r_r134); if (unlikely(cpy_r_r135 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 57, CPyStatic_constants___globals); goto CPyL85; } - cpy_r_r136 = CPyStatics[536]; /* 'Fantom' */ + cpy_r_r136 = CPyStatics[537]; /* 'Fantom' */ cpy_r_r137 = CPyObject_GetAttr(cpy_r_r135, cpy_r_r136); CPy_DECREF(cpy_r_r135); if (unlikely(cpy_r_r137 == NULL)) { @@ -45103,13 +45352,13 @@ CPyL55: ; goto CPyL85; } cpy_r_r138 = CPyStatic_constants___globals; - cpy_r_r139 = CPyStatics[516]; /* 'Network' */ + cpy_r_r139 = CPyStatics[517]; /* 'Network' */ cpy_r_r140 = CPyDict_GetItem(cpy_r_r138, cpy_r_r139); if (unlikely(cpy_r_r140 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 58, CPyStatic_constants___globals); goto CPyL86; } - cpy_r_r141 = CPyStatics[537]; /* 'Arbitrum' */ + cpy_r_r141 = CPyStatics[538]; /* 'Arbitrum' */ cpy_r_r142 = CPyObject_GetAttr(cpy_r_r140, cpy_r_r141); CPy_DECREF(cpy_r_r140); if (unlikely(cpy_r_r142 == NULL)) { @@ -45117,23 +45366,23 @@ CPyL55: ; goto CPyL86; } cpy_r_r143 = CPyStatic_constants___globals; - cpy_r_r144 = CPyStatics[516]; /* 'Network' */ + cpy_r_r144 = CPyStatics[517]; /* 'Network' */ cpy_r_r145 = CPyDict_GetItem(cpy_r_r143, cpy_r_r144); if (unlikely(cpy_r_r145 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 59, CPyStatic_constants___globals); goto CPyL87; } - cpy_r_r146 = CPyStatics[538]; /* 'Optimism' */ + cpy_r_r146 = CPyStatics[539]; /* 'Optimism' */ cpy_r_r147 = CPyObject_GetAttr(cpy_r_r145, cpy_r_r146); CPy_DECREF(cpy_r_r145); if (unlikely(cpy_r_r147 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 59, CPyStatic_constants___globals); goto CPyL87; } - cpy_r_r148 = CPyStatics[616]; /* 12336033 */ - cpy_r_r149 = CPyStatics[617]; /* 16572242 */ - cpy_r_r150 = CPyStatics[618]; /* 821923 */ - cpy_r_r151 = CPyStatics[619]; /* 722566 */ + cpy_r_r148 = CPyStatics[617]; /* 12336033 */ + cpy_r_r149 = CPyStatics[618]; /* 16572242 */ + cpy_r_r150 = CPyStatics[619]; /* 821923 */ + cpy_r_r151 = CPyStatics[620]; /* 722566 */ cpy_r_r152 = CPyDict_Build(4, cpy_r_r132, cpy_r_r148, cpy_r_r137, cpy_r_r149, cpy_r_r142, cpy_r_r150, cpy_r_r147, cpy_r_r151); CPy_DECREF(cpy_r_r132); CPy_DECREF(cpy_r_r137); @@ -45146,7 +45395,7 @@ CPyL55: ; CPyStatic_constants___MULTICALL2_DEPLOY_BLOCKS = cpy_r_r152; CPy_INCREF(CPyStatic_constants___MULTICALL2_DEPLOY_BLOCKS); cpy_r_r153 = CPyStatic_constants___globals; - cpy_r_r154 = CPyStatics[539]; /* 'MULTICALL2_DEPLOY_BLOCKS' */ + cpy_r_r154 = CPyStatics[540]; /* 'MULTICALL2_DEPLOY_BLOCKS' */ cpy_r_r155 = CPyDict_SetItem(cpy_r_r153, cpy_r_r154, cpy_r_r152); CPy_DECREF(cpy_r_r152); cpy_r_r156 = cpy_r_r155 >= 0; @@ -45155,13 +45404,13 @@ CPyL55: ; goto CPyL80; } cpy_r_r157 = CPyStatic_constants___globals; - cpy_r_r158 = CPyStatics[516]; /* 'Network' */ + cpy_r_r158 = CPyStatics[517]; /* 'Network' */ cpy_r_r159 = CPyDict_GetItem(cpy_r_r157, cpy_r_r158); if (unlikely(cpy_r_r159 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 64, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r160 = CPyStatics[535]; /* 'Mainnet' */ + cpy_r_r160 = CPyStatics[536]; /* 'Mainnet' */ cpy_r_r161 = CPyObject_GetAttr(cpy_r_r159, cpy_r_r160); CPy_DECREF(cpy_r_r159); if (unlikely(cpy_r_r161 == NULL)) { @@ -45169,13 +45418,13 @@ CPyL55: ; goto CPyL80; } cpy_r_r162 = CPyStatic_constants___globals; - cpy_r_r163 = CPyStatics[516]; /* 'Network' */ + cpy_r_r163 = CPyStatics[517]; /* 'Network' */ cpy_r_r164 = CPyDict_GetItem(cpy_r_r162, cpy_r_r163); if (unlikely(cpy_r_r164 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 65, CPyStatic_constants___globals); goto CPyL88; } - cpy_r_r165 = CPyStatics[536]; /* 'Fantom' */ + cpy_r_r165 = CPyStatics[537]; /* 'Fantom' */ cpy_r_r166 = CPyObject_GetAttr(cpy_r_r164, cpy_r_r165); CPy_DECREF(cpy_r_r164); if (unlikely(cpy_r_r166 == NULL)) { @@ -45183,13 +45432,13 @@ CPyL55: ; goto CPyL88; } cpy_r_r167 = CPyStatic_constants___globals; - cpy_r_r168 = CPyStatics[516]; /* 'Network' */ + cpy_r_r168 = CPyStatics[517]; /* 'Network' */ cpy_r_r169 = CPyDict_GetItem(cpy_r_r167, cpy_r_r168); if (unlikely(cpy_r_r169 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 66, CPyStatic_constants___globals); goto CPyL89; } - cpy_r_r170 = CPyStatics[537]; /* 'Arbitrum' */ + cpy_r_r170 = CPyStatics[538]; /* 'Arbitrum' */ cpy_r_r171 = CPyObject_GetAttr(cpy_r_r169, cpy_r_r170); CPy_DECREF(cpy_r_r169); if (unlikely(cpy_r_r171 == NULL)) { @@ -45197,13 +45446,13 @@ CPyL55: ; goto CPyL89; } cpy_r_r172 = CPyStatic_constants___globals; - cpy_r_r173 = CPyStatics[516]; /* 'Network' */ + cpy_r_r173 = CPyStatics[517]; /* 'Network' */ cpy_r_r174 = CPyDict_GetItem(cpy_r_r172, cpy_r_r173); if (unlikely(cpy_r_r174 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 67, CPyStatic_constants___globals); goto CPyL90; } - cpy_r_r175 = CPyStatics[538]; /* 'Optimism' */ + cpy_r_r175 = CPyStatics[539]; /* 'Optimism' */ cpy_r_r176 = CPyObject_GetAttr(cpy_r_r174, cpy_r_r175); CPy_DECREF(cpy_r_r174); if (unlikely(cpy_r_r176 == NULL)) { @@ -45211,24 +45460,24 @@ CPyL55: ; goto CPyL90; } cpy_r_r177 = CPyStatic_constants___globals; - cpy_r_r178 = CPyStatics[516]; /* 'Network' */ + cpy_r_r178 = CPyStatics[517]; /* 'Network' */ cpy_r_r179 = CPyDict_GetItem(cpy_r_r177, cpy_r_r178); if (unlikely(cpy_r_r179 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 68, CPyStatic_constants___globals); goto CPyL91; } - cpy_r_r180 = CPyStatics[540]; /* 'Base' */ + cpy_r_r180 = CPyStatics[541]; /* 'Base' */ cpy_r_r181 = CPyObject_GetAttr(cpy_r_r179, cpy_r_r180); CPy_DECREF(cpy_r_r179); if (unlikely(cpy_r_r181 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 68, CPyStatic_constants___globals); goto CPyL91; } - cpy_r_r182 = CPyStatics[620]; /* 14353601 */ - cpy_r_r183 = CPyStatics[621]; /* 33001987 */ - cpy_r_r184 = CPyStatics[622]; /* 7654707 */ - cpy_r_r185 = CPyStatics[623]; /* 4286263 */ - cpy_r_r186 = CPyStatics[624]; /* 5022 */ + cpy_r_r182 = CPyStatics[621]; /* 14353601 */ + cpy_r_r183 = CPyStatics[622]; /* 33001987 */ + cpy_r_r184 = CPyStatics[623]; /* 7654707 */ + cpy_r_r185 = CPyStatics[624]; /* 4286263 */ + cpy_r_r186 = CPyStatics[625]; /* 5022 */ cpy_r_r187 = CPyDict_Build(5, cpy_r_r161, cpy_r_r182, cpy_r_r166, cpy_r_r183, cpy_r_r171, cpy_r_r184, cpy_r_r176, cpy_r_r185, cpy_r_r181, cpy_r_r186); CPy_DECREF(cpy_r_r161); CPy_DECREF(cpy_r_r166); @@ -45242,7 +45491,7 @@ CPyL55: ; CPyStatic_constants___MULTICALL3_DEPLOY_BLOCKS = cpy_r_r187; CPy_INCREF(CPyStatic_constants___MULTICALL3_DEPLOY_BLOCKS); cpy_r_r188 = CPyStatic_constants___globals; - cpy_r_r189 = CPyStatics[541]; /* 'MULTICALL3_DEPLOY_BLOCKS' */ + cpy_r_r189 = CPyStatics[542]; /* 'MULTICALL3_DEPLOY_BLOCKS' */ cpy_r_r190 = CPyDict_SetItem(cpy_r_r188, cpy_r_r189, cpy_r_r187); CPy_DECREF(cpy_r_r187); cpy_r_r191 = cpy_r_r190 >= 0; @@ -45250,16 +45499,16 @@ CPyL55: ; CPy_AddTraceback("dank_mids\\constants.py", "", 63, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r192 = CPyStatics[542]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000094e6f206163636573730000000000000000000000000000000000000000000000' */ - cpy_r_r193 = CPyStatics[543]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e6d696e7420697320706175736564000000000000000000000000000000000000' */ - cpy_r_r194 = CPyStatics[544]; /* '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000016496e76616c6964206574686572207472616e7366657200000000000000000000' */ - cpy_r_r195 = CPyStatics[545]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e4e4f4e5f454d5054595f44415441000000000000000000000000000000000000' */ - cpy_r_r196 = CPyStatics[546]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000246d73672e736967206973206e6f742061737369676e656420746f207375626d6f64756c6500000000000000000000000000000000000000000000000000000000' */ - cpy_r_r197 = CPyStatics[547]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000346f6e6c792077726170706564206e617469766520636f6e747261637420636f756c642073656e64206e617469766520746f6b656e000000000000000000000000' */ - cpy_r_r198 = CPyStatics[548]; /* '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000013434f4e54524f4c4c45525f52454a454354454400000000000000000000000000' */ - cpy_r_r199 = CPyStatics[549]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000204469616d6f6e643a2046756e6374696f6e20646f6573206e6f74206578697374' */ - cpy_r_r200 = CPyStatics[550]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a66756e6374696f6e2073686f756c6420626520616c6c6f776564000000000000' */ - cpy_r_r201 = CPyStatics[551]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001846756e6374696f6e20646f6573206e6f742065786973742e0000000000000000' */ + cpy_r_r192 = CPyStatics[543]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000094e6f206163636573730000000000000000000000000000000000000000000000' */ + cpy_r_r193 = CPyStatics[544]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e6d696e7420697320706175736564000000000000000000000000000000000000' */ + cpy_r_r194 = CPyStatics[545]; /* '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000016496e76616c6964206574686572207472616e7366657200000000000000000000' */ + cpy_r_r195 = CPyStatics[546]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e4e4f4e5f454d5054595f44415441000000000000000000000000000000000000' */ + cpy_r_r196 = CPyStatics[547]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000246d73672e736967206973206e6f742061737369676e656420746f207375626d6f64756c6500000000000000000000000000000000000000000000000000000000' */ + cpy_r_r197 = CPyStatics[548]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000346f6e6c792077726170706564206e617469766520636f6e747261637420636f756c642073656e64206e617469766520746f6b656e000000000000000000000000' */ + cpy_r_r198 = CPyStatics[549]; /* '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000013434f4e54524f4c4c45525f52454a454354454400000000000000000000000000' */ + cpy_r_r199 = CPyStatics[550]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000204469616d6f6e643a2046756e6374696f6e20646f6573206e6f74206578697374' */ + cpy_r_r200 = CPyStatics[551]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a66756e6374696f6e2073686f756c6420626520616c6c6f776564000000000000' */ + cpy_r_r201 = CPyStatics[552]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001846756e6374696f6e20646f6573206e6f742065786973742e0000000000000000' */ CPy_INCREF(cpy_r_r192); CPy_INCREF(cpy_r_r193); CPy_INCREF(cpy_r_r194); @@ -45292,7 +45541,7 @@ CPyL55: ; CPy_INCREF(CPyStatic_constants___BAD_HEXES.f8); CPy_INCREF(CPyStatic_constants___BAD_HEXES.f9); cpy_r_r203 = CPyStatic_constants___globals; - cpy_r_r204 = CPyStatics[552]; /* 'BAD_HEXES' */ + cpy_r_r204 = CPyStatics[553]; /* 'BAD_HEXES' */ cpy_r_r205 = PyTuple_New(10); if (unlikely(cpy_r_r205 == NULL)) CPyError_OutOfMemory(); @@ -45323,8 +45572,8 @@ CPyL55: ; CPy_AddTraceback("dank_mids\\constants.py", "", 75, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r208 = CPyStatics[603]; /* b'\x08\xc3y\xa0' */ - cpy_r_r209 = CPyStatics[604]; /* b'4e487b71' */ + cpy_r_r208 = CPyStatics[604]; /* b'\x08\xc3y\xa0' */ + cpy_r_r209 = CPyStatics[605]; /* b'4e487b71' */ CPy_INCREF(cpy_r_r208); CPy_INCREF(cpy_r_r209); cpy_r_r210.f0 = cpy_r_r208; @@ -45333,7 +45582,7 @@ CPyL55: ; CPy_INCREF(CPyStatic_constants___REVERT_SELECTORS.f0); CPy_INCREF(CPyStatic_constants___REVERT_SELECTORS.f1); cpy_r_r211 = CPyStatic_constants___globals; - cpy_r_r212 = CPyStatics[553]; /* 'REVERT_SELECTORS' */ + cpy_r_r212 = CPyStatics[554]; /* 'REVERT_SELECTORS' */ cpy_r_r213 = PyTuple_New(2); if (unlikely(cpy_r_r213 == NULL)) CPyError_OutOfMemory(); @@ -46116,7 +46365,7 @@ char CPyDef_ENVIRONMENT_VARIABLES_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[735]; /* ('StreamHandler',) */ + cpy_r_r5 = CPyStatics[736]; /* ('StreamHandler',) */ cpy_r_r6 = CPyStatics[119]; /* 'logging' */ cpy_r_r7 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -46127,7 +46376,7 @@ CPyL3: ; CPyModule_logging = cpy_r_r8; CPy_INCREF(CPyModule_logging); CPy_DECREF(cpy_r_r8); - cpy_r_r9 = CPyStatics[730]; /* ('Dict', 'Final') */ + cpy_r_r9 = CPyStatics[731]; /* ('Dict', 'Final') */ cpy_r_r10 = CPyStatics[7]; /* 'typing' */ cpy_r_r11 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); @@ -46144,14 +46393,14 @@ CPyL3: ; cpy_r_r16 = (void *)&cpy_r_r15; int64_t cpy_r_r17[2] = {5, 6}; cpy_r_r18 = (void *)&cpy_r_r17; - cpy_r_r19 = CPyStatics[737]; /* (('a_sync', 'a_sync', 'a_sync'), + cpy_r_r19 = CPyStatics[738]; /* (('a_sync', 'a_sync', 'a_sync'), ('typed_envs', 'typed_envs', 'typed_envs')) */ cpy_r_r20 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r21 = CPyStatics[555]; /* 'dank_mids\\ENVIRONMENT_VARIABLES.py' */ + cpy_r_r21 = CPyStatics[556]; /* 'dank_mids\\ENVIRONMENT_VARIABLES.py' */ cpy_r_r22 = CPyStatics[20]; /* '' */ cpy_r_r23 = CPyImport_ImportMany(cpy_r_r19, cpy_r_r16, cpy_r_r20, cpy_r_r21, cpy_r_r22, cpy_r_r18); if (!cpy_r_r23) goto CPyL333; - cpy_r_r24 = CPyStatics[680]; /* ('AsyncProcessPoolExecutor',) */ + cpy_r_r24 = CPyStatics[681]; /* ('AsyncProcessPoolExecutor',) */ cpy_r_r25 = CPyStatics[18]; /* 'a_sync' */ cpy_r_r26 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r27 = CPyImport_ImportFromMany(cpy_r_r25, cpy_r_r24, cpy_r_r24, cpy_r_r26); @@ -46162,7 +46411,7 @@ CPyL3: ; CPyModule_a_sync = cpy_r_r27; CPy_INCREF(CPyModule_a_sync); CPy_DECREF(cpy_r_r27); - cpy_r_r28 = CPyStatics[738]; /* ('_envs',) */ + cpy_r_r28 = CPyStatics[739]; /* ('_envs',) */ cpy_r_r29 = CPyStatics[9]; /* 'dank_mids' */ cpy_r_r30 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r31 = CPyImport_ImportFromMany(cpy_r_r29, cpy_r_r28, cpy_r_r28, cpy_r_r30); @@ -46173,7 +46422,7 @@ CPyL3: ; CPyModule_dank_mids = cpy_r_r31; CPy_INCREF(CPyModule_dank_mids); CPy_DECREF(cpy_r_r31); - cpy_r_r32 = CPyStatics[739]; /* ('INFO', 'getLogger') */ + cpy_r_r32 = CPyStatics[740]; /* ('INFO', 'getLogger') */ cpy_r_r33 = CPyStatics[11]; /* 'dank_mids._logging' */ cpy_r_r34 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r35 = CPyImport_ImportFromMany(cpy_r_r33, cpy_r_r32, cpy_r_r32, cpy_r_r34); @@ -46184,8 +46433,8 @@ CPyL3: ; CPyModule_dank_mids____logging = cpy_r_r35; CPy_INCREF(CPyModule_dank_mids____logging); CPy_DECREF(cpy_r_r35); - cpy_r_r36 = CPyStatics[740]; /* ('OperationMode',) */ - cpy_r_r37 = CPyStatics[558]; /* 'dank_mids._mode' */ + cpy_r_r36 = CPyStatics[741]; /* ('OperationMode',) */ + cpy_r_r37 = CPyStatics[559]; /* 'dank_mids._mode' */ cpy_r_r38 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r39 = CPyImport_ImportFromMany(cpy_r_r37, cpy_r_r36, cpy_r_r36, cpy_r_r38); if (unlikely(cpy_r_r39 == NULL)) { @@ -46195,7 +46444,7 @@ CPyL3: ; CPyModule_dank_mids____mode = cpy_r_r39; CPy_INCREF(CPyModule_dank_mids____mode); CPy_DECREF(cpy_r_r39); - cpy_r_r40 = CPyStatics[639]; /* ('BlockSemaphore',) */ + cpy_r_r40 = CPyStatics[640]; /* ('BlockSemaphore',) */ cpy_r_r41 = CPyStatics[24]; /* 'dank_mids.semaphores' */ cpy_r_r42 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r43 = CPyImport_ImportFromMany(cpy_r_r41, cpy_r_r40, cpy_r_r40, cpy_r_r42); @@ -46206,7 +46455,7 @@ CPyL3: ; CPyModule_dank_mids___semaphores = cpy_r_r43; CPy_INCREF(CPyModule_dank_mids___semaphores); CPy_DECREF(cpy_r_r43); - cpy_r_r44 = CPyStatics[559]; /* 'dank_mids.envs' */ + cpy_r_r44 = CPyStatics[560]; /* 'dank_mids.envs' */ cpy_r_r45 = CPyStatic__logging___getLogger; if (likely(cpy_r_r45 != NULL)) goto CPyL14; PyErr_SetString(PyExc_NameError, "value for final name \"getLogger\" was not set"); @@ -46249,7 +46498,7 @@ CPyL14: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 17, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r59 = CPyStatics[560]; /* 'disabled' */ + cpy_r_r59 = CPyStatics[561]; /* 'disabled' */ cpy_r_r60 = CPyObject_GetAttr(cpy_r_r58, cpy_r_r59); CPy_DECREF(cpy_r_r58); if (unlikely(cpy_r_r60 == NULL)) { @@ -46275,7 +46524,7 @@ CPyL14: ; } CPy_Unreachable(); CPyL24: ; - cpy_r_r66 = CPyStatics[561]; /* 'hasHandlers' */ + cpy_r_r66 = CPyStatics[562]; /* 'hasHandlers' */ cpy_r_r67 = CPyObject_CallMethodObjArgs(cpy_r_r64, cpy_r_r66, NULL); if (unlikely(cpy_r_r67 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 18, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -46302,7 +46551,7 @@ CPyL24: ; CPy_Unreachable(); CPyL30: ; cpy_r_r71 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r72 = CPyStatics[554]; /* 'StreamHandler' */ + cpy_r_r72 = CPyStatics[555]; /* 'StreamHandler' */ cpy_r_r73 = CPyDict_GetItem(cpy_r_r71, cpy_r_r72); if (unlikely(cpy_r_r73 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 19, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -46314,7 +46563,7 @@ CPyL30: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 19, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r75 = CPyStatics[562]; /* 'addHandler' */ + cpy_r_r75 = CPyStatics[563]; /* 'addHandler' */ cpy_r_r76 = CPyObject_CallMethodObjArgs(cpy_r_r69, cpy_r_r75, cpy_r_r74, NULL); CPy_DECREF(cpy_r_r74); if (unlikely(cpy_r_r76 == NULL)) { @@ -46343,7 +46592,7 @@ CPyL36: ; } CPy_Unreachable(); CPyL39: ; - cpy_r_r81 = CPyStatics[563]; /* 'isEnabledFor' */ + cpy_r_r81 = CPyStatics[564]; /* 'isEnabledFor' */ CPyTagged_INCREF(cpy_r_r79); cpy_r_r82 = CPyTagged_StealAsObject(cpy_r_r79); cpy_r_r83 = CPyObject_CallMethodObjArgs(cpy_r_r77, cpy_r_r81, cpy_r_r82, NULL); @@ -46382,7 +46631,7 @@ CPyL45: ; } CPy_Unreachable(); CPyL48: ; - cpy_r_r89 = CPyStatics[564]; /* 'setLevel' */ + cpy_r_r89 = CPyStatics[565]; /* 'setLevel' */ CPyTagged_INCREF(cpy_r_r87); cpy_r_r90 = CPyTagged_StealAsObject(cpy_r_r87); cpy_r_r91 = CPyObject_CallMethodObjArgs(cpy_r_r85, cpy_r_r89, cpy_r_r90, NULL); @@ -46403,9 +46652,9 @@ CPyL49: ; } CPy_Unreachable(); CPyL52: ; - cpy_r_r94 = CPyStatics[565]; /* ('For your information, you can tweak your configuration ' + cpy_r_r94 = CPyStatics[566]; /* ('For your information, you can tweak your configuration ' 'for optimal performance using any of the envs below:') */ - cpy_r_r95 = CPyStatics[566]; /* 'info' */ + cpy_r_r95 = CPyStatics[567]; /* 'info' */ cpy_r_r96 = CPyObject_CallMethodObjArgs(cpy_r_r92, cpy_r_r95, cpy_r_r94, NULL); if (unlikely(cpy_r_r96 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 22, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -46415,13 +46664,13 @@ CPyL52: ; CPyL53: ; cpy_r_r97 = CPyStatics[319]; /* 'OPERATION_MODE' */ cpy_r_r98 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r99 = CPyStatics[557]; /* 'OperationMode' */ + cpy_r_r99 = CPyStatics[558]; /* 'OperationMode' */ cpy_r_r100 = CPyDict_GetItem(cpy_r_r98, cpy_r_r99); if (unlikely(cpy_r_r100 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 35, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r101 = CPyStatics[567]; /* 'infura' */ + cpy_r_r101 = CPyStatics[568]; /* 'infura' */ cpy_r_r102 = CPyStatic__envs___create_env; if (unlikely(cpy_r_r102 == NULL)) { goto CPyL337; @@ -46439,7 +46688,7 @@ CPyL57: ; cpy_r_r104 = 0 ? Py_True : Py_False; PyObject *cpy_r_r105[4] = {cpy_r_r97, cpy_r_r100, cpy_r_r101, cpy_r_r104}; cpy_r_r106 = (PyObject **)&cpy_r_r105; - cpy_r_r107 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r107 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r108 = _PyObject_Vectorcall(cpy_r_r102, cpy_r_r106, 2, cpy_r_r107); if (unlikely(cpy_r_r108 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 34, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -46457,7 +46706,7 @@ CPyL57: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 34, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r113 = CPyStatics[570]; /* 'MAX_MULTICALL_SIZE' */ + cpy_r_r113 = CPyStatics[571]; /* 'MAX_MULTICALL_SIZE' */ cpy_r_r114 = (PyObject *)&PyLong_Type; cpy_r_r115 = CPyStatic__envs___create_env; if (likely(cpy_r_r115 != NULL)) goto CPyL62; @@ -46469,10 +46718,10 @@ CPyL57: ; } CPy_Unreachable(); CPyL62: ; - cpy_r_r117 = CPyStatics[625]; /* 10000 */ + cpy_r_r117 = CPyStatics[626]; /* 10000 */ PyObject *cpy_r_r118[3] = {cpy_r_r113, cpy_r_r114, cpy_r_r117}; cpy_r_r119 = (PyObject **)&cpy_r_r118; - cpy_r_r120 = CPyStatics[742]; /* ('default',) */ + cpy_r_r120 = CPyStatics[743]; /* ('default',) */ cpy_r_r121 = _PyObject_Vectorcall(cpy_r_r115, cpy_r_r119, 2, cpy_r_r120); if (unlikely(cpy_r_r121 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 39, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -46481,7 +46730,7 @@ CPyL62: ; CPyStatic_ENVIRONMENT_VARIABLES___MAX_MULTICALL_SIZE = cpy_r_r121; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___MAX_MULTICALL_SIZE); cpy_r_r122 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r123 = CPyStatics[570]; /* 'MAX_MULTICALL_SIZE' */ + cpy_r_r123 = CPyStatics[571]; /* 'MAX_MULTICALL_SIZE' */ cpy_r_r124 = CPyDict_SetItem(cpy_r_r122, cpy_r_r123, cpy_r_r121); CPy_DECREF(cpy_r_r121); cpy_r_r125 = cpy_r_r124 >= 0; @@ -46489,7 +46738,7 @@ CPyL62: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 39, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r126 = CPyStatics[571]; /* 'MAX_JSONRPC_BATCH_SIZE' */ + cpy_r_r126 = CPyStatics[572]; /* 'MAX_JSONRPC_BATCH_SIZE' */ cpy_r_r127 = (PyObject *)&PyLong_Type; cpy_r_r128 = CPyStatic__envs___create_env; if (likely(cpy_r_r128 != NULL)) goto CPyL67; @@ -46501,10 +46750,10 @@ CPyL62: ; } CPy_Unreachable(); CPyL67: ; - cpy_r_r130 = CPyStatics[626]; /* 500 */ + cpy_r_r130 = CPyStatics[627]; /* 500 */ PyObject *cpy_r_r131[3] = {cpy_r_r126, cpy_r_r127, cpy_r_r130}; cpy_r_r132 = (PyObject **)&cpy_r_r131; - cpy_r_r133 = CPyStatics[742]; /* ('default',) */ + cpy_r_r133 = CPyStatics[743]; /* ('default',) */ cpy_r_r134 = _PyObject_Vectorcall(cpy_r_r128, cpy_r_r132, 2, cpy_r_r133); if (unlikely(cpy_r_r134 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 41, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -46513,7 +46762,7 @@ CPyL67: ; CPyStatic_ENVIRONMENT_VARIABLES___MAX_JSONRPC_BATCH_SIZE = cpy_r_r134; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___MAX_JSONRPC_BATCH_SIZE); cpy_r_r135 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r136 = CPyStatics[571]; /* 'MAX_JSONRPC_BATCH_SIZE' */ + cpy_r_r136 = CPyStatics[572]; /* 'MAX_JSONRPC_BATCH_SIZE' */ cpy_r_r137 = CPyDict_SetItem(cpy_r_r135, cpy_r_r136, cpy_r_r134); CPy_DECREF(cpy_r_r134); cpy_r_r138 = cpy_r_r137 >= 0; @@ -46521,7 +46770,7 @@ CPyL67: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 41, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r139 = CPyStatics[572]; /* 'REQUESTS_PER_SECOND' */ + cpy_r_r139 = CPyStatics[573]; /* 'REQUESTS_PER_SECOND' */ cpy_r_r140 = (PyObject *)&PyLong_Type; cpy_r_r141 = CPyStatic__envs___create_env; if (likely(cpy_r_r141 != NULL)) goto CPyL72; @@ -46533,10 +46782,10 @@ CPyL67: ; } CPy_Unreachable(); CPyL72: ; - cpy_r_r143 = CPyStatics[607]; /* 50 */ + cpy_r_r143 = CPyStatics[608]; /* 50 */ PyObject *cpy_r_r144[3] = {cpy_r_r139, cpy_r_r140, cpy_r_r143}; cpy_r_r145 = (PyObject **)&cpy_r_r144; - cpy_r_r146 = CPyStatics[742]; /* ('default',) */ + cpy_r_r146 = CPyStatics[743]; /* ('default',) */ cpy_r_r147 = _PyObject_Vectorcall(cpy_r_r141, cpy_r_r145, 2, cpy_r_r146); if (unlikely(cpy_r_r147 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 43, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -46545,7 +46794,7 @@ CPyL72: ; CPyStatic_ENVIRONMENT_VARIABLES___REQUESTS_PER_SECOND = cpy_r_r147; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___REQUESTS_PER_SECOND); cpy_r_r148 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r149 = CPyStatics[572]; /* 'REQUESTS_PER_SECOND' */ + cpy_r_r149 = CPyStatics[573]; /* 'REQUESTS_PER_SECOND' */ cpy_r_r150 = CPyDict_SetItem(cpy_r_r148, cpy_r_r149, cpy_r_r147); CPy_DECREF(cpy_r_r147); cpy_r_r151 = cpy_r_r150 >= 0; @@ -46553,7 +46802,7 @@ CPyL72: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 43, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r152 = CPyStatics[573]; /* 'MIN_REQUESTS_PER_SECOND' */ + cpy_r_r152 = CPyStatics[574]; /* 'MIN_REQUESTS_PER_SECOND' */ cpy_r_r153 = (PyObject *)&PyLong_Type; cpy_r_r154 = CPyStatic__envs___create_env; if (likely(cpy_r_r154 != NULL)) goto CPyL77; @@ -46565,10 +46814,10 @@ CPyL72: ; } CPy_Unreachable(); CPyL77: ; - cpy_r_r156 = CPyStatics[611]; /* 10 */ + cpy_r_r156 = CPyStatics[612]; /* 10 */ PyObject *cpy_r_r157[3] = {cpy_r_r152, cpy_r_r153, cpy_r_r156}; cpy_r_r158 = (PyObject **)&cpy_r_r157; - cpy_r_r159 = CPyStatics[742]; /* ('default',) */ + cpy_r_r159 = CPyStatics[743]; /* ('default',) */ cpy_r_r160 = _PyObject_Vectorcall(cpy_r_r154, cpy_r_r158, 2, cpy_r_r159); if (unlikely(cpy_r_r160 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 45, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -46577,7 +46826,7 @@ CPyL77: ; CPyStatic_ENVIRONMENT_VARIABLES___MIN_REQUESTS_PER_SECOND = cpy_r_r160; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___MIN_REQUESTS_PER_SECOND); cpy_r_r161 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r162 = CPyStatics[573]; /* 'MIN_REQUESTS_PER_SECOND' */ + cpy_r_r162 = CPyStatics[574]; /* 'MIN_REQUESTS_PER_SECOND' */ cpy_r_r163 = CPyDict_SetItem(cpy_r_r161, cpy_r_r162, cpy_r_r160); CPy_DECREF(cpy_r_r160); cpy_r_r164 = cpy_r_r163 >= 0; @@ -46595,7 +46844,7 @@ CPyL77: ; } CPy_Unreachable(); CPyL82: ; - cpy_r_r167 = CPyStatics[574]; /* 'DEMO_MODE' */ + cpy_r_r167 = CPyStatics[575]; /* 'DEMO_MODE' */ cpy_r_r168 = (PyObject *)&PyBool_Type; cpy_r_r169 = CPyStatics[30]; /* 'create_env' */ cpy_r_r170 = CPyObject_GetAttr(cpy_r_r165, cpy_r_r169); @@ -46607,7 +46856,7 @@ CPyL82: ; cpy_r_r172 = 0 ? Py_True : Py_False; PyObject *cpy_r_r173[4] = {cpy_r_r167, cpy_r_r168, cpy_r_r171, cpy_r_r172}; cpy_r_r174 = (PyObject **)&cpy_r_r173; - cpy_r_r175 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r175 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r176 = _PyObject_Vectorcall(cpy_r_r170, cpy_r_r174, 2, cpy_r_r175); CPy_DECREF(cpy_r_r170); if (unlikely(cpy_r_r176 == NULL)) { @@ -46617,7 +46866,7 @@ CPyL82: ; CPyStatic_ENVIRONMENT_VARIABLES___demo_mode = cpy_r_r176; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___demo_mode); cpy_r_r177 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r178 = CPyStatics[575]; /* 'demo_mode' */ + cpy_r_r178 = CPyStatics[576]; /* 'demo_mode' */ cpy_r_r179 = CPyDict_SetItem(cpy_r_r177, cpy_r_r178, cpy_r_r176); CPy_DECREF(cpy_r_r176); cpy_r_r180 = cpy_r_r179 >= 0; @@ -46625,7 +46874,7 @@ CPyL82: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 48, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r181 = CPyStatics[574]; /* 'DEMO_MODE' */ + cpy_r_r181 = CPyStatics[575]; /* 'DEMO_MODE' */ cpy_r_r182 = (PyObject *)&PyBool_Type; cpy_r_r183 = CPyStatic_ENVIRONMENT_VARIABLES___demo_mode; if (likely(cpy_r_r183 != NULL)) goto CPyL88; @@ -46658,7 +46907,7 @@ CPyL92: ; cpy_r_r191 = 0 ? Py_True : Py_False; PyObject *cpy_r_r192[4] = {cpy_r_r181, cpy_r_r182, cpy_r_r190, cpy_r_r191}; cpy_r_r193 = (PyObject **)&cpy_r_r192; - cpy_r_r194 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r194 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r195 = _PyObject_Vectorcall(cpy_r_r188, cpy_r_r193, 2, cpy_r_r194); if (unlikely(cpy_r_r195 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 51, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -46667,7 +46916,7 @@ CPyL92: ; CPyStatic_ENVIRONMENT_VARIABLES___DEMO_MODE = cpy_r_r195; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___DEMO_MODE); cpy_r_r196 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r197 = CPyStatics[574]; /* 'DEMO_MODE' */ + cpy_r_r197 = CPyStatics[575]; /* 'DEMO_MODE' */ cpy_r_r198 = CPyDict_SetItem(cpy_r_r196, cpy_r_r197, cpy_r_r195); CPy_DECREF(cpy_r_r195); cpy_r_r199 = cpy_r_r198 >= 0; @@ -46685,7 +46934,7 @@ CPyL92: ; } CPy_Unreachable(); CPyL97: ; - cpy_r_r202 = CPyStatics[576]; /* 'GANACHE_FORK' */ + cpy_r_r202 = CPyStatics[577]; /* 'GANACHE_FORK' */ cpy_r_r203 = (PyObject *)&PyBool_Type; cpy_r_r204 = CPyStatics[30]; /* 'create_env' */ cpy_r_r205 = CPyObject_GetAttr(cpy_r_r200, cpy_r_r204); @@ -46697,7 +46946,7 @@ CPyL97: ; cpy_r_r207 = 0 ? Py_True : Py_False; PyObject *cpy_r_r208[4] = {cpy_r_r202, cpy_r_r203, cpy_r_r206, cpy_r_r207}; cpy_r_r209 = (PyObject **)&cpy_r_r208; - cpy_r_r210 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r210 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r211 = _PyObject_Vectorcall(cpy_r_r205, cpy_r_r209, 2, cpy_r_r210); CPy_DECREF(cpy_r_r205); if (unlikely(cpy_r_r211 == NULL)) { @@ -46707,7 +46956,7 @@ CPyL97: ; CPyStatic_ENVIRONMENT_VARIABLES___ganache_fork = cpy_r_r211; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___ganache_fork); cpy_r_r212 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r213 = CPyStatics[577]; /* 'ganache_fork' */ + cpy_r_r213 = CPyStatics[578]; /* 'ganache_fork' */ cpy_r_r214 = CPyDict_SetItem(cpy_r_r212, cpy_r_r213, cpy_r_r211); CPy_DECREF(cpy_r_r211); cpy_r_r215 = cpy_r_r214 >= 0; @@ -46715,7 +46964,7 @@ CPyL97: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 54, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r216 = CPyStatics[576]; /* 'GANACHE_FORK' */ + cpy_r_r216 = CPyStatics[577]; /* 'GANACHE_FORK' */ cpy_r_r217 = (PyObject *)&PyBool_Type; cpy_r_r218 = CPyStatic_ENVIRONMENT_VARIABLES___ganache_fork; if (likely(cpy_r_r218 != NULL)) goto CPyL103; @@ -46747,7 +46996,7 @@ CPyL107: ; cpy_r_r225 = cpy_r_r222 ? Py_True : Py_False; PyObject *cpy_r_r226[3] = {cpy_r_r216, cpy_r_r217, cpy_r_r225}; cpy_r_r227 = (PyObject **)&cpy_r_r226; - cpy_r_r228 = CPyStatics[742]; /* ('default',) */ + cpy_r_r228 = CPyStatics[743]; /* ('default',) */ cpy_r_r229 = _PyObject_Vectorcall(cpy_r_r223, cpy_r_r227, 2, cpy_r_r228); if (unlikely(cpy_r_r229 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 57, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -46756,7 +47005,7 @@ CPyL107: ; CPyStatic_ENVIRONMENT_VARIABLES___GANACHE_FORK = cpy_r_r229; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___GANACHE_FORK); cpy_r_r230 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r231 = CPyStatics[576]; /* 'GANACHE_FORK' */ + cpy_r_r231 = CPyStatics[577]; /* 'GANACHE_FORK' */ cpy_r_r232 = CPyDict_SetItem(cpy_r_r230, cpy_r_r231, cpy_r_r229); CPy_DECREF(cpy_r_r229); cpy_r_r233 = cpy_r_r232 >= 0; @@ -46764,7 +47013,7 @@ CPyL107: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 57, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r234 = CPyStatics[578]; /* 'AIOHTTP_TIMEOUT' */ + cpy_r_r234 = CPyStatics[579]; /* 'AIOHTTP_TIMEOUT' */ cpy_r_r235 = (PyObject *)&PyLong_Type; cpy_r_r236 = CPyStatic__envs___create_env; if (likely(cpy_r_r236 != NULL)) goto CPyL112; @@ -46776,10 +47025,10 @@ CPyL107: ; } CPy_Unreachable(); CPyL112: ; - cpy_r_r238 = CPyStatics[627]; /* 1200 */ + cpy_r_r238 = CPyStatics[628]; /* 1200 */ PyObject *cpy_r_r239[3] = {cpy_r_r234, cpy_r_r235, cpy_r_r238}; cpy_r_r240 = (PyObject **)&cpy_r_r239; - cpy_r_r241 = CPyStatics[742]; /* ('default',) */ + cpy_r_r241 = CPyStatics[743]; /* ('default',) */ cpy_r_r242 = _PyObject_Vectorcall(cpy_r_r236, cpy_r_r240, 2, cpy_r_r241); if (unlikely(cpy_r_r242 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 61, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -46788,7 +47037,7 @@ CPyL112: ; CPyStatic_ENVIRONMENT_VARIABLES___AIOHTTP_TIMEOUT = cpy_r_r242; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___AIOHTTP_TIMEOUT); cpy_r_r243 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r244 = CPyStatics[578]; /* 'AIOHTTP_TIMEOUT' */ + cpy_r_r244 = CPyStatics[579]; /* 'AIOHTTP_TIMEOUT' */ cpy_r_r245 = CPyDict_SetItem(cpy_r_r243, cpy_r_r244, cpy_r_r242); CPy_DECREF(cpy_r_r242); cpy_r_r246 = cpy_r_r245 >= 0; @@ -46814,11 +47063,11 @@ CPyL117: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 67, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r253 = CPyStatics[628]; /* 100000 */ + cpy_r_r253 = CPyStatics[629]; /* 100000 */ cpy_r_r254 = 0 ? Py_True : Py_False; PyObject *cpy_r_r255[4] = {cpy_r_r249, cpy_r_r250, cpy_r_r253, cpy_r_r254}; cpy_r_r256 = (PyObject **)&cpy_r_r255; - cpy_r_r257 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r257 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r258 = _PyObject_Vectorcall(cpy_r_r252, cpy_r_r256, 2, cpy_r_r257); CPy_DECREF(cpy_r_r252); if (unlikely(cpy_r_r258 == NULL)) { @@ -46828,7 +47077,7 @@ CPyL117: ; CPyStatic_ENVIRONMENT_VARIABLES___brownie_semaphore = cpy_r_r258; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___brownie_semaphore); cpy_r_r259 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r260 = CPyStatics[579]; /* 'brownie_semaphore' */ + cpy_r_r260 = CPyStatics[580]; /* 'brownie_semaphore' */ cpy_r_r261 = CPyDict_SetItem(cpy_r_r259, cpy_r_r260, cpy_r_r258); CPy_DECREF(cpy_r_r258); cpy_r_r262 = cpy_r_r261 >= 0; @@ -46872,7 +47121,7 @@ CPyL125: ; } CPy_Unreachable(); CPyL127: ; - cpy_r_r271 = CPyStatics[567]; /* 'infura' */ + cpy_r_r271 = CPyStatics[568]; /* 'infura' */ cpy_r_r272 = CPyObject_GetAttr(cpy_r_r269, cpy_r_r271); if (unlikely(cpy_r_r272 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 74, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -46903,7 +47152,7 @@ CPyL132: ; cpy_r_r278 = cpy_r_r275 ? Py_True : Py_False; PyObject *cpy_r_r279[4] = {cpy_r_r263, cpy_r_r266, cpy_r_r267, cpy_r_r278}; cpy_r_r280 = (PyObject **)&cpy_r_r279; - cpy_r_r281 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r281 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r282 = _PyObject_Vectorcall(cpy_r_r276, cpy_r_r280, 2, cpy_r_r281); if (unlikely(cpy_r_r282 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 70, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -46943,13 +47192,13 @@ CPyL136: ; } CPy_Unreachable(); CPyL138: ; - cpy_r_r293 = CPyStatics[580]; /* '_default_value' */ + cpy_r_r293 = CPyStatics[581]; /* '_default_value' */ cpy_r_r294 = CPyObject_GetAttr(cpy_r_r291, cpy_r_r293); if (unlikely(cpy_r_r294 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 86, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL344; } - cpy_r_r295 = CPyStatics[605]; /* 2 */ + cpy_r_r295 = CPyStatics[606]; /* 2 */ cpy_r_r296 = PyNumber_Multiply(cpy_r_r294, cpy_r_r295); CPy_DECREF(cpy_r_r294); if (unlikely(cpy_r_r296 == NULL)) { @@ -46970,7 +47219,7 @@ CPyL141: ; } CPy_Unreachable(); CPyL143: ; - cpy_r_r299 = CPyStatics[567]; /* 'infura' */ + cpy_r_r299 = CPyStatics[568]; /* 'infura' */ cpy_r_r300 = CPyObject_GetAttr(cpy_r_r297, cpy_r_r299); if (unlikely(cpy_r_r300 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 87, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47001,7 +47250,7 @@ CPyL148: ; cpy_r_r306 = cpy_r_r303 ? Py_True : Py_False; PyObject *cpy_r_r307[4] = {cpy_r_r287, cpy_r_r290, cpy_r_r296, cpy_r_r306}; cpy_r_r308 = (PyObject **)&cpy_r_r307; - cpy_r_r309 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r309 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r310 = _PyObject_Vectorcall(cpy_r_r304, cpy_r_r308, 2, cpy_r_r309); if (unlikely(cpy_r_r310 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 83, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47042,7 +47291,7 @@ CPyL152: ; } CPy_Unreachable(); CPyL154: ; - cpy_r_r321 = CPyStatics[567]; /* 'infura' */ + cpy_r_r321 = CPyStatics[568]; /* 'infura' */ cpy_r_r322 = CPyObject_GetAttr(cpy_r_r319, cpy_r_r321); if (unlikely(cpy_r_r322 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 102, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47076,7 +47325,7 @@ CPyL160: ; } CPy_Unreachable(); CPyL162: ; - cpy_r_r329 = CPyStatics[567]; /* 'infura' */ + cpy_r_r329 = CPyStatics[568]; /* 'infura' */ cpy_r_r330 = CPyObject_GetAttr(cpy_r_r327, cpy_r_r329); if (unlikely(cpy_r_r330 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 103, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47108,7 +47357,7 @@ CPyL167: ; cpy_r_r337 = cpy_r_r333 ? Py_True : Py_False; PyObject *cpy_r_r338[4] = {cpy_r_r315, cpy_r_r318, cpy_r_r336, cpy_r_r337}; cpy_r_r339 = (PyObject **)&cpy_r_r338; - cpy_r_r340 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r340 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r341 = _PyObject_Vectorcall(cpy_r_r334, cpy_r_r339, 2, cpy_r_r340); if (unlikely(cpy_r_r341 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 99, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47147,7 +47396,7 @@ CPyL171: ; } CPy_Unreachable(); CPyL173: ; - cpy_r_r352 = CPyStatics[567]; /* 'infura' */ + cpy_r_r352 = CPyStatics[568]; /* 'infura' */ cpy_r_r353 = CPyObject_GetAttr(cpy_r_r350, cpy_r_r352); if (unlikely(cpy_r_r353 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 115, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47181,7 +47430,7 @@ CPyL179: ; } CPy_Unreachable(); CPyL181: ; - cpy_r_r360 = CPyStatics[567]; /* 'infura' */ + cpy_r_r360 = CPyStatics[568]; /* 'infura' */ cpy_r_r361 = CPyObject_GetAttr(cpy_r_r358, cpy_r_r360); if (unlikely(cpy_r_r361 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 116, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47213,7 +47462,7 @@ CPyL186: ; cpy_r_r368 = cpy_r_r364 ? Py_True : Py_False; PyObject *cpy_r_r369[4] = {cpy_r_r346, cpy_r_r349, cpy_r_r367, cpy_r_r368}; cpy_r_r370 = (PyObject **)&cpy_r_r369; - cpy_r_r371 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r371 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r372 = _PyObject_Vectorcall(cpy_r_r365, cpy_r_r370, 2, cpy_r_r371); if (unlikely(cpy_r_r372 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 112, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47230,7 +47479,7 @@ CPyL186: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 112, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r377 = CPyStatics[581]; /* 'MULTICALL_DECODER_PROCESSES' */ + cpy_r_r377 = CPyStatics[582]; /* 'MULTICALL_DECODER_PROCESSES' */ cpy_r_r378 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r379 = CPyStatics[243]; /* 'AsyncProcessPoolExecutor' */ cpy_r_r380 = CPyDict_GetItem(cpy_r_r378, cpy_r_r379); @@ -47252,7 +47501,7 @@ CPyL190: ; } CPy_Unreachable(); CPyL192: ; - cpy_r_r383 = CPyStatics[567]; /* 'infura' */ + cpy_r_r383 = CPyStatics[568]; /* 'infura' */ cpy_r_r384 = CPyObject_GetAttr(cpy_r_r381, cpy_r_r383); if (unlikely(cpy_r_r384 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 128, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47286,7 +47535,7 @@ CPyL198: ; } CPy_Unreachable(); CPyL200: ; - cpy_r_r391 = CPyStatics[567]; /* 'infura' */ + cpy_r_r391 = CPyStatics[568]; /* 'infura' */ cpy_r_r392 = CPyObject_GetAttr(cpy_r_r389, cpy_r_r391); if (unlikely(cpy_r_r392 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 129, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47318,7 +47567,7 @@ CPyL205: ; cpy_r_r399 = cpy_r_r395 ? Py_True : Py_False; PyObject *cpy_r_r400[4] = {cpy_r_r377, cpy_r_r380, cpy_r_r398, cpy_r_r399}; cpy_r_r401 = (PyObject **)&cpy_r_r400; - cpy_r_r402 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r402 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r403 = _PyObject_Vectorcall(cpy_r_r396, cpy_r_r401, 2, cpy_r_r402); if (unlikely(cpy_r_r403 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 125, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47327,7 +47576,7 @@ CPyL205: ; CPy_DECREF(cpy_r_r380); CPy_DECREF(cpy_r_r398); cpy_r_r404 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r405 = CPyStatics[581]; /* 'MULTICALL_DECODER_PROCESSES' */ + cpy_r_r405 = CPyStatics[582]; /* 'MULTICALL_DECODER_PROCESSES' */ cpy_r_r406 = CPyDict_SetItem(cpy_r_r404, cpy_r_r405, cpy_r_r403); CPy_DECREF(cpy_r_r403); cpy_r_r407 = cpy_r_r406 >= 0; @@ -47335,7 +47584,7 @@ CPyL205: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 125, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r408 = CPyStatics[582]; /* 'COLLECTION_FACTOR' */ + cpy_r_r408 = CPyStatics[583]; /* 'COLLECTION_FACTOR' */ cpy_r_r409 = (PyObject *)&PyLong_Type; cpy_r_r410 = CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; if (likely(cpy_r_r410 != NULL)) goto CPyL210; @@ -47347,7 +47596,7 @@ CPyL205: ; } CPy_Unreachable(); CPyL210: ; - cpy_r_r412 = CPyStatics[567]; /* 'infura' */ + cpy_r_r412 = CPyStatics[568]; /* 'infura' */ cpy_r_r413 = CPyObject_GetAttr(cpy_r_r410, cpy_r_r412); if (unlikely(cpy_r_r413 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 141, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47381,7 +47630,7 @@ CPyL216: ; } CPy_Unreachable(); CPyL218: ; - cpy_r_r420 = CPyStatics[567]; /* 'infura' */ + cpy_r_r420 = CPyStatics[568]; /* 'infura' */ cpy_r_r421 = CPyObject_GetAttr(cpy_r_r418, cpy_r_r420); if (unlikely(cpy_r_r421 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 142, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47413,7 +47662,7 @@ CPyL223: ; cpy_r_r428 = cpy_r_r424 ? Py_True : Py_False; PyObject *cpy_r_r429[4] = {cpy_r_r408, cpy_r_r409, cpy_r_r427, cpy_r_r428}; cpy_r_r430 = (PyObject **)&cpy_r_r429; - cpy_r_r431 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r431 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r432 = _PyObject_Vectorcall(cpy_r_r425, cpy_r_r430, 2, cpy_r_r431); if (unlikely(cpy_r_r432 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 138, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47423,7 +47672,7 @@ CPyL223: ; CPyStatic_ENVIRONMENT_VARIABLES___COLLECTION_FACTOR = cpy_r_r432; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___COLLECTION_FACTOR); cpy_r_r433 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r434 = CPyStatics[582]; /* 'COLLECTION_FACTOR' */ + cpy_r_r434 = CPyStatics[583]; /* 'COLLECTION_FACTOR' */ cpy_r_r435 = CPyDict_SetItem(cpy_r_r433, cpy_r_r434, cpy_r_r432); CPy_DECREF(cpy_r_r432); cpy_r_r436 = cpy_r_r435 >= 0; @@ -47431,7 +47680,7 @@ CPyL223: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 138, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r437 = CPyStatics[583]; /* 'USE_FULL_REQUEST' */ + cpy_r_r437 = CPyStatics[584]; /* 'USE_FULL_REQUEST' */ cpy_r_r438 = (PyObject *)&PyBool_Type; cpy_r_r439 = CPyStatic__envs___create_env; if (likely(cpy_r_r439 != NULL)) goto CPyL228; @@ -47447,7 +47696,7 @@ CPyL228: ; cpy_r_r442 = 0 ? Py_True : Py_False; PyObject *cpy_r_r443[4] = {cpy_r_r437, cpy_r_r438, cpy_r_r441, cpy_r_r442}; cpy_r_r444 = (PyObject **)&cpy_r_r443; - cpy_r_r445 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r445 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r446 = _PyObject_Vectorcall(cpy_r_r439, cpy_r_r444, 2, cpy_r_r445); if (unlikely(cpy_r_r446 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 148, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47456,7 +47705,7 @@ CPyL228: ; CPyStatic_ENVIRONMENT_VARIABLES___USE_FULL_REQUEST = cpy_r_r446; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___USE_FULL_REQUEST); cpy_r_r447 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r448 = CPyStatics[583]; /* 'USE_FULL_REQUEST' */ + cpy_r_r448 = CPyStatics[584]; /* 'USE_FULL_REQUEST' */ cpy_r_r449 = CPyDict_SetItem(cpy_r_r447, cpy_r_r448, cpy_r_r446); CPy_DECREF(cpy_r_r446); cpy_r_r450 = cpy_r_r449 >= 0; @@ -47480,7 +47729,7 @@ CPyL233: ; cpy_r_r456 = 0 ? Py_True : Py_False; PyObject *cpy_r_r457[4] = {cpy_r_r451, cpy_r_r452, cpy_r_r455, cpy_r_r456}; cpy_r_r458 = (PyObject **)&cpy_r_r457; - cpy_r_r459 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r459 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r460 = _PyObject_Vectorcall(cpy_r_r453, cpy_r_r458, 2, cpy_r_r459); if (unlikely(cpy_r_r460 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 151, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47497,7 +47746,7 @@ CPyL233: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 151, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r465 = CPyStatics[584]; /* 'EXPORT_STATS' */ + cpy_r_r465 = CPyStatics[585]; /* 'EXPORT_STATS' */ cpy_r_r466 = (PyObject *)&PyBool_Type; cpy_r_r467 = CPyStatic__envs___create_env; if (likely(cpy_r_r467 != NULL)) goto CPyL238; @@ -47513,7 +47762,7 @@ CPyL238: ; cpy_r_r470 = 0 ? Py_True : Py_False; PyObject *cpy_r_r471[4] = {cpy_r_r465, cpy_r_r466, cpy_r_r469, cpy_r_r470}; cpy_r_r472 = (PyObject **)&cpy_r_r471; - cpy_r_r473 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r473 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r474 = _PyObject_Vectorcall(cpy_r_r467, cpy_r_r472, 2, cpy_r_r473); if (unlikely(cpy_r_r474 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 154, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47522,7 +47771,7 @@ CPyL238: ; CPyStatic_ENVIRONMENT_VARIABLES___EXPORT_STATS = cpy_r_r474; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___EXPORT_STATS); cpy_r_r475 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r476 = CPyStatics[584]; /* 'EXPORT_STATS' */ + cpy_r_r476 = CPyStatics[585]; /* 'EXPORT_STATS' */ cpy_r_r477 = CPyDict_SetItem(cpy_r_r475, cpy_r_r476, cpy_r_r474); CPy_DECREF(cpy_r_r474); cpy_r_r478 = cpy_r_r477 >= 0; @@ -47530,7 +47779,7 @@ CPyL238: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 154, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r479 = CPyStatics[585]; /* 'COLLECT_STATS' */ + cpy_r_r479 = CPyStatics[586]; /* 'COLLECT_STATS' */ cpy_r_r480 = (PyObject *)&PyBool_Type; cpy_r_r481 = CPyStatic_ENVIRONMENT_VARIABLES___EXPORT_STATS; if (likely(cpy_r_r481 != NULL)) goto CPyL243; @@ -47572,7 +47821,7 @@ CPyL250: ; cpy_r_r490 = cpy_r_r487 ? Py_True : Py_False; PyObject *cpy_r_r491[4] = {cpy_r_r479, cpy_r_r480, cpy_r_r481, cpy_r_r490}; cpy_r_r492 = (PyObject **)&cpy_r_r491; - cpy_r_r493 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r493 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r494 = _PyObject_Vectorcall(cpy_r_r488, cpy_r_r492, 2, cpy_r_r493); if (unlikely(cpy_r_r494 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 156, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47581,7 +47830,7 @@ CPyL250: ; CPyStatic_ENVIRONMENT_VARIABLES___COLLECT_STATS = cpy_r_r494; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___COLLECT_STATS); cpy_r_r495 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r496 = CPyStatics[585]; /* 'COLLECT_STATS' */ + cpy_r_r496 = CPyStatics[586]; /* 'COLLECT_STATS' */ cpy_r_r497 = CPyDict_SetItem(cpy_r_r495, cpy_r_r496, cpy_r_r494); CPy_DECREF(cpy_r_r494); cpy_r_r498 = cpy_r_r497 >= 0; @@ -47589,7 +47838,7 @@ CPyL250: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 156, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r499 = CPyStatics[586]; /* 'STUCK_CALL_TIMEOUT' */ + cpy_r_r499 = CPyStatics[587]; /* 'STUCK_CALL_TIMEOUT' */ cpy_r_r500 = (PyObject *)&PyLong_Type; cpy_r_r501 = CPyStatic__envs___create_env; if (likely(cpy_r_r501 != NULL)) goto CPyL255; @@ -47601,10 +47850,10 @@ CPyL250: ; } CPy_Unreachable(); CPyL255: ; - cpy_r_r503 = CPyStatics[629]; /* 120 */ + cpy_r_r503 = CPyStatics[630]; /* 120 */ PyObject *cpy_r_r504[3] = {cpy_r_r499, cpy_r_r500, cpy_r_r503}; cpy_r_r505 = (PyObject **)&cpy_r_r504; - cpy_r_r506 = CPyStatics[742]; /* ('default',) */ + cpy_r_r506 = CPyStatics[743]; /* ('default',) */ cpy_r_r507 = _PyObject_Vectorcall(cpy_r_r501, cpy_r_r505, 2, cpy_r_r506); if (unlikely(cpy_r_r507 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 161, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47613,7 +47862,7 @@ CPyL255: ; CPyStatic_ENVIRONMENT_VARIABLES___STUCK_CALL_TIMEOUT = cpy_r_r507; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___STUCK_CALL_TIMEOUT); cpy_r_r508 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r509 = CPyStatics[586]; /* 'STUCK_CALL_TIMEOUT' */ + cpy_r_r509 = CPyStatics[587]; /* 'STUCK_CALL_TIMEOUT' */ cpy_r_r510 = CPyDict_SetItem(cpy_r_r508, cpy_r_r509, cpy_r_r507); CPy_DECREF(cpy_r_r507); cpy_r_r511 = cpy_r_r510 >= 0; @@ -47622,7 +47871,7 @@ CPyL255: ; goto CPyL333; } cpy_r_r512 = CPyStatics[402]; /* 'eth_call' */ - cpy_r_r513 = CPyStatics[587]; /* 'ETH_CALL_SEMAPHORE' */ + cpy_r_r513 = CPyStatics[588]; /* 'ETH_CALL_SEMAPHORE' */ cpy_r_r514 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r515 = CPyStatics[23]; /* 'BlockSemaphore' */ cpy_r_r516 = CPyDict_GetItem(cpy_r_r514, cpy_r_r515); @@ -47667,7 +47916,7 @@ CPyL265: ; cpy_r_r523 = 0 ? Py_True : Py_False; PyObject *cpy_r_r524[4] = {cpy_r_r513, cpy_r_r516, cpy_r_r520, cpy_r_r523}; cpy_r_r525 = (PyObject **)&cpy_r_r524; - cpy_r_r526 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r526 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r527 = _PyObject_Vectorcall(cpy_r_r521, cpy_r_r525, 2, cpy_r_r526); if (unlikely(cpy_r_r527 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 165, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47675,8 +47924,8 @@ CPyL265: ; } CPy_DECREF(cpy_r_r516); CPy_DECREF(cpy_r_r520); - cpy_r_r528 = CPyStatics[588]; /* 'eth_getBlock' */ - cpy_r_r529 = CPyStatics[589]; /* 'ETH_GETBLOCK_SEMAPHORE' */ + cpy_r_r528 = CPyStatics[589]; /* 'eth_getBlock' */ + cpy_r_r529 = CPyStatics[590]; /* 'ETH_GETBLOCK_SEMAPHORE' */ cpy_r_r530 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r531 = CPyStatics[18]; /* 'a_sync' */ cpy_r_r532 = CPyDict_GetItem(cpy_r_r530, cpy_r_r531); @@ -47705,19 +47954,19 @@ CPyL269: ; } CPy_Unreachable(); CPyL271: ; - cpy_r_r537 = CPyStatics[630]; /* 1000 */ + cpy_r_r537 = CPyStatics[631]; /* 1000 */ cpy_r_r538 = 0 ? Py_True : Py_False; PyObject *cpy_r_r539[4] = {cpy_r_r529, cpy_r_r534, cpy_r_r537, cpy_r_r538}; cpy_r_r540 = (PyObject **)&cpy_r_r539; - cpy_r_r541 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r541 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r542 = _PyObject_Vectorcall(cpy_r_r535, cpy_r_r540, 2, cpy_r_r541); if (unlikely(cpy_r_r542 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 171, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL376; } CPy_DECREF(cpy_r_r534); - cpy_r_r543 = CPyStatics[590]; /* 'eth_getCode' */ - cpy_r_r544 = CPyStatics[591]; /* 'ETH_GETCODE_SEMAPHORE' */ + cpy_r_r543 = CPyStatics[591]; /* 'eth_getCode' */ + cpy_r_r544 = CPyStatics[592]; /* 'ETH_GETCODE_SEMAPHORE' */ cpy_r_r545 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r546 = CPyStatics[18]; /* 'a_sync' */ cpy_r_r547 = CPyDict_GetItem(cpy_r_r545, cpy_r_r546); @@ -47746,11 +47995,11 @@ CPyL275: ; } CPy_Unreachable(); CPyL277: ; - cpy_r_r552 = CPyStatics[631]; /* 5000 */ + cpy_r_r552 = CPyStatics[632]; /* 5000 */ cpy_r_r553 = 0 ? Py_True : Py_False; PyObject *cpy_r_r554[4] = {cpy_r_r544, cpy_r_r549, cpy_r_r552, cpy_r_r553}; cpy_r_r555 = (PyObject **)&cpy_r_r554; - cpy_r_r556 = CPyStatics[741]; /* ('default', 'verbose') */ + cpy_r_r556 = CPyStatics[742]; /* ('default', 'verbose') */ cpy_r_r557 = _PyObject_Vectorcall(cpy_r_r550, cpy_r_r555, 2, cpy_r_r556); if (unlikely(cpy_r_r557 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 177, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47768,7 +48017,7 @@ CPyL277: ; CPyStatic_ENVIRONMENT_VARIABLES___method_semaphores = cpy_r_r558; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___method_semaphores); cpy_r_r559 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r560 = CPyStatics[592]; /* 'method_semaphores' */ + cpy_r_r560 = CPyStatics[593]; /* 'method_semaphores' */ cpy_r_r561 = CPyDict_SetItem(cpy_r_r559, cpy_r_r560, cpy_r_r558); CPy_DECREF(cpy_r_r558); cpy_r_r562 = cpy_r_r561 >= 0; @@ -47790,7 +48039,7 @@ CPyL277: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 185, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r568 = CPyStatics[560]; /* 'disabled' */ + cpy_r_r568 = CPyStatics[561]; /* 'disabled' */ cpy_r_r569 = CPyObject_GetAttr(cpy_r_r567, cpy_r_r568); CPy_DECREF(cpy_r_r567); if (unlikely(cpy_r_r569 == NULL)) { @@ -47816,9 +48065,9 @@ CPyL277: ; } CPy_Unreachable(); CPyL288: ; - cpy_r_r575 = CPyStatics[593]; /* ('More details can be found in ' + cpy_r_r575 = CPyStatics[594]; /* ('More details can be found in ' 'dank_mids/ENVIRONMENT_VARIABLES.py') */ - cpy_r_r576 = CPyStatics[566]; /* 'info' */ + cpy_r_r576 = CPyStatics[567]; /* 'info' */ cpy_r_r577 = CPyObject_CallMethodObjArgs(cpy_r_r573, cpy_r_r576, cpy_r_r575, NULL); if (unlikely(cpy_r_r577 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 186, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47836,9 +48085,9 @@ CPyL289: ; } CPy_Unreachable(); CPyL292: ; - cpy_r_r580 = CPyStatics[594]; /* ('NOTE: You can disable these logs by setting the ' + cpy_r_r580 = CPyStatics[595]; /* ('NOTE: You can disable these logs by setting the ' '`TYPEDENVS_SHUTUP` env var to any value.') */ - cpy_r_r581 = CPyStatics[566]; /* 'info' */ + cpy_r_r581 = CPyStatics[567]; /* 'info' */ cpy_r_r582 = CPyObject_CallMethodObjArgs(cpy_r_r578, cpy_r_r581, cpy_r_r580, NULL); if (unlikely(cpy_r_r582 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 187, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47856,7 +48105,7 @@ CPyL293: ; } CPy_Unreachable(); CPyL296: ; - cpy_r_r585 = CPyStatics[567]; /* 'infura' */ + cpy_r_r585 = CPyStatics[568]; /* 'infura' */ cpy_r_r586 = CPyObject_GetAttr(cpy_r_r583, cpy_r_r585); if (unlikely(cpy_r_r586 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 195, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47881,7 +48130,7 @@ CPyL296: ; } CPy_Unreachable(); CPyL302: ; - cpy_r_r592 = CPyStatics[595]; /* ("Unless you know what you're doing, dank mids should " + cpy_r_r592 = CPyStatics[596]; /* ("Unless you know what you're doing, dank mids should " 'be run in infura mode for now') */ cpy_r_r593 = CPyStatics[104]; /* 'warning' */ cpy_r_r594 = CPyObject_CallMethodObjArgs(cpy_r_r590, cpy_r_r593, cpy_r_r592, NULL); @@ -47901,7 +48150,7 @@ CPyL303: ; } CPy_Unreachable(); CPyL306: ; - cpy_r_r597 = CPyStatics[567]; /* 'infura' */ + cpy_r_r597 = CPyStatics[568]; /* 'infura' */ cpy_r_r598 = CPyObject_GetAttr(cpy_r_r595, cpy_r_r597); if (unlikely(cpy_r_r598 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 200, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47917,7 +48166,7 @@ CPyL306: ; cpy_r_r601 = cpy_r_r599; if (!cpy_r_r601) goto CPyL332; cpy_r_r602 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r603 = CPyStatics[581]; /* 'MULTICALL_DECODER_PROCESSES' */ + cpy_r_r603 = CPyStatics[582]; /* 'MULTICALL_DECODER_PROCESSES' */ cpy_r_r604 = CPyDict_GetItem(cpy_r_r602, cpy_r_r603); if (unlikely(cpy_r_r604 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 202, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -47973,7 +48222,7 @@ CPyL317: ; cpy_r_r619 = PyIter_Next(cpy_r_r618); if (cpy_r_r619 == NULL) goto CPyL389; cpy_r_r620 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r621 = CPyStatics[596]; /* 'process_pool' */ + cpy_r_r621 = CPyStatics[597]; /* 'process_pool' */ cpy_r_r622 = CPyDict_SetItem(cpy_r_r620, cpy_r_r621, cpy_r_r619); CPy_DECREF(cpy_r_r619); cpy_r_r623 = cpy_r_r622 >= 0; @@ -47982,7 +48231,7 @@ CPyL317: ; goto CPyL390; } cpy_r_r624 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r625 = CPyStatics[596]; /* 'process_pool' */ + cpy_r_r625 = CPyStatics[597]; /* 'process_pool' */ cpy_r_r626 = CPyDict_GetItem(cpy_r_r624, cpy_r_r625); if (unlikely(cpy_r_r626 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 206, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48008,9 +48257,9 @@ CPyL317: ; } else goto CPyL317; CPyL323: ; - cpy_r_r632 = CPyStatics[597]; /* 'You cannot set env var ' */ + cpy_r_r632 = CPyStatics[598]; /* 'You cannot set env var ' */ cpy_r_r633 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r634 = CPyStatics[596]; /* 'process_pool' */ + cpy_r_r634 = CPyStatics[597]; /* 'process_pool' */ cpy_r_r635 = CPyDict_GetItem(cpy_r_r633, cpy_r_r634); if (unlikely(cpy_r_r635 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 208, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48029,7 +48278,7 @@ CPyL323: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 208, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL333; } - cpy_r_r639 = CPyStatics[598]; /* ' while running dank in infura mode.' */ + cpy_r_r639 = CPyStatics[599]; /* ' while running dank in infura mode.' */ cpy_r_r640 = CPyStr_Build(3, cpy_r_r632, cpy_r_r638, cpy_r_r639); CPy_DECREF(cpy_r_r638); if (unlikely(cpy_r_r640 == NULL)) { @@ -48431,7 +48680,7 @@ int CPyGlobalsInit(void) return 0; } -PyObject *CPyStatics[743]; +PyObject *CPyStatics[744]; const char * const CPyLit_Str[] = { "\a\bbuiltins\003Any\005Final\005final\006typing\025ENVIRONMENT_VARIABLES\tdank_mids", "\004\tgetLogger\022dank_mids._logging\024dank_mids._demo_mode\017__mypyc_attrs__", @@ -48545,9 +48794,9 @@ const char * const CPyLit_Str[] = { "\003\034error processing call revert\036INDIVIDUAL_CALL_REVERT_STRINGS\004loop", "\004\017FIRST_COMPLETED\vreturn_when\006cancel\aasyncio", "\005\034dank_mids\\helpers\\_gather.py\tCoroutine\aLiteral\003Set\boverload", - "\005\016a_sync.asyncio\023asyncio.Future[__T]\rFinishedTasks\fPendingTasks\004Task", - "\b\020get_running_loop\004wait\006sleep0\ryield_to_loop\002([\002, \002])\f_gc_callback", - "\003\035list.remove(x): x not in list\003pop\aweakref", + "\004\016a_sync.asyncio\023asyncio.Future[__T]\rFinishedTasks\fPendingTasks", + "\b\016CancelledError\004Task\020get_running_loop\004wait\006sleep0\ryield_to_loop\002([\002, ", + "\005\002])\f_gc_callback\035list.remove(x): x not in list\003pop\aweakref", "\005\036dank_mids\\helpers\\_weaklist.py\aGeneric\bIterator\rReferenceType\003Ref", "\006\nGCCallback\003ref\b__call__\t_call_ref\033dank_mids.helpers._weaklist\005_refs", "\005\bWeakList\tmulticall\026dank_mids\\constants.py\vBlockNumber\aNetwork", @@ -48600,27 +48849,27 @@ const char * const CPyLit_Int[] = { const double CPyLit_Float[] = {0}; const double CPyLit_Complex[] = {0}; const int CPyLit_Tuple[] = { - 111, 3, 4, 5, 6, 1, 8, 1, 10, 1, 5, 3, 18, 18, 18, 1, 636, 1, 21, 1, - 23, 3, 80, 80, 80, 1, 640, 4, 4, 82, 5, 83, 1, 84, 3, 101, 93, 102, 1, - 105, 3, 119, 119, 119, 3, 120, 120, 120, 2, 646, 647, 5, 122, 5, 123, - 124, 6, 1, 125, 1, 646, 1, 165, 1, 164, 1, 173, 1, 175, 1, 177, 4, + 111, 3, 4, 5, 6, 1, 8, 1, 10, 1, 5, 3, 18, 18, 18, 1, 637, 1, 21, 1, + 23, 3, 80, 80, 80, 1, 641, 4, 4, 82, 5, 83, 1, 84, 3, 101, 93, 102, 1, + 105, 3, 119, 119, 119, 3, 120, 120, 120, 2, 647, 648, 5, 122, 5, 123, + 124, 6, 1, 125, 1, 647, 1, 165, 1, 164, 1, 173, 1, 175, 1, 177, 4, 179, 180, 181, 182, 1, 185, 1, 187, 2, 192, 38, 2, 195, 196, 3, 201, - 201, 201, 1, 662, 2, 4, 6, 2, 200, 199, 1, 211, 3, 283, 283, 283, 1, - 667, 1, 239, 1, 286, 1, 244, 2, 222, 288, 11, 4, 290, 291, 5, 123, + 201, 201, 1, 663, 2, 4, 6, 2, 200, 199, 1, 211, 3, 283, 283, 283, 1, + 668, 1, 239, 1, 286, 1, 244, 2, 222, 288, 11, 4, 290, 291, 5, 123, 292, 83, 293, 294, 295, 124, 3, 296, 193, 193, 3, 297, 193, 193, 3, - 298, 193, 193, 3, 256, 256, 256, 3, 299, 299, 299, 5, 674, 675, 676, - 677, 678, 1, 243, 1, 300, 1, 301, 1, 253, 1, 267, 1, 303, 1, 261, 1, + 298, 193, 193, 3, 256, 256, 256, 3, 299, 299, 299, 5, 675, 676, 677, + 678, 679, 1, 243, 1, 300, 1, 301, 1, 253, 1, 267, 1, 303, 1, 261, 1, 234, 1, 306, 1, 308, 1, 310, 1, 312, 2, 8, 314, 1, 315, 1, 316, 1, 376, 1, 222, 4, 4, 291, 83, 124, 1, 195, 3, 303, 379, 380, 2, 221, 218, 7, 4, 291, 83, 294, 295, 124, 6, 1, 392, 3, 394, 395, 396, 1, 383, 1, 400, 2, 401, 300, 9, 4, 82, 290, 5, 406, 123, 124, 294, 295, - 3, 407, 407, 407, 3, 408, 407, 407, 2, 708, 709, 2, 410, 49, 1, 411, + 3, 407, 407, 407, 3, 408, 407, 407, 2, 709, 710, 2, 410, 49, 1, 411, 2, 413, 414, 1, 289, 3, 399, 416, 404, 3, 122, 4, 5, 1, 132, 2, 162, - 10, 1, 404, 2, 475, 165, 1, 477, 3, 479, 479, 479, 1, 722, 10, 481, 5, - 406, 482, 83, 483, 294, 295, 124, 484, 3, 485, 18, 18, 1, 725, 3, 500, - 500, 500, 1, 727, 10, 4, 290, 291, 5, 502, 406, 503, 83, 295, 6, 2, - 291, 5, 3, 311, 513, 513, 1, 731, 1, 515, 1, 516, 1, 554, 3, 22, 22, - 22, 2, 636, 736, 1, 556, 2, 161, 10, 1, 557, 2, 568, 569, 1, 568 + 10, 1, 404, 2, 475, 165, 1, 477, 3, 479, 479, 479, 1, 723, 10, 481, 5, + 406, 482, 83, 483, 294, 295, 124, 484, 3, 485, 18, 18, 1, 726, 3, 501, + 501, 501, 1, 728, 10, 4, 290, 291, 5, 503, 406, 504, 83, 295, 6, 2, + 291, 5, 3, 311, 514, 514, 1, 732, 1, 516, 1, 517, 1, 555, 3, 22, 22, + 22, 2, 637, 737, 1, 557, 2, 161, 10, 1, 558, 2, 569, 570, 1, 569 }; const int CPyLit_FrozenSet[] = {0}; CPyModule *CPyModule_dank_mids____demo_mode_internal = NULL; @@ -49078,6 +49327,7 @@ PyObject *CPyPy__errors___is_call_revert(PyObject *self, PyObject *const *args, char CPyDef__errors___log_request_type_switch(void); PyObject *CPyPy__errors___log_request_type_switch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); char CPyDef__errors_____top_level__(void); +PyObject *CPyStatic__gather___CancelledError = NULL; PyObject *CPyStatic__gather___Task = NULL; PyObject *CPyStatic__gather___get_running_loop = NULL; PyObject *CPyStatic__gather___wait = NULL; @@ -49440,6 +49690,7 @@ static struct export_table_17645f66770270d4fac0 exports = { &CPyDef__errors___is_call_revert, &CPyDef__errors___log_request_type_switch, &CPyDef__errors_____top_level__, + &CPyStatic__gather___CancelledError, &CPyStatic__gather___Task, &CPyStatic__gather___get_running_loop, &CPyStatic__gather___wait, diff --git a/build/__native_17645f66770270d4fac0.h b/build/__native_17645f66770270d4fac0.h index 3aadd55f8b..320e8b2a82 100644 --- a/build/__native_17645f66770270d4fac0.h +++ b/build/__native_17645f66770270d4fac0.h @@ -525,8 +525,12 @@ typedef struct { tuple_T3OOO ___mypyc_temp__20; PyObject *_done; PyObject *_pending; - PyObject *___mypyc_temp__21; + tuple_T3OOO ___mypyc_temp__21; PyObject *___mypyc_temp__22; + CPyTagged ___mypyc_temp__23; + PyObject *_f; + PyObject *___mypyc_temp__24; + PyObject *___mypyc_temp__25; PyObject *_p; } dank_mids___helpers____gather___first_completed_envObject; @@ -810,6 +814,7 @@ struct export_table_17645f66770270d4fac0 { char (*CPyDef__errors___is_call_revert)(PyObject *cpy_r_e); char (*CPyDef__errors___log_request_type_switch)(void); char (*CPyDef__errors_____top_level__)(void); + PyObject **CPyStatic__gather___CancelledError; PyObject **CPyStatic__gather___Task; PyObject **CPyStatic__gather___get_running_loop; PyObject **CPyStatic__gather___wait; diff --git a/build/__native_d65c1fb6f7cf4e30fde8.c b/build/__native_d65c1fb6f7cf4e30fde8.c index 463b4914a6..6373e08415 100644 --- a/build/__native_d65c1fb6f7cf4e30fde8.c +++ b/build/__native_d65c1fb6f7cf4e30fde8.c @@ -254,7 +254,7 @@ char CPyDef__demo_mode_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[639]; /* ('Any', 'Final', 'final') */ + cpy_r_r5 = CPyStatics[640]; /* ('Any', 'Final', 'final') */ cpy_r_r6 = CPyStatics[7]; /* 'typing' */ cpy_r_r7 = CPyStatic__demo_mode___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -265,7 +265,7 @@ CPyL3: ; CPyModule_typing = cpy_r_r8; CPy_INCREF(CPyModule_typing); CPy_DECREF(cpy_r_r8); - cpy_r_r9 = CPyStatics[640]; /* ('ENVIRONMENT_VARIABLES',) */ + cpy_r_r9 = CPyStatics[641]; /* ('ENVIRONMENT_VARIABLES',) */ cpy_r_r10 = CPyStatics[9]; /* 'dank_mids' */ cpy_r_r11 = CPyStatic__demo_mode___globals; cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); @@ -276,7 +276,7 @@ CPyL3: ; CPyModule_dank_mids = cpy_r_r12; CPy_INCREF(CPyModule_dank_mids); CPy_DECREF(cpy_r_r12); - cpy_r_r13 = CPyStatics[641]; /* ('getLogger',) */ + cpy_r_r13 = CPyStatics[642]; /* ('getLogger',) */ cpy_r_r14 = CPyStatics[11]; /* 'dank_mids._logging' */ cpy_r_r15 = CPyStatic__demo_mode___globals; cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); @@ -558,7 +558,7 @@ char CPyDef__envs_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[642]; /* ('Final',) */ + cpy_r_r5 = CPyStatics[643]; /* ('Final',) */ cpy_r_r6 = CPyStatics[7]; /* 'typing' */ cpy_r_r7 = CPyStatic__envs___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -574,13 +574,13 @@ CPyL3: ; cpy_r_r11 = (void *)&cpy_r_r10; int64_t cpy_r_r12[1] = {3}; cpy_r_r13 = (void *)&cpy_r_r12; - cpy_r_r14 = CPyStatics[644]; /* (('a_sync', 'a_sync', 'a_sync'),) */ + cpy_r_r14 = CPyStatics[645]; /* (('a_sync', 'a_sync', 'a_sync'),) */ cpy_r_r15 = CPyStatic__envs___globals; cpy_r_r16 = CPyStatics[19]; /* 'dank_mids\\_envs.py' */ cpy_r_r17 = CPyStatics[20]; /* '' */ cpy_r_r18 = CPyImport_ImportMany(cpy_r_r14, cpy_r_r11, cpy_r_r15, cpy_r_r16, cpy_r_r17, cpy_r_r13); if (!cpy_r_r18) goto CPyL36; - cpy_r_r19 = CPyStatics[645]; /* ('EnvVarFactory',) */ + cpy_r_r19 = CPyStatics[646]; /* ('EnvVarFactory',) */ cpy_r_r20 = CPyStatics[22]; /* 'typed_envs' */ cpy_r_r21 = CPyStatic__envs___globals; cpy_r_r22 = CPyImport_ImportFromMany(cpy_r_r20, cpy_r_r19, cpy_r_r19, cpy_r_r21); @@ -591,7 +591,7 @@ CPyL3: ; CPyModule_typed_envs = cpy_r_r22; CPy_INCREF(CPyModule_typed_envs); CPy_DECREF(cpy_r_r22); - cpy_r_r23 = CPyStatics[646]; /* ('BlockSemaphore',) */ + cpy_r_r23 = CPyStatics[647]; /* ('BlockSemaphore',) */ cpy_r_r24 = CPyStatics[24]; /* 'dank_mids.semaphores' */ cpy_r_r25 = CPyStatic__envs___globals; cpy_r_r26 = CPyImport_ImportFromMany(cpy_r_r24, cpy_r_r23, cpy_r_r23, cpy_r_r25); @@ -2541,12 +2541,12 @@ CPyL8: ; goto CPyL50; } if (!cpy_r_r7) goto CPyL11; - cpy_r_r8 = CPyStatics[606]; /* b'\x01' */ + cpy_r_r8 = CPyStatics[607]; /* b'\x01' */ CPy_INCREF(cpy_r_r8); cpy_r_r9 = cpy_r_r8; goto CPyL12; CPyL11: ; - cpy_r_r10 = CPyStatics[607]; /* b'\x00' */ + cpy_r_r10 = CPyStatics[608]; /* b'\x00' */ CPy_INCREF(cpy_r_r10); cpy_r_r9 = cpy_r_r10; CPyL12: ; @@ -3423,7 +3423,7 @@ PyObject *CPyDef__eth_utils___remove_0x_prefix(PyObject *cpy_r_value) { if (!cpy_r_r1) goto CPyL6; cpy_r_r2 = (PyObject *)&_Py_NoneStruct; cpy_r_r3 = (PyObject *)&_Py_NoneStruct; - cpy_r_r4 = CPyStatics[612]; /* 2 */ + cpy_r_r4 = CPyStatics[613]; /* 2 */ cpy_r_r5 = PySlice_New(cpy_r_r4, cpy_r_r2, cpy_r_r3); if (unlikely(cpy_r_r5 == NULL)) { CPy_AddTraceback("dank_mids\\_eth_utils.py", "remove_0x_prefix", 158, CPyStatic__eth_utils___globals); @@ -3572,13 +3572,13 @@ CPyL3: ; cpy_r_r7 = (void *)&cpy_r_r6; int64_t cpy_r_r8[1] = {8}; cpy_r_r9 = (void *)&cpy_r_r8; - cpy_r_r10 = CPyStatics[648]; /* (('binascii', 'binascii', 'binascii'),) */ + cpy_r_r10 = CPyStatics[649]; /* (('binascii', 'binascii', 'binascii'),) */ cpy_r_r11 = CPyStatic__eth_utils___globals; cpy_r_r12 = CPyStatics[81]; /* 'dank_mids\\_eth_utils.py' */ cpy_r_r13 = CPyStatics[20]; /* '' */ cpy_r_r14 = CPyImport_ImportMany(cpy_r_r10, cpy_r_r7, cpy_r_r11, cpy_r_r12, cpy_r_r13, cpy_r_r9); if (!cpy_r_r14) goto CPyL11; - cpy_r_r15 = CPyStatics[649]; /* ('Any', 'AnyStr', 'Final', 'Optional') */ + cpy_r_r15 = CPyStatics[650]; /* ('Any', 'AnyStr', 'Final', 'Optional') */ cpy_r_r16 = CPyStatics[7]; /* 'typing' */ cpy_r_r17 = CPyStatic__eth_utils___globals; cpy_r_r18 = CPyImport_ImportFromMany(cpy_r_r16, cpy_r_r15, cpy_r_r15, cpy_r_r17); @@ -3589,7 +3589,7 @@ CPyL3: ; CPyModule_typing = cpy_r_r18; CPy_INCREF(CPyModule_typing); CPy_DECREF(cpy_r_r18); - cpy_r_r19 = CPyStatics[650]; /* ('HexStr',) */ + cpy_r_r19 = CPyStatics[651]; /* ('HexStr',) */ cpy_r_r20 = CPyStatics[85]; /* 'eth_typing' */ cpy_r_r21 = CPyStatic__eth_utils___globals; cpy_r_r22 = CPyImport_ImportFromMany(cpy_r_r20, cpy_r_r19, cpy_r_r19, cpy_r_r21); @@ -4639,7 +4639,7 @@ CPyTagged CPyDef__exceptions___ExceedsMaxBatchSize___limit(PyObject *cpy_r_self) goto CPyL10; } CPy_DECREF(cpy_r_r6); - cpy_r_r13 = CPyStatics[613]; /* 1 */ + cpy_r_r13 = CPyStatics[614]; /* 1 */ cpy_r_r14 = PyObject_GetItem(cpy_r_r12, cpy_r_r13); CPy_DECREF(cpy_r_r12); if (unlikely(cpy_r_r14 == NULL)) { @@ -4823,7 +4823,7 @@ CPyL3: ; } PyObject *cpy_r_r25[5] = {cpy_r_r16, cpy_r_r18, cpy_r_r20, cpy_r_r22, cpy_r_r24}; cpy_r_r26 = (PyObject **)&cpy_r_r25; - cpy_r_r27 = CPyStatics[651]; /* ('status', 'message', 'headers') */ + cpy_r_r27 = CPyStatics[652]; /* ('status', 'message', 'headers') */ cpy_r_r28 = _PyObject_Vectorcall(cpy_r_r14, cpy_r_r26, 2, cpy_r_r27); CPy_DECREF(cpy_r_r14); if (unlikely(cpy_r_r28 == NULL)) { @@ -4973,7 +4973,7 @@ CPyL3: ; cpy_r_r6 = 1 ? Py_True : Py_False; PyObject *cpy_r_r7[3] = {cpy_r_r0, cpy_r_r4, cpy_r_r6}; cpy_r_r8 = (PyObject **)&cpy_r_r7; - cpy_r_r9 = CPyStatics[652]; /* ('exc_info',) */ + cpy_r_r9 = CPyStatics[653]; /* ('exc_info',) */ cpy_r_r10 = PyObject_VectorcallMethod(cpy_r_r5, cpy_r_r8, 9223372036854775810ULL, cpy_r_r9); if (unlikely(cpy_r_r10 == NULL)) { CPy_AddTraceback("dank_mids\\_exceptions.py", "__init__", 103, CPyStatic__exceptions___globals); @@ -5792,13 +5792,13 @@ CPyL3: ; cpy_r_r8 = (void *)&cpy_r_r7; int64_t cpy_r_r9[2] = {1, 2}; cpy_r_r10 = (void *)&cpy_r_r9; - cpy_r_r11 = CPyStatics[655]; /* (('logging', 'logging', 'logging'), ('re', 're', 're')) */ + cpy_r_r11 = CPyStatics[656]; /* (('logging', 'logging', 'logging'), ('re', 're', 're')) */ cpy_r_r12 = CPyStatic__exceptions___globals; cpy_r_r13 = CPyStatics[121]; /* 'dank_mids\\_exceptions.py' */ cpy_r_r14 = CPyStatics[20]; /* '' */ cpy_r_r15 = CPyImport_ImportMany(cpy_r_r11, cpy_r_r8, cpy_r_r12, cpy_r_r13, cpy_r_r14, cpy_r_r10); if (!cpy_r_r15) goto CPyL88; - cpy_r_r16 = CPyStatics[656]; /* ('TYPE_CHECKING', 'Final', 'List', 'Union', 'final') */ + cpy_r_r16 = CPyStatics[657]; /* ('TYPE_CHECKING', 'Final', 'List', 'Union', 'final') */ cpy_r_r17 = CPyStatics[7]; /* 'typing' */ cpy_r_r18 = CPyStatic__exceptions___globals; cpy_r_r19 = CPyImport_ImportFromMany(cpy_r_r17, cpy_r_r16, cpy_r_r16, cpy_r_r18); @@ -5809,7 +5809,7 @@ CPyL3: ; CPyModule_typing = cpy_r_r19; CPy_INCREF(CPyModule_typing); CPy_DECREF(cpy_r_r19); - cpy_r_r20 = CPyStatics[657]; /* ('ClientResponseError',) */ + cpy_r_r20 = CPyStatics[658]; /* ('ClientResponseError',) */ cpy_r_r21 = CPyStatics[126]; /* 'aiohttp.client_exceptions' */ cpy_r_r22 = CPyStatic__exceptions___globals; cpy_r_r23 = CPyImport_ImportFromMany(cpy_r_r21, cpy_r_r20, cpy_r_r20, cpy_r_r22); @@ -6670,13 +6670,13 @@ CPyL3: ; cpy_r_r7 = (void *)&cpy_r_r6; int64_t cpy_r_r8[1] = {1}; cpy_r_r9 = (void *)&cpy_r_r8; - cpy_r_r10 = CPyStatics[658]; /* (('logging', 'logging', 'logging'),) */ + cpy_r_r10 = CPyStatics[659]; /* (('logging', 'logging', 'logging'),) */ cpy_r_r11 = CPyStatic__logging___globals; cpy_r_r12 = CPyStatics[155]; /* 'dank_mids\\_logging.py' */ cpy_r_r13 = CPyStatics[20]; /* '' */ cpy_r_r14 = CPyImport_ImportMany(cpy_r_r10, cpy_r_r7, cpy_r_r11, cpy_r_r12, cpy_r_r13, cpy_r_r9); if (!cpy_r_r14) goto CPyL16; - cpy_r_r15 = CPyStatics[642]; /* ('Final',) */ + cpy_r_r15 = CPyStatics[643]; /* ('Final',) */ cpy_r_r16 = CPyStatics[7]; /* 'typing' */ cpy_r_r17 = CPyStatic__logging___globals; cpy_r_r18 = CPyImport_ImportFromMany(cpy_r_r16, cpy_r_r15, cpy_r_r15, cpy_r_r17); @@ -6708,7 +6708,7 @@ CPyL3: ; CPyStatic__logging___CRITICAL = 100; cpy_r_r26 = CPyStatic__logging___globals; cpy_r_r27 = CPyStatics[156]; /* 'CRITICAL' */ - cpy_r_r28 = CPyStatics[614]; /* 50 */ + cpy_r_r28 = CPyStatics[615]; /* 50 */ cpy_r_r29 = CPyDict_SetItem(cpy_r_r26, cpy_r_r27, cpy_r_r28); cpy_r_r30 = cpy_r_r29 >= 0; if (unlikely(!cpy_r_r30)) { @@ -6718,7 +6718,7 @@ CPyL3: ; CPyStatic__logging___FATAL = 100; cpy_r_r31 = CPyStatic__logging___globals; cpy_r_r32 = CPyStatics[157]; /* 'FATAL' */ - cpy_r_r33 = CPyStatics[614]; /* 50 */ + cpy_r_r33 = CPyStatics[615]; /* 50 */ cpy_r_r34 = CPyDict_SetItem(cpy_r_r31, cpy_r_r32, cpy_r_r33); cpy_r_r35 = cpy_r_r34 >= 0; if (unlikely(!cpy_r_r35)) { @@ -6728,7 +6728,7 @@ CPyL3: ; CPyStatic__logging___ERROR = 80; cpy_r_r36 = CPyStatic__logging___globals; cpy_r_r37 = CPyStatics[158]; /* 'ERROR' */ - cpy_r_r38 = CPyStatics[615]; /* 40 */ + cpy_r_r38 = CPyStatics[616]; /* 40 */ cpy_r_r39 = CPyDict_SetItem(cpy_r_r36, cpy_r_r37, cpy_r_r38); cpy_r_r40 = cpy_r_r39 >= 0; if (unlikely(!cpy_r_r40)) { @@ -6738,7 +6738,7 @@ CPyL3: ; CPyStatic__logging___WARN = 60; cpy_r_r41 = CPyStatic__logging___globals; cpy_r_r42 = CPyStatics[159]; /* 'WARN' */ - cpy_r_r43 = CPyStatics[616]; /* 30 */ + cpy_r_r43 = CPyStatics[617]; /* 30 */ cpy_r_r44 = CPyDict_SetItem(cpy_r_r41, cpy_r_r42, cpy_r_r43); cpy_r_r45 = cpy_r_r44 >= 0; if (unlikely(!cpy_r_r45)) { @@ -6748,7 +6748,7 @@ CPyL3: ; CPyStatic__logging___WARNING = 60; cpy_r_r46 = CPyStatic__logging___globals; cpy_r_r47 = CPyStatics[160]; /* 'WARNING' */ - cpy_r_r48 = CPyStatics[616]; /* 30 */ + cpy_r_r48 = CPyStatics[617]; /* 30 */ cpy_r_r49 = CPyDict_SetItem(cpy_r_r46, cpy_r_r47, cpy_r_r48); cpy_r_r50 = cpy_r_r49 >= 0; if (unlikely(!cpy_r_r50)) { @@ -6758,7 +6758,7 @@ CPyL3: ; CPyStatic__logging___INFO = 40; cpy_r_r51 = CPyStatic__logging___globals; cpy_r_r52 = CPyStatics[161]; /* 'INFO' */ - cpy_r_r53 = CPyStatics[617]; /* 20 */ + cpy_r_r53 = CPyStatics[618]; /* 20 */ cpy_r_r54 = CPyDict_SetItem(cpy_r_r51, cpy_r_r52, cpy_r_r53); cpy_r_r55 = cpy_r_r54 >= 0; if (unlikely(!cpy_r_r55)) { @@ -6768,7 +6768,7 @@ CPyL3: ; CPyStatic__logging___DEBUG = 20; cpy_r_r56 = CPyStatic__logging___globals; cpy_r_r57 = CPyStatics[162]; /* 'DEBUG' */ - cpy_r_r58 = CPyStatics[618]; /* 10 */ + cpy_r_r58 = CPyStatics[619]; /* 10 */ cpy_r_r59 = CPyDict_SetItem(cpy_r_r56, cpy_r_r57, cpy_r_r58); cpy_r_r60 = cpy_r_r59 >= 0; if (unlikely(!cpy_r_r60)) { @@ -6778,7 +6778,7 @@ CPyL3: ; CPyStatic__logging___NOTSET = 0; cpy_r_r61 = CPyStatic__logging___globals; cpy_r_r62 = CPyStatics[163]; /* 'NOTSET' */ - cpy_r_r63 = CPyStatics[619]; /* 0 */ + cpy_r_r63 = CPyStatics[620]; /* 0 */ cpy_r_r64 = CPyDict_SetItem(cpy_r_r61, cpy_r_r62, cpy_r_r63); cpy_r_r65 = cpy_r_r64 >= 0; if (unlikely(!cpy_r_r65)) { @@ -7085,7 +7085,7 @@ char CPyDef__uid___UIDGenerator_____init__(PyObject *cpy_r_self) { } PyObject *cpy_r_r4[1] = {cpy_r_r0}; cpy_r_r5 = (PyObject **)&cpy_r_r4; - cpy_r_r6 = CPyStatics[659]; /* ('name',) */ + cpy_r_r6 = CPyStatics[660]; /* ('name',) */ cpy_r_r7 = _PyObject_Vectorcall(cpy_r_r3, cpy_r_r5, 0, cpy_r_r6); CPy_DECREF(cpy_r_r3); if (unlikely(cpy_r_r7 == NULL)) { @@ -7350,7 +7350,7 @@ char CPyDef__uid_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[660]; /* ('AlertingRLock',) */ + cpy_r_r5 = CPyStatics[661]; /* ('AlertingRLock',) */ cpy_r_r6 = CPyStatics[168]; /* 'dank_mids.helpers._lock' */ cpy_r_r7 = CPyStatic__uid___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -7599,7 +7599,7 @@ char CPyDef_brownie_patch_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[661]; /* ('suppress',) */ + cpy_r_r5 = CPyStatics[662]; /* ('suppress',) */ cpy_r_r6 = CPyStatics[174]; /* 'contextlib' */ cpy_r_r7 = CPyStatic_brownie_patch___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -7610,7 +7610,7 @@ CPyL3: ; CPyModule_contextlib = cpy_r_r8; CPy_INCREF(CPyModule_contextlib); CPy_DECREF(cpy_r_r8); - cpy_r_r9 = CPyStatics[662]; /* ('AsyncEth',) */ + cpy_r_r9 = CPyStatics[663]; /* ('AsyncEth',) */ cpy_r_r10 = CPyStatics[176]; /* 'web3.eth' */ cpy_r_r11 = CPyStatic_brownie_patch___globals; cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); @@ -7621,7 +7621,7 @@ CPyL3: ; CPyModule_web3___eth = cpy_r_r12; CPy_INCREF(CPyModule_web3___eth); CPy_DECREF(cpy_r_r12); - cpy_r_r13 = CPyStatics[663]; /* ('setup_dank_w3_from_sync',) */ + cpy_r_r13 = CPyStatics[664]; /* ('setup_dank_w3_from_sync',) */ cpy_r_r14 = CPyStatics[178]; /* 'dank_mids.helpers' */ cpy_r_r15 = CPyStatic_brownie_patch___globals; cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); @@ -7632,7 +7632,7 @@ CPyL3: ; CPyModule_dank_mids___helpers = cpy_r_r16; CPy_INCREF(CPyModule_dank_mids___helpers); CPy_DECREF(cpy_r_r16); - cpy_r_r17 = CPyStatics[664]; /* ('DankContractCall', 'DankContractMethod', + cpy_r_r17 = CPyStatics[665]; /* ('DankContractCall', 'DankContractMethod', 'DankContractTx', 'DankOverloadedMethod') */ cpy_r_r18 = CPyStatics[183]; /* 'dank_mids.brownie_patch.types' */ cpy_r_r19 = CPyStatic_brownie_patch___globals; @@ -7675,7 +7675,7 @@ CPyL3: ; CPy_AddTraceback("dank_mids\\brownie_patch\\__init__.py", "", 13, CPyStatic_brownie_patch___globals); goto CPyL56; } - cpy_r_r35 = CPyStatics[665]; /* ('DankEth',) */ + cpy_r_r35 = CPyStatics[666]; /* ('DankEth',) */ cpy_r_r36 = CPyStatics[186]; /* 'dank_mids.eth' */ cpy_r_r37 = CPyStatic_brownie_patch___globals; cpy_r_r38 = CPyImport_ImportFromMany(cpy_r_r36, cpy_r_r35, cpy_r_r35, cpy_r_r37); @@ -7686,7 +7686,7 @@ CPyL3: ; CPyModule_dank_mids___eth = cpy_r_r38; CPy_INCREF(CPyModule_dank_mids___eth); CPy_DECREF(cpy_r_r38); - cpy_r_r39 = CPyStatics[666]; /* ('DankWeb3',) */ + cpy_r_r39 = CPyStatics[667]; /* ('DankWeb3',) */ cpy_r_r40 = CPyStatics[188]; /* 'dank_mids.helpers._helpers' */ cpy_r_r41 = CPyStatic_brownie_patch___globals; cpy_r_r42 = CPyImport_ImportFromMany(cpy_r_r40, cpy_r_r39, cpy_r_r39, cpy_r_r41); @@ -7749,7 +7749,7 @@ CPyL3: ; goto CPyL60; CPyL17: ; cpy_r_r64 = 1; - cpy_r_r65 = CPyStatics[667]; /* ('network', 'web3') */ + cpy_r_r65 = CPyStatics[668]; /* ('network', 'web3') */ cpy_r_r66 = CPyStatics[193]; /* 'brownie' */ cpy_r_r67 = CPyStatic_brownie_patch___globals; cpy_r_r68 = CPyImport_ImportFromMany(cpy_r_r66, cpy_r_r65, cpy_r_r65, cpy_r_r67); @@ -7785,7 +7785,7 @@ CPyL17: ; } cpy_r_r78 = cpy_r_r76; if (!cpy_r_r78) goto CPyL43; - cpy_r_r79 = CPyStatics[668]; /* ('Contract', 'patch_contract') */ + cpy_r_r79 = CPyStatics[669]; /* ('Contract', 'patch_contract') */ cpy_r_r80 = CPyStatics[197]; /* 'dank_mids.brownie_patch.contract' */ cpy_r_r81 = CPyStatic_brownie_patch___globals; cpy_r_r82 = CPyImport_ImportFromMany(cpy_r_r80, cpy_r_r79, cpy_r_r79, cpy_r_r81); @@ -8551,13 +8551,13 @@ CPyL3: ; cpy_r_r7 = (void *)&cpy_r_r6; int64_t cpy_r_r8[1] = {1}; cpy_r_r9 = (void *)&cpy_r_r8; - cpy_r_r10 = CPyStatics[670]; /* (('functools', 'functools', 'functools'),) */ + cpy_r_r10 = CPyStatics[671]; /* (('functools', 'functools', 'functools'),) */ cpy_r_r11 = CPyStatic__abi___globals; cpy_r_r12 = CPyStatics[202]; /* 'dank_mids\\brownie_patch\\_abi.py' */ cpy_r_r13 = CPyStatics[20]; /* '' */ cpy_r_r14 = CPyImport_ImportMany(cpy_r_r10, cpy_r_r7, cpy_r_r11, cpy_r_r12, cpy_r_r13, cpy_r_r9); if (!cpy_r_r14) goto CPyL17; - cpy_r_r15 = CPyStatics[671]; /* ('Any', 'final') */ + cpy_r_r15 = CPyStatics[672]; /* ('Any', 'final') */ cpy_r_r16 = CPyStatics[7]; /* 'typing' */ cpy_r_r17 = CPyStatic__abi___globals; cpy_r_r18 = CPyImport_ImportFromMany(cpy_r_r16, cpy_r_r15, cpy_r_r15, cpy_r_r17); @@ -8568,7 +8568,7 @@ CPyL3: ; CPyModule_typing = cpy_r_r18; CPy_INCREF(CPyModule_typing); CPy_DECREF(cpy_r_r18); - cpy_r_r19 = CPyStatics[672]; /* ('build_function_selector', 'build_function_signature') */ + cpy_r_r19 = CPyStatics[673]; /* ('build_function_selector', 'build_function_signature') */ cpy_r_r20 = CPyStatics[203]; /* 'brownie.convert.utils' */ cpy_r_r21 = CPyStatic__abi___globals; cpy_r_r22 = CPyImport_ImportFromMany(cpy_r_r20, cpy_r_r19, cpy_r_r19, cpy_r_r21); @@ -8636,7 +8636,7 @@ CPyL3: ; cpy_r_r45 = Py_None; PyObject *cpy_r_r46[1] = {cpy_r_r45}; cpy_r_r47 = (PyObject **)&cpy_r_r46; - cpy_r_r48 = CPyStatics[673]; /* ('maxsize',) */ + cpy_r_r48 = CPyStatics[674]; /* ('maxsize',) */ cpy_r_r49 = _PyObject_Vectorcall(cpy_r_r44, cpy_r_r47, 0, cpy_r_r48); CPy_DECREF(cpy_r_r44); if (unlikely(cpy_r_r49 == NULL)) { @@ -14223,7 +14223,7 @@ CPyL469: ; goto CPyL678; } CPy_DECREF(cpy_r_r421); - cpy_r_r425 = CPyStatics[618]; /* 10 */ + cpy_r_r425 = CPyStatics[619]; /* 10 */ cpy_r_r426 = CPyNumber_Power(cpy_r_r425, cpy_r_r424); CPy_DECREF(cpy_r_r424); if (unlikely(cpy_r_r426 == NULL)) { @@ -19140,7 +19140,7 @@ CPyL11: ; } cpy_r_r19 = cpy_r_r17; if (cpy_r_r19) goto CPyL213; - cpy_r_r20 = CPyStatics[608]; /* b'Unexpected error' */ + cpy_r_r20 = CPyStatics[609]; /* b'Unexpected error' */ cpy_r_r21 = ((dank_mids___brownie_patch___call___decode_output_envObject *)cpy_r_r4)->_data; if (unlikely(cpy_r_r21 == NULL)) { CPy_AttributeError("dank_mids\\brownie_patch\\call.py", "decode_output", "decode_output_env", "data", 207, CPyStatic_call___globals); @@ -22122,7 +22122,7 @@ CPyL4: ; } cpy_r_r5 = (PyObject *)&_Py_NoneStruct; cpy_r_r6 = (PyObject *)&_Py_NoneStruct; - cpy_r_r7 = CPyStatics[620]; /* 4 */ + cpy_r_r7 = CPyStatics[621]; /* 4 */ cpy_r_r8 = PySlice_New(cpy_r_r5, cpy_r_r7, cpy_r_r6); if (unlikely(cpy_r_r8 == NULL)) { CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 283, CPyStatic_call___globals); @@ -22203,7 +22203,7 @@ CPyL16: ; } cpy_r_r31 = (PyObject *)&_Py_NoneStruct; cpy_r_r32 = (PyObject *)&_Py_NoneStruct; - cpy_r_r33 = CPyStatics[620]; /* 4 */ + cpy_r_r33 = CPyStatics[621]; /* 4 */ cpy_r_r34 = PySlice_New(cpy_r_r33, cpy_r_r31, cpy_r_r32); if (unlikely(cpy_r_r34 == NULL)) { CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 285, CPyStatic_call___globals); @@ -22227,7 +22227,7 @@ CPyL16: ; CPy_DECREF(cpy_r_r21); CPy_DECREF(cpy_r_r23); CPy_DECREF(cpy_r_r35); - cpy_r_r40 = CPyStatics[619]; /* 0 */ + cpy_r_r40 = CPyStatics[620]; /* 0 */ cpy_r_r41 = PyObject_GetItem(cpy_r_r39, cpy_r_r40); CPy_DECREF(cpy_r_r39); if (unlikely(cpy_r_r41 == NULL)) { @@ -22316,7 +22316,7 @@ CPyL35: ; } cpy_r_r60 = (PyObject *)&_Py_NoneStruct; cpy_r_r61 = (PyObject *)&_Py_NoneStruct; - cpy_r_r62 = CPyStatics[620]; /* 4 */ + cpy_r_r62 = CPyStatics[621]; /* 4 */ cpy_r_r63 = PySlice_New(cpy_r_r62, cpy_r_r60, cpy_r_r61); if (unlikely(cpy_r_r63 == NULL)) { CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "__validate_output", 288, CPyStatic_call___globals); @@ -22339,7 +22339,7 @@ CPyL35: ; } CPy_DECREF(cpy_r_r64); cpy_r_r69 = (PyObject *)&PyLong_Type; - cpy_r_r70 = CPyStatics[621]; /* 16 */ + cpy_r_r70 = CPyStatics[622]; /* 16 */ PyObject *cpy_r_r71[2] = {cpy_r_r68, cpy_r_r70}; cpy_r_r72 = (PyObject **)&cpy_r_r71; cpy_r_r73 = _PyObject_Vectorcall(cpy_r_r69, cpy_r_r72, 2, 0); @@ -23693,7 +23693,7 @@ PyObject *CPyDef_call____format_array_but_cache_checksums(PyObject *cpy_r_abi_ty CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 351, CPyStatic_call___globals); goto CPyL48; } - cpy_r_r2 = CPyStatics[622]; /* -1 */ + cpy_r_r2 = CPyStatics[623]; /* -1 */ cpy_r_r3 = PyObject_GetItem(cpy_r_r1, cpy_r_r2); CPy_DECREF(cpy_r_r1); if (unlikely(cpy_r_r3 == NULL)) { @@ -23715,14 +23715,14 @@ PyObject *CPyDef_call____format_array_but_cache_checksums(PyObject *cpy_r_abi_ty CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 351, CPyStatic_call___globals); goto CPyL48; } - cpy_r_r8 = CPyStatics[622]; /* -1 */ + cpy_r_r8 = CPyStatics[623]; /* -1 */ cpy_r_r9 = PyObject_GetItem(cpy_r_r7, cpy_r_r8); CPy_DECREF(cpy_r_r7); if (unlikely(cpy_r_r9 == NULL)) { CPy_AddTraceback("dank_mids\\brownie_patch\\call.py", "_format_array_but_cache_checksums", 351, CPyStatic_call___globals); goto CPyL48; } - cpy_r_r10 = CPyStatics[619]; /* 0 */ + cpy_r_r10 = CPyStatics[620]; /* 0 */ cpy_r_r11 = PyObject_GetItem(cpy_r_r9, cpy_r_r10); CPy_DECREF(cpy_r_r9); if (unlikely(cpy_r_r11 == NULL)) { @@ -25109,13 +25109,13 @@ CPyL3: ; cpy_r_r7 = (void *)&cpy_r_r6; int64_t cpy_r_r8[1] = {1}; cpy_r_r9 = (void *)&cpy_r_r8; - cpy_r_r10 = CPyStatics[675]; /* (('decimal', 'decimal', 'decimal'),) */ + cpy_r_r10 = CPyStatics[676]; /* (('decimal', 'decimal', 'decimal'),) */ cpy_r_r11 = CPyStatic_call___globals; cpy_r_r12 = CPyStatics[284]; /* 'dank_mids\\brownie_patch\\call.py' */ cpy_r_r13 = CPyStatics[20]; /* '' */ cpy_r_r14 = CPyImport_ImportMany(cpy_r_r10, cpy_r_r7, cpy_r_r11, cpy_r_r12, cpy_r_r13, cpy_r_r9); if (!cpy_r_r14) goto CPyL222; - cpy_r_r15 = CPyStatics[676]; /* ('BrokenProcessPool',) */ + cpy_r_r15 = CPyStatics[677]; /* ('BrokenProcessPool',) */ cpy_r_r16 = CPyStatics[285]; /* 'concurrent.futures.process' */ cpy_r_r17 = CPyStatic_call___globals; cpy_r_r18 = CPyImport_ImportFromMany(cpy_r_r16, cpy_r_r15, cpy_r_r15, cpy_r_r17); @@ -25126,7 +25126,7 @@ CPyL3: ; CPyModule_concurrent___futures___process = cpy_r_r18; CPy_INCREF(CPyModule_concurrent___futures___process); CPy_DECREF(cpy_r_r18); - cpy_r_r19 = CPyStatics[677]; /* ('Logger',) */ + cpy_r_r19 = CPyStatics[678]; /* ('Logger',) */ cpy_r_r20 = CPyStatics[119]; /* 'logging' */ cpy_r_r21 = CPyStatic_call___globals; cpy_r_r22 = CPyImport_ImportFromMany(cpy_r_r20, cpy_r_r19, cpy_r_r19, cpy_r_r21); @@ -25137,7 +25137,7 @@ CPyL3: ; CPyModule_logging = cpy_r_r22; CPy_INCREF(CPyModule_logging); CPy_DECREF(cpy_r_r22); - cpy_r_r23 = CPyStatics[678]; /* ('PicklingError',) */ + cpy_r_r23 = CPyStatics[679]; /* ('PicklingError',) */ cpy_r_r24 = CPyStatics[287]; /* 'pickle' */ cpy_r_r25 = CPyStatic_call___globals; cpy_r_r26 = CPyImport_ImportFromMany(cpy_r_r24, cpy_r_r23, cpy_r_r23, cpy_r_r25); @@ -25148,7 +25148,7 @@ CPyL3: ; CPyModule_pickle = cpy_r_r26; CPy_INCREF(CPyModule_pickle); CPy_DECREF(cpy_r_r26); - cpy_r_r27 = CPyStatics[679]; /* ('MethodType', 'ModuleType') */ + cpy_r_r27 = CPyStatics[680]; /* ('MethodType', 'ModuleType') */ cpy_r_r28 = CPyStatics[289]; /* 'types' */ cpy_r_r29 = CPyStatic_call___globals; cpy_r_r30 = CPyImport_ImportFromMany(cpy_r_r28, cpy_r_r27, cpy_r_r27, cpy_r_r29); @@ -25159,7 +25159,7 @@ CPyL3: ; CPyModule_types = cpy_r_r30; CPy_INCREF(CPyModule_types); CPy_DECREF(cpy_r_r30); - cpy_r_r31 = CPyStatics[680]; /* ('Any', 'Callable', 'Dict', 'Final', 'List', 'NewType', + cpy_r_r31 = CPyStatics[681]; /* ('Any', 'Callable', 'Dict', 'Final', 'List', 'NewType', 'Optional', 'Sequence', 'Tuple', 'TypeVar', 'Union') */ cpy_r_r32 = CPyStatics[7]; /* 'typing' */ cpy_r_r33 = CPyStatic_call___globals; @@ -25180,7 +25180,7 @@ CPyL3: ; cpy_r_r41 = (void *)&cpy_r_r40; int64_t cpy_r_r42[5] = {20, 21, 22, 23, 24}; cpy_r_r43 = (void *)&cpy_r_r42; - cpy_r_r44 = CPyStatics[686]; /* (('brownie.convert.datatypes', 'brownie', 'brownie'), + cpy_r_r44 = CPyStatics[687]; /* (('brownie.convert.datatypes', 'brownie', 'brownie'), ('brownie.convert.normalize', 'brownie', 'brownie'), ('brownie.network.contract', 'brownie', 'brownie'), ('eth_abi', 'eth_abi', 'eth_abi'), @@ -25190,7 +25190,7 @@ CPyL3: ; cpy_r_r47 = CPyStatics[20]; /* '' */ cpy_r_r48 = CPyImport_ImportMany(cpy_r_r44, cpy_r_r41, cpy_r_r45, cpy_r_r46, cpy_r_r47, cpy_r_r43); if (!cpy_r_r48) goto CPyL222; - cpy_r_r49 = CPyStatics[687]; /* ('AsyncProcessPoolExecutor',) */ + cpy_r_r49 = CPyStatics[688]; /* ('AsyncProcessPoolExecutor',) */ cpy_r_r50 = CPyStatics[18]; /* 'a_sync' */ cpy_r_r51 = CPyStatic_call___globals; cpy_r_r52 = CPyImport_ImportFromMany(cpy_r_r50, cpy_r_r49, cpy_r_r49, cpy_r_r51); @@ -25201,7 +25201,7 @@ CPyL3: ; CPyModule_a_sync = cpy_r_r52; CPy_INCREF(CPyModule_a_sync); CPy_DECREF(cpy_r_r52); - cpy_r_r53 = CPyStatics[688]; /* ('chain',) */ + cpy_r_r53 = CPyStatics[689]; /* ('chain',) */ cpy_r_r54 = CPyStatics[193]; /* 'brownie' */ cpy_r_r55 = CPyStatic_call___globals; cpy_r_r56 = CPyImport_ImportFromMany(cpy_r_r54, cpy_r_r53, cpy_r_r53, cpy_r_r55); @@ -25212,7 +25212,7 @@ CPyL3: ; CPyModule_brownie = cpy_r_r56; CPy_INCREF(CPyModule_brownie); CPy_DECREF(cpy_r_r56); - cpy_r_r57 = CPyStatics[689]; /* ('ABIType',) */ + cpy_r_r57 = CPyStatics[690]; /* ('ABIType',) */ cpy_r_r58 = CPyStatics[297]; /* 'brownie.convert.normalize' */ cpy_r_r59 = CPyStatic_call___globals; cpy_r_r60 = CPyImport_ImportFromMany(cpy_r_r58, cpy_r_r57, cpy_r_r57, cpy_r_r59); @@ -25223,7 +25223,7 @@ CPyL3: ; CPyModule_brownie___convert___normalize = cpy_r_r60; CPy_INCREF(CPyModule_brownie___convert___normalize); CPy_DECREF(cpy_r_r60); - cpy_r_r61 = CPyStatics[690]; /* ('get_type_strings',) */ + cpy_r_r61 = CPyStatics[691]; /* ('get_type_strings',) */ cpy_r_r62 = CPyStatics[203]; /* 'brownie.convert.utils' */ cpy_r_r63 = CPyStatic_call___globals; cpy_r_r64 = CPyImport_ImportFromMany(cpy_r_r62, cpy_r_r61, cpy_r_r61, cpy_r_r63); @@ -25234,7 +25234,7 @@ CPyL3: ; CPyModule_brownie___convert___utils = cpy_r_r64; CPy_INCREF(CPyModule_brownie___convert___utils); CPy_DECREF(cpy_r_r64); - cpy_r_r65 = CPyStatics[691]; /* ('VirtualMachineError',) */ + cpy_r_r65 = CPyStatics[692]; /* ('VirtualMachineError',) */ cpy_r_r66 = CPyStatics[302]; /* 'brownie.exceptions' */ cpy_r_r67 = CPyStatic_call___globals; cpy_r_r68 = CPyImport_ImportFromMany(cpy_r_r66, cpy_r_r65, cpy_r_r65, cpy_r_r67); @@ -25245,7 +25245,7 @@ CPyL3: ; CPyModule_brownie___exceptions = cpy_r_r68; CPy_INCREF(CPyModule_brownie___exceptions); CPy_DECREF(cpy_r_r68); - cpy_r_r69 = CPyStatics[692]; /* ('ContractCall',) */ + cpy_r_r69 = CPyStatics[693]; /* ('ContractCall',) */ cpy_r_r70 = CPyStatics[298]; /* 'brownie.network.contract' */ cpy_r_r71 = CPyStatic_call___globals; cpy_r_r72 = CPyImport_ImportFromMany(cpy_r_r70, cpy_r_r69, cpy_r_r69, cpy_r_r71); @@ -25256,7 +25256,7 @@ CPyL3: ; CPyModule_brownie___network___contract = cpy_r_r72; CPy_INCREF(CPyModule_brownie___network___contract); CPy_DECREF(cpy_r_r72); - cpy_r_r73 = CPyStatics[693]; /* ('SOLIDITY_ERROR_CODES',) */ + cpy_r_r73 = CPyStatics[694]; /* ('SOLIDITY_ERROR_CODES',) */ cpy_r_r74 = CPyStatics[304]; /* 'brownie.project.compiler.solidity' */ cpy_r_r75 = CPyStatic_call___globals; cpy_r_r76 = CPyImport_ImportFromMany(cpy_r_r74, cpy_r_r73, cpy_r_r73, cpy_r_r75); @@ -25267,7 +25267,7 @@ CPyL3: ; CPyModule_brownie___project___compiler___solidity = cpy_r_r76; CPy_INCREF(CPyModule_brownie___project___compiler___solidity); CPy_DECREF(cpy_r_r76); - cpy_r_r77 = CPyStatics[694]; /* ('InsufficientDataBytes',) */ + cpy_r_r77 = CPyStatics[695]; /* ('InsufficientDataBytes',) */ cpy_r_r78 = CPyStatics[305]; /* 'eth_abi.exceptions' */ cpy_r_r79 = CPyStatic_call___globals; cpy_r_r80 = CPyImport_ImportFromMany(cpy_r_r78, cpy_r_r77, cpy_r_r77, cpy_r_r79); @@ -25278,7 +25278,7 @@ CPyL3: ; CPyModule_eth_abi___exceptions = cpy_r_r80; CPy_INCREF(CPyModule_eth_abi___exceptions); CPy_DECREF(cpy_r_r80); - cpy_r_r81 = CPyStatics[650]; /* ('HexStr',) */ + cpy_r_r81 = CPyStatics[651]; /* ('HexStr',) */ cpy_r_r82 = CPyStatics[85]; /* 'eth_typing' */ cpy_r_r83 = CPyStatic_call___globals; cpy_r_r84 = CPyImport_ImportFromMany(cpy_r_r82, cpy_r_r81, cpy_r_r81, cpy_r_r83); @@ -25289,7 +25289,7 @@ CPyL3: ; CPyModule_eth_typing = cpy_r_r84; CPy_INCREF(CPyModule_eth_typing); CPy_DECREF(cpy_r_r84); - cpy_r_r85 = CPyStatics[695]; /* ('Address',) */ + cpy_r_r85 = CPyStatics[696]; /* ('Address',) */ cpy_r_r86 = CPyStatics[307]; /* 'evmspec.data' */ cpy_r_r87 = CPyStatic_call___globals; cpy_r_r88 = CPyImport_ImportFromMany(cpy_r_r86, cpy_r_r85, cpy_r_r85, cpy_r_r87); @@ -25300,7 +25300,7 @@ CPyL3: ; CPyModule_evmspec___data = cpy_r_r88; CPy_INCREF(CPyModule_evmspec___data); CPy_DECREF(cpy_r_r88); - cpy_r_r89 = CPyStatics[696]; /* ('BytesLike',) */ + cpy_r_r89 = CPyStatics[697]; /* ('BytesLike',) */ cpy_r_r90 = CPyStatics[309]; /* 'hexbytes.main' */ cpy_r_r91 = CPyStatic_call___globals; cpy_r_r92 = CPyImport_ImportFromMany(cpy_r_r90, cpy_r_r89, cpy_r_r89, cpy_r_r91); @@ -25311,7 +25311,7 @@ CPyL3: ; CPyModule_hexbytes___main = cpy_r_r92; CPy_INCREF(CPyModule_hexbytes___main); CPy_DECREF(cpy_r_r92); - cpy_r_r93 = CPyStatics[697]; /* ('MULTICALL2_ADDRESSES',) */ + cpy_r_r93 = CPyStatics[698]; /* ('MULTICALL2_ADDRESSES',) */ cpy_r_r94 = CPyStatics[311]; /* 'multicall.constants' */ cpy_r_r95 = CPyStatic_call___globals; cpy_r_r96 = CPyImport_ImportFromMany(cpy_r_r94, cpy_r_r93, cpy_r_r93, cpy_r_r95); @@ -25322,7 +25322,7 @@ CPyL3: ; CPyModule_multicall___constants = cpy_r_r96; CPy_INCREF(CPyModule_multicall___constants); CPy_DECREF(cpy_r_r96); - cpy_r_r97 = CPyStatics[698]; /* ('BlockIdentifier',) */ + cpy_r_r97 = CPyStatics[699]; /* ('BlockIdentifier',) */ cpy_r_r98 = CPyStatics[313]; /* 'web3.types' */ cpy_r_r99 = CPyStatic_call___globals; cpy_r_r100 = CPyImport_ImportFromMany(cpy_r_r98, cpy_r_r97, cpy_r_r97, cpy_r_r99); @@ -25333,7 +25333,7 @@ CPyL3: ; CPyModule_web3___types = cpy_r_r100; CPy_INCREF(CPyModule_web3___types); CPy_DECREF(cpy_r_r100); - cpy_r_r101 = CPyStatics[699]; /* ('ENVIRONMENT_VARIABLES', 'exceptions') */ + cpy_r_r101 = CPyStatics[700]; /* ('ENVIRONMENT_VARIABLES', 'exceptions') */ cpy_r_r102 = CPyStatics[9]; /* 'dank_mids' */ cpy_r_r103 = CPyStatic_call___globals; cpy_r_r104 = CPyImport_ImportFromMany(cpy_r_r102, cpy_r_r101, cpy_r_r101, cpy_r_r103); @@ -25344,7 +25344,7 @@ CPyL3: ; CPyModule_dank_mids = cpy_r_r104; CPy_INCREF(CPyModule_dank_mids); CPy_DECREF(cpy_r_r104); - cpy_r_r105 = CPyStatics[641]; /* ('getLogger',) */ + cpy_r_r105 = CPyStatics[642]; /* ('getLogger',) */ cpy_r_r106 = CPyStatics[11]; /* 'dank_mids._logging' */ cpy_r_r107 = CPyStatic_call___globals; cpy_r_r108 = CPyImport_ImportFromMany(cpy_r_r106, cpy_r_r105, cpy_r_r105, cpy_r_r107); @@ -25355,7 +25355,7 @@ CPyL3: ; CPyModule_dank_mids____logging = cpy_r_r108; CPy_INCREF(CPyModule_dank_mids____logging); CPy_DECREF(cpy_r_r108); - cpy_r_r109 = CPyStatics[700]; /* ('ContractMethod',) */ + cpy_r_r109 = CPyStatics[701]; /* ('ContractMethod',) */ cpy_r_r110 = CPyStatics[183]; /* 'dank_mids.brownie_patch.types' */ cpy_r_r111 = CPyStatic_call___globals; cpy_r_r112 = CPyImport_ImportFromMany(cpy_r_r110, cpy_r_r109, cpy_r_r109, cpy_r_r111); @@ -25366,7 +25366,7 @@ CPyL3: ; CPyModule_dank_mids___brownie_patch___types = cpy_r_r112; CPy_INCREF(CPyModule_dank_mids___brownie_patch___types); CPy_DECREF(cpy_r_r112); - cpy_r_r113 = CPyStatics[701]; /* ('lru_cache_lite_nonull',) */ + cpy_r_r113 = CPyStatics[702]; /* ('lru_cache_lite_nonull',) */ cpy_r_r114 = CPyStatics[317]; /* 'dank_mids.helpers.lru_cache' */ cpy_r_r115 = CPyStatic_call___globals; cpy_r_r116 = CPyImport_ImportFromMany(cpy_r_r114, cpy_r_r113, cpy_r_r113, cpy_r_r115); @@ -25377,7 +25377,7 @@ CPyL3: ; CPyModule_dank_mids___helpers___lru_cache = cpy_r_r116; CPy_INCREF(CPyModule_dank_mids___helpers___lru_cache); CPy_DECREF(cpy_r_r116); - cpy_r_r117 = CPyStatics[666]; /* ('DankWeb3',) */ + cpy_r_r117 = CPyStatics[667]; /* ('DankWeb3',) */ cpy_r_r118 = CPyStatics[188]; /* 'dank_mids.helpers._helpers' */ cpy_r_r119 = CPyStatic_call___globals; cpy_r_r120 = CPyImport_ImportFromMany(cpy_r_r118, cpy_r_r117, cpy_r_r117, cpy_r_r119); @@ -30133,7 +30133,7 @@ char CPyDef_overloaded_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[702]; /* ('wraps',) */ + cpy_r_r5 = CPyStatics[703]; /* ('wraps',) */ cpy_r_r6 = CPyStatics[201]; /* 'functools' */ cpy_r_r7 = CPyStatic_overloaded___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -30144,7 +30144,7 @@ CPyL3: ; CPyModule_functools = cpy_r_r8; CPy_INCREF(CPyModule_functools); CPy_DECREF(cpy_r_r8); - cpy_r_r9 = CPyStatics[703]; /* ('MethodType',) */ + cpy_r_r9 = CPyStatics[704]; /* ('MethodType',) */ cpy_r_r10 = CPyStatics[289]; /* 'types' */ cpy_r_r11 = CPyStatic_overloaded___globals; cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); @@ -30155,7 +30155,7 @@ CPyL3: ; CPyModule_types = cpy_r_r12; CPy_INCREF(CPyModule_types); CPy_DECREF(cpy_r_r12); - cpy_r_r13 = CPyStatics[704]; /* ('Any', 'Dict', 'Optional', 'Union') */ + cpy_r_r13 = CPyStatics[705]; /* ('Any', 'Dict', 'Optional', 'Union') */ cpy_r_r14 = CPyStatics[7]; /* 'typing' */ cpy_r_r15 = CPyStatic_overloaded___globals; cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); @@ -30166,7 +30166,7 @@ CPyL3: ; CPyModule_typing = cpy_r_r16; CPy_INCREF(CPyModule_typing); CPy_DECREF(cpy_r_r16); - cpy_r_r17 = CPyStatics[705]; /* ('Contract',) */ + cpy_r_r17 = CPyStatics[706]; /* ('Contract',) */ cpy_r_r18 = CPyStatics[193]; /* 'brownie' */ cpy_r_r19 = CPyStatic_overloaded___globals; cpy_r_r20 = CPyImport_ImportFromMany(cpy_r_r18, cpy_r_r17, cpy_r_r17, cpy_r_r19); @@ -30177,7 +30177,7 @@ CPyL3: ; CPyModule_brownie = cpy_r_r20; CPy_INCREF(CPyModule_brownie); CPy_DECREF(cpy_r_r20); - cpy_r_r21 = CPyStatics[706]; /* ('ContractCall', 'ContractTx', 'OverloadedMethod') */ + cpy_r_r21 = CPyStatics[707]; /* ('ContractCall', 'ContractTx', 'OverloadedMethod') */ cpy_r_r22 = CPyStatics[298]; /* 'brownie.network.contract' */ cpy_r_r23 = CPyStatic_overloaded___globals; cpy_r_r24 = CPyImport_ImportFromMany(cpy_r_r22, cpy_r_r21, cpy_r_r21, cpy_r_r23); @@ -30188,7 +30188,7 @@ CPyL3: ; CPyModule_brownie___network___contract = cpy_r_r24; CPy_INCREF(CPyModule_brownie___network___contract); CPy_DECREF(cpy_r_r24); - cpy_r_r25 = CPyStatics[707]; /* ('_get_coroutine_fn', '_skip_proc_pool') */ + cpy_r_r25 = CPyStatics[708]; /* ('_get_coroutine_fn', '_skip_proc_pool') */ cpy_r_r26 = CPyStatics[381]; /* 'dank_mids.brownie_patch.call' */ cpy_r_r27 = CPyStatic_overloaded___globals; cpy_r_r28 = CPyImport_ImportFromMany(cpy_r_r26, cpy_r_r25, cpy_r_r25, cpy_r_r27); @@ -30199,7 +30199,7 @@ CPyL3: ; CPyModule_dank_mids___brownie_patch___call = cpy_r_r28; CPy_INCREF(CPyModule_dank_mids___brownie_patch___call); CPy_DECREF(cpy_r_r28); - cpy_r_r29 = CPyStatics[700]; /* ('ContractMethod',) */ + cpy_r_r29 = CPyStatics[701]; /* ('ContractMethod',) */ cpy_r_r30 = CPyStatics[183]; /* 'dank_mids.brownie_patch.types' */ cpy_r_r31 = CPyStatic_overloaded___globals; cpy_r_r32 = CPyImport_ImportFromMany(cpy_r_r30, cpy_r_r29, cpy_r_r29, cpy_r_r31); @@ -30210,7 +30210,7 @@ CPyL3: ; CPyModule_dank_mids___brownie_patch___types = cpy_r_r32; CPy_INCREF(CPyModule_dank_mids___brownie_patch___types); CPy_DECREF(cpy_r_r32); - cpy_r_r33 = CPyStatics[666]; /* ('DankWeb3',) */ + cpy_r_r33 = CPyStatics[667]; /* ('DankWeb3',) */ cpy_r_r34 = CPyStatics[188]; /* 'dank_mids.helpers._helpers' */ cpy_r_r35 = CPyStatic_overloaded___globals; cpy_r_r36 = CPyImport_ImportFromMany(cpy_r_r34, cpy_r_r33, cpy_r_r33, cpy_r_r35); @@ -32641,7 +32641,7 @@ char CPyDef_types_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[708]; /* ('Any', 'Dict', 'Optional', 'Tuple', 'TypeVar', 'Union', + cpy_r_r5 = CPyStatics[709]; /* ('Any', 'Dict', 'Optional', 'Tuple', 'TypeVar', 'Union', 'final') */ cpy_r_r6 = CPyStatics[7]; /* 'typing' */ cpy_r_r7 = CPyStatic_types___globals; @@ -32653,7 +32653,7 @@ CPyL3: ; CPyModule_typing = cpy_r_r8; CPy_INCREF(CPyModule_typing); CPy_DECREF(cpy_r_r8); - cpy_r_r9 = CPyStatics[706]; /* ('ContractCall', 'ContractTx', 'OverloadedMethod') */ + cpy_r_r9 = CPyStatics[707]; /* ('ContractCall', 'ContractTx', 'OverloadedMethod') */ cpy_r_r10 = CPyStatics[298]; /* 'brownie.network.contract' */ cpy_r_r11 = CPyStatic_types___globals; cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); @@ -32664,7 +32664,7 @@ CPyL3: ; CPyModule_brownie___network___contract = cpy_r_r12; CPy_INCREF(CPyModule_brownie___network___contract); CPy_DECREF(cpy_r_r12); - cpy_r_r13 = CPyStatics[709]; /* ('AccountsType',) */ + cpy_r_r13 = CPyStatics[710]; /* ('AccountsType',) */ cpy_r_r14 = CPyStatics[393]; /* 'brownie.typing' */ cpy_r_r15 = CPyStatic_types___globals; cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); @@ -32675,7 +32675,7 @@ CPyL3: ; CPyModule_brownie___typing = cpy_r_r16; CPy_INCREF(CPyModule_brownie___typing); CPy_DECREF(cpy_r_r16); - cpy_r_r17 = CPyStatics[710]; /* ('_DankMethod', '_DankMethodMixin', '_EVMType') */ + cpy_r_r17 = CPyStatics[711]; /* ('_DankMethod', '_DankMethodMixin', '_EVMType') */ cpy_r_r18 = CPyStatics[397]; /* 'dank_mids.brownie_patch._method' */ cpy_r_r19 = CPyStatic_types___globals; cpy_r_r20 = CPyImport_ImportFromMany(cpy_r_r18, cpy_r_r17, cpy_r_r17, cpy_r_r19); @@ -33310,7 +33310,7 @@ CPyL4: ; CPyL7: ; PyObject *cpy_r_r4[2] = {cpy_r_data, cpy_r_r0}; cpy_r_r5 = (PyObject **)&cpy_r_r4; - cpy_r_r6 = CPyStatics[711]; /* ('type',) */ + cpy_r_r6 = CPyStatics[712]; /* ('type',) */ cpy_r_r7 = _PyObject_Vectorcall(cpy_r_r2, cpy_r_r5, 1, cpy_r_r6); if (unlikely(cpy_r_r7 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_raw", 45, CPyStatic__codec___globals); @@ -33533,7 +33533,7 @@ CPyL2: ; CPyL4: ; PyObject *cpy_r_r5[2] = {cpy_r_data, cpy_r_r2}; cpy_r_r6 = (PyObject **)&cpy_r_r5; - cpy_r_r7 = CPyStatics[711]; /* ('type',) */ + cpy_r_r7 = CPyStatics[712]; /* ('type',) */ cpy_r_r8 = _PyObject_Vectorcall(cpy_r_r3, cpy_r_r6, 1, cpy_r_r7); if (unlikely(cpy_r_r8 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "decode_jsonrpc_batch", 61, CPyStatic__codec___globals); @@ -33694,7 +33694,7 @@ CPyL3: ; CPyL6: ; PyObject *cpy_r_r4[2] = {cpy_r_obj, cpy_r_r0}; cpy_r_r5 = (PyObject **)&cpy_r_r4; - cpy_r_r6 = CPyStatics[712]; /* ('enc_hook',) */ + cpy_r_r6 = CPyStatics[713]; /* ('enc_hook',) */ cpy_r_r7 = _PyObject_Vectorcall(cpy_r_r2, cpy_r_r5, 1, cpy_r_r6); if (unlikely(cpy_r_r7 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "encode", 80, CPyStatic__codec___globals); @@ -34206,7 +34206,7 @@ CPyL32: ; CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "__encode_elements_new", 105, CPyStatic__codec___globals); goto CPyL58; } - cpy_r_r67 = CPyStatics[609]; /* b'' */ + cpy_r_r67 = CPyStatics[610]; /* b'' */ cpy_r_r68 = CPyStatic__codec___globals; cpy_r_r69 = CPyStatics[300]; /* 'chain' */ cpy_r_r70 = CPyDict_GetItem(cpy_r_r68, cpy_r_r69); @@ -35188,7 +35188,7 @@ char CPyDef__codec_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[713]; /* ('accumulate', 'chain') */ + cpy_r_r5 = CPyStatics[714]; /* ('accumulate', 'chain') */ cpy_r_r6 = CPyStatics[405]; /* 'itertools' */ cpy_r_r7 = CPyStatic__codec___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -35199,7 +35199,7 @@ CPyL3: ; CPyModule_itertools = cpy_r_r8; CPy_INCREF(CPyModule_itertools); CPy_DECREF(cpy_r_r8); - cpy_r_r9 = CPyStatics[714]; /* ('Any', 'AnyStr', 'Callable', 'Final', 'Iterable', 'List', + cpy_r_r9 = CPyStatics[715]; /* ('Any', 'AnyStr', 'Callable', 'Final', 'Iterable', 'List', 'Union', 'Tuple', 'TypeVar') */ cpy_r_r10 = CPyStatics[7]; /* 'typing' */ cpy_r_r11 = CPyStatic__codec___globals; @@ -35217,14 +35217,14 @@ CPyL3: ; cpy_r_r16 = (void *)&cpy_r_r15; int64_t cpy_r_r17[2] = {4, 5}; cpy_r_r18 = (void *)&cpy_r_r17; - cpy_r_r19 = CPyStatics[717]; /* (('msgspec', 'msgspec', 'msgspec'), + cpy_r_r19 = CPyStatics[718]; /* (('msgspec', 'msgspec', 'msgspec'), ('msgspec.json', 'msgspec', 'msgspec')) */ cpy_r_r20 = CPyStatic__codec___globals; cpy_r_r21 = CPyStatics[409]; /* 'dank_mids\\helpers\\_codec.py' */ cpy_r_r22 = CPyStatics[20]; /* '' */ cpy_r_r23 = CPyImport_ImportMany(cpy_r_r19, cpy_r_r16, cpy_r_r20, cpy_r_r21, cpy_r_r22, cpy_r_r18); if (!cpy_r_r23) goto CPyL103; - cpy_r_r24 = CPyStatics[718]; /* ('decoding', 'encoding') */ + cpy_r_r24 = CPyStatics[719]; /* ('decoding', 'encoding') */ cpy_r_r25 = CPyStatics[256]; /* 'eth_abi' */ cpy_r_r26 = CPyStatic__codec___globals; cpy_r_r27 = CPyImport_ImportFromMany(cpy_r_r25, cpy_r_r24, cpy_r_r24, cpy_r_r26); @@ -35235,7 +35235,7 @@ CPyL3: ; CPyModule_eth_abi = cpy_r_r27; CPy_INCREF(CPyModule_eth_abi); CPy_DECREF(cpy_r_r27); - cpy_r_r28 = CPyStatics[719]; /* ('default_codec',) */ + cpy_r_r28 = CPyStatics[720]; /* ('default_codec',) */ cpy_r_r29 = CPyStatics[412]; /* 'eth_abi.abi' */ cpy_r_r30 = CPyStatic__codec___globals; cpy_r_r31 = CPyImport_ImportFromMany(cpy_r_r29, cpy_r_r28, cpy_r_r28, cpy_r_r30); @@ -35246,7 +35246,7 @@ CPyL3: ; CPyModule_eth_abi___abi = cpy_r_r31; CPy_INCREF(CPyModule_eth_abi___abi); CPy_DECREF(cpy_r_r31); - cpy_r_r32 = CPyStatics[720]; /* ('DynamicArrayEncoder', 'TupleEncoder') */ + cpy_r_r32 = CPyStatics[721]; /* ('DynamicArrayEncoder', 'TupleEncoder') */ cpy_r_r33 = CPyStatics[415]; /* 'eth_abi.encoding' */ cpy_r_r34 = CPyStatic__codec___globals; cpy_r_r35 = CPyImport_ImportFromMany(cpy_r_r33, cpy_r_r32, cpy_r_r32, cpy_r_r34); @@ -35257,7 +35257,7 @@ CPyL3: ; CPyModule_eth_abi___encoding = cpy_r_r35; CPy_INCREF(CPyModule_eth_abi___encoding); CPy_DECREF(cpy_r_r35); - cpy_r_r36 = CPyStatics[721]; /* ('types',) */ + cpy_r_r36 = CPyStatics[722]; /* ('types',) */ cpy_r_r37 = CPyStatics[9]; /* 'dank_mids' */ cpy_r_r38 = CPyStatic__codec___globals; cpy_r_r39 = CPyImport_ImportFromMany(cpy_r_r37, cpy_r_r36, cpy_r_r36, cpy_r_r38); @@ -35268,7 +35268,7 @@ CPyL3: ; CPyModule_dank_mids = cpy_r_r39; CPy_INCREF(CPyModule_dank_mids); CPy_DECREF(cpy_r_r39); - cpy_r_r40 = CPyStatics[722]; /* ('JSONRPCBatchResponseRaw', 'MulticallChunk', + cpy_r_r40 = CPyStatics[723]; /* ('JSONRPCBatchResponseRaw', 'MulticallChunk', 'PartialResponse') */ cpy_r_r41 = CPyStatics[417]; /* 'dank_mids.types' */ cpy_r_r42 = CPyStatic__codec___globals; @@ -35776,7 +35776,7 @@ CPyL65: ; CPy_AddTraceback("dank_mids\\helpers\\_codec.py", "", 88, CPyStatic__codec___globals); goto CPyL103; } - cpy_r_r214 = CPyStatics[622]; /* -1 */ + cpy_r_r214 = CPyStatics[623]; /* -1 */ cpy_r_r215 = PyObject_GetItem(cpy_r_r213, cpy_r_r214); CPy_DECREF(cpy_r_r213); if (unlikely(cpy_r_r215 == NULL)) { @@ -36416,7 +36416,7 @@ CPyL12: ; cpy_r_r21, cpy_r_batch_objs, cpy_r_r24 }; cpy_r_r26 = (PyObject **)&cpy_r_r25; - cpy_r_r27 = CPyStatics[652]; /* ('exc_info',) */ + cpy_r_r27 = CPyStatics[653]; /* ('exc_info',) */ cpy_r_r28 = PyObject_VectorcallMethod(cpy_r_r22, cpy_r_r26, 9223372036854775815ULL, cpy_r_r27); if (unlikely(cpy_r_r28 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_errors.py", "log_internal_error", 52, CPyStatic__errors___globals); @@ -37037,7 +37037,7 @@ char CPyDef__errors_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[677]; /* ('Logger',) */ + cpy_r_r5 = CPyStatics[678]; /* ('Logger',) */ cpy_r_r6 = CPyStatics[119]; /* 'logging' */ cpy_r_r7 = CPyStatic__errors___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -37048,7 +37048,7 @@ CPyL3: ; CPyModule_logging = cpy_r_r8; CPy_INCREF(CPyModule_logging); CPy_DECREF(cpy_r_r8); - cpy_r_r9 = CPyStatics[723]; /* ('TYPE_CHECKING', 'Any', 'Final') */ + cpy_r_r9 = CPyStatics[724]; /* ('TYPE_CHECKING', 'Any', 'Final') */ cpy_r_r10 = CPyStatics[7]; /* 'typing' */ cpy_r_r11 = CPyStatic__errors___globals; cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); @@ -37059,7 +37059,7 @@ CPyL3: ; CPyModule_typing = cpy_r_r12; CPy_INCREF(CPyModule_typing); CPy_DECREF(cpy_r_r12); - cpy_r_r13 = CPyStatics[724]; /* ('BadResponse',) */ + cpy_r_r13 = CPyStatics[725]; /* ('BadResponse',) */ cpy_r_r14 = CPyStatics[130]; /* 'dank_mids._exceptions' */ cpy_r_r15 = CPyStatic__errors___globals; cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); @@ -37070,7 +37070,7 @@ CPyL3: ; CPyModule_dank_mids____exceptions = cpy_r_r16; CPy_INCREF(CPyModule_dank_mids____exceptions); CPy_DECREF(cpy_r_r16); - cpy_r_r17 = CPyStatics[725]; /* ('DEBUG', 'getLogger') */ + cpy_r_r17 = CPyStatics[726]; /* ('DEBUG', 'getLogger') */ cpy_r_r18 = CPyStatics[11]; /* 'dank_mids._logging' */ cpy_r_r19 = CPyStatic__errors___globals; cpy_r_r20 = CPyImport_ImportFromMany(cpy_r_r18, cpy_r_r17, cpy_r_r17, cpy_r_r19); @@ -37081,7 +37081,7 @@ CPyL3: ; CPyModule_dank_mids____logging = cpy_r_r20; CPy_INCREF(CPyModule_dank_mids____logging); CPy_DECREF(cpy_r_r20); - cpy_r_r21 = CPyStatics[726]; /* ('PartialResponse',) */ + cpy_r_r21 = CPyStatics[727]; /* ('PartialResponse',) */ cpy_r_r22 = CPyStatics[417]; /* 'dank_mids.types' */ cpy_r_r23 = CPyStatic__errors___globals; cpy_r_r24 = CPyImport_ImportFromMany(cpy_r_r22, cpy_r_r21, cpy_r_r21, cpy_r_r23); @@ -37768,8 +37768,13 @@ _gather___first_completed_env_traverse(dank_mids___helpers____gather___first_com Py_VISIT(self->___mypyc_temp__20.f2); Py_VISIT(self->_done); Py_VISIT(self->_pending); - Py_VISIT(self->___mypyc_temp__21); + Py_VISIT(self->___mypyc_temp__21.f0); + Py_VISIT(self->___mypyc_temp__21.f1); + Py_VISIT(self->___mypyc_temp__21.f2); Py_VISIT(self->___mypyc_temp__22); + Py_VISIT(self->_f); + Py_VISIT(self->___mypyc_temp__24); + Py_VISIT(self->___mypyc_temp__25); Py_VISIT(self->_p); return 0; } @@ -37798,8 +37803,13 @@ _gather___first_completed_env_clear(dank_mids___helpers____gather___first_comple Py_CLEAR(self->___mypyc_temp__20.f2); Py_CLEAR(self->_done); Py_CLEAR(self->_pending); - Py_CLEAR(self->___mypyc_temp__21); + Py_CLEAR(self->___mypyc_temp__21.f0); + Py_CLEAR(self->___mypyc_temp__21.f1); + Py_CLEAR(self->___mypyc_temp__21.f2); Py_CLEAR(self->___mypyc_temp__22); + Py_CLEAR(self->_f); + Py_CLEAR(self->___mypyc_temp__24); + Py_CLEAR(self->___mypyc_temp__25); Py_CLEAR(self->_p); return 0; } @@ -37856,6 +37866,8 @@ _gather___first_completed_env_setup(PyTypeObject *type) self->___mypyc_next_label__ = CPY_INT_TAG; self->___mypyc_temp__18 = (tuple_T3OOO) { NULL, NULL, NULL }; self->___mypyc_temp__20 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__21 = (tuple_T3OOO) { NULL, NULL, NULL }; + self->___mypyc_temp__23 = CPY_INT_TAG; return (PyObject *)self; } @@ -38038,6 +38050,8 @@ PyObject *CPyInit_dank_mids___helpers____gather(void) fail: Py_CLEAR(CPyModule_dank_mids___helpers____gather_internal); Py_CLEAR(modname); + CPy_XDECREF(CPyStatic__gather___CancelledError); + CPyStatic__gather___CancelledError = NULL; CPy_XDECREF(CPyStatic__gather___Task); CPyStatic__gather___Task = NULL; CPy_XDECREF(CPyStatic__gather___get_running_loop); @@ -38250,14 +38264,14 @@ PyObject *CPyDef__gather___gatherish_gen_____mypyc_generator_helper__(PyObject * cpy_r_r7 = cpy_r_r6; cpy_r_r8 = ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r___mypyc_self__)->___mypyc_env__; if (unlikely(cpy_r_r8 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_env__", 33, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_gen", "__mypyc_env__", 34, CPyStatic__gather___globals); goto CPyL229; } CPy_INCREF(cpy_r_r8); CPyL1: ; cpy_r_r9 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_next_label__; if (unlikely(cpy_r_r9 == CPY_INT_TAG)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_next_label__", 33, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_next_label__", 34, CPyStatic__gather___globals); goto CPyL230; } CPyTagged_INCREF(cpy_r_r9); @@ -38272,7 +38286,7 @@ CPyL2: ; CPyL3: ; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL228; } CPy_Unreachable(); @@ -38286,14 +38300,14 @@ CPyL6: ; PyErr_SetString(PyExc_NameError, "value for final name \"get_running_loop\" was not set"); cpy_r_r13 = 0; if (unlikely(!cpy_r_r13)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 41, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 42, CPyStatic__gather___globals); goto CPyL228; } CPy_Unreachable(); CPyL8: ; cpy_r_r14 = _PyObject_Vectorcall(cpy_r_r12, 0, 0, 0); if (unlikely(cpy_r_r14 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 41, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 42, CPyStatic__gather___globals); goto CPyL230; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_loop != NULL) { @@ -38302,12 +38316,12 @@ CPyL8: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_loop = cpy_r_r14; cpy_r_r15 = 1; if (unlikely(!cpy_r_r15)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 41, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 42, CPyStatic__gather___globals); goto CPyL230; } cpy_r_r16 = PyList_New(0); if (unlikely(cpy_r_r16 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL230; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__0 != NULL) { @@ -38321,14 +38335,14 @@ CPyL8: ; } cpy_r_r18 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_coros; if (unlikely(cpy_r_r18 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "coros", 44, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "coros", 45, CPyStatic__gather___globals); goto CPyL230; } CPy_INCREF(cpy_r_r18); CPyL13: ; cpy_r_r19 = PyObject_GetIter(cpy_r_r18); if (unlikely(cpy_r_r19 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL233; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__1 != NULL) { @@ -38352,7 +38366,7 @@ CPyL13: ; CPyL16: ; cpy_r_r22 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__2; if (unlikely(cpy_r_r22 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_temp__2", 44, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_temp__2", 45, CPyStatic__gather___globals); goto CPyL230; } CPy_INCREF(cpy_r_r22); @@ -38366,26 +38380,26 @@ CPyL17: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_coro = cpy_r_r23; cpy_r_r24 = 1; if (unlikely(!cpy_r_r24)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL230; } cpy_r_r25 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_coro; if (unlikely(cpy_r_r25 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "coro", 44, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "coro", 45, CPyStatic__gather___globals); goto CPyL230; } CPy_INCREF(cpy_r_r25); CPyL20: ; cpy_r_r26 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_loop; if (unlikely(cpy_r_r26 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "loop", 44, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "loop", 45, CPyStatic__gather___globals); goto CPyL235; } CPy_INCREF(cpy_r_r26); CPyL21: ; cpy_r_r27 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_name; if (unlikely(cpy_r_r27 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "name", 44, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "name", 45, CPyStatic__gather___globals); goto CPyL236; } CPy_INCREF(cpy_r_r27); @@ -38399,17 +38413,17 @@ CPyL23: ; PyErr_SetString(PyExc_NameError, "value for final name \"Task\" was not set"); cpy_r_r29 = 0; if (unlikely(!cpy_r_r29)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL228; } CPy_Unreachable(); CPyL25: ; PyObject *cpy_r_r30[3] = {cpy_r_r25, cpy_r_r26, cpy_r_r27}; cpy_r_r31 = (PyObject **)&cpy_r_r30; - cpy_r_r32 = CPyStatics[727]; /* ('loop', 'name') */ + cpy_r_r32 = CPyStatics[728]; /* ('loop', 'name') */ cpy_r_r33 = _PyObject_Vectorcall(cpy_r_r28, cpy_r_r31, 1, cpy_r_r32); if (unlikely(cpy_r_r33 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL238; } CPy_DECREF(cpy_r_r25); @@ -38427,14 +38441,14 @@ CPyL27: ; CPy_DECREF(cpy_r_r33); cpy_r_r36 = cpy_r_r35 >= 0; if (unlikely(!cpy_r_r36)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL230; } else goto CPyL16; CPyL28: ; cpy_r_r37 = CPy_NoErrOccurred(); if (unlikely(!cpy_r_r37)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL230; } cpy_r_r38 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__0; @@ -38447,7 +38461,7 @@ CPyL30: ; cpy_r_r39 = PyObject_GetIter(cpy_r_r38); CPy_DECREF(cpy_r_r38); if (unlikely(cpy_r_r39 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL230; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_tasks != NULL) { @@ -38456,7 +38470,7 @@ CPyL30: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_tasks = cpy_r_r39; cpy_r_r40 = 1; if (unlikely(!cpy_r_r40)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 44, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 45, CPyStatic__gather___globals); goto CPyL230; } cpy_r_r41 = CPyStatic__gather___yield_to_loop; @@ -38468,20 +38482,20 @@ CPyL33: ; PyErr_SetString(PyExc_NameError, "value for final name \"yield_to_loop\" was not set"); cpy_r_r42 = 0; if (unlikely(!cpy_r_r42)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL228; } CPy_Unreachable(); CPyL35: ; cpy_r_r43 = _PyObject_Vectorcall(cpy_r_r41, 0, 0, 0); if (unlikely(cpy_r_r43 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL230; } cpy_r_r44 = CPy_GetCoro(cpy_r_r43); CPy_DECREF(cpy_r_r43); if (unlikely(cpy_r_r44 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL230; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__3 != NULL) { @@ -38509,7 +38523,7 @@ CPyL39: ; CPyL40: ; cpy_r_r48 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r48 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL242; } cpy_r_r49 = cpy_r_r48; @@ -38524,7 +38538,7 @@ CPyL43: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_next_label__ = 2; cpy_r_r51 = 1; if (unlikely(!cpy_r_r51)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL243; } else goto CPyL244; @@ -38536,7 +38550,7 @@ CPyL45: ; if (!cpy_r_r53) goto CPyL48; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL49; } else goto CPyL245; @@ -38569,7 +38583,7 @@ CPyL51: ; cpy_r_r58 = CPy_YieldFromErrorHandle(cpy_r_r57, cpy_r_r56); CPy_DecRef(cpy_r_r57); if (unlikely(cpy_r_r58 == 2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL246; } if (cpy_r_r58) goto CPyL58; @@ -38675,7 +38689,7 @@ CPyL67: ; CPyL69: ; cpy_r_r67 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r67 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 49, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); goto CPyL242; } cpy_r_r49 = cpy_r_r67; @@ -38690,20 +38704,20 @@ CPyL72: ; PyErr_SetString(PyExc_NameError, "value for final name \"yield_to_loop\" was not set"); cpy_r_r69 = 0; if (unlikely(!cpy_r_r69)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL228; } CPy_Unreachable(); CPyL74: ; cpy_r_r70 = _PyObject_Vectorcall(cpy_r_r68, 0, 0, 0); if (unlikely(cpy_r_r70 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL242; } cpy_r_r71 = CPy_GetCoro(cpy_r_r70); CPy_DECREF(cpy_r_r70); if (unlikely(cpy_r_r71 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL242; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__5 != NULL) { @@ -38731,7 +38745,7 @@ CPyL78: ; CPyL79: ; cpy_r_r75 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r75 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL257; } cpy_r_r76 = cpy_r_r75; @@ -38746,7 +38760,7 @@ CPyL82: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_next_label__ = 4; cpy_r_r78 = 1; if (unlikely(!cpy_r_r78)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL258; } else goto CPyL259; @@ -38758,7 +38772,7 @@ CPyL84: ; if (!cpy_r_r80) goto CPyL87; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL88; } else goto CPyL260; @@ -38791,7 +38805,7 @@ CPyL90: ; cpy_r_r85 = CPy_YieldFromErrorHandle(cpy_r_r84, cpy_r_r83); CPy_DecRef(cpy_r_r84); if (unlikely(cpy_r_r85 == 2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL261; } if (cpy_r_r85) goto CPyL97; @@ -38897,7 +38911,7 @@ CPyL106: ; CPyL108: ; cpy_r_r94 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r94 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 50, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); goto CPyL257; } cpy_r_r76 = cpy_r_r94; @@ -38905,14 +38919,14 @@ CPyL108: ; CPyL110: ; cpy_r_r95 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_tasks; if (unlikely(cpy_r_r95 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "tasks", 51, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "tasks", 52, CPyStatic__gather___globals); goto CPyL257; } CPy_INCREF(cpy_r_r95); CPyL111: ; cpy_r_r96 = PyObject_GetIter(cpy_r_r95); if (unlikely(cpy_r_r96 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 52, CPyStatic__gather___globals); goto CPyL270; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__7 != NULL) { @@ -38936,7 +38950,7 @@ CPyL111: ; CPyL114: ; cpy_r_r99 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__8; if (unlikely(cpy_r_r99 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_temp__8", 51, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_temp__8", 52, CPyStatic__gather___globals); goto CPyL257; } CPy_INCREF(cpy_r_r99); @@ -38950,12 +38964,12 @@ CPyL115: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_task = cpy_r_r100; cpy_r_r101 = 1; if (unlikely(!cpy_r_r101)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 52, CPyStatic__gather___globals); goto CPyL257; } cpy_r_r102 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_task; if (unlikely(cpy_r_r102 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "task", 53, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "task", 54, CPyStatic__gather___globals); goto CPyL273; } CPy_INCREF(cpy_r_r102); @@ -38963,7 +38977,7 @@ CPyL118: ; cpy_r_r103 = CPy_GetCoro(cpy_r_r102); CPy_DECREF(cpy_r_r102); if (unlikely(cpy_r_r103 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 54, CPyStatic__gather___globals); goto CPyL273; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__9 != NULL) { @@ -38987,7 +39001,7 @@ CPyL121: ; if (cpy_r_r106 != NULL) goto CPyL124; cpy_r_r107 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r107 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 54, CPyStatic__gather___globals); goto CPyL273; } cpy_r_r108 = cpy_r_r107; @@ -39002,7 +39016,7 @@ CPyL125: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_next_label__ = 6; cpy_r_r110 = 1; if (unlikely(!cpy_r_r110)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 54, CPyStatic__gather___globals); goto CPyL274; } else goto CPyL275; @@ -39014,7 +39028,7 @@ CPyL127: ; if (!cpy_r_r112) goto CPyL130; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 54, CPyStatic__gather___globals); goto CPyL131; } else goto CPyL276; @@ -39047,7 +39061,7 @@ CPyL133: ; cpy_r_r117 = CPy_YieldFromErrorHandle(cpy_r_r116, cpy_r_r115); CPy_DecRef(cpy_r_r116); if (unlikely(cpy_r_r117 == 2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 54, CPyStatic__gather___globals); goto CPyL277; } if (cpy_r_r117) goto CPyL140; @@ -39145,7 +39159,7 @@ CPyL149: ; CPyL151: ; cpy_r_r126 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r126 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 53, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 54, CPyStatic__gather___globals); goto CPyL273; } cpy_r_r108 = cpy_r_r126; @@ -39168,7 +39182,7 @@ CPyL153: ; cpy_r_r130 = CPyStatics[149]; /* 'Exception' */ cpy_r_r131 = CPyObject_GetAttr(cpy_r_r129, cpy_r_r130); if (unlikely(cpy_r_r131 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 54, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 55, CPyStatic__gather___globals); goto CPyL283; } cpy_r_r132 = CPy_ExceptionMatches(cpy_r_r131); @@ -39176,14 +39190,14 @@ CPyL153: ; if (!cpy_r_r132) goto CPyL284; cpy_r_r133 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_tasks; if (unlikely(cpy_r_r133 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "tasks", 57, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "tasks", 58, CPyStatic__gather___globals); goto CPyL283; } CPy_INCREF(cpy_r_r133); CPyL157: ; cpy_r_r134 = PyObject_GetIter(cpy_r_r133); if (unlikely(cpy_r_r134 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 57, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 58, CPyStatic__gather___globals); goto CPyL285; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__12 != NULL) { @@ -39207,7 +39221,7 @@ CPyL157: ; CPyL160: ; cpy_r_r137 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__13; if (unlikely(cpy_r_r137 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_temp__13", 57, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "__mypyc_temp__13", 58, CPyStatic__gather___globals); goto CPyL283; } CPy_INCREF(cpy_r_r137); @@ -39221,12 +39235,12 @@ CPyL161: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_task = cpy_r_r138; cpy_r_r139 = 1; if (unlikely(!cpy_r_r139)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 57, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 58, CPyStatic__gather___globals); goto CPyL283; } cpy_r_r140 = ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->_task; if (unlikely(cpy_r_r140 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "task", 60, CPyStatic__gather___globals); + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "gatherish", "gatherish_env", "task", 61, CPyStatic__gather___globals); goto CPyL199; } CPy_INCREF(cpy_r_r140); @@ -39234,7 +39248,7 @@ CPyL164: ; cpy_r_r141 = CPy_GetCoro(cpy_r_r140); CPy_DECREF(cpy_r_r140); if (unlikely(cpy_r_r141 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 61, CPyStatic__gather___globals); goto CPyL199; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_temp__14 != NULL) { @@ -39258,7 +39272,7 @@ CPyL167: ; if (cpy_r_r144 != NULL) goto CPyL170; cpy_r_r145 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r145 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 61, CPyStatic__gather___globals); goto CPyL199; } cpy_r_r146 = cpy_r_r145; @@ -39273,7 +39287,7 @@ CPyL171: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r8)->___mypyc_next_label__ = 8; cpy_r_r148 = 1; if (unlikely(!cpy_r_r148)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 61, CPyStatic__gather___globals); goto CPyL288; } else goto CPyL289; @@ -39285,7 +39299,7 @@ CPyL173: ; if (!cpy_r_r150) goto CPyL176; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 61, CPyStatic__gather___globals); goto CPyL177; } else goto CPyL290; @@ -39318,7 +39332,7 @@ CPyL179: ; cpy_r_r155 = CPy_YieldFromErrorHandle(cpy_r_r154, cpy_r_r153); CPy_DecRef(cpy_r_r154); if (unlikely(cpy_r_r155 == 2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 61, CPyStatic__gather___globals); goto CPyL191; } if (cpy_r_r155) goto CPyL186; @@ -39416,7 +39430,7 @@ CPyL195: ; CPyL197: ; cpy_r_r164 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r164 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 60, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 61, CPyStatic__gather___globals); goto CPyL199; } cpy_r_r146 = cpy_r_r164; @@ -39439,7 +39453,7 @@ CPyL199: ; cpy_r_r168 = CPyStatics[149]; /* 'Exception' */ cpy_r_r169 = CPyObject_GetAttr(cpy_r_r167, cpy_r_r168); if (unlikely(cpy_r_r169 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 61, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 62, CPyStatic__gather___globals); goto CPyL296; } cpy_r_r170 = CPy_ExceptionMatches(cpy_r_r169); @@ -39495,7 +39509,7 @@ CPyL208: ; CPyL209: ; cpy_r_r174 = CPy_NoErrOccurred(); if (unlikely(!cpy_r_r174)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 57, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 58, CPyStatic__gather___globals); goto CPyL214; } CPy_Reraise(); @@ -39538,7 +39552,7 @@ CPyL215: ; CPyL217: ; cpy_r_r177 = CPy_NoErrOccurred(); if (unlikely(!cpy_r_r177)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 51, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 52, CPyStatic__gather___globals); goto CPyL302; } cpy_r_r178 = Py_None; @@ -39549,7 +39563,7 @@ CPyL217: ; cpy_r_r179 = 1; CPy_DECREF(cpy_r_r8); if (unlikely(!cpy_r_r179)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL228; } CPyGen_SetStopIterationValue(cpy_r_r178); @@ -39586,7 +39600,7 @@ CPyL226: ; PyErr_SetNone(PyExc_StopIteration); cpy_r_r185 = 0; if (unlikely(!cpy_r_r185)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL228; } CPy_Unreachable(); @@ -39995,7 +40009,7 @@ PyObject *CPyPy__gather___gatherish_gen_____mypyc_generator_helper__(PyObject *s PyObject *retval = CPyDef__gather___gatherish_gen_____mypyc_generator_helper__(arg___mypyc_self__, arg_type, arg_value, arg_traceback, arg_arg); return retval; fail: ; - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); return NULL; } @@ -40303,7 +40317,7 @@ PyObject *CPyDef__gather___gatherish(PyObject *cpy_r_coros, PyObject *cpy_r_name CPyL2: ; cpy_r_r1 = CPyDef__gather___gatherish_env(); if (unlikely(cpy_r_r1 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL11; } CPy_INCREF(cpy_r_coros); @@ -40313,7 +40327,7 @@ CPyL2: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r1)->_coros = cpy_r_coros; cpy_r_r2 = 1; if (unlikely(!cpy_r_r2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL12; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r1)->_name != NULL) { @@ -40322,12 +40336,12 @@ CPyL2: ; ((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r1)->_name = cpy_r_name; cpy_r_r3 = 1; if (unlikely(!cpy_r_r3)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL13; } cpy_r_r4 = CPyDef__gather___gatherish_gen(); if (unlikely(cpy_r_r4 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL13; } CPy_INCREF(cpy_r_r1); @@ -40337,7 +40351,7 @@ CPyL2: ; ((dank_mids___helpers____gather___gatherish_genObject *)cpy_r_r4)->___mypyc_env__ = cpy_r_r1; cpy_r_r5 = 1; if (unlikely(!cpy_r_r5)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL14; } if (((dank_mids___helpers____gather___gatherish_envObject *)cpy_r_r1)->___mypyc_next_label__ != CPY_INT_TAG) { @@ -40347,7 +40361,7 @@ CPyL2: ; cpy_r_r6 = 1; CPy_DECREF(cpy_r_r1); if (unlikely(!cpy_r_r6)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); goto CPyL15; } return cpy_r_r4; @@ -40408,7 +40422,7 @@ __LL132: ; PyObject *retval = CPyDef__gather___gatherish(arg_coros, arg_name); return retval; fail: ; - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 33, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "gatherish", 34, CPyStatic__gather___globals); return NULL; } @@ -40494,105 +40508,132 @@ PyObject *CPyDef__gather___first_completed_gen_____mypyc_generator_helper__(PyOb PyObject *cpy_r_r80; PyObject *cpy_r_r81; char cpy_r_r82; - PyObject *cpy_r_r83; - PyObject *cpy_r_r84; - char cpy_r_r85; + tuple_T3OOO cpy_r_r83; + char cpy_r_r84; + PyObject *cpy_r_r85; char cpy_r_r86; - PyObject *cpy_r_r87; + char cpy_r_r87; PyObject *cpy_r_r88; char cpy_r_r89; - PyObject *cpy_r_r90; + char cpy_r_r90; PyObject *cpy_r_r91; - PyObject **cpy_r_r93; - PyObject *cpy_r_r94; - char cpy_r_r95; - PyObject *cpy_r_r96; - char cpy_r_r97; - char cpy_r_r98; - char cpy_r_r99; + CPyPtr cpy_r_r92; + int64_t cpy_r_r93; + CPyTagged cpy_r_r94; + CPyTagged cpy_r_r95; + char cpy_r_r96; + PyObject *cpy_r_r97; + CPyTagged cpy_r_r98; + PyObject *cpy_r_r99; char cpy_r_r100; - char cpy_r_r101; + PyObject *cpy_r_r101; PyObject *cpy_r_r102; + PyObject **cpy_r_r104; + PyObject *cpy_r_r105; + CPyTagged cpy_r_r106; + CPyTagged cpy_r_r107; + char cpy_r_r108; + tuple_T3OOO cpy_r_r109; + char cpy_r_r110; + PyObject *cpy_r_r111; + PyObject *cpy_r_r112; + char cpy_r_r113; + char cpy_r_r114; + PyObject *cpy_r_r115; + PyObject *cpy_r_r116; + char cpy_r_r117; + PyObject *cpy_r_r118; + PyObject *cpy_r_r119; + PyObject **cpy_r_r121; + PyObject *cpy_r_r122; + char cpy_r_r123; + PyObject *cpy_r_r124; + char cpy_r_r125; + char cpy_r_r126; + char cpy_r_r127; + char cpy_r_r128; + char cpy_r_r129; + PyObject *cpy_r_r130; cpy_r_r0 = NULL; cpy_r_r1 = cpy_r_r0; cpy_r_r2 = NULL; cpy_r_r3 = cpy_r_r2; cpy_r_r4 = ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r___mypyc_self__)->___mypyc_env__; if (unlikely(cpy_r_r4 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_env__", 74, CPyStatic__gather___globals); - goto CPyL115; + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_gen", "__mypyc_env__", 75, CPyStatic__gather___globals); + goto CPyL142; } CPy_INCREF(cpy_r_r4); CPyL1: ; cpy_r_r5 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_next_label__; if (unlikely(cpy_r_r5 == CPY_INT_TAG)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_next_label__", 74, CPyStatic__gather___globals); - goto CPyL116; + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_next_label__", 75, CPyStatic__gather___globals); + goto CPyL143; } CPyTagged_INCREF(cpy_r_r5); - goto CPyL109; + goto CPyL136; CPyL2: ; cpy_r_r6 = (PyObject *)&_Py_NoneStruct; cpy_r_r7 = cpy_r_type != cpy_r_r6; if (cpy_r_r7) { - goto CPyL117; + goto CPyL144; } else goto CPyL5; CPyL3: ; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); - goto CPyL114; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); + goto CPyL141; } CPy_Unreachable(); CPyL5: ; cpy_r_r8 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_cancel; if (unlikely(cpy_r_r8 == 2)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "cancel", 77, CPyStatic__gather___globals); - goto CPyL116; + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "cancel", 78, CPyStatic__gather___globals); + goto CPyL143; } CPyL6: ; if (cpy_r_r8) { - goto CPyL118; + goto CPyL145; } else - goto CPyL119; + goto CPyL146; CPyL7: ; cpy_r_r9 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_fs; if (unlikely(cpy_r_r9 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "fs", 78, CPyStatic__gather___globals); - goto CPyL120; + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "fs", 79, CPyStatic__gather___globals); + goto CPyL147; } CPy_INCREF(cpy_r_r9); CPyL8: ; cpy_r_r10 = CPyStatics[476]; /* 'FIRST_COMPLETED' */ cpy_r_r11 = CPyStatic__gather___wait; if (unlikely(cpy_r_r11 == NULL)) { - goto CPyL121; + goto CPyL148; } else goto CPyL11; CPyL9: ; PyErr_SetString(PyExc_NameError, "value for final name \"wait\" was not set"); cpy_r_r12 = 0; if (unlikely(!cpy_r_r12)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL114; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL141; } CPy_Unreachable(); CPyL11: ; PyObject *cpy_r_r13[2] = {cpy_r_r9, cpy_r_r10}; cpy_r_r14 = (PyObject **)&cpy_r_r13; - cpy_r_r15 = CPyStatics[728]; /* ('return_when',) */ + cpy_r_r15 = CPyStatics[729]; /* ('return_when',) */ cpy_r_r16 = _PyObject_Vectorcall(cpy_r_r11, cpy_r_r14, 1, cpy_r_r15); if (unlikely(cpy_r_r16 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL122; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL149; } CPy_DECREF(cpy_r_r9); cpy_r_r17 = CPy_GetCoro(cpy_r_r16); CPy_DECREF(cpy_r_r16); if (unlikely(cpy_r_r17 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL120; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL147; } if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__17 != NULL) { CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__17); @@ -40601,26 +40642,26 @@ CPyL11: ; cpy_r_r18 = 1; if (unlikely(!cpy_r_r18)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL120; + goto CPyL147; } cpy_r_r19 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__17; if (unlikely(cpy_r_r19 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__17", -1, CPyStatic__gather___globals); - goto CPyL120; + goto CPyL147; } CPy_INCREF(cpy_r_r19); CPyL15: ; cpy_r_r20 = CPyIter_Next(cpy_r_r19); CPy_DECREF(cpy_r_r19); if (cpy_r_r20 == NULL) { - goto CPyL123; + goto CPyL150; } else goto CPyL18; CPyL16: ; cpy_r_r21 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r21 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL124; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL151; } cpy_r_r22 = cpy_r_r21; goto CPyL47; @@ -40633,10 +40674,10 @@ CPyL19: ; ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_next_label__ = 2; cpy_r_r24 = 1; if (unlikely(!cpy_r_r24)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL125; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL152; } else - goto CPyL126; + goto CPyL153; CPyL20: ; return cpy_r_r23; CPyL21: ; @@ -40645,10 +40686,10 @@ CPyL21: ; if (!cpy_r_r26) goto CPyL24; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); goto CPyL25; } else - goto CPyL127; + goto CPyL154; CPyL23: ; CPy_Unreachable(); CPyL24: ; @@ -40665,21 +40706,21 @@ CPyL25: ; cpy_r_r28 = 1; if (unlikely(!cpy_r_r28)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL128; + goto CPyL155; } cpy_r_r29 = (PyObject **)&cpy_r_r1; cpy_r_r30 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__17; if (unlikely(cpy_r_r30 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__17", -1, CPyStatic__gather___globals); - goto CPyL128; + goto CPyL155; } CPy_INCREF(cpy_r_r30); CPyL27: ; cpy_r_r31 = CPy_YieldFromErrorHandle(cpy_r_r30, cpy_r_r29); CPy_DecRef(cpy_r_r30); if (unlikely(cpy_r_r31 == 2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL128; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL155; } if (cpy_r_r31) goto CPyL34; if (cpy_r_r1 != NULL) goto CPyL32; @@ -40689,7 +40730,7 @@ CPyL27: ; CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); goto CPyL39; } else - goto CPyL129; + goto CPyL156; CPyL31: ; CPy_Unreachable(); CPyL32: ; @@ -40698,7 +40739,7 @@ CPyL32: ; cpy_r_r33 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__18; if (unlikely(cpy_r_r33.f0 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__18", -1, CPyStatic__gather___globals); - goto CPyL130; + goto CPyL157; } CPy_INCREF(cpy_r_r33.f0); CPy_INCREF(cpy_r_r33.f1); @@ -40717,7 +40758,7 @@ CPyL34: ; CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); goto CPyL39; } else - goto CPyL131; + goto CPyL158; CPyL36: ; CPy_Unreachable(); CPyL37: ; @@ -40725,7 +40766,7 @@ CPyL37: ; cpy_r_r35 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__18; if (unlikely(cpy_r_r35.f0 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__18", -1, CPyStatic__gather___globals); - goto CPyL132; + goto CPyL159; } CPy_INCREF(cpy_r_r35.f0); CPy_INCREF(cpy_r_r35.f1); @@ -40748,7 +40789,7 @@ CPyL39: ; CPy_DecRef(cpy_r_r4); if (unlikely(cpy_r_r36.f0 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL114; + goto CPyL141; } CPyL40: ; CPy_RestoreExcInfo(cpy_r_r36); @@ -40756,27 +40797,27 @@ CPyL40: ; CPy_DecRef(cpy_r_r36.f1); CPy_DecRef(cpy_r_r36.f2); cpy_r_r37 = CPy_KeepPropagating(); - if (!cpy_r_r37) goto CPyL114; + if (!cpy_r_r37) goto CPyL141; CPy_Unreachable(); CPyL42: ; cpy_r_r38 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__17; if (unlikely(cpy_r_r38 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__17", -1, CPyStatic__gather___globals); - goto CPyL133; + goto CPyL160; } CPy_INCREF(cpy_r_r38); CPyL43: ; cpy_r_r39 = CPyIter_Send(cpy_r_r38, cpy_r_arg); CPy_DECREF(cpy_r_r38); CPy_DECREF(cpy_r_arg); - if (cpy_r_r39 == NULL) goto CPyL134; + if (cpy_r_r39 == NULL) goto CPyL161; cpy_r_r23 = cpy_r_r39; goto CPyL19; CPyL45: ; cpy_r_r40 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r40 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL124; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL151; } cpy_r_r22 = cpy_r_r40; CPyL47: ; @@ -40825,8 +40866,8 @@ __LL134: ; } CPy_DECREF(cpy_r_r22); if (unlikely(cpy_r_r41.f0 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL124; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL151; } cpy_r_r42 = PyTuple_New(2); if (unlikely(cpy_r_r42 == NULL)) @@ -40842,50 +40883,52 @@ __LL134: ; cpy_r_r43 = 1; CPy_DECREF(cpy_r_r4); if (unlikely(!cpy_r_r43)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 78, CPyStatic__gather___globals); - goto CPyL135; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + goto CPyL162; } CPyGen_SetStopIterationValue(cpy_r_r42); CPy_DECREF(cpy_r_r42); - if (!0) goto CPyL114; + if (!0) goto CPyL141; CPy_Unreachable(); CPyL51: ; cpy_r_r44 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_fs; if (unlikely(cpy_r_r44 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "fs", 79, CPyStatic__gather___globals); - goto CPyL136; + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "fs", 81, CPyStatic__gather___globals); + goto CPyL163; } CPy_INCREF(cpy_r_r44); CPyL52: ; cpy_r_r45 = CPyStatics[476]; /* 'FIRST_COMPLETED' */ cpy_r_r46 = CPyStatic__gather___wait; if (unlikely(cpy_r_r46 == NULL)) { - goto CPyL137; + goto CPyL164; } else goto CPyL55; CPyL53: ; PyErr_SetString(PyExc_NameError, "value for final name \"wait\" was not set"); cpy_r_r47 = 0; if (unlikely(!cpy_r_r47)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL114; - } + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL94; + } else + goto CPyL165; +CPyL54: ; CPy_Unreachable(); CPyL55: ; PyObject *cpy_r_r48[2] = {cpy_r_r44, cpy_r_r45}; cpy_r_r49 = (PyObject **)&cpy_r_r48; - cpy_r_r50 = CPyStatics[728]; /* ('return_when',) */ + cpy_r_r50 = CPyStatics[729]; /* ('return_when',) */ cpy_r_r51 = _PyObject_Vectorcall(cpy_r_r46, cpy_r_r49, 1, cpy_r_r50); if (unlikely(cpy_r_r51 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL138; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL166; } CPy_DECREF(cpy_r_r44); cpy_r_r52 = CPy_GetCoro(cpy_r_r51); CPy_DECREF(cpy_r_r51); if (unlikely(cpy_r_r52 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL136; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL163; } if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__19 != NULL) { CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__19); @@ -40894,26 +40937,26 @@ CPyL55: ; cpy_r_r53 = 1; if (unlikely(!cpy_r_r53)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL136; + goto CPyL163; } cpy_r_r54 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__19; if (unlikely(cpy_r_r54 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__19", -1, CPyStatic__gather___globals); - goto CPyL136; + goto CPyL163; } CPy_INCREF(cpy_r_r54); CPyL59: ; cpy_r_r55 = CPyIter_Next(cpy_r_r54); CPy_DECREF(cpy_r_r54); if (cpy_r_r55 == NULL) { - goto CPyL139; + goto CPyL167; } else goto CPyL62; CPyL60: ; cpy_r_r56 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r56 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL124; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL94; } cpy_r_r57 = cpy_r_r56; goto CPyL91; @@ -40926,10 +40969,10 @@ CPyL63: ; ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_next_label__ = 4; cpy_r_r59 = 1; if (unlikely(!cpy_r_r59)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL140; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL168; } else - goto CPyL141; + goto CPyL169; CPyL64: ; return cpy_r_r58; CPyL65: ; @@ -40938,10 +40981,10 @@ CPyL65: ; if (!cpy_r_r61) goto CPyL68; CPyErr_SetObjectAndTraceback(cpy_r_type, cpy_r_value, cpy_r_traceback); if (unlikely(!0)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); goto CPyL69; } else - goto CPyL142; + goto CPyL170; CPyL67: ; CPy_Unreachable(); CPyL68: ; @@ -40958,21 +41001,21 @@ CPyL69: ; cpy_r_r63 = 1; if (unlikely(!cpy_r_r63)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL143; + goto CPyL171; } cpy_r_r64 = (PyObject **)&cpy_r_r3; cpy_r_r65 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__19; if (unlikely(cpy_r_r65 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__19", -1, CPyStatic__gather___globals); - goto CPyL143; + goto CPyL171; } CPy_INCREF(cpy_r_r65); CPyL71: ; cpy_r_r66 = CPy_YieldFromErrorHandle(cpy_r_r65, cpy_r_r64); CPy_DecRef(cpy_r_r65); if (unlikely(cpy_r_r66 == 2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL143; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL171; } if (cpy_r_r66) goto CPyL78; if (cpy_r_r3 != NULL) goto CPyL76; @@ -40982,7 +41025,7 @@ CPyL71: ; CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); goto CPyL83; } else - goto CPyL144; + goto CPyL172; CPyL75: ; CPy_Unreachable(); CPyL76: ; @@ -40991,7 +41034,7 @@ CPyL76: ; cpy_r_r68 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__20; if (unlikely(cpy_r_r68.f0 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__20", -1, CPyStatic__gather___globals); - goto CPyL145; + goto CPyL173; } CPy_INCREF(cpy_r_r68.f0); CPy_INCREF(cpy_r_r68.f1); @@ -41010,7 +41053,7 @@ CPyL78: ; CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); goto CPyL83; } else - goto CPyL146; + goto CPyL174; CPyL80: ; CPy_Unreachable(); CPyL81: ; @@ -41018,7 +41061,7 @@ CPyL81: ; cpy_r_r70 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__20; if (unlikely(cpy_r_r70.f0 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__20", -1, CPyStatic__gather___globals); - goto CPyL147; + goto CPyL175; } CPy_INCREF(cpy_r_r70.f0); CPy_INCREF(cpy_r_r70.f1); @@ -41032,44 +41075,43 @@ CPyL82: ; CPyL83: ; cpy_r_r71 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__20; if (unlikely(cpy_r_r71.f0 == NULL)) { - PyErr_SetString(PyExc_AttributeError, "attribute '__mypyc_temp__20' of 'first_completed_env' undefined"); - } else { - CPy_INCREF(cpy_r_r71.f0); - CPy_INCREF(cpy_r_r71.f1); - CPy_INCREF(cpy_r_r71.f2); - } - CPy_DecRef(cpy_r_r4); - if (unlikely(cpy_r_r71.f0 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL114; + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__20", -1, CPyStatic__gather___globals); + goto CPyL94; } + CPy_INCREF(cpy_r_r71.f0); + CPy_INCREF(cpy_r_r71.f1); + CPy_INCREF(cpy_r_r71.f2); CPyL84: ; CPy_RestoreExcInfo(cpy_r_r71); CPy_DecRef(cpy_r_r71.f0); CPy_DecRef(cpy_r_r71.f1); CPy_DecRef(cpy_r_r71.f2); cpy_r_r72 = CPy_KeepPropagating(); - if (!cpy_r_r72) goto CPyL114; + if (!cpy_r_r72) { + goto CPyL94; + } else + goto CPyL176; +CPyL85: ; CPy_Unreachable(); CPyL86: ; cpy_r_r73 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__19; if (unlikely(cpy_r_r73 == NULL)) { CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__19", -1, CPyStatic__gather___globals); - goto CPyL148; + goto CPyL177; } CPy_INCREF(cpy_r_r73); CPyL87: ; cpy_r_r74 = CPyIter_Send(cpy_r_r73, cpy_r_arg); CPy_DECREF(cpy_r_r73); CPy_DECREF(cpy_r_arg); - if (cpy_r_r74 == NULL) goto CPyL149; + if (cpy_r_r74 == NULL) goto CPyL178; cpy_r_r58 = cpy_r_r74; goto CPyL63; CPyL89: ; cpy_r_r75 = CPy_FetchStopIterationValue(); if (unlikely(cpy_r_r75 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL124; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL94; } cpy_r_r57 = cpy_r_r75; CPyL91: ; @@ -41118,8 +41160,8 @@ __LL142: ; } CPy_DECREF(cpy_r_r57); if (unlikely(cpy_r_r76.f0 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL124; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL94; } cpy_r_r77 = cpy_r_r76.f0; cpy_r_r78 = cpy_r_r77; @@ -41129,8 +41171,8 @@ __LL142: ; ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_done = cpy_r_r78; cpy_r_r79 = 1; if (unlikely(!cpy_r_r79)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL150; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL179; } cpy_r_r80 = cpy_r_r76.f1; cpy_r_r81 = cpy_r_r80; @@ -41140,298 +41182,486 @@ __LL142: ; ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_pending = cpy_r_r81; cpy_r_r82 = 1; if (unlikely(!cpy_r_r82)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 79, CPyStatic__gather___globals); - goto CPyL150; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); + goto CPyL179; + } else + goto CPyL121; +CPyL94: ; + cpy_r_r83 = CPy_CatchError(); + if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21.f0 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21.f0); + CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21.f1); + CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21.f2); } - cpy_r_r83 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_pending; - if (unlikely(cpy_r_r83 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "pending", 80, CPyStatic__gather___globals); - goto CPyL124; + ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21 = cpy_r_r83; + cpy_r_r84 = 1; + if (unlikely(!cpy_r_r84)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); + goto CPyL118; } - CPy_INCREF(cpy_r_r83); -CPyL95: ; - cpy_r_r84 = PyObject_GetIter(cpy_r_r83); - if (unlikely(cpy_r_r84 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 80, CPyStatic__gather___globals); + cpy_r_r85 = CPyStatic__gather___CancelledError; + if (likely(cpy_r_r85 != NULL)) goto CPyL98; + PyErr_SetString(PyExc_NameError, "value for final name \"CancelledError\" was not set"); + cpy_r_r86 = 0; + if (unlikely(!cpy_r_r86)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 82, CPyStatic__gather___globals); + goto CPyL118; + } else + goto CPyL180; +CPyL97: ; + CPy_Unreachable(); +CPyL98: ; + cpy_r_r87 = CPy_ExceptionMatches(cpy_r_r85); + if (!cpy_r_r87) goto CPyL116; + cpy_r_r88 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_fs; + if (unlikely(cpy_r_r88 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "fs", 83, CPyStatic__gather___globals); + goto CPyL118; + } + CPy_INCREF(cpy_r_r88); +CPyL100: ; + if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22); + } + ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22 = cpy_r_r88; + cpy_r_r89 = 1; + if (unlikely(!cpy_r_r89)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); + goto CPyL118; + } + ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__23 = 0; + cpy_r_r90 = 1; + if (unlikely(!cpy_r_r90)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); + goto CPyL118; + } +CPyL102: ; + cpy_r_r91 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22; + if (unlikely(cpy_r_r91 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__22", 83, CPyStatic__gather___globals); + goto CPyL118; + } + CPy_INCREF(cpy_r_r91); +CPyL103: ; + cpy_r_r92 = (CPyPtr)&((PyVarObject *)cpy_r_r91)->ob_size; + cpy_r_r93 = *(int64_t *)cpy_r_r92; + CPy_DecRef(cpy_r_r91); + cpy_r_r94 = cpy_r_r93 << 1; + cpy_r_r95 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__23; + if (unlikely(cpy_r_r95 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__23", 83, CPyStatic__gather___globals); + goto CPyL118; + } +CPyL104: ; + cpy_r_r96 = (Py_ssize_t)cpy_r_r95 < (Py_ssize_t)cpy_r_r94; + if (!cpy_r_r96) goto CPyL114; + cpy_r_r97 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22; + if (unlikely(cpy_r_r97 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__22", 83, CPyStatic__gather___globals); + goto CPyL118; + } + CPy_INCREF(cpy_r_r97); +CPyL106: ; + cpy_r_r98 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__23; + if (unlikely(cpy_r_r98 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__23", 83, CPyStatic__gather___globals); + goto CPyL181; + } +CPyL107: ; + cpy_r_r99 = CPySequenceTuple_GetItem(cpy_r_r97, cpy_r_r98); + CPy_DecRef(cpy_r_r97); + if (unlikely(cpy_r_r99 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 83, CPyStatic__gather___globals); + goto CPyL118; + } + if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_f != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_f); + } + ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_f = cpy_r_r99; + cpy_r_r100 = 1; + if (unlikely(!cpy_r_r100)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 83, CPyStatic__gather___globals); + goto CPyL118; + } + cpy_r_r101 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_f; + if (unlikely(cpy_r_r101 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "f", 84, CPyStatic__gather___globals); + goto CPyL118; + } + CPy_INCREF(cpy_r_r101); +CPyL110: ; + cpy_r_r102 = CPyStatics[478]; /* 'cancel' */ + PyObject *cpy_r_r103[1] = {cpy_r_r101}; + cpy_r_r104 = (PyObject **)&cpy_r_r103; + cpy_r_r105 = PyObject_VectorcallMethod(cpy_r_r102, cpy_r_r104, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r105 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 84, CPyStatic__gather___globals); + goto CPyL182; + } else + goto CPyL183; +CPyL111: ; + CPy_DecRef(cpy_r_r101); + cpy_r_r106 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__23; + if (unlikely(cpy_r_r106 == CPY_INT_TAG)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__23", 83, CPyStatic__gather___globals); + goto CPyL118; + } +CPyL113: ; + cpy_r_r107 = cpy_r_r106 + 2; + ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__23 = cpy_r_r107; + cpy_r_r108 = 1; + if (unlikely(!cpy_r_r108)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 83, CPyStatic__gather___globals); + goto CPyL118; + } else + goto CPyL102; +CPyL114: ; + CPy_Reraise(); + if (!0) { + goto CPyL118; + } else + goto CPyL184; +CPyL115: ; + CPy_Unreachable(); +CPyL116: ; + CPy_Reraise(); + if (!0) { + goto CPyL118; + } else + goto CPyL185; +CPyL117: ; + CPy_Unreachable(); +CPyL118: ; + cpy_r_r109 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21; + if (unlikely(cpy_r_r109.f0 == NULL)) { + PyErr_SetString(PyExc_AttributeError, "attribute '__mypyc_temp__21' of 'first_completed_env' undefined"); + } else { + CPy_INCREF(cpy_r_r109.f0); + CPy_INCREF(cpy_r_r109.f1); + CPy_INCREF(cpy_r_r109.f2); + } + CPy_DecRef(cpy_r_r4); + if (unlikely(cpy_r_r109.f0 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); + goto CPyL141; + } +CPyL119: ; + CPy_RestoreExcInfo(cpy_r_r109); + CPy_DecRef(cpy_r_r109.f0); + CPy_DecRef(cpy_r_r109.f1); + CPy_DecRef(cpy_r_r109.f2); + cpy_r_r110 = CPy_KeepPropagating(); + if (!cpy_r_r110) goto CPyL141; + CPy_Unreachable(); +CPyL121: ; + cpy_r_r111 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_pending; + if (unlikely(cpy_r_r111 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "pending", 86, CPyStatic__gather___globals); goto CPyL151; } - if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21 != NULL) { - CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21); + CPy_INCREF(cpy_r_r111); +CPyL122: ; + cpy_r_r112 = PyObject_GetIter(cpy_r_r111); + if (unlikely(cpy_r_r112 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 86, CPyStatic__gather___globals); + goto CPyL186; } - ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__21 = cpy_r_r83; - cpy_r_r85 = 1; - if (unlikely(!cpy_r_r85)) { + if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__24 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__24); + } + ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__24 = cpy_r_r111; + cpy_r_r113 = 1; + if (unlikely(!cpy_r_r113)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL152; + goto CPyL187; } - if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22 != NULL) { - CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22); + if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__25 != NULL) { + CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__25); } - ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22 = cpy_r_r84; - cpy_r_r86 = 1; - if (unlikely(!cpy_r_r86)) { + ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__25 = cpy_r_r112; + cpy_r_r114 = 1; + if (unlikely(!cpy_r_r114)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", -1, CPyStatic__gather___globals); - goto CPyL124; + goto CPyL151; } -CPyL98: ; - cpy_r_r87 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__22; - if (unlikely(cpy_r_r87 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__22", 80, CPyStatic__gather___globals); - goto CPyL124; +CPyL125: ; + cpy_r_r115 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_temp__25; + if (unlikely(cpy_r_r115 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "__mypyc_temp__25", 86, CPyStatic__gather___globals); + goto CPyL151; } - CPy_INCREF(cpy_r_r87); -CPyL99: ; - cpy_r_r88 = PyIter_Next(cpy_r_r87); - CPy_DECREF(cpy_r_r87); - if (cpy_r_r88 == NULL) goto CPyL104; + CPy_INCREF(cpy_r_r115); +CPyL126: ; + cpy_r_r116 = PyIter_Next(cpy_r_r115); + CPy_DECREF(cpy_r_r115); + if (cpy_r_r116 == NULL) goto CPyL131; if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_p != NULL) { CPy_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_p); } - ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_p = cpy_r_r88; - cpy_r_r89 = 1; - if (unlikely(!cpy_r_r89)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 80, CPyStatic__gather___globals); - goto CPyL124; + ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_p = cpy_r_r116; + cpy_r_r117 = 1; + if (unlikely(!cpy_r_r117)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 86, CPyStatic__gather___globals); + goto CPyL151; } - cpy_r_r90 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_p; - if (unlikely(cpy_r_r90 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "p", 81, CPyStatic__gather___globals); - goto CPyL124; + cpy_r_r118 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_p; + if (unlikely(cpy_r_r118 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "p", 87, CPyStatic__gather___globals); + goto CPyL151; } - CPy_INCREF(cpy_r_r90); -CPyL102: ; - cpy_r_r91 = CPyStatics[478]; /* 'cancel' */ - PyObject *cpy_r_r92[1] = {cpy_r_r90}; - cpy_r_r93 = (PyObject **)&cpy_r_r92; - cpy_r_r94 = PyObject_VectorcallMethod(cpy_r_r91, cpy_r_r93, 9223372036854775809ULL, 0); - if (unlikely(cpy_r_r94 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 81, CPyStatic__gather___globals); - goto CPyL153; + CPy_INCREF(cpy_r_r118); +CPyL129: ; + cpy_r_r119 = CPyStatics[478]; /* 'cancel' */ + PyObject *cpy_r_r120[1] = {cpy_r_r118}; + cpy_r_r121 = (PyObject **)&cpy_r_r120; + cpy_r_r122 = PyObject_VectorcallMethod(cpy_r_r119, cpy_r_r121, 9223372036854775809ULL, 0); + if (unlikely(cpy_r_r122 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 87, CPyStatic__gather___globals); + goto CPyL188; } else - goto CPyL154; -CPyL103: ; - CPy_DECREF(cpy_r_r90); - goto CPyL98; -CPyL104: ; - cpy_r_r95 = CPy_NoErrOccurred(); - if (unlikely(!cpy_r_r95)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 80, CPyStatic__gather___globals); - goto CPyL124; + goto CPyL189; +CPyL130: ; + CPy_DECREF(cpy_r_r118); + goto CPyL125; +CPyL131: ; + cpy_r_r123 = CPy_NoErrOccurred(); + if (unlikely(!cpy_r_r123)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 86, CPyStatic__gather___globals); + goto CPyL151; } - cpy_r_r96 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_done; - if (unlikely(cpy_r_r96 == NULL)) { - CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "done", 82, CPyStatic__gather___globals); - goto CPyL124; + cpy_r_r124 = ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->_done; + if (unlikely(cpy_r_r124 == NULL)) { + CPy_AttributeError("dank_mids\\helpers\\_gather.py", "first_completed", "first_completed_env", "done", 88, CPyStatic__gather___globals); + goto CPyL151; } - CPy_INCREF(cpy_r_r96); -CPyL106: ; + CPy_INCREF(cpy_r_r124); +CPyL133: ; if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_next_label__ != CPY_INT_TAG) { CPyTagged_DECREF(((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_next_label__); } ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r4)->___mypyc_next_label__ = -2; - cpy_r_r97 = 1; + cpy_r_r125 = 1; CPy_DECREF(cpy_r_r4); - if (unlikely(!cpy_r_r97)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 82, CPyStatic__gather___globals); - goto CPyL155; + if (unlikely(!cpy_r_r125)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 88, CPyStatic__gather___globals); + goto CPyL190; } - CPyGen_SetStopIterationValue(cpy_r_r96); - CPy_DECREF(cpy_r_r96); - if (!0) goto CPyL114; + CPyGen_SetStopIterationValue(cpy_r_r124); + CPy_DECREF(cpy_r_r124); + if (!0) goto CPyL141; CPy_Unreachable(); -CPyL109: ; - cpy_r_r98 = cpy_r_r5 == 0; - if (cpy_r_r98) goto CPyL156; - cpy_r_r99 = cpy_r_r5 == 2; - if (cpy_r_r99) { - goto CPyL157; +CPyL136: ; + cpy_r_r126 = cpy_r_r5 == 0; + if (cpy_r_r126) goto CPyL191; + cpy_r_r127 = cpy_r_r5 == 2; + if (cpy_r_r127) { + goto CPyL192; } else - goto CPyL158; -CPyL111: ; - cpy_r_r100 = cpy_r_r5 == 4; + goto CPyL193; +CPyL138: ; + cpy_r_r128 = cpy_r_r5 == 4; CPyTagged_DECREF(cpy_r_r5); - if (cpy_r_r100) { + if (cpy_r_r128) { goto CPyL65; } else - goto CPyL159; -CPyL112: ; + goto CPyL194; +CPyL139: ; PyErr_SetNone(PyExc_StopIteration); - cpy_r_r101 = 0; - if (unlikely(!cpy_r_r101)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); - goto CPyL114; + cpy_r_r129 = 0; + if (unlikely(!cpy_r_r129)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); + goto CPyL141; } CPy_Unreachable(); -CPyL114: ; - cpy_r_r102 = NULL; - return cpy_r_r102; -CPyL115: ; +CPyL141: ; + cpy_r_r130 = NULL; + return cpy_r_r130; +CPyL142: ; CPy_XDecRef(cpy_r_r1); CPy_XDecRef(cpy_r_r3); - goto CPyL114; -CPyL116: ; + goto CPyL141; +CPyL143: ; CPy_XDecRef(cpy_r_r1); CPy_XDecRef(cpy_r_r3); CPy_DecRef(cpy_r_r4); - goto CPyL114; -CPyL117: ; + goto CPyL141; +CPyL144: ; CPy_XDECREF(cpy_r_r1); CPy_XDECREF(cpy_r_r3); CPy_DECREF(cpy_r_r4); goto CPyL3; -CPyL118: ; +CPyL145: ; CPy_XDECREF(cpy_r_r1); goto CPyL51; -CPyL119: ; +CPyL146: ; CPy_XDECREF(cpy_r_r3); goto CPyL7; -CPyL120: ; +CPyL147: ; CPy_XDecRef(cpy_r_r1); CPy_DecRef(cpy_r_r4); - goto CPyL114; -CPyL121: ; + goto CPyL141; +CPyL148: ; CPy_XDecRef(cpy_r_r1); CPy_DecRef(cpy_r_r4); CPy_DecRef(cpy_r_r9); goto CPyL9; -CPyL122: ; +CPyL149: ; CPy_XDecRef(cpy_r_r1); CPy_DecRef(cpy_r_r4); CPy_DecRef(cpy_r_r9); - goto CPyL114; -CPyL123: ; + goto CPyL141; +CPyL150: ; CPy_XDECREF(cpy_r_r1); goto CPyL16; -CPyL124: ; +CPyL151: ; CPy_DecRef(cpy_r_r4); - goto CPyL114; -CPyL125: ; + goto CPyL141; +CPyL152: ; CPy_DecRef(cpy_r_r23); goto CPyL25; -CPyL126: ; +CPyL153: ; CPy_XDECREF(cpy_r_r1); CPy_DECREF(cpy_r_r4); goto CPyL20; -CPyL127: ; +CPyL154: ; CPy_XDECREF(cpy_r_r1); CPy_DECREF(cpy_r_r4); goto CPyL23; -CPyL128: ; +CPyL155: ; CPy_XDecRef(cpy_r_r1); goto CPyL39; -CPyL129: ; +CPyL156: ; CPy_DecRef(cpy_r_r4); goto CPyL31; -CPyL130: ; +CPyL157: ; CPy_XDecRef(cpy_r_r1); CPy_DecRef(cpy_r_r23); goto CPyL39; -CPyL131: ; +CPyL158: ; CPy_DecRef(cpy_r_r4); goto CPyL36; -CPyL132: ; +CPyL159: ; CPy_DecRef(cpy_r_r22); goto CPyL39; -CPyL133: ; +CPyL160: ; CPy_XDecRef(cpy_r_r1); CPy_DecRef(cpy_r_r4); CPy_DecRef(cpy_r_arg); - goto CPyL114; -CPyL134: ; + goto CPyL141; +CPyL161: ; CPy_XDECREF(cpy_r_r1); goto CPyL45; -CPyL135: ; +CPyL162: ; CPy_DecRef(cpy_r_r42); - goto CPyL114; -CPyL136: ; + goto CPyL141; +CPyL163: ; CPy_XDecRef(cpy_r_r3); - CPy_DecRef(cpy_r_r4); - goto CPyL114; -CPyL137: ; + goto CPyL94; +CPyL164: ; CPy_XDecRef(cpy_r_r3); - CPy_DecRef(cpy_r_r4); CPy_DecRef(cpy_r_r44); goto CPyL53; -CPyL138: ; - CPy_XDecRef(cpy_r_r3); +CPyL165: ; CPy_DecRef(cpy_r_r4); + goto CPyL54; +CPyL166: ; + CPy_XDecRef(cpy_r_r3); CPy_DecRef(cpy_r_r44); - goto CPyL114; -CPyL139: ; + goto CPyL94; +CPyL167: ; CPy_XDECREF(cpy_r_r3); goto CPyL60; -CPyL140: ; +CPyL168: ; CPy_DecRef(cpy_r_r58); goto CPyL69; -CPyL141: ; +CPyL169: ; CPy_XDECREF(cpy_r_r3); CPy_DECREF(cpy_r_r4); goto CPyL64; -CPyL142: ; +CPyL170: ; CPy_XDECREF(cpy_r_r3); CPy_DECREF(cpy_r_r4); goto CPyL67; -CPyL143: ; +CPyL171: ; CPy_XDecRef(cpy_r_r3); goto CPyL83; -CPyL144: ; +CPyL172: ; CPy_DecRef(cpy_r_r4); goto CPyL75; -CPyL145: ; +CPyL173: ; CPy_XDecRef(cpy_r_r3); CPy_DecRef(cpy_r_r58); goto CPyL83; -CPyL146: ; +CPyL174: ; CPy_DecRef(cpy_r_r4); goto CPyL80; -CPyL147: ; +CPyL175: ; CPy_DecRef(cpy_r_r57); goto CPyL83; -CPyL148: ; - CPy_XDecRef(cpy_r_r3); +CPyL176: ; CPy_DecRef(cpy_r_r4); + goto CPyL85; +CPyL177: ; + CPy_XDecRef(cpy_r_r3); CPy_DecRef(cpy_r_arg); - goto CPyL114; -CPyL149: ; + goto CPyL94; +CPyL178: ; CPy_XDECREF(cpy_r_r3); goto CPyL89; -CPyL150: ; - CPy_DecRef(cpy_r_r4); +CPyL179: ; CPy_DecRef(cpy_r_r76.f0); CPy_DecRef(cpy_r_r76.f1); - goto CPyL114; -CPyL151: ; + goto CPyL94; +CPyL180: ; CPy_DecRef(cpy_r_r4); - CPy_DecRef(cpy_r_r83); - goto CPyL114; -CPyL152: ; + goto CPyL97; +CPyL181: ; + CPy_DecRef(cpy_r_r97); + goto CPyL118; +CPyL182: ; + CPy_DecRef(cpy_r_r101); + goto CPyL118; +CPyL183: ; + CPy_DecRef(cpy_r_r105); + goto CPyL111; +CPyL184: ; CPy_DecRef(cpy_r_r4); - CPy_DecRef(cpy_r_r84); - goto CPyL114; -CPyL153: ; + goto CPyL115; +CPyL185: ; CPy_DecRef(cpy_r_r4); - CPy_DecRef(cpy_r_r90); - goto CPyL114; -CPyL154: ; - CPy_DECREF(cpy_r_r94); - goto CPyL103; -CPyL155: ; - CPy_DecRef(cpy_r_r96); - goto CPyL114; -CPyL156: ; + goto CPyL117; +CPyL186: ; + CPy_DecRef(cpy_r_r4); + CPy_DecRef(cpy_r_r111); + goto CPyL141; +CPyL187: ; + CPy_DecRef(cpy_r_r4); + CPy_DecRef(cpy_r_r112); + goto CPyL141; +CPyL188: ; + CPy_DecRef(cpy_r_r4); + CPy_DecRef(cpy_r_r118); + goto CPyL141; +CPyL189: ; + CPy_DECREF(cpy_r_r122); + goto CPyL130; +CPyL190: ; + CPy_DecRef(cpy_r_r124); + goto CPyL141; +CPyL191: ; CPyTagged_DECREF(cpy_r_r5); goto CPyL2; -CPyL157: ; +CPyL192: ; CPy_XDECREF(cpy_r_r3); CPyTagged_DECREF(cpy_r_r5); goto CPyL21; -CPyL158: ; +CPyL193: ; CPy_XDECREF(cpy_r_r1); - goto CPyL111; -CPyL159: ; + goto CPyL138; +CPyL194: ; CPy_XDECREF(cpy_r_r3); CPy_DECREF(cpy_r_r4); - goto CPyL112; + goto CPyL139; } PyObject *CPyPy__gather___first_completed_gen_____mypyc_generator_helper__(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames) { @@ -41453,7 +41683,7 @@ PyObject *CPyPy__gather___first_completed_gen_____mypyc_generator_helper__(PyObj PyObject *retval = CPyDef__gather___first_completed_gen_____mypyc_generator_helper__(arg___mypyc_self__, arg_type, arg_value, arg_traceback, arg_arg); return retval; fail: ; - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); return NULL; } @@ -41758,7 +41988,7 @@ PyObject *CPyDef__gather___first_completed(PyObject *cpy_r_fs, char cpy_r_cancel CPyL2: ; cpy_r_r0 = CPyDef__gather___first_completed_env(); if (unlikely(cpy_r_r0 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); goto CPyL9; } CPy_INCREF(cpy_r_fs); @@ -41768,18 +41998,18 @@ CPyL2: ; ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r0)->_fs = cpy_r_fs; cpy_r_r1 = 1; if (unlikely(!cpy_r_r1)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); goto CPyL10; } ((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r0)->_cancel = cpy_r_cancel; cpy_r_r2 = 1; if (unlikely(!cpy_r_r2)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); goto CPyL10; } cpy_r_r3 = CPyDef__gather___first_completed_gen(); if (unlikely(cpy_r_r3 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); goto CPyL10; } CPy_INCREF(cpy_r_r0); @@ -41789,7 +42019,7 @@ CPyL2: ; ((dank_mids___helpers____gather___first_completed_genObject *)cpy_r_r3)->___mypyc_env__ = cpy_r_r0; cpy_r_r4 = 1; if (unlikely(!cpy_r_r4)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); goto CPyL11; } if (((dank_mids___helpers____gather___first_completed_envObject *)cpy_r_r0)->___mypyc_next_label__ != CPY_INT_TAG) { @@ -41799,7 +42029,7 @@ CPyL2: ; cpy_r_r5 = 1; CPy_DECREF(cpy_r_r0); if (unlikely(!cpy_r_r5)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); goto CPyL12; } return cpy_r_r3; @@ -41839,7 +42069,7 @@ PyObject *CPyPy__gather___first_completed(PyObject *self, PyObject *const *args, return retval; fail: ; CPy_DECREF(obj_fs); - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 74, CPyStatic__gather___globals); + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "first_completed", 75, CPyStatic__gather___globals); return NULL; } @@ -41923,13 +42153,20 @@ char CPyDef__gather_____top_level__(void) { PyObject *cpy_r_r81; PyObject *cpy_r_r82; PyObject *cpy_r_r83; - PyObject *cpy_r_r84; - PyObject *cpy_r_r85; + int32_t cpy_r_r84; + char cpy_r_r85; PyObject *cpy_r_r86; PyObject *cpy_r_r87; - int32_t cpy_r_r88; - char cpy_r_r89; - char cpy_r_r90; + PyObject *cpy_r_r88; + PyObject *cpy_r_r89; + PyObject *cpy_r_r90; + PyObject *cpy_r_r91; + PyObject *cpy_r_r92; + PyObject *cpy_r_r93; + PyObject *cpy_r_r94; + int32_t cpy_r_r95; + char cpy_r_r96; + char cpy_r_r97; cpy_r_r0 = CPyModule_builtins; cpy_r_r1 = (PyObject *)&_Py_NoneStruct; cpy_r_r2 = cpy_r_r0 != cpy_r_r1; @@ -41938,7 +42175,7 @@ char CPyDef__gather_____top_level__(void) { cpy_r_r4 = PyImport_Import(cpy_r_r3); if (unlikely(cpy_r_r4 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", -1, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } CPyModule_builtins = cpy_r_r4; CPy_INCREF(CPyModule_builtins); @@ -41949,20 +42186,20 @@ CPyL3: ; cpy_r_r7 = (void *)&cpy_r_r6; int64_t cpy_r_r8[1] = {1}; cpy_r_r9 = (void *)&cpy_r_r8; - cpy_r_r10 = CPyStatics[730]; /* (('asyncio', 'asyncio', 'asyncio'),) */ + cpy_r_r10 = CPyStatics[731]; /* (('asyncio', 'asyncio', 'asyncio'),) */ cpy_r_r11 = CPyStatic__gather___globals; cpy_r_r12 = CPyStatics[480]; /* 'dank_mids\\helpers\\_gather.py' */ cpy_r_r13 = CPyStatics[20]; /* '' */ cpy_r_r14 = CPyImport_ImportMany(cpy_r_r10, cpy_r_r7, cpy_r_r11, cpy_r_r12, cpy_r_r13, cpy_r_r9); - if (!cpy_r_r14) goto CPyL26; - cpy_r_r15 = CPyStatics[731]; /* ('Coroutine', 'Final', 'Iterable', 'Literal', 'Optional', + if (!cpy_r_r14) goto CPyL28; + cpy_r_r15 = CPyStatics[732]; /* ('Coroutine', 'Final', 'Iterable', 'Literal', 'Optional', 'Set', 'Tuple', 'TypeVar', 'Union', 'overload') */ cpy_r_r16 = CPyStatics[7]; /* 'typing' */ cpy_r_r17 = CPyStatic__gather___globals; cpy_r_r18 = CPyImport_ImportFromMany(cpy_r_r16, cpy_r_r15, cpy_r_r15, cpy_r_r17); if (unlikely(cpy_r_r18 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 2, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } CPyModule_typing = cpy_r_r18; CPy_INCREF(CPyModule_typing); @@ -41972,19 +42209,19 @@ CPyL3: ; cpy_r_r21 = (void *)&cpy_r_r20; int64_t cpy_r_r22[1] = {15}; cpy_r_r23 = (void *)&cpy_r_r22; - cpy_r_r24 = CPyStatics[733]; /* (('a_sync.asyncio', 'a_sync', 'a_sync'),) */ + cpy_r_r24 = CPyStatics[734]; /* (('a_sync.asyncio', 'a_sync', 'a_sync'),) */ cpy_r_r25 = CPyStatic__gather___globals; cpy_r_r26 = CPyStatics[480]; /* 'dank_mids\\helpers\\_gather.py' */ cpy_r_r27 = CPyStatics[20]; /* '' */ cpy_r_r28 = CPyImport_ImportMany(cpy_r_r24, cpy_r_r21, cpy_r_r25, cpy_r_r26, cpy_r_r27, cpy_r_r23); - if (!cpy_r_r28) goto CPyL26; + if (!cpy_r_r28) goto CPyL28; cpy_r_r29 = CPyStatics[418]; /* '__T' */ cpy_r_r30 = CPyStatic__gather___globals; cpy_r_r31 = CPyStatics[295]; /* 'TypeVar' */ cpy_r_r32 = CPyDict_GetItem(cpy_r_r30, cpy_r_r31); if (unlikely(cpy_r_r32 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 18, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } PyObject *cpy_r_r33[1] = {cpy_r_r29}; cpy_r_r34 = (PyObject **)&cpy_r_r33; @@ -41992,7 +42229,7 @@ CPyL3: ; CPy_DECREF(cpy_r_r32); if (unlikely(cpy_r_r35 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 18, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r36 = CPyStatic__gather___globals; cpy_r_r37 = CPyStatics[418]; /* '__T' */ @@ -42001,21 +42238,21 @@ CPyL3: ; cpy_r_r39 = cpy_r_r38 >= 0; if (unlikely(!cpy_r_r39)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 18, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r40 = CPyStatic__gather___globals; cpy_r_r41 = CPyStatics[483]; /* 'Set' */ cpy_r_r42 = CPyDict_GetItem(cpy_r_r40, cpy_r_r41); if (unlikely(cpy_r_r42 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 20, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r43 = CPyStatics[486]; /* 'asyncio.Future[__T]' */ cpy_r_r44 = PyObject_GetItem(cpy_r_r42, cpy_r_r43); CPy_DECREF(cpy_r_r42); if (unlikely(cpy_r_r44 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 20, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r45 = CPyStatic__gather___globals; cpy_r_r46 = CPyStatics[487]; /* 'FinishedTasks' */ @@ -42024,21 +42261,21 @@ CPyL3: ; cpy_r_r48 = cpy_r_r47 >= 0; if (unlikely(!cpy_r_r48)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 20, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r49 = CPyStatic__gather___globals; cpy_r_r50 = CPyStatics[483]; /* 'Set' */ cpy_r_r51 = CPyDict_GetItem(cpy_r_r49, cpy_r_r50); if (unlikely(cpy_r_r51 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 21, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r52 = CPyStatics[486]; /* 'asyncio.Future[__T]' */ cpy_r_r53 = PyObject_GetItem(cpy_r_r51, cpy_r_r52); CPy_DECREF(cpy_r_r51); if (unlikely(cpy_r_r53 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 21, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r54 = CPyStatic__gather___globals; cpy_r_r55 = CPyStatics[488]; /* 'PendingTasks' */ @@ -42047,98 +42284,116 @@ CPyL3: ; cpy_r_r57 = cpy_r_r56 >= 0; if (unlikely(!cpy_r_r57)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 21, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r58 = CPyModule_asyncio; - cpy_r_r59 = CPyStatics[489]; /* 'Task' */ + cpy_r_r59 = CPyStatics[489]; /* 'CancelledError' */ cpy_r_r60 = CPyObject_GetAttr(cpy_r_r58, cpy_r_r59); if (unlikely(cpy_r_r60 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 25, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } - CPyStatic__gather___Task = cpy_r_r60; - CPy_INCREF(CPyStatic__gather___Task); + CPyStatic__gather___CancelledError = cpy_r_r60; + CPy_INCREF(CPyStatic__gather___CancelledError); cpy_r_r61 = CPyStatic__gather___globals; - cpy_r_r62 = CPyStatics[489]; /* 'Task' */ + cpy_r_r62 = CPyStatics[489]; /* 'CancelledError' */ cpy_r_r63 = CPyDict_SetItem(cpy_r_r61, cpy_r_r62, cpy_r_r60); CPy_DECREF(cpy_r_r60); cpy_r_r64 = cpy_r_r63 >= 0; if (unlikely(!cpy_r_r64)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 25, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r65 = CPyModule_asyncio; - cpy_r_r66 = CPyStatics[490]; /* 'get_running_loop' */ + cpy_r_r66 = CPyStatics[490]; /* 'Task' */ cpy_r_r67 = CPyObject_GetAttr(cpy_r_r65, cpy_r_r66); if (unlikely(cpy_r_r67 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 26, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } - CPyStatic__gather___get_running_loop = cpy_r_r67; - CPy_INCREF(CPyStatic__gather___get_running_loop); + CPyStatic__gather___Task = cpy_r_r67; + CPy_INCREF(CPyStatic__gather___Task); cpy_r_r68 = CPyStatic__gather___globals; - cpy_r_r69 = CPyStatics[490]; /* 'get_running_loop' */ + cpy_r_r69 = CPyStatics[490]; /* 'Task' */ cpy_r_r70 = CPyDict_SetItem(cpy_r_r68, cpy_r_r69, cpy_r_r67); CPy_DECREF(cpy_r_r67); cpy_r_r71 = cpy_r_r70 >= 0; if (unlikely(!cpy_r_r71)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 26, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } cpy_r_r72 = CPyModule_asyncio; - cpy_r_r73 = CPyStatics[491]; /* 'wait' */ + cpy_r_r73 = CPyStatics[491]; /* 'get_running_loop' */ cpy_r_r74 = CPyObject_GetAttr(cpy_r_r72, cpy_r_r73); if (unlikely(cpy_r_r74 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 27, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } - CPyStatic__gather___wait = cpy_r_r74; - CPy_INCREF(CPyStatic__gather___wait); + CPyStatic__gather___get_running_loop = cpy_r_r74; + CPy_INCREF(CPyStatic__gather___get_running_loop); cpy_r_r75 = CPyStatic__gather___globals; - cpy_r_r76 = CPyStatics[491]; /* 'wait' */ + cpy_r_r76 = CPyStatics[491]; /* 'get_running_loop' */ cpy_r_r77 = CPyDict_SetItem(cpy_r_r75, cpy_r_r76, cpy_r_r74); CPy_DECREF(cpy_r_r74); cpy_r_r78 = cpy_r_r77 >= 0; if (unlikely(!cpy_r_r78)) { CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 27, CPyStatic__gather___globals); - goto CPyL26; + goto CPyL28; } - cpy_r_r79 = CPyStatic__gather___globals; - cpy_r_r80 = CPyStatics[18]; /* 'a_sync' */ - cpy_r_r81 = CPyDict_GetItem(cpy_r_r79, cpy_r_r80); + cpy_r_r79 = CPyModule_asyncio; + cpy_r_r80 = CPyStatics[492]; /* 'wait' */ + cpy_r_r81 = CPyObject_GetAttr(cpy_r_r79, cpy_r_r80); if (unlikely(cpy_r_r81 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 30, CPyStatic__gather___globals); - goto CPyL26; + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 28, CPyStatic__gather___globals); + goto CPyL28; } - cpy_r_r82 = CPyStatics[479]; /* 'asyncio' */ - cpy_r_r83 = CPyObject_GetAttr(cpy_r_r81, cpy_r_r82); + CPyStatic__gather___wait = cpy_r_r81; + CPy_INCREF(CPyStatic__gather___wait); + cpy_r_r82 = CPyStatic__gather___globals; + cpy_r_r83 = CPyStatics[492]; /* 'wait' */ + cpy_r_r84 = CPyDict_SetItem(cpy_r_r82, cpy_r_r83, cpy_r_r81); CPy_DECREF(cpy_r_r81); - if (unlikely(cpy_r_r83 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 30, CPyStatic__gather___globals); - goto CPyL26; + cpy_r_r85 = cpy_r_r84 >= 0; + if (unlikely(!cpy_r_r85)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 28, CPyStatic__gather___globals); + goto CPyL28; } - cpy_r_r84 = CPyStatics[492]; /* 'sleep0' */ - cpy_r_r85 = CPyObject_GetAttr(cpy_r_r83, cpy_r_r84); - CPy_DECREF(cpy_r_r83); - if (unlikely(cpy_r_r85 == NULL)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 30, CPyStatic__gather___globals); - goto CPyL26; + cpy_r_r86 = CPyStatic__gather___globals; + cpy_r_r87 = CPyStatics[18]; /* 'a_sync' */ + cpy_r_r88 = CPyDict_GetItem(cpy_r_r86, cpy_r_r87); + if (unlikely(cpy_r_r88 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 31, CPyStatic__gather___globals); + goto CPyL28; + } + cpy_r_r89 = CPyStatics[479]; /* 'asyncio' */ + cpy_r_r90 = CPyObject_GetAttr(cpy_r_r88, cpy_r_r89); + CPy_DECREF(cpy_r_r88); + if (unlikely(cpy_r_r90 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 31, CPyStatic__gather___globals); + goto CPyL28; } - CPyStatic__gather___yield_to_loop = cpy_r_r85; + cpy_r_r91 = CPyStatics[493]; /* 'sleep0' */ + cpy_r_r92 = CPyObject_GetAttr(cpy_r_r90, cpy_r_r91); + CPy_DECREF(cpy_r_r90); + if (unlikely(cpy_r_r92 == NULL)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 31, CPyStatic__gather___globals); + goto CPyL28; + } + CPyStatic__gather___yield_to_loop = cpy_r_r92; CPy_INCREF(CPyStatic__gather___yield_to_loop); - cpy_r_r86 = CPyStatic__gather___globals; - cpy_r_r87 = CPyStatics[493]; /* 'yield_to_loop' */ - cpy_r_r88 = CPyDict_SetItem(cpy_r_r86, cpy_r_r87, cpy_r_r85); - CPy_DECREF(cpy_r_r85); - cpy_r_r89 = cpy_r_r88 >= 0; - if (unlikely(!cpy_r_r89)) { - CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 30, CPyStatic__gather___globals); - goto CPyL26; + cpy_r_r93 = CPyStatic__gather___globals; + cpy_r_r94 = CPyStatics[494]; /* 'yield_to_loop' */ + cpy_r_r95 = CPyDict_SetItem(cpy_r_r93, cpy_r_r94, cpy_r_r92); + CPy_DECREF(cpy_r_r92); + cpy_r_r96 = cpy_r_r95 >= 0; + if (unlikely(!cpy_r_r96)) { + CPy_AddTraceback("dank_mids\\helpers\\_gather.py", "", 31, CPyStatic__gather___globals); + goto CPyL28; } return 1; -CPyL26: ; - cpy_r_r90 = 2; - return cpy_r_r90; +CPyL28: ; + cpy_r_r97 = 2; + return cpy_r_r97; } static PyObject *lru_cache___lru_cache_lite_env_setup(PyTypeObject *type); @@ -42975,7 +43230,7 @@ PyObject *CPyDef_lru_cache___lru_cache_lite(PyObject *cpy_r_func) { goto CPyL18; } cpy_r_r4 = CPyModule_builtins; - cpy_r_r5 = CPyStatics[494]; /* 'object' */ + cpy_r_r5 = CPyStatics[495]; /* 'object' */ cpy_r_r6 = CPyObject_GetAttr(cpy_r_r4, cpy_r_r5); if (unlikely(cpy_r_r6 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "lru_cache_lite", 38, CPyStatic_lru_cache___globals); @@ -43045,7 +43300,7 @@ CPyL10: ; CPy_DECREF(cpy_r_r9); CPy_INCREF(cpy_r_r20); cpy_r_r21 = CPyStatic_lru_cache___globals; - cpy_r_r22 = CPyStatics[495]; /* 'lru_cache_lite_wrap' */ + cpy_r_r22 = CPyStatics[496]; /* 'lru_cache_lite_wrap' */ cpy_r_r23 = CPyDict_SetItem(cpy_r_r21, cpy_r_r22, cpy_r_r20); CPy_DECREF(cpy_r_r20); cpy_r_r24 = cpy_r_r23 >= 0; @@ -43065,7 +43320,7 @@ CPyL10: ; goto CPyL22; } CPyL15: ; - cpy_r_r26 = CPyStatics[496]; /* 'cache' */ + cpy_r_r26 = CPyStatics[497]; /* 'cache' */ cpy_r_r27 = PyObject_SetAttr(cpy_r_r20, cpy_r_r26, cpy_r_r25); CPy_DECREF(cpy_r_r25); cpy_r_r28 = cpy_r_r27 >= 0; @@ -43411,7 +43666,7 @@ CPyL7: ; CPy_DECREF(cpy_r_r4); CPy_INCREF(cpy_r_r15); cpy_r_r16 = CPyStatic_lru_cache___globals; - cpy_r_r17 = CPyStatics[495]; /* 'lru_cache_lite_wrap' */ + cpy_r_r17 = CPyStatics[496]; /* 'lru_cache_lite_wrap' */ cpy_r_r18 = CPyDict_SetItem(cpy_r_r16, cpy_r_r17, cpy_r_r15); CPy_DECREF(cpy_r_r15); cpy_r_r19 = cpy_r_r18 >= 0; @@ -43431,7 +43686,7 @@ CPyL7: ; goto CPyL19; } CPyL12: ; - cpy_r_r21 = CPyStatics[496]; /* 'cache' */ + cpy_r_r21 = CPyStatics[497]; /* 'cache' */ cpy_r_r22 = PyObject_SetAttr(cpy_r_r15, cpy_r_r21, cpy_r_r20); CPy_DECREF(cpy_r_r20); cpy_r_r23 = cpy_r_r22 >= 0; @@ -43542,7 +43797,7 @@ char CPyDef_lru_cache_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[702]; /* ('wraps',) */ + cpy_r_r5 = CPyStatics[703]; /* ('wraps',) */ cpy_r_r6 = CPyStatics[201]; /* 'functools' */ cpy_r_r7 = CPyStatic_lru_cache___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -43553,7 +43808,7 @@ CPyL3: ; CPyModule_functools = cpy_r_r8; CPy_INCREF(CPyModule_functools); CPy_DECREF(cpy_r_r8); - cpy_r_r9 = CPyStatics[734]; /* ('Callable', 'Dict', 'TypeVar') */ + cpy_r_r9 = CPyStatics[735]; /* ('Callable', 'Dict', 'TypeVar') */ cpy_r_r10 = CPyStatics[7]; /* 'typing' */ cpy_r_r11 = CPyStatic_lru_cache___globals; cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); @@ -43564,8 +43819,8 @@ CPyL3: ; CPyModule_typing = cpy_r_r12; CPy_INCREF(CPyModule_typing); CPy_DECREF(cpy_r_r12); - cpy_r_r13 = CPyStatics[735]; /* ('ParamSpec',) */ - cpy_r_r14 = CPyStatics[498]; /* 'typing_extensions' */ + cpy_r_r13 = CPyStatics[736]; /* ('ParamSpec',) */ + cpy_r_r14 = CPyStatics[499]; /* 'typing_extensions' */ cpy_r_r15 = CPyStatic_lru_cache___globals; cpy_r_r16 = CPyImport_ImportFromMany(cpy_r_r14, cpy_r_r13, cpy_r_r13, cpy_r_r15); if (unlikely(cpy_r_r16 == NULL)) { @@ -43575,9 +43830,9 @@ CPyL3: ; CPyModule_typing_extensions = cpy_r_r16; CPy_INCREF(CPyModule_typing_extensions); CPy_DECREF(cpy_r_r16); - cpy_r_r17 = CPyStatics[499]; /* '__P' */ + cpy_r_r17 = CPyStatics[500]; /* '__P' */ cpy_r_r18 = CPyStatic_lru_cache___globals; - cpy_r_r19 = CPyStatics[497]; /* 'ParamSpec' */ + cpy_r_r19 = CPyStatics[498]; /* 'ParamSpec' */ cpy_r_r20 = CPyDict_GetItem(cpy_r_r18, cpy_r_r19); if (unlikely(cpy_r_r20 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "", 7, CPyStatic_lru_cache___globals); @@ -43592,7 +43847,7 @@ CPyL3: ; goto CPyL15; } cpy_r_r24 = CPyStatic_lru_cache___globals; - cpy_r_r25 = CPyStatics[499]; /* '__P' */ + cpy_r_r25 = CPyStatics[500]; /* '__P' */ cpy_r_r26 = CPyDict_SetItem(cpy_r_r24, cpy_r_r25, cpy_r_r23); CPy_DECREF(cpy_r_r23); cpy_r_r27 = cpy_r_r26 >= 0; @@ -43625,7 +43880,7 @@ CPyL3: ; CPy_AddTraceback("dank_mids\\helpers\\lru_cache.py", "", 8, CPyStatic_lru_cache___globals); goto CPyL15; } - cpy_r_r39 = CPyStatics[500]; /* 'lru_cache_lite' */ + cpy_r_r39 = CPyStatics[501]; /* 'lru_cache_lite' */ cpy_r_r40 = CPyStatics[316]; /* 'lru_cache_lite_nonull' */ cpy_r_r41 = PyList_New(2); if (unlikely(cpy_r_r41 == NULL)) { @@ -44296,8 +44551,8 @@ PyObject *CPyDef__weaklist___WeakList_____repr__(PyObject *cpy_r_self) { CPy_TypeErrorTraceback("dank_mids\\helpers\\_weaklist.py", "__repr__", 24, CPyStatic__weaklist___globals, "str", cpy_r_r2); goto CPyL8; } - cpy_r_r4 = CPyStatics[501]; /* '([' */ - cpy_r_r5 = CPyStatics[502]; /* ', ' */ + cpy_r_r4 = CPyStatics[502]; /* '([' */ + cpy_r_r5 = CPyStatics[503]; /* ', ' */ cpy_r_r6 = CPyModule_builtins; cpy_r_r7 = CPyStatics[66]; /* 'repr' */ cpy_r_r8 = CPyObject_GetAttr(cpy_r_r6, cpy_r_r7); @@ -44327,7 +44582,7 @@ PyObject *CPyDef__weaklist___WeakList_____repr__(PyObject *cpy_r_self) { CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "__repr__", 24, CPyStatic__weaklist___globals); goto CPyL9; } - cpy_r_r16 = CPyStatics[503]; /* '])' */ + cpy_r_r16 = CPyStatics[504]; /* '])' */ cpy_r_r17 = CPyStr_Build(4, cpy_r_r3, cpy_r_r4, cpy_r_r15, cpy_r_r16); CPy_DECREF(cpy_r_r3); CPy_DECREF(cpy_r_r15); @@ -45313,7 +45568,7 @@ char CPyDef__weaklist___WeakList___append(PyObject *cpy_r_self, PyObject *cpy_r_ int32_t cpy_r_r10; char cpy_r_r11; char cpy_r_r12; - cpy_r_r0 = CPyStatics[504]; /* '_gc_callback' */ + cpy_r_r0 = CPyStatics[505]; /* '_gc_callback' */ cpy_r_r1 = CPyObject_GetAttr(cpy_r_self, cpy_r_r0); if (unlikely(cpy_r_r1 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "append", 45, CPyStatic__weaklist___globals); @@ -45422,7 +45677,7 @@ char CPyDef__weaklist___WeakList___extend(PyObject *cpy_r_self, PyObject *cpy_r_ int32_t cpy_r_r17; char cpy_r_r18; char cpy_r_r19; - cpy_r_r0 = CPyStatics[504]; /* '_gc_callback' */ + cpy_r_r0 = CPyStatics[505]; /* '_gc_callback' */ cpy_r_r1 = CPyObject_GetAttr(cpy_r_self, cpy_r_r0); if (unlikely(cpy_r_r1 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "extend", 48, CPyStatic__weaklist___globals); @@ -45635,7 +45890,7 @@ CPyL1: ; } else goto CPyL9; CPyL5: ; - cpy_r_r9 = CPyStatics[505]; /* 'list.remove(x): x not in list' */ + cpy_r_r9 = CPyStatics[506]; /* 'list.remove(x): x not in list' */ cpy_r_r10 = CPyModule_builtins; cpy_r_r11 = CPyStatics[129]; /* 'ValueError' */ cpy_r_r12 = CPyObject_GetAttr(cpy_r_r10, cpy_r_r11); @@ -45736,7 +45991,7 @@ char CPyDef__weaklist___WeakList____gc_callback(PyObject *cpy_r_self, PyObject * CPy_INCREF(cpy_r_r0); CPyL1: ; cpy_r_r1 = CPyTagged_Id(cpy_r_item); - cpy_r_r2 = CPyStatics[506]; /* 'pop' */ + cpy_r_r2 = CPyStatics[507]; /* 'pop' */ cpy_r_r3 = CPyTagged_StealAsObject(cpy_r_r1); cpy_r_r4 = Py_None; PyObject *cpy_r_r5[3] = {cpy_r_r0, cpy_r_r3, cpy_r_r4}; @@ -45901,13 +46156,13 @@ CPyL3: ; cpy_r_r7 = (void *)&cpy_r_r6; int64_t cpy_r_r8[1] = {1}; cpy_r_r9 = (void *)&cpy_r_r8; - cpy_r_r10 = CPyStatics[737]; /* (('weakref', 'weakref', 'weakref'),) */ + cpy_r_r10 = CPyStatics[738]; /* (('weakref', 'weakref', 'weakref'),) */ cpy_r_r11 = CPyStatic__weaklist___globals; - cpy_r_r12 = CPyStatics[508]; /* 'dank_mids\\helpers\\_weaklist.py' */ + cpy_r_r12 = CPyStatics[509]; /* 'dank_mids\\helpers\\_weaklist.py' */ cpy_r_r13 = CPyStatics[20]; /* '' */ cpy_r_r14 = CPyImport_ImportMany(cpy_r_r10, cpy_r_r7, cpy_r_r11, cpy_r_r12, cpy_r_r13, cpy_r_r9); if (!cpy_r_r14) goto CPyL30; - cpy_r_r15 = CPyStatics[738]; /* ('Any', 'Callable', 'Dict', 'Final', 'Generic', + cpy_r_r15 = CPyStatics[739]; /* ('Any', 'Callable', 'Dict', 'Final', 'Generic', 'Iterable', 'Iterator', 'Optional', 'TypeVar', 'final') */ cpy_r_r16 = CPyStatics[7]; /* 'typing' */ cpy_r_r17 = CPyStatic__weaklist___globals; @@ -45945,14 +46200,14 @@ CPyL3: ; goto CPyL30; } cpy_r_r30 = CPyModule_weakref; - cpy_r_r31 = CPyStatics[511]; /* 'ReferenceType' */ + cpy_r_r31 = CPyStatics[512]; /* 'ReferenceType' */ cpy_r_r32 = CPyObject_GetAttr(cpy_r_r30, cpy_r_r31); if (unlikely(cpy_r_r32 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 7, CPyStatic__weaklist___globals); goto CPyL30; } cpy_r_r33 = CPyStatic__weaklist___globals; - cpy_r_r34 = CPyStatics[512]; /* 'Ref' */ + cpy_r_r34 = CPyStatics[513]; /* 'Ref' */ cpy_r_r35 = CPyDict_SetItem(cpy_r_r33, cpy_r_r34, cpy_r_r32); CPy_DECREF(cpy_r_r32); cpy_r_r36 = cpy_r_r35 >= 0; @@ -46001,7 +46256,7 @@ CPyL3: ; goto CPyL30; } cpy_r_r50 = CPyStatic__weaklist___globals; - cpy_r_r51 = CPyStatics[513]; /* 'GCCallback' */ + cpy_r_r51 = CPyStatics[514]; /* 'GCCallback' */ cpy_r_r52 = CPyDict_SetItem(cpy_r_r50, cpy_r_r51, cpy_r_r49); CPy_DECREF(cpy_r_r49); cpy_r_r53 = cpy_r_r52 >= 0; @@ -46010,7 +46265,7 @@ CPyL3: ; goto CPyL30; } cpy_r_r54 = CPyModule_weakref; - cpy_r_r55 = CPyStatics[514]; /* 'ref' */ + cpy_r_r55 = CPyStatics[515]; /* 'ref' */ cpy_r_r56 = CPyObject_GetAttr(cpy_r_r54, cpy_r_r55); if (unlikely(cpy_r_r56 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 10, CPyStatic__weaklist___globals); @@ -46019,7 +46274,7 @@ CPyL3: ; CPyStatic__weaklist___ref = cpy_r_r56; CPy_INCREF(CPyStatic__weaklist___ref); cpy_r_r57 = CPyStatic__weaklist___globals; - cpy_r_r58 = CPyStatics[514]; /* 'ref' */ + cpy_r_r58 = CPyStatics[515]; /* 'ref' */ cpy_r_r59 = CPyDict_SetItem(cpy_r_r57, cpy_r_r58, cpy_r_r56); CPy_DECREF(cpy_r_r56); cpy_r_r60 = cpy_r_r59 >= 0; @@ -46028,13 +46283,13 @@ CPyL3: ; goto CPyL30; } cpy_r_r61 = CPyModule_weakref; - cpy_r_r62 = CPyStatics[514]; /* 'ref' */ + cpy_r_r62 = CPyStatics[515]; /* 'ref' */ cpy_r_r63 = CPyObject_GetAttr(cpy_r_r61, cpy_r_r62); if (unlikely(cpy_r_r63 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 11, CPyStatic__weaklist___globals); goto CPyL30; } - cpy_r_r64 = CPyStatics[515]; /* '__call__' */ + cpy_r_r64 = CPyStatics[516]; /* '__call__' */ cpy_r_r65 = CPyObject_GetAttr(cpy_r_r63, cpy_r_r64); CPy_DECREF(cpy_r_r63); if (unlikely(cpy_r_r65 == NULL)) { @@ -46044,7 +46299,7 @@ CPyL3: ; CPyStatic__weaklist____call_ref = cpy_r_r65; CPy_INCREF(CPyStatic__weaklist____call_ref); cpy_r_r66 = CPyStatic__weaklist___globals; - cpy_r_r67 = CPyStatics[516]; /* '_call_ref' */ + cpy_r_r67 = CPyStatics[517]; /* '_call_ref' */ cpy_r_r68 = CPyDict_SetItem(cpy_r_r66, cpy_r_r67, cpy_r_r65); CPy_DECREF(cpy_r_r65); cpy_r_r69 = cpy_r_r68 >= 0; @@ -46053,7 +46308,7 @@ CPyL3: ; goto CPyL30; } cpy_r_r70 = CPyStatic__weaklist___globals; - cpy_r_r71 = CPyStatics[509]; /* 'Generic' */ + cpy_r_r71 = CPyStatics[510]; /* 'Generic' */ cpy_r_r72 = CPyDict_GetItem(cpy_r_r70, cpy_r_r71); if (unlikely(cpy_r_r72 == NULL)) { CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 15, CPyStatic__weaklist___globals); @@ -46079,7 +46334,7 @@ CPyL3: ; CPy_AddTraceback("dank_mids\\helpers\\_weaklist.py", "", 15, CPyStatic__weaklist___globals); goto CPyL30; } - cpy_r_r78 = CPyStatics[517]; /* 'dank_mids.helpers._weaklist' */ + cpy_r_r78 = CPyStatics[518]; /* 'dank_mids.helpers._weaklist' */ cpy_r_r79 = (PyObject *)CPyType__weaklist___WeakList_template; cpy_r_r80 = CPyType_FromTemplate(cpy_r_r79, cpy_r_r77, cpy_r_r78); CPy_DECREF(cpy_r_r77); @@ -46093,7 +46348,7 @@ CPyL3: ; goto CPyL34; } cpy_r_r82 = CPyStatics[13]; /* '__mypyc_attrs__' */ - cpy_r_r83 = CPyStatics[518]; /* '_refs' */ + cpy_r_r83 = CPyStatics[519]; /* '_refs' */ cpy_r_r84 = CPyStatics[131]; /* '__dict__' */ cpy_r_r85 = PyTuple_Pack(2, cpy_r_r83, cpy_r_r84); if (unlikely(cpy_r_r85 == NULL)) { @@ -46110,7 +46365,7 @@ CPyL3: ; CPyType__weaklist___WeakList = (PyTypeObject *)cpy_r_r80; CPy_INCREF(CPyType__weaklist___WeakList); cpy_r_r88 = CPyStatic__weaklist___globals; - cpy_r_r89 = CPyStatics[519]; /* 'WeakList' */ + cpy_r_r89 = CPyStatics[520]; /* 'WeakList' */ cpy_r_r90 = CPyDict_SetItem(cpy_r_r88, cpy_r_r89, cpy_r_r80); CPy_DECREF(cpy_r_r80); cpy_r_r91 = cpy_r_r90 >= 0; @@ -46434,7 +46689,7 @@ char CPyDef_constants_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[739]; /* ('Dict', 'Final') */ + cpy_r_r5 = CPyStatics[740]; /* ('Dict', 'Final') */ cpy_r_r6 = CPyStatics[7]; /* 'typing' */ cpy_r_r7 = CPyStatic_constants___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -46450,13 +46705,13 @@ CPyL3: ; cpy_r_r11 = (void *)&cpy_r_r10; int64_t cpy_r_r12[1] = {4}; cpy_r_r13 = (void *)&cpy_r_r12; - cpy_r_r14 = CPyStatics[741]; /* (('multicall.constants', 'multicall', 'multicall'),) */ + cpy_r_r14 = CPyStatics[742]; /* (('multicall.constants', 'multicall', 'multicall'),) */ cpy_r_r15 = CPyStatic_constants___globals; - cpy_r_r16 = CPyStatics[521]; /* 'dank_mids\\constants.py' */ + cpy_r_r16 = CPyStatics[522]; /* 'dank_mids\\constants.py' */ cpy_r_r17 = CPyStatics[20]; /* '' */ cpy_r_r18 = CPyImport_ImportMany(cpy_r_r14, cpy_r_r11, cpy_r_r15, cpy_r_r16, cpy_r_r17, cpy_r_r13); if (!cpy_r_r18) goto CPyL80; - cpy_r_r19 = CPyStatics[742]; /* ('BlockNumber',) */ + cpy_r_r19 = CPyStatics[743]; /* ('BlockNumber',) */ cpy_r_r20 = CPyStatics[85]; /* 'eth_typing' */ cpy_r_r21 = CPyStatic_constants___globals; cpy_r_r22 = CPyImport_ImportFromMany(cpy_r_r20, cpy_r_r19, cpy_r_r19, cpy_r_r21); @@ -46467,7 +46722,7 @@ CPyL3: ; CPyModule_eth_typing = cpy_r_r22; CPy_INCREF(CPyModule_eth_typing); CPy_DECREF(cpy_r_r22); - cpy_r_r23 = CPyStatics[743]; /* ('Network',) */ + cpy_r_r23 = CPyStatics[744]; /* ('Network',) */ cpy_r_r24 = CPyStatics[311]; /* 'multicall.constants' */ cpy_r_r25 = CPyStatic_constants___globals; cpy_r_r26 = CPyImport_ImportFromMany(cpy_r_r24, cpy_r_r23, cpy_r_r23, cpy_r_r25); @@ -46478,10 +46733,10 @@ CPyL3: ; CPyModule_multicall___constants = cpy_r_r26; CPy_INCREF(CPyModule_multicall___constants); CPy_DECREF(cpy_r_r26); - cpy_r_r27 = CPyStatics[524]; /* 'payload too large' */ - cpy_r_r28 = CPyStatics[525]; /* 'content length too large' */ - cpy_r_r29 = CPyStatics[526]; /* 'request entity too large' */ - cpy_r_r30 = CPyStatics[527]; /* 'batch limit exceeded' */ + cpy_r_r27 = CPyStatics[525]; /* 'payload too large' */ + cpy_r_r28 = CPyStatics[526]; /* 'content length too large' */ + cpy_r_r29 = CPyStatics[527]; /* 'request entity too large' */ + cpy_r_r30 = CPyStatics[528]; /* 'batch limit exceeded' */ cpy_r_r31 = PySet_New(NULL); if (unlikely(cpy_r_r31 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 8, CPyStatic_constants___globals); @@ -46514,7 +46769,7 @@ CPyL3: ; CPyStatic_constants___TOO_MUCH_DATA_ERRS = cpy_r_r31; CPy_INCREF(CPyStatic_constants___TOO_MUCH_DATA_ERRS); cpy_r_r40 = CPyStatic_constants___globals; - cpy_r_r41 = CPyStatics[528]; /* 'TOO_MUCH_DATA_ERRS' */ + cpy_r_r41 = CPyStatics[529]; /* 'TOO_MUCH_DATA_ERRS' */ cpy_r_r42 = CPyDict_SetItem(cpy_r_r40, cpy_r_r41, cpy_r_r31); CPy_DECREF(cpy_r_r31); cpy_r_r43 = cpy_r_r42 >= 0; @@ -46522,12 +46777,12 @@ CPyL3: ; CPy_AddTraceback("dank_mids\\constants.py", "", 8, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r44 = CPyStatics[529]; /* 'connection reset by peer' */ - cpy_r_r45 = CPyStatics[530]; /* 'server disconnected' */ - cpy_r_r46 = CPyStatics[531]; /* 'execution aborted (timeout =' */ - cpy_r_r47 = CPyStatics[527]; /* 'batch limit exceeded' */ - cpy_r_r48 = CPyStatics[532]; /* 'request timed out' */ - cpy_r_r49 = CPyStatics[533]; /* 'evm timeout' */ + cpy_r_r44 = CPyStatics[530]; /* 'connection reset by peer' */ + cpy_r_r45 = CPyStatics[531]; /* 'server disconnected' */ + cpy_r_r46 = CPyStatics[532]; /* 'execution aborted (timeout =' */ + cpy_r_r47 = CPyStatics[528]; /* 'batch limit exceeded' */ + cpy_r_r48 = CPyStatics[533]; /* 'request timed out' */ + cpy_r_r49 = CPyStatics[534]; /* 'evm timeout' */ cpy_r_r50 = PySet_New(NULL); if (unlikely(cpy_r_r50 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 19, CPyStatic_constants___globals); @@ -46572,7 +46827,7 @@ CPyL3: ; CPyStatic_constants___RETRY_ERRS = cpy_r_r50; CPy_INCREF(CPyStatic_constants___RETRY_ERRS); cpy_r_r63 = CPyStatic_constants___globals; - cpy_r_r64 = CPyStatics[534]; /* 'RETRY_ERRS' */ + cpy_r_r64 = CPyStatics[535]; /* 'RETRY_ERRS' */ cpy_r_r65 = CPyDict_SetItem(cpy_r_r63, cpy_r_r64, cpy_r_r50); CPy_DECREF(cpy_r_r50); cpy_r_r66 = cpy_r_r65 >= 0; @@ -46581,20 +46836,20 @@ CPyL3: ; goto CPyL80; } cpy_r_r67 = CPyStatic_constants___globals; - cpy_r_r68 = CPyStatics[520]; /* 'multicall' */ + cpy_r_r68 = CPyStatics[521]; /* 'multicall' */ cpy_r_r69 = CPyDict_GetItem(cpy_r_r67, cpy_r_r68); if (unlikely(cpy_r_r69 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 32, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r70 = CPyStatics[535]; /* 'constants' */ + cpy_r_r70 = CPyStatics[536]; /* 'constants' */ cpy_r_r71 = CPyObject_GetAttr(cpy_r_r69, cpy_r_r70); CPy_DECREF(cpy_r_r69); if (unlikely(cpy_r_r71 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 32, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r72 = CPyStatics[536]; /* 'GAS_LIMIT' */ + cpy_r_r72 = CPyStatics[537]; /* 'GAS_LIMIT' */ cpy_r_r73 = CPyObject_GetAttr(cpy_r_r71, cpy_r_r72); CPy_DECREF(cpy_r_r71); if (unlikely(cpy_r_r73 == NULL)) { @@ -46604,7 +46859,7 @@ CPyL3: ; CPyStatic_constants___GAS_LIMIT = cpy_r_r73; CPy_INCREF(CPyStatic_constants___GAS_LIMIT); cpy_r_r74 = CPyStatic_constants___globals; - cpy_r_r75 = CPyStatics[536]; /* 'GAS_LIMIT' */ + cpy_r_r75 = CPyStatics[537]; /* 'GAS_LIMIT' */ cpy_r_r76 = CPyDict_SetItem(cpy_r_r74, cpy_r_r75, cpy_r_r73); CPy_DECREF(cpy_r_r73); cpy_r_r77 = cpy_r_r76 >= 0; @@ -46613,20 +46868,20 @@ CPyL3: ; goto CPyL80; } cpy_r_r78 = CPyStatic_constants___globals; - cpy_r_r79 = CPyStatics[520]; /* 'multicall' */ + cpy_r_r79 = CPyStatics[521]; /* 'multicall' */ cpy_r_r80 = CPyDict_GetItem(cpy_r_r78, cpy_r_r79); if (unlikely(cpy_r_r80 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 38, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r81 = CPyStatics[535]; /* 'constants' */ + cpy_r_r81 = CPyStatics[536]; /* 'constants' */ cpy_r_r82 = CPyObject_GetAttr(cpy_r_r80, cpy_r_r81); CPy_DECREF(cpy_r_r80); if (unlikely(cpy_r_r82 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 38, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r83 = CPyStatics[537]; /* 'MULTICALL2_BYTECODE' */ + cpy_r_r83 = CPyStatics[538]; /* 'MULTICALL2_BYTECODE' */ cpy_r_r84 = CPyObject_GetAttr(cpy_r_r82, cpy_r_r83); CPy_DECREF(cpy_r_r82); if (unlikely(cpy_r_r84 == NULL)) { @@ -46636,7 +46891,7 @@ CPyL3: ; CPyStatic_constants___MULTICALL2_OVERRIDE_CODE = cpy_r_r84; CPy_INCREF(CPyStatic_constants___MULTICALL2_OVERRIDE_CODE); cpy_r_r85 = CPyStatic_constants___globals; - cpy_r_r86 = CPyStatics[538]; /* 'MULTICALL2_OVERRIDE_CODE' */ + cpy_r_r86 = CPyStatics[539]; /* 'MULTICALL2_OVERRIDE_CODE' */ cpy_r_r87 = CPyDict_SetItem(cpy_r_r85, cpy_r_r86, cpy_r_r84); CPy_DECREF(cpy_r_r84); cpy_r_r88 = cpy_r_r87 >= 0; @@ -46645,20 +46900,20 @@ CPyL3: ; goto CPyL80; } cpy_r_r89 = CPyStatic_constants___globals; - cpy_r_r90 = CPyStatics[520]; /* 'multicall' */ + cpy_r_r90 = CPyStatics[521]; /* 'multicall' */ cpy_r_r91 = CPyDict_GetItem(cpy_r_r89, cpy_r_r90); if (unlikely(cpy_r_r91 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 45, CPyStatic_constants___globals); goto CPyL33; } - cpy_r_r92 = CPyStatics[535]; /* 'constants' */ + cpy_r_r92 = CPyStatics[536]; /* 'constants' */ cpy_r_r93 = CPyObject_GetAttr(cpy_r_r91, cpy_r_r92); CPy_DECREF(cpy_r_r91); if (unlikely(cpy_r_r93 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 45, CPyStatic_constants___globals); goto CPyL33; } - cpy_r_r94 = CPyStatics[539]; /* 'MULTICALL3_BYTECODE' */ + cpy_r_r94 = CPyStatics[540]; /* 'MULTICALL3_BYTECODE' */ cpy_r_r95 = CPyObject_GetAttr(cpy_r_r93, cpy_r_r94); CPy_DECREF(cpy_r_r93); if (unlikely(cpy_r_r95 == NULL)) { @@ -46666,7 +46921,7 @@ CPyL3: ; goto CPyL33; } cpy_r_r96 = CPyStatic_constants___globals; - cpy_r_r97 = CPyStatics[540]; /* '__MULTICALL3_OVERRIDE_CODE' */ + cpy_r_r97 = CPyStatics[541]; /* '__MULTICALL3_OVERRIDE_CODE' */ cpy_r_r98 = CPyDict_SetItem(cpy_r_r96, cpy_r_r97, cpy_r_r95); CPy_DECREF(cpy_r_r95); cpy_r_r99 = cpy_r_r98 >= 0; @@ -46687,20 +46942,20 @@ CPyL33: ; CPy_DecRef(cpy_r_r103); if (!cpy_r_r104) goto CPyL39; cpy_r_r105 = CPyStatic_constants___globals; - cpy_r_r106 = CPyStatics[520]; /* 'multicall' */ + cpy_r_r106 = CPyStatics[521]; /* 'multicall' */ cpy_r_r107 = CPyDict_GetItem(cpy_r_r105, cpy_r_r106); if (unlikely(cpy_r_r107 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 51, CPyStatic_constants___globals); goto CPyL42; } - cpy_r_r108 = CPyStatics[535]; /* 'constants' */ + cpy_r_r108 = CPyStatics[536]; /* 'constants' */ cpy_r_r109 = CPyObject_GetAttr(cpy_r_r107, cpy_r_r108); CPy_DecRef(cpy_r_r107); if (unlikely(cpy_r_r109 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 51, CPyStatic_constants___globals); goto CPyL42; } - cpy_r_r110 = CPyStatics[537]; /* 'MULTICALL2_BYTECODE' */ + cpy_r_r110 = CPyStatics[538]; /* 'MULTICALL2_BYTECODE' */ cpy_r_r111 = CPyObject_GetAttr(cpy_r_r109, cpy_r_r110); CPy_DecRef(cpy_r_r109); if (unlikely(cpy_r_r111 == NULL)) { @@ -46708,7 +46963,7 @@ CPyL33: ; goto CPyL42; } cpy_r_r112 = CPyStatic_constants___globals; - cpy_r_r113 = CPyStatics[540]; /* '__MULTICALL3_OVERRIDE_CODE' */ + cpy_r_r113 = CPyStatics[541]; /* '__MULTICALL3_OVERRIDE_CODE' */ cpy_r_r114 = CPyDict_SetItem(cpy_r_r112, cpy_r_r113, cpy_r_r111); CPy_DecRef(cpy_r_r111); cpy_r_r115 = cpy_r_r114 >= 0; @@ -46749,7 +47004,7 @@ CPyL45: ; cpy_r_r118 = cpy_r_r119; CPyL46: ; cpy_r_r120 = CPyStatic_constants___globals; - cpy_r_r121 = CPyStatics[540]; /* '__MULTICALL3_OVERRIDE_CODE' */ + cpy_r_r121 = CPyStatics[541]; /* '__MULTICALL3_OVERRIDE_CODE' */ cpy_r_r122 = CPyDict_GetItem(cpy_r_r120, cpy_r_r121); if (unlikely(cpy_r_r122 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 53, CPyStatic_constants___globals); @@ -46758,7 +47013,7 @@ CPyL46: ; CPyStatic_constants___MULTICALL3_OVERRIDE_CODE = cpy_r_r122; CPy_INCREF(CPyStatic_constants___MULTICALL3_OVERRIDE_CODE); cpy_r_r123 = CPyStatic_constants___globals; - cpy_r_r124 = CPyStatics[541]; /* 'MULTICALL3_OVERRIDE_CODE' */ + cpy_r_r124 = CPyStatics[542]; /* 'MULTICALL3_OVERRIDE_CODE' */ cpy_r_r125 = CPyDict_SetItem(cpy_r_r123, cpy_r_r124, cpy_r_r122); CPy_DECREF(cpy_r_r122); cpy_r_r126 = cpy_r_r125 >= 0; @@ -46786,13 +47041,13 @@ CPyL53: ; CPy_Unreachable(); CPyL55: ; cpy_r_r128 = CPyStatic_constants___globals; - cpy_r_r129 = CPyStatics[523]; /* 'Network' */ + cpy_r_r129 = CPyStatics[524]; /* 'Network' */ cpy_r_r130 = CPyDict_GetItem(cpy_r_r128, cpy_r_r129); if (unlikely(cpy_r_r130 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 56, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r131 = CPyStatics[542]; /* 'Mainnet' */ + cpy_r_r131 = CPyStatics[543]; /* 'Mainnet' */ cpy_r_r132 = CPyObject_GetAttr(cpy_r_r130, cpy_r_r131); CPy_DECREF(cpy_r_r130); if (unlikely(cpy_r_r132 == NULL)) { @@ -46800,13 +47055,13 @@ CPyL55: ; goto CPyL80; } cpy_r_r133 = CPyStatic_constants___globals; - cpy_r_r134 = CPyStatics[523]; /* 'Network' */ + cpy_r_r134 = CPyStatics[524]; /* 'Network' */ cpy_r_r135 = CPyDict_GetItem(cpy_r_r133, cpy_r_r134); if (unlikely(cpy_r_r135 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 57, CPyStatic_constants___globals); goto CPyL85; } - cpy_r_r136 = CPyStatics[543]; /* 'Fantom' */ + cpy_r_r136 = CPyStatics[544]; /* 'Fantom' */ cpy_r_r137 = CPyObject_GetAttr(cpy_r_r135, cpy_r_r136); CPy_DECREF(cpy_r_r135); if (unlikely(cpy_r_r137 == NULL)) { @@ -46814,13 +47069,13 @@ CPyL55: ; goto CPyL85; } cpy_r_r138 = CPyStatic_constants___globals; - cpy_r_r139 = CPyStatics[523]; /* 'Network' */ + cpy_r_r139 = CPyStatics[524]; /* 'Network' */ cpy_r_r140 = CPyDict_GetItem(cpy_r_r138, cpy_r_r139); if (unlikely(cpy_r_r140 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 58, CPyStatic_constants___globals); goto CPyL86; } - cpy_r_r141 = CPyStatics[544]; /* 'Arbitrum' */ + cpy_r_r141 = CPyStatics[545]; /* 'Arbitrum' */ cpy_r_r142 = CPyObject_GetAttr(cpy_r_r140, cpy_r_r141); CPy_DECREF(cpy_r_r140); if (unlikely(cpy_r_r142 == NULL)) { @@ -46828,23 +47083,23 @@ CPyL55: ; goto CPyL86; } cpy_r_r143 = CPyStatic_constants___globals; - cpy_r_r144 = CPyStatics[523]; /* 'Network' */ + cpy_r_r144 = CPyStatics[524]; /* 'Network' */ cpy_r_r145 = CPyDict_GetItem(cpy_r_r143, cpy_r_r144); if (unlikely(cpy_r_r145 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 59, CPyStatic_constants___globals); goto CPyL87; } - cpy_r_r146 = CPyStatics[545]; /* 'Optimism' */ + cpy_r_r146 = CPyStatics[546]; /* 'Optimism' */ cpy_r_r147 = CPyObject_GetAttr(cpy_r_r145, cpy_r_r146); CPy_DECREF(cpy_r_r145); if (unlikely(cpy_r_r147 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 59, CPyStatic_constants___globals); goto CPyL87; } - cpy_r_r148 = CPyStatics[623]; /* 12336033 */ - cpy_r_r149 = CPyStatics[624]; /* 16572242 */ - cpy_r_r150 = CPyStatics[625]; /* 821923 */ - cpy_r_r151 = CPyStatics[626]; /* 722566 */ + cpy_r_r148 = CPyStatics[624]; /* 12336033 */ + cpy_r_r149 = CPyStatics[625]; /* 16572242 */ + cpy_r_r150 = CPyStatics[626]; /* 821923 */ + cpy_r_r151 = CPyStatics[627]; /* 722566 */ cpy_r_r152 = CPyDict_Build(4, cpy_r_r132, cpy_r_r148, cpy_r_r137, cpy_r_r149, cpy_r_r142, cpy_r_r150, cpy_r_r147, cpy_r_r151); CPy_DECREF(cpy_r_r132); CPy_DECREF(cpy_r_r137); @@ -46857,7 +47112,7 @@ CPyL55: ; CPyStatic_constants___MULTICALL2_DEPLOY_BLOCKS = cpy_r_r152; CPy_INCREF(CPyStatic_constants___MULTICALL2_DEPLOY_BLOCKS); cpy_r_r153 = CPyStatic_constants___globals; - cpy_r_r154 = CPyStatics[546]; /* 'MULTICALL2_DEPLOY_BLOCKS' */ + cpy_r_r154 = CPyStatics[547]; /* 'MULTICALL2_DEPLOY_BLOCKS' */ cpy_r_r155 = CPyDict_SetItem(cpy_r_r153, cpy_r_r154, cpy_r_r152); CPy_DECREF(cpy_r_r152); cpy_r_r156 = cpy_r_r155 >= 0; @@ -46866,13 +47121,13 @@ CPyL55: ; goto CPyL80; } cpy_r_r157 = CPyStatic_constants___globals; - cpy_r_r158 = CPyStatics[523]; /* 'Network' */ + cpy_r_r158 = CPyStatics[524]; /* 'Network' */ cpy_r_r159 = CPyDict_GetItem(cpy_r_r157, cpy_r_r158); if (unlikely(cpy_r_r159 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 64, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r160 = CPyStatics[542]; /* 'Mainnet' */ + cpy_r_r160 = CPyStatics[543]; /* 'Mainnet' */ cpy_r_r161 = CPyObject_GetAttr(cpy_r_r159, cpy_r_r160); CPy_DECREF(cpy_r_r159); if (unlikely(cpy_r_r161 == NULL)) { @@ -46880,13 +47135,13 @@ CPyL55: ; goto CPyL80; } cpy_r_r162 = CPyStatic_constants___globals; - cpy_r_r163 = CPyStatics[523]; /* 'Network' */ + cpy_r_r163 = CPyStatics[524]; /* 'Network' */ cpy_r_r164 = CPyDict_GetItem(cpy_r_r162, cpy_r_r163); if (unlikely(cpy_r_r164 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 65, CPyStatic_constants___globals); goto CPyL88; } - cpy_r_r165 = CPyStatics[543]; /* 'Fantom' */ + cpy_r_r165 = CPyStatics[544]; /* 'Fantom' */ cpy_r_r166 = CPyObject_GetAttr(cpy_r_r164, cpy_r_r165); CPy_DECREF(cpy_r_r164); if (unlikely(cpy_r_r166 == NULL)) { @@ -46894,13 +47149,13 @@ CPyL55: ; goto CPyL88; } cpy_r_r167 = CPyStatic_constants___globals; - cpy_r_r168 = CPyStatics[523]; /* 'Network' */ + cpy_r_r168 = CPyStatics[524]; /* 'Network' */ cpy_r_r169 = CPyDict_GetItem(cpy_r_r167, cpy_r_r168); if (unlikely(cpy_r_r169 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 66, CPyStatic_constants___globals); goto CPyL89; } - cpy_r_r170 = CPyStatics[544]; /* 'Arbitrum' */ + cpy_r_r170 = CPyStatics[545]; /* 'Arbitrum' */ cpy_r_r171 = CPyObject_GetAttr(cpy_r_r169, cpy_r_r170); CPy_DECREF(cpy_r_r169); if (unlikely(cpy_r_r171 == NULL)) { @@ -46908,13 +47163,13 @@ CPyL55: ; goto CPyL89; } cpy_r_r172 = CPyStatic_constants___globals; - cpy_r_r173 = CPyStatics[523]; /* 'Network' */ + cpy_r_r173 = CPyStatics[524]; /* 'Network' */ cpy_r_r174 = CPyDict_GetItem(cpy_r_r172, cpy_r_r173); if (unlikely(cpy_r_r174 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 67, CPyStatic_constants___globals); goto CPyL90; } - cpy_r_r175 = CPyStatics[545]; /* 'Optimism' */ + cpy_r_r175 = CPyStatics[546]; /* 'Optimism' */ cpy_r_r176 = CPyObject_GetAttr(cpy_r_r174, cpy_r_r175); CPy_DECREF(cpy_r_r174); if (unlikely(cpy_r_r176 == NULL)) { @@ -46922,24 +47177,24 @@ CPyL55: ; goto CPyL90; } cpy_r_r177 = CPyStatic_constants___globals; - cpy_r_r178 = CPyStatics[523]; /* 'Network' */ + cpy_r_r178 = CPyStatics[524]; /* 'Network' */ cpy_r_r179 = CPyDict_GetItem(cpy_r_r177, cpy_r_r178); if (unlikely(cpy_r_r179 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 68, CPyStatic_constants___globals); goto CPyL91; } - cpy_r_r180 = CPyStatics[547]; /* 'Base' */ + cpy_r_r180 = CPyStatics[548]; /* 'Base' */ cpy_r_r181 = CPyObject_GetAttr(cpy_r_r179, cpy_r_r180); CPy_DECREF(cpy_r_r179); if (unlikely(cpy_r_r181 == NULL)) { CPy_AddTraceback("dank_mids\\constants.py", "", 68, CPyStatic_constants___globals); goto CPyL91; } - cpy_r_r182 = CPyStatics[627]; /* 14353601 */ - cpy_r_r183 = CPyStatics[628]; /* 33001987 */ - cpy_r_r184 = CPyStatics[629]; /* 7654707 */ - cpy_r_r185 = CPyStatics[630]; /* 4286263 */ - cpy_r_r186 = CPyStatics[631]; /* 5022 */ + cpy_r_r182 = CPyStatics[628]; /* 14353601 */ + cpy_r_r183 = CPyStatics[629]; /* 33001987 */ + cpy_r_r184 = CPyStatics[630]; /* 7654707 */ + cpy_r_r185 = CPyStatics[631]; /* 4286263 */ + cpy_r_r186 = CPyStatics[632]; /* 5022 */ cpy_r_r187 = CPyDict_Build(5, cpy_r_r161, cpy_r_r182, cpy_r_r166, cpy_r_r183, cpy_r_r171, cpy_r_r184, cpy_r_r176, cpy_r_r185, cpy_r_r181, cpy_r_r186); CPy_DECREF(cpy_r_r161); CPy_DECREF(cpy_r_r166); @@ -46953,7 +47208,7 @@ CPyL55: ; CPyStatic_constants___MULTICALL3_DEPLOY_BLOCKS = cpy_r_r187; CPy_INCREF(CPyStatic_constants___MULTICALL3_DEPLOY_BLOCKS); cpy_r_r188 = CPyStatic_constants___globals; - cpy_r_r189 = CPyStatics[548]; /* 'MULTICALL3_DEPLOY_BLOCKS' */ + cpy_r_r189 = CPyStatics[549]; /* 'MULTICALL3_DEPLOY_BLOCKS' */ cpy_r_r190 = CPyDict_SetItem(cpy_r_r188, cpy_r_r189, cpy_r_r187); CPy_DECREF(cpy_r_r187); cpy_r_r191 = cpy_r_r190 >= 0; @@ -46961,16 +47216,16 @@ CPyL55: ; CPy_AddTraceback("dank_mids\\constants.py", "", 63, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r192 = CPyStatics[549]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000094e6f206163636573730000000000000000000000000000000000000000000000' */ - cpy_r_r193 = CPyStatics[550]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e6d696e7420697320706175736564000000000000000000000000000000000000' */ - cpy_r_r194 = CPyStatics[551]; /* '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000016496e76616c6964206574686572207472616e7366657200000000000000000000' */ - cpy_r_r195 = CPyStatics[552]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e4e4f4e5f454d5054595f44415441000000000000000000000000000000000000' */ - cpy_r_r196 = CPyStatics[553]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000246d73672e736967206973206e6f742061737369676e656420746f207375626d6f64756c6500000000000000000000000000000000000000000000000000000000' */ - cpy_r_r197 = CPyStatics[554]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000346f6e6c792077726170706564206e617469766520636f6e747261637420636f756c642073656e64206e617469766520746f6b656e000000000000000000000000' */ - cpy_r_r198 = CPyStatics[555]; /* '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000013434f4e54524f4c4c45525f52454a454354454400000000000000000000000000' */ - cpy_r_r199 = CPyStatics[556]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000204469616d6f6e643a2046756e6374696f6e20646f6573206e6f74206578697374' */ - cpy_r_r200 = CPyStatics[557]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a66756e6374696f6e2073686f756c6420626520616c6c6f776564000000000000' */ - cpy_r_r201 = CPyStatics[558]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001846756e6374696f6e20646f6573206e6f742065786973742e0000000000000000' */ + cpy_r_r192 = CPyStatics[550]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000094e6f206163636573730000000000000000000000000000000000000000000000' */ + cpy_r_r193 = CPyStatics[551]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e6d696e7420697320706175736564000000000000000000000000000000000000' */ + cpy_r_r194 = CPyStatics[552]; /* '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000016496e76616c6964206574686572207472616e7366657200000000000000000000' */ + cpy_r_r195 = CPyStatics[553]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e4e4f4e5f454d5054595f44415441000000000000000000000000000000000000' */ + cpy_r_r196 = CPyStatics[554]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000246d73672e736967206973206e6f742061737369676e656420746f207375626d6f64756c6500000000000000000000000000000000000000000000000000000000' */ + cpy_r_r197 = CPyStatics[555]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000346f6e6c792077726170706564206e617469766520636f6e747261637420636f756c642073656e64206e617469766520746f6b656e000000000000000000000000' */ + cpy_r_r198 = CPyStatics[556]; /* '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000013434f4e54524f4c4c45525f52454a454354454400000000000000000000000000' */ + cpy_r_r199 = CPyStatics[557]; /* '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000204469616d6f6e643a2046756e6374696f6e20646f6573206e6f74206578697374' */ + cpy_r_r200 = CPyStatics[558]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a66756e6374696f6e2073686f756c6420626520616c6c6f776564000000000000' */ + cpy_r_r201 = CPyStatics[559]; /* '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001846756e6374696f6e20646f6573206e6f742065786973742e0000000000000000' */ CPy_INCREF(cpy_r_r192); CPy_INCREF(cpy_r_r193); CPy_INCREF(cpy_r_r194); @@ -47003,7 +47258,7 @@ CPyL55: ; CPy_INCREF(CPyStatic_constants___BAD_HEXES.f8); CPy_INCREF(CPyStatic_constants___BAD_HEXES.f9); cpy_r_r203 = CPyStatic_constants___globals; - cpy_r_r204 = CPyStatics[559]; /* 'BAD_HEXES' */ + cpy_r_r204 = CPyStatics[560]; /* 'BAD_HEXES' */ cpy_r_r205 = PyTuple_New(10); if (unlikely(cpy_r_r205 == NULL)) CPyError_OutOfMemory(); @@ -47034,8 +47289,8 @@ CPyL55: ; CPy_AddTraceback("dank_mids\\constants.py", "", 75, CPyStatic_constants___globals); goto CPyL80; } - cpy_r_r208 = CPyStatics[610]; /* b'\x08\xc3y\xa0' */ - cpy_r_r209 = CPyStatics[611]; /* b'4e487b71' */ + cpy_r_r208 = CPyStatics[611]; /* b'\x08\xc3y\xa0' */ + cpy_r_r209 = CPyStatics[612]; /* b'4e487b71' */ CPy_INCREF(cpy_r_r208); CPy_INCREF(cpy_r_r209); cpy_r_r210.f0 = cpy_r_r208; @@ -47044,7 +47299,7 @@ CPyL55: ; CPy_INCREF(CPyStatic_constants___REVERT_SELECTORS.f0); CPy_INCREF(CPyStatic_constants___REVERT_SELECTORS.f1); cpy_r_r211 = CPyStatic_constants___globals; - cpy_r_r212 = CPyStatics[560]; /* 'REVERT_SELECTORS' */ + cpy_r_r212 = CPyStatics[561]; /* 'REVERT_SELECTORS' */ cpy_r_r213 = PyTuple_New(2); if (unlikely(cpy_r_r213 == NULL)) CPyError_OutOfMemory(); @@ -47832,7 +48087,7 @@ char CPyDef_ENVIRONMENT_VARIABLES_____top_level__(void) { CPy_INCREF(CPyModule_builtins); CPy_DECREF(cpy_r_r4); CPyL3: ; - cpy_r_r5 = CPyStatics[744]; /* ('StreamHandler',) */ + cpy_r_r5 = CPyStatics[745]; /* ('StreamHandler',) */ cpy_r_r6 = CPyStatics[119]; /* 'logging' */ cpy_r_r7 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7); @@ -47843,7 +48098,7 @@ CPyL3: ; CPyModule_logging = cpy_r_r8; CPy_INCREF(CPyModule_logging); CPy_DECREF(cpy_r_r8); - cpy_r_r9 = CPyStatics[739]; /* ('Dict', 'Final') */ + cpy_r_r9 = CPyStatics[740]; /* ('Dict', 'Final') */ cpy_r_r10 = CPyStatics[7]; /* 'typing' */ cpy_r_r11 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r12 = CPyImport_ImportFromMany(cpy_r_r10, cpy_r_r9, cpy_r_r9, cpy_r_r11); @@ -47860,14 +48115,14 @@ CPyL3: ; cpy_r_r16 = (void *)&cpy_r_r15; int64_t cpy_r_r17[2] = {5, 6}; cpy_r_r18 = (void *)&cpy_r_r17; - cpy_r_r19 = CPyStatics[746]; /* (('a_sync', 'a_sync', 'a_sync'), + cpy_r_r19 = CPyStatics[747]; /* (('a_sync', 'a_sync', 'a_sync'), ('typed_envs', 'typed_envs', 'typed_envs')) */ cpy_r_r20 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r21 = CPyStatics[562]; /* 'dank_mids\\ENVIRONMENT_VARIABLES.py' */ + cpy_r_r21 = CPyStatics[563]; /* 'dank_mids\\ENVIRONMENT_VARIABLES.py' */ cpy_r_r22 = CPyStatics[20]; /* '' */ cpy_r_r23 = CPyImport_ImportMany(cpy_r_r19, cpy_r_r16, cpy_r_r20, cpy_r_r21, cpy_r_r22, cpy_r_r18); if (!cpy_r_r23) goto CPyL332; - cpy_r_r24 = CPyStatics[687]; /* ('AsyncProcessPoolExecutor',) */ + cpy_r_r24 = CPyStatics[688]; /* ('AsyncProcessPoolExecutor',) */ cpy_r_r25 = CPyStatics[18]; /* 'a_sync' */ cpy_r_r26 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r27 = CPyImport_ImportFromMany(cpy_r_r25, cpy_r_r24, cpy_r_r24, cpy_r_r26); @@ -47878,7 +48133,7 @@ CPyL3: ; CPyModule_a_sync = cpy_r_r27; CPy_INCREF(CPyModule_a_sync); CPy_DECREF(cpy_r_r27); - cpy_r_r28 = CPyStatics[747]; /* ('_envs',) */ + cpy_r_r28 = CPyStatics[748]; /* ('_envs',) */ cpy_r_r29 = CPyStatics[9]; /* 'dank_mids' */ cpy_r_r30 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r31 = CPyImport_ImportFromMany(cpy_r_r29, cpy_r_r28, cpy_r_r28, cpy_r_r30); @@ -47889,7 +48144,7 @@ CPyL3: ; CPyModule_dank_mids = cpy_r_r31; CPy_INCREF(CPyModule_dank_mids); CPy_DECREF(cpy_r_r31); - cpy_r_r32 = CPyStatics[748]; /* ('INFO', 'getLogger') */ + cpy_r_r32 = CPyStatics[749]; /* ('INFO', 'getLogger') */ cpy_r_r33 = CPyStatics[11]; /* 'dank_mids._logging' */ cpy_r_r34 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r35 = CPyImport_ImportFromMany(cpy_r_r33, cpy_r_r32, cpy_r_r32, cpy_r_r34); @@ -47900,8 +48155,8 @@ CPyL3: ; CPyModule_dank_mids____logging = cpy_r_r35; CPy_INCREF(CPyModule_dank_mids____logging); CPy_DECREF(cpy_r_r35); - cpy_r_r36 = CPyStatics[749]; /* ('OperationMode',) */ - cpy_r_r37 = CPyStatics[565]; /* 'dank_mids._mode' */ + cpy_r_r36 = CPyStatics[750]; /* ('OperationMode',) */ + cpy_r_r37 = CPyStatics[566]; /* 'dank_mids._mode' */ cpy_r_r38 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r39 = CPyImport_ImportFromMany(cpy_r_r37, cpy_r_r36, cpy_r_r36, cpy_r_r38); if (unlikely(cpy_r_r39 == NULL)) { @@ -47911,7 +48166,7 @@ CPyL3: ; CPyModule_dank_mids____mode = cpy_r_r39; CPy_INCREF(CPyModule_dank_mids____mode); CPy_DECREF(cpy_r_r39); - cpy_r_r40 = CPyStatics[646]; /* ('BlockSemaphore',) */ + cpy_r_r40 = CPyStatics[647]; /* ('BlockSemaphore',) */ cpy_r_r41 = CPyStatics[24]; /* 'dank_mids.semaphores' */ cpy_r_r42 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r43 = CPyImport_ImportFromMany(cpy_r_r41, cpy_r_r40, cpy_r_r40, cpy_r_r42); @@ -47922,7 +48177,7 @@ CPyL3: ; CPyModule_dank_mids___semaphores = cpy_r_r43; CPy_INCREF(CPyModule_dank_mids___semaphores); CPy_DECREF(cpy_r_r43); - cpy_r_r44 = CPyStatics[566]; /* 'dank_mids.envs' */ + cpy_r_r44 = CPyStatics[567]; /* 'dank_mids.envs' */ cpy_r_r45 = CPyStatic__logging___getLogger; if (likely(cpy_r_r45 != NULL)) goto CPyL14; PyErr_SetString(PyExc_NameError, "value for final name \"getLogger\" was not set"); @@ -47965,7 +48220,7 @@ CPyL14: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 17, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r59 = CPyStatics[567]; /* 'disabled' */ + cpy_r_r59 = CPyStatics[568]; /* 'disabled' */ cpy_r_r60 = CPyObject_GetAttr(cpy_r_r58, cpy_r_r59); CPy_DECREF(cpy_r_r58); if (unlikely(cpy_r_r60 == NULL)) { @@ -47991,7 +48246,7 @@ CPyL14: ; } CPy_Unreachable(); CPyL24: ; - cpy_r_r66 = CPyStatics[568]; /* 'hasHandlers' */ + cpy_r_r66 = CPyStatics[569]; /* 'hasHandlers' */ PyObject *cpy_r_r67[1] = {cpy_r_r64}; cpy_r_r68 = (PyObject **)&cpy_r_r67; cpy_r_r69 = PyObject_VectorcallMethod(cpy_r_r66, cpy_r_r68, 9223372036854775809ULL, 0); @@ -48020,7 +48275,7 @@ CPyL24: ; CPy_Unreachable(); CPyL30: ; cpy_r_r73 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r74 = CPyStatics[561]; /* 'StreamHandler' */ + cpy_r_r74 = CPyStatics[562]; /* 'StreamHandler' */ cpy_r_r75 = CPyDict_GetItem(cpy_r_r73, cpy_r_r74); if (unlikely(cpy_r_r75 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 19, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48032,7 +48287,7 @@ CPyL30: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 19, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r77 = CPyStatics[569]; /* 'addHandler' */ + cpy_r_r77 = CPyStatics[570]; /* 'addHandler' */ PyObject *cpy_r_r78[2] = {cpy_r_r71, cpy_r_r76}; cpy_r_r79 = (PyObject **)&cpy_r_r78; cpy_r_r80 = PyObject_VectorcallMethod(cpy_r_r77, cpy_r_r79, 9223372036854775810ULL, 0); @@ -48064,7 +48319,7 @@ CPyL37: ; } CPy_Unreachable(); CPyL40: ; - cpy_r_r85 = CPyStatics[570]; /* 'isEnabledFor' */ + cpy_r_r85 = CPyStatics[571]; /* 'isEnabledFor' */ CPyTagged_INCREF(cpy_r_r83); cpy_r_r86 = CPyTagged_StealAsObject(cpy_r_r83); PyObject *cpy_r_r87[2] = {cpy_r_r81, cpy_r_r86}; @@ -48105,7 +48360,7 @@ CPyL46: ; } CPy_Unreachable(); CPyL49: ; - cpy_r_r95 = CPyStatics[571]; /* 'setLevel' */ + cpy_r_r95 = CPyStatics[572]; /* 'setLevel' */ CPyTagged_INCREF(cpy_r_r93); cpy_r_r96 = CPyTagged_StealAsObject(cpy_r_r93); PyObject *cpy_r_r97[2] = {cpy_r_r91, cpy_r_r96}; @@ -48129,10 +48384,10 @@ CPyL51: ; } CPy_Unreachable(); CPyL54: ; - cpy_r_r102 = CPyStatics[572]; /* ('For your information, you can tweak your ' + cpy_r_r102 = CPyStatics[573]; /* ('For your information, you can tweak your ' 'configuration for optimal performance using any of ' 'the envs below:') */ - cpy_r_r103 = CPyStatics[573]; /* 'info' */ + cpy_r_r103 = CPyStatics[574]; /* 'info' */ PyObject *cpy_r_r104[2] = {cpy_r_r100, cpy_r_r102}; cpy_r_r105 = (PyObject **)&cpy_r_r104; cpy_r_r106 = PyObject_VectorcallMethod(cpy_r_r103, cpy_r_r105, 9223372036854775810ULL, 0); @@ -48144,13 +48399,13 @@ CPyL54: ; CPyL55: ; cpy_r_r107 = CPyStatics[319]; /* 'OPERATION_MODE' */ cpy_r_r108 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r109 = CPyStatics[564]; /* 'OperationMode' */ + cpy_r_r109 = CPyStatics[565]; /* 'OperationMode' */ cpy_r_r110 = CPyDict_GetItem(cpy_r_r108, cpy_r_r109); if (unlikely(cpy_r_r110 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 35, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r111 = CPyStatics[574]; /* 'infura' */ + cpy_r_r111 = CPyStatics[575]; /* 'infura' */ cpy_r_r112 = CPyStatic__envs___create_env; if (unlikely(cpy_r_r112 == NULL)) { goto CPyL339; @@ -48168,7 +48423,7 @@ CPyL59: ; cpy_r_r114 = 0 ? Py_True : Py_False; PyObject *cpy_r_r115[4] = {cpy_r_r107, cpy_r_r110, cpy_r_r111, cpy_r_r114}; cpy_r_r116 = (PyObject **)&cpy_r_r115; - cpy_r_r117 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r117 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r118 = _PyObject_Vectorcall(cpy_r_r112, cpy_r_r116, 2, cpy_r_r117); if (unlikely(cpy_r_r118 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 34, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48186,7 +48441,7 @@ CPyL59: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 34, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r123 = CPyStatics[577]; /* 'MAX_MULTICALL_SIZE' */ + cpy_r_r123 = CPyStatics[578]; /* 'MAX_MULTICALL_SIZE' */ cpy_r_r124 = (PyObject *)&PyLong_Type; cpy_r_r125 = CPyStatic__envs___create_env; if (likely(cpy_r_r125 != NULL)) goto CPyL64; @@ -48198,10 +48453,10 @@ CPyL59: ; } CPy_Unreachable(); CPyL64: ; - cpy_r_r127 = CPyStatics[632]; /* 10000 */ + cpy_r_r127 = CPyStatics[633]; /* 10000 */ PyObject *cpy_r_r128[3] = {cpy_r_r123, cpy_r_r124, cpy_r_r127}; cpy_r_r129 = (PyObject **)&cpy_r_r128; - cpy_r_r130 = CPyStatics[751]; /* ('default',) */ + cpy_r_r130 = CPyStatics[752]; /* ('default',) */ cpy_r_r131 = _PyObject_Vectorcall(cpy_r_r125, cpy_r_r129, 2, cpy_r_r130); if (unlikely(cpy_r_r131 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 39, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48210,7 +48465,7 @@ CPyL64: ; CPyStatic_ENVIRONMENT_VARIABLES___MAX_MULTICALL_SIZE = cpy_r_r131; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___MAX_MULTICALL_SIZE); cpy_r_r132 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r133 = CPyStatics[577]; /* 'MAX_MULTICALL_SIZE' */ + cpy_r_r133 = CPyStatics[578]; /* 'MAX_MULTICALL_SIZE' */ cpy_r_r134 = CPyDict_SetItem(cpy_r_r132, cpy_r_r133, cpy_r_r131); CPy_DECREF(cpy_r_r131); cpy_r_r135 = cpy_r_r134 >= 0; @@ -48218,7 +48473,7 @@ CPyL64: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 39, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r136 = CPyStatics[578]; /* 'MAX_JSONRPC_BATCH_SIZE' */ + cpy_r_r136 = CPyStatics[579]; /* 'MAX_JSONRPC_BATCH_SIZE' */ cpy_r_r137 = (PyObject *)&PyLong_Type; cpy_r_r138 = CPyStatic__envs___create_env; if (likely(cpy_r_r138 != NULL)) goto CPyL69; @@ -48230,10 +48485,10 @@ CPyL64: ; } CPy_Unreachable(); CPyL69: ; - cpy_r_r140 = CPyStatics[633]; /* 500 */ + cpy_r_r140 = CPyStatics[634]; /* 500 */ PyObject *cpy_r_r141[3] = {cpy_r_r136, cpy_r_r137, cpy_r_r140}; cpy_r_r142 = (PyObject **)&cpy_r_r141; - cpy_r_r143 = CPyStatics[751]; /* ('default',) */ + cpy_r_r143 = CPyStatics[752]; /* ('default',) */ cpy_r_r144 = _PyObject_Vectorcall(cpy_r_r138, cpy_r_r142, 2, cpy_r_r143); if (unlikely(cpy_r_r144 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 41, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48242,7 +48497,7 @@ CPyL69: ; CPyStatic_ENVIRONMENT_VARIABLES___MAX_JSONRPC_BATCH_SIZE = cpy_r_r144; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___MAX_JSONRPC_BATCH_SIZE); cpy_r_r145 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r146 = CPyStatics[578]; /* 'MAX_JSONRPC_BATCH_SIZE' */ + cpy_r_r146 = CPyStatics[579]; /* 'MAX_JSONRPC_BATCH_SIZE' */ cpy_r_r147 = CPyDict_SetItem(cpy_r_r145, cpy_r_r146, cpy_r_r144); CPy_DECREF(cpy_r_r144); cpy_r_r148 = cpy_r_r147 >= 0; @@ -48250,7 +48505,7 @@ CPyL69: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 41, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r149 = CPyStatics[579]; /* 'REQUESTS_PER_SECOND' */ + cpy_r_r149 = CPyStatics[580]; /* 'REQUESTS_PER_SECOND' */ cpy_r_r150 = (PyObject *)&PyLong_Type; cpy_r_r151 = CPyStatic__envs___create_env; if (likely(cpy_r_r151 != NULL)) goto CPyL74; @@ -48262,10 +48517,10 @@ CPyL69: ; } CPy_Unreachable(); CPyL74: ; - cpy_r_r153 = CPyStatics[614]; /* 50 */ + cpy_r_r153 = CPyStatics[615]; /* 50 */ PyObject *cpy_r_r154[3] = {cpy_r_r149, cpy_r_r150, cpy_r_r153}; cpy_r_r155 = (PyObject **)&cpy_r_r154; - cpy_r_r156 = CPyStatics[751]; /* ('default',) */ + cpy_r_r156 = CPyStatics[752]; /* ('default',) */ cpy_r_r157 = _PyObject_Vectorcall(cpy_r_r151, cpy_r_r155, 2, cpy_r_r156); if (unlikely(cpy_r_r157 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 43, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48274,7 +48529,7 @@ CPyL74: ; CPyStatic_ENVIRONMENT_VARIABLES___REQUESTS_PER_SECOND = cpy_r_r157; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___REQUESTS_PER_SECOND); cpy_r_r158 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r159 = CPyStatics[579]; /* 'REQUESTS_PER_SECOND' */ + cpy_r_r159 = CPyStatics[580]; /* 'REQUESTS_PER_SECOND' */ cpy_r_r160 = CPyDict_SetItem(cpy_r_r158, cpy_r_r159, cpy_r_r157); CPy_DECREF(cpy_r_r157); cpy_r_r161 = cpy_r_r160 >= 0; @@ -48282,7 +48537,7 @@ CPyL74: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 43, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r162 = CPyStatics[580]; /* 'MIN_REQUESTS_PER_SECOND' */ + cpy_r_r162 = CPyStatics[581]; /* 'MIN_REQUESTS_PER_SECOND' */ cpy_r_r163 = (PyObject *)&PyLong_Type; cpy_r_r164 = CPyStatic__envs___create_env; if (likely(cpy_r_r164 != NULL)) goto CPyL79; @@ -48294,10 +48549,10 @@ CPyL74: ; } CPy_Unreachable(); CPyL79: ; - cpy_r_r166 = CPyStatics[618]; /* 10 */ + cpy_r_r166 = CPyStatics[619]; /* 10 */ PyObject *cpy_r_r167[3] = {cpy_r_r162, cpy_r_r163, cpy_r_r166}; cpy_r_r168 = (PyObject **)&cpy_r_r167; - cpy_r_r169 = CPyStatics[751]; /* ('default',) */ + cpy_r_r169 = CPyStatics[752]; /* ('default',) */ cpy_r_r170 = _PyObject_Vectorcall(cpy_r_r164, cpy_r_r168, 2, cpy_r_r169); if (unlikely(cpy_r_r170 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 45, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48306,7 +48561,7 @@ CPyL79: ; CPyStatic_ENVIRONMENT_VARIABLES___MIN_REQUESTS_PER_SECOND = cpy_r_r170; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___MIN_REQUESTS_PER_SECOND); cpy_r_r171 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r172 = CPyStatics[580]; /* 'MIN_REQUESTS_PER_SECOND' */ + cpy_r_r172 = CPyStatics[581]; /* 'MIN_REQUESTS_PER_SECOND' */ cpy_r_r173 = CPyDict_SetItem(cpy_r_r171, cpy_r_r172, cpy_r_r170); CPy_DECREF(cpy_r_r170); cpy_r_r174 = cpy_r_r173 >= 0; @@ -48324,14 +48579,14 @@ CPyL79: ; } CPy_Unreachable(); CPyL84: ; - cpy_r_r177 = CPyStatics[581]; /* 'DEMO_MODE' */ + cpy_r_r177 = CPyStatics[582]; /* 'DEMO_MODE' */ cpy_r_r178 = (PyObject *)&PyBool_Type; cpy_r_r179 = CPyStatics[30]; /* 'create_env' */ cpy_r_r180 = 0 ? Py_True : Py_False; cpy_r_r181 = 0 ? Py_True : Py_False; PyObject *cpy_r_r182[5] = {cpy_r_r175, cpy_r_r177, cpy_r_r178, cpy_r_r180, cpy_r_r181}; cpy_r_r183 = (PyObject **)&cpy_r_r182; - cpy_r_r184 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r184 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r185 = PyObject_VectorcallMethod(cpy_r_r179, cpy_r_r183, 9223372036854775811ULL, cpy_r_r184); if (unlikely(cpy_r_r185 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 48, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48340,7 +48595,7 @@ CPyL84: ; CPyStatic_ENVIRONMENT_VARIABLES___demo_mode = cpy_r_r185; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___demo_mode); cpy_r_r186 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r187 = CPyStatics[582]; /* 'demo_mode' */ + cpy_r_r187 = CPyStatics[583]; /* 'demo_mode' */ cpy_r_r188 = CPyDict_SetItem(cpy_r_r186, cpy_r_r187, cpy_r_r185); CPy_DECREF(cpy_r_r185); cpy_r_r189 = cpy_r_r188 >= 0; @@ -48348,7 +48603,7 @@ CPyL84: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 48, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r190 = CPyStatics[581]; /* 'DEMO_MODE' */ + cpy_r_r190 = CPyStatics[582]; /* 'DEMO_MODE' */ cpy_r_r191 = (PyObject *)&PyBool_Type; cpy_r_r192 = CPyStatic_ENVIRONMENT_VARIABLES___demo_mode; if (likely(cpy_r_r192 != NULL)) goto CPyL89; @@ -48381,7 +48636,7 @@ CPyL93: ; cpy_r_r200 = 0 ? Py_True : Py_False; PyObject *cpy_r_r201[4] = {cpy_r_r190, cpy_r_r191, cpy_r_r199, cpy_r_r200}; cpy_r_r202 = (PyObject **)&cpy_r_r201; - cpy_r_r203 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r203 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r204 = _PyObject_Vectorcall(cpy_r_r197, cpy_r_r202, 2, cpy_r_r203); if (unlikely(cpy_r_r204 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 51, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48390,7 +48645,7 @@ CPyL93: ; CPyStatic_ENVIRONMENT_VARIABLES___DEMO_MODE = cpy_r_r204; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___DEMO_MODE); cpy_r_r205 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r206 = CPyStatics[581]; /* 'DEMO_MODE' */ + cpy_r_r206 = CPyStatics[582]; /* 'DEMO_MODE' */ cpy_r_r207 = CPyDict_SetItem(cpy_r_r205, cpy_r_r206, cpy_r_r204); CPy_DECREF(cpy_r_r204); cpy_r_r208 = cpy_r_r207 >= 0; @@ -48408,14 +48663,14 @@ CPyL93: ; } CPy_Unreachable(); CPyL98: ; - cpy_r_r211 = CPyStatics[583]; /* 'GANACHE_FORK' */ + cpy_r_r211 = CPyStatics[584]; /* 'GANACHE_FORK' */ cpy_r_r212 = (PyObject *)&PyBool_Type; cpy_r_r213 = CPyStatics[30]; /* 'create_env' */ cpy_r_r214 = 0 ? Py_True : Py_False; cpy_r_r215 = 0 ? Py_True : Py_False; PyObject *cpy_r_r216[5] = {cpy_r_r209, cpy_r_r211, cpy_r_r212, cpy_r_r214, cpy_r_r215}; cpy_r_r217 = (PyObject **)&cpy_r_r216; - cpy_r_r218 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r218 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r219 = PyObject_VectorcallMethod(cpy_r_r213, cpy_r_r217, 9223372036854775811ULL, cpy_r_r218); if (unlikely(cpy_r_r219 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 54, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48424,7 +48679,7 @@ CPyL98: ; CPyStatic_ENVIRONMENT_VARIABLES___ganache_fork = cpy_r_r219; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___ganache_fork); cpy_r_r220 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r221 = CPyStatics[584]; /* 'ganache_fork' */ + cpy_r_r221 = CPyStatics[585]; /* 'ganache_fork' */ cpy_r_r222 = CPyDict_SetItem(cpy_r_r220, cpy_r_r221, cpy_r_r219); CPy_DECREF(cpy_r_r219); cpy_r_r223 = cpy_r_r222 >= 0; @@ -48432,7 +48687,7 @@ CPyL98: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 54, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r224 = CPyStatics[583]; /* 'GANACHE_FORK' */ + cpy_r_r224 = CPyStatics[584]; /* 'GANACHE_FORK' */ cpy_r_r225 = (PyObject *)&PyBool_Type; cpy_r_r226 = CPyStatic_ENVIRONMENT_VARIABLES___ganache_fork; if (likely(cpy_r_r226 != NULL)) goto CPyL103; @@ -48464,7 +48719,7 @@ CPyL107: ; cpy_r_r233 = cpy_r_r230 ? Py_True : Py_False; PyObject *cpy_r_r234[3] = {cpy_r_r224, cpy_r_r225, cpy_r_r233}; cpy_r_r235 = (PyObject **)&cpy_r_r234; - cpy_r_r236 = CPyStatics[751]; /* ('default',) */ + cpy_r_r236 = CPyStatics[752]; /* ('default',) */ cpy_r_r237 = _PyObject_Vectorcall(cpy_r_r231, cpy_r_r235, 2, cpy_r_r236); if (unlikely(cpy_r_r237 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 57, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48473,7 +48728,7 @@ CPyL107: ; CPyStatic_ENVIRONMENT_VARIABLES___GANACHE_FORK = cpy_r_r237; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___GANACHE_FORK); cpy_r_r238 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r239 = CPyStatics[583]; /* 'GANACHE_FORK' */ + cpy_r_r239 = CPyStatics[584]; /* 'GANACHE_FORK' */ cpy_r_r240 = CPyDict_SetItem(cpy_r_r238, cpy_r_r239, cpy_r_r237); CPy_DECREF(cpy_r_r237); cpy_r_r241 = cpy_r_r240 >= 0; @@ -48481,7 +48736,7 @@ CPyL107: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 57, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r242 = CPyStatics[585]; /* 'AIOHTTP_TIMEOUT' */ + cpy_r_r242 = CPyStatics[586]; /* 'AIOHTTP_TIMEOUT' */ cpy_r_r243 = (PyObject *)&PyLong_Type; cpy_r_r244 = CPyStatic__envs___create_env; if (likely(cpy_r_r244 != NULL)) goto CPyL112; @@ -48493,10 +48748,10 @@ CPyL107: ; } CPy_Unreachable(); CPyL112: ; - cpy_r_r246 = CPyStatics[634]; /* 1200 */ + cpy_r_r246 = CPyStatics[635]; /* 1200 */ PyObject *cpy_r_r247[3] = {cpy_r_r242, cpy_r_r243, cpy_r_r246}; cpy_r_r248 = (PyObject **)&cpy_r_r247; - cpy_r_r249 = CPyStatics[751]; /* ('default',) */ + cpy_r_r249 = CPyStatics[752]; /* ('default',) */ cpy_r_r250 = _PyObject_Vectorcall(cpy_r_r244, cpy_r_r248, 2, cpy_r_r249); if (unlikely(cpy_r_r250 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 61, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48505,7 +48760,7 @@ CPyL112: ; CPyStatic_ENVIRONMENT_VARIABLES___AIOHTTP_TIMEOUT = cpy_r_r250; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___AIOHTTP_TIMEOUT); cpy_r_r251 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r252 = CPyStatics[585]; /* 'AIOHTTP_TIMEOUT' */ + cpy_r_r252 = CPyStatics[586]; /* 'AIOHTTP_TIMEOUT' */ cpy_r_r253 = CPyDict_SetItem(cpy_r_r251, cpy_r_r252, cpy_r_r250); CPy_DECREF(cpy_r_r250); cpy_r_r254 = cpy_r_r253 >= 0; @@ -48526,11 +48781,11 @@ CPyL117: ; cpy_r_r257 = CPyStatics[231]; /* 'BROWNIE_CALL_SEMAPHORE' */ cpy_r_r258 = (PyObject *)&PyLong_Type; cpy_r_r259 = CPyStatics[30]; /* 'create_env' */ - cpy_r_r260 = CPyStatics[635]; /* 100000 */ + cpy_r_r260 = CPyStatics[636]; /* 100000 */ cpy_r_r261 = 0 ? Py_True : Py_False; PyObject *cpy_r_r262[5] = {cpy_r_r255, cpy_r_r257, cpy_r_r258, cpy_r_r260, cpy_r_r261}; cpy_r_r263 = (PyObject **)&cpy_r_r262; - cpy_r_r264 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r264 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r265 = PyObject_VectorcallMethod(cpy_r_r259, cpy_r_r263, 9223372036854775811ULL, cpy_r_r264); if (unlikely(cpy_r_r265 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 67, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48539,7 +48794,7 @@ CPyL117: ; CPyStatic_ENVIRONMENT_VARIABLES___brownie_semaphore = cpy_r_r265; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___brownie_semaphore); cpy_r_r266 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r267 = CPyStatics[586]; /* 'brownie_semaphore' */ + cpy_r_r267 = CPyStatics[587]; /* 'brownie_semaphore' */ cpy_r_r268 = CPyDict_SetItem(cpy_r_r266, cpy_r_r267, cpy_r_r265); CPy_DECREF(cpy_r_r265); cpy_r_r269 = cpy_r_r268 >= 0; @@ -48583,7 +48838,7 @@ CPyL124: ; } CPy_Unreachable(); CPyL126: ; - cpy_r_r278 = CPyStatics[574]; /* 'infura' */ + cpy_r_r278 = CPyStatics[575]; /* 'infura' */ cpy_r_r279 = CPyObject_GetAttr(cpy_r_r276, cpy_r_r278); if (unlikely(cpy_r_r279 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 74, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48614,7 +48869,7 @@ CPyL131: ; cpy_r_r285 = cpy_r_r282 ? Py_True : Py_False; PyObject *cpy_r_r286[4] = {cpy_r_r270, cpy_r_r273, cpy_r_r274, cpy_r_r285}; cpy_r_r287 = (PyObject **)&cpy_r_r286; - cpy_r_r288 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r288 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r289 = _PyObject_Vectorcall(cpy_r_r283, cpy_r_r287, 2, cpy_r_r288); if (unlikely(cpy_r_r289 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 70, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48654,13 +48909,13 @@ CPyL135: ; } CPy_Unreachable(); CPyL137: ; - cpy_r_r300 = CPyStatics[587]; /* '_default_value' */ + cpy_r_r300 = CPyStatics[588]; /* '_default_value' */ cpy_r_r301 = CPyObject_GetAttr(cpy_r_r298, cpy_r_r300); if (unlikely(cpy_r_r301 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 86, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL346; } - cpy_r_r302 = CPyStatics[612]; /* 2 */ + cpy_r_r302 = CPyStatics[613]; /* 2 */ cpy_r_r303 = PyNumber_Multiply(cpy_r_r301, cpy_r_r302); CPy_DECREF(cpy_r_r301); if (unlikely(cpy_r_r303 == NULL)) { @@ -48681,7 +48936,7 @@ CPyL140: ; } CPy_Unreachable(); CPyL142: ; - cpy_r_r306 = CPyStatics[574]; /* 'infura' */ + cpy_r_r306 = CPyStatics[575]; /* 'infura' */ cpy_r_r307 = CPyObject_GetAttr(cpy_r_r304, cpy_r_r306); if (unlikely(cpy_r_r307 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 87, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48712,7 +48967,7 @@ CPyL147: ; cpy_r_r313 = cpy_r_r310 ? Py_True : Py_False; PyObject *cpy_r_r314[4] = {cpy_r_r294, cpy_r_r297, cpy_r_r303, cpy_r_r313}; cpy_r_r315 = (PyObject **)&cpy_r_r314; - cpy_r_r316 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r316 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r317 = _PyObject_Vectorcall(cpy_r_r311, cpy_r_r315, 2, cpy_r_r316); if (unlikely(cpy_r_r317 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 83, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48753,7 +49008,7 @@ CPyL151: ; } CPy_Unreachable(); CPyL153: ; - cpy_r_r328 = CPyStatics[574]; /* 'infura' */ + cpy_r_r328 = CPyStatics[575]; /* 'infura' */ cpy_r_r329 = CPyObject_GetAttr(cpy_r_r326, cpy_r_r328); if (unlikely(cpy_r_r329 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 102, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48787,7 +49042,7 @@ CPyL159: ; } CPy_Unreachable(); CPyL161: ; - cpy_r_r336 = CPyStatics[574]; /* 'infura' */ + cpy_r_r336 = CPyStatics[575]; /* 'infura' */ cpy_r_r337 = CPyObject_GetAttr(cpy_r_r334, cpy_r_r336); if (unlikely(cpy_r_r337 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 103, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48819,7 +49074,7 @@ CPyL166: ; cpy_r_r344 = cpy_r_r340 ? Py_True : Py_False; PyObject *cpy_r_r345[4] = {cpy_r_r322, cpy_r_r325, cpy_r_r343, cpy_r_r344}; cpy_r_r346 = (PyObject **)&cpy_r_r345; - cpy_r_r347 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r347 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r348 = _PyObject_Vectorcall(cpy_r_r341, cpy_r_r346, 2, cpy_r_r347); if (unlikely(cpy_r_r348 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 99, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48858,7 +49113,7 @@ CPyL170: ; } CPy_Unreachable(); CPyL172: ; - cpy_r_r359 = CPyStatics[574]; /* 'infura' */ + cpy_r_r359 = CPyStatics[575]; /* 'infura' */ cpy_r_r360 = CPyObject_GetAttr(cpy_r_r357, cpy_r_r359); if (unlikely(cpy_r_r360 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 115, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48892,7 +49147,7 @@ CPyL178: ; } CPy_Unreachable(); CPyL180: ; - cpy_r_r367 = CPyStatics[574]; /* 'infura' */ + cpy_r_r367 = CPyStatics[575]; /* 'infura' */ cpy_r_r368 = CPyObject_GetAttr(cpy_r_r365, cpy_r_r367); if (unlikely(cpy_r_r368 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 116, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48924,7 +49179,7 @@ CPyL185: ; cpy_r_r375 = cpy_r_r371 ? Py_True : Py_False; PyObject *cpy_r_r376[4] = {cpy_r_r353, cpy_r_r356, cpy_r_r374, cpy_r_r375}; cpy_r_r377 = (PyObject **)&cpy_r_r376; - cpy_r_r378 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r378 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r379 = _PyObject_Vectorcall(cpy_r_r372, cpy_r_r377, 2, cpy_r_r378); if (unlikely(cpy_r_r379 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 112, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48941,7 +49196,7 @@ CPyL185: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 112, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r384 = CPyStatics[588]; /* 'MULTICALL_DECODER_PROCESSES' */ + cpy_r_r384 = CPyStatics[589]; /* 'MULTICALL_DECODER_PROCESSES' */ cpy_r_r385 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r386 = CPyStatics[243]; /* 'AsyncProcessPoolExecutor' */ cpy_r_r387 = CPyDict_GetItem(cpy_r_r385, cpy_r_r386); @@ -48963,7 +49218,7 @@ CPyL189: ; } CPy_Unreachable(); CPyL191: ; - cpy_r_r390 = CPyStatics[574]; /* 'infura' */ + cpy_r_r390 = CPyStatics[575]; /* 'infura' */ cpy_r_r391 = CPyObject_GetAttr(cpy_r_r388, cpy_r_r390); if (unlikely(cpy_r_r391 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 128, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -48997,7 +49252,7 @@ CPyL197: ; } CPy_Unreachable(); CPyL199: ; - cpy_r_r398 = CPyStatics[574]; /* 'infura' */ + cpy_r_r398 = CPyStatics[575]; /* 'infura' */ cpy_r_r399 = CPyObject_GetAttr(cpy_r_r396, cpy_r_r398); if (unlikely(cpy_r_r399 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 129, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49029,7 +49284,7 @@ CPyL204: ; cpy_r_r406 = cpy_r_r402 ? Py_True : Py_False; PyObject *cpy_r_r407[4] = {cpy_r_r384, cpy_r_r387, cpy_r_r405, cpy_r_r406}; cpy_r_r408 = (PyObject **)&cpy_r_r407; - cpy_r_r409 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r409 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r410 = _PyObject_Vectorcall(cpy_r_r403, cpy_r_r408, 2, cpy_r_r409); if (unlikely(cpy_r_r410 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 125, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49038,7 +49293,7 @@ CPyL204: ; CPy_DECREF(cpy_r_r387); CPy_DECREF(cpy_r_r405); cpy_r_r411 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r412 = CPyStatics[588]; /* 'MULTICALL_DECODER_PROCESSES' */ + cpy_r_r412 = CPyStatics[589]; /* 'MULTICALL_DECODER_PROCESSES' */ cpy_r_r413 = CPyDict_SetItem(cpy_r_r411, cpy_r_r412, cpy_r_r410); CPy_DECREF(cpy_r_r410); cpy_r_r414 = cpy_r_r413 >= 0; @@ -49046,7 +49301,7 @@ CPyL204: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 125, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r415 = CPyStatics[589]; /* 'COLLECTION_FACTOR' */ + cpy_r_r415 = CPyStatics[590]; /* 'COLLECTION_FACTOR' */ cpy_r_r416 = (PyObject *)&PyLong_Type; cpy_r_r417 = CPyStatic_ENVIRONMENT_VARIABLES___OPERATION_MODE; if (likely(cpy_r_r417 != NULL)) goto CPyL209; @@ -49058,7 +49313,7 @@ CPyL204: ; } CPy_Unreachable(); CPyL209: ; - cpy_r_r419 = CPyStatics[574]; /* 'infura' */ + cpy_r_r419 = CPyStatics[575]; /* 'infura' */ cpy_r_r420 = CPyObject_GetAttr(cpy_r_r417, cpy_r_r419); if (unlikely(cpy_r_r420 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 141, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49092,7 +49347,7 @@ CPyL215: ; } CPy_Unreachable(); CPyL217: ; - cpy_r_r427 = CPyStatics[574]; /* 'infura' */ + cpy_r_r427 = CPyStatics[575]; /* 'infura' */ cpy_r_r428 = CPyObject_GetAttr(cpy_r_r425, cpy_r_r427); if (unlikely(cpy_r_r428 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 142, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49124,7 +49379,7 @@ CPyL222: ; cpy_r_r435 = cpy_r_r431 ? Py_True : Py_False; PyObject *cpy_r_r436[4] = {cpy_r_r415, cpy_r_r416, cpy_r_r434, cpy_r_r435}; cpy_r_r437 = (PyObject **)&cpy_r_r436; - cpy_r_r438 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r438 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r439 = _PyObject_Vectorcall(cpy_r_r432, cpy_r_r437, 2, cpy_r_r438); if (unlikely(cpy_r_r439 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 138, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49134,7 +49389,7 @@ CPyL222: ; CPyStatic_ENVIRONMENT_VARIABLES___COLLECTION_FACTOR = cpy_r_r439; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___COLLECTION_FACTOR); cpy_r_r440 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r441 = CPyStatics[589]; /* 'COLLECTION_FACTOR' */ + cpy_r_r441 = CPyStatics[590]; /* 'COLLECTION_FACTOR' */ cpy_r_r442 = CPyDict_SetItem(cpy_r_r440, cpy_r_r441, cpy_r_r439); CPy_DECREF(cpy_r_r439); cpy_r_r443 = cpy_r_r442 >= 0; @@ -49142,7 +49397,7 @@ CPyL222: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 138, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r444 = CPyStatics[590]; /* 'USE_FULL_REQUEST' */ + cpy_r_r444 = CPyStatics[591]; /* 'USE_FULL_REQUEST' */ cpy_r_r445 = (PyObject *)&PyBool_Type; cpy_r_r446 = CPyStatic__envs___create_env; if (likely(cpy_r_r446 != NULL)) goto CPyL227; @@ -49158,7 +49413,7 @@ CPyL227: ; cpy_r_r449 = 0 ? Py_True : Py_False; PyObject *cpy_r_r450[4] = {cpy_r_r444, cpy_r_r445, cpy_r_r448, cpy_r_r449}; cpy_r_r451 = (PyObject **)&cpy_r_r450; - cpy_r_r452 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r452 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r453 = _PyObject_Vectorcall(cpy_r_r446, cpy_r_r451, 2, cpy_r_r452); if (unlikely(cpy_r_r453 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 148, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49167,7 +49422,7 @@ CPyL227: ; CPyStatic_ENVIRONMENT_VARIABLES___USE_FULL_REQUEST = cpy_r_r453; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___USE_FULL_REQUEST); cpy_r_r454 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r455 = CPyStatics[590]; /* 'USE_FULL_REQUEST' */ + cpy_r_r455 = CPyStatics[591]; /* 'USE_FULL_REQUEST' */ cpy_r_r456 = CPyDict_SetItem(cpy_r_r454, cpy_r_r455, cpy_r_r453); CPy_DECREF(cpy_r_r453); cpy_r_r457 = cpy_r_r456 >= 0; @@ -49191,7 +49446,7 @@ CPyL232: ; cpy_r_r463 = 0 ? Py_True : Py_False; PyObject *cpy_r_r464[4] = {cpy_r_r458, cpy_r_r459, cpy_r_r462, cpy_r_r463}; cpy_r_r465 = (PyObject **)&cpy_r_r464; - cpy_r_r466 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r466 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r467 = _PyObject_Vectorcall(cpy_r_r460, cpy_r_r465, 2, cpy_r_r466); if (unlikely(cpy_r_r467 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 151, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49208,7 +49463,7 @@ CPyL232: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 151, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r472 = CPyStatics[591]; /* 'EXPORT_STATS' */ + cpy_r_r472 = CPyStatics[592]; /* 'EXPORT_STATS' */ cpy_r_r473 = (PyObject *)&PyBool_Type; cpy_r_r474 = CPyStatic__envs___create_env; if (likely(cpy_r_r474 != NULL)) goto CPyL237; @@ -49224,7 +49479,7 @@ CPyL237: ; cpy_r_r477 = 0 ? Py_True : Py_False; PyObject *cpy_r_r478[4] = {cpy_r_r472, cpy_r_r473, cpy_r_r476, cpy_r_r477}; cpy_r_r479 = (PyObject **)&cpy_r_r478; - cpy_r_r480 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r480 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r481 = _PyObject_Vectorcall(cpy_r_r474, cpy_r_r479, 2, cpy_r_r480); if (unlikely(cpy_r_r481 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 154, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49233,7 +49488,7 @@ CPyL237: ; CPyStatic_ENVIRONMENT_VARIABLES___EXPORT_STATS = cpy_r_r481; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___EXPORT_STATS); cpy_r_r482 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r483 = CPyStatics[591]; /* 'EXPORT_STATS' */ + cpy_r_r483 = CPyStatics[592]; /* 'EXPORT_STATS' */ cpy_r_r484 = CPyDict_SetItem(cpy_r_r482, cpy_r_r483, cpy_r_r481); CPy_DECREF(cpy_r_r481); cpy_r_r485 = cpy_r_r484 >= 0; @@ -49241,7 +49496,7 @@ CPyL237: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 154, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r486 = CPyStatics[592]; /* 'COLLECT_STATS' */ + cpy_r_r486 = CPyStatics[593]; /* 'COLLECT_STATS' */ cpy_r_r487 = (PyObject *)&PyBool_Type; cpy_r_r488 = CPyStatic_ENVIRONMENT_VARIABLES___EXPORT_STATS; if (likely(cpy_r_r488 != NULL)) goto CPyL242; @@ -49283,7 +49538,7 @@ CPyL249: ; cpy_r_r497 = cpy_r_r494 ? Py_True : Py_False; PyObject *cpy_r_r498[4] = {cpy_r_r486, cpy_r_r487, cpy_r_r488, cpy_r_r497}; cpy_r_r499 = (PyObject **)&cpy_r_r498; - cpy_r_r500 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r500 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r501 = _PyObject_Vectorcall(cpy_r_r495, cpy_r_r499, 2, cpy_r_r500); if (unlikely(cpy_r_r501 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 156, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49292,7 +49547,7 @@ CPyL249: ; CPyStatic_ENVIRONMENT_VARIABLES___COLLECT_STATS = cpy_r_r501; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___COLLECT_STATS); cpy_r_r502 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r503 = CPyStatics[592]; /* 'COLLECT_STATS' */ + cpy_r_r503 = CPyStatics[593]; /* 'COLLECT_STATS' */ cpy_r_r504 = CPyDict_SetItem(cpy_r_r502, cpy_r_r503, cpy_r_r501); CPy_DECREF(cpy_r_r501); cpy_r_r505 = cpy_r_r504 >= 0; @@ -49300,7 +49555,7 @@ CPyL249: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 156, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r506 = CPyStatics[593]; /* 'STUCK_CALL_TIMEOUT' */ + cpy_r_r506 = CPyStatics[594]; /* 'STUCK_CALL_TIMEOUT' */ cpy_r_r507 = (PyObject *)&PyLong_Type; cpy_r_r508 = CPyStatic__envs___create_env; if (likely(cpy_r_r508 != NULL)) goto CPyL254; @@ -49312,10 +49567,10 @@ CPyL249: ; } CPy_Unreachable(); CPyL254: ; - cpy_r_r510 = CPyStatics[636]; /* 120 */ + cpy_r_r510 = CPyStatics[637]; /* 120 */ PyObject *cpy_r_r511[3] = {cpy_r_r506, cpy_r_r507, cpy_r_r510}; cpy_r_r512 = (PyObject **)&cpy_r_r511; - cpy_r_r513 = CPyStatics[751]; /* ('default',) */ + cpy_r_r513 = CPyStatics[752]; /* ('default',) */ cpy_r_r514 = _PyObject_Vectorcall(cpy_r_r508, cpy_r_r512, 2, cpy_r_r513); if (unlikely(cpy_r_r514 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 161, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49324,7 +49579,7 @@ CPyL254: ; CPyStatic_ENVIRONMENT_VARIABLES___STUCK_CALL_TIMEOUT = cpy_r_r514; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___STUCK_CALL_TIMEOUT); cpy_r_r515 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r516 = CPyStatics[593]; /* 'STUCK_CALL_TIMEOUT' */ + cpy_r_r516 = CPyStatics[594]; /* 'STUCK_CALL_TIMEOUT' */ cpy_r_r517 = CPyDict_SetItem(cpy_r_r515, cpy_r_r516, cpy_r_r514); CPy_DECREF(cpy_r_r514); cpy_r_r518 = cpy_r_r517 >= 0; @@ -49333,7 +49588,7 @@ CPyL254: ; goto CPyL332; } cpy_r_r519 = CPyStatics[402]; /* 'eth_call' */ - cpy_r_r520 = CPyStatics[594]; /* 'ETH_CALL_SEMAPHORE' */ + cpy_r_r520 = CPyStatics[595]; /* 'ETH_CALL_SEMAPHORE' */ cpy_r_r521 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r522 = CPyStatics[23]; /* 'BlockSemaphore' */ cpy_r_r523 = CPyDict_GetItem(cpy_r_r521, cpy_r_r522); @@ -49378,7 +49633,7 @@ CPyL264: ; cpy_r_r530 = 0 ? Py_True : Py_False; PyObject *cpy_r_r531[4] = {cpy_r_r520, cpy_r_r523, cpy_r_r527, cpy_r_r530}; cpy_r_r532 = (PyObject **)&cpy_r_r531; - cpy_r_r533 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r533 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r534 = _PyObject_Vectorcall(cpy_r_r528, cpy_r_r532, 2, cpy_r_r533); if (unlikely(cpy_r_r534 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 165, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49386,8 +49641,8 @@ CPyL264: ; } CPy_DECREF(cpy_r_r523); CPy_DECREF(cpy_r_r527); - cpy_r_r535 = CPyStatics[595]; /* 'eth_getBlock' */ - cpy_r_r536 = CPyStatics[596]; /* 'ETH_GETBLOCK_SEMAPHORE' */ + cpy_r_r535 = CPyStatics[596]; /* 'eth_getBlock' */ + cpy_r_r536 = CPyStatics[597]; /* 'ETH_GETBLOCK_SEMAPHORE' */ cpy_r_r537 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r538 = CPyStatics[18]; /* 'a_sync' */ cpy_r_r539 = CPyDict_GetItem(cpy_r_r537, cpy_r_r538); @@ -49416,19 +49671,19 @@ CPyL268: ; } CPy_Unreachable(); CPyL270: ; - cpy_r_r544 = CPyStatics[637]; /* 1000 */ + cpy_r_r544 = CPyStatics[638]; /* 1000 */ cpy_r_r545 = 0 ? Py_True : Py_False; PyObject *cpy_r_r546[4] = {cpy_r_r536, cpy_r_r541, cpy_r_r544, cpy_r_r545}; cpy_r_r547 = (PyObject **)&cpy_r_r546; - cpy_r_r548 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r548 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r549 = _PyObject_Vectorcall(cpy_r_r542, cpy_r_r547, 2, cpy_r_r548); if (unlikely(cpy_r_r549 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 171, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL378; } CPy_DECREF(cpy_r_r541); - cpy_r_r550 = CPyStatics[597]; /* 'eth_getCode' */ - cpy_r_r551 = CPyStatics[598]; /* 'ETH_GETCODE_SEMAPHORE' */ + cpy_r_r550 = CPyStatics[598]; /* 'eth_getCode' */ + cpy_r_r551 = CPyStatics[599]; /* 'ETH_GETCODE_SEMAPHORE' */ cpy_r_r552 = CPyStatic_ENVIRONMENT_VARIABLES___globals; cpy_r_r553 = CPyStatics[18]; /* 'a_sync' */ cpy_r_r554 = CPyDict_GetItem(cpy_r_r552, cpy_r_r553); @@ -49457,11 +49712,11 @@ CPyL274: ; } CPy_Unreachable(); CPyL276: ; - cpy_r_r559 = CPyStatics[638]; /* 5000 */ + cpy_r_r559 = CPyStatics[639]; /* 5000 */ cpy_r_r560 = 0 ? Py_True : Py_False; PyObject *cpy_r_r561[4] = {cpy_r_r551, cpy_r_r556, cpy_r_r559, cpy_r_r560}; cpy_r_r562 = (PyObject **)&cpy_r_r561; - cpy_r_r563 = CPyStatics[750]; /* ('default', 'verbose') */ + cpy_r_r563 = CPyStatics[751]; /* ('default', 'verbose') */ cpy_r_r564 = _PyObject_Vectorcall(cpy_r_r557, cpy_r_r562, 2, cpy_r_r563); if (unlikely(cpy_r_r564 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 177, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49479,7 +49734,7 @@ CPyL276: ; CPyStatic_ENVIRONMENT_VARIABLES___method_semaphores = cpy_r_r565; CPy_INCREF(CPyStatic_ENVIRONMENT_VARIABLES___method_semaphores); cpy_r_r566 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r567 = CPyStatics[599]; /* 'method_semaphores' */ + cpy_r_r567 = CPyStatics[600]; /* 'method_semaphores' */ cpy_r_r568 = CPyDict_SetItem(cpy_r_r566, cpy_r_r567, cpy_r_r565); CPy_DECREF(cpy_r_r565); cpy_r_r569 = cpy_r_r568 >= 0; @@ -49501,7 +49756,7 @@ CPyL276: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 185, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r575 = CPyStatics[567]; /* 'disabled' */ + cpy_r_r575 = CPyStatics[568]; /* 'disabled' */ cpy_r_r576 = CPyObject_GetAttr(cpy_r_r574, cpy_r_r575); CPy_DECREF(cpy_r_r574); if (unlikely(cpy_r_r576 == NULL)) { @@ -49527,9 +49782,9 @@ CPyL276: ; } CPy_Unreachable(); CPyL287: ; - cpy_r_r582 = CPyStatics[600]; /* ('More details can be found in ' + cpy_r_r582 = CPyStatics[601]; /* ('More details can be found in ' 'dank_mids/ENVIRONMENT_VARIABLES.py') */ - cpy_r_r583 = CPyStatics[573]; /* 'info' */ + cpy_r_r583 = CPyStatics[574]; /* 'info' */ PyObject *cpy_r_r584[2] = {cpy_r_r580, cpy_r_r582}; cpy_r_r585 = (PyObject **)&cpy_r_r584; cpy_r_r586 = PyObject_VectorcallMethod(cpy_r_r583, cpy_r_r585, 9223372036854775810ULL, 0); @@ -49549,9 +49804,9 @@ CPyL288: ; } CPy_Unreachable(); CPyL291: ; - cpy_r_r589 = CPyStatics[601]; /* ('NOTE: You can disable these logs by setting the ' + cpy_r_r589 = CPyStatics[602]; /* ('NOTE: You can disable these logs by setting the ' '`TYPEDENVS_SHUTUP` env var to any value.') */ - cpy_r_r590 = CPyStatics[573]; /* 'info' */ + cpy_r_r590 = CPyStatics[574]; /* 'info' */ PyObject *cpy_r_r591[2] = {cpy_r_r587, cpy_r_r589}; cpy_r_r592 = (PyObject **)&cpy_r_r591; cpy_r_r593 = PyObject_VectorcallMethod(cpy_r_r590, cpy_r_r592, 9223372036854775810ULL, 0); @@ -49571,7 +49826,7 @@ CPyL292: ; } CPy_Unreachable(); CPyL295: ; - cpy_r_r596 = CPyStatics[574]; /* 'infura' */ + cpy_r_r596 = CPyStatics[575]; /* 'infura' */ cpy_r_r597 = CPyObject_GetAttr(cpy_r_r594, cpy_r_r596); if (unlikely(cpy_r_r597 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 195, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49596,7 +49851,7 @@ CPyL295: ; } CPy_Unreachable(); CPyL301: ; - cpy_r_r603 = CPyStatics[602]; /* ("Unless you know what you're doing, dank mids should " + cpy_r_r603 = CPyStatics[603]; /* ("Unless you know what you're doing, dank mids should " 'be run in infura mode for now') */ cpy_r_r604 = CPyStatics[104]; /* 'warning' */ PyObject *cpy_r_r605[2] = {cpy_r_r601, cpy_r_r603}; @@ -49618,7 +49873,7 @@ CPyL302: ; } CPy_Unreachable(); CPyL305: ; - cpy_r_r610 = CPyStatics[574]; /* 'infura' */ + cpy_r_r610 = CPyStatics[575]; /* 'infura' */ cpy_r_r611 = CPyObject_GetAttr(cpy_r_r608, cpy_r_r610); if (unlikely(cpy_r_r611 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 200, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49634,7 +49889,7 @@ CPyL305: ; cpy_r_r614 = cpy_r_r612; if (!cpy_r_r614) goto CPyL331; cpy_r_r615 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r616 = CPyStatics[588]; /* 'MULTICALL_DECODER_PROCESSES' */ + cpy_r_r616 = CPyStatics[589]; /* 'MULTICALL_DECODER_PROCESSES' */ cpy_r_r617 = CPyDict_GetItem(cpy_r_r615, cpy_r_r616); if (unlikely(cpy_r_r617 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 202, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49690,7 +49945,7 @@ CPyL316: ; cpy_r_r632 = PyIter_Next(cpy_r_r631); if (cpy_r_r632 == NULL) goto CPyL391; cpy_r_r633 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r634 = CPyStatics[603]; /* 'process_pool' */ + cpy_r_r634 = CPyStatics[604]; /* 'process_pool' */ cpy_r_r635 = CPyDict_SetItem(cpy_r_r633, cpy_r_r634, cpy_r_r632); CPy_DECREF(cpy_r_r632); cpy_r_r636 = cpy_r_r635 >= 0; @@ -49699,7 +49954,7 @@ CPyL316: ; goto CPyL392; } cpy_r_r637 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r638 = CPyStatics[603]; /* 'process_pool' */ + cpy_r_r638 = CPyStatics[604]; /* 'process_pool' */ cpy_r_r639 = CPyDict_GetItem(cpy_r_r637, cpy_r_r638); if (unlikely(cpy_r_r639 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 206, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49725,9 +49980,9 @@ CPyL316: ; } else goto CPyL316; CPyL322: ; - cpy_r_r645 = CPyStatics[604]; /* 'You cannot set env var ' */ + cpy_r_r645 = CPyStatics[605]; /* 'You cannot set env var ' */ cpy_r_r646 = CPyStatic_ENVIRONMENT_VARIABLES___globals; - cpy_r_r647 = CPyStatics[603]; /* 'process_pool' */ + cpy_r_r647 = CPyStatics[604]; /* 'process_pool' */ cpy_r_r648 = CPyDict_GetItem(cpy_r_r646, cpy_r_r647); if (unlikely(cpy_r_r648 == NULL)) { CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 208, CPyStatic_ENVIRONMENT_VARIABLES___globals); @@ -49746,7 +50001,7 @@ CPyL322: ; CPy_AddTraceback("dank_mids\\ENVIRONMENT_VARIABLES.py", "", 208, CPyStatic_ENVIRONMENT_VARIABLES___globals); goto CPyL332; } - cpy_r_r652 = CPyStatics[605]; /* ' while running dank in infura mode.' */ + cpy_r_r652 = CPyStatics[606]; /* ' while running dank in infura mode.' */ cpy_r_r653 = CPyStr_Build(3, cpy_r_r645, cpy_r_r651, cpy_r_r652); CPy_DECREF(cpy_r_r651); if (unlikely(cpy_r_r653 == NULL)) { @@ -50162,7 +50417,7 @@ int CPyGlobalsInit(void) return 0; } -PyObject *CPyStatics[752]; +PyObject *CPyStatics[753]; const char * const CPyLit_Str[] = { "\a\bbuiltins\003Any\005Final\005final\006typing\025ENVIRONMENT_VARIABLES\tdank_mids", "\004\tgetLogger\022dank_mids._logging\024dank_mids._demo_mode\017__mypyc_attrs__", @@ -50276,14 +50531,15 @@ const char * const CPyLit_Str[] = { "\003\034error processing call revert\036INDIVIDUAL_CALL_REVERT_STRINGS\004loop", "\004\017FIRST_COMPLETED\vreturn_when\006cancel\aasyncio", "\005\034dank_mids\\helpers\\_gather.py\tCoroutine\aLiteral\003Set\boverload", - "\005\016a_sync.asyncio\023asyncio.Future[__T]\rFinishedTasks\fPendingTasks\004Task", - "\006\020get_running_loop\004wait\006sleep0\ryield_to_loop\006object\023lru_cache_lite_wrap", - "\b\005cache\tParamSpec\021typing_extensions\003__P\016lru_cache_lite\002([\002, \002])", - "\004\f_gc_callback\035list.remove(x): x not in list\003pop\aweakref", - "\005\036dank_mids\\helpers\\_weaklist.py\aGeneric\bIterator\rReferenceType\003Ref", - "\006\nGCCallback\003ref\b__call__\t_call_ref\033dank_mids.helpers._weaklist\005_refs", - "\005\bWeakList\tmulticall\026dank_mids\\constants.py\vBlockNumber\aNetwork", - "\003\021payload too large\030content length too large\030request entity too large", + "\004\016a_sync.asyncio\023asyncio.Future[__T]\rFinishedTasks\fPendingTasks", + "\a\016CancelledError\004Task\020get_running_loop\004wait\006sleep0\ryield_to_loop\006object", + "\005\023lru_cache_lite_wrap\005cache\tParamSpec\021typing_extensions\003__P", + "\006\016lru_cache_lite\002([\002, \002])\f_gc_callback\035list.remove(x): x not in list", + "\005\003pop\aweakref\036dank_mids\\helpers\\_weaklist.py\aGeneric\bIterator", + "\006\rReferenceType\003Ref\nGCCallback\003ref\b__call__\t_call_ref", + "\004\033dank_mids.helpers._weaklist\005_refs\bWeakList\tmulticall", + "\004\026dank_mids\\constants.py\vBlockNumber\aNetwork\021payload too large", + "\002\030content length too large\030request entity too large", "\003\024batch limit exceeded\022TOO_MUCH_DATA_ERRS\030connection reset by peer", "\003\023server disconnected\034execution aborted (timeout =\021request timed out", "\005\vevm timeout\nRETRY_ERRS\tconstants\tGAS_LIMIT\023MULTICALL2_BYTECODE", @@ -50332,28 +50588,28 @@ const char * const CPyLit_Int[] = { const double CPyLit_Float[] = {0}; const double CPyLit_Complex[] = {0}; const int CPyLit_Tuple[] = { - 113, 3, 4, 5, 6, 1, 8, 1, 10, 1, 5, 3, 18, 18, 18, 1, 643, 1, 21, 1, - 23, 3, 80, 80, 80, 1, 647, 4, 4, 82, 5, 83, 1, 84, 3, 101, 93, 102, 1, - 105, 3, 119, 119, 119, 3, 120, 120, 120, 2, 653, 654, 5, 122, 5, 123, - 124, 6, 1, 125, 1, 653, 1, 165, 1, 164, 1, 173, 1, 175, 1, 177, 4, + 113, 3, 4, 5, 6, 1, 8, 1, 10, 1, 5, 3, 18, 18, 18, 1, 644, 1, 21, 1, + 23, 3, 80, 80, 80, 1, 648, 4, 4, 82, 5, 83, 1, 84, 3, 101, 93, 102, 1, + 105, 3, 119, 119, 119, 3, 120, 120, 120, 2, 654, 655, 5, 122, 5, 123, + 124, 6, 1, 125, 1, 654, 1, 165, 1, 164, 1, 173, 1, 175, 1, 177, 4, 179, 180, 181, 182, 1, 185, 1, 187, 2, 192, 38, 2, 195, 196, 3, 201, - 201, 201, 1, 669, 2, 4, 6, 2, 200, 199, 1, 211, 3, 283, 283, 283, 1, - 674, 1, 239, 1, 286, 1, 244, 2, 222, 288, 11, 4, 290, 291, 5, 123, + 201, 201, 1, 670, 2, 4, 6, 2, 200, 199, 1, 211, 3, 283, 283, 283, 1, + 675, 1, 239, 1, 286, 1, 244, 2, 222, 288, 11, 4, 290, 291, 5, 123, 292, 83, 293, 294, 295, 124, 3, 296, 193, 193, 3, 297, 193, 193, 3, - 298, 193, 193, 3, 256, 256, 256, 3, 299, 299, 299, 5, 681, 682, 683, - 684, 685, 1, 243, 1, 300, 1, 301, 1, 253, 1, 267, 1, 303, 1, 261, 1, + 298, 193, 193, 3, 256, 256, 256, 3, 299, 299, 299, 5, 682, 683, 684, + 685, 686, 1, 243, 1, 300, 1, 301, 1, 253, 1, 267, 1, 303, 1, 261, 1, 234, 1, 306, 1, 308, 1, 310, 1, 312, 2, 8, 314, 1, 315, 1, 316, 1, 376, 1, 222, 4, 4, 291, 83, 124, 1, 195, 3, 303, 379, 380, 2, 221, 218, 7, 4, 291, 83, 294, 295, 124, 6, 1, 392, 3, 394, 395, 396, 1, 383, 1, 400, 2, 401, 300, 9, 4, 82, 290, 5, 406, 123, 124, 294, 295, - 3, 407, 407, 407, 3, 408, 407, 407, 2, 715, 716, 2, 410, 49, 1, 411, + 3, 407, 407, 407, 3, 408, 407, 407, 2, 716, 717, 2, 410, 49, 1, 411, 2, 413, 414, 1, 289, 3, 399, 416, 404, 3, 122, 4, 5, 1, 132, 2, 162, - 10, 1, 404, 2, 475, 165, 1, 477, 3, 479, 479, 479, 1, 729, 10, 481, 5, - 406, 482, 83, 483, 294, 295, 124, 484, 3, 485, 18, 18, 1, 732, 3, 290, - 291, 295, 1, 497, 3, 507, 507, 507, 1, 736, 10, 4, 290, 291, 5, 509, - 406, 510, 83, 295, 6, 2, 291, 5, 3, 311, 520, 520, 1, 740, 1, 522, 1, - 523, 1, 561, 3, 22, 22, 22, 2, 643, 745, 1, 563, 2, 161, 10, 1, 564, - 2, 575, 576, 1, 575 + 10, 1, 404, 2, 475, 165, 1, 477, 3, 479, 479, 479, 1, 730, 10, 481, 5, + 406, 482, 83, 483, 294, 295, 124, 484, 3, 485, 18, 18, 1, 733, 3, 290, + 291, 295, 1, 498, 3, 508, 508, 508, 1, 737, 10, 4, 290, 291, 5, 510, + 406, 511, 83, 295, 6, 2, 291, 5, 3, 311, 521, 521, 1, 741, 1, 523, 1, + 524, 1, 562, 3, 22, 22, 22, 2, 644, 746, 1, 564, 2, 161, 10, 1, 565, + 2, 576, 577, 1, 576 }; const int CPyLit_FrozenSet[] = {0}; CPyModule *CPyModule_dank_mids____demo_mode_internal = NULL; @@ -50814,6 +51070,7 @@ PyObject *CPyPy__errors___is_call_revert(PyObject *self, PyObject *const *args, char CPyDef__errors___log_request_type_switch(void); PyObject *CPyPy__errors___log_request_type_switch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); char CPyDef__errors_____top_level__(void); +PyObject *CPyStatic__gather___CancelledError = NULL; PyObject *CPyStatic__gather___Task = NULL; PyObject *CPyStatic__gather___get_running_loop = NULL; PyObject *CPyStatic__gather___wait = NULL; @@ -51197,6 +51454,7 @@ static struct export_table_d65c1fb6f7cf4e30fde8 exports = { &CPyDef__errors___is_call_revert, &CPyDef__errors___log_request_type_switch, &CPyDef__errors_____top_level__, + &CPyStatic__gather___CancelledError, &CPyStatic__gather___Task, &CPyStatic__gather___get_running_loop, &CPyStatic__gather___wait, diff --git a/build/__native_d65c1fb6f7cf4e30fde8.h b/build/__native_d65c1fb6f7cf4e30fde8.h index 91048ac0ad..ebb6fd75e5 100644 --- a/build/__native_d65c1fb6f7cf4e30fde8.h +++ b/build/__native_d65c1fb6f7cf4e30fde8.h @@ -525,8 +525,12 @@ typedef struct { tuple_T3OOO ___mypyc_temp__20; PyObject *_done; PyObject *_pending; - PyObject *___mypyc_temp__21; + tuple_T3OOO ___mypyc_temp__21; PyObject *___mypyc_temp__22; + CPyTagged ___mypyc_temp__23; + PyObject *_f; + PyObject *___mypyc_temp__24; + PyObject *___mypyc_temp__25; PyObject *_p; } dank_mids___helpers____gather___first_completed_envObject; @@ -843,6 +847,7 @@ struct export_table_d65c1fb6f7cf4e30fde8 { char (*CPyDef__errors___is_call_revert)(PyObject *cpy_r_e); char (*CPyDef__errors___log_request_type_switch)(void); char (*CPyDef__errors_____top_level__)(void); + PyObject **CPyStatic__gather___CancelledError; PyObject **CPyStatic__gather___Task; PyObject **CPyStatic__gather___get_running_loop; PyObject **CPyStatic__gather___wait; diff --git a/build/__native_internal_17645f66770270d4fac0.h b/build/__native_internal_17645f66770270d4fac0.h index f7e625169c..eb5cef67b2 100644 --- a/build/__native_internal_17645f66770270d4fac0.h +++ b/build/__native_internal_17645f66770270d4fac0.h @@ -6,7 +6,7 @@ int CPyGlobalsInit(void); -extern PyObject *CPyStatics[743]; +extern PyObject *CPyStatics[744]; extern const char * const CPyLit_Str[]; extern const char * const CPyLit_Bytes[]; extern const char * const CPyLit_Int[]; @@ -469,6 +469,7 @@ extern PyObject *CPyPy__errors___is_call_revert(PyObject *self, PyObject *const extern char CPyDef__errors___log_request_type_switch(void); extern PyObject *CPyPy__errors___log_request_type_switch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); extern char CPyDef__errors_____top_level__(void); +extern PyObject *CPyStatic__gather___CancelledError; extern PyObject *CPyStatic__gather___Task; extern PyObject *CPyStatic__gather___get_running_loop; extern PyObject *CPyStatic__gather___wait; diff --git a/build/__native_internal_d65c1fb6f7cf4e30fde8.h b/build/__native_internal_d65c1fb6f7cf4e30fde8.h index 015568c65c..779c76d155 100644 --- a/build/__native_internal_d65c1fb6f7cf4e30fde8.h +++ b/build/__native_internal_d65c1fb6f7cf4e30fde8.h @@ -6,7 +6,7 @@ int CPyGlobalsInit(void); -extern PyObject *CPyStatics[752]; +extern PyObject *CPyStatics[753]; extern const char * const CPyLit_Str[]; extern const char * const CPyLit_Bytes[]; extern const char * const CPyLit_Int[]; @@ -472,6 +472,7 @@ extern PyObject *CPyPy__errors___is_call_revert(PyObject *self, PyObject *const extern char CPyDef__errors___log_request_type_switch(void); extern PyObject *CPyPy__errors___log_request_type_switch(PyObject *self, PyObject *const *args, size_t nargs, PyObject *kwnames); extern char CPyDef__errors_____top_level__(void); +extern PyObject *CPyStatic__gather___CancelledError; extern PyObject *CPyStatic__gather___Task; extern PyObject *CPyStatic__gather___get_running_loop; extern PyObject *CPyStatic__gather___wait; diff --git a/build/ops.txt b/build/ops.txt index 6b0d6e509f..cd9ea6e037 100644 --- a/build/ops.txt +++ b/build/ops.txt @@ -1,11236 +1,466 @@ -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4, r5 :: object - r6 :: str - r7 :: dict +def __mypyc_lambda__0_obj.__get__(__mypyc_self__, instance, owner): + __mypyc_self__, instance, owner, r0 :: object + r1 :: bit + r2, r3 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = instance == r0 + if r1 goto L1 else goto L2 :: bool +L1: + inc_ref __mypyc_self__ + return __mypyc_self__ +L2: + r2 = PyMethod_New(__mypyc_self__, instance) + if is_error(r2) goto L4 else goto L3 +L3: + return r2 +L4: + r3 = :: object + return r3 + +def __mypyc_lambda__0_obj.__call__(__mypyc_self__, self, args): + __mypyc_self__ :: dank_mids.brownie_patch.call.__mypyc_lambda__0_obj + self, args, r0 :: object + r1 :: bool + r2 :: str + r3 :: object + r4 :: dict + r5 :: str + r6 :: object + r7 :: str r8 :: object - r9 :: object_ptr - r10 :: object_ptr[1] - r11 :: c_ptr - r12 :: native_int[1] - r13 :: c_ptr - r14 :: object - r15 :: dict - r16, r17 :: str - r18 :: bit - r19 :: object - r20 :: str - r21 :: dict - r22, r23 :: object - r24 :: str - r25 :: dict - r26 :: object - r27 :: str - r28 :: dict - r29 :: str - r30 :: object - r31 :: object[1] - r32 :: object_ptr - r33 :: object - r34 :: dict - r35 :: str - r36 :: i32 - r37 :: bit - r38 :: object - r39 :: bool - r40 :: dict - r41 :: str - r42 :: object - r43 :: str - r44, r45 :: object - r46 :: str - r47 :: object[3] - r48 :: object_ptr - r49, r50 :: object - r51 :: bool - r52 :: dict - r53 :: str - r54 :: object - r55 :: str - r56, r57 :: object - r58 :: str - r59 :: object[3] - r60 :: object_ptr - r61, r62 :: object - r63 :: bool - r64 :: dict - r65 :: str - r66, r67 :: object - r68 :: str - r69 :: object[3] - r70 :: object_ptr - r71, r72 :: object - r73 :: bool - r74 :: str - r75 :: object - r76 :: dict - r77 :: str - r78 :: i32 - r79 :: bit - r80 :: str - r81 :: dict - r82 :: str - r83 :: object - r84 :: object[1] - r85 :: object_ptr - r86 :: object - r87 :: dict - r88 :: str - r89 :: i32 - r90 :: bit - r91 :: None + r9 :: str + r10 :: object + r11 :: str + r12 :: object + r13 :: list + r14, r15, r16, r17 :: ptr + r18 :: object + r19 :: tuple + r20 :: dict + r21, r22 :: object L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool + r0 = dank_mids.brownie_patch.call.ENVS :: static + if is_error(r0) goto L1 else goto L3 L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L36 (error at :-1) else goto L2 + r1 = raise NameError('value for final name "ENVS" was not set') + if not r1 goto L14 (error at :79) else goto L2 :: bool L2: - builtins = r4 :: module - dec_ref r4 + unreachable L3: - r5 = ('Final',) - r6 = 'typing' - r7 = dank_mids._envs.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L36 (error at :1) else goto L4 + r2 = 'BROWNIE_ENCODER_PROCESSES' + r3 = CPyObject_GetAttr(r0, r2) + if is_error(r3) goto L14 (error at :79) else goto L4 L4: - typing = r8 :: module - dec_ref r8 - r9 = load_address a_sync :: module - r10 = [r9] - r11 = load_address r10 - r12 = [3] - r13 = load_address r12 - r14 = (('a_sync', 'a_sync', 'a_sync'),) - r15 = dank_mids._envs.globals :: static - r16 = 'dank_mids\\_envs.py' - r17 = '' - r18 = CPyImport_ImportMany(r14, r11, r15, r16, r17, r13) - if not r18 goto L36 else goto L5 :: bool + r4 = dank_mids.brownie_patch.call.globals :: static + r5 = '__encode_input' + r6 = CPyDict_GetItem(r4, r5) + if is_error(r6) goto L15 (error at :79) else goto L5 L5: - r19 = ('EnvVarFactory',) - r20 = 'typed_envs' - r21 = dank_mids._envs.globals :: static - r22 = CPyImport_ImportFromMany(r20, r19, r19, r21) - if is_error(r22) goto L36 (error at :4) else goto L6 + r7 = 'abi' + r8 = CPyObject_GetAttr(self, r7) + if is_error(r8) goto L16 (error at :79) else goto L6 L6: - typed_envs = r22 :: module - dec_ref r22 - r23 = ('BlockSemaphore',) - r24 = 'dank_mids.semaphores' - r25 = dank_mids._envs.globals :: static - r26 = CPyImport_ImportFromMany(r24, r23, r23, r25) - if is_error(r26) goto L36 (error at :6) else goto L7 + r9 = 'signature' + r10 = CPyObject_GetAttr(self, r9) + if is_error(r10) goto L17 (error at :79) else goto L7 L7: - dank_mids.semaphores = r26 :: module - dec_ref r26 - r27 = 'DANKMIDS' - r28 = dank_mids._envs.globals :: static - r29 = 'EnvVarFactory' - r30 = CPyDict_GetItem(r28, r29) - if is_error(r30) goto L36 (error at :9) else goto L8 + r11 = 'run' + r12 = CPyObject_GetAttr(r3, r11) + dec_ref r3 + if is_error(r12) goto L18 (error at :79) else goto L8 L8: - r31 = [r27] - r32 = load_address r31 - r33 = _PyObject_Vectorcall(r30, r32, 1, 0) - dec_ref r30 - if is_error(r33) goto L36 (error at :9) else goto L9 + r13 = PyList_New(3) + if is_error(r13) goto L19 (error at :79) else goto L9 L9: - dank_mids._envs._factory = r33 :: static - r34 = dank_mids._envs.globals :: static - r35 = '_factory' - r36 = CPyDict_SetItem(r34, r35, r33) - dec_ref r33 - r37 = r36 >= 0 :: signed - if not r37 goto L36 (error at :9) else goto L10 :: bool + r14 = get_element_ptr r13 ob_item :: PyListObject + r15 = load_mem r14 :: ptr* + set_mem r15, r6 :: builtins.object* + r16 = r15 + 8 + set_mem r16, r8 :: builtins.object* + r17 = r15 + 16 + set_mem r17, r10 :: builtins.object* + r18 = CPyList_Extend(r13, args) + if is_error(r18) goto L20 (error at :79) else goto L21 L10: - r38 = dank_mids._envs._factory :: static - if is_error(r38) goto L11 else goto L13 + r19 = PyList_AsTuple(r13) + dec_ref r13 + if is_error(r19) goto L22 (error at :79) else goto L11 L11: - r39 = raise NameError('value for final name "_factory" was not set') - if not r39 goto L36 (error at :13) else goto L12 :: bool + r20 = PyDict_New() + if is_error(r20) goto L23 (error at :79) else goto L12 L12: - unreachable + r21 = PyObject_Call(r12, r19, r20) + dec_ref r12 + dec_ref r19 + dec_ref r20 + if is_error(r21) goto L14 (error at :79) else goto L13 L13: - r40 = dank_mids._envs.globals :: static - r41 = 'a_sync' - r42 = CPyDict_GetItem(r40, r41) - if is_error(r42) goto L36 (error at :13) else goto L14 + return r21 L14: - r43 = 'Semaphore' - r44 = CPyObject_GetAttr(r42, r43) - dec_ref r42 - if is_error(r44) goto L36 (error at :13) else goto L15 + r22 = :: object + return r22 L15: - r45 = load_address PyLong_Type - r46 = 'register_string_converter' - r47 = [r38, r44, r45] - r48 = load_address r47 - r49 = PyObject_VectorcallMethod(r46, r48, 9223372036854775811, 0) - if is_error(r49) goto L37 (error at :13) else goto L38 + dec_ref r3 + goto L14 L16: - dec_ref r44 - r50 = dank_mids._envs._factory :: static - if is_error(r50) goto L17 else goto L19 + dec_ref r3 + dec_ref r6 + goto L14 L17: - r51 = raise NameError('value for final name "_factory" was not set') - if not r51 goto L36 (error at :14) else goto L18 :: bool -L18: - unreachable + dec_ref r3 + dec_ref r6 + dec_ref r8 + goto L14 +L18: + dec_ref r6 + dec_ref r8 + dec_ref r10 + goto L14 L19: - r52 = dank_mids._envs.globals :: static - r53 = 'a_sync' - r54 = CPyDict_GetItem(r52, r53) - if is_error(r54) goto L36 (error at :14) else goto L20 + dec_ref r6 + dec_ref r8 + dec_ref r10 + dec_ref r12 + goto L14 L20: - r55 = 'ProcessPoolExecutor' - r56 = CPyObject_GetAttr(r54, r55) - dec_ref r54 - if is_error(r56) goto L36 (error at :14) else goto L21 + dec_ref r12 + dec_ref r13 + goto L14 L21: - r57 = load_address PyLong_Type - r58 = 'register_string_converter' - r59 = [r50, r56, r57] - r60 = load_address r59 - r61 = PyObject_VectorcallMethod(r58, r60, 9223372036854775811, 0) - if is_error(r61) goto L39 (error at :14) else goto L40 + dec_ref r18 + goto L10 L22: - dec_ref r56 - r62 = dank_mids._envs._factory :: static - if is_error(r62) goto L23 else goto L25 + dec_ref r12 + goto L14 L23: - r63 = raise NameError('value for final name "_factory" was not set') - if not r63 goto L36 (error at :15) else goto L24 :: bool -L24: - unreachable -L25: - r64 = dank_mids._envs.globals :: static - r65 = 'BlockSemaphore' - r66 = CPyDict_GetItem(r64, r65) - if is_error(r66) goto L36 (error at :15) else goto L26 -L26: - r67 = load_address PyLong_Type - r68 = 'register_string_converter' - r69 = [r62, r66, r67] - r70 = load_address r69 - r71 = PyObject_VectorcallMethod(r68, r70, 9223372036854775811, 0) - if is_error(r71) goto L41 (error at :15) else goto L42 -L27: - dec_ref r66 - r72 = dank_mids._envs._factory :: static - if is_error(r72) goto L28 else goto L30 -L28: - r73 = raise NameError('value for final name "_factory" was not set') - if not r73 goto L36 (error at :17) else goto L29 :: bool -L29: - unreachable -L30: - r74 = 'create_env' - r75 = CPyObject_GetAttr(r72, r74) - if is_error(r75) goto L36 (error at :17) else goto L31 -L31: - dank_mids._envs.create_env = r75 :: static - r76 = dank_mids._envs.globals :: static - r77 = 'create_env' - r78 = CPyDict_SetItem(r76, r77, r75) - dec_ref r75 - r79 = r78 >= 0 :: signed - if not r79 goto L36 (error at :17) else goto L32 :: bool -L32: - r80 = 'DANK_MIDS' - r81 = dank_mids._envs.globals :: static - r82 = 'EnvVarFactory' - r83 = CPyDict_GetItem(r81, r82) - if is_error(r83) goto L36 (error at :20) else goto L33 -L33: - r84 = [r80] - r85 = load_address r84 - r86 = _PyObject_Vectorcall(r83, r85, 1, 0) - dec_ref r83 - if is_error(r86) goto L36 (error at :20) else goto L34 -L34: - dank_mids._envs._deprecated_format = r86 :: static - r87 = dank_mids._envs.globals :: static - r88 = '_deprecated_format' - r89 = CPyDict_SetItem(r87, r88, r86) - dec_ref r86 - r90 = r89 >= 0 :: signed - if not r90 goto L36 (error at :20) else goto L35 :: bool -L35: - return 1 -L36: - r91 = :: None - return r91 -L37: - dec_ref r44 - goto L36 -L38: - dec_ref r49 - goto L16 -L39: - dec_ref r56 - goto L36 -L40: - dec_ref r61 - goto L22 -L41: - dec_ref r66 - goto L36 -L42: - dec_ref r71 - goto L27 + dec_ref r12 + dec_ref r19 + goto L14 -def error_logger_log_debug(msg, args): - msg :: str - args :: tuple - r0 :: int - r1 :: bool - r2 :: object - r3 :: bool - r4 :: object - r5 :: object[3] - r6 :: object_ptr - r7 :: object - r8 :: None +def __mypyc_lambda__1_obj.__get__(__mypyc_self__, instance, owner): + __mypyc_self__, instance, owner, r0 :: object + r1 :: bit + r2, r3 :: object L0: - r0 = dank_mids._logging.DEBUG :: static - if is_error(r0) goto L1 else goto L3 + r0 = load_address _Py_NoneStruct + r1 = instance == r0 + if r1 goto L1 else goto L2 :: bool L1: - r1 = raise NameError('value for final name "DEBUG" was not set') - if not r1 goto L8 (error at error_logger_log_debug:18) else goto L2 :: bool + inc_ref __mypyc_self__ + return __mypyc_self__ L2: - unreachable + r2 = PyMethod_New(__mypyc_self__, instance) + if is_error(r2) goto L4 else goto L3 L3: - r2 = dank_mids.helpers._errors.error_logger_log :: static - if is_error(r2) goto L4 else goto L6 + return r2 L4: - r3 = raise NameError('value for final name "error_logger_log" was not set') - if not r3 goto L8 (error at error_logger_log_debug:18) else goto L5 :: bool -L5: - unreachable -L6: - inc_ref r0 :: int - r4 = box(int, r0) - r5 = [r4, msg, args] - r6 = load_address r5 - r7 = _PyObject_Vectorcall(r2, r6, 3, 0) - if is_error(r7) goto L9 (error at error_logger_log_debug:18) else goto L10 -L7: - dec_ref r4 - return 1 -L8: - r8 = :: None - return r8 -L9: - dec_ref r4 - goto L8 -L10: - dec_ref r7 - goto L7 + r3 = :: object + return r3 -def revert_logger_log_debug(msg, args): - msg :: str - args :: tuple - r0 :: int +def __mypyc_lambda__1_obj.__call__(__mypyc_self__, self, data): + __mypyc_self__ :: dank_mids.brownie_patch.call.__mypyc_lambda__1_obj + self :: object + data :: bytes + r0 :: object r1 :: bool - r2 :: object - r3 :: bool - r4 :: object - r5 :: object[3] - r6 :: object_ptr - r7 :: object - r8 :: None + r2 :: str + r3 :: object + r4 :: dict + r5 :: str + r6 :: object + r7 :: str + r8 :: object + r9 :: str + r10 :: object[4] + r11 :: object_ptr + r12, r13 :: object L0: - r0 = dank_mids._logging.DEBUG :: static + r0 = dank_mids.brownie_patch.call.ENVS :: static if is_error(r0) goto L1 else goto L3 L1: - r1 = raise NameError('value for final name "DEBUG" was not set') - if not r1 goto L8 (error at revert_logger_log_debug:26) else goto L2 :: bool + r1 = raise NameError('value for final name "ENVS" was not set') + if not r1 goto L8 (error at :98) else goto L2 :: bool L2: unreachable L3: - r2 = dank_mids.helpers._errors.revert_logger_log :: static - if is_error(r2) goto L4 else goto L6 + r2 = 'BROWNIE_DECODER_PROCESSES' + r3 = CPyObject_GetAttr(r0, r2) + if is_error(r3) goto L8 (error at :98) else goto L4 L4: - r3 = raise NameError('value for final name "revert_logger_log" was not set') - if not r3 goto L8 (error at revert_logger_log_debug:26) else goto L5 :: bool + r4 = dank_mids.brownie_patch.call.globals :: static + r5 = '__decode_output' + r6 = CPyDict_GetItem(r4, r5) + if is_error(r6) goto L9 (error at :98) else goto L5 L5: - unreachable + r7 = 'abi' + r8 = CPyObject_GetAttr(self, r7) + if is_error(r8) goto L10 (error at :98) else goto L6 L6: - inc_ref r0 :: int - r4 = box(int, r0) - r5 = [r4, msg, args] - r6 = load_address r5 - r7 = _PyObject_Vectorcall(r2, r6, 3, 0) - if is_error(r7) goto L9 (error at revert_logger_log_debug:26) else goto L10 + r9 = 'run' + r10 = [r3, r6, data, r8] + r11 = load_address r10 + r12 = PyObject_VectorcallMethod(r9, r11, 9223372036854775812, 0) + if is_error(r12) goto L11 (error at :98) else goto L7 L7: - dec_ref r4 - return 1 + dec_ref r3 + dec_ref r6 + dec_ref r8 + return r12 L8: - r8 = :: None - return r8 + r13 = :: object + return r13 L9: - dec_ref r4 + dec_ref r3 goto L8 L10: - dec_ref r7 - goto L7 - -def log_internal_error(logger, batch, exc): - logger, batch, exc :: object - r0, batch_objs :: list - r1 :: tuple[object, object, object] - r2 :: object + dec_ref r3 + dec_ref r6 + goto L8 +L11: + dec_ref r3 + dec_ref r6 + dec_ref r8 + goto L8 + +def _patch_call(call, w3): + call, w3 :: object + r0 :: str + r1 :: object + r2 :: dict r3 :: str r4 :: object - r5 :: bit - r6 :: list - r7, r8 :: ptr - r9 :: bit - r10 :: str - r11 :: object - r12 :: str - r13 :: object - r14 :: str - r15 :: ptr - r16 :: native_int - r17 :: short_int - r18 :: object + r5 :: set + r6 :: i32 + r7 :: bit + r8 :: bool + r9 :: str + r10 :: object + r11 :: i32 + r12 :: bit + r13 :: str + r14 :: object + r15 :: str + r16 :: object + r17 :: int + r18 :: dict r19 :: str - r20 :: object - r21, r22 :: str - r23, r24 :: object - r25 :: object[8] - r26 :: object_ptr - r27, r28 :: object - r29 :: None + r20, r21 :: object + r22 :: object[2] + r23 :: object_ptr + r24 :: object + r25 :: dict + r26 :: str + r27 :: object + r28 :: object[2] + r29 :: object_ptr + r30 :: object + r31 :: str + r32 :: i32 + r33 :: bit + r34 :: dict + r35 :: str + r36 :: object + r37 :: dict + r38 :: str + r39 :: object + r40 :: object[2] + r41 :: object_ptr + r42 :: object + r43 :: str + r44 :: i32 + r45 :: bit + r46 :: None L0: + r0 = '_address' + r1 = CPyObject_GetAttr(call, r0) + if is_error(r1) goto L18 (error at _patch_call:132) else goto L1 L1: - r0 = PySequence_List(batch) - if is_error(r0) goto L3 (error at log_internal_error:48) else goto L2 + r2 = dank_mids.brownie_patch.call.globals :: static + r3 = '_skip_proc_pool' + r4 = CPyDict_GetItem(r2, r3) + if is_error(r4) goto L19 (error at _patch_call:132) else goto L2 L2: - batch_objs = r0 - goto L12 + r5 = cast(set, r4) + if is_error(r5) goto L19 (error at _patch_call:132) else goto L3 L3: - r1 = CPy_CatchError() - r2 = builtins :: module - r3 = 'TypeError' - r4 = CPyObject_GetAttr(r2, r3) - if is_error(r4) goto L10 (error at log_internal_error:49) else goto L4 + r6 = PySet_Contains(r5, r1) + dec_ref r5 + dec_ref r1 + r7 = r6 >= 0 :: signed + if not r7 goto L18 (error at _patch_call:132) else goto L4 :: bool L4: - r5 = CPy_ExceptionMatches(r4) - dec_ref r4 - if r5 goto L5 else goto L7 :: bool + r8 = truncate r6: i32 to builtins.bool + r9 = '_skip_decoder_proc_pool' + r10 = box(bool, r8) + r11 = PyObject_SetAttr(call, r9, r10) + r12 = r11 >= 0 :: signed + if not r12 goto L18 (error at _patch_call:132) else goto L5 :: bool L5: - r6 = PyList_New(1) - if is_error(r6) goto L10 (error at log_internal_error:51) else goto L6 + r13 = 'abi' + r14 = CPyObject_GetAttr(call, r13) + if is_error(r14) goto L18 (error at _patch_call:133) else goto L6 L6: - r7 = get_element_ptr r6 ob_item :: PyListObject - r8 = load_mem r7 :: ptr* - inc_ref batch - set_mem r8, batch :: builtins.object* - batch_objs = r6 - goto L9 + r15 = 'inputs' + r16 = PyObject_GetItem(r14, r15) + dec_ref r14 + if is_error(r16) goto L18 (error at _patch_call:133) else goto L7 L7: - CPy_Reraise() - if not 0 goto L10 else goto L19 :: bool + r17 = CPyObject_Size(r16) + dec_ref r16 + if is_error(r17) goto L18 (error at _patch_call:133) else goto L8 L8: - unreachable + r18 = dank_mids.brownie_patch.call.globals :: static + r19 = '_get_coroutine_fn' + r20 = CPyDict_GetItem(r18, r19) + if is_error(r20) goto L20 (error at _patch_call:133) else goto L9 L9: - CPy_RestoreExcInfo(r1) - dec_ref r1 - goto L12 + r21 = box(int, r17) + r22 = [w3, r21] + r23 = load_address r22 + r24 = _PyObject_Vectorcall(r20, r23, 2, 0) + dec_ref r20 + if is_error(r24) goto L21 (error at _patch_call:133) else goto L10 L10: - CPy_RestoreExcInfo(r1) - dec_ref r1 - r9 = CPy_KeepPropagating() - if not r9 goto L18 else goto L11 :: bool + dec_ref r21 + r25 = dank_mids.brownie_patch.call.globals :: static + r26 = 'MethodType' + r27 = CPyDict_GetItem(r25, r26) + if is_error(r27) goto L22 (error at _patch_call:133) else goto L11 L11: - unreachable + r28 = [r24, call] + r29 = load_address r28 + r30 = _PyObject_Vectorcall(r27, r29, 2, 0) + dec_ref r27 + if is_error(r30) goto L22 (error at _patch_call:133) else goto L12 L12: - r10 = "That's not good, there was an exception in a %s (len=%s). These are supposed to be handled.\nExc: %s\n%s contents: %s\n\n" - r11 = PyObject_Type(batch) - r12 = '__name__' - r13 = CPyObject_GetAttr(r11, r12) - dec_ref r11 - if is_error(r13) goto L20 (error at log_internal_error:56) else goto L13 + dec_ref r24 + r31 = 'coroutine' + r32 = PyObject_SetAttr(call, r31, r30) + dec_ref r30 + r33 = r32 >= 0 :: signed + if not r33 goto L18 (error at _patch_call:133) else goto L13 :: bool L13: - r14 = cast(str, r13) - if is_error(r14) goto L20 (error at log_internal_error:56) else goto L14 + r34 = dank_mids.brownie_patch.call.globals :: static + r35 = '_call_no_args' + r36 = CPyDict_GetItem(r34, r35) + if is_error(r36) goto L18 (error at _patch_call:134) else goto L14 L14: - r15 = get_element_ptr batch_objs ob_size :: PyVarObject - r16 = load_mem r15 :: native_int* - r17 = r16 << 1 - r18 = PyObject_Type(batch) - r19 = '__name__' - r20 = CPyObject_GetAttr(r18, r19) - dec_ref r18 - if is_error(r20) goto L21 (error at log_internal_error:59) else goto L15 + r37 = dank_mids.brownie_patch.call.globals :: static + r38 = 'MethodType' + r39 = CPyDict_GetItem(r37, r38) + if is_error(r39) goto L23 (error at _patch_call:134) else goto L15 L15: - r21 = cast(str, r20) - if is_error(r21) goto L21 (error at log_internal_error:59) else goto L16 + r40 = [r36, call] + r41 = load_address r40 + r42 = _PyObject_Vectorcall(r39, r41, 2, 0) + dec_ref r39 + if is_error(r42) goto L23 (error at _patch_call:134) else goto L16 L16: - r22 = 'error' - r23 = box(short_int, r17) - r24 = box(bool, 1) - r25 = [logger, r10, r14, r23, exc, r21, batch_objs, r24] - r26 = load_address r25 - r27 = ('exc_info',) - r28 = PyObject_VectorcallMethod(r22, r26, 9223372036854775815, r27) - if is_error(r28) goto L22 (error at log_internal_error:52) else goto L23 + dec_ref r36 + r43 = '__await__' + r44 = PyObject_SetAttr(call, r43, r42) + dec_ref r42 + r45 = r44 >= 0 :: signed + if not r45 goto L18 (error at _patch_call:134) else goto L17 :: bool L17: - dec_ref r14 - dec_ref r23 - dec_ref r21 - dec_ref batch_objs return 1 L18: - r29 = :: None - return r29 + r46 = :: None + return r46 L19: dec_ref r1 - goto L8 + goto L18 L20: - dec_ref batch_objs + dec_ref r17 :: int goto L18 L21: - dec_ref batch_objs - dec_ref r14 + dec_ref r21 goto L18 L22: - dec_ref batch_objs - dec_ref r14 - dec_ref r21 - dec_ref r23 + dec_ref r24 goto L18 L23: - dec_ref r28 - goto L17 + dec_ref r36 + goto L18 -def needs_full_request_spec(response): - response :: object - r0 :: str - r1, r2 :: object - r3 :: bit - r4 :: bool - r5 :: str - r6 :: object - r7 :: str - r8 :: object - r9, r10 :: str - r11 :: object[1] - r12 :: object_ptr - r13 :: object - r14, r15 :: str - r16 :: i32 - r17 :: bit - r18 :: object - r19, r20, r21 :: bit - r22 :: bool - r23 :: str - r24 :: object - r25 :: str - r26 :: object - r27, r28 :: str - r29 :: object[1] - r30 :: object_ptr - r31 :: object - r32, r33 :: str - r34 :: i32 - r35 :: bit - r36 :: object - r37, r38, r39 :: bit - r40 :: bool -L0: - r0 = 'error' - r1 = CPyObject_GetAttr(response, r0) - if is_error(r1) goto L24 (error at needs_full_request_spec:78) else goto L1 -L1: - r2 = load_address _Py_NoneStruct - r3 = r1 != r2 - dec_ref r1 - if r3 goto L3 else goto L2 :: bool -L2: - r4 = r3 - goto L23 -L3: - r5 = 'error' - r6 = CPyObject_GetAttr(response, r5) - if is_error(r6) goto L24 (error at needs_full_request_spec:78) else goto L4 -L4: - r7 = 'message' - r8 = CPyObject_GetAttr(r6, r7) - dec_ref r6 - if is_error(r8) goto L24 (error at needs_full_request_spec:78) else goto L5 -L5: - r9 = cast(str, r8) - if is_error(r9) goto L24 (error at needs_full_request_spec:78) else goto L6 -L6: - r10 = 'lower' - r11 = [r9] - r12 = load_address r11 - r13 = PyObject_VectorcallMethod(r10, r12, 9223372036854775809, 0) - if is_error(r13) goto L25 (error at needs_full_request_spec:78) else goto L7 -L7: - dec_ref r9 - r14 = cast(str, r13) - if is_error(r14) goto L24 (error at needs_full_request_spec:78) else goto L8 -L8: - r15 = 'invalid request' - r16 = PyUnicode_Compare(r14, r15) - dec_ref r14 - r17 = r16 == -1 - if r17 goto L9 else goto L11 :: bool -L9: - r18 = PyErr_Occurred() - r19 = r18 != 0 - if r19 goto L10 else goto L11 :: bool -L10: - r20 = CPy_KeepPropagating() - if not r20 goto L24 (error at needs_full_request_spec:-1) else goto L11 :: bool -L11: - r21 = r16 == 0 - if r21 goto L12 else goto L13 :: bool -L12: - r22 = r21 - goto L22 -L13: - r23 = 'error' - r24 = CPyObject_GetAttr(response, r23) - if is_error(r24) goto L24 (error at needs_full_request_spec:78) else goto L14 -L14: - r25 = 'message' - r26 = CPyObject_GetAttr(r24, r25) - dec_ref r24 - if is_error(r26) goto L24 (error at needs_full_request_spec:78) else goto L15 -L15: - r27 = cast(str, r26) - if is_error(r27) goto L24 (error at needs_full_request_spec:78) else goto L16 -L16: - r28 = 'lower' - r29 = [r27] - r30 = load_address r29 - r31 = PyObject_VectorcallMethod(r28, r30, 9223372036854775809, 0) - if is_error(r31) goto L26 (error at needs_full_request_spec:78) else goto L17 -L17: - dec_ref r27 - r32 = cast(str, r31) - if is_error(r32) goto L24 (error at needs_full_request_spec:78) else goto L18 -L18: - r33 = 'parse error' - r34 = PyUnicode_Compare(r32, r33) - dec_ref r32 - r35 = r34 == -1 - if r35 goto L19 else goto L21 :: bool -L19: - r36 = PyErr_Occurred() - r37 = r36 != 0 - if r37 goto L20 else goto L21 :: bool -L20: - r38 = CPy_KeepPropagating() - if not r38 goto L24 (error at needs_full_request_spec:-1) else goto L21 :: bool -L21: - r39 = r34 == 0 - r22 = r39 -L22: - r4 = r22 -L23: - return r4 -L24: - r40 = :: bool - return r40 -L25: - dec_ref r9 - goto L24 -L26: - dec_ref r27 - goto L24 - -def is_call_revert(e): - e :: dank_mids._exceptions.BadResponse - r0, r1, r2 :: str - r3 :: object[3] - r4 :: object_ptr - r5 :: object - r6, r7 :: str - r8 :: object[1] - r9 :: object_ptr - r10 :: object - r11, r12 :: str - r13 :: object - r14 :: set - r15 :: bool - r16 :: object - r17 :: str - r18 :: object - r19 :: object[2] - r20 :: object_ptr - r21, r22 :: object - r23 :: str - r24 :: object - r25 :: object[1] - r26 :: object_ptr - r27 :: object - r28, r29 :: bool +def coroutine__get_coroutine_fn_obj.__get__(__mypyc_self__, instance, owner): + __mypyc_self__, instance, owner, r0 :: object + r1 :: bit + r2, r3 :: object L0: - r0 = '{:{}}' - r1 = '' - r2 = 'format' - r3 = [r0, e, r1] - r4 = load_address r3 - r5 = PyObject_VectorcallMethod(r2, r4, 9223372036854775811, 0) - if is_error(r5) goto L14 (error at is_call_revert:94) else goto L1 + r0 = load_address _Py_NoneStruct + r1 = instance == r0 + if r1 goto L1 else goto L2 :: bool L1: - r6 = cast(str, r5) - if is_error(r6) goto L14 (error at is_call_revert:94) else goto L2 + inc_ref __mypyc_self__ + return __mypyc_self__ L2: - r7 = 'lower' - r8 = [r6] - r9 = load_address r8 - r10 = PyObject_VectorcallMethod(r7, r9, 9223372036854775809, 0) - if is_error(r10) goto L15 (error at is_call_revert:94) else goto L3 + r2 = PyMethod_New(__mypyc_self__, instance) + if is_error(r2) goto L4 else goto L3 L3: - dec_ref r6 - r11 = cast(str, r10) - if is_error(r11) goto L14 (error at is_call_revert:94) else goto L4 + return r2 L4: - r12 = '__contains__' - r13 = CPyObject_GetAttr(r11, r12) - dec_ref r11 - if is_error(r13) goto L14 (error at is_call_revert:94) else goto L5 -L5: - r14 = dank_mids.helpers._errors.INDIVIDUAL_CALL_REVERT_STRINGS :: static - if is_error(r14) goto L16 else goto L8 -L6: - r15 = raise NameError('value for final name "INDIVIDUAL_CALL_REVERT_STRINGS" was not set') - if not r15 goto L14 (error at is_call_revert:94) else goto L7 :: bool -L7: - unreachable -L8: - r16 = builtins :: module - r17 = 'map' - r18 = CPyObject_GetAttr(r16, r17) - if is_error(r18) goto L17 (error at is_call_revert:94) else goto L9 -L9: - r19 = [r13, r14] - r20 = load_address r19 - r21 = _PyObject_Vectorcall(r18, r20, 2, 0) - dec_ref r18 - if is_error(r21) goto L17 (error at is_call_revert:94) else goto L10 -L10: - dec_ref r13 - r22 = builtins :: module - r23 = 'any' - r24 = CPyObject_GetAttr(r22, r23) - if is_error(r24) goto L18 (error at is_call_revert:94) else goto L11 -L11: - r25 = [r21] - r26 = load_address r25 - r27 = _PyObject_Vectorcall(r24, r26, 1, 0) - dec_ref r24 - if is_error(r27) goto L18 (error at is_call_revert:94) else goto L12 -L12: - dec_ref r21 - r28 = unbox(bool, r27) - dec_ref r27 - if is_error(r28) goto L14 (error at is_call_revert:94) else goto L13 -L13: - return r28 -L14: - r29 = :: bool - return r29 -L15: - dec_ref r6 - goto L14 -L16: - dec_ref r13 - goto L6 -L17: - dec_ref r13 - goto L14 -L18: - dec_ref r21 - goto L14 + r3 = :: object + return r3 -def log_request_type_switch(): - r0 :: str - r1 :: object - r2 :: bool - r3 :: object[1] - r4 :: object_ptr - r5 :: object - r6 :: None -L0: - r0 = 'your node says the partial request was invalid but its okay, we can use the full jsonrpc spec instead' - r1 = dank_mids.helpers._errors.error_logger_debug :: static - if is_error(r1) goto L1 else goto L3 -L1: - r2 = raise NameError('value for final name "error_logger_debug" was not set') - if not r2 goto L5 (error at log_request_type_switch:98) else goto L2 :: bool -L2: - unreachable -L3: - r3 = [r0] - r4 = load_address r3 - r5 = _PyObject_Vectorcall(r1, r4, 1, 0) - if is_error(r5) goto L5 (error at log_request_type_switch:98) else goto L6 -L4: - return 1 -L5: - r6 = :: None - return r6 -L6: - dec_ref r5 - goto L4 - -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4, r5 :: object - r6 :: str - r7 :: dict - r8, r9 :: object - r10 :: str - r11 :: dict - r12, r13 :: object - r14 :: str - r15 :: dict - r16, r17 :: object - r18 :: str - r19 :: dict +def coroutine__get_coroutine_fn_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg): + __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine__get_coroutine_fn_gen + type, value, traceback, arg, r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11 :: object + r12, r13 :: tuple[object, object, object] + r14, r15, r16, r17 :: object + r18, r19 :: tuple[object, object, object] r20, r21 :: object - r22 :: str - r23 :: dict - r24 :: object - r25 :: str - r26 :: object - r27 :: bool - r28 :: object[1] - r29 :: object_ptr - r30 :: object - r31 :: dict - r32 :: str - r33 :: i32 - r34 :: bit + r22 :: dank_mids.brownie_patch.call.coroutine__get_coroutine_fn_env + r23 :: int + r24 :: dank_mids.brownie_patch.call._get_coroutine_fn_env + r25 :: object + r26 :: bit + r27 :: union[dict, None] + r28 :: object + r29 :: bit + r30 :: dict + r31 :: native_int + r32 :: short_int + r33 :: bit + r34 :: str r35 :: object - r36 :: bool - r37 :: str - r38 :: object - r39 :: dict - r40 :: str - r41 :: i32 - r42 :: bit - r43 :: object - r44 :: bool - r45 :: str - r46 :: object - r47 :: dict + r36 :: str + r37 :: object + r38 :: object[1] + r39 :: object_ptr + r40, r41 :: object + r42 :: bool + r43 :: str + r44 :: object + r45 :: union[object, None] + r46, r47 :: object r48 :: str - r49 :: i32 - r50 :: bit - r51 :: object - r52 :: bool - r53, r54 :: str - r55 :: object[2] - r56 :: object_ptr - r57 :: object - r58 :: dict - r59 :: str - r60 :: i32 - r61 :: bit - r62 :: object - r63 :: bool - r64 :: str - r65 :: object - r66 :: dict - r67 :: str - r68 :: i32 - r69 :: bit - r70 :: object - r71 :: bool - r72, r73 :: str - r74 :: object[2] - r75 :: object_ptr - r76 :: object - r77 :: dict - r78 :: str - r79 :: i32 - r80 :: bit - r81 :: object - r82 :: bool - r83 :: str - r84 :: object - r85 :: dict - r86 :: str - r87 :: i32 - r88 :: bit - r89 :: object - r90 :: bool - r91 :: str - r92 :: object - r93 :: dict - r94 :: str - r95 :: i32 - r96 :: bit - r97 :: object - r98 :: bool - r99, r100 :: str - r101 :: object[2] - r102 :: object_ptr - r103 :: object - r104 :: dict - r105 :: str - r106 :: i32 - r107 :: bit - r108 :: object - r109 :: bool - r110 :: str - r111 :: object - r112 :: dict - r113 :: str - r114 :: i32 - r115 :: bit - r116, r117, r118, r119, r120 :: str - r121 :: set - r122 :: i32 - r123 :: bit - r124 :: i32 - r125 :: bit - r126 :: i32 - r127 :: bit - r128 :: i32 - r129 :: bit - r130 :: i32 - r131 :: bit - r132 :: dict - r133 :: str - r134 :: i32 - r135 :: bit - r136 :: None -L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool -L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L67 (error at :-1) else goto L2 -L2: - builtins = r4 :: module - dec_ref r4 -L3: - r5 = ('Logger',) - r6 = 'logging' - r7 = dank_mids.helpers._errors.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L67 (error at :1) else goto L4 -L4: - logging = r8 :: module - dec_ref r8 - r9 = ('TYPE_CHECKING', 'Any', 'Final') - r10 = 'typing' - r11 = dank_mids.helpers._errors.globals :: static - r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) - if is_error(r12) goto L67 (error at :2) else goto L5 -L5: - typing = r12 :: module - dec_ref r12 - r13 = ('BadResponse',) - r14 = 'dank_mids._exceptions' - r15 = dank_mids.helpers._errors.globals :: static - r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) - if is_error(r16) goto L67 (error at :4) else goto L6 -L6: - dank_mids._exceptions = r16 :: module - dec_ref r16 - r17 = ('DEBUG', 'getLogger') - r18 = 'dank_mids._logging' - r19 = dank_mids.helpers._errors.globals :: static - r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) - if is_error(r20) goto L67 (error at :5) else goto L7 -L7: - dank_mids._logging = r20 :: module - dec_ref r20 - r21 = ('PartialResponse',) - r22 = 'dank_mids.types' - r23 = dank_mids.helpers._errors.globals :: static - r24 = CPyImport_ImportFromMany(r22, r21, r21, r23) - if is_error(r24) goto L67 (error at :6) else goto L8 -L8: - dank_mids.types = r24 :: module - dec_ref r24 - if 0 goto L9 else goto L9 :: bool -L9: - r25 = 'dank_mids.errors' - r26 = dank_mids._logging.getLogger :: static - if is_error(r26) goto L10 else goto L12 -L10: - r27 = raise NameError('value for final name "getLogger" was not set') - if not r27 goto L67 (error at :12) else goto L11 :: bool -L11: - unreachable -L12: - r28 = [r25] - r29 = load_address r28 - r30 = _PyObject_Vectorcall(r26, r29, 1, 0) - if is_error(r30) goto L67 (error at :12) else goto L13 -L13: - dank_mids.helpers._errors.error_logger = r30 :: static - r31 = dank_mids.helpers._errors.globals :: static - r32 = 'error_logger' - r33 = CPyDict_SetItem(r31, r32, r30) - dec_ref r30 - r34 = r33 >= 0 :: signed - if not r34 goto L67 (error at :12) else goto L14 :: bool -L14: - r35 = dank_mids.helpers._errors.error_logger :: static - if is_error(r35) goto L15 else goto L17 -L15: - r36 = raise NameError('value for final name "error_logger" was not set') - if not r36 goto L67 (error at :13) else goto L16 :: bool -L16: - unreachable -L17: - r37 = 'debug' - r38 = CPyObject_GetAttr(r35, r37) - if is_error(r38) goto L67 (error at :13) else goto L18 -L18: - dank_mids.helpers._errors.error_logger_debug = r38 :: static - r39 = dank_mids.helpers._errors.globals :: static - r40 = 'error_logger_debug' - r41 = CPyDict_SetItem(r39, r40, r38) - dec_ref r38 - r42 = r41 >= 0 :: signed - if not r42 goto L67 (error at :13) else goto L19 :: bool -L19: - r43 = dank_mids.helpers._errors.error_logger :: static - if is_error(r43) goto L20 else goto L22 -L20: - r44 = raise NameError('value for final name "error_logger" was not set') - if not r44 goto L67 (error at :14) else goto L21 :: bool -L21: - unreachable -L22: - r45 = '_log' - r46 = CPyObject_GetAttr(r43, r45) - if is_error(r46) goto L67 (error at :14) else goto L23 -L23: - dank_mids.helpers._errors.error_logger_log = r46 :: static - r47 = dank_mids.helpers._errors.globals :: static - r48 = 'error_logger_log' - r49 = CPyDict_SetItem(r47, r48, r46) - dec_ref r46 - r50 = r49 >= 0 :: signed - if not r50 goto L67 (error at :14) else goto L24 :: bool -L24: - r51 = dank_mids.helpers._errors.error_logger :: static - if is_error(r51) goto L25 else goto L27 -L25: - r52 = raise NameError('value for final name "error_logger" was not set') - if not r52 goto L67 (error at :21) else goto L26 :: bool -L26: - unreachable -L27: - r53 = 'reverts' - r54 = 'getChild' - r55 = [r51, r53] - r56 = load_address r55 - r57 = PyObject_VectorcallMethod(r54, r56, 9223372036854775810, 0) - if is_error(r57) goto L67 (error at :21) else goto L28 -L28: - dank_mids.helpers._errors.revert_logger = r57 :: static - r58 = dank_mids.helpers._errors.globals :: static - r59 = 'revert_logger' - r60 = CPyDict_SetItem(r58, r59, r57) - dec_ref r57 - r61 = r60 >= 0 :: signed - if not r61 goto L67 (error at :21) else goto L29 :: bool -L29: - r62 = dank_mids.helpers._errors.revert_logger :: static - if is_error(r62) goto L30 else goto L32 -L30: - r63 = raise NameError('value for final name "revert_logger" was not set') - if not r63 goto L67 (error at :22) else goto L31 :: bool -L31: - unreachable -L32: - r64 = '_log' - r65 = CPyObject_GetAttr(r62, r64) - if is_error(r65) goto L67 (error at :22) else goto L33 -L33: - dank_mids.helpers._errors.revert_logger_log = r65 :: static - r66 = dank_mids.helpers._errors.globals :: static - r67 = 'revert_logger_log' - r68 = CPyDict_SetItem(r66, r67, r65) - dec_ref r65 - r69 = r68 >= 0 :: signed - if not r69 goto L67 (error at :22) else goto L34 :: bool -L34: - r70 = dank_mids.helpers._errors.error_logger :: static - if is_error(r70) goto L35 else goto L37 -L35: - r71 = raise NameError('value for final name "error_logger" was not set') - if not r71 goto L67 (error at :29) else goto L36 :: bool -L36: - unreachable -L37: - r72 = 'timeouts' - r73 = 'getChild' - r74 = [r70, r72] - r75 = load_address r74 - r76 = PyObject_VectorcallMethod(r73, r75, 9223372036854775810, 0) - if is_error(r76) goto L67 (error at :29) else goto L38 -L38: - dank_mids.helpers._errors.timeout_logger = r76 :: static - r77 = dank_mids.helpers._errors.globals :: static - r78 = 'timeout_logger' - r79 = CPyDict_SetItem(r77, r78, r76) - dec_ref r76 - r80 = r79 >= 0 :: signed - if not r80 goto L67 (error at :29) else goto L39 :: bool -L39: - r81 = dank_mids.helpers._errors.timeout_logger :: static - if is_error(r81) goto L40 else goto L42 -L40: - r82 = raise NameError('value for final name "timeout_logger" was not set') - if not r82 goto L67 (error at :30) else goto L41 :: bool -L41: - unreachable -L42: - r83 = 'debug' - r84 = CPyObject_GetAttr(r81, r83) - if is_error(r84) goto L67 (error at :30) else goto L43 -L43: - dank_mids.helpers._errors.timeout_logger_debug = r84 :: static - r85 = dank_mids.helpers._errors.globals :: static - r86 = 'timeout_logger_debug' - r87 = CPyDict_SetItem(r85, r86, r84) - dec_ref r84 - r88 = r87 >= 0 :: signed - if not r88 goto L67 (error at :30) else goto L44 :: bool -L44: - r89 = dank_mids.helpers._errors.timeout_logger :: static - if is_error(r89) goto L45 else goto L47 -L45: - r90 = raise NameError('value for final name "timeout_logger" was not set') - if not r90 goto L67 (error at :31) else goto L46 :: bool -L46: - unreachable -L47: - r91 = 'warning' - r92 = CPyObject_GetAttr(r89, r91) - if is_error(r92) goto L67 (error at :31) else goto L48 -L48: - dank_mids.helpers._errors.timeout_logger_warning = r92 :: static - r93 = dank_mids.helpers._errors.globals :: static - r94 = 'timeout_logger_warning' - r95 = CPyDict_SetItem(r93, r94, r92) - dec_ref r92 - r96 = r95 >= 0 :: signed - if not r96 goto L67 (error at :31) else goto L49 :: bool -L49: - r97 = dank_mids.helpers._errors.error_logger :: static - if is_error(r97) goto L50 else goto L52 -L50: - r98 = raise NameError('value for final name "error_logger" was not set') - if not r98 goto L67 (error at :34) else goto L51 :: bool -L51: - unreachable -L52: - r99 = 'gas' - r100 = 'getChild' - r101 = [r97, r99] - r102 = load_address r101 - r103 = PyObject_VectorcallMethod(r100, r102, 9223372036854775810, 0) - if is_error(r103) goto L67 (error at :34) else goto L53 -L53: - dank_mids.helpers._errors.gas_logger = r103 :: static - r104 = dank_mids.helpers._errors.globals :: static - r105 = 'gas_logger' - r106 = CPyDict_SetItem(r104, r105, r103) - dec_ref r103 - r107 = r106 >= 0 :: signed - if not r107 goto L67 (error at :34) else goto L54 :: bool -L54: - r108 = dank_mids.helpers._errors.gas_logger :: static - if is_error(r108) goto L55 else goto L57 -L55: - r109 = raise NameError('value for final name "gas_logger" was not set') - if not r109 goto L67 (error at :35) else goto L56 :: bool -L56: - unreachable -L57: - r110 = 'debug' - r111 = CPyObject_GetAttr(r108, r110) - if is_error(r111) goto L67 (error at :35) else goto L58 -L58: - dank_mids.helpers._errors.gas_logger_debug = r111 :: static - r112 = dank_mids.helpers._errors.globals :: static - r113 = 'gas_logger_debug' - r114 = CPyDict_SetItem(r112, r113, r111) - dec_ref r111 - r115 = r114 >= 0 :: signed - if not r115 goto L67 (error at :35) else goto L59 :: bool -L59: - r116 = 'invalid opcode' - r117 = 'missing trie node' - r118 = 'resource not found' - r119 = 'invalid ether transfer' - r120 = 'error processing call revert' - r121 = PySet_New(0) - if is_error(r121) goto L67 (error at :37) else goto L60 -L60: - r122 = PySet_Add(r121, r116) - r123 = r122 >= 0 :: signed - if not r123 goto L68 (error at :37) else goto L61 :: bool -L61: - r124 = PySet_Add(r121, r117) - r125 = r124 >= 0 :: signed - if not r125 goto L68 (error at :37) else goto L62 :: bool -L62: - r126 = PySet_Add(r121, r118) - r127 = r126 >= 0 :: signed - if not r127 goto L68 (error at :37) else goto L63 :: bool -L63: - r128 = PySet_Add(r121, r119) - r129 = r128 >= 0 :: signed - if not r129 goto L68 (error at :37) else goto L64 :: bool -L64: - r130 = PySet_Add(r121, r120) - r131 = r130 >= 0 :: signed - if not r131 goto L68 (error at :37) else goto L65 :: bool -L65: - dank_mids.helpers._errors.INDIVIDUAL_CALL_REVERT_STRINGS = r121 :: static - r132 = dank_mids.helpers._errors.globals :: static - r133 = 'INDIVIDUAL_CALL_REVERT_STRINGS' - r134 = CPyDict_SetItem(r132, r133, r121) - dec_ref r121 - r135 = r134 >= 0 :: signed - if not r135 goto L67 (error at :37) else goto L66 :: bool -L66: - return 1 -L67: - r136 = :: None - return r136 -L68: - dec_ref r121 - goto L67 - -def patch_eth_utils(): - r0 :: dict - r1, r2 :: object - r3 :: bit - r4 :: str - r5 :: object - r6 :: str - r7 :: dict - r8 :: str - r9 :: object - r10 :: i32 - r11 :: bit - r12 :: dict - r13 :: str - r14 :: object - r15 :: dict - r16 :: str - r17 :: object - r18 :: str - r19 :: object - r20 :: str - r21 :: i32 - r22 :: bit - r23 :: dict - r24, r25 :: object - r26 :: bit - r27 :: str - r28 :: object - r29 :: str - r30 :: dict - r31 :: str - r32 :: object - r33 :: i32 - r34 :: bit - r35 :: dict - r36 :: str - r37 :: object - r38 :: dict - r39 :: str - r40 :: object - r41 :: str - r42 :: object - r43 :: str - r44 :: i32 - r45 :: bit - r46 :: dict - r47 :: str - r48 :: object - r49 :: dict - r50 :: str - r51 :: object - r52 :: str - r53 :: object - r54 :: str - r55 :: i32 - r56 :: bit - r57 :: dict - r58, r59 :: object - r60 :: bit - r61 :: str - r62 :: object - r63 :: str - r64 :: dict - r65 :: str - r66 :: object - r67 :: i32 - r68 :: bit - r69 :: dict - r70 :: str - r71 :: object - r72 :: dict - r73 :: str - r74 :: object - r75 :: str - r76 :: object - r77 :: str - r78 :: object - r79 :: str - r80 :: i32 - r81 :: bit - r82 :: dict - r83, r84 :: object - r85 :: bit - r86 :: str - r87 :: object - r88 :: str - r89 :: dict - r90 :: str - r91 :: object - r92 :: i32 - r93 :: bit - r94 :: dict - r95 :: str - r96 :: object - r97 :: dict - r98 :: str - r99 :: object - r100 :: str - r101 :: object - r102 :: str - r103 :: object - r104 :: str - r105 :: i32 - r106 :: bit - r107 :: dict - r108, r109 :: object - r110 :: bit - r111 :: str - r112 :: object - r113 :: str - r114 :: dict - r115 :: str - r116 :: object - r117 :: i32 - r118 :: bit - r119 :: dict - r120 :: str - r121 :: object - r122 :: dict - r123 :: str - r124 :: object - r125 :: str - r126 :: object - r127 :: str - r128 :: object - r129 :: str - r130 :: i32 - r131 :: bit - r132 :: dict - r133 :: str - r134 :: object - r135 :: dict - r136 :: str - r137 :: object - r138 :: str - r139 :: object - r140 :: str - r141 :: object - r142 :: str - r143 :: i32 - r144 :: bit - r145 :: dict - r146, r147 :: object - r148 :: bit - r149 :: str - r150 :: object - r151 :: str - r152 :: dict - r153 :: str - r154 :: object - r155 :: i32 - r156 :: bit - r157 :: dict - r158 :: str - r159 :: object - r160 :: dict - r161 :: str - r162 :: object - r163 :: str - r164 :: object - r165 :: str - r166 :: object - r167 :: str - r168 :: i32 - r169 :: bit - r170 :: dict - r171 :: str - r172 :: object - r173 :: dict - r174 :: str - r175 :: object - r176 :: str - r177 :: object - r178 :: str - r179 :: object - r180 :: str - r181 :: i32 - r182 :: bit - r183 :: dict - r184, r185 :: object - r186 :: bit - r187 :: str - r188 :: object - r189 :: str - r190 :: dict - r191 :: str - r192 :: object - r193 :: i32 - r194 :: bit - r195 :: dict - r196 :: str - r197 :: object - r198 :: dict - r199 :: str - r200 :: object - r201 :: str - r202 :: object - r203 :: str - r204 :: object - r205 :: str - r206 :: i32 - r207 :: bit - r208 :: dict - r209 :: str - r210 :: object - r211 :: dict - r212 :: str - r213 :: object - r214 :: str - r215 :: object - r216 :: str - r217 :: object - r218 :: str - r219 :: i32 - r220 :: bit - r221 :: dict - r222, r223 :: object - r224 :: bit - r225 :: str - r226 :: object - r227 :: str - r228 :: dict - r229 :: str - r230 :: object - r231 :: i32 - r232 :: bit - r233 :: tuple[object, object, object] - r234 :: object - r235 :: str - r236 :: object - r237, r238 :: bit - r239 :: dict - r240 :: str - r241 :: object - r242 :: dict - r243 :: str - r244 :: object - r245 :: str - r246 :: object - r247 :: str - r248 :: object - r249 :: str - r250 :: i32 - r251 :: bit - r252 :: dict - r253 :: str - r254 :: object - r255 :: dict - r256 :: str - r257 :: object - r258 :: str - r259 :: object - r260 :: str - r261 :: object - r262 :: str - r263 :: i32 - r264 :: bit - r265 :: None -L0: - r0 = dank_mids._eth_utils.globals :: static - r1 = eth_utils.crypto :: module - r2 = load_address _Py_NoneStruct - r3 = r1 != r2 - if r3 goto L3 else goto L1 :: bool -L1: - r4 = 'eth_utils.crypto' - r5 = PyImport_Import(r4) - if is_error(r5) goto L110 (error at patch_eth_utils:25) else goto L2 -L2: - eth_utils.crypto = r5 :: module - dec_ref r5 -L3: - r6 = 'eth_utils' - r7 = PyImport_GetModuleDict() - r8 = 'eth_utils' - r9 = CPyDict_GetItem(r7, r8) - if is_error(r9) goto L110 (error at patch_eth_utils:25) else goto L4 -L4: - r10 = CPyDict_SetItem(r0, r6, r9) - dec_ref r9 - r11 = r10 >= 0 :: signed - if not r11 goto L110 (error at patch_eth_utils:25) else goto L5 :: bool -L5: - r12 = dank_mids._eth_utils.globals :: static - r13 = 'to_bytes' - r14 = CPyDict_GetItem(r12, r13) - if is_error(r14) goto L110 (error at patch_eth_utils:27) else goto L6 -L6: - r15 = dank_mids._eth_utils.globals :: static - r16 = 'eth_utils' - r17 = CPyDict_GetItem(r15, r16) - if is_error(r17) goto L111 (error at patch_eth_utils:27) else goto L7 -L7: - r18 = 'crypto' - r19 = CPyObject_GetAttr(r17, r18) - dec_ref r17 - if is_error(r19) goto L111 (error at patch_eth_utils:27) else goto L8 -L8: - r20 = 'to_bytes' - r21 = PyObject_SetAttr(r19, r20, r14) - dec_ref r19 - dec_ref r14 - r22 = r21 >= 0 :: signed - if not r22 goto L110 (error at patch_eth_utils:27) else goto L9 :: bool -L9: - r23 = dank_mids._eth_utils.globals :: static - r24 = web3.main :: module - r25 = load_address _Py_NoneStruct - r26 = r24 != r25 - if r26 goto L12 else goto L10 :: bool -L10: - r27 = 'web3.main' - r28 = PyImport_Import(r27) - if is_error(r28) goto L110 (error at patch_eth_utils:29) else goto L11 -L11: - web3.main = r28 :: module - dec_ref r28 -L12: - r29 = 'web3' - r30 = PyImport_GetModuleDict() - r31 = 'web3' - r32 = CPyDict_GetItem(r30, r31) - if is_error(r32) goto L110 (error at patch_eth_utils:29) else goto L13 -L13: - r33 = CPyDict_SetItem(r23, r29, r32) - dec_ref r32 - r34 = r33 >= 0 :: signed - if not r34 goto L110 (error at patch_eth_utils:29) else goto L14 :: bool -L14: - r35 = dank_mids._eth_utils.globals :: static - r36 = 'to_hex' - r37 = CPyDict_GetItem(r35, r36) - if is_error(r37) goto L110 (error at patch_eth_utils:31) else goto L15 -L15: - r38 = dank_mids._eth_utils.globals :: static - r39 = 'web3' - r40 = CPyDict_GetItem(r38, r39) - if is_error(r40) goto L112 (error at patch_eth_utils:31) else goto L16 -L16: - r41 = 'main' - r42 = CPyObject_GetAttr(r40, r41) - dec_ref r40 - if is_error(r42) goto L112 (error at patch_eth_utils:31) else goto L17 -L17: - r43 = 'to_hex' - r44 = PyObject_SetAttr(r42, r43, r37) - dec_ref r42 - dec_ref r37 - r45 = r44 >= 0 :: signed - if not r45 goto L110 (error at patch_eth_utils:31) else goto L18 :: bool -L18: - r46 = dank_mids._eth_utils.globals :: static - r47 = 'to_bytes' - r48 = CPyDict_GetItem(r46, r47) - if is_error(r48) goto L110 (error at patch_eth_utils:32) else goto L19 -L19: - r49 = dank_mids._eth_utils.globals :: static - r50 = 'web3' - r51 = CPyDict_GetItem(r49, r50) - if is_error(r51) goto L113 (error at patch_eth_utils:32) else goto L20 -L20: - r52 = 'main' - r53 = CPyObject_GetAttr(r51, r52) - dec_ref r51 - if is_error(r53) goto L113 (error at patch_eth_utils:32) else goto L21 -L21: - r54 = 'to_bytes' - r55 = PyObject_SetAttr(r53, r54, r48) - dec_ref r53 - dec_ref r48 - r56 = r55 >= 0 :: signed - if not r56 goto L110 (error at patch_eth_utils:32) else goto L22 :: bool -L22: - r57 = dank_mids._eth_utils.globals :: static - r58 = web3.middleware.filter :: module - r59 = load_address _Py_NoneStruct - r60 = r58 != r59 - if r60 goto L25 else goto L23 :: bool -L23: - r61 = 'web3.middleware.filter' - r62 = PyImport_Import(r61) - if is_error(r62) goto L110 (error at patch_eth_utils:34) else goto L24 -L24: - web3.middleware.filter = r62 :: module - dec_ref r62 -L25: - r63 = 'web3' - r64 = PyImport_GetModuleDict() - r65 = 'web3' - r66 = CPyDict_GetItem(r64, r65) - if is_error(r66) goto L110 (error at patch_eth_utils:34) else goto L26 -L26: - r67 = CPyDict_SetItem(r57, r63, r66) - dec_ref r66 - r68 = r67 >= 0 :: signed - if not r68 goto L110 (error at patch_eth_utils:34) else goto L27 :: bool -L27: - r69 = dank_mids._eth_utils.globals :: static - r70 = 'to_hex' - r71 = CPyDict_GetItem(r69, r70) - if is_error(r71) goto L110 (error at patch_eth_utils:36) else goto L28 -L28: - r72 = dank_mids._eth_utils.globals :: static - r73 = 'web3' - r74 = CPyDict_GetItem(r72, r73) - if is_error(r74) goto L114 (error at patch_eth_utils:36) else goto L29 -L29: - r75 = 'middleware' - r76 = CPyObject_GetAttr(r74, r75) - dec_ref r74 - if is_error(r76) goto L114 (error at patch_eth_utils:36) else goto L30 -L30: - r77 = 'filter' - r78 = CPyObject_GetAttr(r76, r77) - dec_ref r76 - if is_error(r78) goto L114 (error at patch_eth_utils:36) else goto L31 -L31: - r79 = 'to_hex' - r80 = PyObject_SetAttr(r78, r79, r71) - dec_ref r78 - dec_ref r71 - r81 = r80 >= 0 :: signed - if not r81 goto L110 (error at patch_eth_utils:36) else goto L32 :: bool -L32: - r82 = dank_mids._eth_utils.globals :: static - r83 = web3.providers.base :: module - r84 = load_address _Py_NoneStruct - r85 = r83 != r84 - if r85 goto L35 else goto L33 :: bool -L33: - r86 = 'web3.providers.base' - r87 = PyImport_Import(r86) - if is_error(r87) goto L110 (error at patch_eth_utils:38) else goto L34 -L34: - web3.providers.base = r87 :: module - dec_ref r87 -L35: - r88 = 'web3' - r89 = PyImport_GetModuleDict() - r90 = 'web3' - r91 = CPyDict_GetItem(r89, r90) - if is_error(r91) goto L110 (error at patch_eth_utils:38) else goto L36 -L36: - r92 = CPyDict_SetItem(r82, r88, r91) - dec_ref r91 - r93 = r92 >= 0 :: signed - if not r93 goto L110 (error at patch_eth_utils:38) else goto L37 :: bool -L37: - r94 = dank_mids._eth_utils.globals :: static - r95 = 'to_bytes' - r96 = CPyDict_GetItem(r94, r95) - if is_error(r96) goto L110 (error at patch_eth_utils:40) else goto L38 -L38: - r97 = dank_mids._eth_utils.globals :: static - r98 = 'web3' - r99 = CPyDict_GetItem(r97, r98) - if is_error(r99) goto L115 (error at patch_eth_utils:40) else goto L39 -L39: - r100 = 'providers' - r101 = CPyObject_GetAttr(r99, r100) - dec_ref r99 - if is_error(r101) goto L115 (error at patch_eth_utils:40) else goto L40 -L40: - r102 = 'base' - r103 = CPyObject_GetAttr(r101, r102) - dec_ref r101 - if is_error(r103) goto L115 (error at patch_eth_utils:40) else goto L41 -L41: - r104 = 'to_bytes' - r105 = PyObject_SetAttr(r103, r104, r96) - dec_ref r103 - dec_ref r96 - r106 = r105 >= 0 :: signed - if not r106 goto L110 (error at patch_eth_utils:40) else goto L42 :: bool -L42: - r107 = dank_mids._eth_utils.globals :: static - r108 = web3._utils.encoding :: module - r109 = load_address _Py_NoneStruct - r110 = r108 != r109 - if r110 goto L45 else goto L43 :: bool -L43: - r111 = 'web3._utils.encoding' - r112 = PyImport_Import(r111) - if is_error(r112) goto L110 (error at patch_eth_utils:42) else goto L44 -L44: - web3._utils.encoding = r112 :: module - dec_ref r112 -L45: - r113 = 'web3' - r114 = PyImport_GetModuleDict() - r115 = 'web3' - r116 = CPyDict_GetItem(r114, r115) - if is_error(r116) goto L110 (error at patch_eth_utils:42) else goto L46 -L46: - r117 = CPyDict_SetItem(r107, r113, r116) - dec_ref r116 - r118 = r117 >= 0 :: signed - if not r118 goto L110 (error at patch_eth_utils:42) else goto L47 :: bool -L47: - r119 = dank_mids._eth_utils.globals :: static - r120 = 'to_hex' - r121 = CPyDict_GetItem(r119, r120) - if is_error(r121) goto L110 (error at patch_eth_utils:44) else goto L48 -L48: - r122 = dank_mids._eth_utils.globals :: static - r123 = 'web3' - r124 = CPyDict_GetItem(r122, r123) - if is_error(r124) goto L116 (error at patch_eth_utils:44) else goto L49 -L49: - r125 = '_utils' - r126 = CPyObject_GetAttr(r124, r125) - dec_ref r124 - if is_error(r126) goto L116 (error at patch_eth_utils:44) else goto L50 -L50: - r127 = 'encoding' - r128 = CPyObject_GetAttr(r126, r127) - dec_ref r126 - if is_error(r128) goto L116 (error at patch_eth_utils:44) else goto L51 -L51: - r129 = 'to_hex' - r130 = PyObject_SetAttr(r128, r129, r121) - dec_ref r128 - dec_ref r121 - r131 = r130 >= 0 :: signed - if not r131 goto L110 (error at patch_eth_utils:44) else goto L52 :: bool -L52: - r132 = dank_mids._eth_utils.globals :: static - r133 = 'to_bytes' - r134 = CPyDict_GetItem(r132, r133) - if is_error(r134) goto L110 (error at patch_eth_utils:45) else goto L53 -L53: - r135 = dank_mids._eth_utils.globals :: static - r136 = 'web3' - r137 = CPyDict_GetItem(r135, r136) - if is_error(r137) goto L117 (error at patch_eth_utils:45) else goto L54 -L54: - r138 = '_utils' - r139 = CPyObject_GetAttr(r137, r138) - dec_ref r137 - if is_error(r139) goto L117 (error at patch_eth_utils:45) else goto L55 -L55: - r140 = 'encoding' - r141 = CPyObject_GetAttr(r139, r140) - dec_ref r139 - if is_error(r141) goto L117 (error at patch_eth_utils:45) else goto L56 -L56: - r142 = 'to_bytes' - r143 = PyObject_SetAttr(r141, r142, r134) - dec_ref r141 - dec_ref r134 - r144 = r143 >= 0 :: signed - if not r144 goto L110 (error at patch_eth_utils:45) else goto L57 :: bool -L57: - r145 = dank_mids._eth_utils.globals :: static - r146 = web3._utils.events :: module - r147 = load_address _Py_NoneStruct - r148 = r146 != r147 - if r148 goto L60 else goto L58 :: bool -L58: - r149 = 'web3._utils.events' - r150 = PyImport_Import(r149) - if is_error(r150) goto L110 (error at patch_eth_utils:47) else goto L59 -L59: - web3._utils.events = r150 :: module - dec_ref r150 -L60: - r151 = 'web3' - r152 = PyImport_GetModuleDict() - r153 = 'web3' - r154 = CPyDict_GetItem(r152, r153) - if is_error(r154) goto L110 (error at patch_eth_utils:47) else goto L61 -L61: - r155 = CPyDict_SetItem(r145, r151, r154) - dec_ref r154 - r156 = r155 >= 0 :: signed - if not r156 goto L110 (error at patch_eth_utils:47) else goto L62 :: bool -L62: - r157 = dank_mids._eth_utils.globals :: static - r158 = 'to_hex' - r159 = CPyDict_GetItem(r157, r158) - if is_error(r159) goto L110 (error at patch_eth_utils:49) else goto L63 -L63: - r160 = dank_mids._eth_utils.globals :: static - r161 = 'web3' - r162 = CPyDict_GetItem(r160, r161) - if is_error(r162) goto L118 (error at patch_eth_utils:49) else goto L64 -L64: - r163 = '_utils' - r164 = CPyObject_GetAttr(r162, r163) - dec_ref r162 - if is_error(r164) goto L118 (error at patch_eth_utils:49) else goto L65 -L65: - r165 = 'events' - r166 = CPyObject_GetAttr(r164, r165) - dec_ref r164 - if is_error(r166) goto L118 (error at patch_eth_utils:49) else goto L66 -L66: - r167 = 'to_hex' - r168 = PyObject_SetAttr(r166, r167, r159) - dec_ref r166 - dec_ref r159 - r169 = r168 >= 0 :: signed - if not r169 goto L110 (error at patch_eth_utils:49) else goto L67 :: bool -L67: - r170 = dank_mids._eth_utils.globals :: static - r171 = 'to_bytes' - r172 = CPyDict_GetItem(r170, r171) - if is_error(r172) goto L110 (error at patch_eth_utils:50) else goto L68 -L68: - r173 = dank_mids._eth_utils.globals :: static - r174 = 'web3' - r175 = CPyDict_GetItem(r173, r174) - if is_error(r175) goto L119 (error at patch_eth_utils:50) else goto L69 -L69: - r176 = '_utils' - r177 = CPyObject_GetAttr(r175, r176) - dec_ref r175 - if is_error(r177) goto L119 (error at patch_eth_utils:50) else goto L70 -L70: - r178 = 'events' - r179 = CPyObject_GetAttr(r177, r178) - dec_ref r177 - if is_error(r179) goto L119 (error at patch_eth_utils:50) else goto L71 -L71: - r180 = 'to_bytes' - r181 = PyObject_SetAttr(r179, r180, r172) - dec_ref r179 - dec_ref r172 - r182 = r181 >= 0 :: signed - if not r182 goto L110 (error at patch_eth_utils:50) else goto L72 :: bool -L72: - r183 = dank_mids._eth_utils.globals :: static - r184 = web3._utils.normalizers :: module - r185 = load_address _Py_NoneStruct - r186 = r184 != r185 - if r186 goto L75 else goto L73 :: bool -L73: - r187 = 'web3._utils.normalizers' - r188 = PyImport_Import(r187) - if is_error(r188) goto L110 (error at patch_eth_utils:52) else goto L74 -L74: - web3._utils.normalizers = r188 :: module - dec_ref r188 -L75: - r189 = 'web3' - r190 = PyImport_GetModuleDict() - r191 = 'web3' - r192 = CPyDict_GetItem(r190, r191) - if is_error(r192) goto L110 (error at patch_eth_utils:52) else goto L76 -L76: - r193 = CPyDict_SetItem(r183, r189, r192) - dec_ref r192 - r194 = r193 >= 0 :: signed - if not r194 goto L110 (error at patch_eth_utils:52) else goto L77 :: bool -L77: - r195 = dank_mids._eth_utils.globals :: static - r196 = 'to_hex' - r197 = CPyDict_GetItem(r195, r196) - if is_error(r197) goto L110 (error at patch_eth_utils:54) else goto L78 -L78: - r198 = dank_mids._eth_utils.globals :: static - r199 = 'web3' - r200 = CPyDict_GetItem(r198, r199) - if is_error(r200) goto L120 (error at patch_eth_utils:54) else goto L79 -L79: - r201 = '_utils' - r202 = CPyObject_GetAttr(r200, r201) - dec_ref r200 - if is_error(r202) goto L120 (error at patch_eth_utils:54) else goto L80 -L80: - r203 = 'normalizers' - r204 = CPyObject_GetAttr(r202, r203) - dec_ref r202 - if is_error(r204) goto L120 (error at patch_eth_utils:54) else goto L81 -L81: - r205 = 'to_hex' - r206 = PyObject_SetAttr(r204, r205, r197) - dec_ref r204 - dec_ref r197 - r207 = r206 >= 0 :: signed - if not r207 goto L110 (error at patch_eth_utils:54) else goto L82 :: bool -L82: - r208 = dank_mids._eth_utils.globals :: static - r209 = 'to_bytes' - r210 = CPyDict_GetItem(r208, r209) - if is_error(r210) goto L110 (error at patch_eth_utils:55) else goto L83 -L83: - r211 = dank_mids._eth_utils.globals :: static - r212 = 'web3' - r213 = CPyDict_GetItem(r211, r212) - if is_error(r213) goto L121 (error at patch_eth_utils:55) else goto L84 -L84: - r214 = '_utils' - r215 = CPyObject_GetAttr(r213, r214) - dec_ref r213 - if is_error(r215) goto L121 (error at patch_eth_utils:55) else goto L85 -L85: - r216 = 'normalizers' - r217 = CPyObject_GetAttr(r215, r216) - dec_ref r215 - if is_error(r217) goto L121 (error at patch_eth_utils:55) else goto L86 -L86: - r218 = 'to_bytes' - r219 = PyObject_SetAttr(r217, r218, r210) - dec_ref r217 - dec_ref r210 - r220 = r219 >= 0 :: signed - if not r220 goto L110 (error at patch_eth_utils:55) else goto L87 :: bool -L87: - r221 = dank_mids._eth_utils.globals :: static - r222 = web3._utils.type_conversion :: module - r223 = load_address _Py_NoneStruct - r224 = r222 != r223 - if r224 goto L90 else goto L88 :: bool -L88: - r225 = 'web3._utils.type_conversion' - r226 = PyImport_Import(r225) - if is_error(r226) goto L92 (error at patch_eth_utils:59) else goto L89 -L89: - web3._utils.type_conversion = r226 :: module - dec_ref r226 -L90: - r227 = 'web3' - r228 = PyImport_GetModuleDict() - r229 = 'web3' - r230 = CPyDict_GetItem(r228, r229) - if is_error(r230) goto L92 (error at patch_eth_utils:59) else goto L91 -L91: - r231 = CPyDict_SetItem(r221, r227, r230) - dec_ref r230 - r232 = r231 >= 0 :: signed - if not r232 goto L92 (error at patch_eth_utils:59) else goto L99 :: bool -L92: - r233 = CPy_CatchError() - r234 = builtins :: module - r235 = 'ModuleNotFoundError' - r236 = CPyObject_GetAttr(r234, r235) - if is_error(r236) goto L97 (error at patch_eth_utils:60) else goto L93 -L93: - r237 = CPy_ExceptionMatches(r236) - dec_ref r236 - if r237 goto L96 else goto L94 :: bool -L94: - CPy_Reraise() - if not 0 goto L97 else goto L122 :: bool -L95: - unreachable -L96: - CPy_RestoreExcInfo(r233) - dec_ref r233 - goto L109 -L97: - CPy_RestoreExcInfo(r233) - dec_ref r233 - r238 = CPy_KeepPropagating() - if not r238 goto L110 else goto L98 :: bool -L98: - unreachable -L99: - r239 = dank_mids._eth_utils.globals :: static - r240 = 'to_hex' - r241 = CPyDict_GetItem(r239, r240) - if is_error(r241) goto L110 (error at patch_eth_utils:63) else goto L100 -L100: - r242 = dank_mids._eth_utils.globals :: static - r243 = 'web3' - r244 = CPyDict_GetItem(r242, r243) - if is_error(r244) goto L123 (error at patch_eth_utils:63) else goto L101 -L101: - r245 = '_utils' - r246 = CPyObject_GetAttr(r244, r245) - dec_ref r244 - if is_error(r246) goto L123 (error at patch_eth_utils:63) else goto L102 -L102: - r247 = 'type_conversion' - r248 = CPyObject_GetAttr(r246, r247) - dec_ref r246 - if is_error(r248) goto L123 (error at patch_eth_utils:63) else goto L103 -L103: - r249 = 'to_hex' - r250 = PyObject_SetAttr(r248, r249, r241) - dec_ref r248 - dec_ref r241 - r251 = r250 >= 0 :: signed - if not r251 goto L110 (error at patch_eth_utils:63) else goto L104 :: bool -L104: - r252 = dank_mids._eth_utils.globals :: static - r253 = 'to_bytes' - r254 = CPyDict_GetItem(r252, r253) - if is_error(r254) goto L110 (error at patch_eth_utils:64) else goto L105 -L105: - r255 = dank_mids._eth_utils.globals :: static - r256 = 'web3' - r257 = CPyDict_GetItem(r255, r256) - if is_error(r257) goto L124 (error at patch_eth_utils:64) else goto L106 -L106: - r258 = '_utils' - r259 = CPyObject_GetAttr(r257, r258) - dec_ref r257 - if is_error(r259) goto L124 (error at patch_eth_utils:64) else goto L107 -L107: - r260 = 'type_conversion' - r261 = CPyObject_GetAttr(r259, r260) - dec_ref r259 - if is_error(r261) goto L124 (error at patch_eth_utils:64) else goto L108 -L108: - r262 = 'to_bytes' - r263 = PyObject_SetAttr(r261, r262, r254) - dec_ref r261 - dec_ref r254 - r264 = r263 >= 0 :: signed - if not r264 goto L110 (error at patch_eth_utils:64) else goto L109 :: bool -L109: - return 1 -L110: - r265 = :: None - return r265 -L111: - dec_ref r14 - goto L110 -L112: - dec_ref r37 - goto L110 -L113: - dec_ref r48 - goto L110 -L114: - dec_ref r71 - goto L110 -L115: - dec_ref r96 - goto L110 -L116: - dec_ref r121 - goto L110 -L117: - dec_ref r134 - goto L110 -L118: - dec_ref r159 - goto L110 -L119: - dec_ref r172 - goto L110 -L120: - dec_ref r197 - goto L110 -L121: - dec_ref r210 - goto L110 -L122: - dec_ref r233 - goto L95 -L123: - dec_ref r241 - goto L110 -L124: - dec_ref r254 - goto L110 - -def to_hex(primitive, hexstr, text): - primitive, hexstr :: union[object, None] - text :: union[str, None] - r0, r1, r2, r3 :: object - r4 :: bit - r5 :: object - r6 :: str - r7 :: object[1] - r8 :: object_ptr - r9, r10, r11 :: object - r12 :: bit - r13 :: str - r14 :: bytes - r15, r16 :: object - r17 :: i32 - r18 :: bit - r19, r20 :: bool - r21, r22, r23 :: str - r24, r25 :: object - r26 :: str - r27 :: object - r28 :: tuple[object, object] - r29 :: object - r30 :: i32 - r31 :: bit - r32 :: bool - r33, r34 :: object - r35 :: str - r36 :: object - r37 :: i32 - r38 :: bit - r39 :: bool - r40 :: object - r41 :: object[1] - r42 :: object_ptr - r43 :: object - r44 :: bytes - r45, r46 :: object - r47 :: i32 - r48 :: bit - r49 :: bool - r50 :: str - r51 :: object - r52 :: str - r53 :: object - r54 :: object[1] - r55 :: object_ptr - r56, r57 :: object - r58 :: i32 - r59 :: bit - r60 :: bool - r61 :: int - r62 :: object - r63 :: str - r64, r65 :: object - r66 :: object[1] - r67 :: object_ptr - r68 :: object - r69, r70 :: str - r71, r72 :: object - r73 :: str - r74 :: object - r75 :: object[1] - r76 :: object_ptr - r77 :: object - r78, r79, r80 :: str - r81 :: object - r82 :: str - r83 :: object - r84 :: object[1] - r85 :: object_ptr - r86, r87 :: object -L0: - if is_error(primitive) goto L1 else goto L57 -L1: - r0 = box(None, 1) - inc_ref r0 - primitive = r0 -L2: - if is_error(hexstr) goto L3 else goto L58 -L3: - r1 = box(None, 1) - inc_ref r1 - hexstr = r1 -L4: - if is_error(text) goto L5 else goto L59 -L5: - r2 = box(None, 1) - inc_ref r2 - text = r2 -L6: - r3 = load_address _Py_NoneStruct - r4 = hexstr != r3 - if r4 goto L60 else goto L61 :: bool -L7: - r5 = hexstr - r6 = 'lower' - r7 = [r5] - r8 = load_address r7 - r9 = PyObject_VectorcallMethod(r6, r8, 9223372036854775809, 0) - if is_error(r9) goto L62 (error at to_hex:78) else goto L8 -L8: - dec_ref r5 -L9: - r10 = add_0x_prefix(r9) - dec_ref r9 - if is_error(r10) goto L56 (error at to_hex:78) else goto L10 -L10: - return r10 -L11: - r11 = load_address _Py_NoneStruct - r12 = text != r11 - if r12 goto L63 else goto L64 :: bool -L12: - r13 = cast(str, text) - if is_error(r13) goto L56 (error at to_hex:81) else goto L13 -L13: - r14 = PyUnicode_AsUTF8String(r13) - dec_ref r13 - if is_error(r14) goto L56 (error at to_hex:81) else goto L14 -L14: - r15 = encode_hex(r14) - dec_ref r14 - if is_error(r15) goto L56 (error at to_hex:81) else goto L15 -L15: - return r15 -L16: - r16 = load_address PyBool_Type - r17 = PyObject_IsInstance(primitive, r16) - r18 = r17 >= 0 :: signed - if not r18 goto L65 (error at to_hex:83) else goto L17 :: bool -L17: - r19 = truncate r17: i32 to builtins.bool - if r19 goto L18 else goto L23 :: bool -L18: - r20 = unbox(bool, primitive) - dec_ref primitive - if is_error(r20) goto L56 (error at to_hex:84) else goto L19 -L19: - if r20 goto L20 else goto L21 :: bool -L20: - r21 = '0x1' - inc_ref r21 - r22 = r21 - goto L22 -L21: - r23 = '0x0' - inc_ref r23 - r22 = r23 -L22: - return r22 -L23: - r24 = load_address PyBytes_Type - r25 = builtins :: module - r26 = 'bytearray' - r27 = CPyObject_GetAttr(r25, r26) - if is_error(r27) goto L65 (error at to_hex:86) else goto L24 -L24: - inc_ref r24 - r28 = (r24, r27) - r29 = box(tuple[object, object], r28) - r30 = PyObject_IsInstance(primitive, r29) - dec_ref r29 - r31 = r30 >= 0 :: signed - if not r31 goto L65 (error at to_hex:86) else goto L25 :: bool -L25: - r32 = truncate r30: i32 to builtins.bool - if r32 goto L26 else goto L28 :: bool -L26: - r33 = encode_hex(primitive) - dec_ref primitive - if is_error(r33) goto L56 (error at to_hex:87) else goto L27 -L27: - return r33 -L28: - r34 = builtins :: module - r35 = 'memoryview' - r36 = CPyObject_GetAttr(r34, r35) - if is_error(r36) goto L65 (error at to_hex:89) else goto L29 -L29: - r37 = PyObject_IsInstance(primitive, r36) - dec_ref r36 - r38 = r37 >= 0 :: signed - if not r38 goto L65 (error at to_hex:89) else goto L30 :: bool -L30: - r39 = truncate r37: i32 to builtins.bool - if r39 goto L31 else goto L35 :: bool -L31: - r40 = load_address PyBytes_Type - r41 = [primitive] - r42 = load_address r41 - r43 = _PyObject_Vectorcall(r40, r42, 1, 0) - if is_error(r43) goto L65 (error at to_hex:90) else goto L32 -L32: - dec_ref primitive - r44 = cast(bytes, r43) - if is_error(r44) goto L56 (error at to_hex:90) else goto L33 -L33: - r45 = encode_hex(r44) - dec_ref r44 - if is_error(r45) goto L56 (error at to_hex:90) else goto L34 -L34: - return r45 -L35: - r46 = load_address PyUnicode_Type - r47 = PyObject_IsInstance(primitive, r46) - r48 = r47 >= 0 :: signed - if not r48 goto L65 (error at to_hex:92) else goto L36 :: bool -L36: - r49 = truncate r47: i32 to builtins.bool - if r49 goto L66 else goto L41 :: bool -L37: - r50 = 'Unsupported type: The primitive argument must be one of: bytes,bytearray, int or bool and not str' - r51 = builtins :: module - r52 = 'TypeError' - r53 = CPyObject_GetAttr(r51, r52) - if is_error(r53) goto L56 (error at to_hex:93) else goto L38 -L38: - r54 = [r50] - r55 = load_address r54 - r56 = _PyObject_Vectorcall(r53, r55, 1, 0) - dec_ref r53 - if is_error(r56) goto L56 (error at to_hex:93) else goto L39 -L39: - CPy_Raise(r56) - dec_ref r56 - if not 0 goto L56 (error at to_hex:93) else goto L40 :: bool -L40: - unreachable -L41: - r57 = load_address PyLong_Type - r58 = PyObject_IsInstance(primitive, r57) - r59 = r58 >= 0 :: signed - if not r59 goto L65 (error at to_hex:98) else goto L42 :: bool -L42: - r60 = truncate r58: i32 to builtins.bool - if r60 goto L43 else goto L48 :: bool -L43: - r61 = unbox(int, primitive) - dec_ref primitive - if is_error(r61) goto L56 (error at to_hex:99) else goto L44 -L44: - r62 = builtins :: module - r63 = 'hex' - r64 = CPyObject_GetAttr(r62, r63) - if is_error(r64) goto L67 (error at to_hex:99) else goto L45 -L45: - r65 = box(int, r61) - r66 = [r65] - r67 = load_address r66 - r68 = _PyObject_Vectorcall(r64, r67, 1, 0) - dec_ref r64 - if is_error(r68) goto L68 (error at to_hex:99) else goto L46 -L46: - dec_ref r65 - r69 = cast(str, r68) - if is_error(r69) goto L56 (error at to_hex:99) else goto L47 -L47: - return r69 -L48: - r70 = "Unsupported type: '" - r71 = PyObject_Type(primitive) - dec_ref primitive - r72 = builtins :: module - r73 = 'repr' - r74 = CPyObject_GetAttr(r72, r73) - if is_error(r74) goto L69 (error at to_hex:102) else goto L49 -L49: - r75 = [r71] - r76 = load_address r75 - r77 = _PyObject_Vectorcall(r74, r76, 1, 0) - dec_ref r74 - if is_error(r77) goto L69 (error at to_hex:102) else goto L50 -L50: - dec_ref r71 - r78 = cast(str, r77) - if is_error(r78) goto L56 (error at to_hex:102) else goto L51 -L51: - r79 = "'. Must be one of: bool, str, bytes, bytearray or int." - r80 = CPyStr_Build(3, r70, r78, r79) - dec_ref r78 - if is_error(r80) goto L56 (error at to_hex:102) else goto L52 -L52: - r81 = builtins :: module - r82 = 'TypeError' - r83 = CPyObject_GetAttr(r81, r82) - if is_error(r83) goto L70 (error at to_hex:101) else goto L53 -L53: - r84 = [r80] - r85 = load_address r84 - r86 = _PyObject_Vectorcall(r83, r85, 1, 0) - dec_ref r83 - if is_error(r86) goto L70 (error at to_hex:101) else goto L54 -L54: - dec_ref r80 - CPy_Raise(r86) - dec_ref r86 - if not 0 goto L56 (error at to_hex:101) else goto L55 :: bool -L55: - unreachable -L56: - r87 = :: object - return r87 -L57: - inc_ref primitive - goto L2 -L58: - inc_ref hexstr - goto L4 -L59: - inc_ref text - goto L6 -L60: - dec_ref primitive - dec_ref text - goto L7 -L61: - dec_ref hexstr - goto L11 -L62: - dec_ref r5 - goto L56 -L63: - dec_ref primitive - goto L12 -L64: - dec_ref text - goto L16 -L65: - dec_ref primitive - goto L56 -L66: - dec_ref primitive - goto L37 -L67: - dec_ref r61 :: int - goto L56 -L68: - dec_ref r65 - goto L56 -L69: - dec_ref r71 - goto L56 -L70: - dec_ref r80 - goto L56 - -def to_bytes(primitive, hexstr, text): - primitive, hexstr :: union[object, None] - text :: union[str, None] - r0, r1, r2, r3 :: object - r4 :: i32 - r5 :: bit - r6, r7 :: bool - r8, r9, r10 :: bytes - r11 :: object - r12 :: str - r13, r14 :: object - r15 :: str - r16 :: object - r17 :: tuple[object, object] - r18 :: object - r19 :: i32 - r20 :: bit - r21 :: bool - r22 :: object - r23 :: object[1] - r24 :: object_ptr - r25 :: object - r26 :: bytes - r27 :: object - r28 :: i32 - r29 :: bit - r30 :: bool - r31 :: bytes - r32 :: object - r33 :: i32 - r34 :: bit - r35 :: bool - r36 :: int - r37 :: object - r38 :: union[object, None] - r39 :: union[str, None] - r40 :: object - r41 :: union[object, None] - r42 :: union[str, None] - r43 :: bytes - r44 :: object - r45 :: bit - r46, r47 :: int - r48 :: bit - r49 :: str - r50 :: object - r51, r52 :: str - r53 :: union[str, object] - r54 :: str - r55 :: bytes - r56 :: object - r57 :: bit - r58 :: str - r59 :: bytes - r60 :: str - r61 :: object - r62 :: str - r63 :: object - r64 :: object[1] - r65 :: object_ptr - r66 :: object - r67 :: bytes -L0: - if is_error(primitive) goto L1 else goto L51 -L1: - r0 = box(None, 1) - inc_ref r0 - primitive = r0 -L2: - if is_error(hexstr) goto L3 else goto L52 -L3: - r1 = box(None, 1) - inc_ref r1 - hexstr = r1 -L4: - if is_error(text) goto L5 else goto L53 -L5: - r2 = box(None, 1) - inc_ref r2 - text = r2 -L6: - r3 = load_address PyBool_Type - r4 = PyObject_IsInstance(primitive, r3) - r5 = r4 >= 0 :: signed - if not r5 goto L54 (error at to_bytes:112) else goto L7 :: bool -L7: - r6 = truncate r4: i32 to builtins.bool - if r6 goto L55 else goto L13 :: bool -L8: - r7 = unbox(bool, primitive) - dec_ref primitive - if is_error(r7) goto L50 (error at to_bytes:113) else goto L9 -L9: - if r7 goto L10 else goto L11 :: bool -L10: - r8 = b'\x01' - inc_ref r8 - r9 = r8 - goto L12 -L11: - r10 = b'\x00' - inc_ref r10 - r9 = r10 -L12: - return r9 -L13: - r11 = builtins :: module - r12 = 'bytearray' - r13 = CPyObject_GetAttr(r11, r12) - if is_error(r13) goto L54 (error at to_bytes:114) else goto L14 -L14: - r14 = builtins :: module - r15 = 'memoryview' - r16 = CPyObject_GetAttr(r14, r15) - if is_error(r16) goto L56 (error at to_bytes:114) else goto L15 -L15: - r17 = (r13, r16) - r18 = box(tuple[object, object], r17) - r19 = PyObject_IsInstance(primitive, r18) - dec_ref r18 - r20 = r19 >= 0 :: signed - if not r20 goto L54 (error at to_bytes:114) else goto L16 :: bool -L16: - r21 = truncate r19: i32 to builtins.bool - if r21 goto L57 else goto L20 :: bool -L17: - r22 = load_address PyBytes_Type - r23 = [primitive] - r24 = load_address r23 - r25 = _PyObject_Vectorcall(r22, r24, 1, 0) - if is_error(r25) goto L58 (error at to_bytes:115) else goto L18 -L18: - dec_ref primitive - r26 = cast(bytes, r25) - if is_error(r26) goto L50 (error at to_bytes:115) else goto L19 -L19: - return r26 -L20: - r27 = load_address PyBytes_Type - r28 = PyObject_IsInstance(primitive, r27) - r29 = r28 >= 0 :: signed - if not r29 goto L54 (error at to_bytes:116) else goto L21 :: bool -L21: - r30 = truncate r28: i32 to builtins.bool - if r30 goto L59 else goto L24 :: bool -L22: - r31 = cast(bytes, primitive) - if is_error(r31) goto L50 (error at to_bytes:117) else goto L23 -L23: - return r31 -L24: - r32 = load_address PyLong_Type - r33 = PyObject_IsInstance(primitive, r32) - r34 = r33 >= 0 :: signed - if not r34 goto L54 (error at to_bytes:118) else goto L25 :: bool -L25: - r35 = truncate r33: i32 to builtins.bool - if r35 goto L60 else goto L61 :: bool -L26: - r36 = unbox(int, primitive) - dec_ref primitive - if is_error(r36) goto L50 (error at to_bytes:119) else goto L27 -L27: - r37 = box(int, r36) - r38 = :: union[object, None] - r39 = :: union[str, None] - r40 = to_hex(r37, r38, r39) - dec_ref r37 - if is_error(r40) goto L50 (error at to_bytes:119) else goto L28 -L28: - r41 = :: union[object, None] - r42 = :: union[str, None] - r43 = to_bytes(r41, r40, r42) - dec_ref r40 - if is_error(r43) goto L50 (error at to_bytes:119) else goto L29 -L29: - return r43 -L30: - r44 = load_address _Py_NoneStruct - r45 = hexstr != r44 - if r45 goto L62 else goto L63 :: bool -L31: - r46 = CPyObject_Size(hexstr) - if is_error(r46) goto L64 (error at to_bytes:121) else goto L32 -L32: - r47 = CPyTagged_Remainder(r46, 4) - dec_ref r46 :: int - if is_error(r47) goto L64 (error at to_bytes:121) else goto L33 -L33: - r48 = r47 != 0 - dec_ref r47 :: int - if r48 goto L34 else goto L38 :: bool -L34: - r49 = '0x0' - r50 = remove_0x_prefix(hexstr) - dec_ref hexstr - if is_error(r50) goto L50 (error at to_bytes:121) else goto L35 -L35: - r51 = PyObject_Str(r50) - dec_ref r50 - if is_error(r51) goto L50 (error at to_bytes:121) else goto L36 -L36: - r52 = CPyStr_Build(2, r49, r51) - dec_ref r51 - if is_error(r52) goto L50 (error at to_bytes:121) else goto L37 -L37: - r53 = r52 - goto L39 -L38: - r53 = hexstr -L39: - r54 = cast(str, r53) - if is_error(r54) goto L50 (error at to_bytes:121) else goto L40 -L40: - r55 = decode_hex(r54) - dec_ref r54 - if is_error(r55) goto L50 (error at to_bytes:121) else goto L41 -L41: - return r55 -L42: - r56 = load_address _Py_NoneStruct - r57 = text != r56 - if r57 goto L43 else goto L65 :: bool -L43: - r58 = cast(str, text) - if is_error(r58) goto L50 (error at to_bytes:123) else goto L44 -L44: - r59 = PyUnicode_AsUTF8String(r58) - dec_ref r58 - if is_error(r59) goto L50 (error at to_bytes:123) else goto L45 -L45: - return r59 -L46: - r60 = 'expected a bool, int, byte or bytearray in first arg, or keyword of hexstr or text' - r61 = builtins :: module - r62 = 'TypeError' - r63 = CPyObject_GetAttr(r61, r62) - if is_error(r63) goto L50 (error at to_bytes:124) else goto L47 -L47: - r64 = [r60] - r65 = load_address r64 - r66 = _PyObject_Vectorcall(r63, r65, 1, 0) - dec_ref r63 - if is_error(r66) goto L50 (error at to_bytes:124) else goto L48 -L48: - CPy_Raise(r66) - dec_ref r66 - if not 0 goto L50 (error at to_bytes:124) else goto L49 :: bool -L49: - unreachable -L50: - r67 = :: bytes - return r67 -L51: - inc_ref primitive - goto L2 -L52: - inc_ref hexstr - goto L4 -L53: - inc_ref text - goto L6 -L54: - dec_ref primitive - dec_ref hexstr - dec_ref text - goto L50 -L55: - dec_ref hexstr - dec_ref text - goto L8 -L56: - dec_ref primitive - dec_ref hexstr - dec_ref text - dec_ref r13 - goto L50 -L57: - dec_ref hexstr - dec_ref text - goto L17 -L58: - dec_ref primitive - goto L50 -L59: - dec_ref hexstr - dec_ref text - goto L22 -L60: - dec_ref hexstr - dec_ref text - goto L26 -L61: - dec_ref primitive - goto L30 -L62: - dec_ref text - goto L31 -L63: - dec_ref hexstr - goto L42 -L64: - dec_ref hexstr - goto L50 -L65: - dec_ref text - goto L46 - -def decode_hex(value): - value :: str - r0 :: object - r1 :: i32 - r2 :: bit - r3 :: bool - r4 :: str - r5 :: object - r6 :: str - r7 :: object - r8 :: object[1] - r9 :: object_ptr - r10, r11 :: object - r12, r13 :: str - r14 :: object[2] - r15 :: object_ptr - r16, r17 :: object - r18 :: bool - r19 :: object[1] - r20 :: object_ptr - r21 :: object - r22, r23 :: bytes -L0: - r0 = load_address PyUnicode_Type - r1 = PyObject_IsInstance(value, r0) - r2 = r1 >= 0 :: signed - if not r2 goto L14 (error at decode_hex:130) else goto L1 :: bool -L1: - r3 = truncate r1: i32 to builtins.bool - if r3 goto L6 else goto L2 :: bool -L2: - r4 = 'Value must be an instance of str' - r5 = builtins :: module - r6 = 'TypeError' - r7 = CPyObject_GetAttr(r5, r6) - if is_error(r7) goto L14 (error at decode_hex:131) else goto L3 -L3: - r8 = [r4] - r9 = load_address r8 - r10 = _PyObject_Vectorcall(r7, r9, 1, 0) - dec_ref r7 - if is_error(r10) goto L14 (error at decode_hex:131) else goto L4 -L4: - CPy_Raise(r10) - dec_ref r10 - if not 0 goto L14 (error at decode_hex:131) else goto L5 :: bool -L5: - unreachable -L6: - r11 = remove_0x_prefix(value) - if is_error(r11) goto L14 (error at decode_hex:132) else goto L7 -L7: - r12 = 'ascii' - r13 = 'encode' - r14 = [r11, r12] - r15 = load_address r14 - r16 = PyObject_VectorcallMethod(r13, r15, 9223372036854775810, 0) - if is_error(r16) goto L15 (error at decode_hex:134) else goto L8 -L8: - dec_ref r11 - r17 = dank_mids._eth_utils.unhexlify :: static - if is_error(r17) goto L16 else goto L11 -L9: - r18 = raise NameError('value for final name "unhexlify" was not set') - if not r18 goto L14 (error at decode_hex:135) else goto L10 :: bool -L10: - unreachable -L11: - r19 = [r16] - r20 = load_address r19 - r21 = _PyObject_Vectorcall(r17, r20, 1, 0) - if is_error(r21) goto L17 (error at decode_hex:135) else goto L12 -L12: - dec_ref r16 - r22 = cast(bytes, r21) - if is_error(r22) goto L14 (error at decode_hex:135) else goto L13 -L13: - return r22 -L14: - r23 = :: bytes - return r23 -L15: - dec_ref r11 - goto L14 -L16: - dec_ref r16 - goto L9 -L17: - dec_ref r16 - goto L14 - -def encode_hex(value): - value, r0, r1 :: object - r2 :: str - r3 :: object - r4 :: tuple[object, object] - r5 :: object - r6 :: i32 - r7 :: bit - r8 :: bool - ascii_bytes :: union[bytes, object] - r9 :: object - r10 :: i32 - r11 :: bit - r12 :: bool - r13 :: str - r14 :: bytes - r15 :: str - r16 :: object - r17 :: str - r18 :: object - r19 :: object[1] - r20 :: object_ptr - r21, r22 :: object - r23 :: bool - r24 :: object[1] - r25 :: object_ptr - r26 :: object - r27 :: bytes - r28, r29 :: str - r30, r31 :: object -L0: - r0 = load_address PyBytes_Type - r1 = builtins :: module - r2 = 'bytearray' - r3 = CPyObject_GetAttr(r1, r2) - if is_error(r3) goto L21 (error at encode_hex:139) else goto L1 -L1: - inc_ref r0 - r4 = (r0, r3) - r5 = box(tuple[object, object], r4) - r6 = PyObject_IsInstance(value, r5) - dec_ref r5 - r7 = r6 >= 0 :: signed - if not r7 goto L21 (error at encode_hex:139) else goto L2 :: bool -L2: - r8 = truncate r6: i32 to builtins.bool - if r8 goto L3 else goto L4 :: bool -L3: - inc_ref value - ascii_bytes = value - goto L13 -L4: - r9 = load_address PyUnicode_Type - r10 = PyObject_IsInstance(value, r9) - r11 = r10 >= 0 :: signed - if not r11 goto L21 (error at encode_hex:141) else goto L5 :: bool -L5: - r12 = truncate r10: i32 to builtins.bool - if r12 goto L6 else goto L9 :: bool -L6: - inc_ref value - r13 = cast(str, value) - if is_error(r13) goto L21 (error at encode_hex:142) else goto L7 -L7: - r14 = PyUnicode_AsASCIIString(r13) - dec_ref r13 - if is_error(r14) goto L21 (error at encode_hex:142) else goto L8 -L8: - ascii_bytes = r14 - goto L13 -L9: - r15 = 'Value must be an instance of str or unicode' - r16 = builtins :: module - r17 = 'TypeError' - r18 = CPyObject_GetAttr(r16, r17) - if is_error(r18) goto L21 (error at encode_hex:144) else goto L10 -L10: - r19 = [r15] - r20 = load_address r19 - r21 = _PyObject_Vectorcall(r18, r20, 1, 0) - dec_ref r18 - if is_error(r21) goto L21 (error at encode_hex:144) else goto L11 -L11: - CPy_Raise(r21) - dec_ref r21 - if not 0 goto L21 (error at encode_hex:144) else goto L12 :: bool -L12: - unreachable -L13: - r22 = dank_mids._eth_utils.hexlify :: static - if is_error(r22) goto L22 else goto L16 -L14: - r23 = raise NameError('value for final name "hexlify" was not set') - if not r23 goto L21 (error at encode_hex:145) else goto L15 :: bool -L15: - unreachable -L16: - r24 = [ascii_bytes] - r25 = load_address r24 - r26 = _PyObject_Vectorcall(r22, r25, 1, 0) - if is_error(r26) goto L23 (error at encode_hex:145) else goto L17 -L17: - dec_ref ascii_bytes - r27 = cast(bytes, r26) - if is_error(r27) goto L21 (error at encode_hex:145) else goto L18 -L18: - r28 = 'ascii' - r29 = CPy_Decode(r27, r28, 0) - dec_ref r27 - if is_error(r29) goto L21 (error at encode_hex:145) else goto L19 -L19: - r30 = add_0x_prefix(r29) - dec_ref r29 - if is_error(r30) goto L21 (error at encode_hex:146) else goto L20 -L20: - return r30 -L21: - r31 = :: object - return r31 -L22: - dec_ref ascii_bytes - goto L14 -L23: - dec_ref ascii_bytes - goto L21 - -def is_0x_prefixed(value): - value :: str - r0 :: object - r1 :: i32 - r2 :: bit - r3 :: bool - r4, r5, r6 :: str - r7 :: object - r8 :: str - r9 :: object - r10 :: object[1] - r11 :: object_ptr - r12 :: object - r13, r14 :: str - r15 :: object[3] - r16 :: object_ptr - r17 :: object - r18 :: list - r19, r20, r21 :: ptr - r22 :: str - r23 :: object - r24 :: str - r25 :: object - r26 :: object[1] - r27 :: object_ptr - r28 :: object - r29, r30 :: str - r31 :: tuple[str, str] - r32 :: str - r33 :: object - r34 :: object[2] - r35 :: object_ptr - r36 :: object - r37, r38 :: bool -L0: - r0 = load_address PyUnicode_Type - r1 = PyObject_IsInstance(value, r0) - r2 = r1 >= 0 :: signed - if not r2 goto L14 (error at is_0x_prefixed:150) else goto L1 :: bool -L1: - r3 = truncate r1: i32 to builtins.bool - if r3 goto L11 else goto L2 :: bool -L2: - r4 = '' - r5 = 'is_0x_prefixed requires text typed arguments. Got: ' - r6 = '{:{}}' - r7 = builtins :: module - r8 = 'repr' - r9 = CPyObject_GetAttr(r7, r8) - if is_error(r9) goto L14 (error at is_0x_prefixed:151) else goto L3 -L3: - r10 = [value] - r11 = load_address r10 - r12 = _PyObject_Vectorcall(r9, r11, 1, 0) - dec_ref r9 - if is_error(r12) goto L14 (error at is_0x_prefixed:151) else goto L4 -L4: - r13 = '' - r14 = 'format' - r15 = [r6, r12, r13] - r16 = load_address r15 - r17 = PyObject_VectorcallMethod(r14, r16, 9223372036854775811, 0) - if is_error(r17) goto L15 (error at is_0x_prefixed:151) else goto L5 -L5: - dec_ref r12 - r18 = PyList_New(2) - if is_error(r18) goto L16 (error at is_0x_prefixed:151) else goto L6 -L6: - r19 = get_element_ptr r18 ob_item :: PyListObject - r20 = load_mem r19 :: ptr* - inc_ref r5 - set_mem r20, r5 :: builtins.object* - r21 = r20 + 8 - set_mem r21, r17 :: builtins.object* - r22 = PyUnicode_Join(r4, r18) - dec_ref r18 - if is_error(r22) goto L14 (error at is_0x_prefixed:151) else goto L7 -L7: - r23 = builtins :: module - r24 = 'TypeError' - r25 = CPyObject_GetAttr(r23, r24) - if is_error(r25) goto L17 (error at is_0x_prefixed:151) else goto L8 -L8: - r26 = [r22] - r27 = load_address r26 - r28 = _PyObject_Vectorcall(r25, r27, 1, 0) - dec_ref r25 - if is_error(r28) goto L17 (error at is_0x_prefixed:151) else goto L9 -L9: - dec_ref r22 - CPy_Raise(r28) - dec_ref r28 - if not 0 goto L14 (error at is_0x_prefixed:151) else goto L10 :: bool -L10: - unreachable -L11: - r29 = '0x' - r30 = '0X' - inc_ref r29 - inc_ref r30 - r31 = (r29, r30) - r32 = 'startswith' - r33 = box(tuple[str, str], r31) - r34 = [value, r33] - r35 = load_address r34 - r36 = PyObject_VectorcallMethod(r32, r35, 9223372036854775810, 0) - if is_error(r36) goto L18 (error at is_0x_prefixed:152) else goto L12 -L12: - dec_ref r33 - r37 = unbox(bool, r36) - dec_ref r36 - if is_error(r37) goto L14 (error at is_0x_prefixed:152) else goto L13 -L13: - return r37 -L14: - r38 = :: bool - return r38 -L15: - dec_ref r12 - goto L14 -L16: - dec_ref r17 - goto L14 -L17: - dec_ref r22 - goto L14 -L18: - dec_ref r33 - goto L14 - -def remove_0x_prefix(value): - value :: object - r0 :: str - r1 :: bool - r2, r3, r4, r5, r6, r7 :: object -L0: - inc_ref value - r0 = cast(str, value) - if is_error(r0) goto L7 (error at remove_0x_prefix:157) else goto L1 -L1: - r1 = is_0x_prefixed(r0) - dec_ref r0 - if is_error(r1) goto L7 (error at remove_0x_prefix:157) else goto L2 -L2: - if r1 goto L3 else goto L6 :: bool -L3: - r2 = load_address _Py_NoneStruct - r3 = load_address _Py_NoneStruct - r4 = object 2 - r5 = PySlice_New(r4, r2, r3) - if is_error(r5) goto L7 (error at remove_0x_prefix:158) else goto L4 -L4: - r6 = PyObject_GetItem(value, r5) - dec_ref r5 - if is_error(r6) goto L7 (error at remove_0x_prefix:158) else goto L5 -L5: - return r6 -L6: - inc_ref value - return value -L7: - r7 = :: object - return r7 - -def add_0x_prefix(value): - value :: object - r0 :: str - r1 :: bool - r2, r3, r4 :: str - r5 :: object -L0: - inc_ref value - r0 = cast(str, value) - if is_error(r0) goto L7 (error at add_0x_prefix:164) else goto L1 -L1: - r1 = is_0x_prefixed(r0) - dec_ref r0 - if is_error(r1) goto L7 (error at add_0x_prefix:164) else goto L2 -L2: - if r1 goto L3 else goto L4 :: bool -L3: - inc_ref value - return value -L4: - r2 = '0x' - r3 = PyObject_Str(value) - if is_error(r3) goto L7 (error at add_0x_prefix:166) else goto L5 -L5: - r4 = CPyStr_Build(2, r2, r3) - dec_ref r3 - if is_error(r4) goto L7 (error at add_0x_prefix:166) else goto L6 -L6: - return r4 -L7: - r5 = :: object - return r5 - -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4 :: object - r5 :: object_ptr - r6 :: object_ptr[1] - r7 :: c_ptr - r8 :: native_int[1] - r9 :: c_ptr - r10 :: object - r11 :: dict - r12, r13 :: str - r14 :: bit - r15 :: object - r16 :: str - r17 :: dict - r18, r19 :: object - r20 :: str - r21 :: dict - r22, r23 :: object - r24 :: str - r25 :: object - r26 :: dict - r27 :: str - r28 :: i32 - r29 :: bit - r30 :: object - r31 :: str - r32 :: object - r33 :: dict - r34 :: str - r35 :: i32 - r36 :: bit - r37 :: None -L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool -L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L11 (error at :-1) else goto L2 -L2: - builtins = r4 :: module - dec_ref r4 -L3: - r5 = load_address binascii :: module - r6 = [r5] - r7 = load_address r6 - r8 = [8] - r9 = load_address r8 - r10 = (('binascii', 'binascii', 'binascii'),) - r11 = dank_mids._eth_utils.globals :: static - r12 = 'dank_mids\\_eth_utils.py' - r13 = '' - r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) - if not r14 goto L11 else goto L4 :: bool -L4: - r15 = ('Any', 'AnyStr', 'Final', 'Optional') - r16 = 'typing' - r17 = dank_mids._eth_utils.globals :: static - r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) - if is_error(r18) goto L11 (error at :9) else goto L5 -L5: - typing = r18 :: module - dec_ref r18 - r19 = ('HexStr',) - r20 = 'eth_typing' - r21 = dank_mids._eth_utils.globals :: static - r22 = CPyImport_ImportFromMany(r20, r19, r19, r21) - if is_error(r22) goto L11 (error at :11) else goto L6 -L6: - eth_typing = r22 :: module - dec_ref r22 - r23 = binascii :: module - r24 = 'hexlify' - r25 = CPyObject_GetAttr(r23, r24) - if is_error(r25) goto L11 (error at :14) else goto L7 -L7: - dank_mids._eth_utils.hexlify = r25 :: static - r26 = dank_mids._eth_utils.globals :: static - r27 = 'hexlify' - r28 = CPyDict_SetItem(r26, r27, r25) - dec_ref r25 - r29 = r28 >= 0 :: signed - if not r29 goto L11 (error at :14) else goto L8 :: bool -L8: - r30 = binascii :: module - r31 = 'unhexlify' - r32 = CPyObject_GetAttr(r30, r31) - if is_error(r32) goto L11 (error at :15) else goto L9 -L9: - dank_mids._eth_utils.unhexlify = r32 :: static - r33 = dank_mids._eth_utils.globals :: static - r34 = 'unhexlify' - r35 = CPyDict_SetItem(r33, r34, r32) - dec_ref r32 - r36 = r35 >= 0 :: signed - if not r36 goto L11 (error at :15) else goto L10 :: bool -L10: - return 1 -L11: - r37 = :: None - return r37 - -def lru_cache_lite_wrap_lru_cache_lite_obj.__get__(__mypyc_self__, instance, owner): - __mypyc_self__, instance, owner, r0 :: object - r1 :: bit - r2, r3 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = instance == r0 - if r1 goto L1 else goto L2 :: bool -L1: - inc_ref __mypyc_self__ - return __mypyc_self__ -L2: - r2 = PyMethod_New(__mypyc_self__, instance) - if is_error(r2) goto L4 else goto L3 -L3: - return r2 -L4: - r3 = :: object - return r3 - -def lru_cache_lite_wrap_lru_cache_lite_obj.__call__(__mypyc_self__, args): - __mypyc_self__ :: dank_mids.helpers.lru_cache.lru_cache_lite_wrap_lru_cache_lite_obj - args :: tuple - r0 :: dank_mids.helpers.lru_cache.lru_cache_lite_env - r1 :: dict - r2, r3, retval, r4 :: object - r5 :: bit - r6 :: object - r7 :: list - r8 :: object - r9 :: tuple - r10 :: dict - r11 :: object - r12 :: dict - r13 :: i32 - r14 :: bit - r15 :: object -L0: - r0 = __mypyc_self__.__mypyc_env__ - if is_error(r0) goto L15 (error at lru_cache_lite_wrap:41) else goto L1 -L1: - r1 = r0.cache - if is_error(r1) goto L16 (error at lru_cache_lite_wrap:42) else goto L2 -L2: - r2 = r0.cache_miss - if is_error(r2) goto L17 (error at lru_cache_lite_wrap:42) else goto L3 -L3: - r3 = CPyDict_Get(r1, args, r2) - dec_ref r1 - dec_ref r2 - if is_error(r3) goto L16 (error at lru_cache_lite_wrap:42) else goto L4 -L4: - retval = r3 - r4 = r0.cache_miss - if is_error(r4) goto L18 (error at lru_cache_lite_wrap:43) else goto L5 -L5: - r5 = retval == r4 - dec_ref r4 - if r5 goto L19 else goto L20 :: bool -L6: - r6 = r0.func - if is_error(r6) goto L16 (error at lru_cache_lite_wrap:44) else goto L7 -L7: - r7 = PyList_New(0) - if is_error(r7) goto L21 (error at lru_cache_lite_wrap:44) else goto L8 -L8: - r8 = CPyList_Extend(r7, args) - if is_error(r8) goto L22 (error at lru_cache_lite_wrap:44) else goto L23 -L9: - r9 = PyList_AsTuple(r7) - dec_ref r7 - if is_error(r9) goto L21 (error at lru_cache_lite_wrap:44) else goto L10 -L10: - r10 = PyDict_New() - if is_error(r10) goto L24 (error at lru_cache_lite_wrap:44) else goto L11 -L11: - r11 = PyObject_Call(r6, r9, r10) - dec_ref r6 - dec_ref r9 - dec_ref r10 - if is_error(r11) goto L16 (error at lru_cache_lite_wrap:44) else goto L12 -L12: - retval = r11 - r12 = r0.cache - dec_ref r0 - if is_error(r12) goto L25 (error at lru_cache_lite_wrap:45) else goto L13 -L13: - r13 = CPyDict_SetItem(r12, args, retval) - dec_ref r12 - r14 = r13 >= 0 :: signed - if not r14 goto L25 (error at lru_cache_lite_wrap:45) else goto L14 :: bool -L14: - return retval -L15: - r15 = :: object - return r15 -L16: - dec_ref r0 - goto L15 -L17: - dec_ref r0 - dec_ref r1 - goto L15 -L18: - dec_ref r0 - dec_ref retval - goto L15 -L19: - dec_ref retval - goto L6 -L20: - dec_ref r0 - goto L14 -L21: - dec_ref r0 - dec_ref r6 - goto L15 -L22: - dec_ref r0 - dec_ref r6 - dec_ref r7 - goto L15 -L23: - dec_ref r8 - goto L9 -L24: - dec_ref r0 - dec_ref r6 - dec_ref r9 - goto L15 -L25: - dec_ref retval - goto L15 - -def lru_cache_lite(func): - func :: object - r0 :: dank_mids.helpers.lru_cache.lru_cache_lite_env - r1 :: bool - r2 :: dict - r3 :: bool - r4 :: object - r5 :: str - r6, r7 :: object - r8 :: bool - r9 :: dank_mids.helpers.lru_cache.lru_cache_lite_wrap_lru_cache_lite_obj - r10 :: bool - r11 :: object - r12 :: dict - r13 :: str - r14 :: object - r15 :: object[1] - r16 :: object_ptr - r17 :: object - r18 :: object[1] - r19 :: object_ptr - r20 :: object - r21 :: dict - r22 :: str - r23 :: i32 - r24 :: bit - r25 :: dict - r26 :: str - r27 :: i32 - r28 :: bit - r29 :: object -L0: - r0 = lru_cache_lite_env() - if is_error(r0) goto L17 (error at lru_cache_lite:11) else goto L1 -L1: - inc_ref func - r0.func = func; r1 = is_error - if not r1 goto L18 (error at lru_cache_lite:11) else goto L2 :: bool -L2: - r2 = PyDict_New() - if is_error(r2) goto L18 (error at lru_cache_lite:37) else goto L3 -L3: - r0.cache = r2; r3 = is_error - if not r3 goto L18 (error at lru_cache_lite:37) else goto L4 :: bool -L4: - r4 = builtins :: module - r5 = 'object' - r6 = CPyObject_GetAttr(r4, r5) - if is_error(r6) goto L18 (error at lru_cache_lite:38) else goto L5 -L5: - r7 = _PyObject_Vectorcall(r6, 0, 0, 0) - dec_ref r6 - if is_error(r7) goto L18 (error at lru_cache_lite:38) else goto L6 -L6: - r0.cache_miss = r7; r8 = is_error - if not r8 goto L18 (error at lru_cache_lite:38) else goto L7 :: bool -L7: - r9 = lru_cache_lite_wrap_lru_cache_lite_obj() - if is_error(r9) goto L18 (error at lru_cache_lite:41) else goto L8 -L8: - inc_ref r0 - r9.__mypyc_env__ = r0; r10 = is_error - if not r10 goto L19 (error at lru_cache_lite:41) else goto L9 :: bool -L9: - r11 = r0.func - if is_error(r11) goto L19 (error at lru_cache_lite:40) else goto L10 -L10: - r12 = dank_mids.helpers.lru_cache.globals :: static - r13 = 'wraps' - r14 = CPyDict_GetItem(r12, r13) - if is_error(r14) goto L20 (error at lru_cache_lite:40) else goto L11 -L11: - r15 = [r11] - r16 = load_address r15 - r17 = _PyObject_Vectorcall(r14, r16, 1, 0) - dec_ref r14 - if is_error(r17) goto L20 (error at lru_cache_lite:40) else goto L12 -L12: - dec_ref r11 - r18 = [r9] - r19 = load_address r18 - r20 = _PyObject_Vectorcall(r17, r19, 1, 0) - dec_ref r17 - if is_error(r20) goto L19 (error at lru_cache_lite:41) else goto L13 -L13: - dec_ref r9 - inc_ref r20 - r21 = dank_mids.helpers.lru_cache.globals :: static - r22 = 'lru_cache_lite_wrap' - r23 = CPyDict_SetItem(r21, r22, r20) - dec_ref r20 - r24 = r23 >= 0 :: signed - if not r24 goto L21 (error at lru_cache_lite:41) else goto L14 :: bool -L14: - r25 = r0.cache - dec_ref r0 - if is_error(r25) goto L22 (error at lru_cache_lite:48) else goto L15 -L15: - r26 = 'cache' - r27 = PyObject_SetAttr(r20, r26, r25) - dec_ref r25 - r28 = r27 >= 0 :: signed - if not r28 goto L22 (error at lru_cache_lite:48) else goto L16 :: bool -L16: - return r20 -L17: - r29 = :: object - return r29 -L18: - dec_ref r0 - goto L17 -L19: - dec_ref r0 - dec_ref r9 - goto L17 -L20: - dec_ref r0 - dec_ref r9 - dec_ref r11 - goto L17 -L21: - dec_ref r0 - dec_ref r20 - goto L17 -L22: - dec_ref r20 - goto L17 - -def lru_cache_lite_wrap_lru_cache_lite_nonull_obj.__get__(__mypyc_self__, instance, owner): - __mypyc_self__, instance, owner, r0 :: object - r1 :: bit - r2, r3 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = instance == r0 - if r1 goto L1 else goto L2 :: bool -L1: - inc_ref __mypyc_self__ - return __mypyc_self__ -L2: - r2 = PyMethod_New(__mypyc_self__, instance) - if is_error(r2) goto L4 else goto L3 -L3: - return r2 -L4: - r3 = :: object - return r3 - -def lru_cache_lite_wrap_lru_cache_lite_nonull_obj.__call__(__mypyc_self__, args): - __mypyc_self__ :: dank_mids.helpers.lru_cache.lru_cache_lite_wrap_lru_cache_lite_nonull_obj - args :: tuple - r0 :: dank_mids.helpers.lru_cache.lru_cache_lite_nonull_env - r1 :: dict - r2 :: object - retval :: union[object, None] - r3 :: object - r4 :: bit - r5 :: object - r6 :: list - r7 :: object - r8 :: tuple - r9 :: dict - r10 :: object - r11 :: dict - r12 :: i32 - r13 :: bit - r14 :: object -L0: - r0 = __mypyc_self__.__mypyc_env__ - if is_error(r0) goto L13 (error at lru_cache_lite_wrap:89) else goto L1 -L1: - r1 = r0.cache - if is_error(r1) goto L14 (error at lru_cache_lite_wrap:90) else goto L2 -L2: - r2 = CPyDict_GetWithNone(r1, args) - dec_ref r1 - if is_error(r2) goto L14 (error at lru_cache_lite_wrap:90) else goto L3 -L3: - retval = r2 - r3 = load_address _Py_NoneStruct - r4 = retval == r3 - if r4 goto L15 else goto L16 :: bool -L4: - r5 = r0.func - if is_error(r5) goto L14 (error at lru_cache_lite_wrap:92) else goto L5 -L5: - r6 = PyList_New(0) - if is_error(r6) goto L17 (error at lru_cache_lite_wrap:92) else goto L6 -L6: - r7 = CPyList_Extend(r6, args) - if is_error(r7) goto L18 (error at lru_cache_lite_wrap:92) else goto L19 -L7: - r8 = PyList_AsTuple(r6) - dec_ref r6 - if is_error(r8) goto L17 (error at lru_cache_lite_wrap:92) else goto L8 -L8: - r9 = PyDict_New() - if is_error(r9) goto L20 (error at lru_cache_lite_wrap:92) else goto L9 -L9: - r10 = PyObject_Call(r5, r8, r9) - dec_ref r5 - dec_ref r8 - dec_ref r9 - if is_error(r10) goto L14 (error at lru_cache_lite_wrap:92) else goto L10 -L10: - retval = r10 - r11 = r0.cache - dec_ref r0 - if is_error(r11) goto L21 (error at lru_cache_lite_wrap:93) else goto L11 -L11: - r12 = CPyDict_SetItem(r11, args, retval) - dec_ref r11 - r13 = r12 >= 0 :: signed - if not r13 goto L21 (error at lru_cache_lite_wrap:93) else goto L12 :: bool -L12: - return retval -L13: - r14 = :: object - return r14 -L14: - dec_ref r0 - goto L13 -L15: - dec_ref retval - goto L4 -L16: - dec_ref r0 - goto L12 -L17: - dec_ref r0 - dec_ref r5 - goto L13 -L18: - dec_ref r0 - dec_ref r5 - dec_ref r6 - goto L13 -L19: - dec_ref r7 - goto L7 -L20: - dec_ref r0 - dec_ref r5 - dec_ref r8 - goto L13 -L21: - dec_ref retval - goto L13 - -def lru_cache_lite_nonull(func): - func :: object - r0 :: dank_mids.helpers.lru_cache.lru_cache_lite_nonull_env - r1 :: bool - r2 :: dict - r3 :: bool - r4 :: dank_mids.helpers.lru_cache.lru_cache_lite_wrap_lru_cache_lite_nonull_obj - r5 :: bool - r6 :: object - r7 :: dict - r8 :: str - r9 :: object - r10 :: object[1] - r11 :: object_ptr - r12 :: object - r13 :: object[1] - r14 :: object_ptr - r15 :: object - r16 :: dict - r17 :: str - r18 :: i32 - r19 :: bit - r20 :: dict - r21 :: str - r22 :: i32 - r23 :: bit - r24 :: object -L0: - r0 = lru_cache_lite_nonull_env() - if is_error(r0) goto L14 (error at lru_cache_lite_nonull:52) else goto L1 -L1: - inc_ref func - r0.func = func; r1 = is_error - if not r1 goto L15 (error at lru_cache_lite_nonull:52) else goto L2 :: bool -L2: - r2 = PyDict_New() - if is_error(r2) goto L15 (error at lru_cache_lite_nonull:86) else goto L3 -L3: - r0.cache = r2; r3 = is_error - if not r3 goto L15 (error at lru_cache_lite_nonull:86) else goto L4 :: bool -L4: - r4 = lru_cache_lite_wrap_lru_cache_lite_nonull_obj() - if is_error(r4) goto L15 (error at lru_cache_lite_nonull:89) else goto L5 -L5: - inc_ref r0 - r4.__mypyc_env__ = r0; r5 = is_error - if not r5 goto L16 (error at lru_cache_lite_nonull:89) else goto L6 :: bool -L6: - r6 = r0.func - if is_error(r6) goto L16 (error at lru_cache_lite_nonull:88) else goto L7 -L7: - r7 = dank_mids.helpers.lru_cache.globals :: static - r8 = 'wraps' - r9 = CPyDict_GetItem(r7, r8) - if is_error(r9) goto L17 (error at lru_cache_lite_nonull:88) else goto L8 -L8: - r10 = [r6] - r11 = load_address r10 - r12 = _PyObject_Vectorcall(r9, r11, 1, 0) - dec_ref r9 - if is_error(r12) goto L17 (error at lru_cache_lite_nonull:88) else goto L9 -L9: - dec_ref r6 - r13 = [r4] - r14 = load_address r13 - r15 = _PyObject_Vectorcall(r12, r14, 1, 0) - dec_ref r12 - if is_error(r15) goto L16 (error at lru_cache_lite_nonull:89) else goto L10 -L10: - dec_ref r4 - inc_ref r15 - r16 = dank_mids.helpers.lru_cache.globals :: static - r17 = 'lru_cache_lite_wrap' - r18 = CPyDict_SetItem(r16, r17, r15) - dec_ref r15 - r19 = r18 >= 0 :: signed - if not r19 goto L18 (error at lru_cache_lite_nonull:89) else goto L11 :: bool -L11: - r20 = r0.cache - dec_ref r0 - if is_error(r20) goto L19 (error at lru_cache_lite_nonull:96) else goto L12 -L12: - r21 = 'cache' - r22 = PyObject_SetAttr(r15, r21, r20) - dec_ref r20 - r23 = r22 >= 0 :: signed - if not r23 goto L19 (error at lru_cache_lite_nonull:96) else goto L13 :: bool -L13: - return r15 -L14: - r24 = :: object - return r24 -L15: - dec_ref r0 - goto L14 -L16: - dec_ref r0 - dec_ref r4 - goto L14 -L17: - dec_ref r0 - dec_ref r4 - dec_ref r6 - goto L14 -L18: - dec_ref r0 - dec_ref r15 - goto L14 -L19: - dec_ref r15 - goto L14 - -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4, r5 :: object - r6 :: str - r7 :: dict - r8, r9 :: object - r10 :: str - r11 :: dict - r12, r13 :: object - r14 :: str - r15 :: dict - r16 :: object - r17 :: str - r18 :: dict - r19 :: str - r20 :: object - r21 :: object[1] - r22 :: object_ptr - r23 :: object - r24 :: dict - r25 :: str - r26 :: i32 - r27 :: bit - r28 :: str - r29 :: dict - r30 :: str - r31 :: object - r32 :: object[1] - r33 :: object_ptr - r34 :: object - r35 :: dict - r36 :: str - r37 :: i32 - r38 :: bit - r39, r40 :: str - r41 :: list - r42, r43, r44 :: ptr - r45 :: dict - r46 :: str - r47 :: i32 - r48 :: bit - r49 :: None -L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool -L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L15 (error at :-1) else goto L2 -L2: - builtins = r4 :: module - dec_ref r4 -L3: - r5 = ('wraps',) - r6 = 'functools' - r7 = dank_mids.helpers.lru_cache.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L15 (error at :1) else goto L4 -L4: - functools = r8 :: module - dec_ref r8 - r9 = ('Callable', 'Dict', 'TypeVar') - r10 = 'typing' - r11 = dank_mids.helpers.lru_cache.globals :: static - r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) - if is_error(r12) goto L15 (error at :2) else goto L5 -L5: - typing = r12 :: module - dec_ref r12 - r13 = ('ParamSpec',) - r14 = 'typing_extensions' - r15 = dank_mids.helpers.lru_cache.globals :: static - r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) - if is_error(r16) goto L15 (error at :4) else goto L6 -L6: - typing_extensions = r16 :: module - dec_ref r16 - r17 = '__P' - r18 = dank_mids.helpers.lru_cache.globals :: static - r19 = 'ParamSpec' - r20 = CPyDict_GetItem(r18, r19) - if is_error(r20) goto L15 (error at :7) else goto L7 -L7: - r21 = [r17] - r22 = load_address r21 - r23 = _PyObject_Vectorcall(r20, r22, 1, 0) - dec_ref r20 - if is_error(r23) goto L15 (error at :7) else goto L8 -L8: - r24 = dank_mids.helpers.lru_cache.globals :: static - r25 = '__P' - r26 = CPyDict_SetItem(r24, r25, r23) - dec_ref r23 - r27 = r26 >= 0 :: signed - if not r27 goto L15 (error at :7) else goto L9 :: bool -L9: - r28 = '__T' - r29 = dank_mids.helpers.lru_cache.globals :: static - r30 = 'TypeVar' - r31 = CPyDict_GetItem(r29, r30) - if is_error(r31) goto L15 (error at :8) else goto L10 -L10: - r32 = [r28] - r33 = load_address r32 - r34 = _PyObject_Vectorcall(r31, r33, 1, 0) - dec_ref r31 - if is_error(r34) goto L15 (error at :8) else goto L11 -L11: - r35 = dank_mids.helpers.lru_cache.globals :: static - r36 = '__T' - r37 = CPyDict_SetItem(r35, r36, r34) - dec_ref r34 - r38 = r37 >= 0 :: signed - if not r38 goto L15 (error at :8) else goto L12 :: bool -L12: - r39 = 'lru_cache_lite' - r40 = 'lru_cache_lite_nonull' - r41 = PyList_New(2) - if is_error(r41) goto L15 (error at :100) else goto L13 -L13: - r42 = get_element_ptr r41 ob_item :: PyListObject - r43 = load_mem r42 :: ptr* - inc_ref r39 - set_mem r43, r39 :: builtins.object* - inc_ref r40 - r44 = r43 + 8 - set_mem r44, r40 :: builtins.object* - r45 = dank_mids.helpers.lru_cache.globals :: static - r46 = '__all__' - r47 = CPyDict_SetItem(r45, r46, r41) - dec_ref r41 - r48 = r47 >= 0 :: signed - if not r48 goto L15 (error at :100) else goto L14 :: bool -L14: - return 1 -L15: - r49 = :: None - return r49 - -def FunctionABI.__init__(self, abi): - self :: dank_mids.brownie_patch._abi.FunctionABI - abi, r0 :: dict - r1 :: str - r2 :: object - r3 :: object[1] - r4 :: object_ptr - r5 :: object - r6 :: dict - r7 :: str - r8 :: object - r9 :: object[1] - r10 :: object_ptr - r11 :: object - r12 :: None -L0: - inc_ref abi - self.abi = abi - r0 = dank_mids.brownie_patch._abi.globals :: static - r1 = 'build_function_signature' - r2 = CPyDict_GetItem(r0, r1) - if is_error(r2) goto L5 (error at __init__:30) else goto L1 -L1: - r3 = [abi] - r4 = load_address r3 - r5 = _PyObject_Vectorcall(r2, r4, 1, 0) - dec_ref r2 - if is_error(r5) goto L5 (error at __init__:30) else goto L2 -L2: - self.input_sig = r5 - r6 = dank_mids.brownie_patch._abi.globals :: static - r7 = 'build_function_selector' - r8 = CPyDict_GetItem(r6, r7) - if is_error(r8) goto L5 (error at __init__:36) else goto L3 -L3: - r9 = [abi] - r10 = load_address r9 - r11 = _PyObject_Vectorcall(r8, r10, 1, 0) - dec_ref r8 - if is_error(r11) goto L5 (error at __init__:36) else goto L4 -L4: - self.signature = r11 - return 1 -L5: - r12 = :: None - return r12 - -def FunctionABI.singleton(abi): - abi :: dict - r0 :: object - r1 :: dict - r2 :: i32 - r3 :: bit - r4 :: tuple - r5 :: object - r6, r7 :: dank_mids.brownie_patch._abi.FunctionABI -L0: - r0 = dank_mids.brownie_patch._abi.FunctionABI :: type - r1 = PyDict_New() - if is_error(r1) goto L6 (error at singleton:51) else goto L1 -L1: - r2 = CPyDict_UpdateInDisplay(r1, abi) - r3 = r2 >= 0 :: signed - if not r3 goto L7 (error at singleton:51) else goto L2 :: bool -L2: - r4 = PyTuple_Pack(0) - if is_error(r4) goto L7 (error at singleton:51) else goto L3 -L3: - r5 = PyObject_Call(r0, r4, r1) - dec_ref r4 - dec_ref r1 - if is_error(r5) goto L6 (error at singleton:51) else goto L4 -L4: - r6 = cast(dank_mids.brownie_patch._abi.FunctionABI, r5) - if is_error(r6) goto L6 (error at singleton:51) else goto L5 -L5: - return r6 -L6: - r7 = :: dank_mids.brownie_patch._abi.FunctionABI - return r7 -L7: - dec_ref r1 - goto L6 - -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4 :: object - r5 :: object_ptr - r6 :: object_ptr[1] - r7 :: c_ptr - r8 :: native_int[1] - r9 :: c_ptr - r10 :: object - r11 :: dict - r12, r13 :: str - r14 :: bit - r15 :: object - r16 :: str - r17 :: dict - r18, r19 :: object - r20 :: str - r21 :: dict - r22, r23 :: object - r24 :: str - r25, r26 :: object - r27 :: bool - r28, r29, r30, r31 :: str - r32 :: tuple - r33 :: i32 - r34 :: bit - r35 :: dict - r36 :: str - r37 :: i32 - r38 :: bit - r39 :: object - r40 :: str - r41, r42 :: object - r43 :: str - r44, r45 :: object - r46 :: object[1] - r47 :: object_ptr - r48, r49 :: object - r50 :: object[1] - r51 :: object_ptr - r52 :: object - r53 :: str - r54 :: i32 - r55 :: bit - r56 :: None -L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool -L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L17 (error at :-1) else goto L2 -L2: - builtins = r4 :: module - dec_ref r4 -L3: - r5 = load_address functools :: module - r6 = [r5] - r7 = load_address r6 - r8 = [1] - r9 = load_address r8 - r10 = (('functools', 'functools', 'functools'),) - r11 = dank_mids.brownie_patch._abi.globals :: static - r12 = 'dank_mids\\brownie_patch\\_abi.py' - r13 = '' - r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) - if not r14 goto L17 else goto L4 :: bool -L4: - r15 = ('Any', 'final') - r16 = 'typing' - r17 = dank_mids.brownie_patch._abi.globals :: static - r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) - if is_error(r18) goto L17 (error at :2) else goto L5 -L5: - typing = r18 :: module - dec_ref r18 - r19 = ('build_function_selector', 'build_function_signature') - r20 = 'brownie.convert.utils' - r21 = dank_mids.brownie_patch._abi.globals :: static - r22 = CPyImport_ImportFromMany(r20, r19, r19, r21) - if is_error(r22) goto L17 (error at :4) else goto L6 -L6: - brownie.convert.utils = r22 :: module - dec_ref r22 - r23 = :: object - r24 = 'dank_mids.brownie_patch._abi' - r25 = dank_mids.brownie_patch._abi.FunctionABI_template :: type - r26 = CPyType_FromTemplate(r25, r23, r24) - if is_error(r26) goto L17 (error at :8) else goto L7 -L7: - r27 = FunctionABI_trait_vtable_setup() - if is_error(r27) goto L18 (error at :-1) else goto L8 -L8: - r28 = '__mypyc_attrs__' - r29 = 'abi' - r30 = 'input_sig' - r31 = 'signature' - r32 = PyTuple_Pack(3, r29, r30, r31) - if is_error(r32) goto L18 (error at :8) else goto L9 -L9: - r33 = PyObject_SetAttr(r26, r28, r32) - dec_ref r32 - r34 = r33 >= 0 :: signed - if not r34 goto L18 (error at :8) else goto L10 :: bool -L10: - dank_mids.brownie_patch._abi.FunctionABI = r26 :: type - r35 = dank_mids.brownie_patch._abi.globals :: static - r36 = 'FunctionABI' - r37 = CPyDict_SetItem(r35, r36, r26) - dec_ref r26 - r38 = r37 >= 0 :: signed - if not r38 goto L17 (error at :8) else goto L11 :: bool -L11: - r39 = dank_mids.brownie_patch._abi.FunctionABI :: type - r40 = 'singleton' - r41 = CPyObject_GetAttr(r39, r40) - if is_error(r41) goto L17 (error at :44) else goto L12 -L12: - r42 = functools :: module - r43 = 'lru_cache' - r44 = CPyObject_GetAttr(r42, r43) - if is_error(r44) goto L19 (error at :43) else goto L13 -L13: - r45 = box(None, 1) - r46 = [r45] - r47 = load_address r46 - r48 = ('maxsize',) - r49 = _PyObject_Vectorcall(r44, r47, 0, r48) - dec_ref r44 - if is_error(r49) goto L19 (error at :43) else goto L14 -L14: - r50 = [r41] - r51 = load_address r50 - r52 = _PyObject_Vectorcall(r49, r51, 1, 0) - dec_ref r49 - if is_error(r52) goto L19 (error at :44) else goto L15 -L15: - dec_ref r41 - r53 = 'singleton' - r54 = PyObject_SetAttr(r39, r53, r52) - dec_ref r52 - r55 = r54 >= 0 :: signed - if not r55 goto L17 (error at :44) else goto L16 :: bool -L16: - return 1 -L17: - r56 = :: None - return r56 -L18: - dec_ref r26 - goto L17 -L19: - dec_ref r41 - goto L17 - -def gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg): - __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen - type, value, traceback, arg, r0, r1, r2, r3, r4, r5, r6, r7 :: object - r8 :: dank_mids.helpers._gather.gatherish_env - r9 :: int - r10 :: object - r11 :: bit - r12 :: object - r13 :: bool - r14 :: object - r15 :: bool - r16 :: list - r17 :: bool - r18, r19 :: object - r20, r21 :: bool - r22, r23 :: object - r24 :: bool - r25, r26 :: object - r27 :: union[str, None] - r28 :: object - r29 :: bool - r30 :: object[3] - r31 :: object_ptr - r32, r33 :: object - r34 :: list - r35 :: i32 - r36, r37 :: bit - r38 :: list - r39 :: object - r40 :: bool - r41 :: object - r42 :: bool - r43, r44 :: object - r45 :: bool - r46, r47, r48, r49, r50 :: object - r51 :: bool - r52 :: object - r53 :: bit - r54 :: tuple[object, object, object] - r55 :: bool - r56 :: object_ptr - r57 :: object - r58, r59 :: bool - r60 :: tuple[object, object, object] - r61 :: bool - r62, r63 :: tuple[object, object, object] - r64 :: bit - r65, r66, r67, r68 :: object - r69 :: bool - r70, r71 :: object - r72 :: bool - r73, r74, r75, r76, r77 :: object - r78 :: bool - r79 :: object - r80 :: bit - r81 :: tuple[object, object, object] - r82 :: bool - r83 :: object_ptr - r84 :: object - r85, r86 :: bool - r87 :: tuple[object, object, object] - r88 :: bool - r89, r90 :: tuple[object, object, object] - r91 :: bit - r92, r93, r94, r95, r96 :: object - r97, r98 :: bool - r99, r100 :: object - r101 :: bool - r102, r103 :: object - r104 :: bool - r105, r106, r107, r108, r109 :: object - r110 :: bool - r111 :: object - r112 :: bit - r113 :: tuple[object, object, object] - r114 :: bool - r115 :: object_ptr - r116 :: object - r117, r118 :: bool - r119 :: tuple[object, object, object] - r120 :: bool - r121, r122 :: tuple[object, object, object] - r123 :: bit - r124, r125, r126 :: object - r127 :: tuple[object, object, object] - r128 :: bool - r129 :: object - r130 :: str - r131 :: object - r132 :: bit - r133, r134 :: object - r135, r136 :: bool - r137, r138 :: object - r139 :: bool - r140, r141 :: object - r142 :: bool - r143, r144, r145, r146, r147 :: object - r148 :: bool - r149 :: object - r150 :: bit - r151 :: tuple[object, object, object] - r152 :: bool - r153 :: object_ptr - r154 :: object - r155, r156 :: bool - r157 :: tuple[object, object, object] - r158 :: bool - r159, r160 :: tuple[object, object, object] - r161 :: bit - r162, r163, r164 :: object - r165 :: tuple[object, object, object] - r166 :: bool - r167 :: object - r168 :: str - r169 :: object - r170 :: bit - r171, r172 :: tuple[object, object, object] - r173, r174 :: bit - r175 :: tuple[object, object, object] - r176, r177 :: bit - r178 :: object - r179 :: bool - r180, r181, r182, r183, r184 :: bit - r185 :: bool - r186 :: object -L0: - r0 = :: object - r1 = r0 - r2 = :: object - r3 = r2 - r4 = :: object - r5 = r4 - r6 = :: object - r7 = r6 - r8 = __mypyc_self__.__mypyc_env__ - if is_error(r8) goto L229 (error at gatherish:33) else goto L1 -L1: - r9 = r8.__mypyc_next_label__ - if is_error(r9) goto L230 (error at gatherish:33) else goto L221 -L2: - r10 = load_address _Py_NoneStruct - r11 = type != r10 - if r11 goto L231 else goto L5 :: bool -L3: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L228 (error at gatherish:33) else goto L4 :: bool -L4: - unreachable -L5: - r12 = dank_mids.helpers._gather.get_running_loop :: static - if is_error(r12) goto L232 else goto L8 -L6: - r13 = raise NameError('value for final name "get_running_loop" was not set') - if not r13 goto L228 (error at gatherish:41) else goto L7 :: bool -L7: - unreachable -L8: - r14 = _PyObject_Vectorcall(r12, 0, 0, 0) - if is_error(r14) goto L230 (error at gatherish:41) else goto L9 -L9: - r8.loop = r14; r15 = is_error - if not r15 goto L230 (error at gatherish:41) else goto L10 :: bool -L10: - r16 = PyList_New(0) - if is_error(r16) goto L230 (error at gatherish:44) else goto L11 -L11: - r8.__mypyc_temp__0 = r16; r17 = is_error - if not r17 goto L230 (error at gatherish:-1) else goto L12 :: bool -L12: - r18 = r8.coros - if is_error(r18) goto L230 (error at gatherish:44) else goto L13 -L13: - r19 = PyObject_GetIter(r18) - if is_error(r19) goto L233 (error at gatherish:44) else goto L14 -L14: - r8.__mypyc_temp__1 = r18; r20 = is_error - if not r20 goto L234 (error at gatherish:-1) else goto L15 :: bool -L15: - r8.__mypyc_temp__2 = r19; r21 = is_error - if not r21 goto L230 (error at gatherish:-1) else goto L16 :: bool -L16: - r22 = r8.__mypyc_temp__2 - if is_error(r22) goto L230 (error at gatherish:44) else goto L17 -L17: - r23 = PyIter_Next(r22) - dec_ref r22 - if is_error(r23) goto L28 else goto L18 -L18: - r8.coro = r23; r24 = is_error - if not r24 goto L230 (error at gatherish:44) else goto L19 :: bool -L19: - r25 = r8.coro - if is_error(r25) goto L230 (error at gatherish:44) else goto L20 -L20: - r26 = r8.loop - if is_error(r26) goto L235 (error at gatherish:44) else goto L21 -L21: - r27 = r8.name - if is_error(r27) goto L236 (error at gatherish:44) else goto L22 -L22: - r28 = dank_mids.helpers._gather.Task :: static - if is_error(r28) goto L237 else goto L25 -L23: - r29 = raise NameError('value for final name "Task" was not set') - if not r29 goto L228 (error at gatherish:44) else goto L24 :: bool -L24: - unreachable -L25: - r30 = [r25, r26, r27] - r31 = load_address r30 - r32 = ('loop', 'name') - r33 = _PyObject_Vectorcall(r28, r31, 1, r32) - if is_error(r33) goto L238 (error at gatherish:44) else goto L26 -L26: - dec_ref r25 - dec_ref r26 - dec_ref r27 - r34 = r8.__mypyc_temp__0 - if is_error(r34) goto L239 (error at gatherish:-1) else goto L27 -L27: - r35 = PyList_Append(r34, r33) - dec_ref r34 - dec_ref r33 - r36 = r35 >= 0 :: signed - if not r36 goto L230 (error at gatherish:44) else goto L16 :: bool -L28: - r37 = CPy_NoErrOccurred() - if not r37 goto L230 (error at gatherish:44) else goto L29 :: bool -L29: - r38 = r8.__mypyc_temp__0 - if is_error(r38) goto L230 (error at gatherish:-1) else goto L30 -L30: - r39 = PyObject_GetIter(r38) - dec_ref r38 - if is_error(r39) goto L230 (error at gatherish:44) else goto L31 -L31: - r8.tasks = r39; r40 = is_error - if not r40 goto L230 (error at gatherish:44) else goto L32 :: bool -L32: - r41 = dank_mids.helpers._gather.yield_to_loop :: static - if is_error(r41) goto L240 else goto L35 -L33: - r42 = raise NameError('value for final name "yield_to_loop" was not set') - if not r42 goto L228 (error at gatherish:49) else goto L34 :: bool -L34: - unreachable -L35: - r43 = _PyObject_Vectorcall(r41, 0, 0, 0) - if is_error(r43) goto L230 (error at gatherish:49) else goto L36 -L36: - r44 = CPy_GetCoro(r43) - dec_ref r43 - if is_error(r44) goto L230 (error at gatherish:49) else goto L37 -L37: - r8.__mypyc_temp__3 = r44; r45 = is_error - if not r45 goto L230 (error at gatherish:-1) else goto L38 :: bool -L38: - r46 = r8.__mypyc_temp__3 - if is_error(r46) goto L230 (error at gatherish:-1) else goto L39 -L39: - r47 = CPyIter_Next(r46) - dec_ref r46 - if is_error(r47) goto L241 else goto L42 -L40: - r48 = CPy_FetchStopIterationValue() - if is_error(r48) goto L242 (error at gatherish:49) else goto L41 -L41: - r49 = r48 - dec_ref r49 - goto L71 -L42: - r50 = r47 -L43: - r8.__mypyc_next_label__ = 2; r51 = is_error - if not r51 goto L243 (error at gatherish:49) else goto L244 :: bool -L44: - return r50 -L45: - r52 = load_address _Py_NoneStruct - r53 = type != r52 - if r53 goto L46 else goto L48 :: bool -L46: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L49 (error at gatherish:49) else goto L245 :: bool -L47: - unreachable -L48: - inc_ref arg - goto L66 -L49: - r54 = CPy_CatchError() - r8.__mypyc_temp__4 = r54; r55 = is_error - if not r55 goto L246 (error at gatherish:-1) else goto L50 :: bool -L50: - r56 = load_address r1 - r57 = r8.__mypyc_temp__3 - if is_error(r57) goto L246 (error at gatherish:-1) else goto L51 -L51: - r58 = CPy_YieldFromErrorHandle(r57, r56) - dec_ref r57 - if is_error(r58) goto L246 (error at gatherish:49) else goto L52 -L52: - if r58 goto L58 else goto L53 :: bool -L53: - if is_error(r1) goto L247 else goto L56 -L54: - r59 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r59 goto L63 (error at gatherish:-1) else goto L248 :: bool -L55: - unreachable -L56: - inc_ref r1 - r50 = r1 - r60 = r8.__mypyc_temp__4 - if is_error(r60) goto L249 (error at gatherish:-1) else goto L57 -L57: - CPy_RestoreExcInfo(r60) - dec_ref r60 - goto L43 -L58: - if is_error(r1) goto L250 else goto L61 -L59: - r61 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r61 goto L63 (error at gatherish:-1) else goto L251 :: bool -L60: - unreachable -L61: - r49 = r1 - dec_ref r49 - r62 = r8.__mypyc_temp__4 - if is_error(r62) goto L252 (error at gatherish:-1) else goto L62 -L62: - CPy_RestoreExcInfo(r62) - dec_ref r62 - goto L71 -L63: - r63 = r8.__mypyc_temp__4 - dec_ref r8 - if is_error(r63) goto L228 (error at gatherish:-1) else goto L64 -L64: - CPy_RestoreExcInfo(r63) - dec_ref r63 - r64 = CPy_KeepPropagating() - if not r64 goto L228 else goto L65 :: bool -L65: - unreachable -L66: - r65 = r8.__mypyc_temp__3 - if is_error(r65) goto L253 (error at gatherish:-1) else goto L67 -L67: - r66 = CPyIter_Send(r65, arg) - dec_ref r65 - dec_ref arg - if is_error(r66) goto L254 else goto L68 -L68: - r50 = r66 - goto L43 -L69: - r67 = CPy_FetchStopIterationValue() - if is_error(r67) goto L242 (error at gatherish:49) else goto L70 -L70: - r49 = r67 - dec_ref r49 -L71: - r68 = dank_mids.helpers._gather.yield_to_loop :: static - if is_error(r68) goto L255 else goto L74 -L72: - r69 = raise NameError('value for final name "yield_to_loop" was not set') - if not r69 goto L228 (error at gatherish:50) else goto L73 :: bool -L73: - unreachable -L74: - r70 = _PyObject_Vectorcall(r68, 0, 0, 0) - if is_error(r70) goto L242 (error at gatherish:50) else goto L75 -L75: - r71 = CPy_GetCoro(r70) - dec_ref r70 - if is_error(r71) goto L242 (error at gatherish:50) else goto L76 -L76: - r8.__mypyc_temp__5 = r71; r72 = is_error - if not r72 goto L242 (error at gatherish:-1) else goto L77 :: bool -L77: - r73 = r8.__mypyc_temp__5 - if is_error(r73) goto L242 (error at gatherish:-1) else goto L78 -L78: - r74 = CPyIter_Next(r73) - dec_ref r73 - if is_error(r74) goto L256 else goto L81 -L79: - r75 = CPy_FetchStopIterationValue() - if is_error(r75) goto L257 (error at gatherish:50) else goto L80 -L80: - r76 = r75 - dec_ref r76 - goto L110 -L81: - r77 = r74 -L82: - r8.__mypyc_next_label__ = 4; r78 = is_error - if not r78 goto L258 (error at gatherish:50) else goto L259 :: bool -L83: - return r77 -L84: - r79 = load_address _Py_NoneStruct - r80 = type != r79 - if r80 goto L85 else goto L87 :: bool -L85: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L88 (error at gatherish:50) else goto L260 :: bool -L86: - unreachable -L87: - inc_ref arg - goto L105 -L88: - r81 = CPy_CatchError() - r8.__mypyc_temp__6 = r81; r82 = is_error - if not r82 goto L261 (error at gatherish:-1) else goto L89 :: bool -L89: - r83 = load_address r3 - r84 = r8.__mypyc_temp__5 - if is_error(r84) goto L261 (error at gatherish:-1) else goto L90 -L90: - r85 = CPy_YieldFromErrorHandle(r84, r83) - dec_ref r84 - if is_error(r85) goto L261 (error at gatherish:50) else goto L91 -L91: - if r85 goto L97 else goto L92 :: bool -L92: - if is_error(r3) goto L262 else goto L95 -L93: - r86 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r86 goto L102 (error at gatherish:-1) else goto L263 :: bool -L94: - unreachable -L95: - inc_ref r3 - r77 = r3 - r87 = r8.__mypyc_temp__6 - if is_error(r87) goto L264 (error at gatherish:-1) else goto L96 -L96: - CPy_RestoreExcInfo(r87) - dec_ref r87 - goto L82 -L97: - if is_error(r3) goto L265 else goto L100 -L98: - r88 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r88 goto L102 (error at gatherish:-1) else goto L266 :: bool -L99: - unreachable -L100: - r76 = r3 - dec_ref r76 - r89 = r8.__mypyc_temp__6 - if is_error(r89) goto L267 (error at gatherish:-1) else goto L101 -L101: - CPy_RestoreExcInfo(r89) - dec_ref r89 - goto L110 -L102: - r90 = r8.__mypyc_temp__6 - dec_ref r8 - if is_error(r90) goto L228 (error at gatherish:-1) else goto L103 -L103: - CPy_RestoreExcInfo(r90) - dec_ref r90 - r91 = CPy_KeepPropagating() - if not r91 goto L228 else goto L104 :: bool -L104: - unreachable -L105: - r92 = r8.__mypyc_temp__5 - if is_error(r92) goto L268 (error at gatherish:-1) else goto L106 -L106: - r93 = CPyIter_Send(r92, arg) - dec_ref r92 - dec_ref arg - if is_error(r93) goto L269 else goto L107 -L107: - r77 = r93 - goto L82 -L108: - r94 = CPy_FetchStopIterationValue() - if is_error(r94) goto L257 (error at gatherish:50) else goto L109 -L109: - r76 = r94 - dec_ref r76 -L110: - r95 = r8.tasks - if is_error(r95) goto L257 (error at gatherish:51) else goto L111 -L111: - r96 = PyObject_GetIter(r95) - if is_error(r96) goto L270 (error at gatherish:51) else goto L112 -L112: - r8.__mypyc_temp__7 = r95; r97 = is_error - if not r97 goto L271 (error at gatherish:-1) else goto L113 :: bool -L113: - r8.__mypyc_temp__8 = r96; r98 = is_error - if not r98 goto L257 (error at gatherish:-1) else goto L114 :: bool -L114: - r99 = r8.__mypyc_temp__8 - if is_error(r99) goto L257 (error at gatherish:51) else goto L115 -L115: - r100 = PyIter_Next(r99) - dec_ref r99 - if is_error(r100) goto L272 else goto L116 -L116: - r8.task = r100; r101 = is_error - if not r101 goto L257 (error at gatherish:51) else goto L117 :: bool -L117: - r102 = r8.task - if is_error(r102) goto L273 (error at gatherish:53) else goto L118 -L118: - r103 = CPy_GetCoro(r102) - dec_ref r102 - if is_error(r103) goto L273 (error at gatherish:53) else goto L119 -L119: - r8.__mypyc_temp__9 = r103; r104 = is_error - if not r104 goto L273 (error at gatherish:-1) else goto L120 :: bool -L120: - r105 = r8.__mypyc_temp__9 - if is_error(r105) goto L273 (error at gatherish:-1) else goto L121 -L121: - r106 = CPyIter_Next(r105) - dec_ref r105 - if is_error(r106) goto L122 else goto L124 -L122: - r107 = CPy_FetchStopIterationValue() - if is_error(r107) goto L273 (error at gatherish:53) else goto L123 -L123: - r108 = r107 - dec_ref r108 - goto L114 -L124: - r109 = r106 -L125: - r8.__mypyc_next_label__ = 6; r110 = is_error - if not r110 goto L274 (error at gatherish:53) else goto L275 :: bool -L126: - return r109 -L127: - r111 = load_address _Py_NoneStruct - r112 = type != r111 - if r112 goto L128 else goto L130 :: bool -L128: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L131 (error at gatherish:53) else goto L276 :: bool -L129: - unreachable -L130: - inc_ref arg - goto L148 -L131: - r113 = CPy_CatchError() - r8.__mypyc_temp__10 = r113; r114 = is_error - if not r114 goto L277 (error at gatherish:-1) else goto L132 :: bool -L132: - r115 = load_address r5 - r116 = r8.__mypyc_temp__9 - if is_error(r116) goto L277 (error at gatherish:-1) else goto L133 -L133: - r117 = CPy_YieldFromErrorHandle(r116, r115) - dec_ref r116 - if is_error(r117) goto L277 (error at gatherish:53) else goto L134 -L134: - if r117 goto L140 else goto L135 :: bool -L135: - if is_error(r5) goto L136 else goto L138 -L136: - r118 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r118 goto L145 (error at gatherish:-1) else goto L278 :: bool -L137: - unreachable -L138: - inc_ref r5 - r109 = r5 - r119 = r8.__mypyc_temp__10 - if is_error(r119) goto L279 (error at gatherish:-1) else goto L139 -L139: - CPy_RestoreExcInfo(r119) - dec_ref r119 - goto L125 -L140: - if is_error(r5) goto L141 else goto L143 -L141: - r120 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r120 goto L145 (error at gatherish:-1) else goto L280 :: bool -L142: - unreachable -L143: - inc_ref r5 - r108 = r5 - dec_ref r108 - r121 = r8.__mypyc_temp__10 - if is_error(r121) goto L277 (error at gatherish:-1) else goto L144 -L144: - CPy_RestoreExcInfo(r121) - dec_ref r121 - goto L114 -L145: - r122 = r8.__mypyc_temp__10 - if is_error(r122) goto L153 (error at gatherish:-1) else goto L146 -L146: - CPy_RestoreExcInfo(r122) - dec_ref r122 - r123 = CPy_KeepPropagating() - if not r123 goto L153 else goto L281 :: bool -L147: - unreachable -L148: - r124 = r8.__mypyc_temp__9 - if is_error(r124) goto L282 (error at gatherish:-1) else goto L149 -L149: - r125 = CPyIter_Send(r124, arg) - dec_ref r124 - dec_ref arg - if is_error(r125) goto L151 else goto L150 -L150: - r109 = r125 - goto L125 -L151: - r126 = CPy_FetchStopIterationValue() - if is_error(r126) goto L273 (error at gatherish:53) else goto L152 -L152: - r108 = r126 - dec_ref r108 - goto L114 -L153: - r127 = CPy_CatchError() - r8.__mypyc_temp__11 = r127; r128 = is_error - if not r128 goto L283 (error at gatherish:-1) else goto L154 :: bool -L154: - r129 = builtins :: module - r130 = 'Exception' - r131 = CPyObject_GetAttr(r129, r130) - if is_error(r131) goto L283 (error at gatherish:54) else goto L155 -L155: - r132 = CPy_ExceptionMatches(r131) - dec_ref r131 - if r132 goto L156 else goto L284 :: bool -L156: - r133 = r8.tasks - if is_error(r133) goto L283 (error at gatherish:57) else goto L157 -L157: - r134 = PyObject_GetIter(r133) - if is_error(r134) goto L285 (error at gatherish:57) else goto L158 -L158: - r8.__mypyc_temp__12 = r133; r135 = is_error - if not r135 goto L286 (error at gatherish:-1) else goto L159 :: bool -L159: - r8.__mypyc_temp__13 = r134; r136 = is_error - if not r136 goto L283 (error at gatherish:-1) else goto L160 :: bool -L160: - r137 = r8.__mypyc_temp__13 - if is_error(r137) goto L283 (error at gatherish:57) else goto L161 -L161: - r138 = PyIter_Next(r137) - dec_ref r137 - if is_error(r138) goto L287 else goto L162 -L162: - r8.task = r138; r139 = is_error - if not r139 goto L283 (error at gatherish:57) else goto L163 :: bool -L163: - r140 = r8.task - if is_error(r140) goto L199 (error at gatherish:60) else goto L164 -L164: - r141 = CPy_GetCoro(r140) - dec_ref r140 - if is_error(r141) goto L199 (error at gatherish:60) else goto L165 -L165: - r8.__mypyc_temp__14 = r141; r142 = is_error - if not r142 goto L199 (error at gatherish:-1) else goto L166 :: bool -L166: - r143 = r8.__mypyc_temp__14 - if is_error(r143) goto L199 (error at gatherish:-1) else goto L167 -L167: - r144 = CPyIter_Next(r143) - dec_ref r143 - if is_error(r144) goto L168 else goto L170 -L168: - r145 = CPy_FetchStopIterationValue() - if is_error(r145) goto L199 (error at gatherish:60) else goto L169 -L169: - r146 = r145 - dec_ref r146 - goto L160 -L170: - r147 = r144 -L171: - r8.__mypyc_next_label__ = 8; r148 = is_error - if not r148 goto L288 (error at gatherish:60) else goto L289 :: bool -L172: - return r147 -L173: - r149 = load_address _Py_NoneStruct - r150 = type != r149 - if r150 goto L174 else goto L176 :: bool -L174: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L177 (error at gatherish:60) else goto L290 :: bool -L175: - unreachable -L176: - inc_ref arg - goto L194 -L177: - r151 = CPy_CatchError() - r8.__mypyc_temp__15 = r151; r152 = is_error - if not r152 goto L191 (error at gatherish:-1) else goto L178 :: bool -L178: - r153 = load_address r7 - r154 = r8.__mypyc_temp__14 - if is_error(r154) goto L191 (error at gatherish:-1) else goto L179 -L179: - r155 = CPy_YieldFromErrorHandle(r154, r153) - dec_ref r154 - if is_error(r155) goto L191 (error at gatherish:60) else goto L180 -L180: - if r155 goto L186 else goto L181 :: bool -L181: - if is_error(r7) goto L182 else goto L184 -L182: - r156 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r156 goto L191 (error at gatherish:-1) else goto L291 :: bool -L183: - unreachable -L184: - inc_ref r7 - r147 = r7 - r157 = r8.__mypyc_temp__15 - if is_error(r157) goto L292 (error at gatherish:-1) else goto L185 -L185: - CPy_RestoreExcInfo(r157) - dec_ref r157 - goto L171 -L186: - if is_error(r7) goto L187 else goto L189 -L187: - r158 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r158 goto L191 (error at gatherish:-1) else goto L293 :: bool -L188: - unreachable -L189: - inc_ref r7 - r146 = r7 - dec_ref r146 - r159 = r8.__mypyc_temp__15 - if is_error(r159) goto L191 (error at gatherish:-1) else goto L190 -L190: - CPy_RestoreExcInfo(r159) - dec_ref r159 - goto L160 -L191: - r160 = r8.__mypyc_temp__15 - if is_error(r160) goto L199 (error at gatherish:-1) else goto L192 -L192: - CPy_RestoreExcInfo(r160) - dec_ref r160 - r161 = CPy_KeepPropagating() - if not r161 goto L199 else goto L294 :: bool -L193: - unreachable -L194: - r162 = r8.__mypyc_temp__14 - if is_error(r162) goto L295 (error at gatherish:-1) else goto L195 -L195: - r163 = CPyIter_Send(r162, arg) - dec_ref r162 - dec_ref arg - if is_error(r163) goto L197 else goto L196 -L196: - r147 = r163 - goto L171 -L197: - r164 = CPy_FetchStopIterationValue() - if is_error(r164) goto L199 (error at gatherish:60) else goto L198 -L198: - r146 = r164 - dec_ref r146 - goto L160 -L199: - r165 = CPy_CatchError() - r8.__mypyc_temp__16 = r165; r166 = is_error - if not r166 goto L296 (error at gatherish:-1) else goto L200 :: bool -L200: - r167 = builtins :: module - r168 = 'Exception' - r169 = CPyObject_GetAttr(r167, r168) - if is_error(r169) goto L296 (error at gatherish:61) else goto L201 -L201: - r170 = CPy_ExceptionMatches(r169) - dec_ref r169 - if r170 goto L204 else goto L297 :: bool -L202: - CPy_Reraise() - if not 0 goto L206 else goto L298 :: bool -L203: - unreachable -L204: - r171 = r8.__mypyc_temp__16 - if is_error(r171) goto L283 (error at gatherish:-1) else goto L205 -L205: - CPy_RestoreExcInfo(r171) - dec_ref r171 - goto L160 -L206: - r172 = r8.__mypyc_temp__16 - if is_error(r172) goto L214 (error at gatherish:-1) else goto L207 -L207: - CPy_RestoreExcInfo(r172) - dec_ref r172 - r173 = CPy_KeepPropagating() - if not r173 goto L214 else goto L299 :: bool -L208: - unreachable -L209: - r174 = CPy_NoErrOccurred() - if not r174 goto L214 (error at gatherish:57) else goto L210 :: bool -L210: - CPy_Reraise() - if not 0 goto L214 else goto L300 :: bool -L211: - unreachable -L212: - CPy_Reraise() - if not 0 goto L214 else goto L301 :: bool -L213: - unreachable -L214: - r175 = r8.__mypyc_temp__11 - dec_ref r8 - if is_error(r175) goto L228 (error at gatherish:-1) else goto L215 -L215: - CPy_RestoreExcInfo(r175) - dec_ref r175 - r176 = CPy_KeepPropagating() - if not r176 goto L228 else goto L216 :: bool -L216: - unreachable -L217: - r177 = CPy_NoErrOccurred() - if not r177 goto L302 (error at gatherish:51) else goto L218 :: bool -L218: - r178 = box(None, 1) - r8.__mypyc_next_label__ = -2; r179 = is_error - dec_ref r8 - if not r179 goto L228 (error at gatherish:33) else goto L219 :: bool -L219: - CPyGen_SetStopIterationValue(r178) - if not 0 goto L228 else goto L220 :: bool -L220: - unreachable -L221: - r180 = r9 == 0 - if r180 goto L303 else goto L222 :: bool -L222: - r181 = r9 == 2 - if r181 goto L304 else goto L305 :: bool -L223: - r182 = r9 == 4 - if r182 goto L306 else goto L307 :: bool -L224: - r183 = r9 == 6 - if r183 goto L308 else goto L309 :: bool -L225: - r184 = r9 == 8 - dec_ref r9 :: int - if r184 goto L173 else goto L310 :: bool -L226: - r185 = raise StopIteration - if not r185 goto L228 (error at gatherish:33) else goto L227 :: bool -L227: - unreachable -L228: - r186 = :: object - return r186 -L229: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - goto L228 -L230: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - goto L228 -L231: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - goto L3 -L232: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - goto L6 -L233: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - dec_ref r18 - goto L228 -L234: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - dec_ref r19 - goto L228 -L235: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - dec_ref r25 - goto L228 -L236: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - dec_ref r25 - dec_ref r26 - goto L228 -L237: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - dec_ref r25 - dec_ref r26 - dec_ref r27 - goto L23 -L238: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - dec_ref r25 - dec_ref r26 - dec_ref r27 - goto L228 -L239: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - dec_ref r33 - goto L228 -L240: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - goto L33 -L241: - xdec_ref r1 - goto L40 -L242: - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - goto L228 -L243: - dec_ref r50 - goto L49 -L244: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - goto L44 -L245: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - goto L47 -L246: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - goto L63 -L247: - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - goto L54 -L248: - dec_ref r8 - goto L55 -L249: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r50 - goto L63 -L250: - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - goto L59 -L251: - dec_ref r8 - goto L60 -L252: - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - goto L63 -L253: - xdec_ref r1 - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - dec_ref arg - goto L228 -L254: - xdec_ref r1 - goto L69 -L255: - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - goto L72 -L256: - xdec_ref r3 - goto L79 -L257: - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - goto L228 -L258: - dec_ref r77 - goto L88 -L259: - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - goto L83 -L260: - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - goto L86 -L261: - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - goto L102 -L262: - xdec_ref r5 - xdec_ref r7 - goto L93 -L263: - dec_ref r8 - goto L94 -L264: - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r77 - goto L102 -L265: - xdec_ref r5 - xdec_ref r7 - goto L98 -L266: - dec_ref r8 - goto L99 -L267: - xdec_ref r5 - xdec_ref r7 - goto L102 -L268: - xdec_ref r3 - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - dec_ref arg - goto L228 -L269: - xdec_ref r3 - goto L108 -L270: - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - dec_ref r95 - goto L228 -L271: - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - dec_ref r96 - goto L228 -L272: - xdec_ref r5 - xdec_ref r7 - goto L217 -L273: - xdec_ref r5 - goto L153 -L274: - dec_ref r109 - goto L131 -L275: - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - goto L126 -L276: - xdec_ref r5 - xdec_ref r7 - dec_ref r8 - goto L129 -L277: - xdec_ref r5 - goto L145 -L278: - xdec_ref r7 - dec_ref r8 - goto L137 -L279: - xdec_ref r5 - dec_ref r109 - goto L145 -L280: - xdec_ref r7 - dec_ref r8 - goto L142 -L281: - xdec_ref r7 - dec_ref r8 - goto L147 -L282: - xdec_ref r5 - dec_ref arg - goto L153 -L283: - xdec_ref r7 - goto L214 -L284: - xdec_ref r7 - goto L212 -L285: - xdec_ref r7 - dec_ref r133 - goto L214 -L286: - xdec_ref r7 - dec_ref r134 - goto L214 -L287: - xdec_ref r7 - goto L209 -L288: - dec_ref r147 - goto L177 -L289: - xdec_ref r7 - dec_ref r8 - goto L172 -L290: - xdec_ref r7 - dec_ref r8 - goto L175 -L291: - xdec_ref r7 - dec_ref r8 - goto L183 -L292: - dec_ref r147 - goto L191 -L293: - xdec_ref r7 - dec_ref r8 - goto L188 -L294: - xdec_ref r7 - dec_ref r8 - goto L193 -L295: - dec_ref arg - goto L199 -L296: - xdec_ref r7 - goto L206 -L297: - xdec_ref r7 - goto L202 -L298: - dec_ref r8 - goto L203 -L299: - dec_ref r8 - goto L208 -L300: - dec_ref r8 - goto L211 -L301: - dec_ref r8 - goto L213 -L302: - dec_ref r8 - goto L228 -L303: - dec_ref r9 :: int - goto L2 -L304: - dec_ref r9 :: int - goto L45 -L305: - xdec_ref r1 - goto L223 -L306: - dec_ref r9 :: int - goto L84 -L307: - xdec_ref r3 - goto L224 -L308: - dec_ref r9 :: int - goto L127 -L309: - xdec_ref r5 - goto L225 -L310: - xdec_ref r7 - dec_ref r8 - goto L226 - -def gatherish_gen.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen - r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def gatherish_gen.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen - arg, r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def gatherish_gen.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ - -def gatherish_gen.throw(__mypyc_self__, type, value, traceback): - __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen - type, value, traceback, r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - if is_error(value) goto L1 else goto L7 -L1: - inc_ref r0 - value = r0 -L2: - if is_error(traceback) goto L3 else goto L8 -L3: - inc_ref r0 - traceback = r0 -L4: - r1 = gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0) - dec_ref value - dec_ref traceback - if is_error(r1) goto L6 else goto L5 -L5: - return r1 -L6: - r2 = :: object - return r2 -L7: - inc_ref value - goto L2 -L8: - inc_ref traceback - goto L4 - -def gatherish_gen.close(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen - r0 :: object - r1 :: str - r2, r3, r4, r5 :: object - r6 :: tuple[object, object, object] - r7 :: object - r8 :: str - r9 :: object - r10 :: tuple[object, object] - r11 :: object - r12 :: bit - r13 :: object - r14 :: bool - r15 :: object -L0: -L1: - r0 = builtins :: module - r1 = 'GeneratorExit' - r2 = CPyObject_GetAttr(r0, r1) - if is_error(r2) goto L3 else goto L2 -L2: - r3 = load_address _Py_NoneStruct - r4 = load_address _Py_NoneStruct - r5 = __mypyc_self__.throw(r2, r3, r4) - if is_error(r5) goto L3 else goto L11 -L3: - r6 = CPy_CatchError() - r7 = builtins :: module - r8 = 'StopIteration' - r9 = CPyObject_GetAttr(r7, r8) - if is_error(r9) goto L12 else goto L4 -L4: - r10 = (r2, r9) - r11 = box(tuple[object, object], r10) - r12 = CPy_ExceptionMatches(r11) - dec_ref r11 - if r12 goto L5 else goto L13 :: bool -L5: - CPy_RestoreExcInfo(r6) - dec_ref r6 - r13 = load_address _Py_NoneStruct - inc_ref r13 - return r13 -L6: - CPy_Reraise() - if not 0 goto L10 else goto L7 :: bool -L7: - unreachable -L8: - r14 = raise RuntimeError('generator ignored GeneratorExit') - if not r14 goto L10 else goto L9 :: bool -L9: - unreachable -L10: - r15 = :: object - return r15 -L11: - dec_ref r2 - dec_ref r5 - goto L8 -L12: - dec_ref r2 - dec_ref r6 - goto L10 -L13: - dec_ref r6 - goto L6 - -def gatherish_gen.__await__(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ - -def gatherish(coros, name): - coros :: object - name :: union[str, None] - r0 :: object - r1 :: dank_mids.helpers._gather.gatherish_env - r2, r3 :: bool - r4 :: dank_mids.helpers._gather.gatherish_gen - r5, r6 :: bool - r7 :: object -L0: - if is_error(name) goto L1 else goto L10 -L1: - r0 = box(None, 1) - inc_ref r0 - name = r0 -L2: - r1 = gatherish_env() - if is_error(r1) goto L11 (error at gatherish:33) else goto L3 -L3: - inc_ref coros - r1.coros = coros; r2 = is_error - if not r2 goto L12 (error at gatherish:33) else goto L4 :: bool -L4: - r1.name = name; r3 = is_error - if not r3 goto L13 (error at gatherish:33) else goto L5 :: bool -L5: - r4 = gatherish_gen() - if is_error(r4) goto L13 (error at gatherish:33) else goto L6 -L6: - inc_ref r1 - r4.__mypyc_env__ = r1; r5 = is_error - if not r5 goto L14 (error at gatherish:33) else goto L7 :: bool -L7: - r1.__mypyc_next_label__ = 0; r6 = is_error - dec_ref r1 - if not r6 goto L15 (error at gatherish:33) else goto L8 :: bool -L8: - return r4 -L9: - r7 = :: object - return r7 -L10: - inc_ref name - goto L2 -L11: - dec_ref name - goto L9 -L12: - dec_ref name - dec_ref r1 - goto L9 -L13: - dec_ref r1 - goto L9 -L14: - dec_ref r1 - dec_ref r4 - goto L9 -L15: - dec_ref r4 - goto L9 - -def first_completed_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg): - __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen - type, value, traceback, arg, r0, r1, r2, r3 :: object - r4 :: dank_mids.helpers._gather.first_completed_env - r5 :: int - r6 :: object - r7 :: bit - r8 :: bool - r9 :: tuple - r10 :: str - r11 :: object - r12 :: bool - r13 :: object[2] - r14 :: object_ptr - r15, r16, r17 :: object - r18 :: bool - r19, r20, r21, r22, r23 :: object - r24 :: bool - r25 :: object - r26 :: bit - r27 :: tuple[object, object, object] - r28 :: bool - r29 :: object_ptr - r30 :: object - r31, r32 :: bool - r33 :: tuple[object, object, object] - r34 :: bool - r35, r36 :: tuple[object, object, object] - r37 :: bit - r38, r39, r40 :: object - r41 :: tuple[set, set] - r42 :: object - r43 :: bool - r44 :: tuple - r45 :: str - r46 :: object - r47 :: bool - r48 :: object[2] - r49 :: object_ptr - r50, r51, r52 :: object - r53 :: bool - r54, r55, r56, r57, r58 :: object - r59 :: bool - r60 :: object - r61 :: bit - r62 :: tuple[object, object, object] - r63 :: bool - r64 :: object_ptr - r65 :: object - r66, r67 :: bool - r68 :: tuple[object, object, object] - r69 :: bool - r70, r71 :: tuple[object, object, object] - r72 :: bit - r73, r74, r75 :: object - r76 :: tuple[set, set] - r77, r78 :: set - r79 :: bool - r80, r81 :: set - r82 :: bool - r83 :: set - r84 :: object - r85, r86 :: bool - r87, r88 :: object - r89 :: bool - r90 :: object - r91 :: str - r92 :: object[1] - r93 :: object_ptr - r94 :: object - r95 :: bit - r96 :: set - r97 :: bool - r98, r99, r100 :: bit - r101 :: bool - r102 :: object -L0: - r0 = :: object - r1 = r0 - r2 = :: object - r3 = r2 - r4 = __mypyc_self__.__mypyc_env__ - if is_error(r4) goto L115 (error at first_completed:74) else goto L1 -L1: - r5 = r4.__mypyc_next_label__ - if is_error(r5) goto L116 (error at first_completed:74) else goto L109 -L2: - r6 = load_address _Py_NoneStruct - r7 = type != r6 - if r7 goto L117 else goto L5 :: bool -L3: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L114 (error at first_completed:74) else goto L4 :: bool -L4: - unreachable -L5: - r8 = r4.cancel - if is_error(r8) goto L116 (error at first_completed:77) else goto L6 -L6: - if r8 goto L118 else goto L119 :: bool -L7: - r9 = r4.fs - if is_error(r9) goto L120 (error at first_completed:78) else goto L8 -L8: - r10 = 'FIRST_COMPLETED' - r11 = dank_mids.helpers._gather.wait :: static - if is_error(r11) goto L121 else goto L11 -L9: - r12 = raise NameError('value for final name "wait" was not set') - if not r12 goto L114 (error at first_completed:78) else goto L10 :: bool -L10: - unreachable -L11: - r13 = [r9, r10] - r14 = load_address r13 - r15 = ('return_when',) - r16 = _PyObject_Vectorcall(r11, r14, 1, r15) - if is_error(r16) goto L122 (error at first_completed:78) else goto L12 -L12: - dec_ref r9 - r17 = CPy_GetCoro(r16) - dec_ref r16 - if is_error(r17) goto L120 (error at first_completed:78) else goto L13 -L13: - r4.__mypyc_temp__17 = r17; r18 = is_error - if not r18 goto L120 (error at first_completed:-1) else goto L14 :: bool -L14: - r19 = r4.__mypyc_temp__17 - if is_error(r19) goto L120 (error at first_completed:-1) else goto L15 -L15: - r20 = CPyIter_Next(r19) - dec_ref r19 - if is_error(r20) goto L123 else goto L18 -L16: - r21 = CPy_FetchStopIterationValue() - if is_error(r21) goto L124 (error at first_completed:78) else goto L17 -L17: - r22 = r21 - goto L47 -L18: - r23 = r20 -L19: - r4.__mypyc_next_label__ = 2; r24 = is_error - if not r24 goto L125 (error at first_completed:78) else goto L126 :: bool -L20: - return r23 -L21: - r25 = load_address _Py_NoneStruct - r26 = type != r25 - if r26 goto L22 else goto L24 :: bool -L22: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L25 (error at first_completed:78) else goto L127 :: bool -L23: - unreachable -L24: - inc_ref arg - goto L42 -L25: - r27 = CPy_CatchError() - r4.__mypyc_temp__18 = r27; r28 = is_error - if not r28 goto L128 (error at first_completed:-1) else goto L26 :: bool -L26: - r29 = load_address r1 - r30 = r4.__mypyc_temp__17 - if is_error(r30) goto L128 (error at first_completed:-1) else goto L27 -L27: - r31 = CPy_YieldFromErrorHandle(r30, r29) - dec_ref r30 - if is_error(r31) goto L128 (error at first_completed:78) else goto L28 -L28: - if r31 goto L34 else goto L29 :: bool -L29: - if is_error(r1) goto L30 else goto L32 -L30: - r32 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r32 goto L39 (error at first_completed:-1) else goto L129 :: bool -L31: - unreachable -L32: - inc_ref r1 - r23 = r1 - r33 = r4.__mypyc_temp__18 - if is_error(r33) goto L130 (error at first_completed:-1) else goto L33 -L33: - CPy_RestoreExcInfo(r33) - dec_ref r33 - goto L19 -L34: - if is_error(r1) goto L35 else goto L37 -L35: - r34 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r34 goto L39 (error at first_completed:-1) else goto L131 :: bool -L36: - unreachable -L37: - r22 = r1 - r35 = r4.__mypyc_temp__18 - if is_error(r35) goto L132 (error at first_completed:-1) else goto L38 -L38: - CPy_RestoreExcInfo(r35) - dec_ref r35 - goto L47 -L39: - r36 = r4.__mypyc_temp__18 - dec_ref r4 - if is_error(r36) goto L114 (error at first_completed:-1) else goto L40 -L40: - CPy_RestoreExcInfo(r36) - dec_ref r36 - r37 = CPy_KeepPropagating() - if not r37 goto L114 else goto L41 :: bool -L41: - unreachable -L42: - r38 = r4.__mypyc_temp__17 - if is_error(r38) goto L133 (error at first_completed:-1) else goto L43 -L43: - r39 = CPyIter_Send(r38, arg) - dec_ref r38 - dec_ref arg - if is_error(r39) goto L134 else goto L44 -L44: - r23 = r39 - goto L19 -L45: - r40 = CPy_FetchStopIterationValue() - if is_error(r40) goto L124 (error at first_completed:78) else goto L46 -L46: - r22 = r40 -L47: - r41 = unbox(tuple[set, set], r22) - dec_ref r22 - if is_error(r41) goto L124 (error at first_completed:78) else goto L48 -L48: - r42 = box(tuple[set, set], r41) - r4.__mypyc_next_label__ = -2; r43 = is_error - dec_ref r4 - if not r43 goto L135 (error at first_completed:78) else goto L49 :: bool -L49: - CPyGen_SetStopIterationValue(r42) - dec_ref r42 - if not 0 goto L114 else goto L50 :: bool -L50: - unreachable -L51: - r44 = r4.fs - if is_error(r44) goto L136 (error at first_completed:79) else goto L52 -L52: - r45 = 'FIRST_COMPLETED' - r46 = dank_mids.helpers._gather.wait :: static - if is_error(r46) goto L137 else goto L55 -L53: - r47 = raise NameError('value for final name "wait" was not set') - if not r47 goto L114 (error at first_completed:79) else goto L54 :: bool -L54: - unreachable -L55: - r48 = [r44, r45] - r49 = load_address r48 - r50 = ('return_when',) - r51 = _PyObject_Vectorcall(r46, r49, 1, r50) - if is_error(r51) goto L138 (error at first_completed:79) else goto L56 -L56: - dec_ref r44 - r52 = CPy_GetCoro(r51) - dec_ref r51 - if is_error(r52) goto L136 (error at first_completed:79) else goto L57 -L57: - r4.__mypyc_temp__19 = r52; r53 = is_error - if not r53 goto L136 (error at first_completed:-1) else goto L58 :: bool -L58: - r54 = r4.__mypyc_temp__19 - if is_error(r54) goto L136 (error at first_completed:-1) else goto L59 -L59: - r55 = CPyIter_Next(r54) - dec_ref r54 - if is_error(r55) goto L139 else goto L62 -L60: - r56 = CPy_FetchStopIterationValue() - if is_error(r56) goto L124 (error at first_completed:79) else goto L61 -L61: - r57 = r56 - goto L91 -L62: - r58 = r55 -L63: - r4.__mypyc_next_label__ = 4; r59 = is_error - if not r59 goto L140 (error at first_completed:79) else goto L141 :: bool -L64: - return r58 -L65: - r60 = load_address _Py_NoneStruct - r61 = type != r60 - if r61 goto L66 else goto L68 :: bool -L66: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L69 (error at first_completed:79) else goto L142 :: bool -L67: - unreachable -L68: - inc_ref arg - goto L86 -L69: - r62 = CPy_CatchError() - r4.__mypyc_temp__20 = r62; r63 = is_error - if not r63 goto L143 (error at first_completed:-1) else goto L70 :: bool -L70: - r64 = load_address r3 - r65 = r4.__mypyc_temp__19 - if is_error(r65) goto L143 (error at first_completed:-1) else goto L71 -L71: - r66 = CPy_YieldFromErrorHandle(r65, r64) - dec_ref r65 - if is_error(r66) goto L143 (error at first_completed:79) else goto L72 -L72: - if r66 goto L78 else goto L73 :: bool -L73: - if is_error(r3) goto L74 else goto L76 -L74: - r67 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r67 goto L83 (error at first_completed:-1) else goto L144 :: bool -L75: - unreachable -L76: - inc_ref r3 - r58 = r3 - r68 = r4.__mypyc_temp__20 - if is_error(r68) goto L145 (error at first_completed:-1) else goto L77 -L77: - CPy_RestoreExcInfo(r68) - dec_ref r68 - goto L63 -L78: - if is_error(r3) goto L79 else goto L81 -L79: - r69 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r69 goto L83 (error at first_completed:-1) else goto L146 :: bool -L80: - unreachable -L81: - r57 = r3 - r70 = r4.__mypyc_temp__20 - if is_error(r70) goto L147 (error at first_completed:-1) else goto L82 -L82: - CPy_RestoreExcInfo(r70) - dec_ref r70 - goto L91 -L83: - r71 = r4.__mypyc_temp__20 - dec_ref r4 - if is_error(r71) goto L114 (error at first_completed:-1) else goto L84 -L84: - CPy_RestoreExcInfo(r71) - dec_ref r71 - r72 = CPy_KeepPropagating() - if not r72 goto L114 else goto L85 :: bool -L85: - unreachable -L86: - r73 = r4.__mypyc_temp__19 - if is_error(r73) goto L148 (error at first_completed:-1) else goto L87 -L87: - r74 = CPyIter_Send(r73, arg) - dec_ref r73 - dec_ref arg - if is_error(r74) goto L149 else goto L88 -L88: - r58 = r74 - goto L63 -L89: - r75 = CPy_FetchStopIterationValue() - if is_error(r75) goto L124 (error at first_completed:79) else goto L90 -L90: - r57 = r75 -L91: - r76 = unbox(tuple[set, set], r57) - dec_ref r57 - if is_error(r76) goto L124 (error at first_completed:79) else goto L92 -L92: - r77 = borrow r76[0] - r78 = unborrow r77 - r4.done = r78; r79 = is_error - if not r79 goto L150 (error at first_completed:79) else goto L93 :: bool -L93: - r80 = borrow r76[1] - r81 = unborrow r80 - r4.pending = r81; r82 = is_error - if not r82 goto L150 (error at first_completed:79) else goto L94 :: bool -L94: - r83 = r4.pending - if is_error(r83) goto L124 (error at first_completed:80) else goto L95 -L95: - r84 = PyObject_GetIter(r83) - if is_error(r84) goto L151 (error at first_completed:80) else goto L96 -L96: - r4.__mypyc_temp__21 = r83; r85 = is_error - if not r85 goto L152 (error at first_completed:-1) else goto L97 :: bool -L97: - r4.__mypyc_temp__22 = r84; r86 = is_error - if not r86 goto L124 (error at first_completed:-1) else goto L98 :: bool -L98: - r87 = r4.__mypyc_temp__22 - if is_error(r87) goto L124 (error at first_completed:80) else goto L99 -L99: - r88 = PyIter_Next(r87) - dec_ref r87 - if is_error(r88) goto L104 else goto L100 -L100: - r4.p = r88; r89 = is_error - if not r89 goto L124 (error at first_completed:80) else goto L101 :: bool -L101: - r90 = r4.p - if is_error(r90) goto L124 (error at first_completed:81) else goto L102 -L102: - r91 = 'cancel' - r92 = [r90] - r93 = load_address r92 - r94 = PyObject_VectorcallMethod(r91, r93, 9223372036854775809, 0) - if is_error(r94) goto L153 (error at first_completed:81) else goto L154 -L103: - dec_ref r90 - goto L98 -L104: - r95 = CPy_NoErrOccurred() - if not r95 goto L124 (error at first_completed:80) else goto L105 :: bool -L105: - r96 = r4.done - if is_error(r96) goto L124 (error at first_completed:82) else goto L106 -L106: - r4.__mypyc_next_label__ = -2; r97 = is_error - dec_ref r4 - if not r97 goto L155 (error at first_completed:82) else goto L107 :: bool -L107: - CPyGen_SetStopIterationValue(r96) - dec_ref r96 - if not 0 goto L114 else goto L108 :: bool -L108: - unreachable -L109: - r98 = r5 == 0 - if r98 goto L156 else goto L110 :: bool -L110: - r99 = r5 == 2 - if r99 goto L157 else goto L158 :: bool -L111: - r100 = r5 == 4 - dec_ref r5 :: int - if r100 goto L65 else goto L159 :: bool -L112: - r101 = raise StopIteration - if not r101 goto L114 (error at first_completed:74) else goto L113 :: bool -L113: - unreachable -L114: - r102 = :: object - return r102 -L115: - xdec_ref r1 - xdec_ref r3 - goto L114 -L116: - xdec_ref r1 - xdec_ref r3 - dec_ref r4 - goto L114 -L117: - xdec_ref r1 - xdec_ref r3 - dec_ref r4 - goto L3 -L118: - xdec_ref r1 - goto L51 -L119: - xdec_ref r3 - goto L7 -L120: - xdec_ref r1 - dec_ref r4 - goto L114 -L121: - xdec_ref r1 - dec_ref r4 - dec_ref r9 - goto L9 -L122: - xdec_ref r1 - dec_ref r4 - dec_ref r9 - goto L114 -L123: - xdec_ref r1 - goto L16 -L124: - dec_ref r4 - goto L114 -L125: - dec_ref r23 - goto L25 -L126: - xdec_ref r1 - dec_ref r4 - goto L20 -L127: - xdec_ref r1 - dec_ref r4 - goto L23 -L128: - xdec_ref r1 - goto L39 -L129: - dec_ref r4 - goto L31 -L130: - xdec_ref r1 - dec_ref r23 - goto L39 -L131: - dec_ref r4 - goto L36 -L132: - dec_ref r22 - goto L39 -L133: - xdec_ref r1 - dec_ref r4 - dec_ref arg - goto L114 -L134: - xdec_ref r1 - goto L45 -L135: - dec_ref r42 - goto L114 -L136: - xdec_ref r3 - dec_ref r4 - goto L114 -L137: - xdec_ref r3 - dec_ref r4 - dec_ref r44 - goto L53 -L138: - xdec_ref r3 - dec_ref r4 - dec_ref r44 - goto L114 -L139: - xdec_ref r3 - goto L60 -L140: - dec_ref r58 - goto L69 -L141: - xdec_ref r3 - dec_ref r4 - goto L64 -L142: - xdec_ref r3 - dec_ref r4 - goto L67 -L143: - xdec_ref r3 - goto L83 -L144: - dec_ref r4 - goto L75 -L145: - xdec_ref r3 - dec_ref r58 - goto L83 -L146: - dec_ref r4 - goto L80 -L147: - dec_ref r57 - goto L83 -L148: - xdec_ref r3 - dec_ref r4 - dec_ref arg - goto L114 -L149: - xdec_ref r3 - goto L89 -L150: - dec_ref r4 - dec_ref r76 - goto L114 -L151: - dec_ref r4 - dec_ref r83 - goto L114 -L152: - dec_ref r4 - dec_ref r84 - goto L114 -L153: - dec_ref r4 - dec_ref r90 - goto L114 -L154: - dec_ref r94 - goto L103 -L155: - dec_ref r96 - goto L114 -L156: - dec_ref r5 :: int - goto L2 -L157: - xdec_ref r3 - dec_ref r5 :: int - goto L21 -L158: - xdec_ref r1 - goto L111 -L159: - xdec_ref r3 - dec_ref r4 - goto L112 - -def first_completed_gen.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen - r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = first_completed_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def first_completed_gen.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen - arg, r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = first_completed_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def first_completed_gen.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ - -def first_completed_gen.throw(__mypyc_self__, type, value, traceback): - __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen - type, value, traceback, r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - if is_error(value) goto L1 else goto L7 -L1: - inc_ref r0 - value = r0 -L2: - if is_error(traceback) goto L3 else goto L8 -L3: - inc_ref r0 - traceback = r0 -L4: - r1 = first_completed_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0) - dec_ref value - dec_ref traceback - if is_error(r1) goto L6 else goto L5 -L5: - return r1 -L6: - r2 = :: object - return r2 -L7: - inc_ref value - goto L2 -L8: - inc_ref traceback - goto L4 - -def first_completed_gen.close(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen - r0 :: object - r1 :: str - r2, r3, r4, r5 :: object - r6 :: tuple[object, object, object] - r7 :: object - r8 :: str - r9 :: object - r10 :: tuple[object, object] - r11 :: object - r12 :: bit - r13 :: object - r14 :: bool - r15 :: object -L0: -L1: - r0 = builtins :: module - r1 = 'GeneratorExit' - r2 = CPyObject_GetAttr(r0, r1) - if is_error(r2) goto L3 else goto L2 -L2: - r3 = load_address _Py_NoneStruct - r4 = load_address _Py_NoneStruct - r5 = __mypyc_self__.throw(r2, r3, r4) - if is_error(r5) goto L3 else goto L11 -L3: - r6 = CPy_CatchError() - r7 = builtins :: module - r8 = 'StopIteration' - r9 = CPyObject_GetAttr(r7, r8) - if is_error(r9) goto L12 else goto L4 -L4: - r10 = (r2, r9) - r11 = box(tuple[object, object], r10) - r12 = CPy_ExceptionMatches(r11) - dec_ref r11 - if r12 goto L5 else goto L13 :: bool -L5: - CPy_RestoreExcInfo(r6) - dec_ref r6 - r13 = load_address _Py_NoneStruct - inc_ref r13 - return r13 -L6: - CPy_Reraise() - if not 0 goto L10 else goto L7 :: bool -L7: - unreachable -L8: - r14 = raise RuntimeError('generator ignored GeneratorExit') - if not r14 goto L10 else goto L9 :: bool -L9: - unreachable -L10: - r15 = :: object - return r15 -L11: - dec_ref r2 - dec_ref r5 - goto L8 -L12: - dec_ref r2 - dec_ref r6 - goto L10 -L13: - dec_ref r6 - goto L6 - -def first_completed_gen.__await__(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ - -def first_completed(fs, cancel): - fs :: tuple - cancel :: bool - r0 :: dank_mids.helpers._gather.first_completed_env - r1, r2 :: bool - r3 :: dank_mids.helpers._gather.first_completed_gen - r4, r5 :: bool - r6 :: object -L0: - if is_error(cancel) goto L1 else goto L2 -L1: - cancel = 0 -L2: - r0 = first_completed_env() - if is_error(r0) goto L9 (error at first_completed:74) else goto L3 -L3: - inc_ref fs - r0.fs = fs; r1 = is_error - if not r1 goto L10 (error at first_completed:74) else goto L4 :: bool -L4: - r0.cancel = cancel; r2 = is_error - if not r2 goto L10 (error at first_completed:74) else goto L5 :: bool -L5: - r3 = first_completed_gen() - if is_error(r3) goto L10 (error at first_completed:74) else goto L6 -L6: - inc_ref r0 - r3.__mypyc_env__ = r0; r4 = is_error - if not r4 goto L11 (error at first_completed:74) else goto L7 :: bool -L7: - r0.__mypyc_next_label__ = 0; r5 = is_error - dec_ref r0 - if not r5 goto L12 (error at first_completed:74) else goto L8 :: bool -L8: - return r3 -L9: - r6 = :: object - return r6 -L10: - dec_ref r0 - goto L9 -L11: - dec_ref r0 - dec_ref r3 - goto L9 -L12: - dec_ref r3 - goto L9 - -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4 :: object - r5 :: object_ptr - r6 :: object_ptr[1] - r7 :: c_ptr - r8 :: native_int[1] - r9 :: c_ptr - r10 :: object - r11 :: dict - r12, r13 :: str - r14 :: bit - r15 :: object - r16 :: str - r17 :: dict - r18 :: object - r19 :: object_ptr - r20 :: object_ptr[1] - r21 :: c_ptr - r22 :: native_int[1] - r23 :: c_ptr - r24 :: object - r25 :: dict - r26, r27 :: str - r28 :: bit - r29 :: str - r30 :: dict - r31 :: str - r32 :: object - r33 :: object[1] - r34 :: object_ptr - r35 :: object - r36 :: dict - r37 :: str - r38 :: i32 - r39 :: bit - r40 :: dict - r41 :: str - r42 :: object - r43 :: str - r44 :: object - r45 :: dict - r46 :: str - r47 :: i32 - r48 :: bit - r49 :: dict - r50 :: str - r51 :: object - r52 :: str - r53 :: object - r54 :: dict - r55 :: str - r56 :: i32 - r57 :: bit - r58 :: object - r59 :: str - r60 :: object - r61 :: dict - r62 :: str - r63 :: i32 - r64 :: bit - r65 :: object - r66 :: str - r67 :: object - r68 :: dict - r69 :: str - r70 :: i32 - r71 :: bit - r72 :: object - r73 :: str - r74 :: object - r75 :: dict - r76 :: str - r77 :: i32 - r78 :: bit - r79 :: dict - r80 :: str - r81 :: object - r82 :: str - r83 :: object - r84 :: str - r85 :: object - r86 :: dict - r87 :: str - r88 :: i32 - r89 :: bit - r90 :: None -L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool -L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L26 (error at :-1) else goto L2 -L2: - builtins = r4 :: module - dec_ref r4 -L3: - r5 = load_address asyncio :: module - r6 = [r5] - r7 = load_address r6 - r8 = [1] - r9 = load_address r8 - r10 = (('asyncio', 'asyncio', 'asyncio'),) - r11 = dank_mids.helpers._gather.globals :: static - r12 = 'dank_mids\\helpers\\_gather.py' - r13 = '' - r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) - if not r14 goto L26 else goto L4 :: bool -L4: - r15 = ('Coroutine', 'Final', 'Iterable', 'Literal', 'Optional', 'Set', 'Tuple', 'TypeVar', 'Union', 'overload') - r16 = 'typing' - r17 = dank_mids.helpers._gather.globals :: static - r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) - if is_error(r18) goto L26 (error at :2) else goto L5 -L5: - typing = r18 :: module - dec_ref r18 - r19 = load_address a_sync.asyncio :: module - r20 = [r19] - r21 = load_address r20 - r22 = [15] - r23 = load_address r22 - r24 = (('a_sync.asyncio', 'a_sync', 'a_sync'),) - r25 = dank_mids.helpers._gather.globals :: static - r26 = 'dank_mids\\helpers\\_gather.py' - r27 = '' - r28 = CPyImport_ImportMany(r24, r21, r25, r26, r27, r23) - if not r28 goto L26 else goto L6 :: bool -L6: - r29 = '__T' - r30 = dank_mids.helpers._gather.globals :: static - r31 = 'TypeVar' - r32 = CPyDict_GetItem(r30, r31) - if is_error(r32) goto L26 (error at :18) else goto L7 -L7: - r33 = [r29] - r34 = load_address r33 - r35 = _PyObject_Vectorcall(r32, r34, 1, 0) - dec_ref r32 - if is_error(r35) goto L26 (error at :18) else goto L8 -L8: - r36 = dank_mids.helpers._gather.globals :: static - r37 = '__T' - r38 = CPyDict_SetItem(r36, r37, r35) - dec_ref r35 - r39 = r38 >= 0 :: signed - if not r39 goto L26 (error at :18) else goto L9 :: bool -L9: - r40 = dank_mids.helpers._gather.globals :: static - r41 = 'Set' - r42 = CPyDict_GetItem(r40, r41) - if is_error(r42) goto L26 (error at :20) else goto L10 -L10: - r43 = 'asyncio.Future[__T]' - r44 = PyObject_GetItem(r42, r43) - dec_ref r42 - if is_error(r44) goto L26 (error at :20) else goto L11 -L11: - r45 = dank_mids.helpers._gather.globals :: static - r46 = 'FinishedTasks' - r47 = CPyDict_SetItem(r45, r46, r44) - dec_ref r44 - r48 = r47 >= 0 :: signed - if not r48 goto L26 (error at :20) else goto L12 :: bool -L12: - r49 = dank_mids.helpers._gather.globals :: static - r50 = 'Set' - r51 = CPyDict_GetItem(r49, r50) - if is_error(r51) goto L26 (error at :21) else goto L13 -L13: - r52 = 'asyncio.Future[__T]' - r53 = PyObject_GetItem(r51, r52) - dec_ref r51 - if is_error(r53) goto L26 (error at :21) else goto L14 -L14: - r54 = dank_mids.helpers._gather.globals :: static - r55 = 'PendingTasks' - r56 = CPyDict_SetItem(r54, r55, r53) - dec_ref r53 - r57 = r56 >= 0 :: signed - if not r57 goto L26 (error at :21) else goto L15 :: bool -L15: - r58 = asyncio :: module - r59 = 'Task' - r60 = CPyObject_GetAttr(r58, r59) - if is_error(r60) goto L26 (error at :25) else goto L16 -L16: - dank_mids.helpers._gather.Task = r60 :: static - r61 = dank_mids.helpers._gather.globals :: static - r62 = 'Task' - r63 = CPyDict_SetItem(r61, r62, r60) - dec_ref r60 - r64 = r63 >= 0 :: signed - if not r64 goto L26 (error at :25) else goto L17 :: bool -L17: - r65 = asyncio :: module - r66 = 'get_running_loop' - r67 = CPyObject_GetAttr(r65, r66) - if is_error(r67) goto L26 (error at :26) else goto L18 -L18: - dank_mids.helpers._gather.get_running_loop = r67 :: static - r68 = dank_mids.helpers._gather.globals :: static - r69 = 'get_running_loop' - r70 = CPyDict_SetItem(r68, r69, r67) - dec_ref r67 - r71 = r70 >= 0 :: signed - if not r71 goto L26 (error at :26) else goto L19 :: bool -L19: - r72 = asyncio :: module - r73 = 'wait' - r74 = CPyObject_GetAttr(r72, r73) - if is_error(r74) goto L26 (error at :27) else goto L20 -L20: - dank_mids.helpers._gather.wait = r74 :: static - r75 = dank_mids.helpers._gather.globals :: static - r76 = 'wait' - r77 = CPyDict_SetItem(r75, r76, r74) - dec_ref r74 - r78 = r77 >= 0 :: signed - if not r78 goto L26 (error at :27) else goto L21 :: bool -L21: - r79 = dank_mids.helpers._gather.globals :: static - r80 = 'a_sync' - r81 = CPyDict_GetItem(r79, r80) - if is_error(r81) goto L26 (error at :30) else goto L22 -L22: - r82 = 'asyncio' - r83 = CPyObject_GetAttr(r81, r82) - dec_ref r81 - if is_error(r83) goto L26 (error at :30) else goto L23 -L23: - r84 = 'sleep0' - r85 = CPyObject_GetAttr(r83, r84) - dec_ref r83 - if is_error(r85) goto L26 (error at :30) else goto L24 -L24: - dank_mids.helpers._gather.yield_to_loop = r85 :: static - r86 = dank_mids.helpers._gather.globals :: static - r87 = 'yield_to_loop' - r88 = CPyDict_SetItem(r86, r87, r85) - dec_ref r85 - r89 = r88 >= 0 :: signed - if not r89 goto L26 (error at :30) else goto L25 :: bool -L25: - return 1 -L26: - r90 = :: None - return r90 - -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4, r5 :: object - r6 :: str - r7 :: dict - r8, r9 :: object - r10 :: str - r11 :: dict - r12 :: object - r13, r14 :: object_ptr - r15 :: object_ptr[2] - r16 :: c_ptr - r17 :: native_int[2] - r18 :: c_ptr - r19 :: object - r20 :: dict - r21, r22 :: str - r23 :: bit - r24 :: object - r25 :: str - r26 :: dict - r27, r28 :: object - r29 :: str - r30 :: dict - r31, r32 :: object - r33 :: str - r34 :: dict - r35, r36 :: object - r37 :: str - r38 :: dict - r39, r40 :: object - r41 :: str - r42 :: dict - r43 :: object - r44 :: str - r45 :: object - r46 :: bool - r47 :: object[1] - r48 :: object_ptr - r49 :: object - r50 :: dict - r51 :: str - r52 :: i32 - r53 :: bit - r54 :: dict - r55 :: str - r56 :: object - r57 :: str - r58 :: object - r59 :: str - r60 :: object - r61 :: i32 - r62 :: bit - r63 :: bool - r64 :: object - r65 :: bool - r66 :: str - r67 :: object[1] - r68 :: object_ptr - r69 :: object - r70 :: bool - r71 :: object - r72 :: bool - r73 :: dict - r74 :: str - r75, r76 :: object - r77 :: str - r78 :: object[2] - r79 :: object_ptr - r80, r81 :: object - r82 :: bool - r83 :: int - r84 :: bool - r85 :: str - r86 :: object - r87 :: object[2] - r88 :: object_ptr - r89 :: object - r90 :: bool - r91 :: object - r92 :: bool - r93 :: int - r94 :: bool - r95 :: str - r96 :: object - r97 :: object[2] - r98 :: object_ptr - r99, r100 :: object - r101 :: bool - r102, r103 :: str - r104 :: object[2] - r105 :: object_ptr - r106 :: object - r107 :: str - r108 :: dict - r109 :: str - r110 :: object - r111 :: str - r112 :: object - r113 :: bool - r114 :: object - r115 :: object[4] - r116 :: object_ptr - r117, r118 :: object - r119 :: dict - r120 :: str - r121 :: i32 - r122 :: bit - r123 :: str - r124, r125 :: object - r126 :: bool - r127 :: object - r128 :: object[3] - r129 :: object_ptr - r130, r131 :: object - r132 :: dict - r133 :: str - r134 :: i32 - r135 :: bit - r136 :: str - r137, r138 :: object - r139 :: bool - r140 :: object - r141 :: object[3] - r142 :: object_ptr - r143, r144 :: object - r145 :: dict - r146 :: str - r147 :: i32 - r148 :: bit - r149 :: str - r150, r151 :: object - r152 :: bool - r153 :: object - r154 :: object[3] - r155 :: object_ptr - r156, r157 :: object - r158 :: dict - r159 :: str - r160 :: i32 - r161 :: bit - r162 :: str - r163, r164 :: object - r165 :: bool - r166 :: object - r167 :: object[3] - r168 :: object_ptr - r169, r170 :: object - r171 :: dict - r172 :: str - r173 :: i32 - r174 :: bit - r175 :: object - r176 :: bool - r177 :: str - r178 :: object - r179 :: str - r180, r181 :: object - r182 :: object[5] - r183 :: object_ptr - r184, r185 :: object - r186 :: dict - r187 :: str - r188 :: i32 - r189 :: bit - r190 :: str - r191, r192 :: object - r193 :: bool - r194 :: i32 - r195 :: bit - r196 :: bool - r197 :: object - r198 :: bool - r199, r200 :: object - r201 :: object[4] - r202 :: object_ptr - r203, r204 :: object - r205 :: dict - r206 :: str - r207 :: i32 - r208 :: bit - r209 :: object - r210 :: bool - r211 :: str - r212 :: object - r213 :: str - r214, r215 :: object - r216 :: object[5] - r217 :: object_ptr - r218, r219 :: object - r220 :: dict - r221 :: str - r222 :: i32 - r223 :: bit - r224 :: str - r225, r226 :: object - r227 :: bool - r228 :: i32 - r229 :: bit - r230 :: bool - r231 :: object - r232 :: bool - r233 :: object - r234 :: object[3] - r235 :: object_ptr - r236, r237 :: object - r238 :: dict - r239 :: str - r240 :: i32 - r241 :: bit - r242 :: str - r243, r244 :: object - r245 :: bool - r246 :: object - r247 :: object[3] - r248 :: object_ptr - r249, r250 :: object - r251 :: dict - r252 :: str - r253 :: i32 - r254 :: bit - r255 :: object - r256 :: bool - r257 :: str - r258 :: object - r259 :: str - r260, r261 :: object - r262 :: object[5] - r263 :: object_ptr - r264, r265 :: object - r266 :: dict - r267 :: str - r268 :: i32 - r269 :: bit - r270 :: str - r271 :: dict - r272 :: str - r273, r274 :: object - r275 :: bool - r276 :: object - r277 :: bool - r278 :: str - r279 :: object - r280 :: i32 - r281 :: bit - r282 :: bool - r283 :: object - r284 :: bool - r285 :: object - r286 :: object[4] - r287 :: object_ptr - r288, r289 :: object - r290 :: dict - r291 :: str - r292 :: i32 - r293 :: bit - r294 :: str - r295 :: dict - r296 :: str - r297, r298 :: object - r299 :: bool - r300 :: str - r301, r302, r303, r304 :: object - r305 :: bool - r306 :: str - r307 :: object - r308 :: i32 - r309 :: bit - r310 :: bool - r311 :: object - r312 :: bool - r313 :: object - r314 :: object[4] - r315 :: object_ptr - r316, r317 :: object - r318 :: dict - r319 :: str - r320 :: i32 - r321 :: bit - r322 :: str - r323 :: dict - r324 :: str - r325, r326 :: object - r327 :: bool - r328 :: str - r329 :: object - r330 :: i32 - r331 :: bit - r332 :: bool - r333 :: int - r334 :: object - r335 :: bool - r336 :: str - r337 :: object - r338 :: i32 - r339 :: bit - r340 :: bool - r341 :: object - r342 :: bool - r343, r344 :: object - r345 :: object[4] - r346 :: object_ptr - r347, r348 :: object - r349 :: dict - r350 :: str - r351 :: i32 - r352 :: bit - r353 :: str - r354 :: dict - r355 :: str - r356, r357 :: object - r358 :: bool - r359 :: str - r360 :: object - r361 :: i32 - r362 :: bit - r363 :: bool - r364 :: int - r365 :: object - r366 :: bool - r367 :: str - r368 :: object - r369 :: i32 - r370 :: bit - r371 :: bool - r372 :: object - r373 :: bool - r374, r375 :: object - r376 :: object[4] - r377 :: object_ptr - r378, r379 :: object - r380 :: dict - r381 :: str - r382 :: i32 - r383 :: bit - r384 :: str - r385 :: dict - r386 :: str - r387, r388 :: object - r389 :: bool - r390 :: str - r391 :: object - r392 :: i32 - r393 :: bit - r394 :: bool - r395 :: int - r396 :: object - r397 :: bool - r398 :: str - r399 :: object - r400 :: i32 - r401 :: bit - r402 :: bool - r403 :: object - r404 :: bool - r405, r406 :: object - r407 :: object[4] - r408 :: object_ptr - r409, r410 :: object - r411 :: dict - r412 :: str - r413 :: i32 - r414 :: bit - r415 :: str - r416, r417 :: object - r418 :: bool - r419 :: str - r420 :: object - r421 :: i32 - r422 :: bit - r423 :: bool - r424 :: int - r425 :: object - r426 :: bool - r427 :: str - r428 :: object - r429 :: i32 - r430 :: bit - r431 :: bool - r432 :: object - r433 :: bool - r434, r435 :: object - r436 :: object[4] - r437 :: object_ptr - r438, r439 :: object - r440 :: dict - r441 :: str - r442 :: i32 - r443 :: bit - r444 :: str - r445, r446 :: object - r447 :: bool - r448, r449 :: object - r450 :: object[4] - r451 :: object_ptr - r452, r453 :: object - r454 :: dict - r455 :: str - r456 :: i32 - r457 :: bit - r458 :: str - r459, r460 :: object - r461 :: bool - r462, r463 :: object - r464 :: object[4] - r465 :: object_ptr - r466, r467 :: object - r468 :: dict - r469 :: str - r470 :: i32 - r471 :: bit - r472 :: str - r473, r474 :: object - r475 :: bool - r476, r477 :: object - r478 :: object[4] - r479 :: object_ptr - r480, r481 :: object - r482 :: dict - r483 :: str - r484 :: i32 - r485 :: bit - r486 :: str - r487, r488 :: object - r489 :: bool - r490 :: object - r491 :: bool - r492 :: i32 - r493 :: bit - r494 :: bool - r495 :: object - r496 :: bool - r497 :: object - r498 :: object[4] - r499 :: object_ptr - r500, r501 :: object - r502 :: dict - r503 :: str - r504 :: i32 - r505 :: bit - r506 :: str - r507, r508 :: object - r509 :: bool - r510 :: object - r511 :: object[3] - r512 :: object_ptr - r513, r514 :: object - r515 :: dict - r516 :: str - r517 :: i32 - r518 :: bit - r519, r520 :: str - r521 :: dict - r522 :: str - r523, r524 :: object - r525 :: bool - r526 :: str - r527, r528 :: object - r529 :: bool - r530 :: object - r531 :: object[4] - r532 :: object_ptr - r533, r534 :: object - r535, r536 :: str - r537 :: dict - r538 :: str - r539 :: object - r540 :: str - r541, r542 :: object - r543 :: bool - r544, r545 :: object - r546 :: object[4] - r547 :: object_ptr - r548, r549 :: object - r550, r551 :: str - r552 :: dict - r553 :: str - r554 :: object - r555 :: str - r556, r557 :: object - r558 :: bool - r559, r560 :: object - r561 :: object[4] - r562 :: object_ptr - r563, r564 :: object - r565, r566 :: dict - r567 :: str - r568 :: i32 - r569 :: bit - r570 :: dict - r571 :: str - r572 :: object - r573 :: str - r574 :: object - r575 :: str - r576 :: object - r577 :: i32 - r578 :: bit - r579 :: bool - r580 :: object - r581 :: bool - r582, r583 :: str - r584 :: object[2] - r585 :: object_ptr - r586, r587 :: object - r588 :: bool - r589, r590 :: str - r591 :: object[2] - r592 :: object_ptr - r593, r594 :: object - r595 :: bool - r596 :: str - r597 :: object - r598 :: i32 - r599 :: bit - r600 :: bool - r601 :: object - r602 :: bool - r603, r604 :: str - r605 :: object[2] - r606 :: object_ptr - r607, r608 :: object - r609 :: bool - r610 :: str - r611 :: object - r612 :: i32 - r613 :: bit - r614 :: bool - r615 :: dict - r616 :: str - r617 :: object - r618 :: dict - r619 :: str - r620 :: object - r621 :: dict - r622 :: str - r623 :: object - r624 :: set - r625 :: i32 - r626 :: bit - r627 :: i32 - r628 :: bit - r629 :: i32 - r630 :: bit - r631, r632 :: object - r633 :: dict - r634 :: str - r635 :: i32 - r636 :: bit - r637 :: dict - r638 :: str - r639 :: object - r640 :: str - r641 :: object - r642 :: i32 - r643 :: bit - r644 :: bool - r645 :: str - r646 :: dict - r647 :: str - r648 :: object - r649 :: str - r650 :: object - r651, r652, r653 :: str - r654 :: object - r655 :: str - r656 :: object - r657 :: object[1] - r658 :: object_ptr - r659 :: object - r660 :: bit - r661 :: None -L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool -L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L332 (error at :-1) else goto L2 -L2: - builtins = r4 :: module - dec_ref r4 -L3: - r5 = ('StreamHandler',) - r6 = 'logging' - r7 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L332 (error at :2) else goto L4 -L4: - logging = r8 :: module - dec_ref r8 - r9 = ('Dict', 'Final') - r10 = 'typing' - r11 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) - if is_error(r12) goto L332 (error at :3) else goto L5 -L5: - typing = r12 :: module - dec_ref r12 - r13 = load_address a_sync :: module - r14 = load_address typed_envs :: module - r15 = [r13, r14] - r16 = load_address r15 - r17 = [5, 6] - r18 = load_address r17 - r19 = (('a_sync', 'a_sync', 'a_sync'), ('typed_envs', 'typed_envs', 'typed_envs')) - r20 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r21 = 'dank_mids\\ENVIRONMENT_VARIABLES.py' - r22 = '' - r23 = CPyImport_ImportMany(r19, r16, r20, r21, r22, r18) - if not r23 goto L332 else goto L6 :: bool -L6: - r24 = ('AsyncProcessPoolExecutor',) - r25 = 'a_sync' - r26 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r27 = CPyImport_ImportFromMany(r25, r24, r24, r26) - if is_error(r27) goto L332 (error at :7) else goto L7 -L7: - a_sync = r27 :: module - dec_ref r27 - r28 = ('_envs',) - r29 = 'dank_mids' - r30 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r31 = CPyImport_ImportFromMany(r29, r28, r28, r30) - if is_error(r31) goto L332 (error at :9) else goto L8 -L8: - dank_mids = r31 :: module - dec_ref r31 - r32 = ('INFO', 'getLogger') - r33 = 'dank_mids._logging' - r34 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r35 = CPyImport_ImportFromMany(r33, r32, r32, r34) - if is_error(r35) goto L332 (error at :10) else goto L9 -L9: - dank_mids._logging = r35 :: module - dec_ref r35 - r36 = ('OperationMode',) - r37 = 'dank_mids._mode' - r38 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r39 = CPyImport_ImportFromMany(r37, r36, r36, r38) - if is_error(r39) goto L332 (error at :11) else goto L10 -L10: - dank_mids._mode = r39 :: module - dec_ref r39 - r40 = ('BlockSemaphore',) - r41 = 'dank_mids.semaphores' - r42 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r43 = CPyImport_ImportFromMany(r41, r40, r40, r42) - if is_error(r43) goto L332 (error at :12) else goto L11 -L11: - dank_mids.semaphores = r43 :: module - dec_ref r43 - r44 = 'dank_mids.envs' - r45 = dank_mids._logging.getLogger :: static - if is_error(r45) goto L12 else goto L14 -L12: - r46 = raise NameError('value for final name "getLogger" was not set') - if not r46 goto L332 (error at :15) else goto L13 :: bool -L13: - unreachable -L14: - r47 = [r44] - r48 = load_address r47 - r49 = _PyObject_Vectorcall(r45, r48, 1, 0) - if is_error(r49) goto L332 (error at :15) else goto L15 -L15: - dank_mids.ENVIRONMENT_VARIABLES.logger = r49 :: static - r50 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r51 = 'logger' - r52 = CPyDict_SetItem(r50, r51, r49) - dec_ref r49 - r53 = r52 >= 0 :: signed - if not r53 goto L332 (error at :15) else goto L16 :: bool -L16: - r54 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r55 = 'typed_envs' - r56 = CPyDict_GetItem(r54, r55) - if is_error(r56) goto L332 (error at :17) else goto L17 -L17: - r57 = 'logger' - r58 = CPyObject_GetAttr(r56, r57) - dec_ref r56 - if is_error(r58) goto L332 (error at :17) else goto L18 -L18: - r59 = 'disabled' - r60 = CPyObject_GetAttr(r58, r59) - dec_ref r58 - if is_error(r60) goto L332 (error at :17) else goto L19 -L19: - r61 = PyObject_IsTrue(r60) - dec_ref r60 - r62 = r61 >= 0 :: signed - if not r62 goto L332 (error at :17) else goto L20 :: bool -L20: - r63 = truncate r61: i32 to builtins.bool - if r63 goto L55 else goto L21 :: bool -L21: - r64 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static - if is_error(r64) goto L22 else goto L24 -L22: - r65 = raise NameError('value for final name "logger" was not set') - if not r65 goto L332 (error at :18) else goto L23 :: bool -L23: - unreachable -L24: - r66 = 'hasHandlers' - r67 = [r64] - r68 = load_address r67 - r69 = PyObject_VectorcallMethod(r66, r68, 9223372036854775809, 0) - if is_error(r69) goto L332 (error at :18) else goto L25 -L25: - r70 = unbox(bool, r69) - dec_ref r69 - if is_error(r70) goto L332 (error at :18) else goto L26 -L26: - if r70 goto L34 else goto L27 :: bool -L27: - r71 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static - if is_error(r71) goto L28 else goto L30 -L28: - r72 = raise NameError('value for final name "logger" was not set') - if not r72 goto L332 (error at :19) else goto L29 :: bool -L29: - unreachable -L30: - r73 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r74 = 'StreamHandler' - r75 = CPyDict_GetItem(r73, r74) - if is_error(r75) goto L332 (error at :19) else goto L31 -L31: - r76 = _PyObject_Vectorcall(r75, 0, 0, 0) - dec_ref r75 - if is_error(r76) goto L332 (error at :19) else goto L32 -L32: - r77 = 'addHandler' - r78 = [r71, r76] - r79 = load_address r78 - r80 = PyObject_VectorcallMethod(r77, r79, 9223372036854775810, 0) - if is_error(r80) goto L333 (error at :19) else goto L334 -L33: - dec_ref r76 -L34: - r81 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static - if is_error(r81) goto L35 else goto L37 -L35: - r82 = raise NameError('value for final name "logger" was not set') - if not r82 goto L332 (error at :20) else goto L36 :: bool -L36: - unreachable -L37: - r83 = dank_mids._logging.INFO :: static - if is_error(r83) goto L38 else goto L40 -L38: - r84 = raise NameError('value for final name "INFO" was not set') - if not r84 goto L332 (error at :20) else goto L39 :: bool -L39: - unreachable -L40: - r85 = 'isEnabledFor' - inc_ref r83 :: int - r86 = box(int, r83) - r87 = [r81, r86] - r88 = load_address r87 - r89 = PyObject_VectorcallMethod(r85, r88, 9223372036854775810, 0) - if is_error(r89) goto L335 (error at :20) else goto L41 -L41: - dec_ref r86 - r90 = unbox(bool, r89) - dec_ref r89 - if is_error(r90) goto L332 (error at :20) else goto L42 -L42: - if r90 goto L51 else goto L43 :: bool -L43: - r91 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static - if is_error(r91) goto L44 else goto L46 -L44: - r92 = raise NameError('value for final name "logger" was not set') - if not r92 goto L332 (error at :21) else goto L45 :: bool -L45: - unreachable -L46: - r93 = dank_mids._logging.INFO :: static - if is_error(r93) goto L47 else goto L49 -L47: - r94 = raise NameError('value for final name "INFO" was not set') - if not r94 goto L332 (error at :21) else goto L48 :: bool -L48: - unreachable -L49: - r95 = 'setLevel' - inc_ref r93 :: int - r96 = box(int, r93) - r97 = [r91, r96] - r98 = load_address r97 - r99 = PyObject_VectorcallMethod(r95, r98, 9223372036854775810, 0) - if is_error(r99) goto L336 (error at :21) else goto L337 -L50: - dec_ref r96 -L51: - r100 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static - if is_error(r100) goto L52 else goto L54 -L52: - r101 = raise NameError('value for final name "logger" was not set') - if not r101 goto L332 (error at :22) else goto L53 :: bool -L53: - unreachable -L54: - r102 = 'For your information, you can tweak your configuration for optimal performance using any of the envs below:' - r103 = 'info' - r104 = [r100, r102] - r105 = load_address r104 - r106 = PyObject_VectorcallMethod(r103, r105, 9223372036854775810, 0) - if is_error(r106) goto L332 (error at :22) else goto L338 -L55: - r107 = 'OPERATION_MODE' - r108 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r109 = 'OperationMode' - r110 = CPyDict_GetItem(r108, r109) - if is_error(r110) goto L332 (error at :35) else goto L56 -L56: - r111 = 'infura' - r112 = dank_mids._envs.create_env :: static - if is_error(r112) goto L339 else goto L59 -L57: - r113 = raise NameError('value for final name "create_env" was not set') - if not r113 goto L332 (error at :34) else goto L58 :: bool -L58: - unreachable -L59: - r114 = box(bool, 0) - r115 = [r107, r110, r111, r114] - r116 = load_address r115 - r117 = ('default', 'verbose') - r118 = _PyObject_Vectorcall(r112, r116, 2, r117) - if is_error(r118) goto L340 (error at :34) else goto L60 -L60: - dec_ref r110 - dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE = r118 :: static - r119 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r120 = 'OPERATION_MODE' - r121 = CPyDict_SetItem(r119, r120, r118) - dec_ref r118 - r122 = r121 >= 0 :: signed - if not r122 goto L332 (error at :34) else goto L61 :: bool -L61: - r123 = 'MAX_MULTICALL_SIZE' - r124 = load_address PyLong_Type - r125 = dank_mids._envs.create_env :: static - if is_error(r125) goto L62 else goto L64 -L62: - r126 = raise NameError('value for final name "create_env" was not set') - if not r126 goto L332 (error at :39) else goto L63 :: bool -L63: - unreachable -L64: - r127 = object 10000 - r128 = [r123, r124, r127] - r129 = load_address r128 - r130 = ('default',) - r131 = _PyObject_Vectorcall(r125, r129, 2, r130) - if is_error(r131) goto L332 (error at :39) else goto L65 -L65: - dank_mids.ENVIRONMENT_VARIABLES.MAX_MULTICALL_SIZE = r131 :: static - r132 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r133 = 'MAX_MULTICALL_SIZE' - r134 = CPyDict_SetItem(r132, r133, r131) - dec_ref r131 - r135 = r134 >= 0 :: signed - if not r135 goto L332 (error at :39) else goto L66 :: bool -L66: - r136 = 'MAX_JSONRPC_BATCH_SIZE' - r137 = load_address PyLong_Type - r138 = dank_mids._envs.create_env :: static - if is_error(r138) goto L67 else goto L69 -L67: - r139 = raise NameError('value for final name "create_env" was not set') - if not r139 goto L332 (error at :41) else goto L68 :: bool -L68: - unreachable -L69: - r140 = object 500 - r141 = [r136, r137, r140] - r142 = load_address r141 - r143 = ('default',) - r144 = _PyObject_Vectorcall(r138, r142, 2, r143) - if is_error(r144) goto L332 (error at :41) else goto L70 -L70: - dank_mids.ENVIRONMENT_VARIABLES.MAX_JSONRPC_BATCH_SIZE = r144 :: static - r145 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r146 = 'MAX_JSONRPC_BATCH_SIZE' - r147 = CPyDict_SetItem(r145, r146, r144) - dec_ref r144 - r148 = r147 >= 0 :: signed - if not r148 goto L332 (error at :41) else goto L71 :: bool -L71: - r149 = 'REQUESTS_PER_SECOND' - r150 = load_address PyLong_Type - r151 = dank_mids._envs.create_env :: static - if is_error(r151) goto L72 else goto L74 -L72: - r152 = raise NameError('value for final name "create_env" was not set') - if not r152 goto L332 (error at :43) else goto L73 :: bool -L73: - unreachable -L74: - r153 = object 50 - r154 = [r149, r150, r153] - r155 = load_address r154 - r156 = ('default',) - r157 = _PyObject_Vectorcall(r151, r155, 2, r156) - if is_error(r157) goto L332 (error at :43) else goto L75 -L75: - dank_mids.ENVIRONMENT_VARIABLES.REQUESTS_PER_SECOND = r157 :: static - r158 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r159 = 'REQUESTS_PER_SECOND' - r160 = CPyDict_SetItem(r158, r159, r157) - dec_ref r157 - r161 = r160 >= 0 :: signed - if not r161 goto L332 (error at :43) else goto L76 :: bool -L76: - r162 = 'MIN_REQUESTS_PER_SECOND' - r163 = load_address PyLong_Type - r164 = dank_mids._envs.create_env :: static - if is_error(r164) goto L77 else goto L79 -L77: - r165 = raise NameError('value for final name "create_env" was not set') - if not r165 goto L332 (error at :45) else goto L78 :: bool -L78: - unreachable -L79: - r166 = object 10 - r167 = [r162, r163, r166] - r168 = load_address r167 - r169 = ('default',) - r170 = _PyObject_Vectorcall(r164, r168, 2, r169) - if is_error(r170) goto L332 (error at :45) else goto L80 -L80: - dank_mids.ENVIRONMENT_VARIABLES.MIN_REQUESTS_PER_SECOND = r170 :: static - r171 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r172 = 'MIN_REQUESTS_PER_SECOND' - r173 = CPyDict_SetItem(r171, r172, r170) - dec_ref r170 - r174 = r173 >= 0 :: signed - if not r174 goto L332 (error at :45) else goto L81 :: bool -L81: - r175 = dank_mids._envs._deprecated_format :: static - if is_error(r175) goto L82 else goto L84 -L82: - r176 = raise NameError('value for final name "_deprecated_format" was not set') - if not r176 goto L332 (error at :48) else goto L83 :: bool -L83: - unreachable -L84: - r177 = 'DEMO_MODE' - r178 = load_address PyBool_Type - r179 = 'create_env' - r180 = box(bool, 0) - r181 = box(bool, 0) - r182 = [r175, r177, r178, r180, r181] - r183 = load_address r182 - r184 = ('default', 'verbose') - r185 = PyObject_VectorcallMethod(r179, r183, 9223372036854775811, r184) - if is_error(r185) goto L332 (error at :48) else goto L85 -L85: - dank_mids.ENVIRONMENT_VARIABLES.demo_mode = r185 :: static - r186 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r187 = 'demo_mode' - r188 = CPyDict_SetItem(r186, r187, r185) - dec_ref r185 - r189 = r188 >= 0 :: signed - if not r189 goto L332 (error at :48) else goto L86 :: bool -L86: - r190 = 'DEMO_MODE' - r191 = load_address PyBool_Type - r192 = dank_mids.ENVIRONMENT_VARIABLES.demo_mode :: static - if is_error(r192) goto L87 else goto L89 -L87: - r193 = raise NameError('value for final name "demo_mode" was not set') - if not r193 goto L332 (error at :51) else goto L88 :: bool -L88: - unreachable -L89: - r194 = PyObject_IsTrue(r192) - r195 = r194 >= 0 :: signed - if not r195 goto L332 (error at :51) else goto L90 :: bool -L90: - r196 = truncate r194: i32 to builtins.bool - r197 = dank_mids._envs.create_env :: static - if is_error(r197) goto L91 else goto L93 -L91: - r198 = raise NameError('value for final name "create_env" was not set') - if not r198 goto L332 (error at :51) else goto L92 :: bool -L92: - unreachable -L93: - r199 = box(bool, r196) - r200 = box(bool, 0) - r201 = [r190, r191, r199, r200] - r202 = load_address r201 - r203 = ('default', 'verbose') - r204 = _PyObject_Vectorcall(r197, r202, 2, r203) - if is_error(r204) goto L332 (error at :51) else goto L94 -L94: - dank_mids.ENVIRONMENT_VARIABLES.DEMO_MODE = r204 :: static - r205 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r206 = 'DEMO_MODE' - r207 = CPyDict_SetItem(r205, r206, r204) - dec_ref r204 - r208 = r207 >= 0 :: signed - if not r208 goto L332 (error at :51) else goto L95 :: bool -L95: - r209 = dank_mids._envs._deprecated_format :: static - if is_error(r209) goto L96 else goto L98 -L96: - r210 = raise NameError('value for final name "_deprecated_format" was not set') - if not r210 goto L332 (error at :54) else goto L97 :: bool -L97: - unreachable -L98: - r211 = 'GANACHE_FORK' - r212 = load_address PyBool_Type - r213 = 'create_env' - r214 = box(bool, 0) - r215 = box(bool, 0) - r216 = [r209, r211, r212, r214, r215] - r217 = load_address r216 - r218 = ('default', 'verbose') - r219 = PyObject_VectorcallMethod(r213, r217, 9223372036854775811, r218) - if is_error(r219) goto L332 (error at :54) else goto L99 -L99: - dank_mids.ENVIRONMENT_VARIABLES.ganache_fork = r219 :: static - r220 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r221 = 'ganache_fork' - r222 = CPyDict_SetItem(r220, r221, r219) - dec_ref r219 - r223 = r222 >= 0 :: signed - if not r223 goto L332 (error at :54) else goto L100 :: bool -L100: - r224 = 'GANACHE_FORK' - r225 = load_address PyBool_Type - r226 = dank_mids.ENVIRONMENT_VARIABLES.ganache_fork :: static - if is_error(r226) goto L101 else goto L103 -L101: - r227 = raise NameError('value for final name "ganache_fork" was not set') - if not r227 goto L332 (error at :57) else goto L102 :: bool -L102: - unreachable -L103: - r228 = PyObject_IsTrue(r226) - r229 = r228 >= 0 :: signed - if not r229 goto L332 (error at :57) else goto L104 :: bool -L104: - r230 = truncate r228: i32 to builtins.bool - r231 = dank_mids._envs.create_env :: static - if is_error(r231) goto L105 else goto L107 -L105: - r232 = raise NameError('value for final name "create_env" was not set') - if not r232 goto L332 (error at :57) else goto L106 :: bool -L106: - unreachable -L107: - r233 = box(bool, r230) - r234 = [r224, r225, r233] - r235 = load_address r234 - r236 = ('default',) - r237 = _PyObject_Vectorcall(r231, r235, 2, r236) - if is_error(r237) goto L332 (error at :57) else goto L108 -L108: - dank_mids.ENVIRONMENT_VARIABLES.GANACHE_FORK = r237 :: static - r238 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r239 = 'GANACHE_FORK' - r240 = CPyDict_SetItem(r238, r239, r237) - dec_ref r237 - r241 = r240 >= 0 :: signed - if not r241 goto L332 (error at :57) else goto L109 :: bool -L109: - r242 = 'AIOHTTP_TIMEOUT' - r243 = load_address PyLong_Type - r244 = dank_mids._envs.create_env :: static - if is_error(r244) goto L110 else goto L112 -L110: - r245 = raise NameError('value for final name "create_env" was not set') - if not r245 goto L332 (error at :61) else goto L111 :: bool -L111: - unreachable -L112: - r246 = object 1200 - r247 = [r242, r243, r246] - r248 = load_address r247 - r249 = ('default',) - r250 = _PyObject_Vectorcall(r244, r248, 2, r249) - if is_error(r250) goto L332 (error at :61) else goto L113 -L113: - dank_mids.ENVIRONMENT_VARIABLES.AIOHTTP_TIMEOUT = r250 :: static - r251 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r252 = 'AIOHTTP_TIMEOUT' - r253 = CPyDict_SetItem(r251, r252, r250) - dec_ref r250 - r254 = r253 >= 0 :: signed - if not r254 goto L332 (error at :61) else goto L114 :: bool -L114: - r255 = dank_mids._envs._deprecated_format :: static - if is_error(r255) goto L115 else goto L117 -L115: - r256 = raise NameError('value for final name "_deprecated_format" was not set') - if not r256 goto L332 (error at :67) else goto L116 :: bool -L116: - unreachable -L117: - r257 = 'BROWNIE_CALL_SEMAPHORE' - r258 = load_address PyLong_Type - r259 = 'create_env' - r260 = object 100000 - r261 = box(bool, 0) - r262 = [r255, r257, r258, r260, r261] - r263 = load_address r262 - r264 = ('default', 'verbose') - r265 = PyObject_VectorcallMethod(r259, r263, 9223372036854775811, r264) - if is_error(r265) goto L332 (error at :67) else goto L118 -L118: - dank_mids.ENVIRONMENT_VARIABLES.brownie_semaphore = r265 :: static - r266 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r267 = 'brownie_semaphore' - r268 = CPyDict_SetItem(r266, r267, r265) - dec_ref r265 - r269 = r268 >= 0 :: signed - if not r269 goto L332 (error at :67) else goto L119 :: bool -L119: - r270 = 'BROWNIE_CALL_SEMAPHORE' - r271 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r272 = 'BlockSemaphore' - r273 = CPyDict_GetItem(r271, r272) - if is_error(r273) goto L332 (error at :72) else goto L120 -L120: - r274 = dank_mids.ENVIRONMENT_VARIABLES.brownie_semaphore :: static - if is_error(r274) goto L341 else goto L123 -L121: - r275 = raise NameError('value for final name "brownie_semaphore" was not set') - if not r275 goto L332 (error at :73) else goto L122 :: bool -L122: - unreachable -L123: - r276 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static - if is_error(r276) goto L342 else goto L126 -L124: - r277 = raise NameError('value for final name "OPERATION_MODE" was not set') - if not r277 goto L332 (error at :74) else goto L125 :: bool -L125: - unreachable -L126: - r278 = 'infura' - r279 = CPyObject_GetAttr(r276, r278) - if is_error(r279) goto L343 (error at :74) else goto L127 -L127: - r280 = PyObject_Not(r279) - dec_ref r279 - r281 = r280 >= 0 :: signed - if not r281 goto L343 (error at :74) else goto L128 :: bool -L128: - r282 = truncate r280: i32 to builtins.bool - r283 = dank_mids._envs.create_env :: static - if is_error(r283) goto L344 else goto L131 -L129: - r284 = raise NameError('value for final name "create_env" was not set') - if not r284 goto L332 (error at :70) else goto L130 :: bool -L130: - unreachable -L131: - r285 = box(bool, r282) - r286 = [r270, r273, r274, r285] - r287 = load_address r286 - r288 = ('default', 'verbose') - r289 = _PyObject_Vectorcall(r283, r287, 2, r288) - if is_error(r289) goto L343 (error at :70) else goto L132 -L132: - dec_ref r273 - dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_CALL_SEMAPHORE = r289 :: static - r290 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r291 = 'BROWNIE_CALL_SEMAPHORE' - r292 = CPyDict_SetItem(r290, r291, r289) - dec_ref r289 - r293 = r292 >= 0 :: signed - if not r293 goto L332 (error at :70) else goto L133 :: bool -L133: - r294 = 'BROWNIE_ENCODER_SEMAPHORE' - r295 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r296 = 'BlockSemaphore' - r297 = CPyDict_GetItem(r295, r296) - if is_error(r297) goto L332 (error at :85) else goto L134 -L134: - r298 = dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_CALL_SEMAPHORE :: static - if is_error(r298) goto L345 else goto L137 -L135: - r299 = raise NameError('value for final name "BROWNIE_CALL_SEMAPHORE" was not set') - if not r299 goto L332 (error at :86) else goto L136 :: bool -L136: - unreachable -L137: - r300 = '_default_value' - r301 = CPyObject_GetAttr(r298, r300) - if is_error(r301) goto L346 (error at :86) else goto L138 -L138: - r302 = object 2 - r303 = PyNumber_Multiply(r301, r302) - dec_ref r301 - if is_error(r303) goto L346 (error at :86) else goto L139 -L139: - r304 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static - if is_error(r304) goto L347 else goto L142 -L140: - r305 = raise NameError('value for final name "OPERATION_MODE" was not set') - if not r305 goto L332 (error at :87) else goto L141 :: bool -L141: - unreachable -L142: - r306 = 'infura' - r307 = CPyObject_GetAttr(r304, r306) - if is_error(r307) goto L348 (error at :87) else goto L143 -L143: - r308 = PyObject_Not(r307) - dec_ref r307 - r309 = r308 >= 0 :: signed - if not r309 goto L348 (error at :87) else goto L144 :: bool -L144: - r310 = truncate r308: i32 to builtins.bool - r311 = dank_mids._envs.create_env :: static - if is_error(r311) goto L349 else goto L147 -L145: - r312 = raise NameError('value for final name "create_env" was not set') - if not r312 goto L332 (error at :83) else goto L146 :: bool -L146: - unreachable -L147: - r313 = box(bool, r310) - r314 = [r294, r297, r303, r313] - r315 = load_address r314 - r316 = ('default', 'verbose') - r317 = _PyObject_Vectorcall(r311, r315, 2, r316) - if is_error(r317) goto L348 (error at :83) else goto L148 -L148: - dec_ref r297 - dec_ref r303 - dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_ENCODER_SEMAPHORE = r317 :: static - r318 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r319 = 'BROWNIE_ENCODER_SEMAPHORE' - r320 = CPyDict_SetItem(r318, r319, r317) - dec_ref r317 - r321 = r320 >= 0 :: signed - if not r321 goto L332 (error at :83) else goto L149 :: bool -L149: - r322 = 'BROWNIE_ENCODER_PROCESSES' - r323 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r324 = 'AsyncProcessPoolExecutor' - r325 = CPyDict_GetItem(r323, r324) - if is_error(r325) goto L332 (error at :101) else goto L150 -L150: - r326 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static - if is_error(r326) goto L350 else goto L153 -L151: - r327 = raise NameError('value for final name "OPERATION_MODE" was not set') - if not r327 goto L332 (error at :102) else goto L152 :: bool -L152: - unreachable -L153: - r328 = 'infura' - r329 = CPyObject_GetAttr(r326, r328) - if is_error(r329) goto L351 (error at :102) else goto L154 -L154: - r330 = PyObject_IsTrue(r329) - dec_ref r329 - r331 = r330 >= 0 :: signed - if not r331 goto L351 (error at :102) else goto L155 :: bool -L155: - r332 = truncate r330: i32 to builtins.bool - if r332 goto L156 else goto L157 :: bool -L156: - r333 = 0 - goto L158 -L157: - r333 = 2 -L158: - r334 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static - if is_error(r334) goto L352 else goto L161 -L159: - r335 = raise NameError('value for final name "OPERATION_MODE" was not set') - if not r335 goto L332 (error at :103) else goto L160 :: bool -L160: - unreachable -L161: - r336 = 'infura' - r337 = CPyObject_GetAttr(r334, r336) - if is_error(r337) goto L353 (error at :103) else goto L162 -L162: - r338 = PyObject_Not(r337) - dec_ref r337 - r339 = r338 >= 0 :: signed - if not r339 goto L353 (error at :103) else goto L163 :: bool -L163: - r340 = truncate r338: i32 to builtins.bool - r341 = dank_mids._envs.create_env :: static - if is_error(r341) goto L354 else goto L166 -L164: - r342 = raise NameError('value for final name "create_env" was not set') - if not r342 goto L332 (error at :99) else goto L165 :: bool -L165: - unreachable -L166: - r343 = box(int, r333) - r344 = box(bool, r340) - r345 = [r322, r325, r343, r344] - r346 = load_address r345 - r347 = ('default', 'verbose') - r348 = _PyObject_Vectorcall(r341, r346, 2, r347) - if is_error(r348) goto L355 (error at :99) else goto L167 -L167: - dec_ref r325 - dec_ref r343 - r349 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r350 = 'BROWNIE_ENCODER_PROCESSES' - r351 = CPyDict_SetItem(r349, r350, r348) - dec_ref r348 - r352 = r351 >= 0 :: signed - if not r352 goto L332 (error at :99) else goto L168 :: bool -L168: - r353 = 'BROWNIE_DECODER_PROCESSES' - r354 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r355 = 'AsyncProcessPoolExecutor' - r356 = CPyDict_GetItem(r354, r355) - if is_error(r356) goto L332 (error at :114) else goto L169 -L169: - r357 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static - if is_error(r357) goto L356 else goto L172 -L170: - r358 = raise NameError('value for final name "OPERATION_MODE" was not set') - if not r358 goto L332 (error at :115) else goto L171 :: bool -L171: - unreachable -L172: - r359 = 'infura' - r360 = CPyObject_GetAttr(r357, r359) - if is_error(r360) goto L357 (error at :115) else goto L173 -L173: - r361 = PyObject_IsTrue(r360) - dec_ref r360 - r362 = r361 >= 0 :: signed - if not r362 goto L357 (error at :115) else goto L174 :: bool -L174: - r363 = truncate r361: i32 to builtins.bool - if r363 goto L175 else goto L176 :: bool -L175: - r364 = 0 - goto L177 -L176: - r364 = 2 -L177: - r365 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static - if is_error(r365) goto L358 else goto L180 -L178: - r366 = raise NameError('value for final name "OPERATION_MODE" was not set') - if not r366 goto L332 (error at :116) else goto L179 :: bool -L179: - unreachable -L180: - r367 = 'infura' - r368 = CPyObject_GetAttr(r365, r367) - if is_error(r368) goto L359 (error at :116) else goto L181 -L181: - r369 = PyObject_Not(r368) - dec_ref r368 - r370 = r369 >= 0 :: signed - if not r370 goto L359 (error at :116) else goto L182 :: bool -L182: - r371 = truncate r369: i32 to builtins.bool - r372 = dank_mids._envs.create_env :: static - if is_error(r372) goto L360 else goto L185 -L183: - r373 = raise NameError('value for final name "create_env" was not set') - if not r373 goto L332 (error at :112) else goto L184 :: bool -L184: - unreachable -L185: - r374 = box(int, r364) - r375 = box(bool, r371) - r376 = [r353, r356, r374, r375] - r377 = load_address r376 - r378 = ('default', 'verbose') - r379 = _PyObject_Vectorcall(r372, r377, 2, r378) - if is_error(r379) goto L361 (error at :112) else goto L186 -L186: - dec_ref r356 - dec_ref r374 - r380 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r381 = 'BROWNIE_DECODER_PROCESSES' - r382 = CPyDict_SetItem(r380, r381, r379) - dec_ref r379 - r383 = r382 >= 0 :: signed - if not r383 goto L332 (error at :112) else goto L187 :: bool -L187: - r384 = 'MULTICALL_DECODER_PROCESSES' - r385 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r386 = 'AsyncProcessPoolExecutor' - r387 = CPyDict_GetItem(r385, r386) - if is_error(r387) goto L332 (error at :127) else goto L188 -L188: - r388 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static - if is_error(r388) goto L362 else goto L191 -L189: - r389 = raise NameError('value for final name "OPERATION_MODE" was not set') - if not r389 goto L332 (error at :128) else goto L190 :: bool -L190: - unreachable -L191: - r390 = 'infura' - r391 = CPyObject_GetAttr(r388, r390) - if is_error(r391) goto L363 (error at :128) else goto L192 -L192: - r392 = PyObject_IsTrue(r391) - dec_ref r391 - r393 = r392 >= 0 :: signed - if not r393 goto L363 (error at :128) else goto L193 :: bool -L193: - r394 = truncate r392: i32 to builtins.bool - if r394 goto L194 else goto L195 :: bool -L194: - r395 = 0 - goto L196 -L195: - r395 = 2 -L196: - r396 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static - if is_error(r396) goto L364 else goto L199 -L197: - r397 = raise NameError('value for final name "OPERATION_MODE" was not set') - if not r397 goto L332 (error at :129) else goto L198 :: bool -L198: - unreachable -L199: - r398 = 'infura' - r399 = CPyObject_GetAttr(r396, r398) - if is_error(r399) goto L365 (error at :129) else goto L200 -L200: - r400 = PyObject_Not(r399) - dec_ref r399 - r401 = r400 >= 0 :: signed - if not r401 goto L365 (error at :129) else goto L201 :: bool -L201: - r402 = truncate r400: i32 to builtins.bool - r403 = dank_mids._envs.create_env :: static - if is_error(r403) goto L366 else goto L204 -L202: - r404 = raise NameError('value for final name "create_env" was not set') - if not r404 goto L332 (error at :125) else goto L203 :: bool -L203: - unreachable -L204: - r405 = box(int, r395) - r406 = box(bool, r402) - r407 = [r384, r387, r405, r406] - r408 = load_address r407 - r409 = ('default', 'verbose') - r410 = _PyObject_Vectorcall(r403, r408, 2, r409) - if is_error(r410) goto L367 (error at :125) else goto L205 -L205: - dec_ref r387 - dec_ref r405 - r411 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r412 = 'MULTICALL_DECODER_PROCESSES' - r413 = CPyDict_SetItem(r411, r412, r410) - dec_ref r410 - r414 = r413 >= 0 :: signed - if not r414 goto L332 (error at :125) else goto L206 :: bool -L206: - r415 = 'COLLECTION_FACTOR' - r416 = load_address PyLong_Type - r417 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static - if is_error(r417) goto L207 else goto L209 -L207: - r418 = raise NameError('value for final name "OPERATION_MODE" was not set') - if not r418 goto L332 (error at :141) else goto L208 :: bool -L208: - unreachable -L209: - r419 = 'infura' - r420 = CPyObject_GetAttr(r417, r419) - if is_error(r420) goto L332 (error at :141) else goto L210 -L210: - r421 = PyObject_IsTrue(r420) - dec_ref r420 - r422 = r421 >= 0 :: signed - if not r422 goto L332 (error at :141) else goto L211 :: bool -L211: - r423 = truncate r421: i32 to builtins.bool - if r423 goto L212 else goto L213 :: bool -L212: - r424 = 20 - goto L214 -L213: - r424 = 2 -L214: - r425 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static - if is_error(r425) goto L368 else goto L217 -L215: - r426 = raise NameError('value for final name "OPERATION_MODE" was not set') - if not r426 goto L332 (error at :142) else goto L216 :: bool -L216: - unreachable -L217: - r427 = 'infura' - r428 = CPyObject_GetAttr(r425, r427) - if is_error(r428) goto L369 (error at :142) else goto L218 -L218: - r429 = PyObject_Not(r428) - dec_ref r428 - r430 = r429 >= 0 :: signed - if not r430 goto L369 (error at :142) else goto L219 :: bool -L219: - r431 = truncate r429: i32 to builtins.bool - r432 = dank_mids._envs.create_env :: static - if is_error(r432) goto L370 else goto L222 -L220: - r433 = raise NameError('value for final name "create_env" was not set') - if not r433 goto L332 (error at :138) else goto L221 :: bool -L221: - unreachable -L222: - r434 = box(int, r424) - r435 = box(bool, r431) - r436 = [r415, r416, r434, r435] - r437 = load_address r436 - r438 = ('default', 'verbose') - r439 = _PyObject_Vectorcall(r432, r437, 2, r438) - if is_error(r439) goto L371 (error at :138) else goto L223 -L223: - dec_ref r434 - dank_mids.ENVIRONMENT_VARIABLES.COLLECTION_FACTOR = r439 :: static - r440 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r441 = 'COLLECTION_FACTOR' - r442 = CPyDict_SetItem(r440, r441, r439) - dec_ref r439 - r443 = r442 >= 0 :: signed - if not r443 goto L332 (error at :138) else goto L224 :: bool -L224: - r444 = 'USE_FULL_REQUEST' - r445 = load_address PyBool_Type - r446 = dank_mids._envs.create_env :: static - if is_error(r446) goto L225 else goto L227 -L225: - r447 = raise NameError('value for final name "create_env" was not set') - if not r447 goto L332 (error at :148) else goto L226 :: bool -L226: - unreachable -L227: - r448 = box(bool, 0) - r449 = box(bool, 0) - r450 = [r444, r445, r448, r449] - r451 = load_address r450 - r452 = ('default', 'verbose') - r453 = _PyObject_Vectorcall(r446, r451, 2, r452) - if is_error(r453) goto L332 (error at :148) else goto L228 -L228: - dank_mids.ENVIRONMENT_VARIABLES.USE_FULL_REQUEST = r453 :: static - r454 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r455 = 'USE_FULL_REQUEST' - r456 = CPyDict_SetItem(r454, r455, r453) - dec_ref r453 - r457 = r456 >= 0 :: signed - if not r457 goto L332 (error at :148) else goto L229 :: bool -L229: - r458 = 'DEBUG' - r459 = load_address PyBool_Type - r460 = dank_mids._envs.create_env :: static - if is_error(r460) goto L230 else goto L232 -L230: - r461 = raise NameError('value for final name "create_env" was not set') - if not r461 goto L332 (error at :151) else goto L231 :: bool -L231: - unreachable -L232: - r462 = box(bool, 0) - r463 = box(bool, 0) - r464 = [r458, r459, r462, r463] - r465 = load_address r464 - r466 = ('default', 'verbose') - r467 = _PyObject_Vectorcall(r460, r465, 2, r466) - if is_error(r467) goto L332 (error at :151) else goto L233 -L233: - dank_mids.ENVIRONMENT_VARIABLES.DEBUG = r467 :: static - r468 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r469 = 'DEBUG' - r470 = CPyDict_SetItem(r468, r469, r467) - dec_ref r467 - r471 = r470 >= 0 :: signed - if not r471 goto L332 (error at :151) else goto L234 :: bool -L234: - r472 = 'EXPORT_STATS' - r473 = load_address PyBool_Type - r474 = dank_mids._envs.create_env :: static - if is_error(r474) goto L235 else goto L237 -L235: - r475 = raise NameError('value for final name "create_env" was not set') - if not r475 goto L332 (error at :154) else goto L236 :: bool -L236: - unreachable -L237: - r476 = box(bool, 0) - r477 = box(bool, 0) - r478 = [r472, r473, r476, r477] - r479 = load_address r478 - r480 = ('default', 'verbose') - r481 = _PyObject_Vectorcall(r474, r479, 2, r480) - if is_error(r481) goto L332 (error at :154) else goto L238 -L238: - dank_mids.ENVIRONMENT_VARIABLES.EXPORT_STATS = r481 :: static - r482 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r483 = 'EXPORT_STATS' - r484 = CPyDict_SetItem(r482, r483, r481) - dec_ref r481 - r485 = r484 >= 0 :: signed - if not r485 goto L332 (error at :154) else goto L239 :: bool -L239: - r486 = 'COLLECT_STATS' - r487 = load_address PyBool_Type - r488 = dank_mids.ENVIRONMENT_VARIABLES.EXPORT_STATS :: static - if is_error(r488) goto L240 else goto L242 -L240: - r489 = raise NameError('value for final name "EXPORT_STATS" was not set') - if not r489 goto L332 (error at :157) else goto L241 :: bool -L241: - unreachable -L242: - r490 = dank_mids.ENVIRONMENT_VARIABLES.EXPORT_STATS :: static - if is_error(r490) goto L243 else goto L245 -L243: - r491 = raise NameError('value for final name "EXPORT_STATS" was not set') - if not r491 goto L332 (error at :157) else goto L244 :: bool -L244: - unreachable -L245: - r492 = PyObject_Not(r490) - r493 = r492 >= 0 :: signed - if not r493 goto L332 (error at :157) else goto L246 :: bool -L246: - r494 = truncate r492: i32 to builtins.bool - r495 = dank_mids._envs.create_env :: static - if is_error(r495) goto L247 else goto L249 -L247: - r496 = raise NameError('value for final name "create_env" was not set') - if not r496 goto L332 (error at :156) else goto L248 :: bool -L248: - unreachable -L249: - r497 = box(bool, r494) - r498 = [r486, r487, r488, r497] - r499 = load_address r498 - r500 = ('default', 'verbose') - r501 = _PyObject_Vectorcall(r495, r499, 2, r500) - if is_error(r501) goto L332 (error at :156) else goto L250 -L250: - dank_mids.ENVIRONMENT_VARIABLES.COLLECT_STATS = r501 :: static - r502 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r503 = 'COLLECT_STATS' - r504 = CPyDict_SetItem(r502, r503, r501) - dec_ref r501 - r505 = r504 >= 0 :: signed - if not r505 goto L332 (error at :156) else goto L251 :: bool -L251: - r506 = 'STUCK_CALL_TIMEOUT' - r507 = load_address PyLong_Type - r508 = dank_mids._envs.create_env :: static - if is_error(r508) goto L252 else goto L254 -L252: - r509 = raise NameError('value for final name "create_env" was not set') - if not r509 goto L332 (error at :161) else goto L253 :: bool -L253: - unreachable -L254: - r510 = object 120 - r511 = [r506, r507, r510] - r512 = load_address r511 - r513 = ('default',) - r514 = _PyObject_Vectorcall(r508, r512, 2, r513) - if is_error(r514) goto L332 (error at :161) else goto L255 -L255: - dank_mids.ENVIRONMENT_VARIABLES.STUCK_CALL_TIMEOUT = r514 :: static - r515 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r516 = 'STUCK_CALL_TIMEOUT' - r517 = CPyDict_SetItem(r515, r516, r514) - dec_ref r514 - r518 = r517 >= 0 :: signed - if not r518 goto L332 (error at :161) else goto L256 :: bool -L256: - r519 = 'eth_call' - r520 = 'ETH_CALL_SEMAPHORE' - r521 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r522 = 'BlockSemaphore' - r523 = CPyDict_GetItem(r521, r522) - if is_error(r523) goto L332 (error at :167) else goto L257 -L257: - r524 = dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_CALL_SEMAPHORE :: static - if is_error(r524) goto L372 else goto L260 -L258: - r525 = raise NameError('value for final name "BROWNIE_CALL_SEMAPHORE" was not set') - if not r525 goto L332 (error at :168) else goto L259 :: bool -L259: - unreachable -L260: - r526 = '_value' - r527 = CPyObject_GetAttr(r524, r526) - if is_error(r527) goto L373 (error at :168) else goto L261 -L261: - r528 = dank_mids._envs.create_env :: static - if is_error(r528) goto L374 else goto L264 -L262: - r529 = raise NameError('value for final name "create_env" was not set') - if not r529 goto L332 (error at :165) else goto L263 :: bool -L263: - unreachable -L264: - r530 = box(bool, 0) - r531 = [r520, r523, r527, r530] - r532 = load_address r531 - r533 = ('default', 'verbose') - r534 = _PyObject_Vectorcall(r528, r532, 2, r533) - if is_error(r534) goto L375 (error at :165) else goto L265 -L265: - dec_ref r523 - dec_ref r527 - r535 = 'eth_getBlock' - r536 = 'ETH_GETBLOCK_SEMAPHORE' - r537 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r538 = 'a_sync' - r539 = CPyDict_GetItem(r537, r538) - if is_error(r539) goto L376 (error at :173) else goto L266 -L266: - r540 = 'Semaphore' - r541 = CPyObject_GetAttr(r539, r540) - dec_ref r539 - if is_error(r541) goto L376 (error at :173) else goto L267 -L267: - r542 = dank_mids._envs.create_env :: static - if is_error(r542) goto L377 else goto L270 -L268: - r543 = raise NameError('value for final name "create_env" was not set') - if not r543 goto L332 (error at :171) else goto L269 :: bool -L269: - unreachable -L270: - r544 = object 1000 - r545 = box(bool, 0) - r546 = [r536, r541, r544, r545] - r547 = load_address r546 - r548 = ('default', 'verbose') - r549 = _PyObject_Vectorcall(r542, r547, 2, r548) - if is_error(r549) goto L378 (error at :171) else goto L271 -L271: - dec_ref r541 - r550 = 'eth_getCode' - r551 = 'ETH_GETCODE_SEMAPHORE' - r552 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r553 = 'a_sync' - r554 = CPyDict_GetItem(r552, r553) - if is_error(r554) goto L379 (error at :179) else goto L272 -L272: - r555 = 'Semaphore' - r556 = CPyObject_GetAttr(r554, r555) - dec_ref r554 - if is_error(r556) goto L379 (error at :179) else goto L273 -L273: - r557 = dank_mids._envs.create_env :: static - if is_error(r557) goto L380 else goto L276 -L274: - r558 = raise NameError('value for final name "create_env" was not set') - if not r558 goto L332 (error at :177) else goto L275 :: bool -L275: - unreachable -L276: - r559 = object 5000 - r560 = box(bool, 0) - r561 = [r551, r556, r559, r560] - r562 = load_address r561 - r563 = ('default', 'verbose') - r564 = _PyObject_Vectorcall(r557, r562, 2, r563) - if is_error(r564) goto L381 (error at :177) else goto L277 -L277: - dec_ref r556 - r565 = CPyDict_Build(3, r519, r534, r535, r549, r550, r564) - dec_ref r534 - dec_ref r549 - dec_ref r564 - if is_error(r565) goto L332 (error at :164) else goto L278 -L278: - dank_mids.ENVIRONMENT_VARIABLES.method_semaphores = r565 :: static - r566 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r567 = 'method_semaphores' - r568 = CPyDict_SetItem(r566, r567, r565) - dec_ref r565 - r569 = r568 >= 0 :: signed - if not r569 goto L332 (error at :164) else goto L279 :: bool -L279: - r570 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r571 = 'typed_envs' - r572 = CPyDict_GetItem(r570, r571) - if is_error(r572) goto L332 (error at :185) else goto L280 -L280: - r573 = 'logger' - r574 = CPyObject_GetAttr(r572, r573) - dec_ref r572 - if is_error(r574) goto L332 (error at :185) else goto L281 -L281: - r575 = 'disabled' - r576 = CPyObject_GetAttr(r574, r575) - dec_ref r574 - if is_error(r576) goto L332 (error at :185) else goto L282 -L282: - r577 = PyObject_IsTrue(r576) - dec_ref r576 - r578 = r577 >= 0 :: signed - if not r578 goto L332 (error at :185) else goto L283 :: bool -L283: - r579 = truncate r577: i32 to builtins.bool - if r579 goto L292 else goto L284 :: bool -L284: - r580 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static - if is_error(r580) goto L285 else goto L287 -L285: - r581 = raise NameError('value for final name "logger" was not set') - if not r581 goto L332 (error at :186) else goto L286 :: bool -L286: - unreachable -L287: - r582 = 'More details can be found in dank_mids/ENVIRONMENT_VARIABLES.py' - r583 = 'info' - r584 = [r580, r582] - r585 = load_address r584 - r586 = PyObject_VectorcallMethod(r583, r585, 9223372036854775810, 0) - if is_error(r586) goto L332 (error at :186) else goto L382 -L288: - r587 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static - if is_error(r587) goto L289 else goto L291 -L289: - r588 = raise NameError('value for final name "logger" was not set') - if not r588 goto L332 (error at :187) else goto L290 :: bool -L290: - unreachable -L291: - r589 = 'NOTE: You can disable these logs by setting the `TYPEDENVS_SHUTUP` env var to any value.' - r590 = 'info' - r591 = [r587, r589] - r592 = load_address r591 - r593 = PyObject_VectorcallMethod(r590, r592, 9223372036854775810, 0) - if is_error(r593) goto L332 (error at :187) else goto L383 -L292: - r594 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static - if is_error(r594) goto L293 else goto L295 -L293: - r595 = raise NameError('value for final name "OPERATION_MODE" was not set') - if not r595 goto L332 (error at :195) else goto L294 :: bool -L294: - unreachable -L295: - r596 = 'infura' - r597 = CPyObject_GetAttr(r594, r596) - if is_error(r597) goto L332 (error at :195) else goto L296 -L296: - r598 = PyObject_IsTrue(r597) - dec_ref r597 - r599 = r598 >= 0 :: signed - if not r599 goto L332 (error at :195) else goto L297 :: bool -L297: - r600 = truncate r598: i32 to builtins.bool - if r600 goto L302 else goto L298 :: bool -L298: - r601 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static - if is_error(r601) goto L299 else goto L301 -L299: - r602 = raise NameError('value for final name "logger" was not set') - if not r602 goto L332 (error at :196) else goto L300 :: bool -L300: - unreachable -L301: - r603 = "Unless you know what you're doing, dank mids should be run in infura mode for now" - r604 = 'warning' - r605 = [r601, r603] - r606 = load_address r605 - r607 = PyObject_VectorcallMethod(r604, r606, 9223372036854775810, 0) - if is_error(r607) goto L332 (error at :196) else goto L384 -L302: - r608 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static - if is_error(r608) goto L303 else goto L305 -L303: - r609 = raise NameError('value for final name "OPERATION_MODE" was not set') - if not r609 goto L332 (error at :200) else goto L304 :: bool -L304: - unreachable -L305: - r610 = 'infura' - r611 = CPyObject_GetAttr(r608, r610) - if is_error(r611) goto L332 (error at :200) else goto L306 -L306: - r612 = PyObject_IsTrue(r611) - dec_ref r611 - r613 = r612 >= 0 :: signed - if not r613 goto L332 (error at :200) else goto L307 :: bool -L307: - r614 = truncate r612: i32 to builtins.bool - if r614 goto L308 else goto L331 :: bool -L308: - r615 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r616 = 'MULTICALL_DECODER_PROCESSES' - r617 = CPyDict_GetItem(r615, r616) - if is_error(r617) goto L332 (error at :202) else goto L309 -L309: - r618 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r619 = 'BROWNIE_DECODER_PROCESSES' - r620 = CPyDict_GetItem(r618, r619) - if is_error(r620) goto L385 (error at :203) else goto L310 -L310: - r621 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r622 = 'BROWNIE_ENCODER_PROCESSES' - r623 = CPyDict_GetItem(r621, r622) - if is_error(r623) goto L386 (error at :204) else goto L311 -L311: - r624 = PySet_New(0) - if is_error(r624) goto L387 (error at :201) else goto L312 -L312: - r625 = PySet_Add(r624, r617) - dec_ref r617 - r626 = r625 >= 0 :: signed - if not r626 goto L388 (error at :201) else goto L313 :: bool -L313: - r627 = PySet_Add(r624, r620) - dec_ref r620 - r628 = r627 >= 0 :: signed - if not r628 goto L389 (error at :201) else goto L314 :: bool -L314: - r629 = PySet_Add(r624, r623) - dec_ref r623 - r630 = r629 >= 0 :: signed - if not r630 goto L390 (error at :201) else goto L315 :: bool -L315: - r631 = PyObject_GetIter(r624) - dec_ref r624 - if is_error(r631) goto L332 (error at :201) else goto L316 -L316: - r632 = PyIter_Next(r631) - if is_error(r632) goto L391 else goto L317 -L317: - r633 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r634 = 'process_pool' - r635 = CPyDict_SetItem(r633, r634, r632) - dec_ref r632 - r636 = r635 >= 0 :: signed - if not r636 goto L392 (error at :201) else goto L318 :: bool -L318: - r637 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r638 = 'process_pool' - r639 = CPyDict_GetItem(r637, r638) - if is_error(r639) goto L392 (error at :206) else goto L319 -L319: - r640 = '_max_workers' - r641 = CPyObject_GetAttr(r639, r640) - dec_ref r639 - if is_error(r641) goto L392 (error at :206) else goto L320 -L320: - r642 = PyObject_IsTrue(r641) - dec_ref r641 - r643 = r642 >= 0 :: signed - if not r643 goto L392 (error at :206) else goto L321 :: bool -L321: - r644 = truncate r642: i32 to builtins.bool - if r644 goto L393 else goto L316 :: bool -L322: - r645 = 'You cannot set env var ' - r646 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static - r647 = 'process_pool' - r648 = CPyDict_GetItem(r646, r647) - if is_error(r648) goto L332 (error at :208) else goto L323 -L323: - r649 = 'name' - r650 = CPyObject_GetAttr(r648, r649) - dec_ref r648 - if is_error(r650) goto L332 (error at :208) else goto L324 -L324: - r651 = PyObject_Str(r650) - dec_ref r650 - if is_error(r651) goto L332 (error at :208) else goto L325 -L325: - r652 = ' while running dank in infura mode.' - r653 = CPyStr_Build(3, r645, r651, r652) - dec_ref r651 - if is_error(r653) goto L332 (error at :208) else goto L326 -L326: - r654 = builtins :: module - r655 = 'ValueError' - r656 = CPyObject_GetAttr(r654, r655) - if is_error(r656) goto L394 (error at :207) else goto L327 -L327: - r657 = [r653] - r658 = load_address r657 - r659 = _PyObject_Vectorcall(r656, r658, 1, 0) - dec_ref r656 - if is_error(r659) goto L394 (error at :207) else goto L328 -L328: - dec_ref r653 - CPy_Raise(r659) - dec_ref r659 - if not 0 goto L332 (error at :207) else goto L329 :: bool -L329: - unreachable -L330: - r660 = CPy_NoErrOccurred() - if not r660 goto L332 (error at :201) else goto L331 :: bool -L331: - return 1 -L332: - r661 = :: None - return r661 -L333: - dec_ref r76 - goto L332 -L334: - dec_ref r80 - goto L33 -L335: - dec_ref r86 - goto L332 -L336: - dec_ref r96 - goto L332 -L337: - dec_ref r99 - goto L50 -L338: - dec_ref r106 - goto L55 -L339: - dec_ref r110 - goto L57 -L340: - dec_ref r110 - goto L332 -L341: - dec_ref r273 - goto L121 -L342: - dec_ref r273 - goto L124 -L343: - dec_ref r273 - goto L332 -L344: - dec_ref r273 - goto L129 -L345: - dec_ref r297 - goto L135 -L346: - dec_ref r297 - goto L332 -L347: - dec_ref r297 - dec_ref r303 - goto L140 -L348: - dec_ref r297 - dec_ref r303 - goto L332 -L349: - dec_ref r297 - dec_ref r303 - goto L145 -L350: - dec_ref r325 - goto L151 -L351: - dec_ref r325 - goto L332 -L352: - dec_ref r325 - dec_ref r333 :: int - goto L159 -L353: - dec_ref r325 - dec_ref r333 :: int - goto L332 -L354: - dec_ref r325 - dec_ref r333 :: int - goto L164 -L355: - dec_ref r325 - dec_ref r343 - goto L332 -L356: - dec_ref r356 - goto L170 -L357: - dec_ref r356 - goto L332 -L358: - dec_ref r356 - dec_ref r364 :: int - goto L178 -L359: - dec_ref r356 - dec_ref r364 :: int - goto L332 -L360: - dec_ref r356 - dec_ref r364 :: int - goto L183 -L361: - dec_ref r356 - dec_ref r374 - goto L332 -L362: - dec_ref r387 - goto L189 -L363: - dec_ref r387 - goto L332 -L364: - dec_ref r387 - dec_ref r395 :: int - goto L197 -L365: - dec_ref r387 - dec_ref r395 :: int - goto L332 -L366: - dec_ref r387 - dec_ref r395 :: int - goto L202 -L367: - dec_ref r387 - dec_ref r405 - goto L332 -L368: - dec_ref r424 :: int - goto L215 -L369: - dec_ref r424 :: int - goto L332 -L370: - dec_ref r424 :: int - goto L220 -L371: - dec_ref r434 - goto L332 -L372: - dec_ref r523 - goto L258 -L373: - dec_ref r523 - goto L332 -L374: - dec_ref r523 - dec_ref r527 - goto L262 -L375: - dec_ref r523 - dec_ref r527 - goto L332 -L376: - dec_ref r534 - goto L332 -L377: - dec_ref r534 - dec_ref r541 - goto L268 -L378: - dec_ref r534 - dec_ref r541 - goto L332 -L379: - dec_ref r534 - dec_ref r549 - goto L332 -L380: - dec_ref r534 - dec_ref r549 - dec_ref r556 - goto L274 -L381: - dec_ref r534 - dec_ref r549 - dec_ref r556 - goto L332 -L382: - dec_ref r586 - goto L288 -L383: - dec_ref r593 - goto L292 -L384: - dec_ref r607 - goto L302 -L385: - dec_ref r617 - goto L332 -L386: - dec_ref r617 - dec_ref r620 - goto L332 -L387: - dec_ref r617 - dec_ref r620 - dec_ref r623 - goto L332 -L388: - dec_ref r620 - dec_ref r623 - dec_ref r624 - goto L332 -L389: - dec_ref r623 - dec_ref r624 - goto L332 -L390: - dec_ref r624 - goto L332 -L391: - dec_ref r631 - goto L330 -L392: - dec_ref r631 - goto L332 -L393: - dec_ref r631 - goto L322 -L394: - dec_ref r653 - goto L332 - -def DummyLogger.info(args, kwargs): - args :: tuple - kwargs :: dict -L0: - return 1 - -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4, r5 :: object - r6 :: str - r7 :: dict - r8, r9 :: object - r10 :: str - r11 :: dict - r12, r13 :: object - r14 :: str - r15 :: dict - r16, r17 :: object - r18 :: str - r19, r20 :: object - r21 :: bool - r22 :: str - r23 :: tuple - r24 :: i32 - r25 :: bit - r26 :: dict - r27 :: str - r28 :: i32 - r29 :: bit - r30 :: object - r31 :: bool - r32 :: i32 - r33 :: bit - r34 :: bool - r35 :: str - r36 :: object - r37 :: bool - r38 :: object[1] - r39 :: object_ptr - r40 :: object - r41 :: dict - r42 :: str - r43 :: i32 - r44 :: bit - r45 :: dank_mids._demo_mode.DummyLogger - r46 :: dict - r47 :: str - r48 :: i32 - r49 :: bit - r50 :: dict - r51 :: str - r52 :: object - r53 :: dict - r54 :: str - r55 :: i32 - r56 :: bit - r57 :: None -L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool -L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L26 (error at :-1) else goto L2 -L2: - builtins = r4 :: module - dec_ref r4 -L3: - r5 = ('Any', 'Final', 'final') - r6 = 'typing' - r7 = dank_mids._demo_mode.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L26 (error at :1) else goto L4 -L4: - typing = r8 :: module - dec_ref r8 - r9 = ('ENVIRONMENT_VARIABLES',) - r10 = 'dank_mids' - r11 = dank_mids._demo_mode.globals :: static - r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) - if is_error(r12) goto L26 (error at :3) else goto L5 -L5: - dank_mids = r12 :: module - dec_ref r12 - r13 = ('getLogger',) - r14 = 'dank_mids._logging' - r15 = dank_mids._demo_mode.globals :: static - r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) - if is_error(r16) goto L26 (error at :4) else goto L6 -L6: - dank_mids._logging = r16 :: module - dec_ref r16 - r17 = :: object - r18 = 'dank_mids._demo_mode' - r19 = dank_mids._demo_mode.DummyLogger_template :: type - r20 = CPyType_FromTemplate(r19, r17, r18) - if is_error(r20) goto L26 (error at :8) else goto L7 -L7: - r21 = DummyLogger_trait_vtable_setup() - if is_error(r21) goto L27 (error at :-1) else goto L8 -L8: - r22 = '__mypyc_attrs__' - r23 = PyTuple_Pack(0) - if is_error(r23) goto L27 (error at :8) else goto L9 -L9: - r24 = PyObject_SetAttr(r20, r22, r23) - dec_ref r23 - r25 = r24 >= 0 :: signed - if not r25 goto L27 (error at :8) else goto L10 :: bool -L10: - dank_mids._demo_mode.DummyLogger = r20 :: type - r26 = dank_mids._demo_mode.globals :: static - r27 = 'DummyLogger' - r28 = CPyDict_SetItem(r26, r27, r20) - dec_ref r20 - r29 = r28 >= 0 :: signed - if not r29 goto L26 (error at :8) else goto L11 :: bool -L11: - r30 = dank_mids.ENVIRONMENT_VARIABLES.DEMO_MODE :: static - if is_error(r30) goto L12 else goto L14 -L12: - r31 = raise NameError('value for final name "DEMO_MODE" was not set') - if not r31 goto L26 (error at :30) else goto L13 :: bool -L13: - unreachable -L14: - r32 = PyObject_IsTrue(r30) - r33 = r32 >= 0 :: signed - if not r33 goto L26 (error at :30) else goto L15 :: bool -L15: - r34 = truncate r32: i32 to builtins.bool - if r34 goto L16 else goto L21 :: bool -L16: - r35 = 'dank_mids.demo' - r36 = dank_mids._logging.getLogger :: static - if is_error(r36) goto L17 else goto L19 -L17: - r37 = raise NameError('value for final name "getLogger" was not set') - if not r37 goto L26 (error at :31) else goto L18 :: bool -L18: - unreachable -L19: - r38 = [r35] - r39 = load_address r38 - r40 = _PyObject_Vectorcall(r36, r39, 1, 0) - if is_error(r40) goto L26 (error at :31) else goto L20 -L20: - r41 = dank_mids._demo_mode.globals :: static - r42 = '_logger' - r43 = CPyDict_SetItem(r41, r42, r40) - dec_ref r40 - r44 = r43 >= 0 :: signed - if not r44 goto L26 (error at :31) else goto L23 :: bool -L21: - r45 = DummyLogger() - if is_error(r45) goto L26 (error at :33) else goto L22 -L22: - r46 = dank_mids._demo_mode.globals :: static - r47 = '_logger' - r48 = CPyDict_SetItem(r46, r47, r45) - dec_ref r45 - r49 = r48 >= 0 :: signed - if not r49 goto L26 (error at :33) else goto L23 :: bool -L23: - r50 = dank_mids._demo_mode.globals :: static - r51 = '_logger' - r52 = CPyDict_GetItem(r50, r51) - if is_error(r52) goto L26 (error at :35) else goto L24 -L24: - dank_mids._demo_mode.demo_logger = r52 :: static - r53 = dank_mids._demo_mode.globals :: static - r54 = 'demo_logger' - r55 = CPyDict_SetItem(r53, r54, r52) - dec_ref r52 - r56 = r55 >= 0 :: signed - if not r56 goto L26 (error at :35) else goto L25 :: bool -L25: - return 1 -L26: - r57 = :: None - return r57 -L27: - dec_ref r20 - goto L26 - -def coroutine__patch_overloaded_method_obj.__get__(__mypyc_self__, instance, owner): - __mypyc_self__, instance, owner, r0 :: object - r1 :: bit - r2, r3 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = instance == r0 - if r1 goto L1 else goto L2 :: bool -L1: - inc_ref __mypyc_self__ - return __mypyc_self__ -L2: - r2 = PyMethod_New(__mypyc_self__, instance) - if is_error(r2) goto L4 else goto L3 -L3: - return r2 -L4: - r3 = :: object - return r3 - -def coroutine__patch_overloaded_method_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg): - __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen - type, value, traceback, arg, r0, r1 :: object - r2 :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_env - r3 :: int - r4 :: dank_mids.brownie_patch.overloaded._patch_overloaded_method_env - r5 :: object - r6 :: bit - r7 :: object - r8 :: tuple - r9 :: str - r10 :: object[2] - r11 :: object_ptr - r12 :: object - r13 :: bool - r14 :: tuple[object, object, object] - r15 :: bool - r16 :: object - r17 :: str - r18 :: object - r19 :: bit - r20 :: object - r21 :: bool - r22 :: object - r23 :: str - r24 :: bool - r25 :: str - r26 :: object - r27 :: str - r28 :: object - r29, r30, r31 :: str - r32 :: object - r33 :: str - r34 :: object - r35, r36 :: str - r37 :: tuple[str, str] - r38, r39 :: bool - r40 :: tuple[str, str] - r41, r42 :: object - r43, r44 :: bool - r45, r46 :: object - r47 :: str - r48 :: bool - r49, r50 :: str - r51 :: i32 - r52 :: bit - r53, r54 :: bool - r55 :: bit - r56, r57, r58 :: str - r59 :: object[2] - r60 :: object_ptr - r61 :: object - r62 :: int - r63 :: bool - r64 :: str - r65 :: int - r66 :: object - r67, r68, r69 :: str - r70 :: int - r71 :: object - r72, r73 :: str - r74 :: object - r75 :: str - r76 :: object - r77 :: object[1] - r78 :: object_ptr - r79 :: object - r80 :: tuple[object, object, object] - r81 :: bit - r82 :: str - r83 :: union[int, str, bytes, None] - r84 :: str - r85 :: union[int, None] - r86 :: str - r87 :: union[dict, None] - r88 :: dict - r89 :: bool - r90 :: dict - r91 :: bool - r92 :: dict - r93, r94 :: bool - r95 :: dict - r96 :: native_int - r97 :: short_int - r98 :: bool - r99 :: object - r100 :: bool - r101 :: object - r102 :: short_int - r103 :: tuple[bool, short_int, object, object] - r104 :: short_int - r105, r106 :: bool - r107, r108 :: object - r109 :: str - r110 :: union[int, str, bytes, None, dict] - r111, r112 :: bool - r113 :: union[int, str, bytes, None, dict] - r114 :: object - r115 :: bit - r116 :: str - r117 :: union[int, str, bytes, None, dict] - r118 :: union[int, str, bytes, dict] - r119 :: dict - r120 :: i32 - r121 :: bit - r122 :: dict - r123 :: short_int - r124, r125 :: bit - r126 :: dict - r127 :: bool - r128 :: object - r129 :: tuple - r130 :: dict - r131 :: str - r132 :: object - r133 :: list - r134 :: object - r135 :: dict - r136 :: i32 - r137 :: bit - r138 :: tuple - r139, r140 :: object - r141 :: bool - r142, r143, r144, r145, r146 :: object - r147 :: bool - r148 :: object - r149 :: bit - r150 :: tuple[object, object, object] - r151 :: bool - r152 :: object_ptr - r153 :: object - r154, r155 :: bool - r156 :: tuple[object, object, object] - r157 :: bool - r158, r159 :: tuple[object, object, object] - r160 :: bit - r161, r162, r163 :: object - r164 :: bool - r165, r166 :: bit - r167 :: bool - r168 :: object -L0: - r0 = :: object - r1 = r0 - r2 = __mypyc_self__.__mypyc_env__ - if is_error(r2) goto L153 (error at coroutine:24) else goto L1 -L1: - r3 = r2.__mypyc_next_label__ - if is_error(r3) goto L154 (error at coroutine:24) else goto L2 -L2: - r4 = r2.__mypyc_env__ - if is_error(r4) goto L155 (error at coroutine:24) else goto L148 -L3: - r5 = load_address _Py_NoneStruct - r6 = type != r5 - if r6 goto L156 else goto L6 :: bool -L4: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L152 (error at coroutine:24) else goto L5 :: bool -L5: - unreachable -L6: - r7 = r2.self - if is_error(r7) goto L157 (error at coroutine:45) else goto L7 -L7: - r8 = r2.args - if is_error(r8) goto L158 (error at coroutine:45) else goto L8 -L8: - r9 = '_get_fn_from_args' - r10 = [r7, r8] - r11 = load_address r10 - r12 = PyObject_VectorcallMethod(r9, r11, 9223372036854775810, 0) - if is_error(r12) goto L159 (error at coroutine:45) else goto L9 -L9: - dec_ref r7 - dec_ref r8 - r2.fn = r12; r13 = is_error - if not r13 goto L157 (error at coroutine:45) else goto L160 :: bool -L10: - r14 = CPy_CatchError() - r2.__mypyc_temp__0 = r14; r15 = is_error - if not r15 goto L161 (error at coroutine:-1) else goto L11 :: bool -L11: - r16 = builtins :: module - r17 = 'ValueError' - r18 = CPyObject_GetAttr(r16, r17) - if is_error(r18) goto L161 (error at coroutine:46) else goto L12 -L12: - r19 = CPy_ExceptionMatches(r18) - dec_ref r18 - if r19 goto L13 else goto L162 :: bool -L13: - r20 = CPy_GetExcValue() - r2.e = r20; r21 = is_error - if not r21 goto L161 (error at coroutine:46) else goto L14 :: bool -L14: - r22 = r2.e - if is_error(r22) goto L161 (error at coroutine:47) else goto L15 -L15: - r23 = PyObject_Str(r22) - dec_ref r22 - if is_error(r23) goto L161 (error at coroutine:47) else goto L16 -L16: - r2.exc_str = r23; r24 = is_error - if not r24 goto L161 (error at coroutine:47) else goto L17 :: bool -L17: - r25 = "Contract has more than one function '." - r26 = r4.call - if is_error(r26) goto L161 (error at coroutine:49) else goto L18 -L18: - r27 = '_name' - r28 = CPyObject_GetAttr(r26, r27) - dec_ref r26 - if is_error(r28) goto L161 (error at coroutine:49) else goto L19 -L19: - r29 = PyObject_Str(r28) - dec_ref r28 - if is_error(r29) goto L161 (error at coroutine:49) else goto L20 -L20: - r30 = CPyStr_Build(2, r25, r29) - dec_ref r29 - if is_error(r30) goto L161 (error at coroutine:49) else goto L21 -L21: - r31 = 'You must explicitly declare which function you are calling, e.g. .' - r32 = r4.call - dec_ref r4 - if is_error(r32) goto L163 (error at coroutine:50) else goto L22 -L22: - r33 = '_name' - r34 = CPyObject_GetAttr(r32, r33) - dec_ref r32 - if is_error(r34) goto L163 (error at coroutine:50) else goto L23 -L23: - r35 = PyObject_Str(r34) - dec_ref r34 - if is_error(r35) goto L163 (error at coroutine:50) else goto L24 -L24: - r36 = CPyStr_Build(2, r31, r35) - dec_ref r35 - if is_error(r36) goto L163 (error at coroutine:50) else goto L25 -L25: - r37 = (r30, r36) - r2.match_on = r37; r38 = is_error - if not r38 goto L62 (error at coroutine:48) else goto L26 :: bool -L26: - r39 = 1 - r40 = r2.match_on - if is_error(r40) goto L62 (error at coroutine:52) else goto L27 -L27: - inc_ref r40 - r41 = box(tuple[str, str], r40) - r42 = PyObject_GetIter(r41) - dec_ref r41 - if is_error(r42) goto L164 (error at coroutine:52) else goto L28 -L28: - r2.__mypyc_temp__1 = r40; r43 = is_error - if not r43 goto L165 (error at coroutine:-1) else goto L29 :: bool -L29: - r2.__mypyc_temp__2 = r42; r44 = is_error - if not r44 goto L62 (error at coroutine:-1) else goto L30 :: bool -L30: - r45 = r2.__mypyc_temp__2 - if is_error(r45) goto L62 (error at coroutine:52) else goto L31 -L31: - r46 = PyIter_Next(r45) - dec_ref r45 - if is_error(r46) goto L39 else goto L32 -L32: - r47 = cast(str, r46) - if is_error(r47) goto L62 (error at coroutine:52) else goto L33 -L33: - r2.s = r47; r48 = is_error - if not r48 goto L62 (error at coroutine:52) else goto L34 :: bool -L34: - r49 = r2.s - if is_error(r49) goto L62 (error at coroutine:52) else goto L35 -L35: - r50 = r2.exc_str - if is_error(r50) goto L166 (error at coroutine:52) else goto L36 -L36: - r51 = PySequence_Contains(r50, r49) - dec_ref r50 - dec_ref r49 - r52 = r51 >= 0 :: signed - if not r52 goto L62 (error at coroutine:52) else goto L37 :: bool -L37: - r53 = truncate r51: i32 to builtins.bool - r54 = r53 ^ 1 - if r54 goto L38 else goto L30 :: bool -L38: - r39 = 0 - goto L40 -L39: - r55 = CPy_NoErrOccurred() - if not r55 goto L62 (error at coroutine:52) else goto L40 :: bool -L40: - if r39 goto L41 else goto L58 :: bool -L41: - r56 = r2.exc_str - if is_error(r56) goto L62 (error at coroutine:53) else goto L42 -L42: - r57 = '(*args)' - r58 = 'find' - r59 = [r56, r57] - r60 = load_address r59 - r61 = PyObject_VectorcallMethod(r58, r60, 9223372036854775810, 0) - if is_error(r61) goto L167 (error at coroutine:53) else goto L43 -L43: - dec_ref r56 - r62 = unbox(int, r61) - dec_ref r61 - if is_error(r62) goto L62 (error at coroutine:53) else goto L44 -L44: - r2.breakpoint = r62; r63 = is_error - if not r63 goto L62 (error at coroutine:53) else goto L45 :: bool -L45: - r64 = r2.exc_str - if is_error(r64) goto L62 (error at coroutine:54) else goto L46 -L46: - r65 = r2.breakpoint - if is_error(r65) goto L168 (error at coroutine:54) else goto L47 -L47: - r66 = CPyStr_GetSlice(r64, 0, r65) - dec_ref r64 - dec_ref r65 :: int - if is_error(r66) goto L62 (error at coroutine:54) else goto L48 -L48: - r67 = cast(str, r66) - if is_error(r67) goto L62 (error at coroutine:54) else goto L49 -L49: - r68 = '.coroutine' - r69 = r2.exc_str - if is_error(r69) goto L169 (error at coroutine:54) else goto L50 -L50: - r70 = r2.breakpoint - if is_error(r70) goto L170 (error at coroutine:54) else goto L51 -L51: - r71 = CPyStr_GetSlice(r69, r70, 9223372036854775806) - dec_ref r69 - dec_ref r70 :: int - if is_error(r71) goto L169 (error at coroutine:54) else goto L52 -L52: - r72 = cast(str, r71) - if is_error(r72) goto L169 (error at coroutine:54) else goto L53 -L53: - r73 = CPyStr_Build(3, r67, r68, r72) - dec_ref r67 - dec_ref r72 - if is_error(r73) goto L62 (error at coroutine:54) else goto L54 -L54: - r74 = builtins :: module - r75 = 'ValueError' - r76 = CPyObject_GetAttr(r74, r75) - if is_error(r76) goto L171 (error at coroutine:54) else goto L55 -L55: - r77 = [r73] - r78 = load_address r77 - r79 = _PyObject_Vectorcall(r76, r78, 1, 0) - dec_ref r76 - if is_error(r79) goto L171 (error at coroutine:54) else goto L56 -L56: - dec_ref r73 - CPy_Raise(r79) - dec_ref r79 - if not 0 goto L62 (error at coroutine:54) else goto L172 :: bool -L57: - unreachable -L58: - CPy_Reraise() - if not 0 goto L62 else goto L173 :: bool -L59: - unreachable -L60: - CPy_Reraise() - if not 0 goto L62 else goto L174 :: bool -L61: - unreachable -L62: - r80 = r2.__mypyc_temp__0 - dec_ref r2 - if is_error(r80) goto L152 (error at coroutine:-1) else goto L63 -L63: - CPy_RestoreExcInfo(r80) - dec_ref r80 - r81 = CPy_KeepPropagating() - if not r81 goto L152 else goto L64 :: bool -L64: - unreachable -L65: - r82 = 'block_identifier' - r83 = r2.block_identifier - if is_error(r83) goto L154 (error at coroutine:57) else goto L66 -L66: - r84 = 'decimals' - r85 = r2.decimals - if is_error(r85) goto L175 (error at coroutine:57) else goto L67 -L67: - r86 = 'override' - r87 = r2.override - if is_error(r87) goto L176 (error at coroutine:57) else goto L68 -L68: - r88 = CPyDict_Build(3, r82, r83, r84, r85, r86, r87) - dec_ref r83 - dec_ref r85 - dec_ref r87 - if is_error(r88) goto L154 (error at coroutine:57) else goto L69 -L69: - r2.kwargs = r88; r89 = is_error - if not r89 goto L154 (error at coroutine:57) else goto L70 :: bool -L70: - r90 = PyDict_New() - if is_error(r90) goto L154 (error at coroutine:58) else goto L71 -L71: - r2.__mypyc_temp__3 = r90; r91 = is_error - if not r91 goto L154 (error at coroutine:-1) else goto L72 :: bool -L72: - r92 = r2.kwargs - if is_error(r92) goto L154 (error at coroutine:58) else goto L73 -L73: - inc_ref r92 - r2.__mypyc_temp__4 = r92; r93 = is_error - if not r93 goto L177 (error at coroutine:-1) else goto L74 :: bool -L74: - r2.__mypyc_temp__5 = 0; r94 = is_error - if not r94 goto L177 (error at coroutine:-1) else goto L75 :: bool -L75: - r95 = r2.__mypyc_temp__4 - if is_error(r95) goto L177 (error at coroutine:58) else goto L76 -L76: - r96 = PyDict_Size(r95) - dec_ref r95 - r97 = r96 << 1 - r2.__mypyc_temp__6 = r97; r98 = is_error - if not r98 goto L177 (error at coroutine:-1) else goto L77 :: bool -L77: - r99 = CPyDict_GetItemsIter(r92) - dec_ref r92 - if is_error(r99) goto L154 (error at coroutine:58) else goto L78 -L78: - r2.__mypyc_temp__7 = r99; r100 = is_error - if not r100 goto L154 (error at coroutine:-1) else goto L79 :: bool -L79: - r101 = r2.__mypyc_temp__7 - if is_error(r101) goto L154 (error at coroutine:58) else goto L80 -L80: - r102 = r2.__mypyc_temp__5 - if is_error(r102) goto L178 (error at coroutine:58) else goto L81 -L81: - r103 = CPyDict_NextItem(r101, r102) - dec_ref r101 - r104 = r103[1] - r2.__mypyc_temp__5 = r104; r105 = is_error - if not r105 goto L179 (error at coroutine:58) else goto L82 :: bool -L82: - r106 = r103[0] - if r106 goto L83 else goto L180 :: bool -L83: - r107 = r103[2] - r108 = r103[3] - dec_ref r103 - r109 = cast(str, r107) - if is_error(r109) goto L181 (error at coroutine:58) else goto L84 -L84: - r110 = cast(union[int, str, bytes, None, dict], r108) - if is_error(r110) goto L182 (error at coroutine:58) else goto L85 -L85: - r2.k = r109; r111 = is_error - if not r111 goto L183 (error at coroutine:58) else goto L86 :: bool -L86: - r2.v = r110; r112 = is_error - if not r112 goto L154 (error at coroutine:58) else goto L87 :: bool -L87: - r113 = r2.v - if is_error(r113) goto L154 (error at coroutine:58) else goto L88 -L88: - r114 = load_address _Py_NoneStruct - r115 = r113 != r114 - dec_ref r113 - if r115 goto L89 else goto L94 :: bool -L89: - r116 = r2.k - if is_error(r116) goto L154 (error at coroutine:58) else goto L90 -L90: - r117 = r2.v - if is_error(r117) goto L184 (error at coroutine:58) else goto L91 -L91: - r118 = cast(union[int, str, bytes, dict], r117) - if is_error(r118) goto L184 (error at coroutine:58) else goto L92 -L92: - r119 = r2.__mypyc_temp__3 - if is_error(r119) goto L185 (error at coroutine:-1) else goto L93 -L93: - r120 = CPyDict_SetItem(r119, r116, r118) - dec_ref r119 - dec_ref r116 - dec_ref r118 - r121 = r120 >= 0 :: signed - if not r121 goto L154 (error at coroutine:58) else goto L94 :: bool -L94: - r122 = r2.__mypyc_temp__4 - if is_error(r122) goto L154 (error at coroutine:58) else goto L95 -L95: - r123 = r2.__mypyc_temp__6 - if is_error(r123) goto L186 (error at coroutine:58) else goto L96 -L96: - r124 = CPyDict_CheckSize(r122, r123) - dec_ref r122 - if not r124 goto L154 (error at coroutine:58) else goto L79 :: bool -L97: - r125 = CPy_NoErrOccurred() - if not r125 goto L154 (error at coroutine:58) else goto L98 :: bool -L98: - r126 = r2.__mypyc_temp__3 - if is_error(r126) goto L154 (error at coroutine:-1) else goto L99 -L99: - r2.kwargs = r126; r127 = is_error - if not r127 goto L154 (error at coroutine:58) else goto L100 :: bool -L100: - r128 = r2.fn - if is_error(r128) goto L154 (error at coroutine:59) else goto L101 -L101: - r129 = r2.args - if is_error(r129) goto L187 (error at coroutine:59) else goto L102 -L102: - r130 = r2.kwargs - if is_error(r130) goto L188 (error at coroutine:59) else goto L103 -L103: - r131 = 'coroutine' - r132 = CPyObject_GetAttr(r128, r131) - dec_ref r128 - if is_error(r132) goto L189 (error at coroutine:59) else goto L104 -L104: - r133 = PyList_New(0) - if is_error(r133) goto L190 (error at coroutine:59) else goto L105 -L105: - r134 = CPyList_Extend(r133, r129) - dec_ref r129 - if is_error(r134) goto L191 (error at coroutine:59) else goto L192 -L106: - r135 = PyDict_New() - if is_error(r135) goto L191 (error at coroutine:59) else goto L107 -L107: - r136 = CPyDict_UpdateInDisplay(r135, r130) - dec_ref r130 - r137 = r136 >= 0 :: signed - if not r137 goto L193 (error at coroutine:59) else goto L108 :: bool -L108: - r138 = PyList_AsTuple(r133) - dec_ref r133 - if is_error(r138) goto L194 (error at coroutine:59) else goto L109 -L109: - r139 = PyObject_Call(r132, r138, r135) - dec_ref r132 - dec_ref r138 - dec_ref r135 - if is_error(r139) goto L154 (error at coroutine:59) else goto L110 -L110: - r140 = CPy_GetCoro(r139) - dec_ref r139 - if is_error(r140) goto L154 (error at coroutine:59) else goto L111 -L111: - r2.__mypyc_temp__8 = r140; r141 = is_error - if not r141 goto L154 (error at coroutine:-1) else goto L112 :: bool -L112: - r142 = r2.__mypyc_temp__8 - if is_error(r142) goto L154 (error at coroutine:-1) else goto L113 -L113: - r143 = CPyIter_Next(r142) - dec_ref r142 - if is_error(r143) goto L195 else goto L116 -L114: - r144 = CPy_FetchStopIterationValue() - if is_error(r144) goto L196 (error at coroutine:59) else goto L115 -L115: - r145 = r144 - goto L145 -L116: - r146 = r143 -L117: - r2.__mypyc_next_label__ = 2; r147 = is_error - if not r147 goto L197 (error at coroutine:59) else goto L198 :: bool -L118: - return r146 -L119: - r148 = load_address _Py_NoneStruct - r149 = type != r148 - if r149 goto L120 else goto L122 :: bool -L120: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L123 (error at coroutine:59) else goto L199 :: bool -L121: - unreachable -L122: - inc_ref arg - goto L140 -L123: - r150 = CPy_CatchError() - r2.__mypyc_temp__9 = r150; r151 = is_error - if not r151 goto L200 (error at coroutine:-1) else goto L124 :: bool -L124: - r152 = load_address r1 - r153 = r2.__mypyc_temp__8 - if is_error(r153) goto L200 (error at coroutine:-1) else goto L125 -L125: - r154 = CPy_YieldFromErrorHandle(r153, r152) - dec_ref r153 - if is_error(r154) goto L200 (error at coroutine:59) else goto L126 -L126: - if r154 goto L132 else goto L127 :: bool -L127: - if is_error(r1) goto L128 else goto L130 -L128: - r155 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r155 goto L137 (error at coroutine:-1) else goto L201 :: bool -L129: - unreachable -L130: - inc_ref r1 - r146 = r1 - r156 = r2.__mypyc_temp__9 - if is_error(r156) goto L202 (error at coroutine:-1) else goto L131 -L131: - CPy_RestoreExcInfo(r156) - dec_ref r156 - goto L117 -L132: - if is_error(r1) goto L133 else goto L135 -L133: - r157 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r157 goto L137 (error at coroutine:-1) else goto L203 :: bool -L134: - unreachable -L135: - r145 = r1 - r158 = r2.__mypyc_temp__9 - if is_error(r158) goto L204 (error at coroutine:-1) else goto L136 -L136: - CPy_RestoreExcInfo(r158) - dec_ref r158 - goto L145 -L137: - r159 = r2.__mypyc_temp__9 - dec_ref r2 - if is_error(r159) goto L152 (error at coroutine:-1) else goto L138 -L138: - CPy_RestoreExcInfo(r159) - dec_ref r159 - r160 = CPy_KeepPropagating() - if not r160 goto L152 else goto L139 :: bool -L139: - unreachable -L140: - r161 = r2.__mypyc_temp__8 - if is_error(r161) goto L205 (error at coroutine:-1) else goto L141 -L141: - r162 = CPyIter_Send(r161, arg) - dec_ref r161 - dec_ref arg - if is_error(r162) goto L206 else goto L142 -L142: - r146 = r162 - goto L117 -L143: - r163 = CPy_FetchStopIterationValue() - if is_error(r163) goto L196 (error at coroutine:59) else goto L144 -L144: - r145 = r163 -L145: - r2.__mypyc_next_label__ = -2; r164 = is_error - dec_ref r2 - if not r164 goto L207 (error at coroutine:59) else goto L146 :: bool -L146: - CPyGen_SetStopIterationValue(r145) - dec_ref r145 - if not 0 goto L152 else goto L147 :: bool -L147: - unreachable -L148: - r165 = r3 == 0 - if r165 goto L208 else goto L209 :: bool -L149: - r166 = r3 == 2 - dec_ref r3 :: int - if r166 goto L119 else goto L210 :: bool -L150: - r167 = raise StopIteration - if not r167 goto L152 (error at coroutine:24) else goto L151 :: bool -L151: - unreachable -L152: - r168 = :: object - return r168 -L153: - xdec_ref r1 - goto L152 -L154: - xdec_ref r1 - dec_ref r2 - goto L152 -L155: - xdec_ref r1 - dec_ref r2 - dec_ref r3 :: int - goto L152 -L156: - xdec_ref r1 - dec_ref r2 - dec_ref r4 - goto L4 -L157: - xdec_ref r1 - goto L10 -L158: - xdec_ref r1 - dec_ref r7 - goto L10 -L159: - xdec_ref r1 - dec_ref r7 - dec_ref r8 - goto L10 -L160: - dec_ref r4 - goto L65 -L161: - dec_ref r4 - goto L62 -L162: - dec_ref r4 - goto L60 -L163: - dec_ref r30 - goto L62 -L164: - dec_ref r40 - goto L62 -L165: - dec_ref r42 - goto L62 -L166: - dec_ref r49 - goto L62 -L167: - dec_ref r56 - goto L62 -L168: - dec_ref r64 - goto L62 -L169: - dec_ref r67 - goto L62 -L170: - dec_ref r67 - dec_ref r69 - goto L62 -L171: - dec_ref r73 - goto L62 -L172: - dec_ref r2 - goto L57 -L173: - dec_ref r2 - goto L59 -L174: - dec_ref r2 - goto L61 -L175: - xdec_ref r1 - dec_ref r2 - dec_ref r83 - goto L152 -L176: - xdec_ref r1 - dec_ref r2 - dec_ref r83 - dec_ref r85 - goto L152 -L177: - xdec_ref r1 - dec_ref r2 - dec_ref r92 - goto L152 -L178: - xdec_ref r1 - dec_ref r2 - dec_ref r101 - goto L152 -L179: - xdec_ref r1 - dec_ref r2 - dec_ref r103 - goto L152 -L180: - dec_ref r103 - goto L97 -L181: - xdec_ref r1 - dec_ref r2 - dec_ref r108 - goto L152 -L182: - xdec_ref r1 - dec_ref r2 - dec_ref r109 - goto L152 -L183: - xdec_ref r1 - dec_ref r2 - dec_ref r110 - goto L152 -L184: - xdec_ref r1 - dec_ref r2 - dec_ref r116 - goto L152 -L185: - xdec_ref r1 - dec_ref r2 - dec_ref r116 - dec_ref r118 - goto L152 -L186: - xdec_ref r1 - dec_ref r2 - dec_ref r122 - goto L152 -L187: - xdec_ref r1 - dec_ref r2 - dec_ref r128 - goto L152 -L188: - xdec_ref r1 - dec_ref r2 - dec_ref r128 - dec_ref r129 - goto L152 -L189: - xdec_ref r1 - dec_ref r2 - dec_ref r129 - dec_ref r130 - goto L152 -L190: - xdec_ref r1 - dec_ref r2 - dec_ref r129 - dec_ref r130 - dec_ref r132 - goto L152 -L191: - xdec_ref r1 - dec_ref r2 - dec_ref r130 - dec_ref r132 - dec_ref r133 - goto L152 -L192: - dec_ref r134 - goto L106 -L193: - xdec_ref r1 - dec_ref r2 - dec_ref r132 - dec_ref r133 - dec_ref r135 - goto L152 -L194: - xdec_ref r1 - dec_ref r2 - dec_ref r132 - dec_ref r135 - goto L152 -L195: - xdec_ref r1 - goto L114 -L196: - dec_ref r2 - goto L152 -L197: - dec_ref r146 - goto L123 -L198: - xdec_ref r1 - dec_ref r2 - goto L118 -L199: - xdec_ref r1 - dec_ref r2 - goto L121 -L200: - xdec_ref r1 - goto L137 -L201: - dec_ref r2 - goto L129 -L202: - xdec_ref r1 - dec_ref r146 - goto L137 -L203: - dec_ref r2 - goto L134 -L204: - dec_ref r145 - goto L137 -L205: - xdec_ref r1 - dec_ref r2 - dec_ref arg - goto L152 -L206: - xdec_ref r1 - goto L143 -L207: - dec_ref r145 - goto L152 -L208: - dec_ref r3 :: int - goto L3 -L209: - dec_ref r4 - goto L149 -L210: - xdec_ref r1 - dec_ref r2 - goto L150 - -def coroutine__patch_overloaded_method_gen.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen - r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = coroutine__patch_overloaded_method_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def coroutine__patch_overloaded_method_gen.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen - arg, r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = coroutine__patch_overloaded_method_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def coroutine__patch_overloaded_method_gen.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ - -def coroutine__patch_overloaded_method_gen.throw(__mypyc_self__, type, value, traceback): - __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen - type, value, traceback, r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - if is_error(value) goto L1 else goto L7 -L1: - inc_ref r0 - value = r0 -L2: - if is_error(traceback) goto L3 else goto L8 -L3: - inc_ref r0 - traceback = r0 -L4: - r1 = coroutine__patch_overloaded_method_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0) - dec_ref value - dec_ref traceback - if is_error(r1) goto L6 else goto L5 -L5: - return r1 -L6: - r2 = :: object - return r2 -L7: - inc_ref value - goto L2 -L8: - inc_ref traceback - goto L4 - -def coroutine__patch_overloaded_method_gen.close(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen - r0 :: object - r1 :: str - r2, r3, r4, r5 :: object - r6 :: tuple[object, object, object] - r7 :: object - r8 :: str - r9 :: object - r10 :: tuple[object, object] - r11 :: object - r12 :: bit - r13 :: object - r14 :: bool - r15 :: object -L0: -L1: - r0 = builtins :: module - r1 = 'GeneratorExit' - r2 = CPyObject_GetAttr(r0, r1) - if is_error(r2) goto L3 else goto L2 -L2: - r3 = load_address _Py_NoneStruct - r4 = load_address _Py_NoneStruct - r5 = __mypyc_self__.throw(r2, r3, r4) - if is_error(r5) goto L3 else goto L11 -L3: - r6 = CPy_CatchError() - r7 = builtins :: module - r8 = 'StopIteration' - r9 = CPyObject_GetAttr(r7, r8) - if is_error(r9) goto L12 else goto L4 -L4: - r10 = (r2, r9) - r11 = box(tuple[object, object], r10) - r12 = CPy_ExceptionMatches(r11) - dec_ref r11 - if r12 goto L5 else goto L13 :: bool -L5: - CPy_RestoreExcInfo(r6) - dec_ref r6 - r13 = load_address _Py_NoneStruct - inc_ref r13 - return r13 -L6: - CPy_Reraise() - if not 0 goto L10 else goto L7 :: bool -L7: - unreachable -L8: - r14 = raise RuntimeError('generator ignored GeneratorExit') - if not r14 goto L10 else goto L9 :: bool -L9: - unreachable -L10: - r15 = :: object - return r15 -L11: - dec_ref r2 - dec_ref r5 - goto L8 -L12: - dec_ref r2 - dec_ref r6 - goto L10 -L13: - dec_ref r6 - goto L6 - -def coroutine__patch_overloaded_method_gen.__await__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ - -def coroutine__patch_overloaded_method_obj.__call__(__mypyc_self__, self, args, block_identifier, decimals, override): - __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_obj - self :: object - args :: tuple - block_identifier :: union[int, str, bytes, None] - decimals :: union[int, None] - override :: union[dict, None] - r0 :: dank_mids.brownie_patch.overloaded._patch_overloaded_method_env - r1, r2, r3 :: object - r4 :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_env - r5, r6, r7, r8, r9, r10 :: bool - r11 :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen - r12, r13 :: bool - r14 :: object -L0: - r0 = __mypyc_self__.__mypyc_env__ - if is_error(r0) goto L18 (error at coroutine:24) else goto L1 -L1: - if is_error(block_identifier) goto L2 else goto L19 -L2: - r1 = box(None, 1) - inc_ref r1 - block_identifier = r1 -L3: - if is_error(decimals) goto L4 else goto L20 -L4: - r2 = box(None, 1) - inc_ref r2 - decimals = r2 -L5: - if is_error(override) goto L6 else goto L21 -L6: - r3 = box(None, 1) - inc_ref r3 - override = r3 -L7: - r4 = coroutine__patch_overloaded_method_env() - if is_error(r4) goto L22 (error at coroutine:24) else goto L8 -L8: - r4.__mypyc_env__ = r0; r5 = is_error - if not r5 goto L23 (error at coroutine:24) else goto L9 :: bool -L9: - inc_ref self - r4.self = self; r6 = is_error - if not r6 goto L23 (error at coroutine:24) else goto L10 :: bool -L10: - inc_ref args - r4.args = args; r7 = is_error - if not r7 goto L23 (error at coroutine:24) else goto L11 :: bool -L11: - r4.block_identifier = block_identifier; r8 = is_error - if not r8 goto L24 (error at coroutine:24) else goto L12 :: bool -L12: - r4.decimals = decimals; r9 = is_error - if not r9 goto L25 (error at coroutine:24) else goto L13 :: bool -L13: - r4.override = override; r10 = is_error - if not r10 goto L26 (error at coroutine:24) else goto L14 :: bool -L14: - r11 = coroutine__patch_overloaded_method_gen() - if is_error(r11) goto L26 (error at coroutine:24) else goto L15 -L15: - inc_ref r4 - r11.__mypyc_env__ = r4; r12 = is_error - if not r12 goto L27 (error at coroutine:24) else goto L16 :: bool -L16: - r4.__mypyc_next_label__ = 0; r13 = is_error - dec_ref r4 - if not r13 goto L28 (error at coroutine:24) else goto L17 :: bool -L17: - return r11 -L18: - r14 = :: object - return r14 -L19: - inc_ref block_identifier - goto L3 -L20: - inc_ref decimals - goto L5 -L21: - inc_ref override - goto L7 -L22: - dec_ref block_identifier - dec_ref decimals - dec_ref override - dec_ref r0 - goto L18 -L23: - dec_ref block_identifier - dec_ref decimals - dec_ref override - dec_ref r4 - goto L18 -L24: - dec_ref decimals - dec_ref override - dec_ref r4 - goto L18 -L25: - dec_ref override - dec_ref r4 - goto L18 -L26: - dec_ref r4 - goto L18 -L27: - dec_ref r4 - dec_ref r11 - goto L18 -L28: - dec_ref r11 - goto L18 - -def _patch_overloaded_method(call, w3): - call, w3 :: object - r0 :: dank_mids.brownie_patch.overloaded._patch_overloaded_method_env - r1 :: bool - r2 :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_obj - r3 :: bool - r4 :: object - r5 :: dict - r6 :: str - r7 :: object - r8 :: object[1] - r9 :: object_ptr - r10 :: object - r11 :: object[1] - r12 :: object_ptr - r13 :: object - r14 :: dict - r15 :: str - r16 :: i32 - r17 :: bit - r18 :: object - r19 :: str - r20 :: object - r21 :: str - r22 :: object - r23 :: str - r24 :: object[1] - r25 :: object_ptr - r26, r27, r28 :: object - r29 :: dict - r30 :: str - r31 :: object - r32 :: dict - r33 :: str - r34 :: object - r35 :: tuple[object, object] - r36 :: object - r37 :: i32 - r38 :: bit - r39 :: bool - r40 :: str - r41 :: object - r42 :: dict - r43 :: str - r44 :: object - r45 :: set - r46 :: i32 - r47 :: bit - r48 :: bool - r49 :: str - r50 :: object - r51 :: i32 - r52 :: bit - r53 :: str - r54 :: object - r55 :: str - r56 :: object - r57 :: int - r58 :: dict - r59 :: str - r60, r61 :: object - r62 :: object[2] - r63 :: object_ptr - r64 :: object - r65 :: dict - r66 :: str - r67 :: object - r68 :: object[2] - r69 :: object_ptr - r70 :: object - r71 :: str - r72 :: i32 - r73, r74 :: bit - r75 :: object - r76 :: dict - r77 :: str - r78 :: object - r79 :: object[2] - r80 :: object_ptr - r81, r82 :: object - r83 :: str - r84 :: i32 - r85 :: bit - r86 :: None -L0: - r0 = _patch_overloaded_method_env() - if is_error(r0) goto L39 (error at _patch_overloaded_method:12) else goto L1 -L1: - inc_ref call - r0.call = call; r1 = is_error - if not r1 goto L40 (error at _patch_overloaded_method:12) else goto L2 :: bool -L2: - r2 = coroutine__patch_overloaded_method_obj() - if is_error(r2) goto L40 (error at _patch_overloaded_method:24) else goto L3 -L3: - inc_ref r0 - r2.__mypyc_env__ = r0; r3 = is_error - if not r3 goto L41 (error at _patch_overloaded_method:24) else goto L4 :: bool -L4: - r4 = r0.call - if is_error(r4) goto L41 (error at _patch_overloaded_method:23) else goto L5 -L5: - r5 = dank_mids.brownie_patch.overloaded.globals :: static - r6 = 'wraps' - r7 = CPyDict_GetItem(r5, r6) - if is_error(r7) goto L42 (error at _patch_overloaded_method:23) else goto L6 -L6: - r8 = [r4] - r9 = load_address r8 - r10 = _PyObject_Vectorcall(r7, r9, 1, 0) - dec_ref r7 - if is_error(r10) goto L42 (error at _patch_overloaded_method:23) else goto L7 -L7: - dec_ref r4 - r11 = [r2] - r12 = load_address r11 - r13 = _PyObject_Vectorcall(r10, r12, 1, 0) - dec_ref r10 - if is_error(r13) goto L41 (error at _patch_overloaded_method:24) else goto L8 -L8: - dec_ref r2 - inc_ref r13 - r14 = dank_mids.brownie_patch.overloaded.globals :: static - r15 = 'coroutine' - r16 = CPyDict_SetItem(r14, r15, r13) - dec_ref r13 - r17 = r16 >= 0 :: signed - if not r17 goto L43 (error at _patch_overloaded_method:24) else goto L9 :: bool -L9: - r18 = r0.call - if is_error(r18) goto L43 (error at _patch_overloaded_method:61) else goto L10 -L10: - r19 = '__dict__' - r20 = CPyObject_GetAttr(r18, r19) - dec_ref r18 - if is_error(r20) goto L43 (error at _patch_overloaded_method:61) else goto L11 -L11: - r21 = 'methods' - r22 = PyObject_GetItem(r20, r21) - dec_ref r20 - if is_error(r22) goto L43 (error at _patch_overloaded_method:61) else goto L12 -L12: - r23 = 'values' - r24 = [r22] - r25 = load_address r24 - r26 = PyObject_VectorcallMethod(r23, r25, 9223372036854775809, 0) - if is_error(r26) goto L44 (error at _patch_overloaded_method:61) else goto L13 -L13: - dec_ref r22 - r27 = PyObject_GetIter(r26) - dec_ref r26 - if is_error(r27) goto L43 (error at _patch_overloaded_method:61) else goto L14 -L14: - r28 = PyIter_Next(r27) - if is_error(r28) goto L45 else goto L15 -L15: - r29 = dank_mids.brownie_patch.overloaded.globals :: static - r30 = 'ContractCall' - r31 = CPyDict_GetItem(r29, r30) - if is_error(r31) goto L46 (error at _patch_overloaded_method:62) else goto L16 -L16: - r32 = dank_mids.brownie_patch.overloaded.globals :: static - r33 = 'ContractTx' - r34 = CPyDict_GetItem(r32, r33) - if is_error(r34) goto L47 (error at _patch_overloaded_method:62) else goto L17 -L17: - r35 = (r31, r34) - r36 = box(tuple[object, object], r35) - r37 = PyObject_IsInstance(r28, r36) - dec_ref r36 - r38 = r37 >= 0 :: signed - if not r38 goto L46 (error at _patch_overloaded_method:62) else goto L18 :: bool -L18: - r39 = truncate r37: i32 to builtins.bool - if r39 goto L19 else goto L48 :: bool -L19: - r40 = '_address' - r41 = CPyObject_GetAttr(r28, r40) - if is_error(r41) goto L46 (error at _patch_overloaded_method:63) else goto L20 -L20: - r42 = dank_mids.brownie_patch.overloaded.globals :: static - r43 = '_skip_proc_pool' - r44 = CPyDict_GetItem(r42, r43) - if is_error(r44) goto L49 (error at _patch_overloaded_method:63) else goto L21 -L21: - r45 = cast(set, r44) - if is_error(r45) goto L49 (error at _patch_overloaded_method:63) else goto L22 -L22: - r46 = PySet_Contains(r45, r41) - dec_ref r45 - dec_ref r41 - r47 = r46 >= 0 :: signed - if not r47 goto L46 (error at _patch_overloaded_method:63) else goto L23 :: bool -L23: - r48 = truncate r46: i32 to builtins.bool - r49 = '_skip_decoder_proc_pool' - r50 = box(bool, r48) - r51 = PyObject_SetAttr(r28, r49, r50) - r52 = r51 >= 0 :: signed - if not r52 goto L46 (error at _patch_overloaded_method:63) else goto L24 :: bool -L24: - r53 = 'abi' - r54 = CPyObject_GetAttr(r28, r53) - if is_error(r54) goto L46 (error at _patch_overloaded_method:64) else goto L25 -L25: - r55 = 'inputs' - r56 = PyObject_GetItem(r54, r55) - dec_ref r54 - if is_error(r56) goto L46 (error at _patch_overloaded_method:64) else goto L26 -L26: - r57 = CPyObject_Size(r56) - dec_ref r56 - if is_error(r57) goto L46 (error at _patch_overloaded_method:64) else goto L27 -L27: - r58 = dank_mids.brownie_patch.overloaded.globals :: static - r59 = '_get_coroutine_fn' - r60 = CPyDict_GetItem(r58, r59) - if is_error(r60) goto L50 (error at _patch_overloaded_method:64) else goto L28 -L28: - r61 = box(int, r57) - r62 = [w3, r61] - r63 = load_address r62 - r64 = _PyObject_Vectorcall(r60, r63, 2, 0) - dec_ref r60 - if is_error(r64) goto L51 (error at _patch_overloaded_method:64) else goto L29 -L29: - dec_ref r61 - r65 = dank_mids.brownie_patch.overloaded.globals :: static - r66 = 'MethodType' - r67 = CPyDict_GetItem(r65, r66) - if is_error(r67) goto L52 (error at _patch_overloaded_method:64) else goto L30 -L30: - r68 = [r64, r28] - r69 = load_address r68 - r70 = _PyObject_Vectorcall(r67, r69, 2, 0) - dec_ref r67 - if is_error(r70) goto L52 (error at _patch_overloaded_method:64) else goto L31 -L31: - dec_ref r64 - r71 = 'coroutine' - r72 = PyObject_SetAttr(r28, r71, r70) - dec_ref r28 - dec_ref r70 - r73 = r72 >= 0 :: signed - if not r73 goto L53 (error at _patch_overloaded_method:64) else goto L14 :: bool -L32: - r74 = CPy_NoErrOccurred() - if not r74 goto L43 (error at _patch_overloaded_method:61) else goto L33 :: bool -L33: - r75 = r0.call - if is_error(r75) goto L43 (error at _patch_overloaded_method:69) else goto L34 -L34: - r76 = dank_mids.brownie_patch.overloaded.globals :: static - r77 = 'MethodType' - r78 = CPyDict_GetItem(r76, r77) - if is_error(r78) goto L54 (error at _patch_overloaded_method:69) else goto L35 -L35: - r79 = [r13, r75] - r80 = load_address r79 - r81 = _PyObject_Vectorcall(r78, r80, 2, 0) - dec_ref r78 - if is_error(r81) goto L54 (error at _patch_overloaded_method:69) else goto L36 -L36: - dec_ref r13 - dec_ref r75 - r82 = r0.call - dec_ref r0 - if is_error(r82) goto L55 (error at _patch_overloaded_method:69) else goto L37 -L37: - r83 = 'coroutine' - r84 = PyObject_SetAttr(r82, r83, r81) - dec_ref r82 - dec_ref r81 - r85 = r84 >= 0 :: signed - if not r85 goto L39 (error at _patch_overloaded_method:69) else goto L38 :: bool -L38: - return 1 -L39: - r86 = :: None - return r86 -L40: - dec_ref r0 - goto L39 -L41: - dec_ref r0 - dec_ref r2 - goto L39 -L42: - dec_ref r0 - dec_ref r2 - dec_ref r4 - goto L39 -L43: - dec_ref r0 - dec_ref r13 - goto L39 -L44: - dec_ref r0 - dec_ref r13 - dec_ref r22 - goto L39 -L45: - dec_ref r27 - goto L32 -L46: - dec_ref r0 - dec_ref r13 - dec_ref r27 - dec_ref r28 - goto L39 -L47: - dec_ref r0 - dec_ref r13 - dec_ref r27 - dec_ref r28 - dec_ref r31 - goto L39 -L48: - dec_ref r28 - goto L14 -L49: - dec_ref r0 - dec_ref r13 - dec_ref r27 - dec_ref r28 - dec_ref r41 - goto L39 -L50: - dec_ref r0 - dec_ref r13 - dec_ref r27 - dec_ref r28 - dec_ref r57 :: int - goto L39 -L51: - dec_ref r0 - dec_ref r13 - dec_ref r27 - dec_ref r28 - dec_ref r61 - goto L39 -L52: - dec_ref r0 - dec_ref r13 - dec_ref r27 - dec_ref r28 - dec_ref r64 - goto L39 -L53: - dec_ref r0 - dec_ref r13 - dec_ref r27 - goto L39 -L54: - dec_ref r0 - dec_ref r13 - dec_ref r75 - goto L39 -L55: - dec_ref r81 - goto L39 - -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4, r5 :: object - r6 :: str - r7 :: dict - r8, r9 :: object - r10 :: str - r11 :: dict - r12, r13 :: object - r14 :: str - r15 :: dict - r16, r17 :: object - r18 :: str - r19 :: dict - r20, r21 :: object - r22 :: str - r23 :: dict - r24, r25 :: object - r26 :: str - r27 :: dict - r28, r29 :: object - r30 :: str - r31 :: dict - r32, r33 :: object - r34 :: str - r35 :: dict - r36 :: object - r37 :: None -L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool -L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L12 (error at :-1) else goto L2 -L2: - builtins = r4 :: module - dec_ref r4 -L3: - r5 = ('wraps',) - r6 = 'functools' - r7 = dank_mids.brownie_patch.overloaded.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L12 (error at :1) else goto L4 -L4: - functools = r8 :: module - dec_ref r8 - r9 = ('MethodType',) - r10 = 'types' - r11 = dank_mids.brownie_patch.overloaded.globals :: static - r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) - if is_error(r12) goto L12 (error at :2) else goto L5 -L5: - types = r12 :: module - dec_ref r12 - r13 = ('Any', 'Dict', 'Optional', 'Union') - r14 = 'typing' - r15 = dank_mids.brownie_patch.overloaded.globals :: static - r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) - if is_error(r16) goto L12 (error at :3) else goto L6 -L6: - typing = r16 :: module - dec_ref r16 - r17 = ('Contract',) - r18 = 'brownie' - r19 = dank_mids.brownie_patch.overloaded.globals :: static - r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) - if is_error(r20) goto L12 (error at :5) else goto L7 -L7: - brownie = r20 :: module - dec_ref r20 - r21 = ('ContractCall', 'ContractTx', 'OverloadedMethod') - r22 = 'brownie.network.contract' - r23 = dank_mids.brownie_patch.overloaded.globals :: static - r24 = CPyImport_ImportFromMany(r22, r21, r21, r23) - if is_error(r24) goto L12 (error at :6) else goto L8 -L8: - brownie.network.contract = r24 :: module - dec_ref r24 - r25 = ('_get_coroutine_fn', '_skip_proc_pool') - r26 = 'dank_mids.brownie_patch.call' - r27 = dank_mids.brownie_patch.overloaded.globals :: static - r28 = CPyImport_ImportFromMany(r26, r25, r25, r27) - if is_error(r28) goto L12 (error at :7) else goto L9 -L9: - dank_mids.brownie_patch.call = r28 :: module - dec_ref r28 - r29 = ('ContractMethod',) - r30 = 'dank_mids.brownie_patch.types' - r31 = dank_mids.brownie_patch.overloaded.globals :: static - r32 = CPyImport_ImportFromMany(r30, r29, r29, r31) - if is_error(r32) goto L12 (error at :8) else goto L10 -L10: - dank_mids.brownie_patch.types = r32 :: module - dec_ref r32 - r33 = ('DankWeb3',) - r34 = 'dank_mids.helpers._helpers' - r35 = dank_mids.brownie_patch.overloaded.globals :: static - r36 = CPyImport_ImportFromMany(r34, r33, r33, r35) - if is_error(r36) goto L12 (error at :9) else goto L11 -L11: - dank_mids.helpers._helpers = r36 :: module - dec_ref r36 - return 1 -L12: - r37 = :: None - return r37 - -def __mypyc_lambda__0_obj.__get__(__mypyc_self__, instance, owner): - __mypyc_self__, instance, owner, r0 :: object - r1 :: bit - r2, r3 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = instance == r0 - if r1 goto L1 else goto L2 :: bool -L1: - inc_ref __mypyc_self__ - return __mypyc_self__ -L2: - r2 = PyMethod_New(__mypyc_self__, instance) - if is_error(r2) goto L4 else goto L3 -L3: - return r2 -L4: - r3 = :: object - return r3 - -def __mypyc_lambda__0_obj.__call__(__mypyc_self__, self, args): - __mypyc_self__ :: dank_mids.brownie_patch.call.__mypyc_lambda__0_obj - self, args, r0 :: object - r1 :: bool - r2 :: str - r3 :: object - r4 :: dict - r5 :: str - r6 :: object - r7 :: str - r8 :: object - r9 :: str - r10 :: object - r11 :: str - r12 :: object - r13 :: list - r14, r15, r16, r17 :: ptr - r18 :: object - r19 :: tuple - r20 :: dict - r21, r22 :: object -L0: - r0 = dank_mids.brownie_patch.call.ENVS :: static - if is_error(r0) goto L1 else goto L3 -L1: - r1 = raise NameError('value for final name "ENVS" was not set') - if not r1 goto L14 (error at :79) else goto L2 :: bool -L2: - unreachable -L3: - r2 = 'BROWNIE_ENCODER_PROCESSES' - r3 = CPyObject_GetAttr(r0, r2) - if is_error(r3) goto L14 (error at :79) else goto L4 -L4: - r4 = dank_mids.brownie_patch.call.globals :: static - r5 = '__encode_input' - r6 = CPyDict_GetItem(r4, r5) - if is_error(r6) goto L15 (error at :79) else goto L5 -L5: - r7 = 'abi' - r8 = CPyObject_GetAttr(self, r7) - if is_error(r8) goto L16 (error at :79) else goto L6 -L6: - r9 = 'signature' - r10 = CPyObject_GetAttr(self, r9) - if is_error(r10) goto L17 (error at :79) else goto L7 -L7: - r11 = 'run' - r12 = CPyObject_GetAttr(r3, r11) - dec_ref r3 - if is_error(r12) goto L18 (error at :79) else goto L8 -L8: - r13 = PyList_New(3) - if is_error(r13) goto L19 (error at :79) else goto L9 -L9: - r14 = get_element_ptr r13 ob_item :: PyListObject - r15 = load_mem r14 :: ptr* - set_mem r15, r6 :: builtins.object* - r16 = r15 + 8 - set_mem r16, r8 :: builtins.object* - r17 = r15 + 16 - set_mem r17, r10 :: builtins.object* - r18 = CPyList_Extend(r13, args) - if is_error(r18) goto L20 (error at :79) else goto L21 -L10: - r19 = PyList_AsTuple(r13) - dec_ref r13 - if is_error(r19) goto L22 (error at :79) else goto L11 -L11: - r20 = PyDict_New() - if is_error(r20) goto L23 (error at :79) else goto L12 -L12: - r21 = PyObject_Call(r12, r19, r20) - dec_ref r12 - dec_ref r19 - dec_ref r20 - if is_error(r21) goto L14 (error at :79) else goto L13 -L13: - return r21 -L14: - r22 = :: object - return r22 -L15: - dec_ref r3 - goto L14 -L16: - dec_ref r3 - dec_ref r6 - goto L14 -L17: - dec_ref r3 - dec_ref r6 - dec_ref r8 - goto L14 -L18: - dec_ref r6 - dec_ref r8 - dec_ref r10 - goto L14 -L19: - dec_ref r6 - dec_ref r8 - dec_ref r10 - dec_ref r12 - goto L14 -L20: - dec_ref r12 - dec_ref r13 - goto L14 -L21: - dec_ref r18 - goto L10 -L22: - dec_ref r12 - goto L14 -L23: - dec_ref r12 - dec_ref r19 - goto L14 - -def __mypyc_lambda__1_obj.__get__(__mypyc_self__, instance, owner): - __mypyc_self__, instance, owner, r0 :: object - r1 :: bit - r2, r3 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = instance == r0 - if r1 goto L1 else goto L2 :: bool -L1: - inc_ref __mypyc_self__ - return __mypyc_self__ -L2: - r2 = PyMethod_New(__mypyc_self__, instance) - if is_error(r2) goto L4 else goto L3 -L3: - return r2 -L4: - r3 = :: object - return r3 - -def __mypyc_lambda__1_obj.__call__(__mypyc_self__, self, data): - __mypyc_self__ :: dank_mids.brownie_patch.call.__mypyc_lambda__1_obj - self :: object - data :: bytes - r0 :: object - r1 :: bool - r2 :: str - r3 :: object - r4 :: dict - r5 :: str - r6 :: object - r7 :: str - r8 :: object - r9 :: str - r10 :: object[4] - r11 :: object_ptr - r12, r13 :: object -L0: - r0 = dank_mids.brownie_patch.call.ENVS :: static - if is_error(r0) goto L1 else goto L3 -L1: - r1 = raise NameError('value for final name "ENVS" was not set') - if not r1 goto L8 (error at :98) else goto L2 :: bool -L2: - unreachable -L3: - r2 = 'BROWNIE_DECODER_PROCESSES' - r3 = CPyObject_GetAttr(r0, r2) - if is_error(r3) goto L8 (error at :98) else goto L4 -L4: - r4 = dank_mids.brownie_patch.call.globals :: static - r5 = '__decode_output' - r6 = CPyDict_GetItem(r4, r5) - if is_error(r6) goto L9 (error at :98) else goto L5 -L5: - r7 = 'abi' - r8 = CPyObject_GetAttr(self, r7) - if is_error(r8) goto L10 (error at :98) else goto L6 -L6: - r9 = 'run' - r10 = [r3, r6, data, r8] - r11 = load_address r10 - r12 = PyObject_VectorcallMethod(r9, r11, 9223372036854775812, 0) - if is_error(r12) goto L11 (error at :98) else goto L7 -L7: - dec_ref r3 - dec_ref r6 - dec_ref r8 - return r12 -L8: - r13 = :: object - return r13 -L9: - dec_ref r3 - goto L8 -L10: - dec_ref r3 - dec_ref r6 - goto L8 -L11: - dec_ref r3 - dec_ref r6 - dec_ref r8 - goto L8 - -def _patch_call(call, w3): - call, w3 :: object - r0 :: str - r1 :: object - r2 :: dict - r3 :: str - r4 :: object - r5 :: set - r6 :: i32 - r7 :: bit - r8 :: bool - r9 :: str - r10 :: object - r11 :: i32 - r12 :: bit - r13 :: str - r14 :: object - r15 :: str - r16 :: object - r17 :: int - r18 :: dict - r19 :: str - r20, r21 :: object - r22 :: object[2] - r23 :: object_ptr - r24 :: object - r25 :: dict - r26 :: str - r27 :: object - r28 :: object[2] - r29 :: object_ptr - r30 :: object - r31 :: str - r32 :: i32 - r33 :: bit - r34 :: dict - r35 :: str - r36 :: object - r37 :: dict - r38 :: str - r39 :: object - r40 :: object[2] - r41 :: object_ptr - r42 :: object - r43 :: str - r44 :: i32 - r45 :: bit - r46 :: None -L0: - r0 = '_address' - r1 = CPyObject_GetAttr(call, r0) - if is_error(r1) goto L18 (error at _patch_call:132) else goto L1 -L1: - r2 = dank_mids.brownie_patch.call.globals :: static - r3 = '_skip_proc_pool' - r4 = CPyDict_GetItem(r2, r3) - if is_error(r4) goto L19 (error at _patch_call:132) else goto L2 -L2: - r5 = cast(set, r4) - if is_error(r5) goto L19 (error at _patch_call:132) else goto L3 -L3: - r6 = PySet_Contains(r5, r1) - dec_ref r5 - dec_ref r1 - r7 = r6 >= 0 :: signed - if not r7 goto L18 (error at _patch_call:132) else goto L4 :: bool -L4: - r8 = truncate r6: i32 to builtins.bool - r9 = '_skip_decoder_proc_pool' - r10 = box(bool, r8) - r11 = PyObject_SetAttr(call, r9, r10) - r12 = r11 >= 0 :: signed - if not r12 goto L18 (error at _patch_call:132) else goto L5 :: bool -L5: - r13 = 'abi' - r14 = CPyObject_GetAttr(call, r13) - if is_error(r14) goto L18 (error at _patch_call:133) else goto L6 -L6: - r15 = 'inputs' - r16 = PyObject_GetItem(r14, r15) - dec_ref r14 - if is_error(r16) goto L18 (error at _patch_call:133) else goto L7 -L7: - r17 = CPyObject_Size(r16) - dec_ref r16 - if is_error(r17) goto L18 (error at _patch_call:133) else goto L8 -L8: - r18 = dank_mids.brownie_patch.call.globals :: static - r19 = '_get_coroutine_fn' - r20 = CPyDict_GetItem(r18, r19) - if is_error(r20) goto L20 (error at _patch_call:133) else goto L9 -L9: - r21 = box(int, r17) - r22 = [w3, r21] - r23 = load_address r22 - r24 = _PyObject_Vectorcall(r20, r23, 2, 0) - dec_ref r20 - if is_error(r24) goto L21 (error at _patch_call:133) else goto L10 -L10: - dec_ref r21 - r25 = dank_mids.brownie_patch.call.globals :: static - r26 = 'MethodType' - r27 = CPyDict_GetItem(r25, r26) - if is_error(r27) goto L22 (error at _patch_call:133) else goto L11 -L11: - r28 = [r24, call] - r29 = load_address r28 - r30 = _PyObject_Vectorcall(r27, r29, 2, 0) - dec_ref r27 - if is_error(r30) goto L22 (error at _patch_call:133) else goto L12 -L12: - dec_ref r24 - r31 = 'coroutine' - r32 = PyObject_SetAttr(call, r31, r30) - dec_ref r30 - r33 = r32 >= 0 :: signed - if not r33 goto L18 (error at _patch_call:133) else goto L13 :: bool -L13: - r34 = dank_mids.brownie_patch.call.globals :: static - r35 = '_call_no_args' - r36 = CPyDict_GetItem(r34, r35) - if is_error(r36) goto L18 (error at _patch_call:134) else goto L14 -L14: - r37 = dank_mids.brownie_patch.call.globals :: static - r38 = 'MethodType' - r39 = CPyDict_GetItem(r37, r38) - if is_error(r39) goto L23 (error at _patch_call:134) else goto L15 -L15: - r40 = [r36, call] - r41 = load_address r40 - r42 = _PyObject_Vectorcall(r39, r41, 2, 0) - dec_ref r39 - if is_error(r42) goto L23 (error at _patch_call:134) else goto L16 -L16: - dec_ref r36 - r43 = '__await__' - r44 = PyObject_SetAttr(call, r43, r42) - dec_ref r42 - r45 = r44 >= 0 :: signed - if not r45 goto L18 (error at _patch_call:134) else goto L17 :: bool -L17: - return 1 -L18: - r46 = :: None - return r46 -L19: - dec_ref r1 - goto L18 -L20: - dec_ref r17 :: int - goto L18 -L21: - dec_ref r21 - goto L18 -L22: - dec_ref r24 - goto L18 -L23: - dec_ref r36 - goto L18 - -def coroutine__get_coroutine_fn_obj.__get__(__mypyc_self__, instance, owner): - __mypyc_self__, instance, owner, r0 :: object - r1 :: bit - r2, r3 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = instance == r0 - if r1 goto L1 else goto L2 :: bool -L1: - inc_ref __mypyc_self__ - return __mypyc_self__ -L2: - r2 = PyMethod_New(__mypyc_self__, instance) - if is_error(r2) goto L4 else goto L3 -L3: - return r2 -L4: - r3 = :: object - return r3 - -def coroutine__get_coroutine_fn_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg): - __mypyc_self__ :: dank_mids.brownie_patch.call.coroutine__get_coroutine_fn_gen - type, value, traceback, arg, r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11 :: object - r12, r13 :: tuple[object, object, object] - r14, r15, r16, r17 :: object - r18, r19 :: tuple[object, object, object] - r20, r21 :: object - r22 :: dank_mids.brownie_patch.call.coroutine__get_coroutine_fn_env - r23 :: int - r24 :: dank_mids.brownie_patch.call._get_coroutine_fn_env - r25 :: object - r26 :: bit - r27 :: union[dict, None] - r28 :: object - r29 :: bit - r30 :: dict - r31 :: native_int - r32 :: short_int - r33 :: bit - r34 :: str - r35 :: object - r36 :: str - r37 :: object - r38 :: object[1] - r39 :: object_ptr - r40, r41 :: object - r42 :: bool - r43 :: str - r44 :: object - r45 :: union[object, None] - r46, r47 :: object - r48 :: str - r49 :: object - r50 :: bool - r51 :: str - r52 :: object - r53 :: object[1] - r54 :: object_ptr - r55 :: object - r56, r57 :: bool - r58 :: object - r59 :: bool - r60, r61, r62, r63, r64 :: object - r65 :: bool - r66 :: object - r67 :: bit - r68 :: tuple[object, object, object] - r69 :: bool - r70 :: object_ptr - r71 :: object - r72, r73 :: bool - r74 :: tuple[object, object, object] - r75 :: bool - r76, r77 :: tuple[object, object, object] - r78 :: bit - r79, r80, r81, r82 :: object - r83 :: int + r49 :: object + r50 :: bool + r51 :: str + r52 :: object + r53 :: object[1] + r54 :: object_ptr + r55 :: object + r56, r57 :: bool + r58 :: object + r59 :: bool + r60, r61, r62, r63, r64 :: object + r65 :: bool + r66 :: object + r67 :: bit + r68 :: tuple[object, object, object] + r69 :: bool + r70 :: object_ptr + r71 :: object + r72, r73 :: bool + r74 :: tuple[object, object, object] + r75 :: bool + r76, r77 :: tuple[object, object, object] + r78 :: bit + r79, r80, r81, r82 :: object + r83 :: int r84 :: object r85 :: tuple r86 :: dict @@ -20650,4322 +9880,13124 @@ def __top_level__(): r608 :: None L0: r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool +L1: + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L222 (error at :-1) else goto L2 +L2: + builtins = r4 :: module + dec_ref r4 +L3: + r5 = load_address decimal :: module + r6 = [r5] + r7 = load_address r6 + r8 = [1] + r9 = load_address r8 + r10 = (('decimal', 'decimal', 'decimal'),) + r11 = dank_mids.brownie_patch.call.globals :: static + r12 = 'dank_mids\\brownie_patch\\call.py' + r13 = '' + r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) + if not r14 goto L222 else goto L4 :: bool +L4: + r15 = ('BrokenProcessPool',) + r16 = 'concurrent.futures.process' + r17 = dank_mids.brownie_patch.call.globals :: static + r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) + if is_error(r18) goto L222 (error at :2) else goto L5 +L5: + concurrent.futures.process = r18 :: module + dec_ref r18 + r19 = ('Logger',) + r20 = 'logging' + r21 = dank_mids.brownie_patch.call.globals :: static + r22 = CPyImport_ImportFromMany(r20, r19, r19, r21) + if is_error(r22) goto L222 (error at :3) else goto L6 +L6: + logging = r22 :: module + dec_ref r22 + r23 = ('PicklingError',) + r24 = 'pickle' + r25 = dank_mids.brownie_patch.call.globals :: static + r26 = CPyImport_ImportFromMany(r24, r23, r23, r25) + if is_error(r26) goto L222 (error at :4) else goto L7 +L7: + pickle = r26 :: module + dec_ref r26 + r27 = ('MethodType', 'ModuleType') + r28 = 'types' + r29 = dank_mids.brownie_patch.call.globals :: static + r30 = CPyImport_ImportFromMany(r28, r27, r27, r29) + if is_error(r30) goto L222 (error at :5) else goto L8 +L8: + types = r30 :: module + dec_ref r30 + r31 = ('Any', 'Callable', 'Dict', 'Final', 'List', 'NewType', 'Optional', 'Sequence', 'Tuple', 'TypeVar', 'Union') + r32 = 'typing' + r33 = dank_mids.brownie_patch.call.globals :: static + r34 = CPyImport_ImportFromMany(r32, r31, r31, r33) + if is_error(r34) goto L222 (error at :6) else goto L9 +L9: + typing = r34 :: module + dec_ref r34 + r35 = load_address brownie.convert.datatypes :: module + r36 = load_address brownie.convert.normalize :: module + r37 = load_address brownie.network.contract :: module + r38 = load_address eth_abi :: module + r39 = load_address hexbytes :: module + r40 = [r35, r36, r37, r38, r39] + r41 = load_address r40 + r42 = [20, 21, 22, 23, 24] + r43 = load_address r42 + r44 = (('brownie.convert.datatypes', 'brownie', 'brownie'), ('brownie.convert.normalize', 'brownie', 'brownie'), ('brownie.network.contract', 'brownie', 'brownie'), ('eth_abi', 'eth_abi', 'eth_abi'), ('hexbytes', 'hexbytes', 'hexbytes')) + r45 = dank_mids.brownie_patch.call.globals :: static + r46 = 'dank_mids\\brownie_patch\\call.py' + r47 = '' + r48 = CPyImport_ImportMany(r44, r41, r45, r46, r47, r43) + if not r48 goto L222 else goto L10 :: bool +L10: + r49 = ('AsyncProcessPoolExecutor',) + r50 = 'a_sync' + r51 = dank_mids.brownie_patch.call.globals :: static + r52 = CPyImport_ImportFromMany(r50, r49, r49, r51) + if is_error(r52) goto L222 (error at :25) else goto L11 +L11: + a_sync = r52 :: module + dec_ref r52 + r53 = ('chain',) + r54 = 'brownie' + r55 = dank_mids.brownie_patch.call.globals :: static + r56 = CPyImport_ImportFromMany(r54, r53, r53, r55) + if is_error(r56) goto L222 (error at :26) else goto L12 +L12: + brownie = r56 :: module + dec_ref r56 + r57 = ('ABIType',) + r58 = 'brownie.convert.normalize' + r59 = dank_mids.brownie_patch.call.globals :: static + r60 = CPyImport_ImportFromMany(r58, r57, r57, r59) + if is_error(r60) goto L222 (error at :27) else goto L13 +L13: + brownie.convert.normalize = r60 :: module + dec_ref r60 + r61 = ('get_type_strings',) + r62 = 'brownie.convert.utils' + r63 = dank_mids.brownie_patch.call.globals :: static + r64 = CPyImport_ImportFromMany(r62, r61, r61, r63) + if is_error(r64) goto L222 (error at :28) else goto L14 +L14: + brownie.convert.utils = r64 :: module + dec_ref r64 + r65 = ('VirtualMachineError',) + r66 = 'brownie.exceptions' + r67 = dank_mids.brownie_patch.call.globals :: static + r68 = CPyImport_ImportFromMany(r66, r65, r65, r67) + if is_error(r68) goto L222 (error at :29) else goto L15 +L15: + brownie.exceptions = r68 :: module + dec_ref r68 + r69 = ('ContractCall',) + r70 = 'brownie.network.contract' + r71 = dank_mids.brownie_patch.call.globals :: static + r72 = CPyImport_ImportFromMany(r70, r69, r69, r71) + if is_error(r72) goto L222 (error at :30) else goto L16 +L16: + brownie.network.contract = r72 :: module + dec_ref r72 + r73 = ('SOLIDITY_ERROR_CODES',) + r74 = 'brownie.project.compiler.solidity' + r75 = dank_mids.brownie_patch.call.globals :: static + r76 = CPyImport_ImportFromMany(r74, r73, r73, r75) + if is_error(r76) goto L222 (error at :31) else goto L17 +L17: + brownie.project.compiler.solidity = r76 :: module + dec_ref r76 + r77 = ('InsufficientDataBytes',) + r78 = 'eth_abi.exceptions' + r79 = dank_mids.brownie_patch.call.globals :: static + r80 = CPyImport_ImportFromMany(r78, r77, r77, r79) + if is_error(r80) goto L222 (error at :32) else goto L18 +L18: + eth_abi.exceptions = r80 :: module + dec_ref r80 + r81 = ('HexStr',) + r82 = 'eth_typing' + r83 = dank_mids.brownie_patch.call.globals :: static + r84 = CPyImport_ImportFromMany(r82, r81, r81, r83) + if is_error(r84) goto L222 (error at :33) else goto L19 +L19: + eth_typing = r84 :: module + dec_ref r84 + r85 = ('Address',) + r86 = 'evmspec.data' + r87 = dank_mids.brownie_patch.call.globals :: static + r88 = CPyImport_ImportFromMany(r86, r85, r85, r87) + if is_error(r88) goto L222 (error at :34) else goto L20 +L20: + evmspec.data = r88 :: module + dec_ref r88 + r89 = ('BytesLike',) + r90 = 'hexbytes.main' + r91 = dank_mids.brownie_patch.call.globals :: static + r92 = CPyImport_ImportFromMany(r90, r89, r89, r91) + if is_error(r92) goto L222 (error at :35) else goto L21 +L21: + hexbytes.main = r92 :: module + dec_ref r92 + r93 = ('MULTICALL2_ADDRESSES',) + r94 = 'multicall.constants' + r95 = dank_mids.brownie_patch.call.globals :: static + r96 = CPyImport_ImportFromMany(r94, r93, r93, r95) + if is_error(r96) goto L222 (error at :36) else goto L22 +L22: + multicall.constants = r96 :: module + dec_ref r96 + r97 = ('BlockIdentifier',) + r98 = 'web3.types' + r99 = dank_mids.brownie_patch.call.globals :: static + r100 = CPyImport_ImportFromMany(r98, r97, r97, r99) + if is_error(r100) goto L222 (error at :37) else goto L23 +L23: + web3.types = r100 :: module + dec_ref r100 + r101 = ('ENVIRONMENT_VARIABLES', 'exceptions') + r102 = 'dank_mids' + r103 = dank_mids.brownie_patch.call.globals :: static + r104 = CPyImport_ImportFromMany(r102, r101, r101, r103) + if is_error(r104) goto L222 (error at :39) else goto L24 +L24: + dank_mids = r104 :: module + dec_ref r104 + r105 = ('getLogger',) + r106 = 'dank_mids._logging' + r107 = dank_mids.brownie_patch.call.globals :: static + r108 = CPyImport_ImportFromMany(r106, r105, r105, r107) + if is_error(r108) goto L222 (error at :40) else goto L25 +L25: + dank_mids._logging = r108 :: module + dec_ref r108 + r109 = ('ContractMethod',) + r110 = 'dank_mids.brownie_patch.types' + r111 = dank_mids.brownie_patch.call.globals :: static + r112 = CPyImport_ImportFromMany(r110, r109, r109, r111) + if is_error(r112) goto L222 (error at :41) else goto L26 +L26: + dank_mids.brownie_patch.types = r112 :: module + dec_ref r112 + r113 = ('lru_cache_lite_nonull',) + r114 = 'dank_mids.helpers.lru_cache' + r115 = dank_mids.brownie_patch.call.globals :: static + r116 = CPyImport_ImportFromMany(r114, r113, r113, r115) + if is_error(r116) goto L222 (error at :42) else goto L27 +L27: + dank_mids.helpers.lru_cache = r116 :: module + dec_ref r116 + r117 = ('DankWeb3',) + r118 = 'dank_mids.helpers._helpers' + r119 = dank_mids.brownie_patch.call.globals :: static + r120 = CPyImport_ImportFromMany(r118, r117, r117, r119) + if is_error(r120) goto L222 (error at :43) else goto L28 +L28: + dank_mids.helpers._helpers = r120 :: module + dec_ref r120 + r121 = dank_mids.brownie_patch.call.globals :: static + r122 = 'ENVIRONMENT_VARIABLES' + r123 = CPyDict_GetItem(r121, r122) + if is_error(r123) goto L222 (error at :46) else goto L29 +L29: + dank_mids.brownie_patch.call.ENVS = r123 :: static + r124 = dank_mids.brownie_patch.call.globals :: static + r125 = 'ENVS' + r126 = CPyDict_SetItem(r124, r125, r123) + dec_ref r123 + r127 = r126 >= 0 :: signed + if not r127 goto L222 (error at :46) else goto L30 :: bool +L30: + r128 = dank_mids.brownie_patch.call.ENVS :: static + if is_error(r128) goto L31 else goto L33 +L31: + r129 = raise NameError('value for final name "ENVS" was not set') + if not r129 goto L222 (error at :47) else goto L32 :: bool +L32: + unreachable +L33: + r130 = 'OPERATION_MODE' + r131 = CPyObject_GetAttr(r128, r130) + if is_error(r131) goto L222 (error at :47) else goto L34 +L34: + r132 = 'application' + r133 = CPyObject_GetAttr(r131, r132) + dec_ref r131 + if is_error(r133) goto L222 (error at :47) else goto L35 +L35: + r134 = unbox(bool, r133) + if is_error(r134) goto L223 (error at :47) else goto L36 +L36: + dank_mids.brownie_patch.call.APPLICATION_MODE = r134 :: static + r135 = dank_mids.brownie_patch.call.globals :: static + r136 = 'APPLICATION_MODE' + r137 = CPyDict_SetItem(r135, r136, r133) + dec_ref r133 + r138 = r137 >= 0 :: signed + if not r138 goto L222 (error at :47) else goto L37 :: bool +L37: + r139 = '_T' + r140 = dank_mids.brownie_patch.call.globals :: static + r141 = 'TypeVar' + r142 = CPyDict_GetItem(r140, r141) + if is_error(r142) goto L222 (error at :50) else goto L38 +L38: + r143 = [r139] + r144 = load_address r143 + r145 = _PyObject_Vectorcall(r142, r144, 1, 0) + dec_ref r142 + if is_error(r145) goto L222 (error at :50) else goto L39 +L39: + r146 = dank_mids.brownie_patch.call.globals :: static + r147 = '_T' + r148 = CPyDict_SetItem(r146, r147, r145) + dec_ref r145 + r149 = r148 >= 0 :: signed + if not r149 goto L222 (error at :50) else goto L40 :: bool +L40: + r150 = 'TypeStr' + r151 = load_address PyUnicode_Type + r152 = dank_mids.brownie_patch.call.globals :: static + r153 = 'NewType' + r154 = CPyDict_GetItem(r152, r153) + if is_error(r154) goto L222 (error at :51) else goto L41 +L41: + r155 = [r150, r151] + r156 = load_address r155 + r157 = _PyObject_Vectorcall(r154, r156, 2, 0) + dec_ref r154 + if is_error(r157) goto L222 (error at :51) else goto L42 +L42: + r158 = dank_mids.brownie_patch.call.globals :: static + r159 = 'TypeStr' + r160 = CPyDict_SetItem(r158, r159, r157) + dec_ref r157 + r161 = r160 >= 0 :: signed + if not r161 goto L222 (error at :51) else goto L43 :: bool +L43: + r162 = dank_mids.brownie_patch.call.globals :: static + r163 = 'List' + r164 = CPyDict_GetItem(r162, r163) + if is_error(r164) goto L222 (error at :52) else goto L44 +L44: + r165 = dank_mids.brownie_patch.call.globals :: static + r166 = 'TypeStr' + r167 = CPyDict_GetItem(r165, r166) + if is_error(r167) goto L224 (error at :52) else goto L45 +L45: + r168 = PyObject_GetItem(r164, r167) + dec_ref r164 + dec_ref r167 + if is_error(r168) goto L222 (error at :52) else goto L46 +L46: + r169 = dank_mids.brownie_patch.call.globals :: static + r170 = 'TypeStrs' + r171 = CPyDict_SetItem(r169, r170, r168) + dec_ref r168 + r172 = r171 >= 0 :: signed + if not r172 goto L222 (error at :52) else goto L47 :: bool +L47: + r173 = dank_mids.brownie_patch.call.globals :: static + r174 = 'Union' + r175 = CPyDict_GetItem(r173, r174) + if is_error(r175) goto L222 (error at :53) else goto L48 +L48: + r176 = dank_mids.brownie_patch.call.globals :: static + r177 = 'List' + r178 = CPyDict_GetItem(r176, r177) + if is_error(r178) goto L225 (error at :53) else goto L49 +L49: + r179 = dank_mids.brownie_patch.call.globals :: static + r180 = '_T' + r181 = CPyDict_GetItem(r179, r180) + if is_error(r181) goto L226 (error at :53) else goto L50 +L50: + r182 = PyObject_GetItem(r178, r181) + dec_ref r178 + dec_ref r181 + if is_error(r182) goto L225 (error at :53) else goto L51 +L51: + r183 = dank_mids.brownie_patch.call.globals :: static + r184 = 'Tuple' + r185 = CPyDict_GetItem(r183, r184) + if is_error(r185) goto L227 (error at :53) else goto L52 +L52: + r186 = dank_mids.brownie_patch.call.globals :: static + r187 = '_T' + r188 = CPyDict_GetItem(r186, r187) + if is_error(r188) goto L228 (error at :53) else goto L53 +L53: + r189 = load_address _Py_EllipsisObject + inc_ref r189 + r190 = (r188, r189) + r191 = box(tuple[object, object], r190) + r192 = PyObject_GetItem(r185, r191) + dec_ref r185 + dec_ref r191 + if is_error(r192) goto L227 (error at :53) else goto L54 +L54: + r193 = (r182, r192) + r194 = box(tuple[object, object], r193) + r195 = PyObject_GetItem(r175, r194) + dec_ref r175 + dec_ref r194 + if is_error(r195) goto L222 (error at :53) else goto L55 +L55: + r196 = dank_mids.brownie_patch.call.globals :: static + r197 = 'ListOrTuple' + r198 = CPyDict_SetItem(r196, r197, r195) + dec_ref r195 + r199 = r198 >= 0 :: signed + if not r199 goto L222 (error at :53) else goto L56 :: bool +L56: + r200 = 'AbiDict' + r201 = dank_mids.brownie_patch.call.globals :: static + r202 = 'Dict' + r203 = CPyDict_GetItem(r201, r202) + if is_error(r203) goto L222 (error at :54) else goto L57 +L57: + r204 = load_address PyUnicode_Type + r205 = dank_mids.brownie_patch.call.globals :: static + r206 = 'Any' + r207 = CPyDict_GetItem(r205, r206) + if is_error(r207) goto L229 (error at :54) else goto L58 +L58: + inc_ref r204 + r208 = (r204, r207) + r209 = box(tuple[object, object], r208) + r210 = PyObject_GetItem(r203, r209) + dec_ref r203 + dec_ref r209 + if is_error(r210) goto L222 (error at :54) else goto L59 +L59: + r211 = dank_mids.brownie_patch.call.globals :: static + r212 = 'NewType' + r213 = CPyDict_GetItem(r211, r212) + if is_error(r213) goto L230 (error at :54) else goto L60 +L60: + r214 = [r200, r210] + r215 = load_address r214 + r216 = _PyObject_Vectorcall(r213, r215, 2, 0) + dec_ref r213 + if is_error(r216) goto L230 (error at :54) else goto L61 +L61: + dec_ref r210 + r217 = dank_mids.brownie_patch.call.globals :: static + r218 = 'AbiDict' + r219 = CPyDict_SetItem(r217, r218, r216) + dec_ref r216 + r220 = r219 >= 0 :: signed + if not r220 goto L222 (error at :54) else goto L62 :: bool +L62: + r221 = decimal :: module + r222 = 'Decimal' + r223 = CPyObject_GetAttr(r221, r222) + if is_error(r223) goto L222 (error at :58) else goto L63 +L63: + dank_mids.brownie_patch.call.Decimal = r223 :: static + r224 = dank_mids.brownie_patch.call.globals :: static + r225 = 'Decimal' + r226 = CPyDict_SetItem(r224, r225, r223) + dec_ref r223 + r227 = r226 >= 0 :: signed + if not r227 goto L222 (error at :58) else goto L64 :: bool +L64: + r228 = dank_mids.brownie_patch.call.globals :: static + r229 = 'hexbytes' + r230 = CPyDict_GetItem(r228, r229) + if is_error(r230) goto L222 (error at :59) else goto L65 +L65: + r231 = 'HexBytes' + r232 = CPyObject_GetAttr(r230, r231) + dec_ref r230 + if is_error(r232) goto L222 (error at :59) else goto L66 +L66: + dank_mids.brownie_patch.call.HexBytes = r232 :: static + r233 = dank_mids.brownie_patch.call.globals :: static + r234 = 'HexBytes' + r235 = CPyDict_SetItem(r233, r234, r232) + dec_ref r232 + r236 = r235 >= 0 :: signed + if not r236 goto L222 (error at :59) else goto L67 :: bool +L67: + r237 = dank_mids.brownie_patch.call.globals :: static + r238 = 'brownie' + r239 = CPyDict_GetItem(r237, r238) + if is_error(r239) goto L222 (error at :60) else goto L68 +L68: + r240 = 'network' + r241 = CPyObject_GetAttr(r239, r240) + dec_ref r239 + if is_error(r241) goto L222 (error at :60) else goto L69 +L69: + r242 = 'contract' + r243 = CPyObject_GetAttr(r241, r242) + dec_ref r241 + if is_error(r243) goto L222 (error at :60) else goto L70 +L70: + r244 = 'Contract' + r245 = CPyObject_GetAttr(r243, r244) + dec_ref r243 + if is_error(r245) goto L222 (error at :60) else goto L71 +L71: + dank_mids.brownie_patch.call.Contract = r245 :: static + r246 = dank_mids.brownie_patch.call.globals :: static + r247 = 'Contract' + r248 = CPyDict_SetItem(r246, r247, r245) + dec_ref r245 + r249 = r248 >= 0 :: signed + if not r249 goto L222 (error at :60) else goto L72 :: bool +L72: + r250 = dank_mids.brownie_patch.call.globals :: static + r251 = 'brownie' + r252 = CPyDict_GetItem(r250, r251) + if is_error(r252) goto L222 (error at :61) else goto L73 +L73: + r253 = 'convert' + r254 = CPyObject_GetAttr(r252, r253) + dec_ref r252 + if is_error(r254) goto L222 (error at :61) else goto L74 +L74: + r255 = 'datatypes' + r256 = CPyObject_GetAttr(r254, r255) + dec_ref r254 + if is_error(r256) goto L222 (error at :61) else goto L75 +L75: + r257 = 'ReturnValue' + r258 = CPyObject_GetAttr(r256, r257) + dec_ref r256 + if is_error(r258) goto L222 (error at :61) else goto L76 +L76: + dank_mids.brownie_patch.call.ReturnValue = r258 :: static + r259 = dank_mids.brownie_patch.call.globals :: static + r260 = 'ReturnValue' + r261 = CPyDict_SetItem(r259, r260, r258) + dec_ref r258 + r262 = r261 >= 0 :: signed + if not r262 goto L222 (error at :61) else goto L77 :: bool +L77: + r263 = dank_mids.brownie_patch.call.globals :: static + r264 = 'brownie' + r265 = CPyDict_GetItem(r263, r264) + if is_error(r265) goto L222 (error at :62) else goto L78 +L78: + r266 = 'convert' + r267 = CPyObject_GetAttr(r265, r266) + dec_ref r265 + if is_error(r267) goto L222 (error at :62) else goto L79 +L79: + r268 = 'normalize' + r269 = CPyObject_GetAttr(r267, r268) + dec_ref r267 + if is_error(r269) goto L222 (error at :62) else goto L80 +L80: + r270 = 'HexString' + r271 = CPyObject_GetAttr(r269, r270) + dec_ref r269 + if is_error(r271) goto L222 (error at :62) else goto L81 +L81: + dank_mids.brownie_patch.call.HexString = r271 :: static + r272 = dank_mids.brownie_patch.call.globals :: static + r273 = 'HexString' + r274 = CPyDict_SetItem(r272, r273, r271) + dec_ref r271 + r275 = r274 >= 0 :: signed + if not r275 goto L222 (error at :62) else goto L82 :: bool +L82: + r276 = dank_mids.brownie_patch.call.globals :: static + r277 = 'brownie' + r278 = CPyDict_GetItem(r276, r277) + if is_error(r278) goto L222 (error at :63) else goto L83 +L83: + r279 = 'convert' + r280 = CPyObject_GetAttr(r278, r279) + dec_ref r278 + if is_error(r280) goto L222 (error at :63) else goto L84 +L84: + r281 = 'normalize' + r282 = CPyObject_GetAttr(r280, r281) + dec_ref r280 + if is_error(r282) goto L222 (error at :63) else goto L85 +L85: + r283 = 'TupleType' + r284 = CPyObject_GetAttr(r282, r283) + dec_ref r282 + if is_error(r284) goto L222 (error at :63) else goto L86 +L86: + dank_mids.brownie_patch.call.TupleType = r284 :: static + r285 = dank_mids.brownie_patch.call.globals :: static + r286 = 'TupleType' + r287 = CPyDict_SetItem(r285, r286, r284) + dec_ref r284 + r288 = r287 >= 0 :: signed + if not r288 goto L222 (error at :63) else goto L87 :: bool +L87: + r289 = dank_mids.brownie_patch.call.globals :: static + r290 = 'exceptions' + r291 = CPyDict_GetItem(r289, r290) + if is_error(r291) goto L222 (error at :65) else goto L88 +L88: + r292 = 'Revert' + r293 = CPyObject_GetAttr(r291, r292) + dec_ref r291 + if is_error(r293) goto L222 (error at :65) else goto L89 +L89: + dank_mids.brownie_patch.call.Revert = r293 :: static + r294 = dank_mids.brownie_patch.call.globals :: static + r295 = 'Revert' + r296 = CPyDict_SetItem(r294, r295, r293) + dec_ref r293 + r297 = r296 >= 0 :: signed + if not r297 goto L222 (error at :65) else goto L90 :: bool +L90: + r298 = dank_mids.brownie_patch.call.globals :: static + r299 = 'brownie' + r300 = CPyDict_GetItem(r298, r299) + if is_error(r300) goto L222 (error at :67) else goto L91 +L91: + r301 = 'convert' + r302 = CPyObject_GetAttr(r300, r301) + dec_ref r300 + if is_error(r302) goto L222 (error at :67) else goto L92 +L92: + r303 = 'normalize' + r304 = CPyObject_GetAttr(r302, r303) + dec_ref r302 + if is_error(r304) goto L222 (error at :67) else goto L93 +L93: + r305 = 'to_bool' + r306 = CPyObject_GetAttr(r304, r305) + dec_ref r304 + if is_error(r306) goto L222 (error at :67) else goto L94 +L94: + dank_mids.brownie_patch.call.to_bool = r306 :: static + r307 = dank_mids.brownie_patch.call.globals :: static + r308 = 'to_bool' + r309 = CPyDict_SetItem(r307, r308, r306) + dec_ref r306 + r310 = r309 >= 0 :: signed + if not r310 goto L222 (error at :67) else goto L95 :: bool +L95: + r311 = dank_mids.brownie_patch.call.globals :: static + r312 = 'brownie' + r313 = CPyDict_GetItem(r311, r312) + if is_error(r313) goto L222 (error at :68) else goto L96 +L96: + r314 = 'convert' + r315 = CPyObject_GetAttr(r313, r314) + dec_ref r313 + if is_error(r315) goto L222 (error at :68) else goto L97 +L97: + r316 = 'normalize' + r317 = CPyObject_GetAttr(r315, r316) + dec_ref r315 + if is_error(r317) goto L222 (error at :68) else goto L98 +L98: + r318 = 'to_decimal' + r319 = CPyObject_GetAttr(r317, r318) + dec_ref r317 + if is_error(r319) goto L222 (error at :68) else goto L99 +L99: + dank_mids.brownie_patch.call.to_decimal = r319 :: static + r320 = dank_mids.brownie_patch.call.globals :: static + r321 = 'to_decimal' + r322 = CPyDict_SetItem(r320, r321, r319) + dec_ref r319 + r323 = r322 >= 0 :: signed + if not r323 goto L222 (error at :68) else goto L100 :: bool +L100: + r324 = dank_mids.brownie_patch.call.globals :: static + r325 = 'brownie' + r326 = CPyDict_GetItem(r324, r325) + if is_error(r326) goto L222 (error at :69) else goto L101 +L101: + r327 = 'convert' + r328 = CPyObject_GetAttr(r326, r327) + dec_ref r326 + if is_error(r328) goto L222 (error at :69) else goto L102 +L102: + r329 = 'normalize' + r330 = CPyObject_GetAttr(r328, r329) + dec_ref r328 + if is_error(r330) goto L222 (error at :69) else goto L103 +L103: + r331 = 'to_int' + r332 = CPyObject_GetAttr(r330, r331) + dec_ref r330 + if is_error(r332) goto L222 (error at :69) else goto L104 +L104: + dank_mids.brownie_patch.call.to_int = r332 :: static + r333 = dank_mids.brownie_patch.call.globals :: static + r334 = 'to_int' + r335 = CPyDict_SetItem(r333, r334, r332) + dec_ref r332 + r336 = r335 >= 0 :: signed + if not r336 goto L222 (error at :69) else goto L105 :: bool +L105: + r337 = dank_mids.brownie_patch.call.globals :: static + r338 = 'brownie' + r339 = CPyDict_GetItem(r337, r338) + if is_error(r339) goto L222 (error at :70) else goto L106 +L106: + r340 = 'convert' + r341 = CPyObject_GetAttr(r339, r340) + dec_ref r339 + if is_error(r341) goto L222 (error at :70) else goto L107 +L107: + r342 = 'normalize' + r343 = CPyObject_GetAttr(r341, r342) + dec_ref r341 + if is_error(r343) goto L222 (error at :70) else goto L108 +L108: + r344 = 'to_string' + r345 = CPyObject_GetAttr(r343, r344) + dec_ref r343 + if is_error(r345) goto L222 (error at :70) else goto L109 +L109: + dank_mids.brownie_patch.call.to_string = r345 :: static + r346 = dank_mids.brownie_patch.call.globals :: static + r347 = 'to_string' + r348 = CPyDict_SetItem(r346, r347, r345) + dec_ref r345 + r349 = r348 >= 0 :: signed + if not r349 goto L222 (error at :70) else goto L110 :: bool +L110: + r350 = dank_mids.brownie_patch.call.globals :: static + r351 = 'brownie' + r352 = CPyDict_GetItem(r350, r351) + if is_error(r352) goto L222 (error at :71) else goto L111 +L111: + r353 = 'convert' + r354 = CPyObject_GetAttr(r352, r353) + dec_ref r352 + if is_error(r354) goto L222 (error at :71) else goto L112 +L112: + r355 = 'normalize' + r356 = CPyObject_GetAttr(r354, r355) + dec_ref r354 + if is_error(r356) goto L222 (error at :71) else goto L113 +L113: + r357 = 'to_uint' + r358 = CPyObject_GetAttr(r356, r357) + dec_ref r356 + if is_error(r358) goto L222 (error at :71) else goto L114 +L114: + dank_mids.brownie_patch.call.to_uint = r358 :: static + r359 = dank_mids.brownie_patch.call.globals :: static + r360 = 'to_uint' + r361 = CPyDict_SetItem(r359, r360, r358) + dec_ref r358 + r362 = r361 >= 0 :: signed + if not r362 goto L222 (error at :71) else goto L115 :: bool +L115: + r363 = dank_mids.brownie_patch.call.globals :: static + r364 = 'brownie' + r365 = CPyDict_GetItem(r363, r364) + if is_error(r365) goto L222 (error at :72) else goto L116 +L116: + r366 = 'convert' + r367 = CPyObject_GetAttr(r365, r366) + dec_ref r365 + if is_error(r367) goto L222 (error at :72) else goto L117 +L117: + r368 = 'normalize' + r369 = CPyObject_GetAttr(r367, r368) + dec_ref r367 + if is_error(r369) goto L222 (error at :72) else goto L118 +L118: + r370 = '_check_array' + r371 = CPyObject_GetAttr(r369, r370) + dec_ref r369 + if is_error(r371) goto L222 (error at :72) else goto L119 +L119: + dank_mids.brownie_patch.call._check_array = r371 :: static + r372 = dank_mids.brownie_patch.call.globals :: static + r373 = '_check_array' + r374 = CPyDict_SetItem(r372, r373, r371) + dec_ref r371 + r375 = r374 >= 0 :: signed + if not r375 goto L222 (error at :72) else goto L120 :: bool +L120: + r376 = dank_mids.brownie_patch.call.globals :: static + r377 = 'brownie' + r378 = CPyDict_GetItem(r376, r377) + if is_error(r378) goto L222 (error at :73) else goto L121 +L121: + r379 = 'convert' + r380 = CPyObject_GetAttr(r378, r379) + dec_ref r378 + if is_error(r380) goto L222 (error at :73) else goto L122 +L122: + r381 = 'normalize' + r382 = CPyObject_GetAttr(r380, r381) + dec_ref r380 + if is_error(r382) goto L222 (error at :73) else goto L123 +L123: + r383 = '_get_abi_types' + r384 = CPyObject_GetAttr(r382, r383) + dec_ref r382 + if is_error(r384) goto L222 (error at :73) else goto L124 +L124: + dank_mids.brownie_patch.call._get_abi_types = r384 :: static + r385 = dank_mids.brownie_patch.call.globals :: static + r386 = '_get_abi_types' + r387 = CPyDict_SetItem(r385, r386, r384) + dec_ref r384 + r388 = r387 >= 0 :: signed + if not r388 goto L222 (error at :73) else goto L125 :: bool +L125: + r389 = dank_mids.brownie_patch.call.globals :: static + r390 = '__name__' + r391 = CPyDict_GetItem(r389, r390) + if is_error(r391) goto L222 (error at :76) else goto L126 +L126: + r392 = cast(str, r391) + if is_error(r392) goto L222 (error at :76) else goto L127 +L127: + r393 = dank_mids._logging.getLogger :: static + if is_error(r393) goto L231 else goto L130 +L128: + r394 = raise NameError('value for final name "getLogger" was not set') + if not r394 goto L222 (error at :76) else goto L129 :: bool +L129: + unreachable +L130: + r395 = [r392] + r396 = load_address r395 + r397 = _PyObject_Vectorcall(r393, r396, 1, 0) + if is_error(r397) goto L232 (error at :76) else goto L131 +L131: + dec_ref r392 + dank_mids.brownie_patch.call.logger = r397 :: static + r398 = dank_mids.brownie_patch.call.globals :: static + r399 = 'logger' + r400 = CPyDict_SetItem(r398, r399, r397) + dec_ref r397 + r401 = r400 >= 0 :: signed + if not r401 goto L222 (error at :76) else goto L132 :: bool +L132: + r402 = __mypyc_lambda__0_obj() + if is_error(r402) goto L222 (error at :79) else goto L133 +L133: + dank_mids.brownie_patch.call.encode = r402 :: static + r403 = dank_mids.brownie_patch.call.globals :: static + r404 = 'encode' + r405 = CPyDict_SetItem(r403, r404, r402) + dec_ref r402 + r406 = r405 >= 0 :: signed + if not r406 goto L222 (error at :79) else goto L134 :: bool +L134: + r407 = __mypyc_lambda__1_obj() + if is_error(r407) goto L222 (error at :98) else goto L135 +L135: + dank_mids.brownie_patch.call.decode = r407 :: static + r408 = dank_mids.brownie_patch.call.globals :: static + r409 = 'decode' + r410 = CPyDict_SetItem(r408, r409, r407) + dec_ref r407 + r411 = r410 >= 0 :: signed + if not r411 goto L222 (error at :98) else goto L136 :: bool +L136: + r412 = dank_mids.brownie_patch.call.globals :: static + r413 = 'Address' + r414 = CPyDict_GetItem(r412, r413) + if is_error(r414) goto L222 (error at :119) else goto L137 +L137: + r415 = 'checksum' + r416 = CPyObject_GetAttr(r414, r415) + dec_ref r414 + if is_error(r416) goto L222 (error at :119) else goto L138 +L138: + dank_mids.brownie_patch.call.to_checksum_address = r416 :: static + r417 = dank_mids.brownie_patch.call.globals :: static + r418 = 'to_checksum_address' + r419 = CPyDict_SetItem(r417, r418, r416) + dec_ref r416 + r420 = r419 >= 0 :: signed + if not r420 goto L222 (error at :119) else goto L139 :: bool +L139: + r421 = dank_mids.brownie_patch.call.globals :: static + r422 = '_get_coroutine_fn' + r423 = CPyDict_GetItem(r421, r422) + if is_error(r423) goto L222 (error at :137) else goto L140 +L140: + r424 = dank_mids.brownie_patch.call.globals :: static + r425 = 'lru_cache_lite_nonull' + r426 = CPyDict_GetItem(r424, r425) + if is_error(r426) goto L233 (error at :137) else goto L141 +L141: + r427 = [r423] + r428 = load_address r427 + r429 = _PyObject_Vectorcall(r426, r428, 1, 0) + dec_ref r426 + if is_error(r429) goto L233 (error at :137) else goto L142 +L142: + dec_ref r423 + r430 = dank_mids.brownie_patch.call.globals :: static + r431 = '_get_coroutine_fn' + r432 = CPyDict_SetItem(r430, r431, r429) + dec_ref r429 + r433 = r432 >= 0 :: signed + if not r433 goto L222 (error at :137) else goto L143 :: bool +L143: + r434 = dank_mids.brownie_patch.call.globals :: static + r435 = 'eth_abi' + r436 = CPyDict_GetItem(r434, r435) + if is_error(r436) goto L222 (error at :242) else goto L144 +L144: + r437 = 'encode' + r438 = PyObject_HasAttr(r436, r437) + dec_ref r436 + if r438 goto L145 else goto L148 :: bool +L145: + r439 = dank_mids.brownie_patch.call.globals :: static + r440 = 'eth_abi' + r441 = CPyDict_GetItem(r439, r440) + if is_error(r441) goto L222 (error at :242) else goto L146 +L146: + r442 = 'encode' + r443 = CPyObject_GetAttr(r441, r442) + dec_ref r441 + if is_error(r443) goto L222 (error at :242) else goto L147 +L147: + r444 = r443 + goto L151 +L148: + r445 = dank_mids.brownie_patch.call.globals :: static + r446 = 'eth_abi' + r447 = CPyDict_GetItem(r445, r446) + if is_error(r447) goto L222 (error at :242) else goto L149 +L149: + r448 = 'encode_abi' + r449 = CPyObject_GetAttr(r447, r448) + dec_ref r447 + if is_error(r449) goto L222 (error at :242) else goto L150 +L150: + r444 = r449 +L151: + dank_mids.brownie_patch.call.__eth_abi_encode = r444 :: static + r450 = dank_mids.brownie_patch.call.globals :: static + r451 = '__eth_abi_encode' + r452 = CPyDict_SetItem(r450, r451, r444) + dec_ref r444 + r453 = r452 >= 0 :: signed + if not r453 goto L222 (error at :242) else goto L152 :: bool +L152: + r454 = dank_mids.brownie_patch.call.globals :: static + r455 = 'eth_abi' + r456 = CPyDict_GetItem(r454, r455) + if is_error(r456) goto L222 (error at :245) else goto L153 +L153: + r457 = 'decode' + r458 = PyObject_HasAttr(r456, r457) + dec_ref r456 + if r458 goto L154 else goto L157 :: bool +L154: + r459 = dank_mids.brownie_patch.call.globals :: static + r460 = 'eth_abi' + r461 = CPyDict_GetItem(r459, r460) + if is_error(r461) goto L222 (error at :245) else goto L155 +L155: + r462 = 'decode' + r463 = CPyObject_GetAttr(r461, r462) + dec_ref r461 + if is_error(r463) goto L222 (error at :245) else goto L156 +L156: + r464 = r463 + goto L160 +L157: + r465 = dank_mids.brownie_patch.call.globals :: static + r466 = 'eth_abi' + r467 = CPyDict_GetItem(r465, r466) + if is_error(r467) goto L222 (error at :245) else goto L158 +L158: + r468 = 'decode_abi' + r469 = CPyObject_GetAttr(r467, r468) + dec_ref r467 + if is_error(r469) goto L222 (error at :245) else goto L159 +L159: + r464 = r469 +L160: + dank_mids.brownie_patch.call.__eth_abi_decode = r464 :: static + r470 = dank_mids.brownie_patch.call.globals :: static + r471 = '__eth_abi_decode' + r472 = CPyDict_SetItem(r470, r471, r464) + dec_ref r464 + r473 = r472 >= 0 :: signed + if not r473 goto L222 (error at :245) else goto L161 :: bool +L161: + r474 = '0xcA11bde05977b3631167028862bE2a173976CA11' + r475 = PySet_New(0) + if is_error(r475) goto L222 (error at :258) else goto L162 +L162: + r476 = PySet_Add(r475, r474) + r477 = r476 >= 0 :: signed + if not r477 goto L234 (error at :258) else goto L163 :: bool +L163: + r478 = dank_mids.brownie_patch.call.globals :: static + r479 = '_skip_proc_pool' + r480 = CPyDict_SetItem(r478, r479, r475) + dec_ref r475 + r481 = r480 >= 0 :: signed + if not r481 goto L222 (error at :258) else goto L164 :: bool +L164: + if 1 goto L165 else goto L182 :: bool +L165: + r482 = dank_mids.brownie_patch.call.globals :: static + r483 = 'chain' + r484 = CPyDict_GetItem(r482, r483) + if is_error(r484) goto L168 (error at :262) else goto L166 +L166: + r485 = 'id' + r486 = CPyObject_GetAttr(r484, r485) + dec_ref r484 + if is_error(r486) goto L168 (error at :262) else goto L167 +L167: + r487 = dank_mids.brownie_patch.call.globals :: static + r488 = 'chainid' + r489 = CPyDict_SetItem(r487, r488, r486) + dec_ref r486 + r490 = r489 >= 0 :: signed + if not r490 goto L168 (error at :262) else goto L182 :: bool +L168: + r491 = CPy_CatchError() + r492 = builtins :: module + r493 = 'Exception' + r494 = CPyObject_GetAttr(r492, r493) + if is_error(r494) goto L180 (error at :264) else goto L169 +L169: + r495 = CPy_ExceptionMatches(r494) + dec_ref r494 + if r495 goto L170 else goto L177 :: bool +L170: + r496 = dank_mids.brownie_patch.call.globals :: static + r497 = 'e' + r498 = CPy_GetExcValue() + r499 = CPyDict_SetItem(r496, r497, r498) + dec_ref r498 + r500 = r499 >= 0 :: signed + if not r500 goto L180 (error at :264) else goto L171 :: bool +L171: + r501 = '429' + r502 = dank_mids.brownie_patch.call.globals :: static + r503 = 'e' + r504 = CPyDict_GetItem(r502, r503) + if is_error(r504) goto L180 (error at :265) else goto L172 +L172: + r505 = PyObject_Str(r504) + dec_ref r504 + if is_error(r505) goto L180 (error at :265) else goto L173 +L173: + r506 = PySequence_Contains(r505, r501) + dec_ref r505 + r507 = r506 >= 0 :: signed + if not r507 goto L180 (error at :265) else goto L174 :: bool +L174: + r508 = truncate r506: i32 to builtins.bool + r509 = r508 ^ 1 + if r509 goto L175 else goto L179 :: bool +L175: + CPy_Reraise() + if not 0 goto L180 else goto L235 :: bool +L176: + unreachable +L177: + CPy_Reraise() + if not 0 goto L180 else goto L236 :: bool +L178: + unreachable +L179: + CPy_RestoreExcInfo(r491) + dec_ref r491 + goto L164 +L180: + CPy_RestoreExcInfo(r491) + dec_ref r491 + r510 = CPy_KeepPropagating() + if not r510 goto L222 else goto L181 :: bool +L181: + unreachable +L182: + r511 = dank_mids.brownie_patch.call.globals :: static + r512 = 'MULTICALL2_ADDRESSES' + r513 = CPyDict_GetItem(r511, r512) + if is_error(r513) goto L222 (error at :267) else goto L183 +L183: + r514 = dank_mids.brownie_patch.call.globals :: static + r515 = 'chainid' + r516 = CPyDict_GetItem(r514, r515) + if is_error(r516) goto L237 (error at :267) else goto L184 +L184: + r517 = 'get' + r518 = box(None, 1) + r519 = [r513, r516, r518] + r520 = load_address r519 + r521 = PyObject_VectorcallMethod(r517, r520, 9223372036854775811, 0) + if is_error(r521) goto L238 (error at :267) else goto L185 +L185: + dec_ref r513 + dec_ref r516 + r522 = dank_mids.brownie_patch.call.globals :: static + r523 = 'multicall2' + r524 = CPyDict_SetItem(r522, r523, r521) + r525 = r524 >= 0 :: signed + if not r525 goto L239 (error at :267) else goto L186 :: bool +L186: + r526 = PyObject_IsTrue(r521) + dec_ref r521 + r527 = r526 >= 0 :: signed + if not r527 goto L222 (error at :267) else goto L187 :: bool +L187: + r528 = truncate r526: i32 to builtins.bool + if r528 goto L188 else goto L196 :: bool +L188: + r529 = dank_mids.brownie_patch.call.globals :: static + r530 = '_skip_proc_pool' + r531 = CPyDict_GetItem(r529, r530) + if is_error(r531) goto L222 (error at :268) else goto L189 +L189: + r532 = cast(set, r531) + if is_error(r532) goto L222 (error at :268) else goto L190 +L190: + r533 = dank_mids.brownie_patch.call.globals :: static + r534 = 'multicall2' + r535 = CPyDict_GetItem(r533, r534) + if is_error(r535) goto L240 (error at :268) else goto L191 +L191: + r536 = dank_mids.brownie_patch.call.to_checksum_address :: static + if is_error(r536) goto L241 else goto L194 +L192: + r537 = raise NameError('value for final name "to_checksum_address" was not set') + if not r537 goto L222 (error at :268) else goto L193 :: bool +L193: + unreachable +L194: + r538 = [r535] + r539 = load_address r538 + r540 = _PyObject_Vectorcall(r536, r539, 1, 0) + if is_error(r540) goto L242 (error at :268) else goto L195 +L195: + dec_ref r535 + r541 = PySet_Add(r532, r540) + dec_ref r532 + dec_ref r540 + r542 = r541 >= 0 :: signed + if not r542 goto L222 (error at :268) else goto L196 :: bool +L196: + r543 = dank_mids.brownie_patch.call.globals :: static + r544 = 'format_input_but_cache_checksums' + r545 = CPyDict_GetItem(r543, r544) + if is_error(r545) goto L222 (error at :328) else goto L197 +L197: + r546 = dank_mids.brownie_patch.call.globals :: static + r547 = 'brownie' + r548 = CPyDict_GetItem(r546, r547) + if is_error(r548) goto L243 (error at :328) else goto L198 +L198: + r549 = 'network' + r550 = CPyObject_GetAttr(r548, r549) + dec_ref r548 + if is_error(r550) goto L243 (error at :328) else goto L199 +L199: + r551 = 'contract' + r552 = CPyObject_GetAttr(r550, r551) + dec_ref r550 + if is_error(r552) goto L243 (error at :328) else goto L200 +L200: + r553 = 'format_input' + r554 = PyObject_SetAttr(r552, r553, r545) + dec_ref r552 + dec_ref r545 + r555 = r554 >= 0 :: signed + if not r555 goto L222 (error at :328) else goto L201 :: bool +L201: + r556 = dank_mids.brownie_patch.call.globals :: static + r557 = 'format_output_but_cache_checksums' + r558 = CPyDict_GetItem(r556, r557) + if is_error(r558) goto L222 (error at :329) else goto L202 +L202: + r559 = dank_mids.brownie_patch.call.globals :: static + r560 = 'brownie' + r561 = CPyDict_GetItem(r559, r560) + if is_error(r561) goto L244 (error at :329) else goto L203 +L203: + r562 = 'network' + r563 = CPyObject_GetAttr(r561, r562) + dec_ref r561 + if is_error(r563) goto L244 (error at :329) else goto L204 +L204: + r564 = 'contract' + r565 = CPyObject_GetAttr(r563, r564) + dec_ref r563 + if is_error(r565) goto L244 (error at :329) else goto L205 +L205: + r566 = 'format_output' + r567 = PyObject_SetAttr(r565, r566, r558) + dec_ref r565 + dec_ref r558 + r568 = r567 >= 0 :: signed + if not r568 goto L222 (error at :329) else goto L206 :: bool +L206: + r569 = dank_mids.brownie_patch.call.globals :: static + r570 = '_format_array_but_cache_checksums' + r571 = CPyDict_GetItem(r569, r570) + if is_error(r571) goto L222 (error at :386) else goto L207 +L207: + r572 = dank_mids.brownie_patch.call.globals :: static + r573 = 'brownie' + r574 = CPyDict_GetItem(r572, r573) + if is_error(r574) goto L245 (error at :386) else goto L208 +L208: + r575 = 'convert' + r576 = CPyObject_GetAttr(r574, r575) + dec_ref r574 + if is_error(r576) goto L245 (error at :386) else goto L209 +L209: + r577 = 'normalize' + r578 = CPyObject_GetAttr(r576, r577) + dec_ref r576 + if is_error(r578) goto L245 (error at :386) else goto L210 +L210: + r579 = '_format_array' + r580 = PyObject_SetAttr(r578, r579, r571) + dec_ref r578 + dec_ref r571 + r581 = r580 >= 0 :: signed + if not r581 goto L222 (error at :386) else goto L211 :: bool +L211: + r582 = dank_mids.brownie_patch.call.globals :: static + r583 = '_format_single_but_cache_checksums' + r584 = CPyDict_GetItem(r582, r583) + if is_error(r584) goto L222 (error at :387) else goto L212 +L212: + r585 = dank_mids.brownie_patch.call.globals :: static + r586 = 'brownie' + r587 = CPyDict_GetItem(r585, r586) + if is_error(r587) goto L246 (error at :387) else goto L213 +L213: + r588 = 'convert' + r589 = CPyObject_GetAttr(r587, r588) + dec_ref r587 + if is_error(r589) goto L246 (error at :387) else goto L214 +L214: + r590 = 'normalize' + r591 = CPyObject_GetAttr(r589, r590) + dec_ref r589 + if is_error(r591) goto L246 (error at :387) else goto L215 +L215: + r592 = '_format_single' + r593 = PyObject_SetAttr(r591, r592, r584) + dec_ref r591 + dec_ref r584 + r594 = r593 >= 0 :: signed + if not r594 goto L222 (error at :387) else goto L216 :: bool +L216: + r595 = dank_mids.brownie_patch.call.globals :: static + r596 = '_format_tuple_but_cache_checksums' + r597 = CPyDict_GetItem(r595, r596) + if is_error(r597) goto L222 (error at :388) else goto L217 +L217: + r598 = dank_mids.brownie_patch.call.globals :: static + r599 = 'brownie' + r600 = CPyDict_GetItem(r598, r599) + if is_error(r600) goto L247 (error at :388) else goto L218 +L218: + r601 = 'convert' + r602 = CPyObject_GetAttr(r600, r601) + dec_ref r600 + if is_error(r602) goto L247 (error at :388) else goto L219 +L219: + r603 = 'normalize' + r604 = CPyObject_GetAttr(r602, r603) + dec_ref r602 + if is_error(r604) goto L247 (error at :388) else goto L220 +L220: + r605 = '_format_tuple' + r606 = PyObject_SetAttr(r604, r605, r597) + dec_ref r604 + dec_ref r597 + r607 = r606 >= 0 :: signed + if not r607 goto L222 (error at :388) else goto L221 :: bool +L221: + return 1 +L222: + r608 = :: None + return r608 +L223: + dec_ref r133 + goto L222 +L224: + dec_ref r164 + goto L222 +L225: + dec_ref r175 + goto L222 +L226: + dec_ref r175 + dec_ref r178 + goto L222 +L227: + dec_ref r175 + dec_ref r182 + goto L222 +L228: + dec_ref r175 + dec_ref r182 + dec_ref r185 + goto L222 +L229: + dec_ref r203 + goto L222 +L230: + dec_ref r210 + goto L222 +L231: + dec_ref r392 + goto L128 +L232: + dec_ref r392 + goto L222 +L233: + dec_ref r423 + goto L222 +L234: + dec_ref r475 + goto L222 +L235: + dec_ref r491 + goto L176 +L236: + dec_ref r491 + goto L178 +L237: + dec_ref r513 + goto L222 +L238: + dec_ref r513 + dec_ref r516 + goto L222 +L239: + dec_ref r521 + goto L222 +L240: + dec_ref r532 + goto L222 +L241: + dec_ref r532 + dec_ref r535 + goto L192 +L242: + dec_ref r532 + dec_ref r535 + goto L222 +L243: + dec_ref r545 + goto L222 +L244: + dec_ref r558 + goto L222 +L245: + dec_ref r571 + goto L222 +L246: + dec_ref r584 + goto L222 +L247: + dec_ref r597 + goto L222 + +def DummyLogger.info(args, kwargs): + args :: tuple + kwargs :: dict +L0: + return 1 + +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str + r4, r5 :: object + r6 :: str + r7 :: dict + r8, r9 :: object + r10 :: str + r11 :: dict + r12, r13 :: object + r14 :: str + r15 :: dict + r16, r17 :: object + r18 :: str + r19, r20 :: object + r21 :: bool + r22 :: str + r23 :: tuple + r24 :: i32 + r25 :: bit + r26 :: dict + r27 :: str + r28 :: i32 + r29 :: bit + r30 :: object + r31 :: bool + r32 :: i32 + r33 :: bit + r34 :: bool + r35 :: str + r36 :: object + r37 :: bool + r38 :: object[1] + r39 :: object_ptr + r40 :: object + r41 :: dict + r42 :: str + r43 :: i32 + r44 :: bit + r45 :: dank_mids._demo_mode.DummyLogger + r46 :: dict + r47 :: str + r48 :: i32 + r49 :: bit + r50 :: dict + r51 :: str + r52 :: object + r53 :: dict + r54 :: str + r55 :: i32 + r56 :: bit + r57 :: None +L0: + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool +L1: + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L26 (error at :-1) else goto L2 +L2: + builtins = r4 :: module + dec_ref r4 +L3: + r5 = ('Any', 'Final', 'final') + r6 = 'typing' + r7 = dank_mids._demo_mode.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L26 (error at :1) else goto L4 +L4: + typing = r8 :: module + dec_ref r8 + r9 = ('ENVIRONMENT_VARIABLES',) + r10 = 'dank_mids' + r11 = dank_mids._demo_mode.globals :: static + r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) + if is_error(r12) goto L26 (error at :3) else goto L5 +L5: + dank_mids = r12 :: module + dec_ref r12 + r13 = ('getLogger',) + r14 = 'dank_mids._logging' + r15 = dank_mids._demo_mode.globals :: static + r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) + if is_error(r16) goto L26 (error at :4) else goto L6 +L6: + dank_mids._logging = r16 :: module + dec_ref r16 + r17 = :: object + r18 = 'dank_mids._demo_mode' + r19 = dank_mids._demo_mode.DummyLogger_template :: type + r20 = CPyType_FromTemplate(r19, r17, r18) + if is_error(r20) goto L26 (error at :8) else goto L7 +L7: + r21 = DummyLogger_trait_vtable_setup() + if is_error(r21) goto L27 (error at :-1) else goto L8 +L8: + r22 = '__mypyc_attrs__' + r23 = PyTuple_Pack(0) + if is_error(r23) goto L27 (error at :8) else goto L9 +L9: + r24 = PyObject_SetAttr(r20, r22, r23) + dec_ref r23 + r25 = r24 >= 0 :: signed + if not r25 goto L27 (error at :8) else goto L10 :: bool +L10: + dank_mids._demo_mode.DummyLogger = r20 :: type + r26 = dank_mids._demo_mode.globals :: static + r27 = 'DummyLogger' + r28 = CPyDict_SetItem(r26, r27, r20) + dec_ref r20 + r29 = r28 >= 0 :: signed + if not r29 goto L26 (error at :8) else goto L11 :: bool +L11: + r30 = dank_mids.ENVIRONMENT_VARIABLES.DEMO_MODE :: static + if is_error(r30) goto L12 else goto L14 +L12: + r31 = raise NameError('value for final name "DEMO_MODE" was not set') + if not r31 goto L26 (error at :30) else goto L13 :: bool +L13: + unreachable +L14: + r32 = PyObject_IsTrue(r30) + r33 = r32 >= 0 :: signed + if not r33 goto L26 (error at :30) else goto L15 :: bool +L15: + r34 = truncate r32: i32 to builtins.bool + if r34 goto L16 else goto L21 :: bool +L16: + r35 = 'dank_mids.demo' + r36 = dank_mids._logging.getLogger :: static + if is_error(r36) goto L17 else goto L19 +L17: + r37 = raise NameError('value for final name "getLogger" was not set') + if not r37 goto L26 (error at :31) else goto L18 :: bool +L18: + unreachable +L19: + r38 = [r35] + r39 = load_address r38 + r40 = _PyObject_Vectorcall(r36, r39, 1, 0) + if is_error(r40) goto L26 (error at :31) else goto L20 +L20: + r41 = dank_mids._demo_mode.globals :: static + r42 = '_logger' + r43 = CPyDict_SetItem(r41, r42, r40) + dec_ref r40 + r44 = r43 >= 0 :: signed + if not r44 goto L26 (error at :31) else goto L23 :: bool +L21: + r45 = DummyLogger() + if is_error(r45) goto L26 (error at :33) else goto L22 +L22: + r46 = dank_mids._demo_mode.globals :: static + r47 = '_logger' + r48 = CPyDict_SetItem(r46, r47, r45) + dec_ref r45 + r49 = r48 >= 0 :: signed + if not r49 goto L26 (error at :33) else goto L23 :: bool +L23: + r50 = dank_mids._demo_mode.globals :: static + r51 = '_logger' + r52 = CPyDict_GetItem(r50, r51) + if is_error(r52) goto L26 (error at :35) else goto L24 +L24: + dank_mids._demo_mode.demo_logger = r52 :: static + r53 = dank_mids._demo_mode.globals :: static + r54 = 'demo_logger' + r55 = CPyDict_SetItem(r53, r54, r52) + dec_ref r52 + r56 = r55 >= 0 :: signed + if not r56 goto L26 (error at :35) else goto L25 :: bool +L25: + return 1 +L26: + r57 = :: None + return r57 +L27: + dec_ref r20 + goto L26 + +def coroutine__patch_overloaded_method_obj.__get__(__mypyc_self__, instance, owner): + __mypyc_self__, instance, owner, r0 :: object + r1 :: bit + r2, r3 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = instance == r0 + if r1 goto L1 else goto L2 :: bool +L1: + inc_ref __mypyc_self__ + return __mypyc_self__ +L2: + r2 = PyMethod_New(__mypyc_self__, instance) + if is_error(r2) goto L4 else goto L3 +L3: + return r2 +L4: + r3 = :: object + return r3 + +def coroutine__patch_overloaded_method_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg): + __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen + type, value, traceback, arg, r0, r1 :: object + r2 :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_env + r3 :: int + r4 :: dank_mids.brownie_patch.overloaded._patch_overloaded_method_env + r5 :: object + r6 :: bit + r7 :: object + r8 :: tuple + r9 :: str + r10 :: object[2] + r11 :: object_ptr + r12 :: object + r13 :: bool + r14 :: tuple[object, object, object] + r15 :: bool + r16 :: object + r17 :: str + r18 :: object + r19 :: bit + r20 :: object + r21 :: bool + r22 :: object + r23 :: str + r24 :: bool + r25 :: str + r26 :: object + r27 :: str + r28 :: object + r29, r30, r31 :: str + r32 :: object + r33 :: str + r34 :: object + r35, r36 :: str + r37 :: tuple[str, str] + r38, r39 :: bool + r40 :: tuple[str, str] + r41, r42 :: object + r43, r44 :: bool + r45, r46 :: object + r47 :: str + r48 :: bool + r49, r50 :: str + r51 :: i32 + r52 :: bit + r53, r54 :: bool + r55 :: bit + r56, r57, r58 :: str + r59 :: object[2] + r60 :: object_ptr + r61 :: object + r62 :: int + r63 :: bool + r64 :: str + r65 :: int + r66 :: object + r67, r68, r69 :: str + r70 :: int + r71 :: object + r72, r73 :: str + r74 :: object + r75 :: str + r76 :: object + r77 :: object[1] + r78 :: object_ptr + r79 :: object + r80 :: tuple[object, object, object] + r81 :: bit + r82 :: str + r83 :: union[int, str, bytes, None] + r84 :: str + r85 :: union[int, None] + r86 :: str + r87 :: union[dict, None] + r88 :: dict + r89 :: bool + r90 :: dict + r91 :: bool + r92 :: dict + r93, r94 :: bool + r95 :: dict + r96 :: native_int + r97 :: short_int + r98 :: bool + r99 :: object + r100 :: bool + r101 :: object + r102 :: short_int + r103 :: tuple[bool, short_int, object, object] + r104 :: short_int + r105, r106 :: bool + r107, r108 :: object + r109 :: str + r110 :: union[int, str, bytes, None, dict] + r111, r112 :: bool + r113 :: union[int, str, bytes, None, dict] + r114 :: object + r115 :: bit + r116 :: str + r117 :: union[int, str, bytes, None, dict] + r118 :: union[int, str, bytes, dict] + r119 :: dict + r120 :: i32 + r121 :: bit + r122 :: dict + r123 :: short_int + r124, r125 :: bit + r126 :: dict + r127 :: bool + r128 :: object + r129 :: tuple + r130 :: dict + r131 :: str + r132 :: object + r133 :: list + r134 :: object + r135 :: dict + r136 :: i32 + r137 :: bit + r138 :: tuple + r139, r140 :: object + r141 :: bool + r142, r143, r144, r145, r146 :: object + r147 :: bool + r148 :: object + r149 :: bit + r150 :: tuple[object, object, object] + r151 :: bool + r152 :: object_ptr + r153 :: object + r154, r155 :: bool + r156 :: tuple[object, object, object] + r157 :: bool + r158, r159 :: tuple[object, object, object] + r160 :: bit + r161, r162, r163 :: object + r164 :: bool + r165, r166 :: bit + r167 :: bool + r168 :: object +L0: + r0 = :: object + r1 = r0 + r2 = __mypyc_self__.__mypyc_env__ + if is_error(r2) goto L153 (error at coroutine:24) else goto L1 +L1: + r3 = r2.__mypyc_next_label__ + if is_error(r3) goto L154 (error at coroutine:24) else goto L2 +L2: + r4 = r2.__mypyc_env__ + if is_error(r4) goto L155 (error at coroutine:24) else goto L148 +L3: + r5 = load_address _Py_NoneStruct + r6 = type != r5 + if r6 goto L156 else goto L6 :: bool +L4: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L152 (error at coroutine:24) else goto L5 :: bool +L5: + unreachable +L6: + r7 = r2.self + if is_error(r7) goto L157 (error at coroutine:45) else goto L7 +L7: + r8 = r2.args + if is_error(r8) goto L158 (error at coroutine:45) else goto L8 +L8: + r9 = '_get_fn_from_args' + r10 = [r7, r8] + r11 = load_address r10 + r12 = PyObject_VectorcallMethod(r9, r11, 9223372036854775810, 0) + if is_error(r12) goto L159 (error at coroutine:45) else goto L9 +L9: + dec_ref r7 + dec_ref r8 + r2.fn = r12; r13 = is_error + if not r13 goto L157 (error at coroutine:45) else goto L160 :: bool +L10: + r14 = CPy_CatchError() + r2.__mypyc_temp__0 = r14; r15 = is_error + if not r15 goto L161 (error at coroutine:-1) else goto L11 :: bool +L11: + r16 = builtins :: module + r17 = 'ValueError' + r18 = CPyObject_GetAttr(r16, r17) + if is_error(r18) goto L161 (error at coroutine:46) else goto L12 +L12: + r19 = CPy_ExceptionMatches(r18) + dec_ref r18 + if r19 goto L13 else goto L162 :: bool +L13: + r20 = CPy_GetExcValue() + r2.e = r20; r21 = is_error + if not r21 goto L161 (error at coroutine:46) else goto L14 :: bool +L14: + r22 = r2.e + if is_error(r22) goto L161 (error at coroutine:47) else goto L15 +L15: + r23 = PyObject_Str(r22) + dec_ref r22 + if is_error(r23) goto L161 (error at coroutine:47) else goto L16 +L16: + r2.exc_str = r23; r24 = is_error + if not r24 goto L161 (error at coroutine:47) else goto L17 :: bool +L17: + r25 = "Contract has more than one function '." + r26 = r4.call + if is_error(r26) goto L161 (error at coroutine:49) else goto L18 +L18: + r27 = '_name' + r28 = CPyObject_GetAttr(r26, r27) + dec_ref r26 + if is_error(r28) goto L161 (error at coroutine:49) else goto L19 +L19: + r29 = PyObject_Str(r28) + dec_ref r28 + if is_error(r29) goto L161 (error at coroutine:49) else goto L20 +L20: + r30 = CPyStr_Build(2, r25, r29) + dec_ref r29 + if is_error(r30) goto L161 (error at coroutine:49) else goto L21 +L21: + r31 = 'You must explicitly declare which function you are calling, e.g. .' + r32 = r4.call + dec_ref r4 + if is_error(r32) goto L163 (error at coroutine:50) else goto L22 +L22: + r33 = '_name' + r34 = CPyObject_GetAttr(r32, r33) + dec_ref r32 + if is_error(r34) goto L163 (error at coroutine:50) else goto L23 +L23: + r35 = PyObject_Str(r34) + dec_ref r34 + if is_error(r35) goto L163 (error at coroutine:50) else goto L24 +L24: + r36 = CPyStr_Build(2, r31, r35) + dec_ref r35 + if is_error(r36) goto L163 (error at coroutine:50) else goto L25 +L25: + r37 = (r30, r36) + r2.match_on = r37; r38 = is_error + if not r38 goto L62 (error at coroutine:48) else goto L26 :: bool +L26: + r39 = 1 + r40 = r2.match_on + if is_error(r40) goto L62 (error at coroutine:52) else goto L27 +L27: + inc_ref r40 + r41 = box(tuple[str, str], r40) + r42 = PyObject_GetIter(r41) + dec_ref r41 + if is_error(r42) goto L164 (error at coroutine:52) else goto L28 +L28: + r2.__mypyc_temp__1 = r40; r43 = is_error + if not r43 goto L165 (error at coroutine:-1) else goto L29 :: bool +L29: + r2.__mypyc_temp__2 = r42; r44 = is_error + if not r44 goto L62 (error at coroutine:-1) else goto L30 :: bool +L30: + r45 = r2.__mypyc_temp__2 + if is_error(r45) goto L62 (error at coroutine:52) else goto L31 +L31: + r46 = PyIter_Next(r45) + dec_ref r45 + if is_error(r46) goto L39 else goto L32 +L32: + r47 = cast(str, r46) + if is_error(r47) goto L62 (error at coroutine:52) else goto L33 +L33: + r2.s = r47; r48 = is_error + if not r48 goto L62 (error at coroutine:52) else goto L34 :: bool +L34: + r49 = r2.s + if is_error(r49) goto L62 (error at coroutine:52) else goto L35 +L35: + r50 = r2.exc_str + if is_error(r50) goto L166 (error at coroutine:52) else goto L36 +L36: + r51 = PySequence_Contains(r50, r49) + dec_ref r50 + dec_ref r49 + r52 = r51 >= 0 :: signed + if not r52 goto L62 (error at coroutine:52) else goto L37 :: bool +L37: + r53 = truncate r51: i32 to builtins.bool + r54 = r53 ^ 1 + if r54 goto L38 else goto L30 :: bool +L38: + r39 = 0 + goto L40 +L39: + r55 = CPy_NoErrOccurred() + if not r55 goto L62 (error at coroutine:52) else goto L40 :: bool +L40: + if r39 goto L41 else goto L58 :: bool +L41: + r56 = r2.exc_str + if is_error(r56) goto L62 (error at coroutine:53) else goto L42 +L42: + r57 = '(*args)' + r58 = 'find' + r59 = [r56, r57] + r60 = load_address r59 + r61 = PyObject_VectorcallMethod(r58, r60, 9223372036854775810, 0) + if is_error(r61) goto L167 (error at coroutine:53) else goto L43 +L43: + dec_ref r56 + r62 = unbox(int, r61) + dec_ref r61 + if is_error(r62) goto L62 (error at coroutine:53) else goto L44 +L44: + r2.breakpoint = r62; r63 = is_error + if not r63 goto L62 (error at coroutine:53) else goto L45 :: bool +L45: + r64 = r2.exc_str + if is_error(r64) goto L62 (error at coroutine:54) else goto L46 +L46: + r65 = r2.breakpoint + if is_error(r65) goto L168 (error at coroutine:54) else goto L47 +L47: + r66 = CPyStr_GetSlice(r64, 0, r65) + dec_ref r64 + dec_ref r65 :: int + if is_error(r66) goto L62 (error at coroutine:54) else goto L48 +L48: + r67 = cast(str, r66) + if is_error(r67) goto L62 (error at coroutine:54) else goto L49 +L49: + r68 = '.coroutine' + r69 = r2.exc_str + if is_error(r69) goto L169 (error at coroutine:54) else goto L50 +L50: + r70 = r2.breakpoint + if is_error(r70) goto L170 (error at coroutine:54) else goto L51 +L51: + r71 = CPyStr_GetSlice(r69, r70, 9223372036854775806) + dec_ref r69 + dec_ref r70 :: int + if is_error(r71) goto L169 (error at coroutine:54) else goto L52 +L52: + r72 = cast(str, r71) + if is_error(r72) goto L169 (error at coroutine:54) else goto L53 +L53: + r73 = CPyStr_Build(3, r67, r68, r72) + dec_ref r67 + dec_ref r72 + if is_error(r73) goto L62 (error at coroutine:54) else goto L54 +L54: + r74 = builtins :: module + r75 = 'ValueError' + r76 = CPyObject_GetAttr(r74, r75) + if is_error(r76) goto L171 (error at coroutine:54) else goto L55 +L55: + r77 = [r73] + r78 = load_address r77 + r79 = _PyObject_Vectorcall(r76, r78, 1, 0) + dec_ref r76 + if is_error(r79) goto L171 (error at coroutine:54) else goto L56 +L56: + dec_ref r73 + CPy_Raise(r79) + dec_ref r79 + if not 0 goto L62 (error at coroutine:54) else goto L172 :: bool +L57: + unreachable +L58: + CPy_Reraise() + if not 0 goto L62 else goto L173 :: bool +L59: + unreachable +L60: + CPy_Reraise() + if not 0 goto L62 else goto L174 :: bool +L61: + unreachable +L62: + r80 = r2.__mypyc_temp__0 + dec_ref r2 + if is_error(r80) goto L152 (error at coroutine:-1) else goto L63 +L63: + CPy_RestoreExcInfo(r80) + dec_ref r80 + r81 = CPy_KeepPropagating() + if not r81 goto L152 else goto L64 :: bool +L64: + unreachable +L65: + r82 = 'block_identifier' + r83 = r2.block_identifier + if is_error(r83) goto L154 (error at coroutine:57) else goto L66 +L66: + r84 = 'decimals' + r85 = r2.decimals + if is_error(r85) goto L175 (error at coroutine:57) else goto L67 +L67: + r86 = 'override' + r87 = r2.override + if is_error(r87) goto L176 (error at coroutine:57) else goto L68 +L68: + r88 = CPyDict_Build(3, r82, r83, r84, r85, r86, r87) + dec_ref r83 + dec_ref r85 + dec_ref r87 + if is_error(r88) goto L154 (error at coroutine:57) else goto L69 +L69: + r2.kwargs = r88; r89 = is_error + if not r89 goto L154 (error at coroutine:57) else goto L70 :: bool +L70: + r90 = PyDict_New() + if is_error(r90) goto L154 (error at coroutine:58) else goto L71 +L71: + r2.__mypyc_temp__3 = r90; r91 = is_error + if not r91 goto L154 (error at coroutine:-1) else goto L72 :: bool +L72: + r92 = r2.kwargs + if is_error(r92) goto L154 (error at coroutine:58) else goto L73 +L73: + inc_ref r92 + r2.__mypyc_temp__4 = r92; r93 = is_error + if not r93 goto L177 (error at coroutine:-1) else goto L74 :: bool +L74: + r2.__mypyc_temp__5 = 0; r94 = is_error + if not r94 goto L177 (error at coroutine:-1) else goto L75 :: bool +L75: + r95 = r2.__mypyc_temp__4 + if is_error(r95) goto L177 (error at coroutine:58) else goto L76 +L76: + r96 = PyDict_Size(r95) + dec_ref r95 + r97 = r96 << 1 + r2.__mypyc_temp__6 = r97; r98 = is_error + if not r98 goto L177 (error at coroutine:-1) else goto L77 :: bool +L77: + r99 = CPyDict_GetItemsIter(r92) + dec_ref r92 + if is_error(r99) goto L154 (error at coroutine:58) else goto L78 +L78: + r2.__mypyc_temp__7 = r99; r100 = is_error + if not r100 goto L154 (error at coroutine:-1) else goto L79 :: bool +L79: + r101 = r2.__mypyc_temp__7 + if is_error(r101) goto L154 (error at coroutine:58) else goto L80 +L80: + r102 = r2.__mypyc_temp__5 + if is_error(r102) goto L178 (error at coroutine:58) else goto L81 +L81: + r103 = CPyDict_NextItem(r101, r102) + dec_ref r101 + r104 = r103[1] + r2.__mypyc_temp__5 = r104; r105 = is_error + if not r105 goto L179 (error at coroutine:58) else goto L82 :: bool +L82: + r106 = r103[0] + if r106 goto L83 else goto L180 :: bool +L83: + r107 = r103[2] + r108 = r103[3] + dec_ref r103 + r109 = cast(str, r107) + if is_error(r109) goto L181 (error at coroutine:58) else goto L84 +L84: + r110 = cast(union[int, str, bytes, None, dict], r108) + if is_error(r110) goto L182 (error at coroutine:58) else goto L85 +L85: + r2.k = r109; r111 = is_error + if not r111 goto L183 (error at coroutine:58) else goto L86 :: bool +L86: + r2.v = r110; r112 = is_error + if not r112 goto L154 (error at coroutine:58) else goto L87 :: bool +L87: + r113 = r2.v + if is_error(r113) goto L154 (error at coroutine:58) else goto L88 +L88: + r114 = load_address _Py_NoneStruct + r115 = r113 != r114 + dec_ref r113 + if r115 goto L89 else goto L94 :: bool +L89: + r116 = r2.k + if is_error(r116) goto L154 (error at coroutine:58) else goto L90 +L90: + r117 = r2.v + if is_error(r117) goto L184 (error at coroutine:58) else goto L91 +L91: + r118 = cast(union[int, str, bytes, dict], r117) + if is_error(r118) goto L184 (error at coroutine:58) else goto L92 +L92: + r119 = r2.__mypyc_temp__3 + if is_error(r119) goto L185 (error at coroutine:-1) else goto L93 +L93: + r120 = CPyDict_SetItem(r119, r116, r118) + dec_ref r119 + dec_ref r116 + dec_ref r118 + r121 = r120 >= 0 :: signed + if not r121 goto L154 (error at coroutine:58) else goto L94 :: bool +L94: + r122 = r2.__mypyc_temp__4 + if is_error(r122) goto L154 (error at coroutine:58) else goto L95 +L95: + r123 = r2.__mypyc_temp__6 + if is_error(r123) goto L186 (error at coroutine:58) else goto L96 +L96: + r124 = CPyDict_CheckSize(r122, r123) + dec_ref r122 + if not r124 goto L154 (error at coroutine:58) else goto L79 :: bool +L97: + r125 = CPy_NoErrOccurred() + if not r125 goto L154 (error at coroutine:58) else goto L98 :: bool +L98: + r126 = r2.__mypyc_temp__3 + if is_error(r126) goto L154 (error at coroutine:-1) else goto L99 +L99: + r2.kwargs = r126; r127 = is_error + if not r127 goto L154 (error at coroutine:58) else goto L100 :: bool +L100: + r128 = r2.fn + if is_error(r128) goto L154 (error at coroutine:59) else goto L101 +L101: + r129 = r2.args + if is_error(r129) goto L187 (error at coroutine:59) else goto L102 +L102: + r130 = r2.kwargs + if is_error(r130) goto L188 (error at coroutine:59) else goto L103 +L103: + r131 = 'coroutine' + r132 = CPyObject_GetAttr(r128, r131) + dec_ref r128 + if is_error(r132) goto L189 (error at coroutine:59) else goto L104 +L104: + r133 = PyList_New(0) + if is_error(r133) goto L190 (error at coroutine:59) else goto L105 +L105: + r134 = CPyList_Extend(r133, r129) + dec_ref r129 + if is_error(r134) goto L191 (error at coroutine:59) else goto L192 +L106: + r135 = PyDict_New() + if is_error(r135) goto L191 (error at coroutine:59) else goto L107 +L107: + r136 = CPyDict_UpdateInDisplay(r135, r130) + dec_ref r130 + r137 = r136 >= 0 :: signed + if not r137 goto L193 (error at coroutine:59) else goto L108 :: bool +L108: + r138 = PyList_AsTuple(r133) + dec_ref r133 + if is_error(r138) goto L194 (error at coroutine:59) else goto L109 +L109: + r139 = PyObject_Call(r132, r138, r135) + dec_ref r132 + dec_ref r138 + dec_ref r135 + if is_error(r139) goto L154 (error at coroutine:59) else goto L110 +L110: + r140 = CPy_GetCoro(r139) + dec_ref r139 + if is_error(r140) goto L154 (error at coroutine:59) else goto L111 +L111: + r2.__mypyc_temp__8 = r140; r141 = is_error + if not r141 goto L154 (error at coroutine:-1) else goto L112 :: bool +L112: + r142 = r2.__mypyc_temp__8 + if is_error(r142) goto L154 (error at coroutine:-1) else goto L113 +L113: + r143 = CPyIter_Next(r142) + dec_ref r142 + if is_error(r143) goto L195 else goto L116 +L114: + r144 = CPy_FetchStopIterationValue() + if is_error(r144) goto L196 (error at coroutine:59) else goto L115 +L115: + r145 = r144 + goto L145 +L116: + r146 = r143 +L117: + r2.__mypyc_next_label__ = 2; r147 = is_error + if not r147 goto L197 (error at coroutine:59) else goto L198 :: bool +L118: + return r146 +L119: + r148 = load_address _Py_NoneStruct + r149 = type != r148 + if r149 goto L120 else goto L122 :: bool +L120: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L123 (error at coroutine:59) else goto L199 :: bool +L121: + unreachable +L122: + inc_ref arg + goto L140 +L123: + r150 = CPy_CatchError() + r2.__mypyc_temp__9 = r150; r151 = is_error + if not r151 goto L200 (error at coroutine:-1) else goto L124 :: bool +L124: + r152 = load_address r1 + r153 = r2.__mypyc_temp__8 + if is_error(r153) goto L200 (error at coroutine:-1) else goto L125 +L125: + r154 = CPy_YieldFromErrorHandle(r153, r152) + dec_ref r153 + if is_error(r154) goto L200 (error at coroutine:59) else goto L126 +L126: + if r154 goto L132 else goto L127 :: bool +L127: + if is_error(r1) goto L128 else goto L130 +L128: + r155 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r155 goto L137 (error at coroutine:-1) else goto L201 :: bool +L129: + unreachable +L130: + inc_ref r1 + r146 = r1 + r156 = r2.__mypyc_temp__9 + if is_error(r156) goto L202 (error at coroutine:-1) else goto L131 +L131: + CPy_RestoreExcInfo(r156) + dec_ref r156 + goto L117 +L132: + if is_error(r1) goto L133 else goto L135 +L133: + r157 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r157 goto L137 (error at coroutine:-1) else goto L203 :: bool +L134: + unreachable +L135: + r145 = r1 + r158 = r2.__mypyc_temp__9 + if is_error(r158) goto L204 (error at coroutine:-1) else goto L136 +L136: + CPy_RestoreExcInfo(r158) + dec_ref r158 + goto L145 +L137: + r159 = r2.__mypyc_temp__9 + dec_ref r2 + if is_error(r159) goto L152 (error at coroutine:-1) else goto L138 +L138: + CPy_RestoreExcInfo(r159) + dec_ref r159 + r160 = CPy_KeepPropagating() + if not r160 goto L152 else goto L139 :: bool +L139: + unreachable +L140: + r161 = r2.__mypyc_temp__8 + if is_error(r161) goto L205 (error at coroutine:-1) else goto L141 +L141: + r162 = CPyIter_Send(r161, arg) + dec_ref r161 + dec_ref arg + if is_error(r162) goto L206 else goto L142 +L142: + r146 = r162 + goto L117 +L143: + r163 = CPy_FetchStopIterationValue() + if is_error(r163) goto L196 (error at coroutine:59) else goto L144 +L144: + r145 = r163 +L145: + r2.__mypyc_next_label__ = -2; r164 = is_error + dec_ref r2 + if not r164 goto L207 (error at coroutine:59) else goto L146 :: bool +L146: + CPyGen_SetStopIterationValue(r145) + dec_ref r145 + if not 0 goto L152 else goto L147 :: bool +L147: + unreachable +L148: + r165 = r3 == 0 + if r165 goto L208 else goto L209 :: bool +L149: + r166 = r3 == 2 + dec_ref r3 :: int + if r166 goto L119 else goto L210 :: bool +L150: + r167 = raise StopIteration + if not r167 goto L152 (error at coroutine:24) else goto L151 :: bool +L151: + unreachable +L152: + r168 = :: object + return r168 +L153: + xdec_ref r1 + goto L152 +L154: + xdec_ref r1 + dec_ref r2 + goto L152 +L155: + xdec_ref r1 + dec_ref r2 + dec_ref r3 :: int + goto L152 +L156: + xdec_ref r1 + dec_ref r2 + dec_ref r4 + goto L4 +L157: + xdec_ref r1 + goto L10 +L158: + xdec_ref r1 + dec_ref r7 + goto L10 +L159: + xdec_ref r1 + dec_ref r7 + dec_ref r8 + goto L10 +L160: + dec_ref r4 + goto L65 +L161: + dec_ref r4 + goto L62 +L162: + dec_ref r4 + goto L60 +L163: + dec_ref r30 + goto L62 +L164: + dec_ref r40 + goto L62 +L165: + dec_ref r42 + goto L62 +L166: + dec_ref r49 + goto L62 +L167: + dec_ref r56 + goto L62 +L168: + dec_ref r64 + goto L62 +L169: + dec_ref r67 + goto L62 +L170: + dec_ref r67 + dec_ref r69 + goto L62 +L171: + dec_ref r73 + goto L62 +L172: + dec_ref r2 + goto L57 +L173: + dec_ref r2 + goto L59 +L174: + dec_ref r2 + goto L61 +L175: + xdec_ref r1 + dec_ref r2 + dec_ref r83 + goto L152 +L176: + xdec_ref r1 + dec_ref r2 + dec_ref r83 + dec_ref r85 + goto L152 +L177: + xdec_ref r1 + dec_ref r2 + dec_ref r92 + goto L152 +L178: + xdec_ref r1 + dec_ref r2 + dec_ref r101 + goto L152 +L179: + xdec_ref r1 + dec_ref r2 + dec_ref r103 + goto L152 +L180: + dec_ref r103 + goto L97 +L181: + xdec_ref r1 + dec_ref r2 + dec_ref r108 + goto L152 +L182: + xdec_ref r1 + dec_ref r2 + dec_ref r109 + goto L152 +L183: + xdec_ref r1 + dec_ref r2 + dec_ref r110 + goto L152 +L184: + xdec_ref r1 + dec_ref r2 + dec_ref r116 + goto L152 +L185: + xdec_ref r1 + dec_ref r2 + dec_ref r116 + dec_ref r118 + goto L152 +L186: + xdec_ref r1 + dec_ref r2 + dec_ref r122 + goto L152 +L187: + xdec_ref r1 + dec_ref r2 + dec_ref r128 + goto L152 +L188: + xdec_ref r1 + dec_ref r2 + dec_ref r128 + dec_ref r129 + goto L152 +L189: + xdec_ref r1 + dec_ref r2 + dec_ref r129 + dec_ref r130 + goto L152 +L190: + xdec_ref r1 + dec_ref r2 + dec_ref r129 + dec_ref r130 + dec_ref r132 + goto L152 +L191: + xdec_ref r1 + dec_ref r2 + dec_ref r130 + dec_ref r132 + dec_ref r133 + goto L152 +L192: + dec_ref r134 + goto L106 +L193: + xdec_ref r1 + dec_ref r2 + dec_ref r132 + dec_ref r133 + dec_ref r135 + goto L152 +L194: + xdec_ref r1 + dec_ref r2 + dec_ref r132 + dec_ref r135 + goto L152 +L195: + xdec_ref r1 + goto L114 +L196: + dec_ref r2 + goto L152 +L197: + dec_ref r146 + goto L123 +L198: + xdec_ref r1 + dec_ref r2 + goto L118 +L199: + xdec_ref r1 + dec_ref r2 + goto L121 +L200: + xdec_ref r1 + goto L137 +L201: + dec_ref r2 + goto L129 +L202: + xdec_ref r1 + dec_ref r146 + goto L137 +L203: + dec_ref r2 + goto L134 +L204: + dec_ref r145 + goto L137 +L205: + xdec_ref r1 + dec_ref r2 + dec_ref arg + goto L152 +L206: + xdec_ref r1 + goto L143 +L207: + dec_ref r145 + goto L152 +L208: + dec_ref r3 :: int + goto L3 +L209: + dec_ref r4 + goto L149 +L210: + xdec_ref r1 + dec_ref r2 + goto L150 + +def coroutine__patch_overloaded_method_gen.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen + r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = coroutine__patch_overloaded_method_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def coroutine__patch_overloaded_method_gen.send(__mypyc_self__, arg): + __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen + arg, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = coroutine__patch_overloaded_method_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def coroutine__patch_overloaded_method_gen.__iter__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def coroutine__patch_overloaded_method_gen.throw(__mypyc_self__, type, value, traceback): + __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen + type, value, traceback, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + if is_error(value) goto L1 else goto L7 +L1: + inc_ref r0 + value = r0 +L2: + if is_error(traceback) goto L3 else goto L8 +L3: + inc_ref r0 + traceback = r0 +L4: + r1 = coroutine__patch_overloaded_method_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0) + dec_ref value + dec_ref traceback + if is_error(r1) goto L6 else goto L5 +L5: + return r1 +L6: + r2 = :: object + return r2 +L7: + inc_ref value + goto L2 +L8: + inc_ref traceback + goto L4 + +def coroutine__patch_overloaded_method_gen.close(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen + r0 :: object + r1 :: str + r2, r3, r4, r5 :: object + r6 :: tuple[object, object, object] + r7 :: object + r8 :: str + r9 :: object + r10 :: tuple[object, object] + r11 :: object + r12 :: bit + r13 :: object + r14 :: bool + r15 :: object +L0: +L1: + r0 = builtins :: module + r1 = 'GeneratorExit' + r2 = CPyObject_GetAttr(r0, r1) + if is_error(r2) goto L3 else goto L2 +L2: + r3 = load_address _Py_NoneStruct + r4 = load_address _Py_NoneStruct + r5 = __mypyc_self__.throw(r2, r3, r4) + if is_error(r5) goto L3 else goto L11 +L3: + r6 = CPy_CatchError() + r7 = builtins :: module + r8 = 'StopIteration' + r9 = CPyObject_GetAttr(r7, r8) + if is_error(r9) goto L12 else goto L4 +L4: + r10 = (r2, r9) + r11 = box(tuple[object, object], r10) + r12 = CPy_ExceptionMatches(r11) + dec_ref r11 + if r12 goto L5 else goto L13 :: bool +L5: + CPy_RestoreExcInfo(r6) + dec_ref r6 + r13 = load_address _Py_NoneStruct + inc_ref r13 + return r13 +L6: + CPy_Reraise() + if not 0 goto L10 else goto L7 :: bool +L7: + unreachable +L8: + r14 = raise RuntimeError('generator ignored GeneratorExit') + if not r14 goto L10 else goto L9 :: bool +L9: + unreachable +L10: + r15 = :: object + return r15 +L11: + dec_ref r2 + dec_ref r5 + goto L8 +L12: + dec_ref r2 + dec_ref r6 + goto L10 +L13: + dec_ref r6 + goto L6 + +def coroutine__patch_overloaded_method_gen.__await__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def coroutine__patch_overloaded_method_obj.__call__(__mypyc_self__, self, args, block_identifier, decimals, override): + __mypyc_self__ :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_obj + self :: object + args :: tuple + block_identifier :: union[int, str, bytes, None] + decimals :: union[int, None] + override :: union[dict, None] + r0 :: dank_mids.brownie_patch.overloaded._patch_overloaded_method_env + r1, r2, r3 :: object + r4 :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_env + r5, r6, r7, r8, r9, r10 :: bool + r11 :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_gen + r12, r13 :: bool + r14 :: object +L0: + r0 = __mypyc_self__.__mypyc_env__ + if is_error(r0) goto L18 (error at coroutine:24) else goto L1 +L1: + if is_error(block_identifier) goto L2 else goto L19 +L2: + r1 = box(None, 1) + inc_ref r1 + block_identifier = r1 +L3: + if is_error(decimals) goto L4 else goto L20 +L4: + r2 = box(None, 1) + inc_ref r2 + decimals = r2 +L5: + if is_error(override) goto L6 else goto L21 +L6: + r3 = box(None, 1) + inc_ref r3 + override = r3 +L7: + r4 = coroutine__patch_overloaded_method_env() + if is_error(r4) goto L22 (error at coroutine:24) else goto L8 +L8: + r4.__mypyc_env__ = r0; r5 = is_error + if not r5 goto L23 (error at coroutine:24) else goto L9 :: bool +L9: + inc_ref self + r4.self = self; r6 = is_error + if not r6 goto L23 (error at coroutine:24) else goto L10 :: bool +L10: + inc_ref args + r4.args = args; r7 = is_error + if not r7 goto L23 (error at coroutine:24) else goto L11 :: bool +L11: + r4.block_identifier = block_identifier; r8 = is_error + if not r8 goto L24 (error at coroutine:24) else goto L12 :: bool +L12: + r4.decimals = decimals; r9 = is_error + if not r9 goto L25 (error at coroutine:24) else goto L13 :: bool +L13: + r4.override = override; r10 = is_error + if not r10 goto L26 (error at coroutine:24) else goto L14 :: bool +L14: + r11 = coroutine__patch_overloaded_method_gen() + if is_error(r11) goto L26 (error at coroutine:24) else goto L15 +L15: + inc_ref r4 + r11.__mypyc_env__ = r4; r12 = is_error + if not r12 goto L27 (error at coroutine:24) else goto L16 :: bool +L16: + r4.__mypyc_next_label__ = 0; r13 = is_error + dec_ref r4 + if not r13 goto L28 (error at coroutine:24) else goto L17 :: bool +L17: + return r11 +L18: + r14 = :: object + return r14 +L19: + inc_ref block_identifier + goto L3 +L20: + inc_ref decimals + goto L5 +L21: + inc_ref override + goto L7 +L22: + dec_ref block_identifier + dec_ref decimals + dec_ref override + dec_ref r0 + goto L18 +L23: + dec_ref block_identifier + dec_ref decimals + dec_ref override + dec_ref r4 + goto L18 +L24: + dec_ref decimals + dec_ref override + dec_ref r4 + goto L18 +L25: + dec_ref override + dec_ref r4 + goto L18 +L26: + dec_ref r4 + goto L18 +L27: + dec_ref r4 + dec_ref r11 + goto L18 +L28: + dec_ref r11 + goto L18 + +def _patch_overloaded_method(call, w3): + call, w3 :: object + r0 :: dank_mids.brownie_patch.overloaded._patch_overloaded_method_env + r1 :: bool + r2 :: dank_mids.brownie_patch.overloaded.coroutine__patch_overloaded_method_obj + r3 :: bool + r4 :: object + r5 :: dict + r6 :: str + r7 :: object + r8 :: object[1] + r9 :: object_ptr + r10 :: object + r11 :: object[1] + r12 :: object_ptr + r13 :: object + r14 :: dict + r15 :: str + r16 :: i32 + r17 :: bit + r18 :: object + r19 :: str + r20 :: object + r21 :: str + r22 :: object + r23 :: str + r24 :: object[1] + r25 :: object_ptr + r26, r27, r28 :: object + r29 :: dict + r30 :: str + r31 :: object + r32 :: dict + r33 :: str + r34 :: object + r35 :: tuple[object, object] + r36 :: object + r37 :: i32 + r38 :: bit + r39 :: bool + r40 :: str + r41 :: object + r42 :: dict + r43 :: str + r44 :: object + r45 :: set + r46 :: i32 + r47 :: bit + r48 :: bool + r49 :: str + r50 :: object + r51 :: i32 + r52 :: bit + r53 :: str + r54 :: object + r55 :: str + r56 :: object + r57 :: int + r58 :: dict + r59 :: str + r60, r61 :: object + r62 :: object[2] + r63 :: object_ptr + r64 :: object + r65 :: dict + r66 :: str + r67 :: object + r68 :: object[2] + r69 :: object_ptr + r70 :: object + r71 :: str + r72 :: i32 + r73, r74 :: bit + r75 :: object + r76 :: dict + r77 :: str + r78 :: object + r79 :: object[2] + r80 :: object_ptr + r81, r82 :: object + r83 :: str + r84 :: i32 + r85 :: bit + r86 :: None +L0: + r0 = _patch_overloaded_method_env() + if is_error(r0) goto L39 (error at _patch_overloaded_method:12) else goto L1 +L1: + inc_ref call + r0.call = call; r1 = is_error + if not r1 goto L40 (error at _patch_overloaded_method:12) else goto L2 :: bool +L2: + r2 = coroutine__patch_overloaded_method_obj() + if is_error(r2) goto L40 (error at _patch_overloaded_method:24) else goto L3 +L3: + inc_ref r0 + r2.__mypyc_env__ = r0; r3 = is_error + if not r3 goto L41 (error at _patch_overloaded_method:24) else goto L4 :: bool +L4: + r4 = r0.call + if is_error(r4) goto L41 (error at _patch_overloaded_method:23) else goto L5 +L5: + r5 = dank_mids.brownie_patch.overloaded.globals :: static + r6 = 'wraps' + r7 = CPyDict_GetItem(r5, r6) + if is_error(r7) goto L42 (error at _patch_overloaded_method:23) else goto L6 +L6: + r8 = [r4] + r9 = load_address r8 + r10 = _PyObject_Vectorcall(r7, r9, 1, 0) + dec_ref r7 + if is_error(r10) goto L42 (error at _patch_overloaded_method:23) else goto L7 +L7: + dec_ref r4 + r11 = [r2] + r12 = load_address r11 + r13 = _PyObject_Vectorcall(r10, r12, 1, 0) + dec_ref r10 + if is_error(r13) goto L41 (error at _patch_overloaded_method:24) else goto L8 +L8: + dec_ref r2 + inc_ref r13 + r14 = dank_mids.brownie_patch.overloaded.globals :: static + r15 = 'coroutine' + r16 = CPyDict_SetItem(r14, r15, r13) + dec_ref r13 + r17 = r16 >= 0 :: signed + if not r17 goto L43 (error at _patch_overloaded_method:24) else goto L9 :: bool +L9: + r18 = r0.call + if is_error(r18) goto L43 (error at _patch_overloaded_method:61) else goto L10 +L10: + r19 = '__dict__' + r20 = CPyObject_GetAttr(r18, r19) + dec_ref r18 + if is_error(r20) goto L43 (error at _patch_overloaded_method:61) else goto L11 +L11: + r21 = 'methods' + r22 = PyObject_GetItem(r20, r21) + dec_ref r20 + if is_error(r22) goto L43 (error at _patch_overloaded_method:61) else goto L12 +L12: + r23 = 'values' + r24 = [r22] + r25 = load_address r24 + r26 = PyObject_VectorcallMethod(r23, r25, 9223372036854775809, 0) + if is_error(r26) goto L44 (error at _patch_overloaded_method:61) else goto L13 +L13: + dec_ref r22 + r27 = PyObject_GetIter(r26) + dec_ref r26 + if is_error(r27) goto L43 (error at _patch_overloaded_method:61) else goto L14 +L14: + r28 = PyIter_Next(r27) + if is_error(r28) goto L45 else goto L15 +L15: + r29 = dank_mids.brownie_patch.overloaded.globals :: static + r30 = 'ContractCall' + r31 = CPyDict_GetItem(r29, r30) + if is_error(r31) goto L46 (error at _patch_overloaded_method:62) else goto L16 +L16: + r32 = dank_mids.brownie_patch.overloaded.globals :: static + r33 = 'ContractTx' + r34 = CPyDict_GetItem(r32, r33) + if is_error(r34) goto L47 (error at _patch_overloaded_method:62) else goto L17 +L17: + r35 = (r31, r34) + r36 = box(tuple[object, object], r35) + r37 = PyObject_IsInstance(r28, r36) + dec_ref r36 + r38 = r37 >= 0 :: signed + if not r38 goto L46 (error at _patch_overloaded_method:62) else goto L18 :: bool +L18: + r39 = truncate r37: i32 to builtins.bool + if r39 goto L19 else goto L48 :: bool +L19: + r40 = '_address' + r41 = CPyObject_GetAttr(r28, r40) + if is_error(r41) goto L46 (error at _patch_overloaded_method:63) else goto L20 +L20: + r42 = dank_mids.brownie_patch.overloaded.globals :: static + r43 = '_skip_proc_pool' + r44 = CPyDict_GetItem(r42, r43) + if is_error(r44) goto L49 (error at _patch_overloaded_method:63) else goto L21 +L21: + r45 = cast(set, r44) + if is_error(r45) goto L49 (error at _patch_overloaded_method:63) else goto L22 +L22: + r46 = PySet_Contains(r45, r41) + dec_ref r45 + dec_ref r41 + r47 = r46 >= 0 :: signed + if not r47 goto L46 (error at _patch_overloaded_method:63) else goto L23 :: bool +L23: + r48 = truncate r46: i32 to builtins.bool + r49 = '_skip_decoder_proc_pool' + r50 = box(bool, r48) + r51 = PyObject_SetAttr(r28, r49, r50) + r52 = r51 >= 0 :: signed + if not r52 goto L46 (error at _patch_overloaded_method:63) else goto L24 :: bool +L24: + r53 = 'abi' + r54 = CPyObject_GetAttr(r28, r53) + if is_error(r54) goto L46 (error at _patch_overloaded_method:64) else goto L25 +L25: + r55 = 'inputs' + r56 = PyObject_GetItem(r54, r55) + dec_ref r54 + if is_error(r56) goto L46 (error at _patch_overloaded_method:64) else goto L26 +L26: + r57 = CPyObject_Size(r56) + dec_ref r56 + if is_error(r57) goto L46 (error at _patch_overloaded_method:64) else goto L27 +L27: + r58 = dank_mids.brownie_patch.overloaded.globals :: static + r59 = '_get_coroutine_fn' + r60 = CPyDict_GetItem(r58, r59) + if is_error(r60) goto L50 (error at _patch_overloaded_method:64) else goto L28 +L28: + r61 = box(int, r57) + r62 = [w3, r61] + r63 = load_address r62 + r64 = _PyObject_Vectorcall(r60, r63, 2, 0) + dec_ref r60 + if is_error(r64) goto L51 (error at _patch_overloaded_method:64) else goto L29 +L29: + dec_ref r61 + r65 = dank_mids.brownie_patch.overloaded.globals :: static + r66 = 'MethodType' + r67 = CPyDict_GetItem(r65, r66) + if is_error(r67) goto L52 (error at _patch_overloaded_method:64) else goto L30 +L30: + r68 = [r64, r28] + r69 = load_address r68 + r70 = _PyObject_Vectorcall(r67, r69, 2, 0) + dec_ref r67 + if is_error(r70) goto L52 (error at _patch_overloaded_method:64) else goto L31 +L31: + dec_ref r64 + r71 = 'coroutine' + r72 = PyObject_SetAttr(r28, r71, r70) + dec_ref r28 + dec_ref r70 + r73 = r72 >= 0 :: signed + if not r73 goto L53 (error at _patch_overloaded_method:64) else goto L14 :: bool +L32: + r74 = CPy_NoErrOccurred() + if not r74 goto L43 (error at _patch_overloaded_method:61) else goto L33 :: bool +L33: + r75 = r0.call + if is_error(r75) goto L43 (error at _patch_overloaded_method:69) else goto L34 +L34: + r76 = dank_mids.brownie_patch.overloaded.globals :: static + r77 = 'MethodType' + r78 = CPyDict_GetItem(r76, r77) + if is_error(r78) goto L54 (error at _patch_overloaded_method:69) else goto L35 +L35: + r79 = [r13, r75] + r80 = load_address r79 + r81 = _PyObject_Vectorcall(r78, r80, 2, 0) + dec_ref r78 + if is_error(r81) goto L54 (error at _patch_overloaded_method:69) else goto L36 +L36: + dec_ref r13 + dec_ref r75 + r82 = r0.call + dec_ref r0 + if is_error(r82) goto L55 (error at _patch_overloaded_method:69) else goto L37 +L37: + r83 = 'coroutine' + r84 = PyObject_SetAttr(r82, r83, r81) + dec_ref r82 + dec_ref r81 + r85 = r84 >= 0 :: signed + if not r85 goto L39 (error at _patch_overloaded_method:69) else goto L38 :: bool +L38: + return 1 +L39: + r86 = :: None + return r86 +L40: + dec_ref r0 + goto L39 +L41: + dec_ref r0 + dec_ref r2 + goto L39 +L42: + dec_ref r0 + dec_ref r2 + dec_ref r4 + goto L39 +L43: + dec_ref r0 + dec_ref r13 + goto L39 +L44: + dec_ref r0 + dec_ref r13 + dec_ref r22 + goto L39 +L45: + dec_ref r27 + goto L32 +L46: + dec_ref r0 + dec_ref r13 + dec_ref r27 + dec_ref r28 + goto L39 +L47: + dec_ref r0 + dec_ref r13 + dec_ref r27 + dec_ref r28 + dec_ref r31 + goto L39 +L48: + dec_ref r28 + goto L14 +L49: + dec_ref r0 + dec_ref r13 + dec_ref r27 + dec_ref r28 + dec_ref r41 + goto L39 +L50: + dec_ref r0 + dec_ref r13 + dec_ref r27 + dec_ref r28 + dec_ref r57 :: int + goto L39 +L51: + dec_ref r0 + dec_ref r13 + dec_ref r27 + dec_ref r28 + dec_ref r61 + goto L39 +L52: + dec_ref r0 + dec_ref r13 + dec_ref r27 + dec_ref r28 + dec_ref r64 + goto L39 +L53: + dec_ref r0 + dec_ref r13 + dec_ref r27 + goto L39 +L54: + dec_ref r0 + dec_ref r13 + dec_ref r75 + goto L39 +L55: + dec_ref r81 + goto L39 + +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str + r4, r5 :: object + r6 :: str + r7 :: dict + r8, r9 :: object + r10 :: str + r11 :: dict + r12, r13 :: object + r14 :: str + r15 :: dict + r16, r17 :: object + r18 :: str + r19 :: dict + r20, r21 :: object + r22 :: str + r23 :: dict + r24, r25 :: object + r26 :: str + r27 :: dict + r28, r29 :: object + r30 :: str + r31 :: dict + r32, r33 :: object + r34 :: str + r35 :: dict + r36 :: object + r37 :: None +L0: + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool +L1: + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L12 (error at :-1) else goto L2 +L2: + builtins = r4 :: module + dec_ref r4 +L3: + r5 = ('wraps',) + r6 = 'functools' + r7 = dank_mids.brownie_patch.overloaded.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L12 (error at :1) else goto L4 +L4: + functools = r8 :: module + dec_ref r8 + r9 = ('MethodType',) + r10 = 'types' + r11 = dank_mids.brownie_patch.overloaded.globals :: static + r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) + if is_error(r12) goto L12 (error at :2) else goto L5 +L5: + types = r12 :: module + dec_ref r12 + r13 = ('Any', 'Dict', 'Optional', 'Union') + r14 = 'typing' + r15 = dank_mids.brownie_patch.overloaded.globals :: static + r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) + if is_error(r16) goto L12 (error at :3) else goto L6 +L6: + typing = r16 :: module + dec_ref r16 + r17 = ('Contract',) + r18 = 'brownie' + r19 = dank_mids.brownie_patch.overloaded.globals :: static + r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) + if is_error(r20) goto L12 (error at :5) else goto L7 +L7: + brownie = r20 :: module + dec_ref r20 + r21 = ('ContractCall', 'ContractTx', 'OverloadedMethod') + r22 = 'brownie.network.contract' + r23 = dank_mids.brownie_patch.overloaded.globals :: static + r24 = CPyImport_ImportFromMany(r22, r21, r21, r23) + if is_error(r24) goto L12 (error at :6) else goto L8 +L8: + brownie.network.contract = r24 :: module + dec_ref r24 + r25 = ('_get_coroutine_fn', '_skip_proc_pool') + r26 = 'dank_mids.brownie_patch.call' + r27 = dank_mids.brownie_patch.overloaded.globals :: static + r28 = CPyImport_ImportFromMany(r26, r25, r25, r27) + if is_error(r28) goto L12 (error at :7) else goto L9 +L9: + dank_mids.brownie_patch.call = r28 :: module + dec_ref r28 + r29 = ('ContractMethod',) + r30 = 'dank_mids.brownie_patch.types' + r31 = dank_mids.brownie_patch.overloaded.globals :: static + r32 = CPyImport_ImportFromMany(r30, r29, r29, r31) + if is_error(r32) goto L12 (error at :8) else goto L10 +L10: + dank_mids.brownie_patch.types = r32 :: module + dec_ref r32 + r33 = ('DankWeb3',) + r34 = 'dank_mids.helpers._helpers' + r35 = dank_mids.brownie_patch.overloaded.globals :: static + r36 = CPyImport_ImportFromMany(r34, r33, r33, r35) + if is_error(r36) goto L12 (error at :9) else goto L11 +L11: + dank_mids.helpers._helpers = r36 :: module + dec_ref r36 + return 1 +L12: + r37 = :: None + return r37 + +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str + r4, r5 :: object + r6 :: str + r7 :: dict + r8, r9 :: object + r10 :: str + r11 :: dict + r12, r13 :: object + r14 :: str + r15 :: dict + r16, r17 :: object + r18 :: str + r19 :: dict + r20 :: object + r21, r22, r23, r24 :: str + r25 :: list + r26, r27, r28, r29, r30 :: ptr + r31 :: dict + r32 :: str + r33 :: i32 + r34 :: bit + r35 :: object + r36 :: str + r37 :: dict + r38, r39 :: object + r40 :: str + r41 :: dict + r42 :: object + r43 :: dict + r44 :: str + r45 :: dict + r46 :: str + r47 :: object + r48 :: str + r49 :: object + r50 :: dict + r51 :: str + r52 :: object + r53 :: object[1] + r54 :: object_ptr + r55, r56 :: object + r57 :: str + r58 :: object + r59 :: str + r60 :: object + r61 :: object[1] + r62 :: object_ptr + r63 :: object + r64 :: bool + r65 :: object + r66 :: str + r67 :: dict + r68 :: object + r69 :: dict + r70 :: str + r71 :: object + r72 :: str + r73 :: object[1] + r74 :: object_ptr + r75 :: object + r76 :: i32 + r77 :: bit + r78 :: bool + r79 :: object + r80 :: str + r81 :: dict + r82 :: object + r83 :: dict + r84 :: str + r85 :: object + r86 :: dict + r87 :: str + r88 :: object + r89 :: object[1] + r90 :: object_ptr + r91 :: object + r92 :: dict + r93 :: str + r94 :: i32 + r95 :: bit + r96 :: dict + r97 :: str + r98 :: object + r99 :: str + r100 :: object + r101 :: dict + r102 :: str + r103 :: i32 + r104 :: bit + r105 :: dict + r106 :: str + r107 :: object + r108, r109, r110, r111 :: str + r112 :: list + r113, r114, r115, r116, r117 :: ptr + r118 :: object + r119 :: i32 + r120 :: bit + r121, r122 :: tuple[object, object, object] + r123, r124, r125 :: object + r126 :: object[4] + r127 :: object_ptr + r128 :: object + r129 :: i32 + r130 :: bit + r131 :: bool + r132 :: bit + r133, r134, r135 :: tuple[object, object, object] + r136 :: object + r137 :: object[4] + r138 :: object_ptr + r139 :: object + r140 :: bit + r141 :: None +L0: + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool +L1: + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L56 (error at :-1) else goto L2 +L2: + builtins = r4 :: module + dec_ref r4 +L3: + r5 = ('suppress',) + r6 = 'contextlib' + r7 = dank_mids.brownie_patch.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L56 (error at :1) else goto L4 +L4: + contextlib = r8 :: module + dec_ref r8 + r9 = ('AsyncEth',) + r10 = 'web3.eth' + r11 = dank_mids.brownie_patch.globals :: static + r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) + if is_error(r12) goto L56 (error at :3) else goto L5 +L5: + web3.eth = r12 :: module + dec_ref r12 + r13 = ('setup_dank_w3_from_sync',) + r14 = 'dank_mids.helpers' + r15 = dank_mids.brownie_patch.globals :: static + r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) + if is_error(r16) goto L56 (error at :5) else goto L6 +L6: + dank_mids.helpers = r16 :: module + dec_ref r16 + r17 = ('DankContractCall', 'DankContractMethod', 'DankContractTx', 'DankOverloadedMethod') + r18 = 'dank_mids.brownie_patch.types' + r19 = dank_mids.brownie_patch.globals :: static + r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) + if is_error(r20) goto L56 (error at :6) else goto L7 +L7: + dank_mids.brownie_patch.types = r20 :: module + dec_ref r20 + r21 = 'DankContractCall' + r22 = 'DankContractMethod' + r23 = 'DankContractTx' + r24 = 'DankOverloadedMethod' + r25 = PyList_New(4) + if is_error(r25) goto L56 (error at :13) else goto L8 +L8: + r26 = get_element_ptr r25 ob_item :: PyListObject + r27 = load_mem r26 :: ptr* + inc_ref r21 + set_mem r27, r21 :: builtins.object* + inc_ref r22 + r28 = r27 + 8 + set_mem r28, r22 :: builtins.object* + inc_ref r23 + r29 = r27 + 16 + set_mem r29, r23 :: builtins.object* + inc_ref r24 + r30 = r27 + 24 + set_mem r30, r24 :: builtins.object* + r31 = dank_mids.brownie_patch.globals :: static + r32 = '__all__' + r33 = CPyDict_SetItem(r31, r32, r25) + dec_ref r25 + r34 = r33 >= 0 :: signed + if not r34 goto L56 (error at :13) else goto L9 :: bool +L9: + r35 = ('DankEth',) + r36 = 'dank_mids.eth' + r37 = dank_mids.brownie_patch.globals :: static + r38 = CPyImport_ImportFromMany(r36, r35, r35, r37) + if is_error(r38) goto L56 (error at :15) else goto L10 +L10: + dank_mids.eth = r38 :: module + dec_ref r38 + r39 = ('DankWeb3',) + r40 = 'dank_mids.helpers._helpers' + r41 = dank_mids.brownie_patch.globals :: static + r42 = CPyImport_ImportFromMany(r40, r39, r39, r41) + if is_error(r42) goto L56 (error at :16) else goto L11 +L11: + dank_mids.helpers._helpers = r42 :: module + dec_ref r42 + r43 = dank_mids.brownie_patch.globals :: static + r44 = 'dank_web3' + r45 = dank_mids.brownie_patch.globals :: static + r46 = 'dank_eth' + r47 = builtins :: module + r48 = 'ImportError' + r49 = CPyObject_GetAttr(r47, r48) + if is_error(r49) goto L56 (error at :33) else goto L12 +L12: + r50 = dank_mids.brownie_patch.globals :: static + r51 = 'suppress' + r52 = CPyDict_GetItem(r50, r51) + if is_error(r52) goto L57 (error at :33) else goto L13 +L13: + r53 = [r49] + r54 = load_address r53 + r55 = _PyObject_Vectorcall(r52, r54, 1, 0) + dec_ref r52 + if is_error(r55) goto L57 (error at :33) else goto L14 +L14: + dec_ref r49 + r56 = PyObject_Type(r55) + r57 = '__exit__' + r58 = CPyObject_GetAttr(r56, r57) + if is_error(r58) goto L58 (error at :33) else goto L15 +L15: + r59 = '__enter__' + r60 = CPyObject_GetAttr(r56, r59) + dec_ref r56 + if is_error(r60) goto L59 (error at :33) else goto L16 +L16: + r61 = [r55] + r62 = load_address r61 + r63 = _PyObject_Vectorcall(r60, r62, 1, 0) + dec_ref r60 + if is_error(r63) goto L59 (error at :33) else goto L60 +L17: + r64 = 1 +L18: + r65 = ('network', 'web3') + r66 = 'brownie' + r67 = dank_mids.brownie_patch.globals :: static + r68 = CPyImport_ImportFromMany(r66, r65, r65, r67) + if is_error(r68) goto L35 (error at :34) else goto L19 +L19: + brownie = r68 :: module + dec_ref r68 + r69 = dank_mids.brownie_patch.globals :: static + r70 = 'network' + r71 = CPyDict_GetItem(r69, r70) + if is_error(r71) goto L35 (error at :36) else goto L20 +L20: + r72 = 'is_connected' + r73 = [r71] + r74 = load_address r73 + r75 = PyObject_VectorcallMethod(r72, r74, 9223372036854775809, 0) + if is_error(r75) goto L61 (error at :36) else goto L21 +L21: + dec_ref r71 + r76 = PyObject_IsTrue(r75) + dec_ref r75 + r77 = r76 >= 0 :: signed + if not r77 goto L35 (error at :36) else goto L22 :: bool +L22: + r78 = truncate r76: i32 to builtins.bool + if r78 goto L23 else goto L43 :: bool +L23: + r79 = ('Contract', 'patch_contract') + r80 = 'dank_mids.brownie_patch.contract' + r81 = dank_mids.brownie_patch.globals :: static + r82 = CPyImport_ImportFromMany(r80, r79, r79, r81) + if is_error(r82) goto L35 (error at :37) else goto L24 +L24: + dank_mids.brownie_patch.contract = r82 :: module + dec_ref r82 + r83 = dank_mids.brownie_patch.globals :: static + r84 = 'web3' + r85 = CPyDict_GetItem(r83, r84) + if is_error(r85) goto L35 (error at :39) else goto L25 +L25: + r86 = dank_mids.brownie_patch.globals :: static + r87 = 'setup_dank_w3_from_sync' + r88 = CPyDict_GetItem(r86, r87) + if is_error(r88) goto L62 (error at :39) else goto L26 +L26: + r89 = [r85] + r90 = load_address r89 + r91 = _PyObject_Vectorcall(r88, r90, 1, 0) + dec_ref r88 + if is_error(r91) goto L62 (error at :39) else goto L27 +L27: + dec_ref r85 + r92 = dank_mids.brownie_patch.globals :: static + r93 = 'dank_web3' + r94 = CPyDict_SetItem(r92, r93, r91) + dec_ref r91 + r95 = r94 >= 0 :: signed + if not r95 goto L35 (error at :39) else goto L28 :: bool +L28: + r96 = dank_mids.brownie_patch.globals :: static + r97 = 'dank_web3' + r98 = CPyDict_GetItem(r96, r97) + if is_error(r98) goto L35 (error at :40) else goto L29 +L29: + r99 = 'eth' + r100 = CPyObject_GetAttr(r98, r99) + dec_ref r98 + if is_error(r100) goto L35 (error at :40) else goto L30 +L30: + r101 = dank_mids.brownie_patch.globals :: static + r102 = 'dank_eth' + r103 = CPyDict_SetItem(r101, r102, r100) + dec_ref r100 + r104 = r103 >= 0 :: signed + if not r104 goto L35 (error at :40) else goto L31 :: bool +L31: + r105 = dank_mids.brownie_patch.globals :: static + r106 = '__all__' + r107 = CPyDict_GetItem(r105, r106) + if is_error(r107) goto L35 (error at :41) else goto L32 +L32: + r108 = 'Contract' + r109 = 'patch_contract' + r110 = 'dank_web3' + r111 = 'dank_eth' + r112 = PyList_New(4) + if is_error(r112) goto L63 (error at :41) else goto L33 +L33: + r113 = get_element_ptr r112 ob_item :: PyListObject + r114 = load_mem r113 :: ptr* + inc_ref r108 + set_mem r114, r108 :: builtins.object* + inc_ref r109 + r115 = r114 + 8 + set_mem r115, r109 :: builtins.object* + inc_ref r110 + r116 = r114 + 16 + set_mem r116, r110 :: builtins.object* + inc_ref r111 + r117 = r114 + 24 + set_mem r117, r111 :: builtins.object* + r118 = PyNumber_InPlaceAdd(r107, r112) + dec_ref r107 + dec_ref r112 + if is_error(r118) goto L35 (error at :41) else goto L34 +L34: + r119 = CPyDict_SetItem(r105, r106, r118) + dec_ref r118 + r120 = r119 >= 0 :: signed + if not r120 goto L35 (error at :41) else goto L43 :: bool +L35: + r121 = CPy_CatchError() + r64 = 0 + r122 = CPy_GetExcInfo() + r123 = r122[0] + r124 = r122[1] + r125 = r122[2] + dec_ref r122 + r126 = [r55, r123, r124, r125] + r127 = load_address r126 + r128 = _PyObject_Vectorcall(r58, r127, 4, 0) + if is_error(r128) goto L64 (error at :33) else goto L36 +L36: + dec_ref r123 + dec_ref r124 + dec_ref r125 + r129 = PyObject_IsTrue(r128) + dec_ref r128 + r130 = r129 >= 0 :: signed + if not r130 goto L41 (error at :33) else goto L37 :: bool +L37: + r131 = truncate r129: i32 to builtins.bool + if r131 goto L40 else goto L38 :: bool +L38: + CPy_Reraise() + if not 0 goto L41 else goto L65 :: bool +L39: + unreachable +L40: + CPy_RestoreExcInfo(r121) + dec_ref r121 + goto L43 +L41: + CPy_RestoreExcInfo(r121) + dec_ref r121 + r132 = CPy_KeepPropagating() + if not r132 goto L44 else goto L66 :: bool +L42: + unreachable +L43: + r133 = :: tuple[object, object, object] + r134 = r133 + goto L45 +L44: + r135 = CPy_CatchError() + r134 = r135 +L45: + if r64 goto L46 else goto L67 :: bool +L46: + r136 = load_address _Py_NoneStruct + r137 = [r55, r136, r136, r136] + r138 = load_address r137 + r139 = _PyObject_Vectorcall(r58, r138, 4, 0) + dec_ref r58 + if is_error(r139) goto L68 (error at :33) else goto L69 +L47: + dec_ref r55 +L48: + if is_error(r134) goto L55 else goto L49 +L49: + CPy_Reraise() + if not 0 goto L51 else goto L70 :: bool +L50: + unreachable +L51: + if is_error(r134) goto L53 else goto L52 +L52: + CPy_RestoreExcInfo(r134) + xdec_ref r134 +L53: + r140 = CPy_KeepPropagating() + if not r140 goto L56 else goto L54 :: bool +L54: + unreachable +L55: + return 1 +L56: + r141 = :: None + return r141 +L57: + dec_ref r49 + goto L56 +L58: + dec_ref r55 + dec_ref r56 + goto L56 +L59: + dec_ref r55 + dec_ref r58 + goto L56 +L60: + dec_ref r63 + goto L17 +L61: + dec_ref r71 + goto L35 +L62: + dec_ref r85 + goto L35 +L63: + dec_ref r107 + goto L35 +L64: + dec_ref r123 + dec_ref r124 + dec_ref r125 + goto L41 +L65: + dec_ref r55 + dec_ref r58 + dec_ref r121 + goto L39 +L66: + dec_ref r55 + dec_ref r58 + goto L42 +L67: + dec_ref r55 + dec_ref r58 + goto L48 +L68: + dec_ref r55 + goto L51 +L69: + dec_ref r139 + goto L47 +L70: + xdec_ref r134 + goto L50 + +def gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg): + __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen + type, value, traceback, arg, r0, r1, r2, r3, r4, r5, r6, r7 :: object + r8 :: dank_mids.helpers._gather.gatherish_env + r9 :: int + r10 :: object + r11 :: bit + r12 :: object + r13 :: bool + r14 :: object + r15 :: bool + r16 :: list + r17 :: bool + r18, r19 :: object + r20, r21 :: bool + r22, r23 :: object + r24 :: bool + r25, r26 :: object + r27 :: union[str, None] + r28 :: object + r29 :: bool + r30 :: object[3] + r31 :: object_ptr + r32, r33 :: object + r34 :: list + r35 :: i32 + r36, r37 :: bit + r38 :: list + r39 :: object + r40 :: bool + r41 :: object + r42 :: bool + r43, r44 :: object + r45 :: bool + r46, r47, r48, r49, r50 :: object + r51 :: bool + r52 :: object + r53 :: bit + r54 :: tuple[object, object, object] + r55 :: bool + r56 :: object_ptr + r57 :: object + r58, r59 :: bool + r60 :: tuple[object, object, object] + r61 :: bool + r62, r63 :: tuple[object, object, object] + r64 :: bit + r65, r66, r67, r68 :: object + r69 :: bool + r70, r71 :: object + r72 :: bool + r73, r74, r75, r76, r77 :: object + r78 :: bool + r79 :: object + r80 :: bit + r81 :: tuple[object, object, object] + r82 :: bool + r83 :: object_ptr + r84 :: object + r85, r86 :: bool + r87 :: tuple[object, object, object] + r88 :: bool + r89, r90 :: tuple[object, object, object] + r91 :: bit + r92, r93, r94, r95, r96 :: object + r97, r98 :: bool + r99, r100 :: object + r101 :: bool + r102, r103 :: object + r104 :: bool + r105, r106, r107, r108, r109 :: object + r110 :: bool + r111 :: object + r112 :: bit + r113 :: tuple[object, object, object] + r114 :: bool + r115 :: object_ptr + r116 :: object + r117, r118 :: bool + r119 :: tuple[object, object, object] + r120 :: bool + r121, r122 :: tuple[object, object, object] + r123 :: bit + r124, r125, r126 :: object + r127 :: tuple[object, object, object] + r128 :: bool + r129 :: object + r130 :: str + r131 :: object + r132 :: bit + r133, r134 :: object + r135, r136 :: bool + r137, r138 :: object + r139 :: bool + r140, r141 :: object + r142 :: bool + r143, r144, r145, r146, r147 :: object + r148 :: bool + r149 :: object + r150 :: bit + r151 :: tuple[object, object, object] + r152 :: bool + r153 :: object_ptr + r154 :: object + r155, r156 :: bool + r157 :: tuple[object, object, object] + r158 :: bool + r159, r160 :: tuple[object, object, object] + r161 :: bit + r162, r163, r164 :: object + r165 :: tuple[object, object, object] + r166 :: bool + r167 :: object + r168 :: str + r169 :: object + r170 :: bit + r171, r172 :: tuple[object, object, object] + r173, r174 :: bit + r175 :: tuple[object, object, object] + r176, r177 :: bit + r178 :: object + r179 :: bool + r180, r181, r182, r183, r184 :: bit + r185 :: bool + r186 :: object +L0: + r0 = :: object + r1 = r0 + r2 = :: object + r3 = r2 + r4 = :: object + r5 = r4 + r6 = :: object + r7 = r6 + r8 = __mypyc_self__.__mypyc_env__ + if is_error(r8) goto L229 (error at gatherish:34) else goto L1 +L1: + r9 = r8.__mypyc_next_label__ + if is_error(r9) goto L230 (error at gatherish:34) else goto L221 +L2: + r10 = load_address _Py_NoneStruct + r11 = type != r10 + if r11 goto L231 else goto L5 :: bool +L3: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L228 (error at gatherish:34) else goto L4 :: bool +L4: + unreachable +L5: + r12 = dank_mids.helpers._gather.get_running_loop :: static + if is_error(r12) goto L232 else goto L8 +L6: + r13 = raise NameError('value for final name "get_running_loop" was not set') + if not r13 goto L228 (error at gatherish:42) else goto L7 :: bool +L7: + unreachable +L8: + r14 = _PyObject_Vectorcall(r12, 0, 0, 0) + if is_error(r14) goto L230 (error at gatherish:42) else goto L9 +L9: + r8.loop = r14; r15 = is_error + if not r15 goto L230 (error at gatherish:42) else goto L10 :: bool +L10: + r16 = PyList_New(0) + if is_error(r16) goto L230 (error at gatherish:45) else goto L11 +L11: + r8.__mypyc_temp__0 = r16; r17 = is_error + if not r17 goto L230 (error at gatherish:-1) else goto L12 :: bool +L12: + r18 = r8.coros + if is_error(r18) goto L230 (error at gatherish:45) else goto L13 +L13: + r19 = PyObject_GetIter(r18) + if is_error(r19) goto L233 (error at gatherish:45) else goto L14 +L14: + r8.__mypyc_temp__1 = r18; r20 = is_error + if not r20 goto L234 (error at gatherish:-1) else goto L15 :: bool +L15: + r8.__mypyc_temp__2 = r19; r21 = is_error + if not r21 goto L230 (error at gatherish:-1) else goto L16 :: bool +L16: + r22 = r8.__mypyc_temp__2 + if is_error(r22) goto L230 (error at gatherish:45) else goto L17 +L17: + r23 = PyIter_Next(r22) + dec_ref r22 + if is_error(r23) goto L28 else goto L18 +L18: + r8.coro = r23; r24 = is_error + if not r24 goto L230 (error at gatherish:45) else goto L19 :: bool +L19: + r25 = r8.coro + if is_error(r25) goto L230 (error at gatherish:45) else goto L20 +L20: + r26 = r8.loop + if is_error(r26) goto L235 (error at gatherish:45) else goto L21 +L21: + r27 = r8.name + if is_error(r27) goto L236 (error at gatherish:45) else goto L22 +L22: + r28 = dank_mids.helpers._gather.Task :: static + if is_error(r28) goto L237 else goto L25 +L23: + r29 = raise NameError('value for final name "Task" was not set') + if not r29 goto L228 (error at gatherish:45) else goto L24 :: bool +L24: + unreachable +L25: + r30 = [r25, r26, r27] + r31 = load_address r30 + r32 = ('loop', 'name') + r33 = _PyObject_Vectorcall(r28, r31, 1, r32) + if is_error(r33) goto L238 (error at gatherish:45) else goto L26 +L26: + dec_ref r25 + dec_ref r26 + dec_ref r27 + r34 = r8.__mypyc_temp__0 + if is_error(r34) goto L239 (error at gatherish:-1) else goto L27 +L27: + r35 = PyList_Append(r34, r33) + dec_ref r34 + dec_ref r33 + r36 = r35 >= 0 :: signed + if not r36 goto L230 (error at gatherish:45) else goto L16 :: bool +L28: + r37 = CPy_NoErrOccurred() + if not r37 goto L230 (error at gatherish:45) else goto L29 :: bool +L29: + r38 = r8.__mypyc_temp__0 + if is_error(r38) goto L230 (error at gatherish:-1) else goto L30 +L30: + r39 = PyObject_GetIter(r38) + dec_ref r38 + if is_error(r39) goto L230 (error at gatherish:45) else goto L31 +L31: + r8.tasks = r39; r40 = is_error + if not r40 goto L230 (error at gatherish:45) else goto L32 :: bool +L32: + r41 = dank_mids.helpers._gather.yield_to_loop :: static + if is_error(r41) goto L240 else goto L35 +L33: + r42 = raise NameError('value for final name "yield_to_loop" was not set') + if not r42 goto L228 (error at gatherish:50) else goto L34 :: bool +L34: + unreachable +L35: + r43 = _PyObject_Vectorcall(r41, 0, 0, 0) + if is_error(r43) goto L230 (error at gatherish:50) else goto L36 +L36: + r44 = CPy_GetCoro(r43) + dec_ref r43 + if is_error(r44) goto L230 (error at gatherish:50) else goto L37 +L37: + r8.__mypyc_temp__3 = r44; r45 = is_error + if not r45 goto L230 (error at gatherish:-1) else goto L38 :: bool +L38: + r46 = r8.__mypyc_temp__3 + if is_error(r46) goto L230 (error at gatherish:-1) else goto L39 +L39: + r47 = CPyIter_Next(r46) + dec_ref r46 + if is_error(r47) goto L241 else goto L42 +L40: + r48 = CPy_FetchStopIterationValue() + if is_error(r48) goto L242 (error at gatherish:50) else goto L41 +L41: + r49 = r48 + dec_ref r49 + goto L71 +L42: + r50 = r47 +L43: + r8.__mypyc_next_label__ = 2; r51 = is_error + if not r51 goto L243 (error at gatherish:50) else goto L244 :: bool +L44: + return r50 +L45: + r52 = load_address _Py_NoneStruct + r53 = type != r52 + if r53 goto L46 else goto L48 :: bool +L46: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L49 (error at gatherish:50) else goto L245 :: bool +L47: + unreachable +L48: + inc_ref arg + goto L66 +L49: + r54 = CPy_CatchError() + r8.__mypyc_temp__4 = r54; r55 = is_error + if not r55 goto L246 (error at gatherish:-1) else goto L50 :: bool +L50: + r56 = load_address r1 + r57 = r8.__mypyc_temp__3 + if is_error(r57) goto L246 (error at gatherish:-1) else goto L51 +L51: + r58 = CPy_YieldFromErrorHandle(r57, r56) + dec_ref r57 + if is_error(r58) goto L246 (error at gatherish:50) else goto L52 +L52: + if r58 goto L58 else goto L53 :: bool +L53: + if is_error(r1) goto L247 else goto L56 +L54: + r59 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r59 goto L63 (error at gatherish:-1) else goto L248 :: bool +L55: + unreachable +L56: + inc_ref r1 + r50 = r1 + r60 = r8.__mypyc_temp__4 + if is_error(r60) goto L249 (error at gatherish:-1) else goto L57 +L57: + CPy_RestoreExcInfo(r60) + dec_ref r60 + goto L43 +L58: + if is_error(r1) goto L250 else goto L61 +L59: + r61 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r61 goto L63 (error at gatherish:-1) else goto L251 :: bool +L60: + unreachable +L61: + r49 = r1 + dec_ref r49 + r62 = r8.__mypyc_temp__4 + if is_error(r62) goto L252 (error at gatherish:-1) else goto L62 +L62: + CPy_RestoreExcInfo(r62) + dec_ref r62 + goto L71 +L63: + r63 = r8.__mypyc_temp__4 + dec_ref r8 + if is_error(r63) goto L228 (error at gatherish:-1) else goto L64 +L64: + CPy_RestoreExcInfo(r63) + dec_ref r63 + r64 = CPy_KeepPropagating() + if not r64 goto L228 else goto L65 :: bool +L65: + unreachable +L66: + r65 = r8.__mypyc_temp__3 + if is_error(r65) goto L253 (error at gatherish:-1) else goto L67 +L67: + r66 = CPyIter_Send(r65, arg) + dec_ref r65 + dec_ref arg + if is_error(r66) goto L254 else goto L68 +L68: + r50 = r66 + goto L43 +L69: + r67 = CPy_FetchStopIterationValue() + if is_error(r67) goto L242 (error at gatherish:50) else goto L70 +L70: + r49 = r67 + dec_ref r49 +L71: + r68 = dank_mids.helpers._gather.yield_to_loop :: static + if is_error(r68) goto L255 else goto L74 +L72: + r69 = raise NameError('value for final name "yield_to_loop" was not set') + if not r69 goto L228 (error at gatherish:51) else goto L73 :: bool +L73: + unreachable +L74: + r70 = _PyObject_Vectorcall(r68, 0, 0, 0) + if is_error(r70) goto L242 (error at gatherish:51) else goto L75 +L75: + r71 = CPy_GetCoro(r70) + dec_ref r70 + if is_error(r71) goto L242 (error at gatherish:51) else goto L76 +L76: + r8.__mypyc_temp__5 = r71; r72 = is_error + if not r72 goto L242 (error at gatherish:-1) else goto L77 :: bool +L77: + r73 = r8.__mypyc_temp__5 + if is_error(r73) goto L242 (error at gatherish:-1) else goto L78 +L78: + r74 = CPyIter_Next(r73) + dec_ref r73 + if is_error(r74) goto L256 else goto L81 +L79: + r75 = CPy_FetchStopIterationValue() + if is_error(r75) goto L257 (error at gatherish:51) else goto L80 +L80: + r76 = r75 + dec_ref r76 + goto L110 +L81: + r77 = r74 +L82: + r8.__mypyc_next_label__ = 4; r78 = is_error + if not r78 goto L258 (error at gatherish:51) else goto L259 :: bool +L83: + return r77 +L84: + r79 = load_address _Py_NoneStruct + r80 = type != r79 + if r80 goto L85 else goto L87 :: bool +L85: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L88 (error at gatherish:51) else goto L260 :: bool +L86: + unreachable +L87: + inc_ref arg + goto L105 +L88: + r81 = CPy_CatchError() + r8.__mypyc_temp__6 = r81; r82 = is_error + if not r82 goto L261 (error at gatherish:-1) else goto L89 :: bool +L89: + r83 = load_address r3 + r84 = r8.__mypyc_temp__5 + if is_error(r84) goto L261 (error at gatherish:-1) else goto L90 +L90: + r85 = CPy_YieldFromErrorHandle(r84, r83) + dec_ref r84 + if is_error(r85) goto L261 (error at gatherish:51) else goto L91 +L91: + if r85 goto L97 else goto L92 :: bool +L92: + if is_error(r3) goto L262 else goto L95 +L93: + r86 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r86 goto L102 (error at gatherish:-1) else goto L263 :: bool +L94: + unreachable +L95: + inc_ref r3 + r77 = r3 + r87 = r8.__mypyc_temp__6 + if is_error(r87) goto L264 (error at gatherish:-1) else goto L96 +L96: + CPy_RestoreExcInfo(r87) + dec_ref r87 + goto L82 +L97: + if is_error(r3) goto L265 else goto L100 +L98: + r88 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r88 goto L102 (error at gatherish:-1) else goto L266 :: bool +L99: + unreachable +L100: + r76 = r3 + dec_ref r76 + r89 = r8.__mypyc_temp__6 + if is_error(r89) goto L267 (error at gatherish:-1) else goto L101 +L101: + CPy_RestoreExcInfo(r89) + dec_ref r89 + goto L110 +L102: + r90 = r8.__mypyc_temp__6 + dec_ref r8 + if is_error(r90) goto L228 (error at gatherish:-1) else goto L103 +L103: + CPy_RestoreExcInfo(r90) + dec_ref r90 + r91 = CPy_KeepPropagating() + if not r91 goto L228 else goto L104 :: bool +L104: + unreachable +L105: + r92 = r8.__mypyc_temp__5 + if is_error(r92) goto L268 (error at gatherish:-1) else goto L106 +L106: + r93 = CPyIter_Send(r92, arg) + dec_ref r92 + dec_ref arg + if is_error(r93) goto L269 else goto L107 +L107: + r77 = r93 + goto L82 +L108: + r94 = CPy_FetchStopIterationValue() + if is_error(r94) goto L257 (error at gatherish:51) else goto L109 +L109: + r76 = r94 + dec_ref r76 +L110: + r95 = r8.tasks + if is_error(r95) goto L257 (error at gatherish:52) else goto L111 +L111: + r96 = PyObject_GetIter(r95) + if is_error(r96) goto L270 (error at gatherish:52) else goto L112 +L112: + r8.__mypyc_temp__7 = r95; r97 = is_error + if not r97 goto L271 (error at gatherish:-1) else goto L113 :: bool +L113: + r8.__mypyc_temp__8 = r96; r98 = is_error + if not r98 goto L257 (error at gatherish:-1) else goto L114 :: bool +L114: + r99 = r8.__mypyc_temp__8 + if is_error(r99) goto L257 (error at gatherish:52) else goto L115 +L115: + r100 = PyIter_Next(r99) + dec_ref r99 + if is_error(r100) goto L272 else goto L116 +L116: + r8.task = r100; r101 = is_error + if not r101 goto L257 (error at gatherish:52) else goto L117 :: bool +L117: + r102 = r8.task + if is_error(r102) goto L273 (error at gatherish:54) else goto L118 +L118: + r103 = CPy_GetCoro(r102) + dec_ref r102 + if is_error(r103) goto L273 (error at gatherish:54) else goto L119 +L119: + r8.__mypyc_temp__9 = r103; r104 = is_error + if not r104 goto L273 (error at gatherish:-1) else goto L120 :: bool +L120: + r105 = r8.__mypyc_temp__9 + if is_error(r105) goto L273 (error at gatherish:-1) else goto L121 +L121: + r106 = CPyIter_Next(r105) + dec_ref r105 + if is_error(r106) goto L122 else goto L124 +L122: + r107 = CPy_FetchStopIterationValue() + if is_error(r107) goto L273 (error at gatherish:54) else goto L123 +L123: + r108 = r107 + dec_ref r108 + goto L114 +L124: + r109 = r106 +L125: + r8.__mypyc_next_label__ = 6; r110 = is_error + if not r110 goto L274 (error at gatherish:54) else goto L275 :: bool +L126: + return r109 +L127: + r111 = load_address _Py_NoneStruct + r112 = type != r111 + if r112 goto L128 else goto L130 :: bool +L128: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L131 (error at gatherish:54) else goto L276 :: bool +L129: + unreachable +L130: + inc_ref arg + goto L148 +L131: + r113 = CPy_CatchError() + r8.__mypyc_temp__10 = r113; r114 = is_error + if not r114 goto L277 (error at gatherish:-1) else goto L132 :: bool +L132: + r115 = load_address r5 + r116 = r8.__mypyc_temp__9 + if is_error(r116) goto L277 (error at gatherish:-1) else goto L133 +L133: + r117 = CPy_YieldFromErrorHandle(r116, r115) + dec_ref r116 + if is_error(r117) goto L277 (error at gatherish:54) else goto L134 +L134: + if r117 goto L140 else goto L135 :: bool +L135: + if is_error(r5) goto L136 else goto L138 +L136: + r118 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r118 goto L145 (error at gatherish:-1) else goto L278 :: bool +L137: + unreachable +L138: + inc_ref r5 + r109 = r5 + r119 = r8.__mypyc_temp__10 + if is_error(r119) goto L279 (error at gatherish:-1) else goto L139 +L139: + CPy_RestoreExcInfo(r119) + dec_ref r119 + goto L125 +L140: + if is_error(r5) goto L141 else goto L143 +L141: + r120 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r120 goto L145 (error at gatherish:-1) else goto L280 :: bool +L142: + unreachable +L143: + inc_ref r5 + r108 = r5 + dec_ref r108 + r121 = r8.__mypyc_temp__10 + if is_error(r121) goto L277 (error at gatherish:-1) else goto L144 +L144: + CPy_RestoreExcInfo(r121) + dec_ref r121 + goto L114 +L145: + r122 = r8.__mypyc_temp__10 + if is_error(r122) goto L153 (error at gatherish:-1) else goto L146 +L146: + CPy_RestoreExcInfo(r122) + dec_ref r122 + r123 = CPy_KeepPropagating() + if not r123 goto L153 else goto L281 :: bool +L147: + unreachable +L148: + r124 = r8.__mypyc_temp__9 + if is_error(r124) goto L282 (error at gatherish:-1) else goto L149 +L149: + r125 = CPyIter_Send(r124, arg) + dec_ref r124 + dec_ref arg + if is_error(r125) goto L151 else goto L150 +L150: + r109 = r125 + goto L125 +L151: + r126 = CPy_FetchStopIterationValue() + if is_error(r126) goto L273 (error at gatherish:54) else goto L152 +L152: + r108 = r126 + dec_ref r108 + goto L114 +L153: + r127 = CPy_CatchError() + r8.__mypyc_temp__11 = r127; r128 = is_error + if not r128 goto L283 (error at gatherish:-1) else goto L154 :: bool +L154: + r129 = builtins :: module + r130 = 'Exception' + r131 = CPyObject_GetAttr(r129, r130) + if is_error(r131) goto L283 (error at gatherish:55) else goto L155 +L155: + r132 = CPy_ExceptionMatches(r131) + dec_ref r131 + if r132 goto L156 else goto L284 :: bool +L156: + r133 = r8.tasks + if is_error(r133) goto L283 (error at gatherish:58) else goto L157 +L157: + r134 = PyObject_GetIter(r133) + if is_error(r134) goto L285 (error at gatherish:58) else goto L158 +L158: + r8.__mypyc_temp__12 = r133; r135 = is_error + if not r135 goto L286 (error at gatherish:-1) else goto L159 :: bool +L159: + r8.__mypyc_temp__13 = r134; r136 = is_error + if not r136 goto L283 (error at gatherish:-1) else goto L160 :: bool +L160: + r137 = r8.__mypyc_temp__13 + if is_error(r137) goto L283 (error at gatherish:58) else goto L161 +L161: + r138 = PyIter_Next(r137) + dec_ref r137 + if is_error(r138) goto L287 else goto L162 +L162: + r8.task = r138; r139 = is_error + if not r139 goto L283 (error at gatherish:58) else goto L163 :: bool +L163: + r140 = r8.task + if is_error(r140) goto L199 (error at gatherish:61) else goto L164 +L164: + r141 = CPy_GetCoro(r140) + dec_ref r140 + if is_error(r141) goto L199 (error at gatherish:61) else goto L165 +L165: + r8.__mypyc_temp__14 = r141; r142 = is_error + if not r142 goto L199 (error at gatherish:-1) else goto L166 :: bool +L166: + r143 = r8.__mypyc_temp__14 + if is_error(r143) goto L199 (error at gatherish:-1) else goto L167 +L167: + r144 = CPyIter_Next(r143) + dec_ref r143 + if is_error(r144) goto L168 else goto L170 +L168: + r145 = CPy_FetchStopIterationValue() + if is_error(r145) goto L199 (error at gatherish:61) else goto L169 +L169: + r146 = r145 + dec_ref r146 + goto L160 +L170: + r147 = r144 +L171: + r8.__mypyc_next_label__ = 8; r148 = is_error + if not r148 goto L288 (error at gatherish:61) else goto L289 :: bool +L172: + return r147 +L173: + r149 = load_address _Py_NoneStruct + r150 = type != r149 + if r150 goto L174 else goto L176 :: bool +L174: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L177 (error at gatherish:61) else goto L290 :: bool +L175: + unreachable +L176: + inc_ref arg + goto L194 +L177: + r151 = CPy_CatchError() + r8.__mypyc_temp__15 = r151; r152 = is_error + if not r152 goto L191 (error at gatherish:-1) else goto L178 :: bool +L178: + r153 = load_address r7 + r154 = r8.__mypyc_temp__14 + if is_error(r154) goto L191 (error at gatherish:-1) else goto L179 +L179: + r155 = CPy_YieldFromErrorHandle(r154, r153) + dec_ref r154 + if is_error(r155) goto L191 (error at gatherish:61) else goto L180 +L180: + if r155 goto L186 else goto L181 :: bool +L181: + if is_error(r7) goto L182 else goto L184 +L182: + r156 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r156 goto L191 (error at gatherish:-1) else goto L291 :: bool +L183: + unreachable +L184: + inc_ref r7 + r147 = r7 + r157 = r8.__mypyc_temp__15 + if is_error(r157) goto L292 (error at gatherish:-1) else goto L185 +L185: + CPy_RestoreExcInfo(r157) + dec_ref r157 + goto L171 +L186: + if is_error(r7) goto L187 else goto L189 +L187: + r158 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r158 goto L191 (error at gatherish:-1) else goto L293 :: bool +L188: + unreachable +L189: + inc_ref r7 + r146 = r7 + dec_ref r146 + r159 = r8.__mypyc_temp__15 + if is_error(r159) goto L191 (error at gatherish:-1) else goto L190 +L190: + CPy_RestoreExcInfo(r159) + dec_ref r159 + goto L160 +L191: + r160 = r8.__mypyc_temp__15 + if is_error(r160) goto L199 (error at gatherish:-1) else goto L192 +L192: + CPy_RestoreExcInfo(r160) + dec_ref r160 + r161 = CPy_KeepPropagating() + if not r161 goto L199 else goto L294 :: bool +L193: + unreachable +L194: + r162 = r8.__mypyc_temp__14 + if is_error(r162) goto L295 (error at gatherish:-1) else goto L195 +L195: + r163 = CPyIter_Send(r162, arg) + dec_ref r162 + dec_ref arg + if is_error(r163) goto L197 else goto L196 +L196: + r147 = r163 + goto L171 +L197: + r164 = CPy_FetchStopIterationValue() + if is_error(r164) goto L199 (error at gatherish:61) else goto L198 +L198: + r146 = r164 + dec_ref r146 + goto L160 +L199: + r165 = CPy_CatchError() + r8.__mypyc_temp__16 = r165; r166 = is_error + if not r166 goto L296 (error at gatherish:-1) else goto L200 :: bool +L200: + r167 = builtins :: module + r168 = 'Exception' + r169 = CPyObject_GetAttr(r167, r168) + if is_error(r169) goto L296 (error at gatherish:62) else goto L201 +L201: + r170 = CPy_ExceptionMatches(r169) + dec_ref r169 + if r170 goto L204 else goto L297 :: bool +L202: + CPy_Reraise() + if not 0 goto L206 else goto L298 :: bool +L203: + unreachable +L204: + r171 = r8.__mypyc_temp__16 + if is_error(r171) goto L283 (error at gatherish:-1) else goto L205 +L205: + CPy_RestoreExcInfo(r171) + dec_ref r171 + goto L160 +L206: + r172 = r8.__mypyc_temp__16 + if is_error(r172) goto L214 (error at gatherish:-1) else goto L207 +L207: + CPy_RestoreExcInfo(r172) + dec_ref r172 + r173 = CPy_KeepPropagating() + if not r173 goto L214 else goto L299 :: bool +L208: + unreachable +L209: + r174 = CPy_NoErrOccurred() + if not r174 goto L214 (error at gatherish:58) else goto L210 :: bool +L210: + CPy_Reraise() + if not 0 goto L214 else goto L300 :: bool +L211: + unreachable +L212: + CPy_Reraise() + if not 0 goto L214 else goto L301 :: bool +L213: + unreachable +L214: + r175 = r8.__mypyc_temp__11 + dec_ref r8 + if is_error(r175) goto L228 (error at gatherish:-1) else goto L215 +L215: + CPy_RestoreExcInfo(r175) + dec_ref r175 + r176 = CPy_KeepPropagating() + if not r176 goto L228 else goto L216 :: bool +L216: + unreachable +L217: + r177 = CPy_NoErrOccurred() + if not r177 goto L302 (error at gatherish:52) else goto L218 :: bool +L218: + r178 = box(None, 1) + r8.__mypyc_next_label__ = -2; r179 = is_error + dec_ref r8 + if not r179 goto L228 (error at gatherish:34) else goto L219 :: bool +L219: + CPyGen_SetStopIterationValue(r178) + if not 0 goto L228 else goto L220 :: bool +L220: + unreachable +L221: + r180 = r9 == 0 + if r180 goto L303 else goto L222 :: bool +L222: + r181 = r9 == 2 + if r181 goto L304 else goto L305 :: bool +L223: + r182 = r9 == 4 + if r182 goto L306 else goto L307 :: bool +L224: + r183 = r9 == 6 + if r183 goto L308 else goto L309 :: bool +L225: + r184 = r9 == 8 + dec_ref r9 :: int + if r184 goto L173 else goto L310 :: bool +L226: + r185 = raise StopIteration + if not r185 goto L228 (error at gatherish:34) else goto L227 :: bool +L227: + unreachable +L228: + r186 = :: object + return r186 +L229: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + goto L228 +L230: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + goto L228 +L231: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + goto L3 +L232: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + goto L6 +L233: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + dec_ref r18 + goto L228 +L234: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + dec_ref r19 + goto L228 +L235: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + dec_ref r25 + goto L228 +L236: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + dec_ref r25 + dec_ref r26 + goto L228 +L237: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + dec_ref r25 + dec_ref r26 + dec_ref r27 + goto L23 +L238: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + dec_ref r25 + dec_ref r26 + dec_ref r27 + goto L228 +L239: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + dec_ref r33 + goto L228 +L240: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + goto L33 +L241: + xdec_ref r1 + goto L40 +L242: + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + goto L228 +L243: + dec_ref r50 + goto L49 +L244: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + goto L44 +L245: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + goto L47 +L246: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + goto L63 +L247: + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + goto L54 +L248: + dec_ref r8 + goto L55 +L249: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r50 + goto L63 +L250: + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + goto L59 +L251: + dec_ref r8 + goto L60 +L252: + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + goto L63 +L253: + xdec_ref r1 + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + dec_ref arg + goto L228 +L254: + xdec_ref r1 + goto L69 +L255: + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + goto L72 +L256: + xdec_ref r3 + goto L79 +L257: + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + goto L228 +L258: + dec_ref r77 + goto L88 +L259: + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + goto L83 +L260: + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + goto L86 +L261: + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + goto L102 +L262: + xdec_ref r5 + xdec_ref r7 + goto L93 +L263: + dec_ref r8 + goto L94 +L264: + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r77 + goto L102 +L265: + xdec_ref r5 + xdec_ref r7 + goto L98 +L266: + dec_ref r8 + goto L99 +L267: + xdec_ref r5 + xdec_ref r7 + goto L102 +L268: + xdec_ref r3 + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + dec_ref arg + goto L228 +L269: + xdec_ref r3 + goto L108 +L270: + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + dec_ref r95 + goto L228 +L271: + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + dec_ref r96 + goto L228 +L272: + xdec_ref r5 + xdec_ref r7 + goto L217 +L273: + xdec_ref r5 + goto L153 +L274: + dec_ref r109 + goto L131 +L275: + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + goto L126 +L276: + xdec_ref r5 + xdec_ref r7 + dec_ref r8 + goto L129 +L277: + xdec_ref r5 + goto L145 +L278: + xdec_ref r7 + dec_ref r8 + goto L137 +L279: + xdec_ref r5 + dec_ref r109 + goto L145 +L280: + xdec_ref r7 + dec_ref r8 + goto L142 +L281: + xdec_ref r7 + dec_ref r8 + goto L147 +L282: + xdec_ref r5 + dec_ref arg + goto L153 +L283: + xdec_ref r7 + goto L214 +L284: + xdec_ref r7 + goto L212 +L285: + xdec_ref r7 + dec_ref r133 + goto L214 +L286: + xdec_ref r7 + dec_ref r134 + goto L214 +L287: + xdec_ref r7 + goto L209 +L288: + dec_ref r147 + goto L177 +L289: + xdec_ref r7 + dec_ref r8 + goto L172 +L290: + xdec_ref r7 + dec_ref r8 + goto L175 +L291: + xdec_ref r7 + dec_ref r8 + goto L183 +L292: + dec_ref r147 + goto L191 +L293: + xdec_ref r7 + dec_ref r8 + goto L188 +L294: + xdec_ref r7 + dec_ref r8 + goto L193 +L295: + dec_ref arg + goto L199 +L296: + xdec_ref r7 + goto L206 +L297: + xdec_ref r7 + goto L202 +L298: + dec_ref r8 + goto L203 +L299: + dec_ref r8 + goto L208 +L300: + dec_ref r8 + goto L211 +L301: + dec_ref r8 + goto L213 +L302: + dec_ref r8 + goto L228 +L303: + dec_ref r9 :: int + goto L2 +L304: + dec_ref r9 :: int + goto L45 +L305: + xdec_ref r1 + goto L223 +L306: + dec_ref r9 :: int + goto L84 +L307: + xdec_ref r3 + goto L224 +L308: + dec_ref r9 :: int + goto L127 +L309: + xdec_ref r5 + goto L225 +L310: + xdec_ref r7 + dec_ref r8 + goto L226 + +def gatherish_gen.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen + r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def gatherish_gen.send(__mypyc_self__, arg): + __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen + arg, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def gatherish_gen.__iter__(__mypyc_self__): + __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def gatherish_gen.throw(__mypyc_self__, type, value, traceback): + __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen + type, value, traceback, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + if is_error(value) goto L1 else goto L7 +L1: + inc_ref r0 + value = r0 +L2: + if is_error(traceback) goto L3 else goto L8 +L3: + inc_ref r0 + traceback = r0 +L4: + r1 = gatherish_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0) + dec_ref value + dec_ref traceback + if is_error(r1) goto L6 else goto L5 +L5: + return r1 +L6: + r2 = :: object + return r2 +L7: + inc_ref value + goto L2 +L8: + inc_ref traceback + goto L4 + +def gatherish_gen.close(__mypyc_self__): + __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen + r0 :: object + r1 :: str + r2, r3, r4, r5 :: object + r6 :: tuple[object, object, object] + r7 :: object + r8 :: str + r9 :: object + r10 :: tuple[object, object] + r11 :: object + r12 :: bit + r13 :: object + r14 :: bool + r15 :: object +L0: +L1: + r0 = builtins :: module + r1 = 'GeneratorExit' + r2 = CPyObject_GetAttr(r0, r1) + if is_error(r2) goto L3 else goto L2 +L2: + r3 = load_address _Py_NoneStruct + r4 = load_address _Py_NoneStruct + r5 = __mypyc_self__.throw(r2, r3, r4) + if is_error(r5) goto L3 else goto L11 +L3: + r6 = CPy_CatchError() + r7 = builtins :: module + r8 = 'StopIteration' + r9 = CPyObject_GetAttr(r7, r8) + if is_error(r9) goto L12 else goto L4 +L4: + r10 = (r2, r9) + r11 = box(tuple[object, object], r10) + r12 = CPy_ExceptionMatches(r11) + dec_ref r11 + if r12 goto L5 else goto L13 :: bool +L5: + CPy_RestoreExcInfo(r6) + dec_ref r6 + r13 = load_address _Py_NoneStruct + inc_ref r13 + return r13 +L6: + CPy_Reraise() + if not 0 goto L10 else goto L7 :: bool +L7: + unreachable +L8: + r14 = raise RuntimeError('generator ignored GeneratorExit') + if not r14 goto L10 else goto L9 :: bool +L9: + unreachable +L10: + r15 = :: object + return r15 +L11: + dec_ref r2 + dec_ref r5 + goto L8 +L12: + dec_ref r2 + dec_ref r6 + goto L10 +L13: + dec_ref r6 + goto L6 + +def gatherish_gen.__await__(__mypyc_self__): + __mypyc_self__ :: dank_mids.helpers._gather.gatherish_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def gatherish(coros, name): + coros :: object + name :: union[str, None] + r0 :: object + r1 :: dank_mids.helpers._gather.gatherish_env + r2, r3 :: bool + r4 :: dank_mids.helpers._gather.gatherish_gen + r5, r6 :: bool + r7 :: object +L0: + if is_error(name) goto L1 else goto L10 L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L222 (error at :-1) else goto L2 + r0 = box(None, 1) + inc_ref r0 + name = r0 L2: - builtins = r4 :: module - dec_ref r4 + r1 = gatherish_env() + if is_error(r1) goto L11 (error at gatherish:34) else goto L3 L3: - r5 = load_address decimal :: module - r6 = [r5] - r7 = load_address r6 - r8 = [1] - r9 = load_address r8 - r10 = (('decimal', 'decimal', 'decimal'),) - r11 = dank_mids.brownie_patch.call.globals :: static - r12 = 'dank_mids\\brownie_patch\\call.py' - r13 = '' - r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) - if not r14 goto L222 else goto L4 :: bool + inc_ref coros + r1.coros = coros; r2 = is_error + if not r2 goto L12 (error at gatherish:34) else goto L4 :: bool L4: - r15 = ('BrokenProcessPool',) - r16 = 'concurrent.futures.process' - r17 = dank_mids.brownie_patch.call.globals :: static - r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) - if is_error(r18) goto L222 (error at :2) else goto L5 + r1.name = name; r3 = is_error + if not r3 goto L13 (error at gatherish:34) else goto L5 :: bool +L5: + r4 = gatherish_gen() + if is_error(r4) goto L13 (error at gatherish:34) else goto L6 +L6: + inc_ref r1 + r4.__mypyc_env__ = r1; r5 = is_error + if not r5 goto L14 (error at gatherish:34) else goto L7 :: bool +L7: + r1.__mypyc_next_label__ = 0; r6 = is_error + dec_ref r1 + if not r6 goto L15 (error at gatherish:34) else goto L8 :: bool +L8: + return r4 +L9: + r7 = :: object + return r7 +L10: + inc_ref name + goto L2 +L11: + dec_ref name + goto L9 +L12: + dec_ref name + dec_ref r1 + goto L9 +L13: + dec_ref r1 + goto L9 +L14: + dec_ref r1 + dec_ref r4 + goto L9 +L15: + dec_ref r4 + goto L9 + +def first_completed_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg): + __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen + type, value, traceback, arg, r0, r1, r2, r3 :: object + r4 :: dank_mids.helpers._gather.first_completed_env + r5 :: int + r6 :: object + r7 :: bit + r8 :: bool + r9 :: tuple + r10 :: str + r11 :: object + r12 :: bool + r13 :: object[2] + r14 :: object_ptr + r15, r16, r17 :: object + r18 :: bool + r19, r20, r21, r22, r23 :: object + r24 :: bool + r25 :: object + r26 :: bit + r27 :: tuple[object, object, object] + r28 :: bool + r29 :: object_ptr + r30 :: object + r31, r32 :: bool + r33 :: tuple[object, object, object] + r34 :: bool + r35, r36 :: tuple[object, object, object] + r37 :: bit + r38, r39, r40 :: object + r41 :: tuple[set, set] + r42 :: object + r43 :: bool + r44 :: tuple + r45 :: str + r46 :: object + r47 :: bool + r48 :: object[2] + r49 :: object_ptr + r50, r51, r52 :: object + r53 :: bool + r54, r55, r56, r57, r58 :: object + r59 :: bool + r60 :: object + r61 :: bit + r62 :: tuple[object, object, object] + r63 :: bool + r64 :: object_ptr + r65 :: object + r66, r67 :: bool + r68 :: tuple[object, object, object] + r69 :: bool + r70, r71 :: tuple[object, object, object] + r72 :: bit + r73, r74, r75 :: object + r76 :: tuple[set, set] + r77, r78 :: set + r79 :: bool + r80, r81 :: set + r82 :: bool + r83 :: tuple[object, object, object] + r84 :: bool + r85 :: object + r86 :: bool + r87 :: bit + r88 :: tuple + r89, r90 :: bool + r91 :: tuple + r92 :: ptr + r93 :: native_int + r94, r95 :: short_int + r96 :: bit + r97 :: tuple + r98 :: short_int + r99 :: object + r100 :: bool + r101 :: object + r102 :: str + r103 :: object[1] + r104 :: object_ptr + r105 :: object + r106, r107 :: short_int + r108 :: bool + r109 :: tuple[object, object, object] + r110 :: bit + r111 :: set + r112 :: object + r113, r114 :: bool + r115, r116 :: object + r117 :: bool + r118 :: object + r119 :: str + r120 :: object[1] + r121 :: object_ptr + r122 :: object + r123 :: bit + r124 :: set + r125 :: bool + r126, r127, r128 :: bit + r129 :: bool + r130 :: object +L0: + r0 = :: object + r1 = r0 + r2 = :: object + r3 = r2 + r4 = __mypyc_self__.__mypyc_env__ + if is_error(r4) goto L142 (error at first_completed:75) else goto L1 +L1: + r5 = r4.__mypyc_next_label__ + if is_error(r5) goto L143 (error at first_completed:75) else goto L136 +L2: + r6 = load_address _Py_NoneStruct + r7 = type != r6 + if r7 goto L144 else goto L5 :: bool +L3: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L141 (error at first_completed:75) else goto L4 :: bool +L4: + unreachable L5: - concurrent.futures.process = r18 :: module - dec_ref r18 - r19 = ('Logger',) - r20 = 'logging' - r21 = dank_mids.brownie_patch.call.globals :: static - r22 = CPyImport_ImportFromMany(r20, r19, r19, r21) - if is_error(r22) goto L222 (error at :3) else goto L6 + r8 = r4.cancel + if is_error(r8) goto L143 (error at first_completed:78) else goto L6 L6: - logging = r22 :: module - dec_ref r22 - r23 = ('PicklingError',) - r24 = 'pickle' - r25 = dank_mids.brownie_patch.call.globals :: static - r26 = CPyImport_ImportFromMany(r24, r23, r23, r25) - if is_error(r26) goto L222 (error at :4) else goto L7 + if r8 goto L145 else goto L146 :: bool L7: - pickle = r26 :: module - dec_ref r26 - r27 = ('MethodType', 'ModuleType') - r28 = 'types' - r29 = dank_mids.brownie_patch.call.globals :: static - r30 = CPyImport_ImportFromMany(r28, r27, r27, r29) - if is_error(r30) goto L222 (error at :5) else goto L8 + r9 = r4.fs + if is_error(r9) goto L147 (error at first_completed:79) else goto L8 L8: - types = r30 :: module - dec_ref r30 - r31 = ('Any', 'Callable', 'Dict', 'Final', 'List', 'NewType', 'Optional', 'Sequence', 'Tuple', 'TypeVar', 'Union') - r32 = 'typing' - r33 = dank_mids.brownie_patch.call.globals :: static - r34 = CPyImport_ImportFromMany(r32, r31, r31, r33) - if is_error(r34) goto L222 (error at :6) else goto L9 + r10 = 'FIRST_COMPLETED' + r11 = dank_mids.helpers._gather.wait :: static + if is_error(r11) goto L148 else goto L11 L9: - typing = r34 :: module - dec_ref r34 - r35 = load_address brownie.convert.datatypes :: module - r36 = load_address brownie.convert.normalize :: module - r37 = load_address brownie.network.contract :: module - r38 = load_address eth_abi :: module - r39 = load_address hexbytes :: module - r40 = [r35, r36, r37, r38, r39] - r41 = load_address r40 - r42 = [20, 21, 22, 23, 24] - r43 = load_address r42 - r44 = (('brownie.convert.datatypes', 'brownie', 'brownie'), ('brownie.convert.normalize', 'brownie', 'brownie'), ('brownie.network.contract', 'brownie', 'brownie'), ('eth_abi', 'eth_abi', 'eth_abi'), ('hexbytes', 'hexbytes', 'hexbytes')) - r45 = dank_mids.brownie_patch.call.globals :: static - r46 = 'dank_mids\\brownie_patch\\call.py' - r47 = '' - r48 = CPyImport_ImportMany(r44, r41, r45, r46, r47, r43) - if not r48 goto L222 else goto L10 :: bool + r12 = raise NameError('value for final name "wait" was not set') + if not r12 goto L141 (error at first_completed:79) else goto L10 :: bool L10: - r49 = ('AsyncProcessPoolExecutor',) - r50 = 'a_sync' - r51 = dank_mids.brownie_patch.call.globals :: static - r52 = CPyImport_ImportFromMany(r50, r49, r49, r51) - if is_error(r52) goto L222 (error at :25) else goto L11 + unreachable L11: - a_sync = r52 :: module - dec_ref r52 - r53 = ('chain',) - r54 = 'brownie' - r55 = dank_mids.brownie_patch.call.globals :: static - r56 = CPyImport_ImportFromMany(r54, r53, r53, r55) - if is_error(r56) goto L222 (error at :26) else goto L12 + r13 = [r9, r10] + r14 = load_address r13 + r15 = ('return_when',) + r16 = _PyObject_Vectorcall(r11, r14, 1, r15) + if is_error(r16) goto L149 (error at first_completed:79) else goto L12 L12: - brownie = r56 :: module - dec_ref r56 - r57 = ('ABIType',) - r58 = 'brownie.convert.normalize' - r59 = dank_mids.brownie_patch.call.globals :: static - r60 = CPyImport_ImportFromMany(r58, r57, r57, r59) - if is_error(r60) goto L222 (error at :27) else goto L13 + dec_ref r9 + r17 = CPy_GetCoro(r16) + dec_ref r16 + if is_error(r17) goto L147 (error at first_completed:79) else goto L13 L13: - brownie.convert.normalize = r60 :: module - dec_ref r60 - r61 = ('get_type_strings',) - r62 = 'brownie.convert.utils' - r63 = dank_mids.brownie_patch.call.globals :: static - r64 = CPyImport_ImportFromMany(r62, r61, r61, r63) - if is_error(r64) goto L222 (error at :28) else goto L14 + r4.__mypyc_temp__17 = r17; r18 = is_error + if not r18 goto L147 (error at first_completed:-1) else goto L14 :: bool L14: - brownie.convert.utils = r64 :: module - dec_ref r64 - r65 = ('VirtualMachineError',) - r66 = 'brownie.exceptions' - r67 = dank_mids.brownie_patch.call.globals :: static - r68 = CPyImport_ImportFromMany(r66, r65, r65, r67) - if is_error(r68) goto L222 (error at :29) else goto L15 + r19 = r4.__mypyc_temp__17 + if is_error(r19) goto L147 (error at first_completed:-1) else goto L15 L15: - brownie.exceptions = r68 :: module - dec_ref r68 - r69 = ('ContractCall',) - r70 = 'brownie.network.contract' - r71 = dank_mids.brownie_patch.call.globals :: static - r72 = CPyImport_ImportFromMany(r70, r69, r69, r71) - if is_error(r72) goto L222 (error at :30) else goto L16 + r20 = CPyIter_Next(r19) + dec_ref r19 + if is_error(r20) goto L150 else goto L18 L16: - brownie.network.contract = r72 :: module - dec_ref r72 - r73 = ('SOLIDITY_ERROR_CODES',) - r74 = 'brownie.project.compiler.solidity' - r75 = dank_mids.brownie_patch.call.globals :: static - r76 = CPyImport_ImportFromMany(r74, r73, r73, r75) - if is_error(r76) goto L222 (error at :31) else goto L17 + r21 = CPy_FetchStopIterationValue() + if is_error(r21) goto L151 (error at first_completed:79) else goto L17 L17: - brownie.project.compiler.solidity = r76 :: module - dec_ref r76 - r77 = ('InsufficientDataBytes',) - r78 = 'eth_abi.exceptions' - r79 = dank_mids.brownie_patch.call.globals :: static - r80 = CPyImport_ImportFromMany(r78, r77, r77, r79) - if is_error(r80) goto L222 (error at :32) else goto L18 + r22 = r21 + goto L47 L18: - eth_abi.exceptions = r80 :: module - dec_ref r80 - r81 = ('HexStr',) - r82 = 'eth_typing' - r83 = dank_mids.brownie_patch.call.globals :: static - r84 = CPyImport_ImportFromMany(r82, r81, r81, r83) - if is_error(r84) goto L222 (error at :33) else goto L19 + r23 = r20 L19: - eth_typing = r84 :: module - dec_ref r84 - r85 = ('Address',) - r86 = 'evmspec.data' - r87 = dank_mids.brownie_patch.call.globals :: static - r88 = CPyImport_ImportFromMany(r86, r85, r85, r87) - if is_error(r88) goto L222 (error at :34) else goto L20 + r4.__mypyc_next_label__ = 2; r24 = is_error + if not r24 goto L152 (error at first_completed:79) else goto L153 :: bool L20: - evmspec.data = r88 :: module - dec_ref r88 - r89 = ('BytesLike',) - r90 = 'hexbytes.main' - r91 = dank_mids.brownie_patch.call.globals :: static - r92 = CPyImport_ImportFromMany(r90, r89, r89, r91) - if is_error(r92) goto L222 (error at :35) else goto L21 + return r23 L21: - hexbytes.main = r92 :: module - dec_ref r92 - r93 = ('MULTICALL2_ADDRESSES',) - r94 = 'multicall.constants' - r95 = dank_mids.brownie_patch.call.globals :: static - r96 = CPyImport_ImportFromMany(r94, r93, r93, r95) - if is_error(r96) goto L222 (error at :36) else goto L22 + r25 = load_address _Py_NoneStruct + r26 = type != r25 + if r26 goto L22 else goto L24 :: bool L22: - multicall.constants = r96 :: module - dec_ref r96 - r97 = ('BlockIdentifier',) - r98 = 'web3.types' - r99 = dank_mids.brownie_patch.call.globals :: static - r100 = CPyImport_ImportFromMany(r98, r97, r97, r99) - if is_error(r100) goto L222 (error at :37) else goto L23 + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L25 (error at first_completed:79) else goto L154 :: bool L23: - web3.types = r100 :: module - dec_ref r100 - r101 = ('ENVIRONMENT_VARIABLES', 'exceptions') - r102 = 'dank_mids' - r103 = dank_mids.brownie_patch.call.globals :: static - r104 = CPyImport_ImportFromMany(r102, r101, r101, r103) - if is_error(r104) goto L222 (error at :39) else goto L24 + unreachable L24: - dank_mids = r104 :: module - dec_ref r104 - r105 = ('getLogger',) - r106 = 'dank_mids._logging' - r107 = dank_mids.brownie_patch.call.globals :: static - r108 = CPyImport_ImportFromMany(r106, r105, r105, r107) - if is_error(r108) goto L222 (error at :40) else goto L25 + inc_ref arg + goto L42 L25: - dank_mids._logging = r108 :: module - dec_ref r108 - r109 = ('ContractMethod',) - r110 = 'dank_mids.brownie_patch.types' - r111 = dank_mids.brownie_patch.call.globals :: static - r112 = CPyImport_ImportFromMany(r110, r109, r109, r111) - if is_error(r112) goto L222 (error at :41) else goto L26 + r27 = CPy_CatchError() + r4.__mypyc_temp__18 = r27; r28 = is_error + if not r28 goto L155 (error at first_completed:-1) else goto L26 :: bool L26: - dank_mids.brownie_patch.types = r112 :: module - dec_ref r112 - r113 = ('lru_cache_lite_nonull',) - r114 = 'dank_mids.helpers.lru_cache' - r115 = dank_mids.brownie_patch.call.globals :: static - r116 = CPyImport_ImportFromMany(r114, r113, r113, r115) - if is_error(r116) goto L222 (error at :42) else goto L27 + r29 = load_address r1 + r30 = r4.__mypyc_temp__17 + if is_error(r30) goto L155 (error at first_completed:-1) else goto L27 L27: - dank_mids.helpers.lru_cache = r116 :: module - dec_ref r116 - r117 = ('DankWeb3',) - r118 = 'dank_mids.helpers._helpers' - r119 = dank_mids.brownie_patch.call.globals :: static - r120 = CPyImport_ImportFromMany(r118, r117, r117, r119) - if is_error(r120) goto L222 (error at :43) else goto L28 + r31 = CPy_YieldFromErrorHandle(r30, r29) + dec_ref r30 + if is_error(r31) goto L155 (error at first_completed:79) else goto L28 L28: - dank_mids.helpers._helpers = r120 :: module - dec_ref r120 - r121 = dank_mids.brownie_patch.call.globals :: static - r122 = 'ENVIRONMENT_VARIABLES' - r123 = CPyDict_GetItem(r121, r122) - if is_error(r123) goto L222 (error at :46) else goto L29 + if r31 goto L34 else goto L29 :: bool L29: - dank_mids.brownie_patch.call.ENVS = r123 :: static - r124 = dank_mids.brownie_patch.call.globals :: static - r125 = 'ENVS' - r126 = CPyDict_SetItem(r124, r125, r123) - dec_ref r123 - r127 = r126 >= 0 :: signed - if not r127 goto L222 (error at :46) else goto L30 :: bool + if is_error(r1) goto L30 else goto L32 L30: - r128 = dank_mids.brownie_patch.call.ENVS :: static - if is_error(r128) goto L31 else goto L33 + r32 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r32 goto L39 (error at first_completed:-1) else goto L156 :: bool L31: - r129 = raise NameError('value for final name "ENVS" was not set') - if not r129 goto L222 (error at :47) else goto L32 :: bool -L32: unreachable +L32: + inc_ref r1 + r23 = r1 + r33 = r4.__mypyc_temp__18 + if is_error(r33) goto L157 (error at first_completed:-1) else goto L33 L33: - r130 = 'OPERATION_MODE' - r131 = CPyObject_GetAttr(r128, r130) - if is_error(r131) goto L222 (error at :47) else goto L34 -L34: - r132 = 'application' - r133 = CPyObject_GetAttr(r131, r132) - dec_ref r131 - if is_error(r133) goto L222 (error at :47) else goto L35 -L35: - r134 = unbox(bool, r133) - if is_error(r134) goto L223 (error at :47) else goto L36 -L36: - dank_mids.brownie_patch.call.APPLICATION_MODE = r134 :: static - r135 = dank_mids.brownie_patch.call.globals :: static - r136 = 'APPLICATION_MODE' - r137 = CPyDict_SetItem(r135, r136, r133) - dec_ref r133 - r138 = r137 >= 0 :: signed - if not r138 goto L222 (error at :47) else goto L37 :: bool + CPy_RestoreExcInfo(r33) + dec_ref r33 + goto L19 +L34: + if is_error(r1) goto L35 else goto L37 +L35: + r34 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r34 goto L39 (error at first_completed:-1) else goto L158 :: bool +L36: + unreachable L37: - r139 = '_T' - r140 = dank_mids.brownie_patch.call.globals :: static - r141 = 'TypeVar' - r142 = CPyDict_GetItem(r140, r141) - if is_error(r142) goto L222 (error at :50) else goto L38 + r22 = r1 + r35 = r4.__mypyc_temp__18 + if is_error(r35) goto L159 (error at first_completed:-1) else goto L38 L38: - r143 = [r139] - r144 = load_address r143 - r145 = _PyObject_Vectorcall(r142, r144, 1, 0) - dec_ref r142 - if is_error(r145) goto L222 (error at :50) else goto L39 + CPy_RestoreExcInfo(r35) + dec_ref r35 + goto L47 L39: - r146 = dank_mids.brownie_patch.call.globals :: static - r147 = '_T' - r148 = CPyDict_SetItem(r146, r147, r145) - dec_ref r145 - r149 = r148 >= 0 :: signed - if not r149 goto L222 (error at :50) else goto L40 :: bool + r36 = r4.__mypyc_temp__18 + dec_ref r4 + if is_error(r36) goto L141 (error at first_completed:-1) else goto L40 L40: - r150 = 'TypeStr' - r151 = load_address PyUnicode_Type - r152 = dank_mids.brownie_patch.call.globals :: static - r153 = 'NewType' - r154 = CPyDict_GetItem(r152, r153) - if is_error(r154) goto L222 (error at :51) else goto L41 + CPy_RestoreExcInfo(r36) + dec_ref r36 + r37 = CPy_KeepPropagating() + if not r37 goto L141 else goto L41 :: bool L41: - r155 = [r150, r151] - r156 = load_address r155 - r157 = _PyObject_Vectorcall(r154, r156, 2, 0) - dec_ref r154 - if is_error(r157) goto L222 (error at :51) else goto L42 + unreachable L42: - r158 = dank_mids.brownie_patch.call.globals :: static - r159 = 'TypeStr' - r160 = CPyDict_SetItem(r158, r159, r157) - dec_ref r157 - r161 = r160 >= 0 :: signed - if not r161 goto L222 (error at :51) else goto L43 :: bool + r38 = r4.__mypyc_temp__17 + if is_error(r38) goto L160 (error at first_completed:-1) else goto L43 L43: - r162 = dank_mids.brownie_patch.call.globals :: static - r163 = 'List' - r164 = CPyDict_GetItem(r162, r163) - if is_error(r164) goto L222 (error at :52) else goto L44 + r39 = CPyIter_Send(r38, arg) + dec_ref r38 + dec_ref arg + if is_error(r39) goto L161 else goto L44 L44: - r165 = dank_mids.brownie_patch.call.globals :: static - r166 = 'TypeStr' - r167 = CPyDict_GetItem(r165, r166) - if is_error(r167) goto L224 (error at :52) else goto L45 + r23 = r39 + goto L19 L45: - r168 = PyObject_GetItem(r164, r167) - dec_ref r164 - dec_ref r167 - if is_error(r168) goto L222 (error at :52) else goto L46 + r40 = CPy_FetchStopIterationValue() + if is_error(r40) goto L151 (error at first_completed:79) else goto L46 L46: - r169 = dank_mids.brownie_patch.call.globals :: static - r170 = 'TypeStrs' - r171 = CPyDict_SetItem(r169, r170, r168) - dec_ref r168 - r172 = r171 >= 0 :: signed - if not r172 goto L222 (error at :52) else goto L47 :: bool + r22 = r40 L47: - r173 = dank_mids.brownie_patch.call.globals :: static - r174 = 'Union' - r175 = CPyDict_GetItem(r173, r174) - if is_error(r175) goto L222 (error at :53) else goto L48 + r41 = unbox(tuple[set, set], r22) + dec_ref r22 + if is_error(r41) goto L151 (error at first_completed:79) else goto L48 L48: - r176 = dank_mids.brownie_patch.call.globals :: static - r177 = 'List' - r178 = CPyDict_GetItem(r176, r177) - if is_error(r178) goto L225 (error at :53) else goto L49 + r42 = box(tuple[set, set], r41) + r4.__mypyc_next_label__ = -2; r43 = is_error + dec_ref r4 + if not r43 goto L162 (error at first_completed:79) else goto L49 :: bool L49: - r179 = dank_mids.brownie_patch.call.globals :: static - r180 = '_T' - r181 = CPyDict_GetItem(r179, r180) - if is_error(r181) goto L226 (error at :53) else goto L50 + CPyGen_SetStopIterationValue(r42) + dec_ref r42 + if not 0 goto L141 else goto L50 :: bool L50: - r182 = PyObject_GetItem(r178, r181) - dec_ref r178 - dec_ref r181 - if is_error(r182) goto L225 (error at :53) else goto L51 + unreachable L51: - r183 = dank_mids.brownie_patch.call.globals :: static - r184 = 'Tuple' - r185 = CPyDict_GetItem(r183, r184) - if is_error(r185) goto L227 (error at :53) else goto L52 + r44 = r4.fs + if is_error(r44) goto L163 (error at first_completed:81) else goto L52 L52: - r186 = dank_mids.brownie_patch.call.globals :: static - r187 = '_T' - r188 = CPyDict_GetItem(r186, r187) - if is_error(r188) goto L228 (error at :53) else goto L53 + r45 = 'FIRST_COMPLETED' + r46 = dank_mids.helpers._gather.wait :: static + if is_error(r46) goto L164 else goto L55 L53: - r189 = load_address _Py_EllipsisObject - inc_ref r189 - r190 = (r188, r189) - r191 = box(tuple[object, object], r190) - r192 = PyObject_GetItem(r185, r191) - dec_ref r185 - dec_ref r191 - if is_error(r192) goto L227 (error at :53) else goto L54 + r47 = raise NameError('value for final name "wait" was not set') + if not r47 goto L94 (error at first_completed:81) else goto L165 :: bool L54: - r193 = (r182, r192) - r194 = box(tuple[object, object], r193) - r195 = PyObject_GetItem(r175, r194) - dec_ref r175 - dec_ref r194 - if is_error(r195) goto L222 (error at :53) else goto L55 + unreachable L55: - r196 = dank_mids.brownie_patch.call.globals :: static - r197 = 'ListOrTuple' - r198 = CPyDict_SetItem(r196, r197, r195) - dec_ref r195 - r199 = r198 >= 0 :: signed - if not r199 goto L222 (error at :53) else goto L56 :: bool + r48 = [r44, r45] + r49 = load_address r48 + r50 = ('return_when',) + r51 = _PyObject_Vectorcall(r46, r49, 1, r50) + if is_error(r51) goto L166 (error at first_completed:81) else goto L56 L56: - r200 = 'AbiDict' - r201 = dank_mids.brownie_patch.call.globals :: static - r202 = 'Dict' - r203 = CPyDict_GetItem(r201, r202) - if is_error(r203) goto L222 (error at :54) else goto L57 + dec_ref r44 + r52 = CPy_GetCoro(r51) + dec_ref r51 + if is_error(r52) goto L163 (error at first_completed:81) else goto L57 L57: - r204 = load_address PyUnicode_Type - r205 = dank_mids.brownie_patch.call.globals :: static - r206 = 'Any' - r207 = CPyDict_GetItem(r205, r206) - if is_error(r207) goto L229 (error at :54) else goto L58 + r4.__mypyc_temp__19 = r52; r53 = is_error + if not r53 goto L163 (error at first_completed:-1) else goto L58 :: bool L58: - inc_ref r204 - r208 = (r204, r207) - r209 = box(tuple[object, object], r208) - r210 = PyObject_GetItem(r203, r209) - dec_ref r203 - dec_ref r209 - if is_error(r210) goto L222 (error at :54) else goto L59 + r54 = r4.__mypyc_temp__19 + if is_error(r54) goto L163 (error at first_completed:-1) else goto L59 L59: - r211 = dank_mids.brownie_patch.call.globals :: static - r212 = 'NewType' - r213 = CPyDict_GetItem(r211, r212) - if is_error(r213) goto L230 (error at :54) else goto L60 + r55 = CPyIter_Next(r54) + dec_ref r54 + if is_error(r55) goto L167 else goto L62 L60: - r214 = [r200, r210] - r215 = load_address r214 - r216 = _PyObject_Vectorcall(r213, r215, 2, 0) - dec_ref r213 - if is_error(r216) goto L230 (error at :54) else goto L61 + r56 = CPy_FetchStopIterationValue() + if is_error(r56) goto L94 (error at first_completed:81) else goto L61 L61: - dec_ref r210 - r217 = dank_mids.brownie_patch.call.globals :: static - r218 = 'AbiDict' - r219 = CPyDict_SetItem(r217, r218, r216) - dec_ref r216 - r220 = r219 >= 0 :: signed - if not r220 goto L222 (error at :54) else goto L62 :: bool + r57 = r56 + goto L91 L62: - r221 = decimal :: module - r222 = 'Decimal' - r223 = CPyObject_GetAttr(r221, r222) - if is_error(r223) goto L222 (error at :58) else goto L63 + r58 = r55 L63: - dank_mids.brownie_patch.call.Decimal = r223 :: static - r224 = dank_mids.brownie_patch.call.globals :: static - r225 = 'Decimal' - r226 = CPyDict_SetItem(r224, r225, r223) - dec_ref r223 - r227 = r226 >= 0 :: signed - if not r227 goto L222 (error at :58) else goto L64 :: bool + r4.__mypyc_next_label__ = 4; r59 = is_error + if not r59 goto L168 (error at first_completed:81) else goto L169 :: bool L64: - r228 = dank_mids.brownie_patch.call.globals :: static - r229 = 'hexbytes' - r230 = CPyDict_GetItem(r228, r229) - if is_error(r230) goto L222 (error at :59) else goto L65 + return r58 L65: - r231 = 'HexBytes' - r232 = CPyObject_GetAttr(r230, r231) - dec_ref r230 - if is_error(r232) goto L222 (error at :59) else goto L66 + r60 = load_address _Py_NoneStruct + r61 = type != r60 + if r61 goto L66 else goto L68 :: bool L66: - dank_mids.brownie_patch.call.HexBytes = r232 :: static - r233 = dank_mids.brownie_patch.call.globals :: static - r234 = 'HexBytes' - r235 = CPyDict_SetItem(r233, r234, r232) - dec_ref r232 - r236 = r235 >= 0 :: signed - if not r236 goto L222 (error at :59) else goto L67 :: bool + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L69 (error at first_completed:81) else goto L170 :: bool L67: - r237 = dank_mids.brownie_patch.call.globals :: static - r238 = 'brownie' - r239 = CPyDict_GetItem(r237, r238) - if is_error(r239) goto L222 (error at :60) else goto L68 + unreachable L68: - r240 = 'network' - r241 = CPyObject_GetAttr(r239, r240) - dec_ref r239 - if is_error(r241) goto L222 (error at :60) else goto L69 + inc_ref arg + goto L86 L69: - r242 = 'contract' - r243 = CPyObject_GetAttr(r241, r242) - dec_ref r241 - if is_error(r243) goto L222 (error at :60) else goto L70 + r62 = CPy_CatchError() + r4.__mypyc_temp__20 = r62; r63 = is_error + if not r63 goto L171 (error at first_completed:-1) else goto L70 :: bool L70: - r244 = 'Contract' - r245 = CPyObject_GetAttr(r243, r244) - dec_ref r243 - if is_error(r245) goto L222 (error at :60) else goto L71 + r64 = load_address r3 + r65 = r4.__mypyc_temp__19 + if is_error(r65) goto L171 (error at first_completed:-1) else goto L71 L71: - dank_mids.brownie_patch.call.Contract = r245 :: static - r246 = dank_mids.brownie_patch.call.globals :: static - r247 = 'Contract' - r248 = CPyDict_SetItem(r246, r247, r245) - dec_ref r245 - r249 = r248 >= 0 :: signed - if not r249 goto L222 (error at :60) else goto L72 :: bool -L72: - r250 = dank_mids.brownie_patch.call.globals :: static - r251 = 'brownie' - r252 = CPyDict_GetItem(r250, r251) - if is_error(r252) goto L222 (error at :61) else goto L73 -L73: - r253 = 'convert' - r254 = CPyObject_GetAttr(r252, r253) - dec_ref r252 - if is_error(r254) goto L222 (error at :61) else goto L74 + r66 = CPy_YieldFromErrorHandle(r65, r64) + dec_ref r65 + if is_error(r66) goto L171 (error at first_completed:81) else goto L72 +L72: + if r66 goto L78 else goto L73 :: bool +L73: + if is_error(r3) goto L74 else goto L76 L74: - r255 = 'datatypes' - r256 = CPyObject_GetAttr(r254, r255) - dec_ref r254 - if is_error(r256) goto L222 (error at :61) else goto L75 + r67 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r67 goto L83 (error at first_completed:-1) else goto L172 :: bool L75: - r257 = 'ReturnValue' - r258 = CPyObject_GetAttr(r256, r257) - dec_ref r256 - if is_error(r258) goto L222 (error at :61) else goto L76 + unreachable L76: - dank_mids.brownie_patch.call.ReturnValue = r258 :: static - r259 = dank_mids.brownie_patch.call.globals :: static - r260 = 'ReturnValue' - r261 = CPyDict_SetItem(r259, r260, r258) - dec_ref r258 - r262 = r261 >= 0 :: signed - if not r262 goto L222 (error at :61) else goto L77 :: bool + inc_ref r3 + r58 = r3 + r68 = r4.__mypyc_temp__20 + if is_error(r68) goto L173 (error at first_completed:-1) else goto L77 L77: - r263 = dank_mids.brownie_patch.call.globals :: static - r264 = 'brownie' - r265 = CPyDict_GetItem(r263, r264) - if is_error(r265) goto L222 (error at :62) else goto L78 + CPy_RestoreExcInfo(r68) + dec_ref r68 + goto L63 L78: - r266 = 'convert' - r267 = CPyObject_GetAttr(r265, r266) - dec_ref r265 - if is_error(r267) goto L222 (error at :62) else goto L79 + if is_error(r3) goto L79 else goto L81 L79: - r268 = 'normalize' - r269 = CPyObject_GetAttr(r267, r268) - dec_ref r267 - if is_error(r269) goto L222 (error at :62) else goto L80 + r69 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r69 goto L83 (error at first_completed:-1) else goto L174 :: bool L80: - r270 = 'HexString' - r271 = CPyObject_GetAttr(r269, r270) - dec_ref r269 - if is_error(r271) goto L222 (error at :62) else goto L81 + unreachable L81: - dank_mids.brownie_patch.call.HexString = r271 :: static - r272 = dank_mids.brownie_patch.call.globals :: static - r273 = 'HexString' - r274 = CPyDict_SetItem(r272, r273, r271) - dec_ref r271 - r275 = r274 >= 0 :: signed - if not r275 goto L222 (error at :62) else goto L82 :: bool + r57 = r3 + r70 = r4.__mypyc_temp__20 + if is_error(r70) goto L175 (error at first_completed:-1) else goto L82 L82: - r276 = dank_mids.brownie_patch.call.globals :: static - r277 = 'brownie' - r278 = CPyDict_GetItem(r276, r277) - if is_error(r278) goto L222 (error at :63) else goto L83 + CPy_RestoreExcInfo(r70) + dec_ref r70 + goto L91 L83: - r279 = 'convert' - r280 = CPyObject_GetAttr(r278, r279) - dec_ref r278 - if is_error(r280) goto L222 (error at :63) else goto L84 + r71 = r4.__mypyc_temp__20 + if is_error(r71) goto L94 (error at first_completed:-1) else goto L84 L84: - r281 = 'normalize' - r282 = CPyObject_GetAttr(r280, r281) - dec_ref r280 - if is_error(r282) goto L222 (error at :63) else goto L85 + CPy_RestoreExcInfo(r71) + dec_ref r71 + r72 = CPy_KeepPropagating() + if not r72 goto L94 else goto L176 :: bool L85: - r283 = 'TupleType' - r284 = CPyObject_GetAttr(r282, r283) - dec_ref r282 - if is_error(r284) goto L222 (error at :63) else goto L86 + unreachable L86: - dank_mids.brownie_patch.call.TupleType = r284 :: static - r285 = dank_mids.brownie_patch.call.globals :: static - r286 = 'TupleType' - r287 = CPyDict_SetItem(r285, r286, r284) - dec_ref r284 - r288 = r287 >= 0 :: signed - if not r288 goto L222 (error at :63) else goto L87 :: bool + r73 = r4.__mypyc_temp__19 + if is_error(r73) goto L177 (error at first_completed:-1) else goto L87 L87: - r289 = dank_mids.brownie_patch.call.globals :: static - r290 = 'exceptions' - r291 = CPyDict_GetItem(r289, r290) - if is_error(r291) goto L222 (error at :65) else goto L88 + r74 = CPyIter_Send(r73, arg) + dec_ref r73 + dec_ref arg + if is_error(r74) goto L178 else goto L88 L88: - r292 = 'Revert' - r293 = CPyObject_GetAttr(r291, r292) - dec_ref r291 - if is_error(r293) goto L222 (error at :65) else goto L89 + r58 = r74 + goto L63 L89: - dank_mids.brownie_patch.call.Revert = r293 :: static - r294 = dank_mids.brownie_patch.call.globals :: static - r295 = 'Revert' - r296 = CPyDict_SetItem(r294, r295, r293) - dec_ref r293 - r297 = r296 >= 0 :: signed - if not r297 goto L222 (error at :65) else goto L90 :: bool + r75 = CPy_FetchStopIterationValue() + if is_error(r75) goto L94 (error at first_completed:81) else goto L90 L90: - r298 = dank_mids.brownie_patch.call.globals :: static - r299 = 'brownie' - r300 = CPyDict_GetItem(r298, r299) - if is_error(r300) goto L222 (error at :67) else goto L91 + r57 = r75 L91: - r301 = 'convert' - r302 = CPyObject_GetAttr(r300, r301) - dec_ref r300 - if is_error(r302) goto L222 (error at :67) else goto L92 + r76 = unbox(tuple[set, set], r57) + dec_ref r57 + if is_error(r76) goto L94 (error at first_completed:81) else goto L92 L92: - r303 = 'normalize' - r304 = CPyObject_GetAttr(r302, r303) - dec_ref r302 - if is_error(r304) goto L222 (error at :67) else goto L93 + r77 = borrow r76[0] + r78 = unborrow r77 + r4.done = r78; r79 = is_error + if not r79 goto L179 (error at first_completed:81) else goto L93 :: bool L93: - r305 = 'to_bool' - r306 = CPyObject_GetAttr(r304, r305) - dec_ref r304 - if is_error(r306) goto L222 (error at :67) else goto L94 + r80 = borrow r76[1] + r81 = unborrow r80 + r4.pending = r81; r82 = is_error + if not r82 goto L179 (error at first_completed:81) else goto L121 :: bool L94: - dank_mids.brownie_patch.call.to_bool = r306 :: static - r307 = dank_mids.brownie_patch.call.globals :: static - r308 = 'to_bool' - r309 = CPyDict_SetItem(r307, r308, r306) - dec_ref r306 - r310 = r309 >= 0 :: signed - if not r310 goto L222 (error at :67) else goto L95 :: bool + r83 = CPy_CatchError() + r4.__mypyc_temp__21 = r83; r84 = is_error + if not r84 goto L118 (error at first_completed:-1) else goto L95 :: bool L95: - r311 = dank_mids.brownie_patch.call.globals :: static - r312 = 'brownie' - r313 = CPyDict_GetItem(r311, r312) - if is_error(r313) goto L222 (error at :68) else goto L96 + r85 = dank_mids.helpers._gather.CancelledError :: static + if is_error(r85) goto L96 else goto L98 L96: - r314 = 'convert' - r315 = CPyObject_GetAttr(r313, r314) - dec_ref r313 - if is_error(r315) goto L222 (error at :68) else goto L97 + r86 = raise NameError('value for final name "CancelledError" was not set') + if not r86 goto L118 (error at first_completed:82) else goto L180 :: bool L97: - r316 = 'normalize' - r317 = CPyObject_GetAttr(r315, r316) - dec_ref r315 - if is_error(r317) goto L222 (error at :68) else goto L98 + unreachable L98: - r318 = 'to_decimal' - r319 = CPyObject_GetAttr(r317, r318) - dec_ref r317 - if is_error(r319) goto L222 (error at :68) else goto L99 + r87 = CPy_ExceptionMatches(r85) + if r87 goto L99 else goto L116 :: bool L99: - dank_mids.brownie_patch.call.to_decimal = r319 :: static - r320 = dank_mids.brownie_patch.call.globals :: static - r321 = 'to_decimal' - r322 = CPyDict_SetItem(r320, r321, r319) - dec_ref r319 - r323 = r322 >= 0 :: signed - if not r323 goto L222 (error at :68) else goto L100 :: bool + r88 = r4.fs + if is_error(r88) goto L118 (error at first_completed:83) else goto L100 L100: - r324 = dank_mids.brownie_patch.call.globals :: static - r325 = 'brownie' - r326 = CPyDict_GetItem(r324, r325) - if is_error(r326) goto L222 (error at :69) else goto L101 + r4.__mypyc_temp__22 = r88; r89 = is_error + if not r89 goto L118 (error at first_completed:-1) else goto L101 :: bool L101: - r327 = 'convert' - r328 = CPyObject_GetAttr(r326, r327) - dec_ref r326 - if is_error(r328) goto L222 (error at :69) else goto L102 + r4.__mypyc_temp__23 = 0; r90 = is_error + if not r90 goto L118 (error at first_completed:-1) else goto L102 :: bool L102: - r329 = 'normalize' - r330 = CPyObject_GetAttr(r328, r329) - dec_ref r328 - if is_error(r330) goto L222 (error at :69) else goto L103 + r91 = r4.__mypyc_temp__22 + if is_error(r91) goto L118 (error at first_completed:83) else goto L103 L103: - r331 = 'to_int' - r332 = CPyObject_GetAttr(r330, r331) - dec_ref r330 - if is_error(r332) goto L222 (error at :69) else goto L104 + r92 = get_element_ptr r91 ob_size :: PyVarObject + r93 = load_mem r92 :: native_int* + dec_ref r91 + r94 = r93 << 1 + r95 = r4.__mypyc_temp__23 + if is_error(r95) goto L118 (error at first_completed:83) else goto L104 L104: - dank_mids.brownie_patch.call.to_int = r332 :: static - r333 = dank_mids.brownie_patch.call.globals :: static - r334 = 'to_int' - r335 = CPyDict_SetItem(r333, r334, r332) - dec_ref r332 - r336 = r335 >= 0 :: signed - if not r336 goto L222 (error at :69) else goto L105 :: bool + r96 = r95 < r94 :: signed + if r96 goto L105 else goto L114 :: bool L105: - r337 = dank_mids.brownie_patch.call.globals :: static - r338 = 'brownie' - r339 = CPyDict_GetItem(r337, r338) - if is_error(r339) goto L222 (error at :70) else goto L106 + r97 = r4.__mypyc_temp__22 + if is_error(r97) goto L118 (error at first_completed:83) else goto L106 L106: - r340 = 'convert' - r341 = CPyObject_GetAttr(r339, r340) - dec_ref r339 - if is_error(r341) goto L222 (error at :70) else goto L107 + r98 = r4.__mypyc_temp__23 + if is_error(r98) goto L181 (error at first_completed:83) else goto L107 L107: - r342 = 'normalize' - r343 = CPyObject_GetAttr(r341, r342) - dec_ref r341 - if is_error(r343) goto L222 (error at :70) else goto L108 + r99 = CPySequenceTuple_GetItem(r97, r98) + dec_ref r97 + if is_error(r99) goto L118 (error at first_completed:83) else goto L108 L108: - r344 = 'to_string' - r345 = CPyObject_GetAttr(r343, r344) - dec_ref r343 - if is_error(r345) goto L222 (error at :70) else goto L109 + r4.f = r99; r100 = is_error + if not r100 goto L118 (error at first_completed:83) else goto L109 :: bool L109: - dank_mids.brownie_patch.call.to_string = r345 :: static - r346 = dank_mids.brownie_patch.call.globals :: static - r347 = 'to_string' - r348 = CPyDict_SetItem(r346, r347, r345) - dec_ref r345 - r349 = r348 >= 0 :: signed - if not r349 goto L222 (error at :70) else goto L110 :: bool + r101 = r4.f + if is_error(r101) goto L118 (error at first_completed:84) else goto L110 L110: - r350 = dank_mids.brownie_patch.call.globals :: static - r351 = 'brownie' - r352 = CPyDict_GetItem(r350, r351) - if is_error(r352) goto L222 (error at :71) else goto L111 + r102 = 'cancel' + r103 = [r101] + r104 = load_address r103 + r105 = PyObject_VectorcallMethod(r102, r104, 9223372036854775809, 0) + if is_error(r105) goto L182 (error at first_completed:84) else goto L183 L111: - r353 = 'convert' - r354 = CPyObject_GetAttr(r352, r353) - dec_ref r352 - if is_error(r354) goto L222 (error at :71) else goto L112 + dec_ref r101 L112: - r355 = 'normalize' - r356 = CPyObject_GetAttr(r354, r355) - dec_ref r354 - if is_error(r356) goto L222 (error at :71) else goto L113 + r106 = r4.__mypyc_temp__23 + if is_error(r106) goto L118 (error at first_completed:83) else goto L113 L113: - r357 = 'to_uint' - r358 = CPyObject_GetAttr(r356, r357) - dec_ref r356 - if is_error(r358) goto L222 (error at :71) else goto L114 + r107 = r106 + 2 + r4.__mypyc_temp__23 = r107; r108 = is_error + if not r108 goto L118 (error at first_completed:83) else goto L102 :: bool L114: - dank_mids.brownie_patch.call.to_uint = r358 :: static - r359 = dank_mids.brownie_patch.call.globals :: static - r360 = 'to_uint' - r361 = CPyDict_SetItem(r359, r360, r358) - dec_ref r358 - r362 = r361 >= 0 :: signed - if not r362 goto L222 (error at :71) else goto L115 :: bool + CPy_Reraise() + if not 0 goto L118 else goto L184 :: bool L115: - r363 = dank_mids.brownie_patch.call.globals :: static - r364 = 'brownie' - r365 = CPyDict_GetItem(r363, r364) - if is_error(r365) goto L222 (error at :72) else goto L116 + unreachable L116: - r366 = 'convert' - r367 = CPyObject_GetAttr(r365, r366) - dec_ref r365 - if is_error(r367) goto L222 (error at :72) else goto L117 + CPy_Reraise() + if not 0 goto L118 else goto L185 :: bool L117: - r368 = 'normalize' - r369 = CPyObject_GetAttr(r367, r368) - dec_ref r367 - if is_error(r369) goto L222 (error at :72) else goto L118 -L118: - r370 = '_check_array' - r371 = CPyObject_GetAttr(r369, r370) - dec_ref r369 - if is_error(r371) goto L222 (error at :72) else goto L119 + unreachable +L118: + r109 = r4.__mypyc_temp__21 + dec_ref r4 + if is_error(r109) goto L141 (error at first_completed:-1) else goto L119 L119: - dank_mids.brownie_patch.call._check_array = r371 :: static - r372 = dank_mids.brownie_patch.call.globals :: static - r373 = '_check_array' - r374 = CPyDict_SetItem(r372, r373, r371) - dec_ref r371 - r375 = r374 >= 0 :: signed - if not r375 goto L222 (error at :72) else goto L120 :: bool + CPy_RestoreExcInfo(r109) + dec_ref r109 + r110 = CPy_KeepPropagating() + if not r110 goto L141 else goto L120 :: bool L120: - r376 = dank_mids.brownie_patch.call.globals :: static - r377 = 'brownie' - r378 = CPyDict_GetItem(r376, r377) - if is_error(r378) goto L222 (error at :73) else goto L121 + unreachable L121: - r379 = 'convert' - r380 = CPyObject_GetAttr(r378, r379) - dec_ref r378 - if is_error(r380) goto L222 (error at :73) else goto L122 + r111 = r4.pending + if is_error(r111) goto L151 (error at first_completed:86) else goto L122 L122: - r381 = 'normalize' - r382 = CPyObject_GetAttr(r380, r381) - dec_ref r380 - if is_error(r382) goto L222 (error at :73) else goto L123 + r112 = PyObject_GetIter(r111) + if is_error(r112) goto L186 (error at first_completed:86) else goto L123 L123: - r383 = '_get_abi_types' - r384 = CPyObject_GetAttr(r382, r383) - dec_ref r382 - if is_error(r384) goto L222 (error at :73) else goto L124 + r4.__mypyc_temp__24 = r111; r113 = is_error + if not r113 goto L187 (error at first_completed:-1) else goto L124 :: bool L124: - dank_mids.brownie_patch.call._get_abi_types = r384 :: static - r385 = dank_mids.brownie_patch.call.globals :: static - r386 = '_get_abi_types' - r387 = CPyDict_SetItem(r385, r386, r384) - dec_ref r384 - r388 = r387 >= 0 :: signed - if not r388 goto L222 (error at :73) else goto L125 :: bool + r4.__mypyc_temp__25 = r112; r114 = is_error + if not r114 goto L151 (error at first_completed:-1) else goto L125 :: bool L125: - r389 = dank_mids.brownie_patch.call.globals :: static - r390 = '__name__' - r391 = CPyDict_GetItem(r389, r390) - if is_error(r391) goto L222 (error at :76) else goto L126 + r115 = r4.__mypyc_temp__25 + if is_error(r115) goto L151 (error at first_completed:86) else goto L126 L126: - r392 = cast(str, r391) - if is_error(r392) goto L222 (error at :76) else goto L127 + r116 = PyIter_Next(r115) + dec_ref r115 + if is_error(r116) goto L131 else goto L127 L127: - r393 = dank_mids._logging.getLogger :: static - if is_error(r393) goto L231 else goto L130 + r4.p = r116; r117 = is_error + if not r117 goto L151 (error at first_completed:86) else goto L128 :: bool L128: - r394 = raise NameError('value for final name "getLogger" was not set') - if not r394 goto L222 (error at :76) else goto L129 :: bool + r118 = r4.p + if is_error(r118) goto L151 (error at first_completed:87) else goto L129 L129: - unreachable + r119 = 'cancel' + r120 = [r118] + r121 = load_address r120 + r122 = PyObject_VectorcallMethod(r119, r121, 9223372036854775809, 0) + if is_error(r122) goto L188 (error at first_completed:87) else goto L189 L130: - r395 = [r392] - r396 = load_address r395 - r397 = _PyObject_Vectorcall(r393, r396, 1, 0) - if is_error(r397) goto L232 (error at :76) else goto L131 + dec_ref r118 + goto L125 L131: - dec_ref r392 - dank_mids.brownie_patch.call.logger = r397 :: static - r398 = dank_mids.brownie_patch.call.globals :: static - r399 = 'logger' - r400 = CPyDict_SetItem(r398, r399, r397) - dec_ref r397 - r401 = r400 >= 0 :: signed - if not r401 goto L222 (error at :76) else goto L132 :: bool + r123 = CPy_NoErrOccurred() + if not r123 goto L151 (error at first_completed:86) else goto L132 :: bool L132: - r402 = __mypyc_lambda__0_obj() - if is_error(r402) goto L222 (error at :79) else goto L133 + r124 = r4.done + if is_error(r124) goto L151 (error at first_completed:88) else goto L133 L133: - dank_mids.brownie_patch.call.encode = r402 :: static - r403 = dank_mids.brownie_patch.call.globals :: static - r404 = 'encode' - r405 = CPyDict_SetItem(r403, r404, r402) - dec_ref r402 - r406 = r405 >= 0 :: signed - if not r406 goto L222 (error at :79) else goto L134 :: bool + r4.__mypyc_next_label__ = -2; r125 = is_error + dec_ref r4 + if not r125 goto L190 (error at first_completed:88) else goto L134 :: bool L134: - r407 = __mypyc_lambda__1_obj() - if is_error(r407) goto L222 (error at :98) else goto L135 + CPyGen_SetStopIterationValue(r124) + dec_ref r124 + if not 0 goto L141 else goto L135 :: bool L135: - dank_mids.brownie_patch.call.decode = r407 :: static - r408 = dank_mids.brownie_patch.call.globals :: static - r409 = 'decode' - r410 = CPyDict_SetItem(r408, r409, r407) - dec_ref r407 - r411 = r410 >= 0 :: signed - if not r411 goto L222 (error at :98) else goto L136 :: bool + unreachable L136: - r412 = dank_mids.brownie_patch.call.globals :: static - r413 = 'Address' - r414 = CPyDict_GetItem(r412, r413) - if is_error(r414) goto L222 (error at :119) else goto L137 + r126 = r5 == 0 + if r126 goto L191 else goto L137 :: bool L137: - r415 = 'checksum' - r416 = CPyObject_GetAttr(r414, r415) - dec_ref r414 - if is_error(r416) goto L222 (error at :119) else goto L138 + r127 = r5 == 2 + if r127 goto L192 else goto L193 :: bool L138: - dank_mids.brownie_patch.call.to_checksum_address = r416 :: static - r417 = dank_mids.brownie_patch.call.globals :: static - r418 = 'to_checksum_address' - r419 = CPyDict_SetItem(r417, r418, r416) - dec_ref r416 - r420 = r419 >= 0 :: signed - if not r420 goto L222 (error at :119) else goto L139 :: bool + r128 = r5 == 4 + dec_ref r5 :: int + if r128 goto L65 else goto L194 :: bool L139: - r421 = dank_mids.brownie_patch.call.globals :: static - r422 = '_get_coroutine_fn' - r423 = CPyDict_GetItem(r421, r422) - if is_error(r423) goto L222 (error at :137) else goto L140 + r129 = raise StopIteration + if not r129 goto L141 (error at first_completed:75) else goto L140 :: bool L140: - r424 = dank_mids.brownie_patch.call.globals :: static - r425 = 'lru_cache_lite_nonull' - r426 = CPyDict_GetItem(r424, r425) - if is_error(r426) goto L233 (error at :137) else goto L141 + unreachable L141: - r427 = [r423] - r428 = load_address r427 - r429 = _PyObject_Vectorcall(r426, r428, 1, 0) - dec_ref r426 - if is_error(r429) goto L233 (error at :137) else goto L142 + r130 = :: object + return r130 L142: - dec_ref r423 - r430 = dank_mids.brownie_patch.call.globals :: static - r431 = '_get_coroutine_fn' - r432 = CPyDict_SetItem(r430, r431, r429) - dec_ref r429 - r433 = r432 >= 0 :: signed - if not r433 goto L222 (error at :137) else goto L143 :: bool + xdec_ref r1 + xdec_ref r3 + goto L141 L143: - r434 = dank_mids.brownie_patch.call.globals :: static - r435 = 'eth_abi' - r436 = CPyDict_GetItem(r434, r435) - if is_error(r436) goto L222 (error at :242) else goto L144 + xdec_ref r1 + xdec_ref r3 + dec_ref r4 + goto L141 L144: - r437 = 'encode' - r438 = PyObject_HasAttr(r436, r437) - dec_ref r436 - if r438 goto L145 else goto L148 :: bool + xdec_ref r1 + xdec_ref r3 + dec_ref r4 + goto L3 L145: - r439 = dank_mids.brownie_patch.call.globals :: static - r440 = 'eth_abi' - r441 = CPyDict_GetItem(r439, r440) - if is_error(r441) goto L222 (error at :242) else goto L146 + xdec_ref r1 + goto L51 L146: - r442 = 'encode' - r443 = CPyObject_GetAttr(r441, r442) - dec_ref r441 - if is_error(r443) goto L222 (error at :242) else goto L147 + xdec_ref r3 + goto L7 L147: - r444 = r443 - goto L151 + xdec_ref r1 + dec_ref r4 + goto L141 L148: - r445 = dank_mids.brownie_patch.call.globals :: static - r446 = 'eth_abi' - r447 = CPyDict_GetItem(r445, r446) - if is_error(r447) goto L222 (error at :242) else goto L149 + xdec_ref r1 + dec_ref r4 + dec_ref r9 + goto L9 L149: - r448 = 'encode_abi' - r449 = CPyObject_GetAttr(r447, r448) - dec_ref r447 - if is_error(r449) goto L222 (error at :242) else goto L150 + xdec_ref r1 + dec_ref r4 + dec_ref r9 + goto L141 L150: - r444 = r449 + xdec_ref r1 + goto L16 L151: - dank_mids.brownie_patch.call.__eth_abi_encode = r444 :: static - r450 = dank_mids.brownie_patch.call.globals :: static - r451 = '__eth_abi_encode' - r452 = CPyDict_SetItem(r450, r451, r444) - dec_ref r444 - r453 = r452 >= 0 :: signed - if not r453 goto L222 (error at :242) else goto L152 :: bool + dec_ref r4 + goto L141 L152: - r454 = dank_mids.brownie_patch.call.globals :: static - r455 = 'eth_abi' - r456 = CPyDict_GetItem(r454, r455) - if is_error(r456) goto L222 (error at :245) else goto L153 + dec_ref r23 + goto L25 L153: - r457 = 'decode' - r458 = PyObject_HasAttr(r456, r457) - dec_ref r456 - if r458 goto L154 else goto L157 :: bool + xdec_ref r1 + dec_ref r4 + goto L20 L154: - r459 = dank_mids.brownie_patch.call.globals :: static - r460 = 'eth_abi' - r461 = CPyDict_GetItem(r459, r460) - if is_error(r461) goto L222 (error at :245) else goto L155 + xdec_ref r1 + dec_ref r4 + goto L23 L155: - r462 = 'decode' - r463 = CPyObject_GetAttr(r461, r462) - dec_ref r461 - if is_error(r463) goto L222 (error at :245) else goto L156 + xdec_ref r1 + goto L39 L156: - r464 = r463 - goto L160 + dec_ref r4 + goto L31 L157: - r465 = dank_mids.brownie_patch.call.globals :: static - r466 = 'eth_abi' - r467 = CPyDict_GetItem(r465, r466) - if is_error(r467) goto L222 (error at :245) else goto L158 + xdec_ref r1 + dec_ref r23 + goto L39 L158: - r468 = 'decode_abi' - r469 = CPyObject_GetAttr(r467, r468) - dec_ref r467 - if is_error(r469) goto L222 (error at :245) else goto L159 + dec_ref r4 + goto L36 L159: - r464 = r469 + dec_ref r22 + goto L39 L160: - dank_mids.brownie_patch.call.__eth_abi_decode = r464 :: static - r470 = dank_mids.brownie_patch.call.globals :: static - r471 = '__eth_abi_decode' - r472 = CPyDict_SetItem(r470, r471, r464) - dec_ref r464 - r473 = r472 >= 0 :: signed - if not r473 goto L222 (error at :245) else goto L161 :: bool + xdec_ref r1 + dec_ref r4 + dec_ref arg + goto L141 L161: - r474 = '0xcA11bde05977b3631167028862bE2a173976CA11' - r475 = PySet_New(0) - if is_error(r475) goto L222 (error at :258) else goto L162 + xdec_ref r1 + goto L45 L162: - r476 = PySet_Add(r475, r474) - r477 = r476 >= 0 :: signed - if not r477 goto L234 (error at :258) else goto L163 :: bool -L163: - r478 = dank_mids.brownie_patch.call.globals :: static - r479 = '_skip_proc_pool' - r480 = CPyDict_SetItem(r478, r479, r475) - dec_ref r475 - r481 = r480 >= 0 :: signed - if not r481 goto L222 (error at :258) else goto L164 :: bool + dec_ref r42 + goto L141 +L163: + xdec_ref r3 + goto L94 L164: - if 1 goto L165 else goto L182 :: bool + xdec_ref r3 + dec_ref r44 + goto L53 L165: - r482 = dank_mids.brownie_patch.call.globals :: static - r483 = 'chain' - r484 = CPyDict_GetItem(r482, r483) - if is_error(r484) goto L168 (error at :262) else goto L166 + dec_ref r4 + goto L54 L166: - r485 = 'id' - r486 = CPyObject_GetAttr(r484, r485) - dec_ref r484 - if is_error(r486) goto L168 (error at :262) else goto L167 + xdec_ref r3 + dec_ref r44 + goto L94 L167: - r487 = dank_mids.brownie_patch.call.globals :: static - r488 = 'chainid' - r489 = CPyDict_SetItem(r487, r488, r486) - dec_ref r486 - r490 = r489 >= 0 :: signed - if not r490 goto L168 (error at :262) else goto L182 :: bool + xdec_ref r3 + goto L60 L168: - r491 = CPy_CatchError() - r492 = builtins :: module - r493 = 'Exception' - r494 = CPyObject_GetAttr(r492, r493) - if is_error(r494) goto L180 (error at :264) else goto L169 + dec_ref r58 + goto L69 L169: - r495 = CPy_ExceptionMatches(r494) - dec_ref r494 - if r495 goto L170 else goto L177 :: bool + xdec_ref r3 + dec_ref r4 + goto L64 L170: - r496 = dank_mids.brownie_patch.call.globals :: static - r497 = 'e' - r498 = CPy_GetExcValue() - r499 = CPyDict_SetItem(r496, r497, r498) - dec_ref r498 - r500 = r499 >= 0 :: signed - if not r500 goto L180 (error at :264) else goto L171 :: bool + xdec_ref r3 + dec_ref r4 + goto L67 L171: - r501 = '429' - r502 = dank_mids.brownie_patch.call.globals :: static - r503 = 'e' - r504 = CPyDict_GetItem(r502, r503) - if is_error(r504) goto L180 (error at :265) else goto L172 + xdec_ref r3 + goto L83 L172: - r505 = PyObject_Str(r504) - dec_ref r504 - if is_error(r505) goto L180 (error at :265) else goto L173 + dec_ref r4 + goto L75 L173: - r506 = PySequence_Contains(r505, r501) - dec_ref r505 - r507 = r506 >= 0 :: signed - if not r507 goto L180 (error at :265) else goto L174 :: bool + xdec_ref r3 + dec_ref r58 + goto L83 L174: - r508 = truncate r506: i32 to builtins.bool - r509 = r508 ^ 1 - if r509 goto L175 else goto L179 :: bool + dec_ref r4 + goto L80 L175: + dec_ref r57 + goto L83 +L176: + dec_ref r4 + goto L85 +L177: + xdec_ref r3 + dec_ref arg + goto L94 +L178: + xdec_ref r3 + goto L89 +L179: + dec_ref r76 + goto L94 +L180: + dec_ref r4 + goto L97 +L181: + dec_ref r97 + goto L118 +L182: + dec_ref r101 + goto L118 +L183: + dec_ref r105 + goto L111 +L184: + dec_ref r4 + goto L115 +L185: + dec_ref r4 + goto L117 +L186: + dec_ref r4 + dec_ref r111 + goto L141 +L187: + dec_ref r4 + dec_ref r112 + goto L141 +L188: + dec_ref r4 + dec_ref r118 + goto L141 +L189: + dec_ref r122 + goto L130 +L190: + dec_ref r124 + goto L141 +L191: + dec_ref r5 :: int + goto L2 +L192: + xdec_ref r3 + dec_ref r5 :: int + goto L21 +L193: + xdec_ref r1 + goto L138 +L194: + xdec_ref r3 + dec_ref r4 + goto L139 + +def first_completed_gen.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen + r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = first_completed_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def first_completed_gen.send(__mypyc_self__, arg): + __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen + arg, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = first_completed_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def first_completed_gen.__iter__(__mypyc_self__): + __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def first_completed_gen.throw(__mypyc_self__, type, value, traceback): + __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen + type, value, traceback, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + if is_error(value) goto L1 else goto L7 +L1: + inc_ref r0 + value = r0 +L2: + if is_error(traceback) goto L3 else goto L8 +L3: + inc_ref r0 + traceback = r0 +L4: + r1 = first_completed_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0) + dec_ref value + dec_ref traceback + if is_error(r1) goto L6 else goto L5 +L5: + return r1 +L6: + r2 = :: object + return r2 +L7: + inc_ref value + goto L2 +L8: + inc_ref traceback + goto L4 + +def first_completed_gen.close(__mypyc_self__): + __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen + r0 :: object + r1 :: str + r2, r3, r4, r5 :: object + r6 :: tuple[object, object, object] + r7 :: object + r8 :: str + r9 :: object + r10 :: tuple[object, object] + r11 :: object + r12 :: bit + r13 :: object + r14 :: bool + r15 :: object +L0: +L1: + r0 = builtins :: module + r1 = 'GeneratorExit' + r2 = CPyObject_GetAttr(r0, r1) + if is_error(r2) goto L3 else goto L2 +L2: + r3 = load_address _Py_NoneStruct + r4 = load_address _Py_NoneStruct + r5 = __mypyc_self__.throw(r2, r3, r4) + if is_error(r5) goto L3 else goto L11 +L3: + r6 = CPy_CatchError() + r7 = builtins :: module + r8 = 'StopIteration' + r9 = CPyObject_GetAttr(r7, r8) + if is_error(r9) goto L12 else goto L4 +L4: + r10 = (r2, r9) + r11 = box(tuple[object, object], r10) + r12 = CPy_ExceptionMatches(r11) + dec_ref r11 + if r12 goto L5 else goto L13 :: bool +L5: + CPy_RestoreExcInfo(r6) + dec_ref r6 + r13 = load_address _Py_NoneStruct + inc_ref r13 + return r13 +L6: + CPy_Reraise() + if not 0 goto L10 else goto L7 :: bool +L7: + unreachable +L8: + r14 = raise RuntimeError('generator ignored GeneratorExit') + if not r14 goto L10 else goto L9 :: bool +L9: + unreachable +L10: + r15 = :: object + return r15 +L11: + dec_ref r2 + dec_ref r5 + goto L8 +L12: + dec_ref r2 + dec_ref r6 + goto L10 +L13: + dec_ref r6 + goto L6 + +def first_completed_gen.__await__(__mypyc_self__): + __mypyc_self__ :: dank_mids.helpers._gather.first_completed_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def first_completed(fs, cancel): + fs :: tuple + cancel :: bool + r0 :: dank_mids.helpers._gather.first_completed_env + r1, r2 :: bool + r3 :: dank_mids.helpers._gather.first_completed_gen + r4, r5 :: bool + r6 :: object +L0: + if is_error(cancel) goto L1 else goto L2 +L1: + cancel = 0 +L2: + r0 = first_completed_env() + if is_error(r0) goto L9 (error at first_completed:75) else goto L3 +L3: + inc_ref fs + r0.fs = fs; r1 = is_error + if not r1 goto L10 (error at first_completed:75) else goto L4 :: bool +L4: + r0.cancel = cancel; r2 = is_error + if not r2 goto L10 (error at first_completed:75) else goto L5 :: bool +L5: + r3 = first_completed_gen() + if is_error(r3) goto L10 (error at first_completed:75) else goto L6 +L6: + inc_ref r0 + r3.__mypyc_env__ = r0; r4 = is_error + if not r4 goto L11 (error at first_completed:75) else goto L7 :: bool +L7: + r0.__mypyc_next_label__ = 0; r5 = is_error + dec_ref r0 + if not r5 goto L12 (error at first_completed:75) else goto L8 :: bool +L8: + return r3 +L9: + r6 = :: object + return r6 +L10: + dec_ref r0 + goto L9 +L11: + dec_ref r0 + dec_ref r3 + goto L9 +L12: + dec_ref r3 + goto L9 + +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str + r4 :: object + r5 :: object_ptr + r6 :: object_ptr[1] + r7 :: c_ptr + r8 :: native_int[1] + r9 :: c_ptr + r10 :: object + r11 :: dict + r12, r13 :: str + r14 :: bit + r15 :: object + r16 :: str + r17 :: dict + r18 :: object + r19 :: object_ptr + r20 :: object_ptr[1] + r21 :: c_ptr + r22 :: native_int[1] + r23 :: c_ptr + r24 :: object + r25 :: dict + r26, r27 :: str + r28 :: bit + r29 :: str + r30 :: dict + r31 :: str + r32 :: object + r33 :: object[1] + r34 :: object_ptr + r35 :: object + r36 :: dict + r37 :: str + r38 :: i32 + r39 :: bit + r40 :: dict + r41 :: str + r42 :: object + r43 :: str + r44 :: object + r45 :: dict + r46 :: str + r47 :: i32 + r48 :: bit + r49 :: dict + r50 :: str + r51 :: object + r52 :: str + r53 :: object + r54 :: dict + r55 :: str + r56 :: i32 + r57 :: bit + r58 :: object + r59 :: str + r60 :: object + r61 :: dict + r62 :: str + r63 :: i32 + r64 :: bit + r65 :: object + r66 :: str + r67 :: object + r68 :: dict + r69 :: str + r70 :: i32 + r71 :: bit + r72 :: object + r73 :: str + r74 :: object + r75 :: dict + r76 :: str + r77 :: i32 + r78 :: bit + r79 :: object + r80 :: str + r81 :: object + r82 :: dict + r83 :: str + r84 :: i32 + r85 :: bit + r86 :: dict + r87 :: str + r88 :: object + r89 :: str + r90 :: object + r91 :: str + r92 :: object + r93 :: dict + r94 :: str + r95 :: i32 + r96 :: bit + r97 :: None +L0: + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool +L1: + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L28 (error at :-1) else goto L2 +L2: + builtins = r4 :: module + dec_ref r4 +L3: + r5 = load_address asyncio :: module + r6 = [r5] + r7 = load_address r6 + r8 = [1] + r9 = load_address r8 + r10 = (('asyncio', 'asyncio', 'asyncio'),) + r11 = dank_mids.helpers._gather.globals :: static + r12 = 'dank_mids\\helpers\\_gather.py' + r13 = '' + r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) + if not r14 goto L28 else goto L4 :: bool +L4: + r15 = ('Coroutine', 'Final', 'Iterable', 'Literal', 'Optional', 'Set', 'Tuple', 'TypeVar', 'Union', 'overload') + r16 = 'typing' + r17 = dank_mids.helpers._gather.globals :: static + r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) + if is_error(r18) goto L28 (error at :2) else goto L5 +L5: + typing = r18 :: module + dec_ref r18 + r19 = load_address a_sync.asyncio :: module + r20 = [r19] + r21 = load_address r20 + r22 = [15] + r23 = load_address r22 + r24 = (('a_sync.asyncio', 'a_sync', 'a_sync'),) + r25 = dank_mids.helpers._gather.globals :: static + r26 = 'dank_mids\\helpers\\_gather.py' + r27 = '' + r28 = CPyImport_ImportMany(r24, r21, r25, r26, r27, r23) + if not r28 goto L28 else goto L6 :: bool +L6: + r29 = '__T' + r30 = dank_mids.helpers._gather.globals :: static + r31 = 'TypeVar' + r32 = CPyDict_GetItem(r30, r31) + if is_error(r32) goto L28 (error at :18) else goto L7 +L7: + r33 = [r29] + r34 = load_address r33 + r35 = _PyObject_Vectorcall(r32, r34, 1, 0) + dec_ref r32 + if is_error(r35) goto L28 (error at :18) else goto L8 +L8: + r36 = dank_mids.helpers._gather.globals :: static + r37 = '__T' + r38 = CPyDict_SetItem(r36, r37, r35) + dec_ref r35 + r39 = r38 >= 0 :: signed + if not r39 goto L28 (error at :18) else goto L9 :: bool +L9: + r40 = dank_mids.helpers._gather.globals :: static + r41 = 'Set' + r42 = CPyDict_GetItem(r40, r41) + if is_error(r42) goto L28 (error at :20) else goto L10 +L10: + r43 = 'asyncio.Future[__T]' + r44 = PyObject_GetItem(r42, r43) + dec_ref r42 + if is_error(r44) goto L28 (error at :20) else goto L11 +L11: + r45 = dank_mids.helpers._gather.globals :: static + r46 = 'FinishedTasks' + r47 = CPyDict_SetItem(r45, r46, r44) + dec_ref r44 + r48 = r47 >= 0 :: signed + if not r48 goto L28 (error at :20) else goto L12 :: bool +L12: + r49 = dank_mids.helpers._gather.globals :: static + r50 = 'Set' + r51 = CPyDict_GetItem(r49, r50) + if is_error(r51) goto L28 (error at :21) else goto L13 +L13: + r52 = 'asyncio.Future[__T]' + r53 = PyObject_GetItem(r51, r52) + dec_ref r51 + if is_error(r53) goto L28 (error at :21) else goto L14 +L14: + r54 = dank_mids.helpers._gather.globals :: static + r55 = 'PendingTasks' + r56 = CPyDict_SetItem(r54, r55, r53) + dec_ref r53 + r57 = r56 >= 0 :: signed + if not r57 goto L28 (error at :21) else goto L15 :: bool +L15: + r58 = asyncio :: module + r59 = 'CancelledError' + r60 = CPyObject_GetAttr(r58, r59) + if is_error(r60) goto L28 (error at :25) else goto L16 +L16: + dank_mids.helpers._gather.CancelledError = r60 :: static + r61 = dank_mids.helpers._gather.globals :: static + r62 = 'CancelledError' + r63 = CPyDict_SetItem(r61, r62, r60) + dec_ref r60 + r64 = r63 >= 0 :: signed + if not r64 goto L28 (error at :25) else goto L17 :: bool +L17: + r65 = asyncio :: module + r66 = 'Task' + r67 = CPyObject_GetAttr(r65, r66) + if is_error(r67) goto L28 (error at :26) else goto L18 +L18: + dank_mids.helpers._gather.Task = r67 :: static + r68 = dank_mids.helpers._gather.globals :: static + r69 = 'Task' + r70 = CPyDict_SetItem(r68, r69, r67) + dec_ref r67 + r71 = r70 >= 0 :: signed + if not r71 goto L28 (error at :26) else goto L19 :: bool +L19: + r72 = asyncio :: module + r73 = 'get_running_loop' + r74 = CPyObject_GetAttr(r72, r73) + if is_error(r74) goto L28 (error at :27) else goto L20 +L20: + dank_mids.helpers._gather.get_running_loop = r74 :: static + r75 = dank_mids.helpers._gather.globals :: static + r76 = 'get_running_loop' + r77 = CPyDict_SetItem(r75, r76, r74) + dec_ref r74 + r78 = r77 >= 0 :: signed + if not r78 goto L28 (error at :27) else goto L21 :: bool +L21: + r79 = asyncio :: module + r80 = 'wait' + r81 = CPyObject_GetAttr(r79, r80) + if is_error(r81) goto L28 (error at :28) else goto L22 +L22: + dank_mids.helpers._gather.wait = r81 :: static + r82 = dank_mids.helpers._gather.globals :: static + r83 = 'wait' + r84 = CPyDict_SetItem(r82, r83, r81) + dec_ref r81 + r85 = r84 >= 0 :: signed + if not r85 goto L28 (error at :28) else goto L23 :: bool +L23: + r86 = dank_mids.helpers._gather.globals :: static + r87 = 'a_sync' + r88 = CPyDict_GetItem(r86, r87) + if is_error(r88) goto L28 (error at :31) else goto L24 +L24: + r89 = 'asyncio' + r90 = CPyObject_GetAttr(r88, r89) + dec_ref r88 + if is_error(r90) goto L28 (error at :31) else goto L25 +L25: + r91 = 'sleep0' + r92 = CPyObject_GetAttr(r90, r91) + dec_ref r90 + if is_error(r92) goto L28 (error at :31) else goto L26 +L26: + dank_mids.helpers._gather.yield_to_loop = r92 :: static + r93 = dank_mids.helpers._gather.globals :: static + r94 = 'yield_to_loop' + r95 = CPyDict_SetItem(r93, r94, r92) + dec_ref r92 + r96 = r95 >= 0 :: signed + if not r96 goto L28 (error at :31) else goto L27 :: bool +L27: + return 1 +L28: + r97 = :: None + return r97 + +def BadResponse.__init__(self, response): + self :: dank_mids._exceptions.BadResponse + response :: object + r0 :: str + r1 :: i32 + r2 :: bit + r3 :: object + r4 :: str + r5 :: object + r6 :: str + r7 :: object + r8 :: str + r9 :: object[1] + r10 :: object_ptr + r11 :: object + r12 :: str + r13 :: object[3] + r14 :: object_ptr + r15 :: object + r16 :: None +L0: + r0 = 'response' + r1 = PyObject_SetAttr(self, r0, response) + r2 = r1 >= 0 :: signed + if not r2 goto L6 (error at __init__:20) else goto L1 :: bool +L1: + r3 = builtins :: module + r4 = 'BaseException' + r5 = CPyObject_GetAttr(r3, r4) + if is_error(r5) goto L6 (error at __init__:21) else goto L2 +L2: + r6 = 'error' + r7 = CPyObject_GetAttr(response, r6) + if is_error(r7) goto L7 (error at __init__:21) else goto L3 +L3: + r8 = 'to_dict' + r9 = [r7] + r10 = load_address r9 + r11 = PyObject_VectorcallMethod(r8, r10, 9223372036854775809, 0) + if is_error(r11) goto L8 (error at __init__:21) else goto L4 +L4: + dec_ref r7 + r12 = '__init__' + r13 = [r5, self, r11] + r14 = load_address r13 + r15 = PyObject_VectorcallMethod(r12, r14, 9223372036854775811, 0) + if is_error(r15) goto L9 (error at __init__:21) else goto L10 +L5: + dec_ref r5 + dec_ref r11 + return 1 +L6: + r16 = :: None + return r16 +L7: + dec_ref r5 + goto L6 +L8: + dec_ref r5 + dec_ref r7 + goto L6 +L9: + dec_ref r5 + dec_ref r11 + goto L6 +L10: + dec_ref r15 + goto L5 + +def ExecutionReverted.__init__(self, response): + self :: dank_mids._exceptions.ExecutionReverted + response :: object + r0 :: str + r1 :: i32 + r2 :: bit + r3 :: str + r4 :: object + r5 :: str + r6 :: object + r7, message, r8, r9 :: str + r10 :: object[2] + r11 :: object_ptr + r12 :: object + r13 :: int + r14 :: bit + r15 :: str + r16 :: list + r17 :: object + r18 :: str + r19 :: object + r20 :: str + r21 :: object + r22 :: str + r23 :: object[3] + r24 :: object_ptr + r25 :: object + r26 :: None +L0: + r0 = 'response' + r1 = PyObject_SetAttr(self, r0, response) + r2 = r1 >= 0 :: signed + if not r2 goto L14 (error at __init__:34) else goto L1 :: bool +L1: + r3 = 'error' + r4 = CPyObject_GetAttr(response, r3) + if is_error(r4) goto L14 (error at __init__:35) else goto L2 +L2: + r5 = 'message' + r6 = CPyObject_GetAttr(r4, r5) + dec_ref r4 + if is_error(r6) goto L14 (error at __init__:35) else goto L3 +L3: + r7 = cast(str, r6) + if is_error(r7) goto L14 (error at __init__:35) else goto L4 +L4: + message = r7 + r8 = ':' + r9 = 'count' + r10 = [message, r8] + r11 = load_address r10 + r12 = PyObject_VectorcallMethod(r9, r11, 9223372036854775810, 0) + if is_error(r12) goto L15 (error at __init__:36) else goto L5 +L5: + r13 = unbox(int, r12) + dec_ref r12 + if is_error(r13) goto L15 (error at __init__:36) else goto L6 +L6: + r14 = r13 == 2 + dec_ref r13 :: int + if r14 goto L7 else goto L11 :: bool +L7: + r15 = ':' + r16 = PyUnicode_Split(message, r15, -1) + dec_ref message + if is_error(r16) goto L14 (error at __init__:37) else goto L8 +L8: + r17 = CPyList_GetItemShort(r16, 2) + dec_ref r16 + if is_error(r17) goto L14 (error at __init__:37) else goto L9 +L9: + r18 = cast(str, r17) + if is_error(r18) goto L14 (error at __init__:37) else goto L10 +L10: + message = r18 +L11: + r19 = builtins :: module + r20 = 'BaseException' + r21 = CPyObject_GetAttr(r19, r20) + if is_error(r21) goto L15 (error at __init__:38) else goto L12 +L12: + r22 = '__init__' + r23 = [r21, self, message] + r24 = load_address r23 + r25 = PyObject_VectorcallMethod(r22, r24, 9223372036854775811, 0) + if is_error(r25) goto L16 (error at __init__:38) else goto L17 +L13: + dec_ref r21 + dec_ref message + return 1 +L14: + r26 = :: None + return r26 +L15: + dec_ref message + goto L14 +L16: + dec_ref message + dec_ref r21 + goto L14 +L17: + dec_ref r25 + goto L13 + +def ExceedsMaxBatchSize.limit(self): + self :: dank_mids._exceptions.ExceedsMaxBatchSize + r0, r1 :: str + r2 :: object + r3 :: str + r4 :: object + r5 :: str + r6, r7 :: object + r8 :: str + r9 :: object + r10 :: object[2] + r11 :: object_ptr + r12, r13, r14, r15 :: object + r16 :: object[1] + r17 :: object_ptr + r18 :: object + r19, r20 :: int +L0: + r0 = 'batch limit (\\d+) exceeded' + r1 = 'response' + r2 = CPyObject_GetAttr(self, r1) + if is_error(r2) goto L9 (error at limit:58) else goto L1 +L1: + r3 = 'error' + r4 = CPyObject_GetAttr(r2, r3) + dec_ref r2 + if is_error(r4) goto L9 (error at limit:58) else goto L2 +L2: + r5 = 'message' + r6 = CPyObject_GetAttr(r4, r5) + dec_ref r4 + if is_error(r6) goto L9 (error at limit:58) else goto L3 +L3: + r7 = re :: module + r8 = 'search' + r9 = CPyObject_GetAttr(r7, r8) + if is_error(r9) goto L10 (error at limit:58) else goto L4 +L4: + r10 = [r0, r6] + r11 = load_address r10 + r12 = _PyObject_Vectorcall(r9, r11, 2, 0) + dec_ref r9 + if is_error(r12) goto L10 (error at limit:58) else goto L5 +L5: + dec_ref r6 + r13 = object 1 + r14 = PyObject_GetItem(r12, r13) + dec_ref r12 + if is_error(r14) goto L9 (error at limit:58) else goto L6 +L6: + r15 = load_address PyLong_Type + r16 = [r14] + r17 = load_address r16 + r18 = _PyObject_Vectorcall(r15, r17, 1, 0) + if is_error(r18) goto L11 (error at limit:58) else goto L7 +L7: + dec_ref r14 + r19 = unbox(int, r18) + dec_ref r18 + if is_error(r19) goto L9 (error at limit:58) else goto L8 +L8: + return r19 +L9: + r20 = :: int + return r20 +L10: + dec_ref r6 + goto L9 +L11: + dec_ref r14 + goto L9 + +def DankMidsClientResponseError.__init__(self, exc, request): + self :: dank_mids._exceptions.DankMidsClientResponseError + exc, request :: object + r0 :: tuple + r1 :: list + r2 :: object + r3 :: i32 + r4 :: bit + r5 :: tuple + r6 :: object + r7 :: str + r8, r9 :: object + r10 :: object[2] + r11 :: object_ptr + r12 :: object + r13 :: str + r14 :: object + r15 :: str + r16 :: object + r17 :: str + r18 :: object + r19 :: str + r20 :: object + r21 :: str + r22 :: object + r23 :: str + r24 :: object + r25 :: object[5] + r26 :: object_ptr + r27, r28 :: object + r29 :: None +L0: + inc_ref request + self.request = request + r0 = self.args + if is_error(r0) goto L15 (error at __init__:76) else goto L1 +L1: + r1 = PyList_New(0) + if is_error(r1) goto L16 (error at __init__:76) else goto L2 +L2: + r2 = CPyList_Extend(r1, r0) + dec_ref r0 + if is_error(r2) goto L17 (error at __init__:76) else goto L18 +L3: + r3 = PyList_Append(r1, request) + r4 = r3 >= 0 :: signed + if not r4 goto L17 (error at __init__:76) else goto L4 :: bool +L4: + r5 = PyList_AsTuple(r1) + dec_ref r1 + if is_error(r5) goto L15 (error at __init__:76) else goto L5 +L5: + self.args = r5 + inc_ref exc + self._exception = exc + r6 = builtins :: module + r7 = 'super' + r8 = CPyObject_GetAttr(r6, r7) + if is_error(r8) goto L15 (error at __init__:84) else goto L6 +L6: + r9 = dank_mids._exceptions.DankMidsClientResponseError :: type + r10 = [r9, self] + r11 = load_address r10 + r12 = _PyObject_Vectorcall(r8, r11, 2, 0) + dec_ref r8 + if is_error(r12) goto L15 (error at __init__:84) else goto L7 +L7: + r13 = '__init__' + r14 = CPyObject_GetAttr(r12, r13) + dec_ref r12 + if is_error(r14) goto L15 (error at __init__:84) else goto L8 +L8: + r15 = 'request_info' + r16 = CPyObject_GetAttr(exc, r15) + if is_error(r16) goto L19 (error at __init__:85) else goto L9 +L9: + r17 = 'history' + r18 = CPyObject_GetAttr(exc, r17) + if is_error(r18) goto L20 (error at __init__:86) else goto L10 +L10: + r19 = 'status' + r20 = CPyObject_GetAttr(exc, r19) + if is_error(r20) goto L21 (error at __init__:87) else goto L11 +L11: + r21 = 'message' + r22 = CPyObject_GetAttr(exc, r21) + if is_error(r22) goto L22 (error at __init__:88) else goto L12 +L12: + r23 = 'headers' + r24 = CPyObject_GetAttr(exc, r23) + if is_error(r24) goto L23 (error at __init__:89) else goto L13 +L13: + r25 = [r16, r18, r20, r22, r24] + r26 = load_address r25 + r27 = ('status', 'message', 'headers') + r28 = _PyObject_Vectorcall(r14, r26, 2, r27) + dec_ref r14 + if is_error(r28) goto L24 (error at __init__:84) else goto L25 +L14: + dec_ref r16 + dec_ref r18 + dec_ref r20 + dec_ref r22 + dec_ref r24 + return 1 +L15: + r29 = :: None + return r29 +L16: + dec_ref r0 + goto L15 +L17: + dec_ref r1 + goto L15 +L18: + dec_ref r2 + goto L3 +L19: + dec_ref r14 + goto L15 +L20: + dec_ref r14 + dec_ref r16 + goto L15 +L21: + dec_ref r14 + dec_ref r16 + dec_ref r18 + goto L15 +L22: + dec_ref r14 + dec_ref r16 + dec_ref r18 + dec_ref r20 + goto L15 +L23: + dec_ref r14 + dec_ref r16 + dec_ref r18 + dec_ref r20 + dec_ref r22 + goto L15 +L24: + dec_ref r16 + dec_ref r18 + dec_ref r20 + dec_ref r22 + dec_ref r24 + goto L15 +L25: + dec_ref r28 + goto L14 + +def DankMidsInternalError.__init__(self, exc): + self :: dank_mids._exceptions.DankMidsInternalError + exc, r0 :: object + r1 :: bool + r2, r3, r4, r5 :: str + r6 :: object + r7 :: object[3] + r8 :: object_ptr + r9, r10 :: object + r11 :: str + r12 :: i32 + r13 :: bit + r14 :: object + r15 :: str + r16, r17 :: object + r18 :: object[2] + r19 :: object_ptr + r20 :: object + r21 :: str + r22, r23 :: object + r24 :: str + r25 :: object + r26 :: object[1] + r27 :: object_ptr + r28 :: object + r29 :: str + r30 :: object[1] + r31 :: object_ptr + r32 :: object + r33 :: None +L0: + r0 = dank_mids._exceptions.logger :: static + if is_error(r0) goto L1 else goto L3 +L1: + r1 = raise NameError('value for final name "logger" was not set') + if not r1 goto L15 (error at __init__:103) else goto L2 :: bool +L2: + unreachable +L3: + r2 = 'unhandled exception inside dank mids internals: ' + r3 = PyObject_Str(exc) + if is_error(r3) goto L15 (error at __init__:103) else goto L4 +L4: + r4 = CPyStr_Build(2, r2, r3) + dec_ref r3 + if is_error(r4) goto L15 (error at __init__:103) else goto L5 +L5: + r5 = 'warning' + r6 = box(bool, 1) + r7 = [r0, r4, r6] + r8 = load_address r7 + r9 = ('exc_info',) + r10 = PyObject_VectorcallMethod(r5, r8, 9223372036854775810, r9) + if is_error(r10) goto L16 (error at __init__:103) else goto L17 +L6: + dec_ref r4 + r11 = '_original_exception' + r12 = PyObject_SetAttr(self, r11, exc) + r13 = r12 >= 0 :: signed + if not r13 goto L15 (error at __init__:105) else goto L7 :: bool +L7: + r14 = builtins :: module + r15 = 'super' + r16 = CPyObject_GetAttr(r14, r15) + if is_error(r16) goto L15 (error at __init__:111) else goto L8 +L8: + r17 = dank_mids._exceptions.DankMidsInternalError :: type + r18 = [r17, self] + r19 = load_address r18 + r20 = _PyObject_Vectorcall(r16, r19, 2, 0) + dec_ref r16 + if is_error(r20) goto L15 (error at __init__:111) else goto L9 +L9: + r21 = '__init__' + r22 = CPyObject_GetAttr(r20, r21) + dec_ref r20 + if is_error(r22) goto L15 (error at __init__:111) else goto L10 +L10: + r23 = builtins :: module + r24 = 'repr' + r25 = CPyObject_GetAttr(r23, r24) + if is_error(r25) goto L18 (error at __init__:111) else goto L11 +L11: + r26 = [exc] + r27 = load_address r26 + r28 = _PyObject_Vectorcall(r25, r27, 1, 0) + dec_ref r25 + if is_error(r28) goto L18 (error at __init__:111) else goto L12 +L12: + r29 = cast(str, r28) + if is_error(r29) goto L18 (error at __init__:111) else goto L13 +L13: + r30 = [r29] + r31 = load_address r30 + r32 = _PyObject_Vectorcall(r22, r31, 1, 0) + dec_ref r22 + if is_error(r32) goto L19 (error at __init__:111) else goto L20 +L14: + dec_ref r29 + return 1 +L15: + r33 = :: None + return r33 +L16: + dec_ref r4 + goto L15 +L17: + dec_ref r10 + goto L6 +L18: + dec_ref r22 + goto L15 +L19: + dec_ref r29 + goto L15 +L20: + dec_ref r32 + goto L14 + +def BatchResponseSortError.__init__(self, controller, calls, response): + self :: dank_mids._exceptions.BatchResponseSortError + controller :: object + calls, response :: list + r0 :: str + r1 :: i32 + r2 :: bit + r3 :: ptr + r4 :: native_int + r5 :: list + r6 :: short_int + r7 :: ptr + r8 :: native_int + r9 :: short_int + r10 :: bit + r11 :: native_int + r12, r13 :: ptr + r14 :: native_int + r15 :: ptr + r16 :: object + r17 :: str + r18 :: object[1] + r19 :: object_ptr + r20 :: object + r21 :: bit + r22 :: short_int + r23 :: str + r24 :: i32 + r25 :: bit + r26 :: object + r27 :: str + r28, r29 :: object + r30 :: object[2] + r31 :: object_ptr + r32 :: object + r33 :: str + r34 :: object + r35, r36 :: str + r37 :: object + r38, r39, r40 :: str + r41 :: object + r42, r43 :: str + r44 :: ptr + r45 :: native_int + r46 :: list + r47 :: short_int + r48 :: ptr + r49 :: native_int + r50 :: short_int + r51 :: bit + r52 :: native_int + r53, r54 :: ptr + r55 :: native_int + r56 :: ptr + r57 :: object + r58 :: str + r59 :: object + r60 :: bit + r61 :: short_int + r62, r63, r64 :: str + r65 :: object + r66 :: list + r67, r68 :: str + r69 :: object[1] + r70 :: object_ptr + r71 :: object + r72 :: None +L0: + r0 = 'calls' + r1 = PyObject_SetAttr(self, r0, calls) + r2 = r1 >= 0 :: signed + if not r2 goto L28 (error at __init__:127) else goto L1 :: bool +L1: + r3 = get_element_ptr response ob_size :: PyVarObject + r4 = load_mem r3 :: native_int* + r5 = PyList_New(r4) + if is_error(r5) goto L28 (error at __init__:133) else goto L2 +L2: + r6 = 0 +L3: + r7 = get_element_ptr response ob_size :: PyVarObject + r8 = load_mem r7 :: native_int* + r9 = r8 << 1 + r10 = r6 < r9 :: signed + if r10 goto L4 else goto L7 :: bool +L4: + r11 = r6 >> 1 + r12 = get_element_ptr response ob_item :: PyListObject + r13 = load_mem r12 :: ptr* + r14 = r11 * 8 + r15 = r13 + r14 + r16 = load_mem r15 :: builtins.object* + inc_ref r16 + r17 = 'decode' + r18 = [r16] + r19 = load_address r18 + r20 = PyObject_VectorcallMethod(r17, r19, 9223372036854775809, 0) + if is_error(r20) goto L29 (error at __init__:133) else goto L5 +L5: + dec_ref r16 + r21 = CPyList_SetItemUnsafe(r5, r6, r20) + if not r21 goto L30 (error at __init__:133) else goto L6 :: bool +L6: + r22 = r6 + 2 + r6 = r22 + goto L3 +L7: + r23 = 'results' + r24 = PyObject_SetAttr(self, r23, r5) + dec_ref r5 + r25 = r24 >= 0 :: signed + if not r25 goto L28 (error at __init__:133) else goto L8 :: bool +L8: + r26 = builtins :: module + r27 = 'super' + r28 = CPyObject_GetAttr(r26, r27) + if is_error(r28) goto L28 (error at __init__:139) else goto L9 +L9: + r29 = dank_mids._exceptions.BatchResponseSortError :: type + r30 = [r29, self] + r31 = load_address r30 + r32 = _PyObject_Vectorcall(r28, r31, 2, 0) + dec_ref r28 + if is_error(r32) goto L28 (error at __init__:139) else goto L10 +L10: + r33 = '__init__' + r34 = CPyObject_GetAttr(r32, r33) + dec_ref r32 + if is_error(r34) goto L28 (error at __init__:139) else goto L11 +L11: + r35 = 'This will not mess up your run but will make things needlessly slow. Please show this to Bob.\nendpoint=' + r36 = 'endpoint' + r37 = CPyObject_GetAttr(controller, r36) + if is_error(r37) goto L31 (error at __init__:141) else goto L12 +L12: + r38 = cast(str, r37) + if is_error(r38) goto L31 (error at __init__:141) else goto L13 +L13: + r39 = '\nclient_version=' + r40 = 'client_version' + r41 = CPyObject_GetAttr(controller, r40) + if is_error(r41) goto L32 (error at __init__:142) else goto L14 +L14: + r42 = cast(str, r41) + if is_error(r42) goto L32 (error at __init__:142) else goto L15 +L15: + r43 = '\ncalls=' + r44 = get_element_ptr calls ob_size :: PyVarObject + r45 = load_mem r44 :: native_int* + r46 = PyList_New(r45) + if is_error(r46) goto L33 (error at __init__:143) else goto L16 +L16: + r47 = 0 +L17: + r48 = get_element_ptr calls ob_size :: PyVarObject + r49 = load_mem r48 :: native_int* + r50 = r49 << 1 + r51 = r47 < r50 :: signed + if r51 goto L18 else goto L21 :: bool +L18: + r52 = r47 >> 1 + r53 = get_element_ptr calls ob_item :: PyListObject + r54 = load_mem r53 :: ptr* + r55 = r52 * 8 + r56 = r54 + r55 + r57 = load_mem r56 :: builtins.object* + inc_ref r57 + r58 = 'uid' + r59 = CPyObject_GetAttr(r57, r58) + dec_ref r57 + if is_error(r59) goto L34 (error at __init__:143) else goto L19 +L19: + r60 = CPyList_SetItemUnsafe(r46, r47, r59) + if not r60 goto L34 (error at __init__:143) else goto L20 :: bool +L20: + r61 = r47 + 2 + r47 = r61 + goto L17 +L21: + r62 = PyObject_Str(r46) + dec_ref r46 + if is_error(r62) goto L33 (error at __init__:140) else goto L22 +L22: + r63 = '\nresponse=' + r64 = 'results' + r65 = CPyObject_GetAttr(self, r64) + if is_error(r65) goto L35 (error at __init__:144) else goto L23 +L23: + r66 = cast(list, r65) + if is_error(r66) goto L35 (error at __init__:144) else goto L24 +L24: + r67 = PyObject_Str(r66) + dec_ref r66 + if is_error(r67) goto L35 (error at __init__:140) else goto L25 +L25: + r68 = CPyStr_Build(8, r35, r38, r39, r42, r43, r62, r63, r67) + dec_ref r38 + dec_ref r42 + dec_ref r62 + dec_ref r67 + if is_error(r68) goto L31 (error at __init__:140) else goto L26 +L26: + r69 = [r68] + r70 = load_address r69 + r71 = _PyObject_Vectorcall(r34, r70, 1, 0) + dec_ref r34 + if is_error(r71) goto L36 (error at __init__:139) else goto L37 +L27: + dec_ref r68 + return 1 +L28: + r72 = :: None + return r72 +L29: + dec_ref r5 + dec_ref r16 + goto L28 +L30: + dec_ref r5 + goto L28 +L31: + dec_ref r34 + goto L28 +L32: + dec_ref r34 + dec_ref r38 + goto L28 +L33: + dec_ref r34 + dec_ref r38 + dec_ref r42 + goto L28 +L34: + dec_ref r34 + dec_ref r38 + dec_ref r42 + dec_ref r46 + goto L28 +L35: + dec_ref r34 + dec_ref r38 + dec_ref r42 + dec_ref r62 + goto L28 +L36: + dec_ref r68 + goto L28 +L37: + dec_ref r71 + goto L27 + +def ChainstackRateLimitError.try_again_in(self): + self :: dank_mids._exceptions.ChainstackRateLimitError + r0 :: str + r1 :: object + r2 :: str + r3 :: object + r4 :: str + r5 :: object + r6 :: str + r7 :: object + r8 :: float + r9 :: bit + r10 :: object + r11 :: float +L0: + r0 = 'response' + r1 = CPyObject_GetAttr(self, r0) + if is_error(r1) goto L7 (error at try_again_in:167) else goto L1 +L1: + r2 = 'error' + r3 = CPyObject_GetAttr(r1, r2) + dec_ref r1 + if is_error(r3) goto L7 (error at try_again_in:167) else goto L2 +L2: + r4 = 'data' + r5 = CPyObject_GetAttr(r3, r4) + dec_ref r3 + if is_error(r5) goto L7 (error at try_again_in:167) else goto L3 +L3: + r6 = 'try_again_in' + r7 = CPyObject_GetAttr(r5, r6) + dec_ref r5 + if is_error(r7) goto L7 (error at try_again_in:167) else goto L4 +L4: + r8 = unbox(float, r7) + dec_ref r7 + r9 = r8 == -113.0 + if r9 goto L6 else goto L5 :: bool +L5: + return r8 +L6: + r10 = PyErr_Occurred() + if not is_error(r10) goto L7 (error at try_again_in:167) else goto L5 +L7: + r11 = :: float + return r11 + +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str + r4 :: object + r5, r6 :: object_ptr + r7 :: object_ptr[2] + r8 :: c_ptr + r9 :: native_int[2] + r10 :: c_ptr + r11 :: object + r12 :: dict + r13, r14 :: str + r15 :: bit + r16 :: object + r17 :: str + r18 :: dict + r19, r20 :: object + r21 :: str + r22 :: dict + r23 :: object + r24 :: str + r25 :: object + r26 :: str + r27 :: object + r28 :: object[1] + r29 :: object_ptr + r30 :: object + r31 :: dict + r32 :: str + r33 :: i32 + r34 :: bit + r35 :: object + r36 :: str + r37 :: object + r38 :: tuple + r39 :: str + r40, r41 :: object + r42, r43 :: str + r44 :: tuple + r45 :: i32 + r46 :: bit + r47 :: dict + r48 :: str + r49 :: i32 + r50 :: bit + r51 :: object + r52 :: str + r53 :: object + r54 :: tuple + r55 :: str + r56, r57 :: object + r58, r59 :: str + r60 :: tuple + r61 :: i32 + r62 :: bit + r63 :: dict + r64 :: str + r65 :: i32 + r66 :: bit + r67 :: object + r68 :: tuple + r69 :: str + r70, r71 :: object + r72, r73 :: str + r74 :: tuple + r75 :: i32 + r76 :: bit + r77 :: dict + r78 :: str + r79 :: i32 + r80 :: bit + r81 :: object + r82 :: tuple + r83 :: str + r84, r85 :: object + r86, r87 :: str + r88 :: tuple + r89 :: i32 + r90 :: bit + r91 :: dict + r92 :: str + r93 :: i32 + r94 :: bit + r95 :: object + r96 :: tuple + r97 :: str + r98, r99 :: object + r100, r101 :: str + r102 :: tuple + r103 :: i32 + r104 :: bit + r105 :: dict + r106 :: str + r107 :: i32 + r108 :: bit + r109 :: object + r110 :: tuple + r111 :: str + r112, r113 :: object + r114, r115 :: str + r116 :: tuple + r117 :: i32 + r118 :: bit + r119 :: dict + r120 :: str + r121 :: i32 + r122 :: bit + r123 :: dict + r124 :: str + r125 :: object + r126 :: tuple + r127 :: str + r128, r129 :: object + r130 :: bool + r131, r132, r133, r134 :: str + r135 :: tuple + r136 :: i32 + r137 :: bit + r138 :: dict + r139 :: str + r140 :: i32 + r141 :: bit + r142 :: dict + r143 :: str + r144, r145 :: object + r146 :: str + r147, r148 :: object + r149 :: str + r150, r151 :: object + r152 :: str + r153, r154 :: object + r155 :: str + r156, r157 :: object + r158 :: str + r159, r160 :: object + r161 :: str + r162 :: object + r163 :: tuple[object, object, object, object, object, object] + r164, r165 :: object + r166 :: dict + r167 :: str + r168 :: i32 + r169 :: bit + r170 :: dict + r171 :: str + r172 :: object + r173 :: dict + r174 :: str + r175 :: i32 + r176 :: bit + r177 :: object + r178 :: str + r179 :: object + r180 :: tuple + r181 :: str + r182, r183 :: object + r184, r185 :: str + r186 :: tuple + r187 :: i32 + r188 :: bit + r189 :: dict + r190 :: str + r191 :: i32 + r192 :: bit + r193 :: object + r194 :: str + r195 :: object + r196 :: tuple + r197 :: str + r198, r199 :: object + r200, r201 :: str + r202 :: tuple + r203 :: i32 + r204 :: bit + r205 :: dict + r206 :: str + r207 :: i32 + r208 :: bit + r209 :: object + r210 :: tuple + r211 :: str + r212, r213 :: object + r214, r215 :: str + r216 :: tuple + r217 :: i32 + r218 :: bit + r219 :: dict + r220 :: str + r221 :: i32 + r222 :: bit + r223 :: object + r224 :: tuple + r225 :: str + r226, r227 :: object + r228, r229 :: str + r230 :: tuple + r231 :: i32 + r232 :: bit + r233 :: dict + r234 :: str + r235 :: i32 + r236 :: bit + r237 :: object + r238 :: tuple + r239 :: str + r240, r241 :: object + r242, r243 :: str + r244 :: tuple + r245 :: i32 + r246 :: bit + r247 :: dict + r248 :: str + r249 :: i32 + r250 :: bit + r251 :: None +L0: + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool +L1: + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L88 (error at :-1) else goto L2 +L2: + builtins = r4 :: module + dec_ref r4 +L3: + r5 = load_address logging :: module + r6 = load_address re :: module + r7 = [r5, r6] + r8 = load_address r7 + r9 = [1, 2] + r10 = load_address r9 + r11 = (('logging', 'logging', 'logging'), ('re', 're', 're')) + r12 = dank_mids._exceptions.globals :: static + r13 = 'dank_mids\\_exceptions.py' + r14 = '' + r15 = CPyImport_ImportMany(r11, r8, r12, r13, r14, r10) + if not r15 goto L88 else goto L4 :: bool +L4: + r16 = ('TYPE_CHECKING', 'Final', 'List', 'Union', 'final') + r17 = 'typing' + r18 = dank_mids._exceptions.globals :: static + r19 = CPyImport_ImportFromMany(r17, r16, r16, r18) + if is_error(r19) goto L88 (error at :3) else goto L5 +L5: + typing = r19 :: module + dec_ref r19 + r20 = ('ClientResponseError',) + r21 = 'aiohttp.client_exceptions' + r22 = dank_mids._exceptions.globals :: static + r23 = CPyImport_ImportFromMany(r21, r20, r20, r22) + if is_error(r23) goto L88 (error at :5) else goto L6 +L6: + aiohttp.client_exceptions = r23 :: module + dec_ref r23 + if 0 goto L7 else goto L7 :: bool +L7: + r24 = 'dank_mids.exceptions' + r25 = logging :: module + r26 = 'getLogger' + r27 = CPyObject_GetAttr(r25, r26) + if is_error(r27) goto L88 (error at :13) else goto L8 +L8: + r28 = [r24] + r29 = load_address r28 + r30 = _PyObject_Vectorcall(r27, r29, 1, 0) + dec_ref r27 + if is_error(r30) goto L88 (error at :13) else goto L9 +L9: + dank_mids._exceptions.logger = r30 :: static + r31 = dank_mids._exceptions.globals :: static + r32 = 'logger' + r33 = CPyDict_SetItem(r31, r32, r30) + dec_ref r30 + r34 = r33 >= 0 :: signed + if not r34 goto L88 (error at :13) else goto L10 :: bool +L10: + r35 = builtins :: module + r36 = 'ValueError' + r37 = CPyObject_GetAttr(r35, r36) + if is_error(r37) goto L88 (error at :16) else goto L11 +L11: + r38 = PyTuple_Pack(1, r37) + dec_ref r37 + if is_error(r38) goto L88 (error at :16) else goto L12 +L12: + r39 = 'dank_mids._exceptions' + r40 = dank_mids._exceptions.BadResponse_template :: type + r41 = CPyType_FromTemplate(r40, r38, r39) + dec_ref r38 + if is_error(r41) goto L88 (error at :16) else goto L13 +L13: + r42 = '__mypyc_attrs__' + r43 = '__dict__' + r44 = PyTuple_Pack(1, r43) + if is_error(r44) goto L89 (error at :16) else goto L14 +L14: + r45 = PyObject_SetAttr(r41, r42, r44) + dec_ref r44 + r46 = r45 >= 0 :: signed + if not r46 goto L89 (error at :16) else goto L15 :: bool +L15: + dank_mids._exceptions.BadResponse = r41 :: type + r47 = dank_mids._exceptions.globals :: static + r48 = 'BadResponse' + r49 = CPyDict_SetItem(r47, r48, r41) + dec_ref r41 + r50 = r49 >= 0 :: signed + if not r50 goto L88 (error at :16) else goto L16 :: bool +L16: + r51 = builtins :: module + r52 = 'ValueError' + r53 = CPyObject_GetAttr(r51, r52) + if is_error(r53) goto L88 (error at :25) else goto L17 +L17: + r54 = PyTuple_Pack(1, r53) + dec_ref r53 + if is_error(r54) goto L88 (error at :25) else goto L18 +L18: + r55 = 'dank_mids._exceptions' + r56 = dank_mids._exceptions.EmptyBatch_template :: type + r57 = CPyType_FromTemplate(r56, r54, r55) + dec_ref r54 + if is_error(r57) goto L88 (error at :25) else goto L19 +L19: + r58 = '__mypyc_attrs__' + r59 = '__dict__' + r60 = PyTuple_Pack(1, r59) + if is_error(r60) goto L90 (error at :25) else goto L20 +L20: + r61 = PyObject_SetAttr(r57, r58, r60) + dec_ref r60 + r62 = r61 >= 0 :: signed + if not r62 goto L90 (error at :25) else goto L21 :: bool +L21: + dank_mids._exceptions.EmptyBatch = r57 :: type + r63 = dank_mids._exceptions.globals :: static + r64 = 'EmptyBatch' + r65 = CPyDict_SetItem(r63, r64, r57) + dec_ref r57 + r66 = r65 >= 0 :: signed + if not r66 goto L88 (error at :25) else goto L22 :: bool +L22: + r67 = dank_mids._exceptions.BadResponse :: type + r68 = PyTuple_Pack(1, r67) + if is_error(r68) goto L88 (error at :30) else goto L23 +L23: + r69 = 'dank_mids._exceptions' + r70 = dank_mids._exceptions.ExecutionReverted_template :: type + r71 = CPyType_FromTemplate(r70, r68, r69) + dec_ref r68 + if is_error(r71) goto L88 (error at :30) else goto L24 +L24: + r72 = '__mypyc_attrs__' + r73 = '__dict__' + r74 = PyTuple_Pack(1, r73) + if is_error(r74) goto L91 (error at :30) else goto L25 +L25: + r75 = PyObject_SetAttr(r71, r72, r74) + dec_ref r74 + r76 = r75 >= 0 :: signed + if not r76 goto L91 (error at :30) else goto L26 :: bool +L26: + dank_mids._exceptions.ExecutionReverted = r71 :: type + r77 = dank_mids._exceptions.globals :: static + r78 = 'ExecutionReverted' + r79 = CPyDict_SetItem(r77, r78, r71) + dec_ref r71 + r80 = r79 >= 0 :: signed + if not r80 goto L88 (error at :30) else goto L27 :: bool +L27: + r81 = dank_mids._exceptions.BadResponse :: type + r82 = PyTuple_Pack(1, r81) + if is_error(r82) goto L88 (error at :42) else goto L28 +L28: + r83 = 'dank_mids._exceptions' + r84 = dank_mids._exceptions.OutOfGas_template :: type + r85 = CPyType_FromTemplate(r84, r82, r83) + dec_ref r82 + if is_error(r85) goto L88 (error at :42) else goto L29 +L29: + r86 = '__mypyc_attrs__' + r87 = '__dict__' + r88 = PyTuple_Pack(1, r87) + if is_error(r88) goto L92 (error at :42) else goto L30 +L30: + r89 = PyObject_SetAttr(r85, r86, r88) + dec_ref r88 + r90 = r89 >= 0 :: signed + if not r90 goto L92 (error at :42) else goto L31 :: bool +L31: + dank_mids._exceptions.OutOfGas = r85 :: type + r91 = dank_mids._exceptions.globals :: static + r92 = 'OutOfGas' + r93 = CPyDict_SetItem(r91, r92, r85) + dec_ref r85 + r94 = r93 >= 0 :: signed + if not r94 goto L88 (error at :42) else goto L32 :: bool +L32: + r95 = dank_mids._exceptions.BadResponse :: type + r96 = PyTuple_Pack(1, r95) + if is_error(r96) goto L88 (error at :47) else goto L33 +L33: + r97 = 'dank_mids._exceptions' + r98 = dank_mids._exceptions.PayloadTooLarge_template :: type + r99 = CPyType_FromTemplate(r98, r96, r97) + dec_ref r96 + if is_error(r99) goto L88 (error at :47) else goto L34 +L34: + r100 = '__mypyc_attrs__' + r101 = '__dict__' + r102 = PyTuple_Pack(1, r101) + if is_error(r102) goto L93 (error at :47) else goto L35 +L35: + r103 = PyObject_SetAttr(r99, r100, r102) + dec_ref r102 + r104 = r103 >= 0 :: signed + if not r104 goto L93 (error at :47) else goto L36 :: bool +L36: + dank_mids._exceptions.PayloadTooLarge = r99 :: type + r105 = dank_mids._exceptions.globals :: static + r106 = 'PayloadTooLarge' + r107 = CPyDict_SetItem(r105, r106, r99) + dec_ref r99 + r108 = r107 >= 0 :: signed + if not r108 goto L88 (error at :47) else goto L37 :: bool +L37: + r109 = dank_mids._exceptions.BadResponse :: type + r110 = PyTuple_Pack(1, r109) + if is_error(r110) goto L88 (error at :52) else goto L38 +L38: + r111 = 'dank_mids._exceptions' + r112 = dank_mids._exceptions.ExceedsMaxBatchSize_template :: type + r113 = CPyType_FromTemplate(r112, r110, r111) + dec_ref r110 + if is_error(r113) goto L88 (error at :52) else goto L39 +L39: + r114 = '__mypyc_attrs__' + r115 = '__dict__' + r116 = PyTuple_Pack(1, r115) + if is_error(r116) goto L94 (error at :52) else goto L40 +L40: + r117 = PyObject_SetAttr(r113, r114, r116) + dec_ref r116 + r118 = r117 >= 0 :: signed + if not r118 goto L94 (error at :52) else goto L41 :: bool +L41: + dank_mids._exceptions.ExceedsMaxBatchSize = r113 :: type + r119 = dank_mids._exceptions.globals :: static + r120 = 'ExceedsMaxBatchSize' + r121 = CPyDict_SetItem(r119, r120, r113) + dec_ref r113 + r122 = r121 >= 0 :: signed + if not r122 goto L88 (error at :52) else goto L42 :: bool +L42: + r123 = dank_mids._exceptions.globals :: static + r124 = 'ClientResponseError' + r125 = CPyDict_GetItem(r123, r124) + if is_error(r125) goto L88 (error at :62) else goto L43 +L43: + r126 = PyTuple_Pack(1, r125) + dec_ref r125 + if is_error(r126) goto L88 (error at :62) else goto L44 +L44: + r127 = 'dank_mids._exceptions' + r128 = dank_mids._exceptions.DankMidsClientResponseError_template :: type + r129 = CPyType_FromTemplate(r128, r126, r127) + dec_ref r126 + if is_error(r129) goto L88 (error at :62) else goto L45 +L45: + r130 = DankMidsClientResponseError_trait_vtable_setup() + if is_error(r130) goto L95 (error at :-1) else goto L46 +L46: + r131 = '__mypyc_attrs__' + r132 = 'request' + r133 = 'args' + r134 = '_exception' + r135 = PyTuple_Pack(3, r132, r133, r134) + if is_error(r135) goto L95 (error at :62) else goto L47 +L47: + r136 = PyObject_SetAttr(r129, r131, r135) + dec_ref r135 + r137 = r136 >= 0 :: signed + if not r137 goto L95 (error at :62) else goto L48 :: bool +L48: + dank_mids._exceptions.DankMidsClientResponseError = r129 :: type + r138 = dank_mids._exceptions.globals :: static + r139 = 'DankMidsClientResponseError' + r140 = CPyDict_SetItem(r138, r139, r129) + dec_ref r129 + r141 = r140 >= 0 :: signed + if not r141 goto L88 (error at :62) else goto L49 :: bool +L49: + r142 = dank_mids._exceptions.globals :: static + r143 = 'Union' + r144 = CPyDict_GetItem(r142, r143) + if is_error(r144) goto L88 (error at :93) else goto L50 +L50: + r145 = builtins :: module + r146 = 'AttributeError' + r147 = CPyObject_GetAttr(r145, r146) + if is_error(r147) goto L96 (error at :94) else goto L51 +L51: + r148 = builtins :: module + r149 = 'TypeError' + r150 = CPyObject_GetAttr(r148, r149) + if is_error(r150) goto L97 (error at :94) else goto L52 +L52: + r151 = builtins :: module + r152 = 'UnboundLocalError' + r153 = CPyObject_GetAttr(r151, r152) + if is_error(r153) goto L98 (error at :94) else goto L53 +L53: + r154 = builtins :: module + r155 = 'NotImplementedError' + r156 = CPyObject_GetAttr(r154, r155) + if is_error(r156) goto L99 (error at :94) else goto L54 +L54: + r157 = builtins :: module + r158 = 'RuntimeError' + r159 = CPyObject_GetAttr(r157, r158) + if is_error(r159) goto L100 (error at :94) else goto L55 +L55: + r160 = builtins :: module + r161 = 'SyntaxError' + r162 = CPyObject_GetAttr(r160, r161) + if is_error(r162) goto L101 (error at :94) else goto L56 +L56: + r163 = (r147, r150, r153, r156, r159, r162) + r164 = box(tuple[object, object, object, object, object, object], r163) + r165 = PyObject_GetItem(r144, r164) + dec_ref r144 + dec_ref r164 + if is_error(r165) goto L88 (error at :93) else goto L57 +L57: + r166 = dank_mids._exceptions.globals :: static + r167 = '_internal_err_types' + r168 = CPyDict_SetItem(r166, r167, r165) + dec_ref r165 + r169 = r168 >= 0 :: signed + if not r169 goto L88 (error at :93) else goto L58 :: bool +L58: + r170 = dank_mids._exceptions.globals :: static + r171 = '_internal_err_types' + r172 = CPyDict_GetItem(r170, r171) + if is_error(r172) goto L88 (error at :96) else goto L59 +L59: + dank_mids._exceptions.internal_err_types = r172 :: static + r173 = dank_mids._exceptions.globals :: static + r174 = 'internal_err_types' + r175 = CPyDict_SetItem(r173, r174, r172) + dec_ref r172 + r176 = r175 >= 0 :: signed + if not r176 goto L88 (error at :96) else goto L60 :: bool +L60: + r177 = builtins :: module + r178 = 'Exception' + r179 = CPyObject_GetAttr(r177, r178) + if is_error(r179) goto L88 (error at :99) else goto L61 +L61: + r180 = PyTuple_Pack(1, r179) + dec_ref r179 + if is_error(r180) goto L88 (error at :99) else goto L62 +L62: + r181 = 'dank_mids._exceptions' + r182 = dank_mids._exceptions.DankMidsInternalError_template :: type + r183 = CPyType_FromTemplate(r182, r180, r181) + dec_ref r180 + if is_error(r183) goto L88 (error at :99) else goto L63 +L63: + r184 = '__mypyc_attrs__' + r185 = '__dict__' + r186 = PyTuple_Pack(1, r185) + if is_error(r186) goto L102 (error at :99) else goto L64 +L64: + r187 = PyObject_SetAttr(r183, r184, r186) + dec_ref r186 + r188 = r187 >= 0 :: signed + if not r188 goto L102 (error at :99) else goto L65 :: bool +L65: + dank_mids._exceptions.DankMidsInternalError = r183 :: type + r189 = dank_mids._exceptions.globals :: static + r190 = 'DankMidsInternalError' + r191 = CPyDict_SetItem(r189, r190, r183) + dec_ref r183 + r192 = r191 >= 0 :: signed + if not r192 goto L88 (error at :99) else goto L66 :: bool +L66: + r193 = builtins :: module + r194 = 'Exception' + r195 = CPyObject_GetAttr(r193, r194) + if is_error(r195) goto L88 (error at :115) else goto L67 +L67: + r196 = PyTuple_Pack(1, r195) + dec_ref r195 + if is_error(r196) goto L88 (error at :115) else goto L68 +L68: + r197 = 'dank_mids._exceptions' + r198 = dank_mids._exceptions.BatchResponseSortError_template :: type + r199 = CPyType_FromTemplate(r198, r196, r197) + dec_ref r196 + if is_error(r199) goto L88 (error at :115) else goto L69 +L69: + r200 = '__mypyc_attrs__' + r201 = '__dict__' + r202 = PyTuple_Pack(1, r201) + if is_error(r202) goto L103 (error at :115) else goto L70 +L70: + r203 = PyObject_SetAttr(r199, r200, r202) + dec_ref r202 + r204 = r203 >= 0 :: signed + if not r204 goto L103 (error at :115) else goto L71 :: bool +L71: + dank_mids._exceptions.BatchResponseSortError = r199 :: type + r205 = dank_mids._exceptions.globals :: static + r206 = 'BatchResponseSortError' + r207 = CPyDict_SetItem(r205, r206, r199) + dec_ref r199 + r208 = r207 >= 0 :: signed + if not r208 goto L88 (error at :115) else goto L72 :: bool +L72: + r209 = dank_mids._exceptions.BadResponse :: type + r210 = PyTuple_Pack(1, r209) + if is_error(r210) goto L88 (error at :148) else goto L73 +L73: + r211 = 'dank_mids._exceptions' + r212 = dank_mids._exceptions.RateLimitError_template :: type + r213 = CPyType_FromTemplate(r212, r210, r211) + dec_ref r210 + if is_error(r213) goto L88 (error at :148) else goto L74 +L74: + r214 = '__mypyc_attrs__' + r215 = '__dict__' + r216 = PyTuple_Pack(1, r215) + if is_error(r216) goto L104 (error at :148) else goto L75 +L75: + r217 = PyObject_SetAttr(r213, r214, r216) + dec_ref r216 + r218 = r217 >= 0 :: signed + if not r218 goto L104 (error at :148) else goto L76 :: bool +L76: + dank_mids._exceptions.RateLimitError = r213 :: type + r219 = dank_mids._exceptions.globals :: static + r220 = 'RateLimitError' + r221 = CPyDict_SetItem(r219, r220, r213) + dec_ref r213 + r222 = r221 >= 0 :: signed + if not r222 goto L88 (error at :148) else goto L77 :: bool +L77: + r223 = dank_mids._exceptions.RateLimitError :: type + r224 = PyTuple_Pack(1, r223) + if is_error(r224) goto L88 (error at :152) else goto L78 +L78: + r225 = 'dank_mids._exceptions' + r226 = dank_mids._exceptions.ChainstackRateLimitError_template :: type + r227 = CPyType_FromTemplate(r226, r224, r225) + dec_ref r224 + if is_error(r227) goto L88 (error at :152) else goto L79 +L79: + r228 = '__mypyc_attrs__' + r229 = '__dict__' + r230 = PyTuple_Pack(1, r229) + if is_error(r230) goto L105 (error at :152) else goto L80 +L80: + r231 = PyObject_SetAttr(r227, r228, r230) + dec_ref r230 + r232 = r231 >= 0 :: signed + if not r232 goto L105 (error at :152) else goto L81 :: bool +L81: + dank_mids._exceptions.ChainstackRateLimitError = r227 :: type + r233 = dank_mids._exceptions.globals :: static + r234 = 'ChainstackRateLimitError' + r235 = CPyDict_SetItem(r233, r234, r227) + dec_ref r227 + r236 = r235 >= 0 :: signed + if not r236 goto L88 (error at :152) else goto L82 :: bool +L82: + r237 = dank_mids._exceptions.RateLimitError :: type + r238 = PyTuple_Pack(1, r237) + if is_error(r238) goto L88 (error at :171) else goto L83 +L83: + r239 = 'dank_mids._exceptions' + r240 = dank_mids._exceptions.QuiknodeRateLimitError_template :: type + r241 = CPyType_FromTemplate(r240, r238, r239) + dec_ref r238 + if is_error(r241) goto L88 (error at :171) else goto L84 +L84: + r242 = '__mypyc_attrs__' + r243 = '__dict__' + r244 = PyTuple_Pack(1, r243) + if is_error(r244) goto L106 (error at :171) else goto L85 +L85: + r245 = PyObject_SetAttr(r241, r242, r244) + dec_ref r244 + r246 = r245 >= 0 :: signed + if not r246 goto L106 (error at :171) else goto L86 :: bool +L86: + dank_mids._exceptions.QuiknodeRateLimitError = r241 :: type + r247 = dank_mids._exceptions.globals :: static + r248 = 'QuiknodeRateLimitError' + r249 = CPyDict_SetItem(r247, r248, r241) + dec_ref r241 + r250 = r249 >= 0 :: signed + if not r250 goto L88 (error at :171) else goto L87 :: bool +L87: + return 1 +L88: + r251 = :: None + return r251 +L89: + dec_ref r41 + goto L88 +L90: + dec_ref r57 + goto L88 +L91: + dec_ref r71 + goto L88 +L92: + dec_ref r85 + goto L88 +L93: + dec_ref r99 + goto L88 +L94: + dec_ref r113 + goto L88 +L95: + dec_ref r129 + goto L88 +L96: + dec_ref r144 + goto L88 +L97: + dec_ref r144 + dec_ref r147 + goto L88 +L98: + dec_ref r144 + dec_ref r147 + dec_ref r150 + goto L88 +L99: + dec_ref r144 + dec_ref r147 + dec_ref r150 + dec_ref r153 + goto L88 +L100: + dec_ref r144 + dec_ref r147 + dec_ref r150 + dec_ref r153 + dec_ref r156 + goto L88 +L101: + dec_ref r144 + dec_ref r147 + dec_ref r150 + dec_ref r153 + dec_ref r156 + dec_ref r159 + goto L88 +L102: + dec_ref r183 + goto L88 +L103: + dec_ref r199 + goto L88 +L104: + dec_ref r213 + goto L88 +L105: + dec_ref r227 + goto L88 +L106: + dec_ref r241 + goto L88 + +def error_logger_log_debug(msg, args): + msg :: str + args :: tuple + r0 :: int + r1 :: bool + r2 :: object + r3 :: bool + r4 :: object + r5 :: object[3] + r6 :: object_ptr + r7 :: object + r8 :: None +L0: + r0 = dank_mids._logging.DEBUG :: static + if is_error(r0) goto L1 else goto L3 +L1: + r1 = raise NameError('value for final name "DEBUG" was not set') + if not r1 goto L8 (error at error_logger_log_debug:18) else goto L2 :: bool +L2: + unreachable +L3: + r2 = dank_mids.helpers._errors.error_logger_log :: static + if is_error(r2) goto L4 else goto L6 +L4: + r3 = raise NameError('value for final name "error_logger_log" was not set') + if not r3 goto L8 (error at error_logger_log_debug:18) else goto L5 :: bool +L5: + unreachable +L6: + inc_ref r0 :: int + r4 = box(int, r0) + r5 = [r4, msg, args] + r6 = load_address r5 + r7 = _PyObject_Vectorcall(r2, r6, 3, 0) + if is_error(r7) goto L9 (error at error_logger_log_debug:18) else goto L10 +L7: + dec_ref r4 + return 1 +L8: + r8 = :: None + return r8 +L9: + dec_ref r4 + goto L8 +L10: + dec_ref r7 + goto L7 + +def revert_logger_log_debug(msg, args): + msg :: str + args :: tuple + r0 :: int + r1 :: bool + r2 :: object + r3 :: bool + r4 :: object + r5 :: object[3] + r6 :: object_ptr + r7 :: object + r8 :: None +L0: + r0 = dank_mids._logging.DEBUG :: static + if is_error(r0) goto L1 else goto L3 +L1: + r1 = raise NameError('value for final name "DEBUG" was not set') + if not r1 goto L8 (error at revert_logger_log_debug:26) else goto L2 :: bool +L2: + unreachable +L3: + r2 = dank_mids.helpers._errors.revert_logger_log :: static + if is_error(r2) goto L4 else goto L6 +L4: + r3 = raise NameError('value for final name "revert_logger_log" was not set') + if not r3 goto L8 (error at revert_logger_log_debug:26) else goto L5 :: bool +L5: + unreachable +L6: + inc_ref r0 :: int + r4 = box(int, r0) + r5 = [r4, msg, args] + r6 = load_address r5 + r7 = _PyObject_Vectorcall(r2, r6, 3, 0) + if is_error(r7) goto L9 (error at revert_logger_log_debug:26) else goto L10 +L7: + dec_ref r4 + return 1 +L8: + r8 = :: None + return r8 +L9: + dec_ref r4 + goto L8 +L10: + dec_ref r7 + goto L7 + +def log_internal_error(logger, batch, exc): + logger, batch, exc :: object + r0, batch_objs :: list + r1 :: tuple[object, object, object] + r2 :: object + r3 :: str + r4 :: object + r5 :: bit + r6 :: list + r7, r8 :: ptr + r9 :: bit + r10 :: str + r11 :: object + r12 :: str + r13 :: object + r14 :: str + r15 :: ptr + r16 :: native_int + r17 :: short_int + r18 :: object + r19 :: str + r20 :: object + r21, r22 :: str + r23, r24 :: object + r25 :: object[8] + r26 :: object_ptr + r27, r28 :: object + r29 :: None +L0: +L1: + r0 = PySequence_List(batch) + if is_error(r0) goto L3 (error at log_internal_error:48) else goto L2 +L2: + batch_objs = r0 + goto L12 +L3: + r1 = CPy_CatchError() + r2 = builtins :: module + r3 = 'TypeError' + r4 = CPyObject_GetAttr(r2, r3) + if is_error(r4) goto L10 (error at log_internal_error:49) else goto L4 +L4: + r5 = CPy_ExceptionMatches(r4) + dec_ref r4 + if r5 goto L5 else goto L7 :: bool +L5: + r6 = PyList_New(1) + if is_error(r6) goto L10 (error at log_internal_error:51) else goto L6 +L6: + r7 = get_element_ptr r6 ob_item :: PyListObject + r8 = load_mem r7 :: ptr* + inc_ref batch + set_mem r8, batch :: builtins.object* + batch_objs = r6 + goto L9 +L7: CPy_Reraise() - if not 0 goto L180 else goto L235 :: bool -L176: + if not 0 goto L10 else goto L19 :: bool +L8: + unreachable +L9: + CPy_RestoreExcInfo(r1) + dec_ref r1 + goto L12 +L10: + CPy_RestoreExcInfo(r1) + dec_ref r1 + r9 = CPy_KeepPropagating() + if not r9 goto L18 else goto L11 :: bool +L11: + unreachable +L12: + r10 = "That's not good, there was an exception in a %s (len=%s). These are supposed to be handled.\nExc: %s\n%s contents: %s\n\n" + r11 = PyObject_Type(batch) + r12 = '__name__' + r13 = CPyObject_GetAttr(r11, r12) + dec_ref r11 + if is_error(r13) goto L20 (error at log_internal_error:56) else goto L13 +L13: + r14 = cast(str, r13) + if is_error(r14) goto L20 (error at log_internal_error:56) else goto L14 +L14: + r15 = get_element_ptr batch_objs ob_size :: PyVarObject + r16 = load_mem r15 :: native_int* + r17 = r16 << 1 + r18 = PyObject_Type(batch) + r19 = '__name__' + r20 = CPyObject_GetAttr(r18, r19) + dec_ref r18 + if is_error(r20) goto L21 (error at log_internal_error:59) else goto L15 +L15: + r21 = cast(str, r20) + if is_error(r21) goto L21 (error at log_internal_error:59) else goto L16 +L16: + r22 = 'error' + r23 = box(short_int, r17) + r24 = box(bool, 1) + r25 = [logger, r10, r14, r23, exc, r21, batch_objs, r24] + r26 = load_address r25 + r27 = ('exc_info',) + r28 = PyObject_VectorcallMethod(r22, r26, 9223372036854775815, r27) + if is_error(r28) goto L22 (error at log_internal_error:52) else goto L23 +L17: + dec_ref r14 + dec_ref r23 + dec_ref r21 + dec_ref batch_objs + return 1 +L18: + r29 = :: None + return r29 +L19: + dec_ref r1 + goto L8 +L20: + dec_ref batch_objs + goto L18 +L21: + dec_ref batch_objs + dec_ref r14 + goto L18 +L22: + dec_ref batch_objs + dec_ref r14 + dec_ref r21 + dec_ref r23 + goto L18 +L23: + dec_ref r28 + goto L17 + +def needs_full_request_spec(response): + response :: object + r0 :: str + r1, r2 :: object + r3 :: bit + r4 :: bool + r5 :: str + r6 :: object + r7 :: str + r8 :: object + r9, r10 :: str + r11 :: object[1] + r12 :: object_ptr + r13 :: object + r14, r15 :: str + r16 :: i32 + r17 :: bit + r18 :: object + r19, r20, r21 :: bit + r22 :: bool + r23 :: str + r24 :: object + r25 :: str + r26 :: object + r27, r28 :: str + r29 :: object[1] + r30 :: object_ptr + r31 :: object + r32, r33 :: str + r34 :: i32 + r35 :: bit + r36 :: object + r37, r38, r39 :: bit + r40 :: bool +L0: + r0 = 'error' + r1 = CPyObject_GetAttr(response, r0) + if is_error(r1) goto L24 (error at needs_full_request_spec:78) else goto L1 +L1: + r2 = load_address _Py_NoneStruct + r3 = r1 != r2 + dec_ref r1 + if r3 goto L3 else goto L2 :: bool +L2: + r4 = r3 + goto L23 +L3: + r5 = 'error' + r6 = CPyObject_GetAttr(response, r5) + if is_error(r6) goto L24 (error at needs_full_request_spec:78) else goto L4 +L4: + r7 = 'message' + r8 = CPyObject_GetAttr(r6, r7) + dec_ref r6 + if is_error(r8) goto L24 (error at needs_full_request_spec:78) else goto L5 +L5: + r9 = cast(str, r8) + if is_error(r9) goto L24 (error at needs_full_request_spec:78) else goto L6 +L6: + r10 = 'lower' + r11 = [r9] + r12 = load_address r11 + r13 = PyObject_VectorcallMethod(r10, r12, 9223372036854775809, 0) + if is_error(r13) goto L25 (error at needs_full_request_spec:78) else goto L7 +L7: + dec_ref r9 + r14 = cast(str, r13) + if is_error(r14) goto L24 (error at needs_full_request_spec:78) else goto L8 +L8: + r15 = 'invalid request' + r16 = PyUnicode_Compare(r14, r15) + dec_ref r14 + r17 = r16 == -1 + if r17 goto L9 else goto L11 :: bool +L9: + r18 = PyErr_Occurred() + r19 = r18 != 0 + if r19 goto L10 else goto L11 :: bool +L10: + r20 = CPy_KeepPropagating() + if not r20 goto L24 (error at needs_full_request_spec:-1) else goto L11 :: bool +L11: + r21 = r16 == 0 + if r21 goto L12 else goto L13 :: bool +L12: + r22 = r21 + goto L22 +L13: + r23 = 'error' + r24 = CPyObject_GetAttr(response, r23) + if is_error(r24) goto L24 (error at needs_full_request_spec:78) else goto L14 +L14: + r25 = 'message' + r26 = CPyObject_GetAttr(r24, r25) + dec_ref r24 + if is_error(r26) goto L24 (error at needs_full_request_spec:78) else goto L15 +L15: + r27 = cast(str, r26) + if is_error(r27) goto L24 (error at needs_full_request_spec:78) else goto L16 +L16: + r28 = 'lower' + r29 = [r27] + r30 = load_address r29 + r31 = PyObject_VectorcallMethod(r28, r30, 9223372036854775809, 0) + if is_error(r31) goto L26 (error at needs_full_request_spec:78) else goto L17 +L17: + dec_ref r27 + r32 = cast(str, r31) + if is_error(r32) goto L24 (error at needs_full_request_spec:78) else goto L18 +L18: + r33 = 'parse error' + r34 = PyUnicode_Compare(r32, r33) + dec_ref r32 + r35 = r34 == -1 + if r35 goto L19 else goto L21 :: bool +L19: + r36 = PyErr_Occurred() + r37 = r36 != 0 + if r37 goto L20 else goto L21 :: bool +L20: + r38 = CPy_KeepPropagating() + if not r38 goto L24 (error at needs_full_request_spec:-1) else goto L21 :: bool +L21: + r39 = r34 == 0 + r22 = r39 +L22: + r4 = r22 +L23: + return r4 +L24: + r40 = :: bool + return r40 +L25: + dec_ref r9 + goto L24 +L26: + dec_ref r27 + goto L24 + +def is_call_revert(e): + e :: dank_mids._exceptions.BadResponse + r0, r1, r2 :: str + r3 :: object[3] + r4 :: object_ptr + r5 :: object + r6, r7 :: str + r8 :: object[1] + r9 :: object_ptr + r10 :: object + r11, r12 :: str + r13 :: object + r14 :: set + r15 :: bool + r16 :: object + r17 :: str + r18 :: object + r19 :: object[2] + r20 :: object_ptr + r21, r22 :: object + r23 :: str + r24 :: object + r25 :: object[1] + r26 :: object_ptr + r27 :: object + r28, r29 :: bool +L0: + r0 = '{:{}}' + r1 = '' + r2 = 'format' + r3 = [r0, e, r1] + r4 = load_address r3 + r5 = PyObject_VectorcallMethod(r2, r4, 9223372036854775811, 0) + if is_error(r5) goto L14 (error at is_call_revert:94) else goto L1 +L1: + r6 = cast(str, r5) + if is_error(r6) goto L14 (error at is_call_revert:94) else goto L2 +L2: + r7 = 'lower' + r8 = [r6] + r9 = load_address r8 + r10 = PyObject_VectorcallMethod(r7, r9, 9223372036854775809, 0) + if is_error(r10) goto L15 (error at is_call_revert:94) else goto L3 +L3: + dec_ref r6 + r11 = cast(str, r10) + if is_error(r11) goto L14 (error at is_call_revert:94) else goto L4 +L4: + r12 = '__contains__' + r13 = CPyObject_GetAttr(r11, r12) + dec_ref r11 + if is_error(r13) goto L14 (error at is_call_revert:94) else goto L5 +L5: + r14 = dank_mids.helpers._errors.INDIVIDUAL_CALL_REVERT_STRINGS :: static + if is_error(r14) goto L16 else goto L8 +L6: + r15 = raise NameError('value for final name "INDIVIDUAL_CALL_REVERT_STRINGS" was not set') + if not r15 goto L14 (error at is_call_revert:94) else goto L7 :: bool +L7: + unreachable +L8: + r16 = builtins :: module + r17 = 'map' + r18 = CPyObject_GetAttr(r16, r17) + if is_error(r18) goto L17 (error at is_call_revert:94) else goto L9 +L9: + r19 = [r13, r14] + r20 = load_address r19 + r21 = _PyObject_Vectorcall(r18, r20, 2, 0) + dec_ref r18 + if is_error(r21) goto L17 (error at is_call_revert:94) else goto L10 +L10: + dec_ref r13 + r22 = builtins :: module + r23 = 'any' + r24 = CPyObject_GetAttr(r22, r23) + if is_error(r24) goto L18 (error at is_call_revert:94) else goto L11 +L11: + r25 = [r21] + r26 = load_address r25 + r27 = _PyObject_Vectorcall(r24, r26, 1, 0) + dec_ref r24 + if is_error(r27) goto L18 (error at is_call_revert:94) else goto L12 +L12: + dec_ref r21 + r28 = unbox(bool, r27) + dec_ref r27 + if is_error(r28) goto L14 (error at is_call_revert:94) else goto L13 +L13: + return r28 +L14: + r29 = :: bool + return r29 +L15: + dec_ref r6 + goto L14 +L16: + dec_ref r13 + goto L6 +L17: + dec_ref r13 + goto L14 +L18: + dec_ref r21 + goto L14 + +def log_request_type_switch(): + r0 :: str + r1 :: object + r2 :: bool + r3 :: object[1] + r4 :: object_ptr + r5 :: object + r6 :: None +L0: + r0 = 'your node says the partial request was invalid but its okay, we can use the full jsonrpc spec instead' + r1 = dank_mids.helpers._errors.error_logger_debug :: static + if is_error(r1) goto L1 else goto L3 +L1: + r2 = raise NameError('value for final name "error_logger_debug" was not set') + if not r2 goto L5 (error at log_request_type_switch:98) else goto L2 :: bool +L2: + unreachable +L3: + r3 = [r0] + r4 = load_address r3 + r5 = _PyObject_Vectorcall(r1, r4, 1, 0) + if is_error(r5) goto L5 (error at log_request_type_switch:98) else goto L6 +L4: + return 1 +L5: + r6 = :: None + return r6 +L6: + dec_ref r5 + goto L4 + +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str + r4, r5 :: object + r6 :: str + r7 :: dict + r8, r9 :: object + r10 :: str + r11 :: dict + r12, r13 :: object + r14 :: str + r15 :: dict + r16, r17 :: object + r18 :: str + r19 :: dict + r20, r21 :: object + r22 :: str + r23 :: dict + r24 :: object + r25 :: str + r26 :: object + r27 :: bool + r28 :: object[1] + r29 :: object_ptr + r30 :: object + r31 :: dict + r32 :: str + r33 :: i32 + r34 :: bit + r35 :: object + r36 :: bool + r37 :: str + r38 :: object + r39 :: dict + r40 :: str + r41 :: i32 + r42 :: bit + r43 :: object + r44 :: bool + r45 :: str + r46 :: object + r47 :: dict + r48 :: str + r49 :: i32 + r50 :: bit + r51 :: object + r52 :: bool + r53, r54 :: str + r55 :: object[2] + r56 :: object_ptr + r57 :: object + r58 :: dict + r59 :: str + r60 :: i32 + r61 :: bit + r62 :: object + r63 :: bool + r64 :: str + r65 :: object + r66 :: dict + r67 :: str + r68 :: i32 + r69 :: bit + r70 :: object + r71 :: bool + r72, r73 :: str + r74 :: object[2] + r75 :: object_ptr + r76 :: object + r77 :: dict + r78 :: str + r79 :: i32 + r80 :: bit + r81 :: object + r82 :: bool + r83 :: str + r84 :: object + r85 :: dict + r86 :: str + r87 :: i32 + r88 :: bit + r89 :: object + r90 :: bool + r91 :: str + r92 :: object + r93 :: dict + r94 :: str + r95 :: i32 + r96 :: bit + r97 :: object + r98 :: bool + r99, r100 :: str + r101 :: object[2] + r102 :: object_ptr + r103 :: object + r104 :: dict + r105 :: str + r106 :: i32 + r107 :: bit + r108 :: object + r109 :: bool + r110 :: str + r111 :: object + r112 :: dict + r113 :: str + r114 :: i32 + r115 :: bit + r116, r117, r118, r119, r120 :: str + r121 :: set + r122 :: i32 + r123 :: bit + r124 :: i32 + r125 :: bit + r126 :: i32 + r127 :: bit + r128 :: i32 + r129 :: bit + r130 :: i32 + r131 :: bit + r132 :: dict + r133 :: str + r134 :: i32 + r135 :: bit + r136 :: None +L0: + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool +L1: + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L67 (error at :-1) else goto L2 +L2: + builtins = r4 :: module + dec_ref r4 +L3: + r5 = ('Logger',) + r6 = 'logging' + r7 = dank_mids.helpers._errors.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L67 (error at :1) else goto L4 +L4: + logging = r8 :: module + dec_ref r8 + r9 = ('TYPE_CHECKING', 'Any', 'Final') + r10 = 'typing' + r11 = dank_mids.helpers._errors.globals :: static + r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) + if is_error(r12) goto L67 (error at :2) else goto L5 +L5: + typing = r12 :: module + dec_ref r12 + r13 = ('BadResponse',) + r14 = 'dank_mids._exceptions' + r15 = dank_mids.helpers._errors.globals :: static + r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) + if is_error(r16) goto L67 (error at :4) else goto L6 +L6: + dank_mids._exceptions = r16 :: module + dec_ref r16 + r17 = ('DEBUG', 'getLogger') + r18 = 'dank_mids._logging' + r19 = dank_mids.helpers._errors.globals :: static + r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) + if is_error(r20) goto L67 (error at :5) else goto L7 +L7: + dank_mids._logging = r20 :: module + dec_ref r20 + r21 = ('PartialResponse',) + r22 = 'dank_mids.types' + r23 = dank_mids.helpers._errors.globals :: static + r24 = CPyImport_ImportFromMany(r22, r21, r21, r23) + if is_error(r24) goto L67 (error at :6) else goto L8 +L8: + dank_mids.types = r24 :: module + dec_ref r24 + if 0 goto L9 else goto L9 :: bool +L9: + r25 = 'dank_mids.errors' + r26 = dank_mids._logging.getLogger :: static + if is_error(r26) goto L10 else goto L12 +L10: + r27 = raise NameError('value for final name "getLogger" was not set') + if not r27 goto L67 (error at :12) else goto L11 :: bool +L11: unreachable -L177: - CPy_Reraise() - if not 0 goto L180 else goto L236 :: bool -L178: +L12: + r28 = [r25] + r29 = load_address r28 + r30 = _PyObject_Vectorcall(r26, r29, 1, 0) + if is_error(r30) goto L67 (error at :12) else goto L13 +L13: + dank_mids.helpers._errors.error_logger = r30 :: static + r31 = dank_mids.helpers._errors.globals :: static + r32 = 'error_logger' + r33 = CPyDict_SetItem(r31, r32, r30) + dec_ref r30 + r34 = r33 >= 0 :: signed + if not r34 goto L67 (error at :12) else goto L14 :: bool +L14: + r35 = dank_mids.helpers._errors.error_logger :: static + if is_error(r35) goto L15 else goto L17 +L15: + r36 = raise NameError('value for final name "error_logger" was not set') + if not r36 goto L67 (error at :13) else goto L16 :: bool +L16: unreachable -L179: - CPy_RestoreExcInfo(r491) - dec_ref r491 - goto L164 -L180: - CPy_RestoreExcInfo(r491) - dec_ref r491 - r510 = CPy_KeepPropagating() - if not r510 goto L222 else goto L181 :: bool -L181: +L17: + r37 = 'debug' + r38 = CPyObject_GetAttr(r35, r37) + if is_error(r38) goto L67 (error at :13) else goto L18 +L18: + dank_mids.helpers._errors.error_logger_debug = r38 :: static + r39 = dank_mids.helpers._errors.globals :: static + r40 = 'error_logger_debug' + r41 = CPyDict_SetItem(r39, r40, r38) + dec_ref r38 + r42 = r41 >= 0 :: signed + if not r42 goto L67 (error at :13) else goto L19 :: bool +L19: + r43 = dank_mids.helpers._errors.error_logger :: static + if is_error(r43) goto L20 else goto L22 +L20: + r44 = raise NameError('value for final name "error_logger" was not set') + if not r44 goto L67 (error at :14) else goto L21 :: bool +L21: unreachable -L182: - r511 = dank_mids.brownie_patch.call.globals :: static - r512 = 'MULTICALL2_ADDRESSES' - r513 = CPyDict_GetItem(r511, r512) - if is_error(r513) goto L222 (error at :267) else goto L183 -L183: - r514 = dank_mids.brownie_patch.call.globals :: static - r515 = 'chainid' - r516 = CPyDict_GetItem(r514, r515) - if is_error(r516) goto L237 (error at :267) else goto L184 -L184: - r517 = 'get' - r518 = box(None, 1) - r519 = [r513, r516, r518] - r520 = load_address r519 - r521 = PyObject_VectorcallMethod(r517, r520, 9223372036854775811, 0) - if is_error(r521) goto L238 (error at :267) else goto L185 -L185: - dec_ref r513 - dec_ref r516 - r522 = dank_mids.brownie_patch.call.globals :: static - r523 = 'multicall2' - r524 = CPyDict_SetItem(r522, r523, r521) - r525 = r524 >= 0 :: signed - if not r525 goto L239 (error at :267) else goto L186 :: bool -L186: - r526 = PyObject_IsTrue(r521) - dec_ref r521 - r527 = r526 >= 0 :: signed - if not r527 goto L222 (error at :267) else goto L187 :: bool -L187: - r528 = truncate r526: i32 to builtins.bool - if r528 goto L188 else goto L196 :: bool -L188: - r529 = dank_mids.brownie_patch.call.globals :: static - r530 = '_skip_proc_pool' - r531 = CPyDict_GetItem(r529, r530) - if is_error(r531) goto L222 (error at :268) else goto L189 -L189: - r532 = cast(set, r531) - if is_error(r532) goto L222 (error at :268) else goto L190 -L190: - r533 = dank_mids.brownie_patch.call.globals :: static - r534 = 'multicall2' - r535 = CPyDict_GetItem(r533, r534) - if is_error(r535) goto L240 (error at :268) else goto L191 -L191: - r536 = dank_mids.brownie_patch.call.to_checksum_address :: static - if is_error(r536) goto L241 else goto L194 -L192: - r537 = raise NameError('value for final name "to_checksum_address" was not set') - if not r537 goto L222 (error at :268) else goto L193 :: bool -L193: +L22: + r45 = '_log' + r46 = CPyObject_GetAttr(r43, r45) + if is_error(r46) goto L67 (error at :14) else goto L23 +L23: + dank_mids.helpers._errors.error_logger_log = r46 :: static + r47 = dank_mids.helpers._errors.globals :: static + r48 = 'error_logger_log' + r49 = CPyDict_SetItem(r47, r48, r46) + dec_ref r46 + r50 = r49 >= 0 :: signed + if not r50 goto L67 (error at :14) else goto L24 :: bool +L24: + r51 = dank_mids.helpers._errors.error_logger :: static + if is_error(r51) goto L25 else goto L27 +L25: + r52 = raise NameError('value for final name "error_logger" was not set') + if not r52 goto L67 (error at :21) else goto L26 :: bool +L26: + unreachable +L27: + r53 = 'reverts' + r54 = 'getChild' + r55 = [r51, r53] + r56 = load_address r55 + r57 = PyObject_VectorcallMethod(r54, r56, 9223372036854775810, 0) + if is_error(r57) goto L67 (error at :21) else goto L28 +L28: + dank_mids.helpers._errors.revert_logger = r57 :: static + r58 = dank_mids.helpers._errors.globals :: static + r59 = 'revert_logger' + r60 = CPyDict_SetItem(r58, r59, r57) + dec_ref r57 + r61 = r60 >= 0 :: signed + if not r61 goto L67 (error at :21) else goto L29 :: bool +L29: + r62 = dank_mids.helpers._errors.revert_logger :: static + if is_error(r62) goto L30 else goto L32 +L30: + r63 = raise NameError('value for final name "revert_logger" was not set') + if not r63 goto L67 (error at :22) else goto L31 :: bool +L31: + unreachable +L32: + r64 = '_log' + r65 = CPyObject_GetAttr(r62, r64) + if is_error(r65) goto L67 (error at :22) else goto L33 +L33: + dank_mids.helpers._errors.revert_logger_log = r65 :: static + r66 = dank_mids.helpers._errors.globals :: static + r67 = 'revert_logger_log' + r68 = CPyDict_SetItem(r66, r67, r65) + dec_ref r65 + r69 = r68 >= 0 :: signed + if not r69 goto L67 (error at :22) else goto L34 :: bool +L34: + r70 = dank_mids.helpers._errors.error_logger :: static + if is_error(r70) goto L35 else goto L37 +L35: + r71 = raise NameError('value for final name "error_logger" was not set') + if not r71 goto L67 (error at :29) else goto L36 :: bool +L36: + unreachable +L37: + r72 = 'timeouts' + r73 = 'getChild' + r74 = [r70, r72] + r75 = load_address r74 + r76 = PyObject_VectorcallMethod(r73, r75, 9223372036854775810, 0) + if is_error(r76) goto L67 (error at :29) else goto L38 +L38: + dank_mids.helpers._errors.timeout_logger = r76 :: static + r77 = dank_mids.helpers._errors.globals :: static + r78 = 'timeout_logger' + r79 = CPyDict_SetItem(r77, r78, r76) + dec_ref r76 + r80 = r79 >= 0 :: signed + if not r80 goto L67 (error at :29) else goto L39 :: bool +L39: + r81 = dank_mids.helpers._errors.timeout_logger :: static + if is_error(r81) goto L40 else goto L42 +L40: + r82 = raise NameError('value for final name "timeout_logger" was not set') + if not r82 goto L67 (error at :30) else goto L41 :: bool +L41: + unreachable +L42: + r83 = 'debug' + r84 = CPyObject_GetAttr(r81, r83) + if is_error(r84) goto L67 (error at :30) else goto L43 +L43: + dank_mids.helpers._errors.timeout_logger_debug = r84 :: static + r85 = dank_mids.helpers._errors.globals :: static + r86 = 'timeout_logger_debug' + r87 = CPyDict_SetItem(r85, r86, r84) + dec_ref r84 + r88 = r87 >= 0 :: signed + if not r88 goto L67 (error at :30) else goto L44 :: bool +L44: + r89 = dank_mids.helpers._errors.timeout_logger :: static + if is_error(r89) goto L45 else goto L47 +L45: + r90 = raise NameError('value for final name "timeout_logger" was not set') + if not r90 goto L67 (error at :31) else goto L46 :: bool +L46: + unreachable +L47: + r91 = 'warning' + r92 = CPyObject_GetAttr(r89, r91) + if is_error(r92) goto L67 (error at :31) else goto L48 +L48: + dank_mids.helpers._errors.timeout_logger_warning = r92 :: static + r93 = dank_mids.helpers._errors.globals :: static + r94 = 'timeout_logger_warning' + r95 = CPyDict_SetItem(r93, r94, r92) + dec_ref r92 + r96 = r95 >= 0 :: signed + if not r96 goto L67 (error at :31) else goto L49 :: bool +L49: + r97 = dank_mids.helpers._errors.error_logger :: static + if is_error(r97) goto L50 else goto L52 +L50: + r98 = raise NameError('value for final name "error_logger" was not set') + if not r98 goto L67 (error at :34) else goto L51 :: bool +L51: + unreachable +L52: + r99 = 'gas' + r100 = 'getChild' + r101 = [r97, r99] + r102 = load_address r101 + r103 = PyObject_VectorcallMethod(r100, r102, 9223372036854775810, 0) + if is_error(r103) goto L67 (error at :34) else goto L53 +L53: + dank_mids.helpers._errors.gas_logger = r103 :: static + r104 = dank_mids.helpers._errors.globals :: static + r105 = 'gas_logger' + r106 = CPyDict_SetItem(r104, r105, r103) + dec_ref r103 + r107 = r106 >= 0 :: signed + if not r107 goto L67 (error at :34) else goto L54 :: bool +L54: + r108 = dank_mids.helpers._errors.gas_logger :: static + if is_error(r108) goto L55 else goto L57 +L55: + r109 = raise NameError('value for final name "gas_logger" was not set') + if not r109 goto L67 (error at :35) else goto L56 :: bool +L56: unreachable -L194: - r538 = [r535] - r539 = load_address r538 - r540 = _PyObject_Vectorcall(r536, r539, 1, 0) - if is_error(r540) goto L242 (error at :268) else goto L195 -L195: - dec_ref r535 - r541 = PySet_Add(r532, r540) - dec_ref r532 - dec_ref r540 - r542 = r541 >= 0 :: signed - if not r542 goto L222 (error at :268) else goto L196 :: bool -L196: - r543 = dank_mids.brownie_patch.call.globals :: static - r544 = 'format_input_but_cache_checksums' - r545 = CPyDict_GetItem(r543, r544) - if is_error(r545) goto L222 (error at :328) else goto L197 -L197: - r546 = dank_mids.brownie_patch.call.globals :: static - r547 = 'brownie' - r548 = CPyDict_GetItem(r546, r547) - if is_error(r548) goto L243 (error at :328) else goto L198 -L198: - r549 = 'network' - r550 = CPyObject_GetAttr(r548, r549) - dec_ref r548 - if is_error(r550) goto L243 (error at :328) else goto L199 -L199: - r551 = 'contract' - r552 = CPyObject_GetAttr(r550, r551) - dec_ref r550 - if is_error(r552) goto L243 (error at :328) else goto L200 -L200: - r553 = 'format_input' - r554 = PyObject_SetAttr(r552, r553, r545) - dec_ref r552 - dec_ref r545 - r555 = r554 >= 0 :: signed - if not r555 goto L222 (error at :328) else goto L201 :: bool -L201: - r556 = dank_mids.brownie_patch.call.globals :: static - r557 = 'format_output_but_cache_checksums' - r558 = CPyDict_GetItem(r556, r557) - if is_error(r558) goto L222 (error at :329) else goto L202 -L202: - r559 = dank_mids.brownie_patch.call.globals :: static - r560 = 'brownie' - r561 = CPyDict_GetItem(r559, r560) - if is_error(r561) goto L244 (error at :329) else goto L203 -L203: - r562 = 'network' - r563 = CPyObject_GetAttr(r561, r562) - dec_ref r561 - if is_error(r563) goto L244 (error at :329) else goto L204 -L204: - r564 = 'contract' - r565 = CPyObject_GetAttr(r563, r564) - dec_ref r563 - if is_error(r565) goto L244 (error at :329) else goto L205 -L205: - r566 = 'format_output' - r567 = PyObject_SetAttr(r565, r566, r558) - dec_ref r565 - dec_ref r558 - r568 = r567 >= 0 :: signed - if not r568 goto L222 (error at :329) else goto L206 :: bool -L206: - r569 = dank_mids.brownie_patch.call.globals :: static - r570 = '_format_array_but_cache_checksums' - r571 = CPyDict_GetItem(r569, r570) - if is_error(r571) goto L222 (error at :386) else goto L207 -L207: - r572 = dank_mids.brownie_patch.call.globals :: static - r573 = 'brownie' - r574 = CPyDict_GetItem(r572, r573) - if is_error(r574) goto L245 (error at :386) else goto L208 -L208: - r575 = 'convert' - r576 = CPyObject_GetAttr(r574, r575) - dec_ref r574 - if is_error(r576) goto L245 (error at :386) else goto L209 -L209: - r577 = 'normalize' - r578 = CPyObject_GetAttr(r576, r577) - dec_ref r576 - if is_error(r578) goto L245 (error at :386) else goto L210 -L210: - r579 = '_format_array' - r580 = PyObject_SetAttr(r578, r579, r571) - dec_ref r578 - dec_ref r571 - r581 = r580 >= 0 :: signed - if not r581 goto L222 (error at :386) else goto L211 :: bool -L211: - r582 = dank_mids.brownie_patch.call.globals :: static - r583 = '_format_single_but_cache_checksums' - r584 = CPyDict_GetItem(r582, r583) - if is_error(r584) goto L222 (error at :387) else goto L212 -L212: - r585 = dank_mids.brownie_patch.call.globals :: static - r586 = 'brownie' - r587 = CPyDict_GetItem(r585, r586) - if is_error(r587) goto L246 (error at :387) else goto L213 -L213: - r588 = 'convert' - r589 = CPyObject_GetAttr(r587, r588) - dec_ref r587 - if is_error(r589) goto L246 (error at :387) else goto L214 -L214: - r590 = 'normalize' - r591 = CPyObject_GetAttr(r589, r590) - dec_ref r589 - if is_error(r591) goto L246 (error at :387) else goto L215 -L215: - r592 = '_format_single' - r593 = PyObject_SetAttr(r591, r592, r584) - dec_ref r591 - dec_ref r584 - r594 = r593 >= 0 :: signed - if not r594 goto L222 (error at :387) else goto L216 :: bool -L216: - r595 = dank_mids.brownie_patch.call.globals :: static - r596 = '_format_tuple_but_cache_checksums' - r597 = CPyDict_GetItem(r595, r596) - if is_error(r597) goto L222 (error at :388) else goto L217 -L217: - r598 = dank_mids.brownie_patch.call.globals :: static - r599 = 'brownie' - r600 = CPyDict_GetItem(r598, r599) - if is_error(r600) goto L247 (error at :388) else goto L218 -L218: - r601 = 'convert' - r602 = CPyObject_GetAttr(r600, r601) - dec_ref r600 - if is_error(r602) goto L247 (error at :388) else goto L219 -L219: - r603 = 'normalize' - r604 = CPyObject_GetAttr(r602, r603) - dec_ref r602 - if is_error(r604) goto L247 (error at :388) else goto L220 -L220: - r605 = '_format_tuple' - r606 = PyObject_SetAttr(r604, r605, r597) - dec_ref r604 - dec_ref r597 - r607 = r606 >= 0 :: signed - if not r607 goto L222 (error at :388) else goto L221 :: bool -L221: - return 1 -L222: - r608 = :: None - return r608 -L223: - dec_ref r133 - goto L222 -L224: - dec_ref r164 - goto L222 -L225: - dec_ref r175 - goto L222 -L226: - dec_ref r175 - dec_ref r178 - goto L222 -L227: - dec_ref r175 - dec_ref r182 - goto L222 -L228: - dec_ref r175 - dec_ref r182 - dec_ref r185 - goto L222 -L229: - dec_ref r203 - goto L222 -L230: - dec_ref r210 - goto L222 -L231: - dec_ref r392 - goto L128 -L232: - dec_ref r392 - goto L222 -L233: - dec_ref r423 - goto L222 -L234: - dec_ref r475 - goto L222 -L235: - dec_ref r491 - goto L176 -L236: - dec_ref r491 - goto L178 -L237: - dec_ref r513 - goto L222 -L238: - dec_ref r513 - dec_ref r516 - goto L222 -L239: - dec_ref r521 - goto L222 -L240: - dec_ref r532 - goto L222 -L241: - dec_ref r532 - dec_ref r535 - goto L192 -L242: - dec_ref r532 - dec_ref r535 - goto L222 -L243: - dec_ref r545 - goto L222 -L244: - dec_ref r558 - goto L222 -L245: - dec_ref r571 - goto L222 -L246: - dec_ref r584 - goto L222 -L247: - dec_ref r597 - goto L222 +L57: + r110 = 'debug' + r111 = CPyObject_GetAttr(r108, r110) + if is_error(r111) goto L67 (error at :35) else goto L58 +L58: + dank_mids.helpers._errors.gas_logger_debug = r111 :: static + r112 = dank_mids.helpers._errors.globals :: static + r113 = 'gas_logger_debug' + r114 = CPyDict_SetItem(r112, r113, r111) + dec_ref r111 + r115 = r114 >= 0 :: signed + if not r115 goto L67 (error at :35) else goto L59 :: bool +L59: + r116 = 'invalid opcode' + r117 = 'missing trie node' + r118 = 'resource not found' + r119 = 'invalid ether transfer' + r120 = 'error processing call revert' + r121 = PySet_New(0) + if is_error(r121) goto L67 (error at :37) else goto L60 +L60: + r122 = PySet_Add(r121, r116) + r123 = r122 >= 0 :: signed + if not r123 goto L68 (error at :37) else goto L61 :: bool +L61: + r124 = PySet_Add(r121, r117) + r125 = r124 >= 0 :: signed + if not r125 goto L68 (error at :37) else goto L62 :: bool +L62: + r126 = PySet_Add(r121, r118) + r127 = r126 >= 0 :: signed + if not r127 goto L68 (error at :37) else goto L63 :: bool +L63: + r128 = PySet_Add(r121, r119) + r129 = r128 >= 0 :: signed + if not r129 goto L68 (error at :37) else goto L64 :: bool +L64: + r130 = PySet_Add(r121, r120) + r131 = r130 >= 0 :: signed + if not r131 goto L68 (error at :37) else goto L65 :: bool +L65: + dank_mids.helpers._errors.INDIVIDUAL_CALL_REVERT_STRINGS = r121 :: static + r132 = dank_mids.helpers._errors.globals :: static + r133 = 'INDIVIDUAL_CALL_REVERT_STRINGS' + r134 = CPyDict_SetItem(r132, r133, r121) + dec_ref r121 + r135 = r134 >= 0 :: signed + if not r135 goto L67 (error at :37) else goto L66 :: bool +L66: + return 1 +L67: + r136 = :: None + return r136 +L68: + dec_ref r121 + goto L67 -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4 :: object - r5 :: object_ptr - r6 :: object_ptr[1] - r7 :: c_ptr - r8 :: native_int[1] - r9 :: c_ptr - r10 :: object - r11 :: dict - r12, r13 :: str - r14 :: bit - r15 :: object - r16 :: str - r17 :: dict - r18, r19 :: object - r20 :: str - r21 :: object - r22 :: dict - r23 :: str - r24 :: i32 - r25 :: bit - r26 :: dict - r27 :: str - r28 :: object - r29 :: i32 - r30 :: bit - r31 :: dict - r32 :: str - r33 :: object - r34 :: i32 - r35 :: bit - r36 :: dict - r37 :: str - r38 :: object - r39 :: i32 - r40 :: bit - r41 :: dict - r42 :: str - r43 :: object - r44 :: i32 - r45 :: bit - r46 :: dict - r47 :: str - r48 :: object - r49 :: i32 - r50 :: bit - r51 :: dict - r52 :: str - r53 :: object - r54 :: i32 - r55 :: bit - r56 :: dict - r57 :: str - r58 :: object - r59 :: i32 - r60 :: bit - r61 :: dict - r62 :: str - r63 :: object - r64 :: i32 - r65 :: bit - r66 :: None +def WeakList.__init__(self, data): + self :: dank_mids.helpers._weaklist.WeakList + data :: union[object, None] + r0 :: object + r1 :: dict + r2 :: bool + r3 :: object + r4 :: bit + r5, r6 :: None +L0: + if is_error(data) goto L1 else goto L8 +L1: + r0 = box(None, 1) + inc_ref r0 + data = r0 +L2: + r1 = PyDict_New() + if is_error(r1) goto L9 (error at __init__:18) else goto L3 +L3: + self._refs = r1; r2 = is_error + if not r2 goto L9 (error at __init__:18) else goto L4 :: bool +L4: + r3 = load_address _Py_NoneStruct + r4 = data != r3 + if r4 goto L5 else goto L10 :: bool +L5: + r5 = self.extend(data) + dec_ref data + if is_error(r5) goto L7 (error at __init__:20) else goto L6 +L6: + return 1 +L7: + r6 = :: None + return r6 +L8: + inc_ref data + goto L2 +L9: + dec_ref data + goto L7 +L10: + dec_ref data + goto L6 + +def WeakList.__repr__(self): + self :: dank_mids.helpers._weaklist.WeakList + r0 :: object + r1 :: str + r2 :: object + r3, r4, r5 :: str + r6 :: object + r7 :: str + r8, r9 :: object + r10 :: str + r11 :: object + r12 :: object[2] + r13 :: object_ptr + r14 :: object + r15, r16, r17, r18 :: str +L0: + r0 = PyObject_Type(self) + r1 = '__name__' + r2 = CPyObject_GetAttr(r0, r1) + dec_ref r0 + if is_error(r2) goto L8 (error at __repr__:24) else goto L1 +L1: + r3 = cast(str, r2) + if is_error(r3) goto L8 (error at __repr__:24) else goto L2 +L2: + r4 = '([' + r5 = ', ' + r6 = builtins :: module + r7 = 'repr' + r8 = CPyObject_GetAttr(r6, r7) + if is_error(r8) goto L9 (error at __repr__:24) else goto L3 +L3: + r9 = builtins :: module + r10 = 'map' + r11 = CPyObject_GetAttr(r9, r10) + if is_error(r11) goto L10 (error at __repr__:24) else goto L4 +L4: + r12 = [r8, self] + r13 = load_address r12 + r14 = _PyObject_Vectorcall(r11, r13, 2, 0) + dec_ref r11 + if is_error(r14) goto L10 (error at __repr__:24) else goto L5 +L5: + dec_ref r8 + r15 = PyUnicode_Join(r5, r14) + dec_ref r14 + if is_error(r15) goto L9 (error at __repr__:24) else goto L6 +L6: + r16 = '])' + r17 = CPyStr_Build(4, r3, r4, r15, r16) + dec_ref r3 + dec_ref r15 + if is_error(r17) goto L8 (error at __repr__:24) else goto L7 +L7: + return r17 +L8: + r18 = :: str + return r18 +L9: + dec_ref r3 + goto L8 +L10: + dec_ref r3 + dec_ref r8 + goto L8 + +def WeakList.__len__(self): + self :: dank_mids.helpers._weaklist.WeakList + r0 :: dict + r1 :: native_int + r2 :: short_int + r3 :: int +L0: + r0 = self._refs + if is_error(r0) goto L2 (error at __len__:27) else goto L1 +L1: + r1 = PyDict_Size(r0) + dec_ref r0 + r2 = r1 << 1 + return r2 +L2: + r3 = :: int + return r3 + +def WeakList.__bool__(self): + self :: dank_mids.helpers._weaklist.WeakList + r0 :: dict + r1 :: native_int + r2 :: short_int + r3 :: bit + r4 :: bool +L0: + r0 = self._refs + if is_error(r0) goto L2 (error at __bool__:30) else goto L1 +L1: + r1 = PyDict_Size(r0) + dec_ref r0 + r2 = r1 << 1 + r3 = r2 != 0 + return r3 +L2: + r4 = :: bool + return r4 + +def WeakList.__contains__(self, item): + self :: dank_mids.helpers._weaklist.WeakList + item :: object + r0 :: dict + r1 :: int + r2, r3 :: object + ref :: union[object, None] + r4 :: object + r5 :: bit + r6 :: bool + r7 :: object + r8 :: bit + r9 :: bool L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool + r0 = self._refs + if is_error(r0) goto L7 (error at __contains__:33) else goto L1 L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L16 (error at :-1) else goto L2 + r1 = CPyTagged_Id(item) + r2 = box(int, r1) + r3 = CPyDict_GetWithNone(r0, r2) + dec_ref r0 + dec_ref r2 + if is_error(r3) goto L7 (error at __contains__:33) else goto L2 L2: - builtins = r4 :: module - dec_ref r4 + ref = r3 + r4 = load_address _Py_NoneStruct + r5 = ref == r4 + if r5 goto L8 else goto L4 :: bool L3: - r5 = load_address logging :: module - r6 = [r5] - r7 = load_address r6 - r8 = [1] - r9 = load_address r8 - r10 = (('logging', 'logging', 'logging'),) - r11 = dank_mids._logging.globals :: static - r12 = 'dank_mids\\_logging.py' - r13 = '' - r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) - if not r14 goto L16 else goto L4 :: bool + r6 = 0 + goto L6 L4: - r15 = ('Final',) - r16 = 'typing' - r17 = dank_mids._logging.globals :: static - r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) - if is_error(r18) goto L16 (error at :2) else goto L5 + r7 = _PyObject_Vectorcall(ref, 0, 0, 0) + dec_ref ref + if is_error(r7) goto L7 (error at __contains__:34) else goto L5 L5: - typing = r18 :: module - dec_ref r18 - r19 = logging :: module - r20 = 'getLogger' - r21 = CPyObject_GetAttr(r19, r20) - if is_error(r21) goto L16 (error at :5) else goto L6 + r8 = r7 == item + dec_ref r7 + r6 = r8 L6: - dank_mids._logging.getLogger = r21 :: static - r22 = dank_mids._logging.globals :: static - r23 = 'getLogger' - r24 = CPyDict_SetItem(r22, r23, r21) - dec_ref r21 - r25 = r24 >= 0 :: signed - if not r25 goto L16 (error at :5) else goto L7 :: bool + return r6 L7: - dank_mids._logging.CRITICAL = 100 :: static - r26 = dank_mids._logging.globals :: static - r27 = 'CRITICAL' - r28 = object 50 - r29 = CPyDict_SetItem(r26, r27, r28) - r30 = r29 >= 0 :: signed - if not r30 goto L16 (error at :6) else goto L8 :: bool + r9 = :: bool + return r9 L8: - dank_mids._logging.FATAL = 100 :: static - r31 = dank_mids._logging.globals :: static - r32 = 'FATAL' - r33 = object 50 - r34 = CPyDict_SetItem(r31, r32, r33) - r35 = r34 >= 0 :: signed - if not r35 goto L16 (error at :7) else goto L9 :: bool -L9: - dank_mids._logging.ERROR = 80 :: static - r36 = dank_mids._logging.globals :: static - r37 = 'ERROR' - r38 = object 40 - r39 = CPyDict_SetItem(r36, r37, r38) - r40 = r39 >= 0 :: signed - if not r40 goto L16 (error at :8) else goto L10 :: bool -L10: - dank_mids._logging.WARN = 60 :: static - r41 = dank_mids._logging.globals :: static - r42 = 'WARN' - r43 = object 30 - r44 = CPyDict_SetItem(r41, r42, r43) - r45 = r44 >= 0 :: signed - if not r45 goto L16 (error at :9) else goto L11 :: bool -L11: - dank_mids._logging.WARNING = 60 :: static - r46 = dank_mids._logging.globals :: static - r47 = 'WARNING' - r48 = object 30 - r49 = CPyDict_SetItem(r46, r47, r48) - r50 = r49 >= 0 :: signed - if not r50 goto L16 (error at :10) else goto L12 :: bool -L12: - dank_mids._logging.INFO = 40 :: static - r51 = dank_mids._logging.globals :: static - r52 = 'INFO' - r53 = object 20 - r54 = CPyDict_SetItem(r51, r52, r53) - r55 = r54 >= 0 :: signed - if not r55 goto L16 (error at :11) else goto L13 :: bool -L13: - dank_mids._logging.DEBUG = 20 :: static - r56 = dank_mids._logging.globals :: static - r57 = 'DEBUG' - r58 = object 10 - r59 = CPyDict_SetItem(r56, r57, r58) - r60 = r59 >= 0 :: signed - if not r60 goto L16 (error at :12) else goto L14 :: bool -L14: - dank_mids._logging.NOTSET = 0 :: static - r61 = dank_mids._logging.globals :: static - r62 = 'NOTSET' - r63 = object 0 - r64 = CPyDict_SetItem(r61, r62, r63) - r65 = r64 >= 0 :: signed - if not r65 goto L16 (error at :13) else goto L15 :: bool -L15: - return 1 -L16: - r66 = :: None - return r66 + dec_ref ref + goto L3 -def coroutine_DankOverloadedMethod_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg): - __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen - type, value, traceback, arg, r0, r1 :: object - r2 :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_env - r3 :: int - r4 :: object - r5 :: bit - r6 :: dank_mids.brownie_patch.types.DankOverloadedMethod - r7 :: tuple - r8 :: str - r9 :: object[2] - r10 :: object_ptr - r11 :: object - r12 :: union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx] +def __iter___WeakList_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg): + __mypyc_self__ :: dank_mids.helpers._weaklist.__iter___WeakList_gen + type, value, traceback, arg :: object + r0 :: dank_mids.helpers._weaklist.__iter___WeakList_env + r1 :: int + r2 :: object + r3 :: bit + r4 :: dank_mids.helpers._weaklist.WeakList + r5 :: dict + r6, r7 :: bool + r8 :: dict + r9 :: native_int + r10 :: short_int + r11 :: bool + r12 :: object r13 :: bool - r14 :: union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx] - r15 :: tuple - r16, r17 :: union[int, None] - r18 :: union[dict, None] - r19 :: str + r14 :: object + r15 :: short_int + r16 :: tuple[bool, short_int, object] + r17 :: short_int + r18, r19 :: bool r20 :: object - r21 :: list - r22 :: object - r23, r24, r25 :: str - r26 :: tuple - r27 :: dict - r28, r29 :: object - r30 :: bool - r31, r32, r33, r34, r35 :: object + r21 :: bool + r22, r23 :: object + r24 :: bit + r25, r26 :: object + r27 :: bool + r28 :: object[1] + r29 :: object_ptr + r30 :: object + r31 :: bool + r32 :: union[object, None] + r33 :: object + r34 :: bit + r35 :: union[object, None] r36 :: bool r37 :: object r38 :: bit - r39 :: tuple[object, object, object] - r40 :: bool - r41 :: object_ptr - r42 :: object - r43, r44 :: bool - r45 :: tuple[object, object, object] - r46 :: bool - r47, r48 :: tuple[object, object, object] - r49 :: bit - r50, r51, r52 :: object - r53 :: bool - r54, r55 :: bit - r56 :: bool - r57 :: object + r39 :: dict + r40 :: short_int + r41, r42 :: bit + r43 :: object + r44 :: bool + r45, r46 :: bit + r47 :: bool + r48 :: object L0: - r0 = :: object - r1 = r0 - r2 = __mypyc_self__.__mypyc_env__ - if is_error(r2) goto L64 (error at coroutine:56) else goto L1 + r0 = __mypyc_self__.__mypyc_env__ + if is_error(r0) goto L45 (error at __iter__:36) else goto L1 L1: - r3 = r2.__mypyc_next_label__ - if is_error(r3) goto L65 (error at coroutine:56) else goto L59 + r1 = r0.__mypyc_next_label__ + if is_error(r1) goto L46 (error at __iter__:36) else goto L41 L2: - r4 = load_address _Py_NoneStruct - r5 = type != r4 - if r5 goto L66 else goto L5 :: bool + r2 = load_address _Py_NoneStruct + r3 = type != r2 + if r3 goto L47 else goto L5 :: bool L3: CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L63 (error at coroutine:56) else goto L4 :: bool + if not 0 goto L45 (error at __iter__:36) else goto L4 :: bool L4: unreachable L5: - r6 = r2.self - if is_error(r6) goto L65 (error at coroutine:74) else goto L6 + r4 = r0.self + if is_error(r4) goto L46 (error at __iter__:37) else goto L6 L6: - r7 = r2.args - if is_error(r7) goto L67 (error at coroutine:74) else goto L7 + r5 = r4._refs + dec_ref r4 + if is_error(r5) goto L46 (error at __iter__:37) else goto L7 L7: - r8 = '_get_fn_from_args' - r9 = [r6, r7] - r10 = load_address r9 - r11 = PyObject_VectorcallMethod(r8, r10, 9223372036854775810, 0) - if is_error(r11) goto L68 (error at coroutine:74) else goto L8 + inc_ref r5 + r0.__mypyc_temp__0 = r5; r6 = is_error + if not r6 goto L48 (error at __iter__:-1) else goto L8 :: bool L8: - dec_ref r6 - dec_ref r7 - r12 = cast(union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx], r11) - if is_error(r12) goto L65 (error at coroutine:74) else goto L9 + r0.__mypyc_temp__1 = 0; r7 = is_error + if not r7 goto L48 (error at __iter__:-1) else goto L9 :: bool L9: - r2.call = r12; r13 = is_error - if not r13 goto L65 (error at coroutine:74) else goto L10 :: bool + r8 = r0.__mypyc_temp__0 + if is_error(r8) goto L48 (error at __iter__:37) else goto L10 L10: - r14 = r2.call - if is_error(r14) goto L65 (error at coroutine:75) else goto L11 + r9 = PyDict_Size(r8) + dec_ref r8 + r10 = r9 << 1 + r0.__mypyc_temp__2 = r10; r11 = is_error + if not r11 goto L48 (error at __iter__:-1) else goto L11 :: bool L11: - r15 = r2.args - if is_error(r15) goto L69 (error at coroutine:76) else goto L12 + r12 = CPyDict_GetValuesIter(r5) + dec_ref r5 + if is_error(r12) goto L46 (error at __iter__:37) else goto L12 L12: - r16 = r2.block_identifier - if is_error(r16) goto L70 (error at coroutine:76) else goto L13 + r0.__mypyc_temp__3 = r12; r13 = is_error + if not r13 goto L46 (error at __iter__:-1) else goto L13 :: bool L13: - r17 = r2.decimals - if is_error(r17) goto L71 (error at coroutine:76) else goto L14 + r14 = r0.__mypyc_temp__3 + if is_error(r14) goto L46 (error at __iter__:37) else goto L14 L14: - r18 = r2.override - if is_error(r18) goto L72 (error at coroutine:76) else goto L15 + r15 = r0.__mypyc_temp__1 + if is_error(r15) goto L49 (error at __iter__:37) else goto L15 L15: - r19 = 'coroutine' - r20 = CPyObject_GetAttr(r14, r19) + r16 = CPyDict_NextValue(r14, r15) dec_ref r14 - if is_error(r20) goto L73 (error at coroutine:75) else goto L16 + r17 = r16[1] + r0.__mypyc_temp__1 = r17; r18 = is_error + if not r18 goto L50 (error at __iter__:37) else goto L16 :: bool L16: - r21 = PyList_New(0) - if is_error(r21) goto L74 (error at coroutine:75) else goto L17 + r19 = r16[0] + if r19 goto L17 else goto L51 :: bool L17: - r22 = CPyList_Extend(r21, r15) - dec_ref r15 - if is_error(r22) goto L75 (error at coroutine:75) else goto L76 + r20 = r16[2] + dec_ref r16 + r0.r = r20; r21 = is_error + if not r21 goto L46 (error at __iter__:37) else goto L18 :: bool L18: - r23 = 'block_identifier' - r24 = 'decimals' - r25 = 'override' - r26 = PyList_AsTuple(r21) - dec_ref r21 - if is_error(r26) goto L77 (error at coroutine:75) else goto L19 + r22 = r0.r + if is_error(r22) goto L46 (error at __iter__:38) else goto L19 L19: - r27 = CPyDict_Build(3, r23, r16, r24, r17, r25, r18) - dec_ref r16 - dec_ref r17 - dec_ref r18 - if is_error(r27) goto L78 (error at coroutine:75) else goto L20 + r23 = load_address _Py_NoneStruct + r24 = r22 != r23 + dec_ref r22 + if r24 goto L20 else goto L34 :: bool L20: - r28 = PyObject_Call(r20, r26, r27) - dec_ref r20 - dec_ref r26 - dec_ref r27 - if is_error(r28) goto L65 (error at coroutine:75) else goto L21 + r25 = r0.r + if is_error(r25) goto L46 (error at __iter__:39) else goto L21 L21: - r29 = CPy_GetCoro(r28) - dec_ref r28 - if is_error(r29) goto L65 (error at coroutine:75) else goto L22 + r26 = dank_mids.helpers._weaklist._call_ref :: static + if is_error(r26) goto L52 else goto L24 L22: - r2.__mypyc_temp__0 = r29; r30 = is_error - if not r30 goto L65 (error at coroutine:-1) else goto L23 :: bool + r27 = raise NameError('value for final name "_call_ref" was not set') + if not r27 goto L45 (error at __iter__:39) else goto L23 :: bool L23: - r31 = r2.__mypyc_temp__0 - if is_error(r31) goto L65 (error at coroutine:-1) else goto L24 + unreachable L24: - r32 = CPyIter_Next(r31) - dec_ref r31 - if is_error(r32) goto L79 else goto L27 + r28 = [r25] + r29 = load_address r28 + r30 = _PyObject_Vectorcall(r26, r29, 1, 0) + if is_error(r30) goto L53 (error at __iter__:39) else goto L25 L25: - r33 = CPy_FetchStopIterationValue() - if is_error(r33) goto L80 (error at coroutine:75) else goto L26 + dec_ref r25 + r0.obj = r30; r31 = is_error + if not r31 goto L46 (error at __iter__:39) else goto L26 :: bool L26: - r34 = r33 - goto L56 + r32 = r0.obj + if is_error(r32) goto L46 (error at __iter__:40) else goto L27 L27: - r35 = r32 + r33 = load_address _Py_NoneStruct + r34 = r32 != r33 + dec_ref r32 + if r34 goto L28 else goto L34 :: bool L28: - r2.__mypyc_next_label__ = 2; r36 = is_error - if not r36 goto L81 (error at coroutine:75) else goto L82 :: bool + r35 = r0.obj + if is_error(r35) goto L46 (error at __iter__:41) else goto L29 L29: - return r35 + r0.__mypyc_next_label__ = 2; r36 = is_error + dec_ref r0 + if not r36 goto L54 (error at __iter__:41) else goto L30 :: bool L30: + return r35 +L31: r37 = load_address _Py_NoneStruct r38 = type != r37 - if r38 goto L31 else goto L33 :: bool -L31: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L34 (error at coroutine:75) else goto L83 :: bool + if r38 goto L55 else goto L34 :: bool L32: - unreachable + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L45 (error at __iter__:41) else goto L33 :: bool L33: - inc_ref arg - goto L51 + unreachable L34: - r39 = CPy_CatchError() - r2.__mypyc_temp__1 = r39; r40 = is_error - if not r40 goto L84 (error at coroutine:-1) else goto L35 :: bool + r39 = r0.__mypyc_temp__0 + if is_error(r39) goto L46 (error at __iter__:37) else goto L35 L35: - r41 = load_address r1 - r42 = r2.__mypyc_temp__0 - if is_error(r42) goto L84 (error at coroutine:-1) else goto L36 + r40 = r0.__mypyc_temp__2 + if is_error(r40) goto L56 (error at __iter__:37) else goto L36 L36: - r43 = CPy_YieldFromErrorHandle(r42, r41) - dec_ref r42 - if is_error(r43) goto L84 (error at coroutine:75) else goto L37 + r41 = CPyDict_CheckSize(r39, r40) + dec_ref r39 + if not r41 goto L46 (error at __iter__:37) else goto L13 :: bool L37: - if r43 goto L43 else goto L38 :: bool + r42 = CPy_NoErrOccurred() + if not r42 goto L46 (error at __iter__:37) else goto L38 :: bool L38: - if is_error(r1) goto L39 else goto L41 + r43 = box(None, 1) + r0.__mypyc_next_label__ = -2; r44 = is_error + dec_ref r0 + if not r44 goto L45 (error at __iter__:36) else goto L39 :: bool L39: - r44 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r44 goto L48 (error at coroutine:-1) else goto L85 :: bool + CPyGen_SetStopIterationValue(r43) + if not 0 goto L45 else goto L40 :: bool L40: unreachable L41: - inc_ref r1 - r35 = r1 - r45 = r2.__mypyc_temp__1 - if is_error(r45) goto L86 (error at coroutine:-1) else goto L42 + r45 = r1 == 0 + if r45 goto L57 else goto L42 :: bool L42: - CPy_RestoreExcInfo(r45) - dec_ref r45 - goto L28 -L43: - if is_error(r1) goto L44 else goto L46 -L44: - r46 = raise UnboundLocalError('local variable "" referenced before assignment') - if not r46 goto L48 (error at coroutine:-1) else goto L87 :: bool -L45: - unreachable -L46: - r34 = r1 - r47 = r2.__mypyc_temp__1 - if is_error(r47) goto L88 (error at coroutine:-1) else goto L47 -L47: - CPy_RestoreExcInfo(r47) - dec_ref r47 - goto L56 -L48: - r48 = r2.__mypyc_temp__1 - dec_ref r2 - if is_error(r48) goto L63 (error at coroutine:-1) else goto L49 -L49: - CPy_RestoreExcInfo(r48) - dec_ref r48 - r49 = CPy_KeepPropagating() - if not r49 goto L63 else goto L50 :: bool -L50: - unreachable -L51: - r50 = r2.__mypyc_temp__0 - if is_error(r50) goto L89 (error at coroutine:-1) else goto L52 -L52: - r51 = CPyIter_Send(r50, arg) - dec_ref r50 - dec_ref arg - if is_error(r51) goto L90 else goto L53 -L53: - r35 = r51 - goto L28 -L54: - r52 = CPy_FetchStopIterationValue() - if is_error(r52) goto L80 (error at coroutine:75) else goto L55 -L55: - r34 = r52 -L56: - r2.__mypyc_next_label__ = -2; r53 = is_error - dec_ref r2 - if not r53 goto L91 (error at coroutine:75) else goto L57 :: bool -L57: - CPyGen_SetStopIterationValue(r34) - dec_ref r34 - if not 0 goto L63 else goto L58 :: bool -L58: - unreachable -L59: - r54 = r3 == 0 - if r54 goto L92 else goto L60 :: bool -L60: - r55 = r3 == 2 - dec_ref r3 :: int - if r55 goto L30 else goto L93 :: bool -L61: - r56 = raise StopIteration - if not r56 goto L63 (error at coroutine:56) else goto L62 :: bool -L62: - unreachable -L63: - r57 = :: object - return r57 -L64: - xdec_ref r1 - goto L63 -L65: - xdec_ref r1 - dec_ref r2 - goto L63 -L66: - xdec_ref r1 - dec_ref r2 + r46 = r1 == 2 + dec_ref r1 :: int + if r46 goto L31 else goto L58 :: bool +L43: + r47 = raise StopIteration + if not r47 goto L45 (error at __iter__:36) else goto L44 :: bool +L44: + unreachable +L45: + r48 = :: object + return r48 +L46: + dec_ref r0 + goto L45 +L47: + dec_ref r0 goto L3 -L67: - xdec_ref r1 - dec_ref r2 - dec_ref r6 - goto L63 -L68: - xdec_ref r1 - dec_ref r2 - dec_ref r6 - dec_ref r7 - goto L63 -L69: - xdec_ref r1 - dec_ref r2 - dec_ref r14 - goto L63 -L70: - xdec_ref r1 - dec_ref r2 - dec_ref r14 - dec_ref r15 - goto L63 -L71: - xdec_ref r1 - dec_ref r2 - dec_ref r14 - dec_ref r15 - dec_ref r16 - goto L63 -L72: - xdec_ref r1 - dec_ref r2 +L48: + dec_ref r0 + dec_ref r5 + goto L45 +L49: + dec_ref r0 dec_ref r14 - dec_ref r15 - dec_ref r16 - dec_ref r17 - goto L63 -L73: - xdec_ref r1 - dec_ref r2 - dec_ref r15 - dec_ref r16 - dec_ref r17 - dec_ref r18 - goto L63 -L74: - xdec_ref r1 - dec_ref r2 - dec_ref r15 - dec_ref r16 - dec_ref r17 - dec_ref r18 - dec_ref r20 - goto L63 -L75: - xdec_ref r1 - dec_ref r2 + goto L45 +L50: + dec_ref r0 dec_ref r16 - dec_ref r17 - dec_ref r18 - dec_ref r20 - dec_ref r21 - goto L63 -L76: - dec_ref r22 - goto L18 -L77: - xdec_ref r1 - dec_ref r2 + goto L45 +L51: dec_ref r16 - dec_ref r17 - dec_ref r18 - dec_ref r20 - goto L63 -L78: - xdec_ref r1 - dec_ref r2 - dec_ref r20 - dec_ref r26 - goto L63 -L79: - xdec_ref r1 - goto L25 -L80: - dec_ref r2 - goto L63 -L81: + goto L37 +L52: + dec_ref r0 + dec_ref r25 + goto L22 +L53: + dec_ref r0 + dec_ref r25 + goto L45 +L54: dec_ref r35 - goto L34 -L82: - xdec_ref r1 - dec_ref r2 - goto L29 -L83: - xdec_ref r1 - dec_ref r2 + goto L45 +L55: + dec_ref r0 goto L32 -L84: - xdec_ref r1 - goto L48 -L85: - dec_ref r2 - goto L40 -L86: - xdec_ref r1 - dec_ref r35 - goto L48 -L87: - dec_ref r2 +L56: + dec_ref r0 + dec_ref r39 goto L45 -L88: - dec_ref r34 - goto L48 -L89: - xdec_ref r1 +L57: + dec_ref r1 :: int + goto L2 +L58: + dec_ref r0 + goto L43 + +def __iter___WeakList_gen.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids.helpers._weaklist.__iter___WeakList_gen + r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = __iter___WeakList_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def __iter___WeakList_gen.send(__mypyc_self__, arg): + __mypyc_self__ :: dank_mids.helpers._weaklist.__iter___WeakList_gen + arg, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = __iter___WeakList_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg) + if is_error(r1) goto L2 else goto L1 +L1: + return r1 +L2: + r2 = :: object + return r2 + +def __iter___WeakList_gen.__iter__(__mypyc_self__): + __mypyc_self__ :: dank_mids.helpers._weaklist.__iter___WeakList_gen +L0: + inc_ref __mypyc_self__ + return __mypyc_self__ + +def __iter___WeakList_gen.throw(__mypyc_self__, type, value, traceback): + __mypyc_self__ :: dank_mids.helpers._weaklist.__iter___WeakList_gen + type, value, traceback, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + if is_error(value) goto L1 else goto L7 +L1: + inc_ref r0 + value = r0 +L2: + if is_error(traceback) goto L3 else goto L8 +L3: + inc_ref r0 + traceback = r0 +L4: + r1 = __iter___WeakList_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0) + dec_ref value + dec_ref traceback + if is_error(r1) goto L6 else goto L5 +L5: + return r1 +L6: + r2 = :: object + return r2 +L7: + inc_ref value + goto L2 +L8: + inc_ref traceback + goto L4 + +def __iter___WeakList_gen.close(__mypyc_self__): + __mypyc_self__ :: dank_mids.helpers._weaklist.__iter___WeakList_gen + r0 :: object + r1 :: str + r2, r3, r4, r5 :: object + r6 :: tuple[object, object, object] + r7 :: object + r8 :: str + r9 :: object + r10 :: tuple[object, object] + r11 :: object + r12 :: bit + r13 :: object + r14 :: bool + r15 :: object +L0: +L1: + r0 = builtins :: module + r1 = 'GeneratorExit' + r2 = CPyObject_GetAttr(r0, r1) + if is_error(r2) goto L3 else goto L2 +L2: + r3 = load_address _Py_NoneStruct + r4 = load_address _Py_NoneStruct + r5 = __mypyc_self__.throw(r2, r3, r4) + if is_error(r5) goto L3 else goto L11 +L3: + r6 = CPy_CatchError() + r7 = builtins :: module + r8 = 'StopIteration' + r9 = CPyObject_GetAttr(r7, r8) + if is_error(r9) goto L12 else goto L4 +L4: + r10 = (r2, r9) + r11 = box(tuple[object, object], r10) + r12 = CPy_ExceptionMatches(r11) + dec_ref r11 + if r12 goto L5 else goto L13 :: bool +L5: + CPy_RestoreExcInfo(r6) + dec_ref r6 + r13 = load_address _Py_NoneStruct + inc_ref r13 + return r13 +L6: + CPy_Reraise() + if not 0 goto L10 else goto L7 :: bool +L7: + unreachable +L8: + r14 = raise RuntimeError('generator ignored GeneratorExit') + if not r14 goto L10 else goto L9 :: bool +L9: + unreachable +L10: + r15 = :: object + return r15 +L11: dec_ref r2 - dec_ref arg - goto L63 -L90: - xdec_ref r1 - goto L54 -L91: - dec_ref r34 - goto L63 -L92: - dec_ref r3 :: int - goto L2 -L93: - xdec_ref r1 + dec_ref r5 + goto L8 +L12: dec_ref r2 - goto L61 + dec_ref r6 + goto L10 +L13: + dec_ref r6 + goto L6 -def coroutine_DankOverloadedMethod_gen.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen - r0, r1, r2 :: object +def WeakList.__iter__(self): + self :: dank_mids.helpers._weaklist.WeakList + r0 :: dank_mids.helpers._weaklist.__iter___WeakList_env + r1 :: bool + r2 :: dank_mids.helpers._weaklist.__iter___WeakList_gen + r3, r4 :: bool + r5 :: object L0: - r0 = load_address _Py_NoneStruct - r1 = coroutine_DankOverloadedMethod_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0) - if is_error(r1) goto L2 else goto L1 + r0 = __iter___WeakList_env() + if is_error(r0) goto L6 (error at __iter__:36) else goto L1 L1: - return r1 + inc_ref self + r0.self = self; r1 = is_error + if not r1 goto L7 (error at __iter__:36) else goto L2 :: bool L2: - r2 = :: object + r2 = __iter___WeakList_gen() + if is_error(r2) goto L7 (error at __iter__:36) else goto L3 +L3: + inc_ref r0 + r2.__mypyc_env__ = r0; r3 = is_error + if not r3 goto L8 (error at __iter__:36) else goto L4 :: bool +L4: + r0.__mypyc_next_label__ = 0; r4 = is_error + dec_ref r0 + if not r4 goto L9 (error at __iter__:36) else goto L5 :: bool +L5: return r2 +L6: + r5 = :: object + return r5 +L7: + dec_ref r0 + goto L6 +L8: + dec_ref r0 + dec_ref r2 + goto L6 +L9: + dec_ref r2 + goto L6 -def coroutine_DankOverloadedMethod_gen.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen - arg, r0, r1, r2 :: object +def WeakList.append(self, item): + self :: dank_mids.helpers._weaklist.WeakList + item :: object + r0 :: str + r1, r2 :: object + r3 :: bool + r4 :: object[2] + r5 :: object_ptr + r6 :: object + r7 :: dict + r8 :: int + r9 :: object + r10 :: i32 + r11 :: bit + r12 :: None L0: - r0 = load_address _Py_NoneStruct - r1 = coroutine_DankOverloadedMethod_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg) - if is_error(r1) goto L2 else goto L1 + r0 = '_gc_callback' + r1 = CPyObject_GetAttr(self, r0) + if is_error(r1) goto L8 (error at append:45) else goto L1 L1: - return r1 + r2 = dank_mids.helpers._weaklist.ref :: static + if is_error(r2) goto L9 else goto L4 L2: - r2 = :: object - return r2 - -def coroutine_DankOverloadedMethod_gen.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ + r3 = raise NameError('value for final name "ref" was not set') + if not r3 goto L8 (error at append:45) else goto L3 :: bool +L3: + unreachable +L4: + r4 = [item, r1] + r5 = load_address r4 + r6 = _PyObject_Vectorcall(r2, r5, 2, 0) + if is_error(r6) goto L10 (error at append:45) else goto L5 +L5: + dec_ref r1 + r7 = self._refs + if is_error(r7) goto L11 (error at append:45) else goto L6 +L6: + r8 = CPyTagged_Id(item) + r9 = box(int, r8) + r10 = CPyDict_SetItem(r7, r9, r6) + dec_ref r7 + dec_ref r9 + dec_ref r6 + r11 = r10 >= 0 :: signed + if not r11 goto L8 (error at append:45) else goto L7 :: bool +L7: + return 1 +L8: + r12 = :: None + return r12 +L9: + dec_ref r1 + goto L2 +L10: + dec_ref r1 + goto L8 +L11: + dec_ref r6 + goto L8 -def coroutine_DankOverloadedMethod_gen.throw(__mypyc_self__, type, value, traceback): - __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen - type, value, traceback, r0, r1, r2 :: object +def WeakList.extend(self, items): + self :: dank_mids.helpers._weaklist.WeakList + items :: object + r0 :: str + r1 :: object + r2 :: dict + r3 :: list + r4, r5 :: object + r6 :: int + r7 :: object + r8 :: bool + r9 :: object[2] + r10 :: object_ptr + r11 :: object + r12 :: tuple[int, object] + r13 :: object + r14 :: i32 + r15, r16 :: bit + r17 :: i32 + r18 :: bit + r19 :: None L0: - r0 = load_address _Py_NoneStruct - if is_error(value) goto L1 else goto L7 + r0 = '_gc_callback' + r1 = CPyObject_GetAttr(self, r0) + if is_error(r1) goto L13 (error at extend:48) else goto L1 L1: - inc_ref r0 - value = r0 + r2 = self._refs + if is_error(r2) goto L14 (error at extend:49) else goto L2 L2: - if is_error(traceback) goto L3 else goto L8 + r3 = PyList_New(0) + if is_error(r3) goto L15 (error at extend:49) else goto L3 L3: - inc_ref r0 - traceback = r0 + r4 = PyObject_GetIter(items) + if is_error(r4) goto L16 (error at extend:49) else goto L4 L4: - r1 = coroutine_DankOverloadedMethod_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0) - dec_ref value - dec_ref traceback - if is_error(r1) goto L6 else goto L5 + r5 = PyIter_Next(r4) + if is_error(r5) goto L17 else goto L5 L5: - return r1 + r6 = CPyTagged_Id(r5) + r7 = dank_mids.helpers._weaklist.ref :: static + if is_error(r7) goto L18 else goto L8 L6: - r2 = :: object - return r2 + r8 = raise NameError('value for final name "ref" was not set') + if not r8 goto L13 (error at extend:49) else goto L7 :: bool L7: - inc_ref value - goto L2 + unreachable L8: - inc_ref traceback - goto L4 + r9 = [r5, r1] + r10 = load_address r9 + r11 = _PyObject_Vectorcall(r7, r10, 2, 0) + if is_error(r11) goto L19 (error at extend:49) else goto L9 +L9: + dec_ref r5 + r12 = (r6, r11) + r13 = box(tuple[int, object], r12) + r14 = PyList_Append(r3, r13) + dec_ref r13 + r15 = r14 >= 0 :: signed + if not r15 goto L20 (error at extend:49) else goto L4 :: bool +L10: + r16 = CPy_NoErrOccurred() + if not r16 goto L21 (error at extend:49) else goto L11 :: bool +L11: + r17 = CPyDict_UpdateFromAny(r2, r3) + dec_ref r2 + dec_ref r3 + r18 = r17 >= 0 :: signed + if not r18 goto L13 (error at extend:49) else goto L12 :: bool +L12: + return 1 +L13: + r19 = :: None + return r19 +L14: + dec_ref r1 + goto L13 +L15: + dec_ref r1 + dec_ref r2 + goto L13 +L16: + dec_ref r1 + dec_ref r2 + dec_ref r3 + goto L13 +L17: + dec_ref r1 + dec_ref r4 + goto L10 +L18: + dec_ref r1 + dec_ref r2 + dec_ref r3 + dec_ref r4 + dec_ref r5 + dec_ref r6 :: int + goto L6 +L19: + dec_ref r1 + dec_ref r2 + dec_ref r3 + dec_ref r4 + dec_ref r5 + dec_ref r6 :: int + goto L13 +L20: + dec_ref r1 + dec_ref r2 + dec_ref r3 + dec_ref r4 + goto L13 +L21: + dec_ref r2 + dec_ref r3 + goto L13 -def coroutine_DankOverloadedMethod_gen.close(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen - r0 :: object - r1 :: str - r2, r3, r4, r5 :: object - r6 :: tuple[object, object, object] - r7 :: object - r8 :: str - r9 :: object - r10 :: tuple[object, object] - r11 :: object - r12 :: bit - r13 :: object - r14 :: bool +def WeakList.remove(self, item): + self :: dank_mids.helpers._weaklist.WeakList + item :: object + r0 :: int + r1 :: dict + r2, r3 :: object + ref :: union[object, None] + r4 :: object + r5 :: bit + r6 :: object + r7, r8 :: bit + r9 :: str + r10 :: object + r11 :: str + r12 :: object + r13 :: object[1] + r14 :: object_ptr r15 :: object + r16 :: dict + r17 :: object + r18 :: i32 + r19 :: bit + r20 :: None L0: + r0 = CPyTagged_Id(item) + r1 = self._refs + if is_error(r1) goto L13 (error at remove:53) else goto L1 L1: - r0 = builtins :: module - r1 = 'GeneratorExit' - r2 = CPyObject_GetAttr(r0, r1) - if is_error(r2) goto L3 else goto L2 + inc_ref r0 :: int + r2 = box(int, r0) + r3 = CPyDict_GetWithNone(r1, r2) + dec_ref r1 + dec_ref r2 + if is_error(r3) goto L13 (error at remove:53) else goto L2 L2: - r3 = load_address _Py_NoneStruct + ref = r3 r4 = load_address _Py_NoneStruct - r5 = __mypyc_self__.throw(r2, r3, r4) - if is_error(r5) goto L3 else goto L11 + r5 = ref == r4 + if r5 goto L14 else goto L3 :: bool L3: - r6 = CPy_CatchError() - r7 = builtins :: module - r8 = 'StopIteration' - r9 = CPyObject_GetAttr(r7, r8) - if is_error(r9) goto L12 else goto L4 + r6 = _PyObject_Vectorcall(ref, 0, 0, 0) + dec_ref ref + if is_error(r6) goto L13 (error at remove:54) else goto L4 L4: - r10 = (r2, r9) - r11 = box(tuple[object, object], r10) - r12 = CPy_ExceptionMatches(r11) - dec_ref r11 - if r12 goto L5 else goto L13 :: bool -L5: - CPy_RestoreExcInfo(r6) + r7 = r6 == item dec_ref r6 - r13 = load_address _Py_NoneStruct - inc_ref r13 - return r13 + r8 = r7 ^ 1 + if r8 goto L15 else goto L9 :: bool +L5: + r9 = 'list.remove(x): x not in list' + r10 = builtins :: module + r11 = 'ValueError' + r12 = CPyObject_GetAttr(r10, r11) + if is_error(r12) goto L12 (error at remove:55) else goto L6 L6: - CPy_Reraise() - if not 0 goto L10 else goto L7 :: bool + r13 = [r9] + r14 = load_address r13 + r15 = _PyObject_Vectorcall(r12, r14, 1, 0) + dec_ref r12 + if is_error(r15) goto L12 (error at remove:55) else goto L7 L7: - unreachable + CPy_Raise(r15) + dec_ref r15 + if not 0 goto L12 (error at remove:55) else goto L8 :: bool L8: - r14 = raise RuntimeError('generator ignored GeneratorExit') - if not r14 goto L10 else goto L9 :: bool -L9: unreachable +L9: + r16 = self._refs + if is_error(r16) goto L13 (error at remove:56) else goto L10 L10: - r15 = :: object - return r15 + r17 = box(int, r0) + r18 = PyObject_DelItem(r16, r17) + dec_ref r16 + dec_ref r17 + r19 = r18 >= 0 :: signed + if not r19 goto L12 (error at remove:56) else goto L11 :: bool L11: - dec_ref r2 - dec_ref r5 - goto L8 + return 1 L12: - dec_ref r2 - dec_ref r6 - goto L10 + r20 = :: None + return r20 L13: - dec_ref r6 - goto L6 + dec_ref r0 :: int + goto L12 +L14: + dec_ref r0 :: int + dec_ref ref + goto L5 +L15: + dec_ref r0 :: int + goto L5 -def coroutine_DankOverloadedMethod_gen.__await__(__mypyc_self__): - __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen +def WeakList._gc_callback(self, item): + self :: dank_mids.helpers._weaklist.WeakList + item :: object + r0 :: dict + r1 :: int + r2 :: str + r3, r4 :: object + r5 :: object[3] + r6 :: object_ptr + r7 :: object + r8 :: None L0: - inc_ref __mypyc_self__ - return __mypyc_self__ + r0 = self._refs + if is_error(r0) goto L3 (error at _gc_callback:60) else goto L1 +L1: + r1 = CPyTagged_Id(item) + r2 = 'pop' + r3 = box(int, r1) + r4 = box(None, 1) + r5 = [r0, r3, r4] + r6 = load_address r5 + r7 = PyObject_VectorcallMethod(r2, r6, 9223372036854775811, 0) + if is_error(r7) goto L4 (error at _gc_callback:60) else goto L5 +L2: + dec_ref r0 + dec_ref r3 + return 1 +L3: + r8 = :: None + return r8 +L4: + dec_ref r0 + dec_ref r3 + goto L3 +L5: + dec_ref r7 + goto L2 -def DankOverloadedMethod.coroutine(self, args, block_identifier, decimals, override): - self :: dank_mids.brownie_patch.types.DankOverloadedMethod - args :: tuple - block_identifier, decimals :: union[int, None] - override :: union[dict, None] - r0, r1, r2 :: object - r3 :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_env - r4, r5, r6, r7, r8 :: bool - r9 :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen - r10, r11 :: bool - r12 :: object +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str + r4 :: object + r5 :: object_ptr + r6 :: object_ptr[1] + r7 :: c_ptr + r8 :: native_int[1] + r9 :: c_ptr + r10 :: object + r11 :: dict + r12, r13 :: str + r14 :: bit + r15 :: object + r16 :: str + r17 :: dict + r18 :: object + r19 :: str + r20 :: dict + r21 :: str + r22 :: object + r23 :: object[1] + r24 :: object_ptr + r25 :: object + r26 :: dict + r27 :: str + r28 :: i32 + r29 :: bit + r30 :: object + r31 :: str + r32 :: object + r33 :: dict + r34 :: str + r35 :: i32 + r36 :: bit + r37 :: dict + r38 :: str + r39 :: object + r40 :: dict + r41 :: str + r42 :: object + r43 :: list + r44, r45 :: ptr + r46 :: object + r47 :: tuple[list, object] + r48, r49 :: object + r50 :: dict + r51 :: str + r52 :: i32 + r53 :: bit + r54 :: object + r55 :: str + r56 :: object + r57 :: dict + r58 :: str + r59 :: i32 + r60 :: bit + r61 :: object + r62 :: str + r63 :: object + r64 :: str + r65 :: object + r66 :: dict + r67 :: str + r68 :: i32 + r69 :: bit + r70 :: dict + r71 :: str + r72 :: object + r73 :: dict + r74 :: str + r75, r76 :: object + r77 :: tuple + r78 :: str + r79, r80 :: object + r81 :: bool + r82, r83, r84 :: str + r85 :: tuple + r86 :: i32 + r87 :: bit + r88 :: dict + r89 :: str + r90 :: i32 + r91 :: bit + r92 :: None L0: - if is_error(block_identifier) goto L1 else goto L17 + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool L1: - r0 = box(None, 1) - inc_ref r0 - block_identifier = r0 + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L30 (error at :-1) else goto L2 L2: - if is_error(decimals) goto L3 else goto L18 + builtins = r4 :: module + dec_ref r4 L3: - r1 = box(None, 1) - inc_ref r1 - decimals = r1 + r5 = load_address weakref :: module + r6 = [r5] + r7 = load_address r6 + r8 = [1] + r9 = load_address r8 + r10 = (('weakref', 'weakref', 'weakref'),) + r11 = dank_mids.helpers._weaklist.globals :: static + r12 = 'dank_mids\\helpers\\_weaklist.py' + r13 = '' + r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) + if not r14 goto L30 else goto L4 :: bool L4: - if is_error(override) goto L5 else goto L19 + r15 = ('Any', 'Callable', 'Dict', 'Final', 'Generic', 'Iterable', 'Iterator', 'Optional', 'TypeVar', 'final') + r16 = 'typing' + r17 = dank_mids.helpers._weaklist.globals :: static + r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) + if is_error(r18) goto L30 (error at :2) else goto L5 L5: - r2 = box(None, 1) - inc_ref r2 - override = r2 + typing = r18 :: module + dec_ref r18 + r19 = '_T' + r20 = dank_mids.helpers._weaklist.globals :: static + r21 = 'TypeVar' + r22 = CPyDict_GetItem(r20, r21) + if is_error(r22) goto L30 (error at :5) else goto L6 L6: - r3 = coroutine_DankOverloadedMethod_env() - if is_error(r3) goto L20 (error at coroutine:56) else goto L7 + r23 = [r19] + r24 = load_address r23 + r25 = _PyObject_Vectorcall(r22, r24, 1, 0) + dec_ref r22 + if is_error(r25) goto L30 (error at :5) else goto L7 L7: - inc_ref self - r3.self = self; r4 = is_error - if not r4 goto L21 (error at coroutine:56) else goto L8 :: bool + r26 = dank_mids.helpers._weaklist.globals :: static + r27 = '_T' + r28 = CPyDict_SetItem(r26, r27, r25) + dec_ref r25 + r29 = r28 >= 0 :: signed + if not r29 goto L30 (error at :5) else goto L8 :: bool L8: - inc_ref args - r3.args = args; r5 = is_error - if not r5 goto L21 (error at coroutine:56) else goto L9 :: bool + r30 = weakref :: module + r31 = 'ReferenceType' + r32 = CPyObject_GetAttr(r30, r31) + if is_error(r32) goto L30 (error at :7) else goto L9 L9: - r3.block_identifier = block_identifier; r6 = is_error - if not r6 goto L22 (error at coroutine:56) else goto L10 :: bool + r33 = dank_mids.helpers._weaklist.globals :: static + r34 = 'Ref' + r35 = CPyDict_SetItem(r33, r34, r32) + dec_ref r32 + r36 = r35 >= 0 :: signed + if not r36 goto L30 (error at :7) else goto L10 :: bool L10: - r3.decimals = decimals; r7 = is_error - if not r7 goto L23 (error at coroutine:56) else goto L11 :: bool + r37 = dank_mids.helpers._weaklist.globals :: static + r38 = 'Callable' + r39 = CPyDict_GetItem(r37, r38) + if is_error(r39) goto L30 (error at :8) else goto L11 L11: - r3.override = override; r8 = is_error - if not r8 goto L24 (error at coroutine:56) else goto L12 :: bool + r40 = dank_mids.helpers._weaklist.globals :: static + r41 = 'Any' + r42 = CPyDict_GetItem(r40, r41) + if is_error(r42) goto L31 (error at :8) else goto L12 L12: - r9 = coroutine_DankOverloadedMethod_gen() - if is_error(r9) goto L24 (error at coroutine:56) else goto L13 + r43 = PyList_New(1) + if is_error(r43) goto L32 (error at :8) else goto L13 L13: - inc_ref r3 - r9.__mypyc_env__ = r3; r10 = is_error - if not r10 goto L25 (error at coroutine:56) else goto L14 :: bool + r44 = get_element_ptr r43 ob_item :: PyListObject + r45 = load_mem r44 :: ptr* + set_mem r45, r42 :: builtins.object* + r46 = box(None, 1) + inc_ref r46 + r47 = (r43, r46) + r48 = box(tuple[list, object], r47) + r49 = PyObject_GetItem(r39, r48) + dec_ref r39 + dec_ref r48 + if is_error(r49) goto L30 (error at :8) else goto L14 L14: - r3.__mypyc_next_label__ = 0; r11 = is_error - dec_ref r3 - if not r11 goto L26 (error at coroutine:56) else goto L15 :: bool + r50 = dank_mids.helpers._weaklist.globals :: static + r51 = 'GCCallback' + r52 = CPyDict_SetItem(r50, r51, r49) + dec_ref r49 + r53 = r52 >= 0 :: signed + if not r53 goto L30 (error at :8) else goto L15 :: bool L15: - return r9 + r54 = weakref :: module + r55 = 'ref' + r56 = CPyObject_GetAttr(r54, r55) + if is_error(r56) goto L30 (error at :10) else goto L16 L16: - r12 = :: object - return r12 + dank_mids.helpers._weaklist.ref = r56 :: static + r57 = dank_mids.helpers._weaklist.globals :: static + r58 = 'ref' + r59 = CPyDict_SetItem(r57, r58, r56) + dec_ref r56 + r60 = r59 >= 0 :: signed + if not r60 goto L30 (error at :10) else goto L17 :: bool L17: - inc_ref block_identifier - goto L2 + r61 = weakref :: module + r62 = 'ref' + r63 = CPyObject_GetAttr(r61, r62) + if is_error(r63) goto L30 (error at :11) else goto L18 L18: - inc_ref decimals - goto L4 + r64 = '__call__' + r65 = CPyObject_GetAttr(r63, r64) + dec_ref r63 + if is_error(r65) goto L30 (error at :11) else goto L19 L19: - inc_ref override - goto L6 + dank_mids.helpers._weaklist._call_ref = r65 :: static + r66 = dank_mids.helpers._weaklist.globals :: static + r67 = '_call_ref' + r68 = CPyDict_SetItem(r66, r67, r65) + dec_ref r65 + r69 = r68 >= 0 :: signed + if not r69 goto L30 (error at :11) else goto L20 :: bool L20: - dec_ref block_identifier - dec_ref decimals - dec_ref override - goto L16 + r70 = dank_mids.helpers._weaklist.globals :: static + r71 = 'Generic' + r72 = CPyDict_GetItem(r70, r71) + if is_error(r72) goto L30 (error at :15) else goto L21 L21: - dec_ref block_identifier - dec_ref decimals - dec_ref override - dec_ref r3 - goto L16 + r73 = dank_mids.helpers._weaklist.globals :: static + r74 = '_T' + r75 = CPyDict_GetItem(r73, r74) + if is_error(r75) goto L33 (error at :15) else goto L22 L22: - dec_ref decimals - dec_ref override - dec_ref r3 - goto L16 + r76 = PyObject_GetItem(r72, r75) + dec_ref r72 + dec_ref r75 + if is_error(r76) goto L30 (error at :15) else goto L23 L23: - dec_ref override - dec_ref r3 - goto L16 + r77 = PyTuple_Pack(1, r76) + dec_ref r76 + if is_error(r77) goto L30 (error at :15) else goto L24 L24: - dec_ref r3 - goto L16 + r78 = 'dank_mids.helpers._weaklist' + r79 = dank_mids.helpers._weaklist.WeakList_template :: type + r80 = CPyType_FromTemplate(r79, r77, r78) + dec_ref r77 + if is_error(r80) goto L30 (error at :15) else goto L25 L25: - dec_ref r3 - dec_ref r9 - goto L16 + r81 = WeakList_trait_vtable_setup() + if is_error(r81) goto L34 (error at :-1) else goto L26 L26: - dec_ref r9 - goto L16 + r82 = '__mypyc_attrs__' + r83 = '_refs' + r84 = '__dict__' + r85 = PyTuple_Pack(2, r83, r84) + if is_error(r85) goto L34 (error at :15) else goto L27 +L27: + r86 = PyObject_SetAttr(r80, r82, r85) + dec_ref r85 + r87 = r86 >= 0 :: signed + if not r87 goto L34 (error at :15) else goto L28 :: bool +L28: + dank_mids.helpers._weaklist.WeakList = r80 :: type + r88 = dank_mids.helpers._weaklist.globals :: static + r89 = 'WeakList' + r90 = CPyDict_SetItem(r88, r89, r80) + dec_ref r80 + r91 = r90 >= 0 :: signed + if not r91 goto L30 (error at :15) else goto L29 :: bool +L29: + return 1 +L30: + r92 = :: None + return r92 +L31: + dec_ref r39 + goto L30 +L32: + dec_ref r39 + dec_ref r42 + goto L30 +L33: + dec_ref r72 + goto L30 +L34: + dec_ref r80 + goto L30 -def DankOverloadedMethod._add_fn(self, abi, natspec): - self :: dank_mids.brownie_patch.types.DankOverloadedMethod - abi, natspec :: dict - r0 :: str - r1 :: object - r2 :: str - r3 :: object +def patch_eth_utils(): + r0 :: dict + r1, r2 :: object + r3 :: bit r4 :: str r5 :: object - r6, r7 :: str - r8 :: object - r9 :: list - r10 :: str - r11, r12, r13 :: object - r14 :: str - r15 :: object - r16, r17, r18 :: str - r19 :: object[3] - r20 :: object_ptr - r21 :: object - r22 :: i32 - r23, r24 :: bit - r25 :: tuple - r26 :: dict - r27 :: i32 - r28 :: bit + r6 :: str + r7 :: dict + r8 :: str + r9 :: object + r10 :: i32 + r11 :: bit + r12 :: dict + r13 :: str + r14 :: object + r15 :: dict + r16 :: str + r17 :: object + r18 :: str + r19 :: object + r20 :: str + r21 :: i32 + r22 :: bit + r23 :: dict + r24, r25 :: object + r26 :: bit + r27 :: str + r28 :: object r29 :: str - r30 :: object + r30 :: dict r31 :: str - r32 :: object[2] - r33 :: object_ptr - r34 :: object - r35 :: None + r32 :: object + r33 :: i32 + r34 :: bit + r35 :: dict + r36 :: str + r37 :: object + r38 :: dict + r39 :: str + r40 :: object + r41 :: str + r42 :: object + r43 :: str + r44 :: i32 + r45 :: bit + r46 :: dict + r47 :: str + r48 :: object + r49 :: dict + r50 :: str + r51 :: object + r52 :: str + r53 :: object + r54 :: str + r55 :: i32 + r56 :: bit + r57 :: dict + r58, r59 :: object + r60 :: bit + r61 :: str + r62 :: object + r63 :: str + r64 :: dict + r65 :: str + r66 :: object + r67 :: i32 + r68 :: bit + r69 :: dict + r70 :: str + r71 :: object + r72 :: dict + r73 :: str + r74 :: object + r75 :: str + r76 :: object + r77 :: str + r78 :: object + r79 :: str + r80 :: i32 + r81 :: bit + r82 :: dict + r83, r84 :: object + r85 :: bit + r86 :: str + r87 :: object + r88 :: str + r89 :: dict + r90 :: str + r91 :: object + r92 :: i32 + r93 :: bit + r94 :: dict + r95 :: str + r96 :: object + r97 :: dict + r98 :: str + r99 :: object + r100 :: str + r101 :: object + r102 :: str + r103 :: object + r104 :: str + r105 :: i32 + r106 :: bit + r107 :: dict + r108, r109 :: object + r110 :: bit + r111 :: str + r112 :: object + r113 :: str + r114 :: dict + r115 :: str + r116 :: object + r117 :: i32 + r118 :: bit + r119 :: dict + r120 :: str + r121 :: object + r122 :: dict + r123 :: str + r124 :: object + r125 :: str + r126 :: object + r127 :: str + r128 :: object + r129 :: str + r130 :: i32 + r131 :: bit + r132 :: dict + r133 :: str + r134 :: object + r135 :: dict + r136 :: str + r137 :: object + r138 :: str + r139 :: object + r140 :: str + r141 :: object + r142 :: str + r143 :: i32 + r144 :: bit + r145 :: dict + r146, r147 :: object + r148 :: bit + r149 :: str + r150 :: object + r151 :: str + r152 :: dict + r153 :: str + r154 :: object + r155 :: i32 + r156 :: bit + r157 :: dict + r158 :: str + r159 :: object + r160 :: dict + r161 :: str + r162 :: object + r163 :: str + r164 :: object + r165 :: str + r166 :: object + r167 :: str + r168 :: i32 + r169 :: bit + r170 :: dict + r171 :: str + r172 :: object + r173 :: dict + r174 :: str + r175 :: object + r176 :: str + r177 :: object + r178 :: str + r179 :: object + r180 :: str + r181 :: i32 + r182 :: bit + r183 :: dict + r184, r185 :: object + r186 :: bit + r187 :: str + r188 :: object + r189 :: str + r190 :: dict + r191 :: str + r192 :: object + r193 :: i32 + r194 :: bit + r195 :: dict + r196 :: str + r197 :: object + r198 :: dict + r199 :: str + r200 :: object + r201 :: str + r202 :: object + r203 :: str + r204 :: object + r205 :: str + r206 :: i32 + r207 :: bit + r208 :: dict + r209 :: str + r210 :: object + r211 :: dict + r212 :: str + r213 :: object + r214 :: str + r215 :: object + r216 :: str + r217 :: object + r218 :: str + r219 :: i32 + r220 :: bit + r221 :: dict + r222, r223 :: object + r224 :: bit + r225 :: str + r226 :: object + r227 :: str + r228 :: dict + r229 :: str + r230 :: object + r231 :: i32 + r232 :: bit + r233 :: tuple[object, object, object] + r234 :: object + r235 :: str + r236 :: object + r237, r238 :: bit + r239 :: dict + r240 :: str + r241 :: object + r242 :: dict + r243 :: str + r244 :: object + r245 :: str + r246 :: object + r247 :: str + r248 :: object + r249 :: str + r250 :: i32 + r251 :: bit + r252 :: dict + r253 :: str + r254 :: object + r255 :: dict + r256 :: str + r257 :: object + r258 :: str + r259 :: object + r260 :: str + r261 :: object + r262 :: str + r263 :: i32 + r264 :: bit + r265 :: None L0: - r0 = '_address' - r1 = CPyObject_GetAttr(self, r0) - if is_error(r1) goto L20 (error at _add_fn:90) else goto L1 + r0 = dank_mids._eth_utils.globals :: static + r1 = eth_utils.crypto :: module + r2 = load_address _Py_NoneStruct + r3 = r1 != r2 + if r3 goto L3 else goto L1 :: bool L1: - r2 = '_name' - r3 = CPyObject_GetAttr(self, r2) - if is_error(r3) goto L21 (error at _add_fn:90) else goto L2 + r4 = 'eth_utils.crypto' + r5 = PyImport_Import(r4) + if is_error(r5) goto L110 (error at patch_eth_utils:25) else goto L2 L2: - r4 = '_owner' - r5 = CPyObject_GetAttr(self, r4) - if is_error(r5) goto L22 (error at _add_fn:90) else goto L3 -L3: - r6 = cast(str, r1) - if is_error(r6) goto L23 (error at _add_fn:90) else goto L4 -L4: - r7 = cast(str, r3) - if is_error(r7) goto L24 (error at _add_fn:90) else goto L5 -L5: - r8 = _get_method_object(r6, abi, r7, r5, natspec) - dec_ref r6 - dec_ref r7 - dec_ref r5 - if is_error(r8) goto L20 (error at _add_fn:90) else goto L6 -L6: - r9 = PyList_New(0) - if is_error(r9) goto L25 (error at _add_fn:91) else goto L7 -L7: - r10 = 'inputs' - r11 = CPyDict_GetItem(abi, r10) - if is_error(r11) goto L26 (error at _add_fn:91) else goto L8 -L8: - r12 = PyObject_GetIter(r11) - dec_ref r11 - if is_error(r12) goto L26 (error at _add_fn:91) else goto L9 -L9: - r13 = PyIter_Next(r12) - if is_error(r13) goto L27 else goto L10 -L10: - r14 = 'type' - r15 = PyObject_GetItem(r13, r14) - dec_ref r13 - if is_error(r15) goto L28 (error at _add_fn:91) else goto L11 -L11: - r16 = '256' - r17 = '' - r18 = 'replace' - r19 = [r15, r16, r17] - r20 = load_address r19 - r21 = PyObject_VectorcallMethod(r18, r20, 9223372036854775811, 0) - if is_error(r21) goto L29 (error at _add_fn:91) else goto L12 -L12: - dec_ref r15 - r22 = PyList_Append(r9, r21) - dec_ref r21 - r23 = r22 >= 0 :: signed - if not r23 goto L28 (error at _add_fn:91) else goto L9 :: bool -L13: - r24 = CPy_NoErrOccurred() - if not r24 goto L26 (error at _add_fn:91) else goto L14 :: bool -L14: - r25 = PyList_AsTuple(r9) - dec_ref r9 - if is_error(r25) goto L25 (error at _add_fn:91) else goto L15 -L15: - r26 = self.methods - if is_error(r26) goto L30 (error at _add_fn:92) else goto L16 -L16: - r27 = CPyDict_SetItem(r26, r25, r8) - dec_ref r26 - dec_ref r25 - dec_ref r8 - r28 = r27 >= 0 :: signed - if not r28 goto L20 (error at _add_fn:92) else goto L17 :: bool -L17: - r29 = 'natspec' - r30 = CPyObject_GetAttr(self, r29) - if is_error(r30) goto L20 (error at _add_fn:93) else goto L18 -L18: - r31 = 'update' - r32 = [r30, natspec] - r33 = load_address r32 - r34 = PyObject_VectorcallMethod(r31, r33, 9223372036854775810, 0) - if is_error(r34) goto L31 (error at _add_fn:93) else goto L32 -L19: - dec_ref r30 - return 1 -L20: - r35 = :: None - return r35 -L21: - dec_ref r1 - goto L20 -L22: - dec_ref r1 - dec_ref r3 - goto L20 -L23: - dec_ref r3 - dec_ref r5 - goto L20 -L24: + eth_utils.crypto = r5 :: module dec_ref r5 - dec_ref r6 - goto L20 -L25: - dec_ref r8 - goto L20 -L26: - dec_ref r8 - dec_ref r9 - goto L20 -L27: - dec_ref r12 - goto L13 -L28: - dec_ref r8 - dec_ref r9 - dec_ref r12 - goto L20 -L29: - dec_ref r8 - dec_ref r9 - dec_ref r12 - dec_ref r15 - goto L20 -L30: - dec_ref r8 - dec_ref r25 - goto L20 -L31: - dec_ref r30 - goto L20 -L32: - dec_ref r34 - goto L19 - -def _get_method_object(address, abi, name, owner, natspec): - address :: str - abi :: dict - name :: str - owner :: union[object, None] - natspec :: dict - r0 :: str - r1 :: i32 - r2 :: bit - r3 :: bool - r4 :: str - r5, constant :: object - r6 :: str - r7 :: object - r8 :: str - r9 :: object - r10, r11 :: bool - r12 :: str - r13 :: object - r14 :: str - r15 :: object - r16 :: bool - r17 :: object - r18 :: i32 - r19 :: bit - r20 :: bool - r21 :: tuple - r22 :: dict - r23 :: dank_mids.brownie_patch.types.DankContractCall - r24 :: tuple - r25 :: dict - r26 :: dank_mids.brownie_patch.types.DankContractTx - r27 :: object -L0: - r0 = 'constant' - r1 = PyDict_Contains(abi, r0) - r2 = r1 >= 0 :: signed - if not r2 goto L24 (error at _get_method_object:125) else goto L1 :: bool -L1: - r3 = truncate r1: i32 to builtins.bool - if r3 goto L2 else goto L4 :: bool -L2: - r4 = 'constant' - r5 = CPyDict_GetItem(abi, r4) - if is_error(r5) goto L24 (error at _get_method_object:126) else goto L3 L3: - constant = r5 - goto L14 + r6 = 'eth_utils' + r7 = PyImport_GetModuleDict() + r8 = 'eth_utils' + r9 = CPyDict_GetItem(r7, r8) + if is_error(r9) goto L110 (error at patch_eth_utils:25) else goto L4 L4: - r6 = 'stateMutability' - r7 = CPyDict_GetItem(abi, r6) - if is_error(r7) goto L24 (error at _get_method_object:128) else goto L5 + r10 = CPyDict_SetItem(r0, r6, r9) + dec_ref r9 + r11 = r10 >= 0 :: signed + if not r11 goto L110 (error at patch_eth_utils:25) else goto L5 :: bool L5: - r8 = 'view' - r9 = PyObject_RichCompare(r7, r8, 2) - dec_ref r7 - if is_error(r9) goto L24 (error at _get_method_object:-1) else goto L6 + r12 = dank_mids._eth_utils.globals :: static + r13 = 'to_bytes' + r14 = CPyDict_GetItem(r12, r13) + if is_error(r14) goto L110 (error at patch_eth_utils:27) else goto L6 L6: - r10 = unbox(bool, r9) - dec_ref r9 - if is_error(r10) goto L24 (error at _get_method_object:-1) else goto L7 + r15 = dank_mids._eth_utils.globals :: static + r16 = 'eth_utils' + r17 = CPyDict_GetItem(r15, r16) + if is_error(r17) goto L111 (error at patch_eth_utils:27) else goto L7 L7: - if r10 goto L8 else goto L9 :: bool + r18 = 'crypto' + r19 = CPyObject_GetAttr(r17, r18) + dec_ref r17 + if is_error(r19) goto L111 (error at patch_eth_utils:27) else goto L8 L8: - r11 = r10 - goto L13 + r20 = 'to_bytes' + r21 = PyObject_SetAttr(r19, r20, r14) + dec_ref r19 + dec_ref r14 + r22 = r21 >= 0 :: signed + if not r22 goto L110 (error at patch_eth_utils:27) else goto L9 :: bool L9: - r12 = 'stateMutability' - r13 = CPyDict_GetItem(abi, r12) - if is_error(r13) goto L24 (error at _get_method_object:128) else goto L10 + r23 = dank_mids._eth_utils.globals :: static + r24 = web3.main :: module + r25 = load_address _Py_NoneStruct + r26 = r24 != r25 + if r26 goto L12 else goto L10 :: bool L10: - r14 = 'pure' - r15 = PyObject_RichCompare(r13, r14, 2) - dec_ref r13 - if is_error(r15) goto L24 (error at _get_method_object:-1) else goto L11 + r27 = 'web3.main' + r28 = PyImport_Import(r27) + if is_error(r28) goto L110 (error at patch_eth_utils:29) else goto L11 L11: - r16 = unbox(bool, r15) - dec_ref r15 - if is_error(r16) goto L24 (error at _get_method_object:-1) else goto L12 + web3.main = r28 :: module + dec_ref r28 L12: - r11 = r16 + r29 = 'web3' + r30 = PyImport_GetModuleDict() + r31 = 'web3' + r32 = CPyDict_GetItem(r30, r31) + if is_error(r32) goto L110 (error at patch_eth_utils:29) else goto L13 L13: - r17 = box(bool, r11) - inc_ref r17 - constant = r17 + r33 = CPyDict_SetItem(r23, r29, r32) + dec_ref r32 + r34 = r33 >= 0 :: signed + if not r34 goto L110 (error at patch_eth_utils:29) else goto L14 :: bool L14: - r18 = PyObject_IsTrue(constant) - dec_ref constant - r19 = r18 >= 0 :: signed - if not r19 goto L24 (error at _get_method_object:126) else goto L15 :: bool + r35 = dank_mids._eth_utils.globals :: static + r36 = 'to_hex' + r37 = CPyDict_GetItem(r35, r36) + if is_error(r37) goto L110 (error at patch_eth_utils:31) else goto L15 L15: - r20 = truncate r18: i32 to builtins.bool - if r20 goto L16 else goto L20 :: bool + r38 = dank_mids._eth_utils.globals :: static + r39 = 'web3' + r40 = CPyDict_GetItem(r38, r39) + if is_error(r40) goto L112 (error at patch_eth_utils:31) else goto L16 L16: - r21 = PyTuple_Pack(5, address, abi, name, owner, natspec) - if is_error(r21) goto L24 (error at _get_method_object:131) else goto L17 + r41 = 'main' + r42 = CPyObject_GetAttr(r40, r41) + dec_ref r40 + if is_error(r42) goto L112 (error at patch_eth_utils:31) else goto L17 L17: - r22 = PyDict_New() - if is_error(r22) goto L25 (error at _get_method_object:131) else goto L18 + r43 = 'to_hex' + r44 = PyObject_SetAttr(r42, r43, r37) + dec_ref r42 + dec_ref r37 + r45 = r44 >= 0 :: signed + if not r45 goto L110 (error at patch_eth_utils:31) else goto L18 :: bool L18: - r23 = DankContractCall(r21, r22) - dec_ref r21 - dec_ref r22 - if is_error(r23) goto L24 (error at _get_method_object:131) else goto L19 + r46 = dank_mids._eth_utils.globals :: static + r47 = 'to_bytes' + r48 = CPyDict_GetItem(r46, r47) + if is_error(r48) goto L110 (error at patch_eth_utils:32) else goto L19 L19: - return r23 + r49 = dank_mids._eth_utils.globals :: static + r50 = 'web3' + r51 = CPyDict_GetItem(r49, r50) + if is_error(r51) goto L113 (error at patch_eth_utils:32) else goto L20 L20: - r24 = PyTuple_Pack(5, address, abi, name, owner, natspec) - if is_error(r24) goto L24 (error at _get_method_object:132) else goto L21 + r52 = 'main' + r53 = CPyObject_GetAttr(r51, r52) + dec_ref r51 + if is_error(r53) goto L113 (error at patch_eth_utils:32) else goto L21 L21: - r25 = PyDict_New() - if is_error(r25) goto L26 (error at _get_method_object:132) else goto L22 + r54 = 'to_bytes' + r55 = PyObject_SetAttr(r53, r54, r48) + dec_ref r53 + dec_ref r48 + r56 = r55 >= 0 :: signed + if not r56 goto L110 (error at patch_eth_utils:32) else goto L22 :: bool L22: - r26 = DankContractTx(r24, r25) - dec_ref r24 - dec_ref r25 - if is_error(r26) goto L24 (error at _get_method_object:132) else goto L23 + r57 = dank_mids._eth_utils.globals :: static + r58 = web3.middleware.filter :: module + r59 = load_address _Py_NoneStruct + r60 = r58 != r59 + if r60 goto L25 else goto L23 :: bool L23: - return r26 + r61 = 'web3.middleware.filter' + r62 = PyImport_Import(r61) + if is_error(r62) goto L110 (error at patch_eth_utils:34) else goto L24 L24: - r27 = :: object - return r27 + web3.middleware.filter = r62 :: module + dec_ref r62 L25: - dec_ref r21 - goto L24 + r63 = 'web3' + r64 = PyImport_GetModuleDict() + r65 = 'web3' + r66 = CPyDict_GetItem(r64, r65) + if is_error(r66) goto L110 (error at patch_eth_utils:34) else goto L26 L26: - dec_ref r24 - goto L24 + r67 = CPyDict_SetItem(r57, r63, r66) + dec_ref r66 + r68 = r67 >= 0 :: signed + if not r68 goto L110 (error at patch_eth_utils:34) else goto L27 :: bool +L27: + r69 = dank_mids._eth_utils.globals :: static + r70 = 'to_hex' + r71 = CPyDict_GetItem(r69, r70) + if is_error(r71) goto L110 (error at patch_eth_utils:36) else goto L28 +L28: + r72 = dank_mids._eth_utils.globals :: static + r73 = 'web3' + r74 = CPyDict_GetItem(r72, r73) + if is_error(r74) goto L114 (error at patch_eth_utils:36) else goto L29 +L29: + r75 = 'middleware' + r76 = CPyObject_GetAttr(r74, r75) + dec_ref r74 + if is_error(r76) goto L114 (error at patch_eth_utils:36) else goto L30 +L30: + r77 = 'filter' + r78 = CPyObject_GetAttr(r76, r77) + dec_ref r76 + if is_error(r78) goto L114 (error at patch_eth_utils:36) else goto L31 +L31: + r79 = 'to_hex' + r80 = PyObject_SetAttr(r78, r79, r71) + dec_ref r78 + dec_ref r71 + r81 = r80 >= 0 :: signed + if not r81 goto L110 (error at patch_eth_utils:36) else goto L32 :: bool +L32: + r82 = dank_mids._eth_utils.globals :: static + r83 = web3.providers.base :: module + r84 = load_address _Py_NoneStruct + r85 = r83 != r84 + if r85 goto L35 else goto L33 :: bool +L33: + r86 = 'web3.providers.base' + r87 = PyImport_Import(r86) + if is_error(r87) goto L110 (error at patch_eth_utils:38) else goto L34 +L34: + web3.providers.base = r87 :: module + dec_ref r87 +L35: + r88 = 'web3' + r89 = PyImport_GetModuleDict() + r90 = 'web3' + r91 = CPyDict_GetItem(r89, r90) + if is_error(r91) goto L110 (error at patch_eth_utils:38) else goto L36 +L36: + r92 = CPyDict_SetItem(r82, r88, r91) + dec_ref r91 + r93 = r92 >= 0 :: signed + if not r93 goto L110 (error at patch_eth_utils:38) else goto L37 :: bool +L37: + r94 = dank_mids._eth_utils.globals :: static + r95 = 'to_bytes' + r96 = CPyDict_GetItem(r94, r95) + if is_error(r96) goto L110 (error at patch_eth_utils:40) else goto L38 +L38: + r97 = dank_mids._eth_utils.globals :: static + r98 = 'web3' + r99 = CPyDict_GetItem(r97, r98) + if is_error(r99) goto L115 (error at patch_eth_utils:40) else goto L39 +L39: + r100 = 'providers' + r101 = CPyObject_GetAttr(r99, r100) + dec_ref r99 + if is_error(r101) goto L115 (error at patch_eth_utils:40) else goto L40 +L40: + r102 = 'base' + r103 = CPyObject_GetAttr(r101, r102) + dec_ref r101 + if is_error(r103) goto L115 (error at patch_eth_utils:40) else goto L41 +L41: + r104 = 'to_bytes' + r105 = PyObject_SetAttr(r103, r104, r96) + dec_ref r103 + dec_ref r96 + r106 = r105 >= 0 :: signed + if not r106 goto L110 (error at patch_eth_utils:40) else goto L42 :: bool +L42: + r107 = dank_mids._eth_utils.globals :: static + r108 = web3._utils.encoding :: module + r109 = load_address _Py_NoneStruct + r110 = r108 != r109 + if r110 goto L45 else goto L43 :: bool +L43: + r111 = 'web3._utils.encoding' + r112 = PyImport_Import(r111) + if is_error(r112) goto L110 (error at patch_eth_utils:42) else goto L44 +L44: + web3._utils.encoding = r112 :: module + dec_ref r112 +L45: + r113 = 'web3' + r114 = PyImport_GetModuleDict() + r115 = 'web3' + r116 = CPyDict_GetItem(r114, r115) + if is_error(r116) goto L110 (error at patch_eth_utils:42) else goto L46 +L46: + r117 = CPyDict_SetItem(r107, r113, r116) + dec_ref r116 + r118 = r117 >= 0 :: signed + if not r118 goto L110 (error at patch_eth_utils:42) else goto L47 :: bool +L47: + r119 = dank_mids._eth_utils.globals :: static + r120 = 'to_hex' + r121 = CPyDict_GetItem(r119, r120) + if is_error(r121) goto L110 (error at patch_eth_utils:44) else goto L48 +L48: + r122 = dank_mids._eth_utils.globals :: static + r123 = 'web3' + r124 = CPyDict_GetItem(r122, r123) + if is_error(r124) goto L116 (error at patch_eth_utils:44) else goto L49 +L49: + r125 = '_utils' + r126 = CPyObject_GetAttr(r124, r125) + dec_ref r124 + if is_error(r126) goto L116 (error at patch_eth_utils:44) else goto L50 +L50: + r127 = 'encoding' + r128 = CPyObject_GetAttr(r126, r127) + dec_ref r126 + if is_error(r128) goto L116 (error at patch_eth_utils:44) else goto L51 +L51: + r129 = 'to_hex' + r130 = PyObject_SetAttr(r128, r129, r121) + dec_ref r128 + dec_ref r121 + r131 = r130 >= 0 :: signed + if not r131 goto L110 (error at patch_eth_utils:44) else goto L52 :: bool +L52: + r132 = dank_mids._eth_utils.globals :: static + r133 = 'to_bytes' + r134 = CPyDict_GetItem(r132, r133) + if is_error(r134) goto L110 (error at patch_eth_utils:45) else goto L53 +L53: + r135 = dank_mids._eth_utils.globals :: static + r136 = 'web3' + r137 = CPyDict_GetItem(r135, r136) + if is_error(r137) goto L117 (error at patch_eth_utils:45) else goto L54 +L54: + r138 = '_utils' + r139 = CPyObject_GetAttr(r137, r138) + dec_ref r137 + if is_error(r139) goto L117 (error at patch_eth_utils:45) else goto L55 +L55: + r140 = 'encoding' + r141 = CPyObject_GetAttr(r139, r140) + dec_ref r139 + if is_error(r141) goto L117 (error at patch_eth_utils:45) else goto L56 +L56: + r142 = 'to_bytes' + r143 = PyObject_SetAttr(r141, r142, r134) + dec_ref r141 + dec_ref r134 + r144 = r143 >= 0 :: signed + if not r144 goto L110 (error at patch_eth_utils:45) else goto L57 :: bool +L57: + r145 = dank_mids._eth_utils.globals :: static + r146 = web3._utils.events :: module + r147 = load_address _Py_NoneStruct + r148 = r146 != r147 + if r148 goto L60 else goto L58 :: bool +L58: + r149 = 'web3._utils.events' + r150 = PyImport_Import(r149) + if is_error(r150) goto L110 (error at patch_eth_utils:47) else goto L59 +L59: + web3._utils.events = r150 :: module + dec_ref r150 +L60: + r151 = 'web3' + r152 = PyImport_GetModuleDict() + r153 = 'web3' + r154 = CPyDict_GetItem(r152, r153) + if is_error(r154) goto L110 (error at patch_eth_utils:47) else goto L61 +L61: + r155 = CPyDict_SetItem(r145, r151, r154) + dec_ref r154 + r156 = r155 >= 0 :: signed + if not r156 goto L110 (error at patch_eth_utils:47) else goto L62 :: bool +L62: + r157 = dank_mids._eth_utils.globals :: static + r158 = 'to_hex' + r159 = CPyDict_GetItem(r157, r158) + if is_error(r159) goto L110 (error at patch_eth_utils:49) else goto L63 +L63: + r160 = dank_mids._eth_utils.globals :: static + r161 = 'web3' + r162 = CPyDict_GetItem(r160, r161) + if is_error(r162) goto L118 (error at patch_eth_utils:49) else goto L64 +L64: + r163 = '_utils' + r164 = CPyObject_GetAttr(r162, r163) + dec_ref r162 + if is_error(r164) goto L118 (error at patch_eth_utils:49) else goto L65 +L65: + r165 = 'events' + r166 = CPyObject_GetAttr(r164, r165) + dec_ref r164 + if is_error(r166) goto L118 (error at patch_eth_utils:49) else goto L66 +L66: + r167 = 'to_hex' + r168 = PyObject_SetAttr(r166, r167, r159) + dec_ref r166 + dec_ref r159 + r169 = r168 >= 0 :: signed + if not r169 goto L110 (error at patch_eth_utils:49) else goto L67 :: bool +L67: + r170 = dank_mids._eth_utils.globals :: static + r171 = 'to_bytes' + r172 = CPyDict_GetItem(r170, r171) + if is_error(r172) goto L110 (error at patch_eth_utils:50) else goto L68 +L68: + r173 = dank_mids._eth_utils.globals :: static + r174 = 'web3' + r175 = CPyDict_GetItem(r173, r174) + if is_error(r175) goto L119 (error at patch_eth_utils:50) else goto L69 +L69: + r176 = '_utils' + r177 = CPyObject_GetAttr(r175, r176) + dec_ref r175 + if is_error(r177) goto L119 (error at patch_eth_utils:50) else goto L70 +L70: + r178 = 'events' + r179 = CPyObject_GetAttr(r177, r178) + dec_ref r177 + if is_error(r179) goto L119 (error at patch_eth_utils:50) else goto L71 +L71: + r180 = 'to_bytes' + r181 = PyObject_SetAttr(r179, r180, r172) + dec_ref r179 + dec_ref r172 + r182 = r181 >= 0 :: signed + if not r182 goto L110 (error at patch_eth_utils:50) else goto L72 :: bool +L72: + r183 = dank_mids._eth_utils.globals :: static + r184 = web3._utils.normalizers :: module + r185 = load_address _Py_NoneStruct + r186 = r184 != r185 + if r186 goto L75 else goto L73 :: bool +L73: + r187 = 'web3._utils.normalizers' + r188 = PyImport_Import(r187) + if is_error(r188) goto L110 (error at patch_eth_utils:52) else goto L74 +L74: + web3._utils.normalizers = r188 :: module + dec_ref r188 +L75: + r189 = 'web3' + r190 = PyImport_GetModuleDict() + r191 = 'web3' + r192 = CPyDict_GetItem(r190, r191) + if is_error(r192) goto L110 (error at patch_eth_utils:52) else goto L76 +L76: + r193 = CPyDict_SetItem(r183, r189, r192) + dec_ref r192 + r194 = r193 >= 0 :: signed + if not r194 goto L110 (error at patch_eth_utils:52) else goto L77 :: bool +L77: + r195 = dank_mids._eth_utils.globals :: static + r196 = 'to_hex' + r197 = CPyDict_GetItem(r195, r196) + if is_error(r197) goto L110 (error at patch_eth_utils:54) else goto L78 +L78: + r198 = dank_mids._eth_utils.globals :: static + r199 = 'web3' + r200 = CPyDict_GetItem(r198, r199) + if is_error(r200) goto L120 (error at patch_eth_utils:54) else goto L79 +L79: + r201 = '_utils' + r202 = CPyObject_GetAttr(r200, r201) + dec_ref r200 + if is_error(r202) goto L120 (error at patch_eth_utils:54) else goto L80 +L80: + r203 = 'normalizers' + r204 = CPyObject_GetAttr(r202, r203) + dec_ref r202 + if is_error(r204) goto L120 (error at patch_eth_utils:54) else goto L81 +L81: + r205 = 'to_hex' + r206 = PyObject_SetAttr(r204, r205, r197) + dec_ref r204 + dec_ref r197 + r207 = r206 >= 0 :: signed + if not r207 goto L110 (error at patch_eth_utils:54) else goto L82 :: bool +L82: + r208 = dank_mids._eth_utils.globals :: static + r209 = 'to_bytes' + r210 = CPyDict_GetItem(r208, r209) + if is_error(r210) goto L110 (error at patch_eth_utils:55) else goto L83 +L83: + r211 = dank_mids._eth_utils.globals :: static + r212 = 'web3' + r213 = CPyDict_GetItem(r211, r212) + if is_error(r213) goto L121 (error at patch_eth_utils:55) else goto L84 +L84: + r214 = '_utils' + r215 = CPyObject_GetAttr(r213, r214) + dec_ref r213 + if is_error(r215) goto L121 (error at patch_eth_utils:55) else goto L85 +L85: + r216 = 'normalizers' + r217 = CPyObject_GetAttr(r215, r216) + dec_ref r215 + if is_error(r217) goto L121 (error at patch_eth_utils:55) else goto L86 +L86: + r218 = 'to_bytes' + r219 = PyObject_SetAttr(r217, r218, r210) + dec_ref r217 + dec_ref r210 + r220 = r219 >= 0 :: signed + if not r220 goto L110 (error at patch_eth_utils:55) else goto L87 :: bool +L87: + r221 = dank_mids._eth_utils.globals :: static + r222 = web3._utils.type_conversion :: module + r223 = load_address _Py_NoneStruct + r224 = r222 != r223 + if r224 goto L90 else goto L88 :: bool +L88: + r225 = 'web3._utils.type_conversion' + r226 = PyImport_Import(r225) + if is_error(r226) goto L92 (error at patch_eth_utils:59) else goto L89 +L89: + web3._utils.type_conversion = r226 :: module + dec_ref r226 +L90: + r227 = 'web3' + r228 = PyImport_GetModuleDict() + r229 = 'web3' + r230 = CPyDict_GetItem(r228, r229) + if is_error(r230) goto L92 (error at patch_eth_utils:59) else goto L91 +L91: + r231 = CPyDict_SetItem(r221, r227, r230) + dec_ref r230 + r232 = r231 >= 0 :: signed + if not r232 goto L92 (error at patch_eth_utils:59) else goto L99 :: bool +L92: + r233 = CPy_CatchError() + r234 = builtins :: module + r235 = 'ModuleNotFoundError' + r236 = CPyObject_GetAttr(r234, r235) + if is_error(r236) goto L97 (error at patch_eth_utils:60) else goto L93 +L93: + r237 = CPy_ExceptionMatches(r236) + dec_ref r236 + if r237 goto L96 else goto L94 :: bool +L94: + CPy_Reraise() + if not 0 goto L97 else goto L122 :: bool +L95: + unreachable +L96: + CPy_RestoreExcInfo(r233) + dec_ref r233 + goto L109 +L97: + CPy_RestoreExcInfo(r233) + dec_ref r233 + r238 = CPy_KeepPropagating() + if not r238 goto L110 else goto L98 :: bool +L98: + unreachable +L99: + r239 = dank_mids._eth_utils.globals :: static + r240 = 'to_hex' + r241 = CPyDict_GetItem(r239, r240) + if is_error(r241) goto L110 (error at patch_eth_utils:63) else goto L100 +L100: + r242 = dank_mids._eth_utils.globals :: static + r243 = 'web3' + r244 = CPyDict_GetItem(r242, r243) + if is_error(r244) goto L123 (error at patch_eth_utils:63) else goto L101 +L101: + r245 = '_utils' + r246 = CPyObject_GetAttr(r244, r245) + dec_ref r244 + if is_error(r246) goto L123 (error at patch_eth_utils:63) else goto L102 +L102: + r247 = 'type_conversion' + r248 = CPyObject_GetAttr(r246, r247) + dec_ref r246 + if is_error(r248) goto L123 (error at patch_eth_utils:63) else goto L103 +L103: + r249 = 'to_hex' + r250 = PyObject_SetAttr(r248, r249, r241) + dec_ref r248 + dec_ref r241 + r251 = r250 >= 0 :: signed + if not r251 goto L110 (error at patch_eth_utils:63) else goto L104 :: bool +L104: + r252 = dank_mids._eth_utils.globals :: static + r253 = 'to_bytes' + r254 = CPyDict_GetItem(r252, r253) + if is_error(r254) goto L110 (error at patch_eth_utils:64) else goto L105 +L105: + r255 = dank_mids._eth_utils.globals :: static + r256 = 'web3' + r257 = CPyDict_GetItem(r255, r256) + if is_error(r257) goto L124 (error at patch_eth_utils:64) else goto L106 +L106: + r258 = '_utils' + r259 = CPyObject_GetAttr(r257, r258) + dec_ref r257 + if is_error(r259) goto L124 (error at patch_eth_utils:64) else goto L107 +L107: + r260 = 'type_conversion' + r261 = CPyObject_GetAttr(r259, r260) + dec_ref r259 + if is_error(r261) goto L124 (error at patch_eth_utils:64) else goto L108 +L108: + r262 = 'to_bytes' + r263 = PyObject_SetAttr(r261, r262, r254) + dec_ref r261 + dec_ref r254 + r264 = r263 >= 0 :: signed + if not r264 goto L110 (error at patch_eth_utils:64) else goto L109 :: bool +L109: + return 1 +L110: + r265 = :: None + return r265 +L111: + dec_ref r14 + goto L110 +L112: + dec_ref r37 + goto L110 +L113: + dec_ref r48 + goto L110 +L114: + dec_ref r71 + goto L110 +L115: + dec_ref r96 + goto L110 +L116: + dec_ref r121 + goto L110 +L117: + dec_ref r134 + goto L110 +L118: + dec_ref r159 + goto L110 +L119: + dec_ref r172 + goto L110 +L120: + dec_ref r197 + goto L110 +L121: + dec_ref r210 + goto L110 +L122: + dec_ref r233 + goto L95 +L123: + dec_ref r241 + goto L110 +L124: + dec_ref r254 + goto L110 -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4, r5 :: object +def to_hex(primitive, hexstr, text): + primitive, hexstr :: union[object, None] + text :: union[str, None] + r0, r1, r2, r3 :: object + r4 :: bit + r5 :: object r6 :: str - r7 :: dict - r8, r9 :: object - r10 :: str - r11 :: dict - r12, r13 :: object - r14 :: str - r15 :: dict - r16, r17 :: object - r18 :: str - r19 :: dict - r20 :: object - r21 :: str - r22 :: dict - r23 :: str - r24 :: object - r25 :: object[1] - r26 :: object_ptr + r7 :: object[1] + r8 :: object_ptr + r9, r10, r11 :: object + r12 :: bit + r13 :: str + r14 :: bytes + r15, r16 :: object + r17 :: i32 + r18 :: bit + r19, r20 :: bool + r21, r22, r23 :: str + r24, r25 :: object + r26 :: str r27 :: object - r28 :: dict - r29 :: str + r28 :: tuple[object, object] + r29 :: object r30 :: i32 r31 :: bit - r32 :: dict - r33 :: str - r34 :: object - r35 :: dict - r36 :: str - r37 :: object - r38 :: dict - r39 :: str + r32 :: bool + r33, r34 :: object + r35 :: str + r36 :: object + r37 :: i32 + r38 :: bit + r39 :: bool r40 :: object - r41 :: dict - r42 :: str + r41 :: object[1] + r42 :: object_ptr r43 :: object - r44 :: tuple[object, object, object] + r44 :: bytes r45, r46 :: object - r47 :: dict - r48 :: str - r49 :: i32 - r50 :: bit - r51 :: dict + r47 :: i32 + r48 :: bit + r49 :: bool + r50 :: str + r51 :: object r52 :: str r53 :: object - r54 :: dict - r55 :: str - r56 :: object - r57 :: tuple - r58 :: str - r59, r60 :: object - r61 :: bool - r62, r63 :: str - r64 :: tuple - r65 :: i32 - r66 :: bit - r67 :: dict - r68 :: str - r69 :: i32 - r70 :: bit - r71 :: dict - r72 :: str - r73 :: object - r74 :: dict - r75 :: str - r76 :: object - r77 :: tuple - r78 :: str - r79, r80 :: object - r81 :: bool - r82, r83 :: str - r84 :: tuple - r85 :: i32 - r86 :: bit - r87 :: dict - r88 :: str - r89 :: i32 - r90 :: bit - r91 :: dict - r92 :: str - r93, r94, r95 :: object - r96 :: tuple[object, object] - r97, r98 :: object - r99 :: dict - r100 :: str - r101 :: i32 - r102 :: bit - r103 :: dict - r104 :: str - r105 :: object - r106 :: dict - r107 :: str - r108 :: object - r109 :: dict - r110 :: str - r111, r112 :: object - r113 :: tuple - r114 :: str - r115, r116 :: object - r117 :: bool - r118, r119, r120 :: str - r121 :: tuple - r122 :: i32 - r123 :: bit - r124 :: dict - r125 :: str - r126 :: i32 - r127 :: bit - r128 :: dict - r129 :: str - r130, r131, r132, r133 :: object - r134 :: tuple[object, object, object] - r135, r136 :: object - r137 :: dict - r138 :: str - r139 :: i32 - r140 :: bit - r141 :: None + r54 :: object[1] + r55 :: object_ptr + r56, r57 :: object + r58 :: i32 + r59 :: bit + r60 :: bool + r61 :: int + r62 :: object + r63 :: str + r64, r65 :: object + r66 :: object[1] + r67 :: object_ptr + r68 :: object + r69, r70 :: str + r71, r72 :: object + r73 :: str + r74 :: object + r75 :: object[1] + r76 :: object_ptr + r77 :: object + r78, r79, r80 :: str + r81 :: object + r82 :: str + r83 :: object + r84 :: object[1] + r85 :: object_ptr + r86, r87 :: object L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool + if is_error(primitive) goto L1 else goto L57 L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L49 (error at :-1) else goto L2 + r0 = box(None, 1) + inc_ref r0 + primitive = r0 L2: - builtins = r4 :: module - dec_ref r4 + if is_error(hexstr) goto L3 else goto L58 L3: - r5 = ('Any', 'Dict', 'Optional', 'Tuple', 'TypeVar', 'Union', 'final') - r6 = 'typing' - r7 = dank_mids.brownie_patch.types.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L49 (error at :1) else goto L4 + r1 = box(None, 1) + inc_ref r1 + hexstr = r1 L4: - typing = r8 :: module - dec_ref r8 - r9 = ('ContractCall', 'ContractTx', 'OverloadedMethod') - r10 = 'brownie.network.contract' - r11 = dank_mids.brownie_patch.types.globals :: static - r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) - if is_error(r12) goto L49 (error at :3) else goto L5 + if is_error(text) goto L5 else goto L59 L5: - brownie.network.contract = r12 :: module - dec_ref r12 - r13 = ('AccountsType',) - r14 = 'brownie.typing' - r15 = dank_mids.brownie_patch.types.globals :: static - r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) - if is_error(r16) goto L49 (error at :4) else goto L6 + r2 = box(None, 1) + inc_ref r2 + text = r2 L6: - brownie.typing = r16 :: module - dec_ref r16 - r17 = ('_DankMethod', '_DankMethodMixin', '_EVMType') - r18 = 'dank_mids.brownie_patch._method' - r19 = dank_mids.brownie_patch.types.globals :: static - r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) - if is_error(r20) goto L49 (error at :6) else goto L7 + r3 = load_address _Py_NoneStruct + r4 = hexstr != r3 + if r4 goto L60 else goto L61 :: bool L7: - dank_mids.brownie_patch._method = r20 :: module - dec_ref r20 - r21 = '_T' - r22 = dank_mids.brownie_patch.types.globals :: static - r23 = 'TypeVar' - r24 = CPyDict_GetItem(r22, r23) - if is_error(r24) goto L49 (error at :9) else goto L8 + r5 = hexstr + r6 = 'lower' + r7 = [r5] + r8 = load_address r7 + r9 = PyObject_VectorcallMethod(r6, r8, 9223372036854775809, 0) + if is_error(r9) goto L62 (error at to_hex:78) else goto L8 L8: - r25 = [r21] - r26 = load_address r25 - r27 = _PyObject_Vectorcall(r24, r26, 1, 0) - dec_ref r24 - if is_error(r27) goto L49 (error at :9) else goto L9 + dec_ref r5 L9: - r28 = dank_mids.brownie_patch.types.globals :: static - r29 = '_T' - r30 = CPyDict_SetItem(r28, r29, r27) - dec_ref r27 - r31 = r30 >= 0 :: signed - if not r31 goto L49 (error at :9) else goto L10 :: bool + r10 = add_0x_prefix(r9) + dec_ref r9 + if is_error(r10) goto L56 (error at to_hex:78) else goto L10 L10: - r32 = dank_mids.brownie_patch.types.globals :: static - r33 = 'Union' - r34 = CPyDict_GetItem(r32, r33) - if is_error(r34) goto L49 (error at :11) else goto L11 + return r10 L11: - r35 = dank_mids.brownie_patch.types.globals :: static - r36 = 'ContractCall' - r37 = CPyDict_GetItem(r35, r36) - if is_error(r37) goto L50 (error at :11) else goto L12 + r11 = load_address _Py_NoneStruct + r12 = text != r11 + if r12 goto L63 else goto L64 :: bool L12: - r38 = dank_mids.brownie_patch.types.globals :: static - r39 = 'ContractTx' - r40 = CPyDict_GetItem(r38, r39) - if is_error(r40) goto L51 (error at :11) else goto L13 + r13 = cast(str, text) + if is_error(r13) goto L56 (error at to_hex:81) else goto L13 L13: - r41 = dank_mids.brownie_patch.types.globals :: static - r42 = 'OverloadedMethod' - r43 = CPyDict_GetItem(r41, r42) - if is_error(r43) goto L52 (error at :11) else goto L14 + r14 = PyUnicode_AsUTF8String(r13) + dec_ref r13 + if is_error(r14) goto L56 (error at to_hex:81) else goto L14 L14: - r44 = (r37, r40, r43) - r45 = box(tuple[object, object, object], r44) - r46 = PyObject_GetItem(r34, r45) - dec_ref r34 - dec_ref r45 - if is_error(r46) goto L49 (error at :11) else goto L15 + r15 = encode_hex(r14) + dec_ref r14 + if is_error(r15) goto L56 (error at to_hex:81) else goto L15 L15: - r47 = dank_mids.brownie_patch.types.globals :: static - r48 = 'ContractMethod' - r49 = CPyDict_SetItem(r47, r48, r46) - dec_ref r46 - r50 = r49 >= 0 :: signed - if not r50 goto L49 (error at :11) else goto L16 :: bool + return r15 L16: - r51 = dank_mids.brownie_patch.types.globals :: static - r52 = '_DankMethod' - r53 = CPyDict_GetItem(r51, r52) - if is_error(r53) goto L49 (error at :16) else goto L17 + r16 = load_address PyBool_Type + r17 = PyObject_IsInstance(primitive, r16) + r18 = r17 >= 0 :: signed + if not r18 goto L65 (error at to_hex:83) else goto L17 :: bool L17: - r54 = dank_mids.brownie_patch.types.globals :: static - r55 = 'ContractCall' - r56 = CPyDict_GetItem(r54, r55) - if is_error(r56) goto L53 (error at :16) else goto L18 + r19 = truncate r17: i32 to builtins.bool + if r19 goto L18 else goto L23 :: bool L18: - r57 = PyTuple_Pack(2, r53, r56) - dec_ref r53 - dec_ref r56 - if is_error(r57) goto L49 (error at :16) else goto L19 + r20 = unbox(bool, primitive) + dec_ref primitive + if is_error(r20) goto L56 (error at to_hex:84) else goto L19 L19: - r58 = 'dank_mids.brownie_patch.types' - r59 = dank_mids.brownie_patch.types.DankContractCall_template :: type - r60 = CPyType_FromTemplate(r59, r57, r58) - dec_ref r57 - if is_error(r60) goto L49 (error at :16) else goto L20 + if r20 goto L20 else goto L21 :: bool L20: - r61 = DankContractCall_trait_vtable_setup() - if is_error(r61) goto L54 (error at :-1) else goto L21 + r21 = '0x1' + inc_ref r21 + r22 = r21 + goto L22 L21: - r62 = '__mypyc_attrs__' - r63 = '__dict__' - r64 = PyTuple_Pack(1, r63) - if is_error(r64) goto L54 (error at :16) else goto L22 + r23 = '0x0' + inc_ref r23 + r22 = r23 L22: - r65 = PyObject_SetAttr(r60, r62, r64) - dec_ref r64 - r66 = r65 >= 0 :: signed - if not r66 goto L54 (error at :16) else goto L23 :: bool + return r22 L23: - dank_mids.brownie_patch.types.DankContractCall = r60 :: type - r67 = dank_mids.brownie_patch.types.globals :: static - r68 = 'DankContractCall' - r69 = CPyDict_SetItem(r67, r68, r60) - dec_ref r60 - r70 = r69 >= 0 :: signed - if not r70 goto L49 (error at :16) else goto L24 :: bool + r24 = load_address PyBytes_Type + r25 = builtins :: module + r26 = 'bytearray' + r27 = CPyObject_GetAttr(r25, r26) + if is_error(r27) goto L65 (error at to_hex:86) else goto L24 L24: - r71 = dank_mids.brownie_patch.types.globals :: static - r72 = '_DankMethod' - r73 = CPyDict_GetItem(r71, r72) - if is_error(r73) goto L49 (error at :28) else goto L25 + inc_ref r24 + r28 = (r24, r27) + r29 = box(tuple[object, object], r28) + r30 = PyObject_IsInstance(primitive, r29) + dec_ref r29 + r31 = r30 >= 0 :: signed + if not r31 goto L65 (error at to_hex:86) else goto L25 :: bool L25: - r74 = dank_mids.brownie_patch.types.globals :: static - r75 = 'ContractTx' - r76 = CPyDict_GetItem(r74, r75) - if is_error(r76) goto L55 (error at :28) else goto L26 + r32 = truncate r30: i32 to builtins.bool + if r32 goto L26 else goto L28 :: bool L26: - r77 = PyTuple_Pack(2, r73, r76) - dec_ref r73 - dec_ref r76 - if is_error(r77) goto L49 (error at :28) else goto L27 + r33 = encode_hex(primitive) + dec_ref primitive + if is_error(r33) goto L56 (error at to_hex:87) else goto L27 L27: - r78 = 'dank_mids.brownie_patch.types' - r79 = dank_mids.brownie_patch.types.DankContractTx_template :: type - r80 = CPyType_FromTemplate(r79, r77, r78) - dec_ref r77 - if is_error(r80) goto L49 (error at :28) else goto L28 + return r33 L28: - r81 = DankContractTx_trait_vtable_setup() - if is_error(r81) goto L56 (error at :-1) else goto L29 + r34 = builtins :: module + r35 = 'memoryview' + r36 = CPyObject_GetAttr(r34, r35) + if is_error(r36) goto L65 (error at to_hex:89) else goto L29 L29: - r82 = '__mypyc_attrs__' - r83 = '__dict__' - r84 = PyTuple_Pack(1, r83) - if is_error(r84) goto L56 (error at :28) else goto L30 + r37 = PyObject_IsInstance(primitive, r36) + dec_ref r36 + r38 = r37 >= 0 :: signed + if not r38 goto L65 (error at to_hex:89) else goto L30 :: bool L30: - r85 = PyObject_SetAttr(r80, r82, r84) - dec_ref r84 - r86 = r85 >= 0 :: signed - if not r86 goto L56 (error at :28) else goto L31 :: bool + r39 = truncate r37: i32 to builtins.bool + if r39 goto L31 else goto L35 :: bool L31: - dank_mids.brownie_patch.types.DankContractTx = r80 :: type - r87 = dank_mids.brownie_patch.types.globals :: static - r88 = 'DankContractTx' - r89 = CPyDict_SetItem(r87, r88, r80) - dec_ref r80 - r90 = r89 >= 0 :: signed - if not r90 goto L49 (error at :28) else goto L32 :: bool + r40 = load_address PyBytes_Type + r41 = [primitive] + r42 = load_address r41 + r43 = _PyObject_Vectorcall(r40, r42, 1, 0) + if is_error(r43) goto L65 (error at to_hex:90) else goto L32 L32: - r91 = dank_mids.brownie_patch.types.globals :: static - r92 = 'Union' - r93 = CPyDict_GetItem(r91, r92) - if is_error(r93) goto L49 (error at :39) else goto L33 -L33: - r94 = dank_mids.brownie_patch.types.DankContractCall :: type - r95 = dank_mids.brownie_patch.types.DankContractTx :: type - inc_ref r94 - inc_ref r95 - r96 = (r94, r95) - r97 = box(tuple[object, object], r96) - r98 = PyObject_GetItem(r93, r97) - dec_ref r93 - dec_ref r97 - if is_error(r98) goto L49 (error at :39) else goto L34 + dec_ref primitive + r44 = cast(bytes, r43) + if is_error(r44) goto L56 (error at to_hex:90) else goto L33 +L33: + r45 = encode_hex(r44) + dec_ref r44 + if is_error(r45) goto L56 (error at to_hex:90) else goto L34 L34: - r99 = dank_mids.brownie_patch.types.globals :: static - r100 = '_NonOverloaded' - r101 = CPyDict_SetItem(r99, r100, r98) - dec_ref r98 - r102 = r101 >= 0 :: signed - if not r102 goto L49 (error at :39) else goto L35 :: bool + return r45 L35: - r103 = dank_mids.brownie_patch.types.globals :: static - r104 = 'OverloadedMethod' - r105 = CPyDict_GetItem(r103, r104) - if is_error(r105) goto L49 (error at :44) else goto L36 + r46 = load_address PyUnicode_Type + r47 = PyObject_IsInstance(primitive, r46) + r48 = r47 >= 0 :: signed + if not r48 goto L65 (error at to_hex:92) else goto L36 :: bool L36: - r106 = dank_mids.brownie_patch.types.globals :: static - r107 = '_DankMethodMixin' - r108 = CPyDict_GetItem(r106, r107) - if is_error(r108) goto L57 (error at :44) else goto L37 + r49 = truncate r47: i32 to builtins.bool + if r49 goto L66 else goto L41 :: bool L37: - r109 = dank_mids.brownie_patch.types.globals :: static - r110 = '_T' - r111 = CPyDict_GetItem(r109, r110) - if is_error(r111) goto L58 (error at :44) else goto L38 + r50 = 'Unsupported type: The primitive argument must be one of: bytes,bytearray, int or bool and not str' + r51 = builtins :: module + r52 = 'TypeError' + r53 = CPyObject_GetAttr(r51, r52) + if is_error(r53) goto L56 (error at to_hex:93) else goto L38 L38: - r112 = PyObject_GetItem(r108, r111) - dec_ref r108 - dec_ref r111 - if is_error(r112) goto L57 (error at :44) else goto L39 + r54 = [r50] + r55 = load_address r54 + r56 = _PyObject_Vectorcall(r53, r55, 1, 0) + dec_ref r53 + if is_error(r56) goto L56 (error at to_hex:93) else goto L39 L39: - r113 = PyTuple_Pack(2, r105, r112) - dec_ref r105 - dec_ref r112 - if is_error(r113) goto L49 (error at :44) else goto L40 + CPy_Raise(r56) + dec_ref r56 + if not 0 goto L56 (error at to_hex:93) else goto L40 :: bool L40: - r114 = 'dank_mids.brownie_patch.types' - r115 = dank_mids.brownie_patch.types.DankOverloadedMethod_template :: type - r116 = CPyType_FromTemplate(r115, r113, r114) - dec_ref r113 - if is_error(r116) goto L49 (error at :44) else goto L41 + unreachable L41: - r117 = DankOverloadedMethod_trait_vtable_setup() - if is_error(r117) goto L59 (error at :-1) else goto L42 + r57 = load_address PyLong_Type + r58 = PyObject_IsInstance(primitive, r57) + r59 = r58 >= 0 :: signed + if not r59 goto L65 (error at to_hex:98) else goto L42 :: bool L42: - r118 = '__mypyc_attrs__' - r119 = 'methods' - r120 = '__dict__' - r121 = PyTuple_Pack(2, r119, r120) - if is_error(r121) goto L59 (error at :44) else goto L43 + r60 = truncate r58: i32 to builtins.bool + if r60 goto L43 else goto L48 :: bool L43: - r122 = PyObject_SetAttr(r116, r118, r121) - dec_ref r121 - r123 = r122 >= 0 :: signed - if not r123 goto L59 (error at :44) else goto L44 :: bool + r61 = unbox(int, primitive) + dec_ref primitive + if is_error(r61) goto L56 (error at to_hex:99) else goto L44 L44: - dank_mids.brownie_patch.types.DankOverloadedMethod = r116 :: type - r124 = dank_mids.brownie_patch.types.globals :: static - r125 = 'DankOverloadedMethod' - r126 = CPyDict_SetItem(r124, r125, r116) - dec_ref r116 - r127 = r126 >= 0 :: signed - if not r127 goto L49 (error at :44) else goto L45 :: bool + r62 = builtins :: module + r63 = 'hex' + r64 = CPyObject_GetAttr(r62, r63) + if is_error(r64) goto L67 (error at to_hex:99) else goto L45 L45: - r128 = dank_mids.brownie_patch.types.globals :: static - r129 = 'Union' - r130 = CPyDict_GetItem(r128, r129) - if is_error(r130) goto L49 (error at :96) else goto L46 + r65 = box(int, r61) + r66 = [r65] + r67 = load_address r66 + r68 = _PyObject_Vectorcall(r64, r67, 1, 0) + dec_ref r64 + if is_error(r68) goto L68 (error at to_hex:99) else goto L46 L46: - r131 = dank_mids.brownie_patch.types.DankContractCall :: type - r132 = dank_mids.brownie_patch.types.DankContractTx :: type - r133 = dank_mids.brownie_patch.types.DankOverloadedMethod :: type - inc_ref r131 - inc_ref r132 - inc_ref r133 - r134 = (r131, r132, r133) - r135 = box(tuple[object, object, object], r134) - r136 = PyObject_GetItem(r130, r135) - dec_ref r130 - dec_ref r135 - if is_error(r136) goto L49 (error at :96) else goto L47 + dec_ref r65 + r69 = cast(str, r68) + if is_error(r69) goto L56 (error at to_hex:99) else goto L47 L47: - r137 = dank_mids.brownie_patch.types.globals :: static - r138 = 'DankContractMethod' - r139 = CPyDict_SetItem(r137, r138, r136) - dec_ref r136 - r140 = r139 >= 0 :: signed - if not r140 goto L49 (error at :96) else goto L48 :: bool + return r69 L48: - return 1 + r70 = "Unsupported type: '" + r71 = PyObject_Type(primitive) + dec_ref primitive + r72 = builtins :: module + r73 = 'repr' + r74 = CPyObject_GetAttr(r72, r73) + if is_error(r74) goto L69 (error at to_hex:102) else goto L49 L49: - r141 = :: None - return r141 + r75 = [r71] + r76 = load_address r75 + r77 = _PyObject_Vectorcall(r74, r76, 1, 0) + dec_ref r74 + if is_error(r77) goto L69 (error at to_hex:102) else goto L50 L50: - dec_ref r34 - goto L49 + dec_ref r71 + r78 = cast(str, r77) + if is_error(r78) goto L56 (error at to_hex:102) else goto L51 L51: - dec_ref r34 - dec_ref r37 - goto L49 + r79 = "'. Must be one of: bool, str, bytes, bytearray or int." + r80 = CPyStr_Build(3, r70, r78, r79) + dec_ref r78 + if is_error(r80) goto L56 (error at to_hex:102) else goto L52 L52: - dec_ref r34 - dec_ref r37 - dec_ref r40 - goto L49 + r81 = builtins :: module + r82 = 'TypeError' + r83 = CPyObject_GetAttr(r81, r82) + if is_error(r83) goto L70 (error at to_hex:101) else goto L53 L53: - dec_ref r53 - goto L49 + r84 = [r80] + r85 = load_address r84 + r86 = _PyObject_Vectorcall(r83, r85, 1, 0) + dec_ref r83 + if is_error(r86) goto L70 (error at to_hex:101) else goto L54 L54: - dec_ref r60 - goto L49 + dec_ref r80 + CPy_Raise(r86) + dec_ref r86 + if not 0 goto L56 (error at to_hex:101) else goto L55 :: bool L55: - dec_ref r73 - goto L49 + unreachable L56: - dec_ref r80 - goto L49 + r87 = :: object + return r87 L57: - dec_ref r105 - goto L49 + inc_ref primitive + goto L2 L58: - dec_ref r105 - dec_ref r108 - goto L49 + inc_ref hexstr + goto L4 L59: - dec_ref r116 - goto L49 + inc_ref text + goto L6 +L60: + dec_ref primitive + dec_ref text + goto L7 +L61: + dec_ref hexstr + goto L11 +L62: + dec_ref r5 + goto L56 +L63: + dec_ref primitive + goto L12 +L64: + dec_ref text + goto L16 +L65: + dec_ref primitive + goto L56 +L66: + dec_ref primitive + goto L37 +L67: + dec_ref r61 :: int + goto L56 +L68: + dec_ref r65 + goto L56 +L69: + dec_ref r71 + goto L56 +L70: + dec_ref r80 + goto L56 -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4, r5 :: object - r6 :: str - r7 :: dict - r8, r9 :: object - r10 :: str - r11 :: dict - r12, r13 :: object - r14 :: str - r15 :: dict - r16, r17 :: object - r18 :: str - r19 :: dict - r20 :: object - r21, r22, r23, r24 :: str - r25 :: list - r26, r27, r28, r29, r30 :: ptr - r31 :: dict - r32 :: str +def to_bytes(primitive, hexstr, text): + primitive, hexstr :: union[object, None] + text :: union[str, None] + r0, r1, r2, r3 :: object + r4 :: i32 + r5 :: bit + r6, r7 :: bool + r8, r9, r10 :: bytes + r11 :: object + r12 :: str + r13, r14 :: object + r15 :: str + r16 :: object + r17 :: tuple[object, object] + r18 :: object + r19 :: i32 + r20 :: bit + r21 :: bool + r22 :: object + r23 :: object[1] + r24 :: object_ptr + r25 :: object + r26 :: bytes + r27 :: object + r28 :: i32 + r29 :: bit + r30 :: bool + r31 :: bytes + r32 :: object r33 :: i32 r34 :: bit - r35 :: object - r36 :: str - r37 :: dict - r38, r39 :: object - r40 :: str - r41 :: dict - r42 :: object - r43 :: dict - r44 :: str - r45 :: dict - r46 :: str - r47 :: object - r48 :: str - r49 :: object - r50 :: dict - r51 :: str - r52 :: object - r53 :: object[1] - r54 :: object_ptr - r55, r56 :: object - r57 :: str - r58 :: object - r59 :: str - r60 :: object - r61 :: object[1] - r62 :: object_ptr + r35 :: bool + r36 :: int + r37 :: object + r38 :: union[object, None] + r39 :: union[str, None] + r40 :: object + r41 :: union[object, None] + r42 :: union[str, None] + r43 :: bytes + r44 :: object + r45 :: bit + r46, r47 :: int + r48 :: bit + r49 :: str + r50 :: object + r51, r52 :: str + r53 :: union[str, object] + r54 :: str + r55 :: bytes + r56 :: object + r57 :: bit + r58 :: str + r59 :: bytes + r60 :: str + r61 :: object + r62 :: str r63 :: object - r64 :: bool - r65 :: object - r66 :: str - r67 :: dict - r68 :: object - r69 :: dict - r70 :: str - r71 :: object - r72 :: str - r73 :: object[1] - r74 :: object_ptr - r75 :: object - r76 :: i32 - r77 :: bit - r78 :: bool - r79 :: object - r80 :: str - r81 :: dict - r82 :: object - r83 :: dict - r84 :: str - r85 :: object - r86 :: dict - r87 :: str - r88 :: object - r89 :: object[1] - r90 :: object_ptr - r91 :: object - r92 :: dict - r93 :: str - r94 :: i32 - r95 :: bit - r96 :: dict - r97 :: str - r98 :: object - r99 :: str - r100 :: object - r101 :: dict - r102 :: str - r103 :: i32 - r104 :: bit - r105 :: dict - r106 :: str - r107 :: object - r108, r109, r110, r111 :: str - r112 :: list - r113, r114, r115, r116, r117 :: ptr - r118 :: object - r119 :: i32 - r120 :: bit - r121, r122 :: tuple[object, object, object] - r123, r124, r125 :: object - r126 :: object[4] - r127 :: object_ptr - r128 :: object - r129 :: i32 - r130 :: bit - r131 :: bool - r132 :: bit - r133, r134, r135 :: tuple[object, object, object] - r136 :: object - r137 :: object[4] - r138 :: object_ptr - r139 :: object - r140 :: bit - r141 :: None + r64 :: object[1] + r65 :: object_ptr + r66 :: object + r67 :: bytes L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool + if is_error(primitive) goto L1 else goto L51 L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L56 (error at :-1) else goto L2 + r0 = box(None, 1) + inc_ref r0 + primitive = r0 L2: - builtins = r4 :: module - dec_ref r4 + if is_error(hexstr) goto L3 else goto L52 L3: - r5 = ('suppress',) - r6 = 'contextlib' - r7 = dank_mids.brownie_patch.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L56 (error at :1) else goto L4 + r1 = box(None, 1) + inc_ref r1 + hexstr = r1 L4: - contextlib = r8 :: module - dec_ref r8 - r9 = ('AsyncEth',) - r10 = 'web3.eth' - r11 = dank_mids.brownie_patch.globals :: static - r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) - if is_error(r12) goto L56 (error at :3) else goto L5 + if is_error(text) goto L5 else goto L53 L5: - web3.eth = r12 :: module - dec_ref r12 - r13 = ('setup_dank_w3_from_sync',) - r14 = 'dank_mids.helpers' - r15 = dank_mids.brownie_patch.globals :: static - r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) - if is_error(r16) goto L56 (error at :5) else goto L6 + r2 = box(None, 1) + inc_ref r2 + text = r2 L6: - dank_mids.helpers = r16 :: module - dec_ref r16 - r17 = ('DankContractCall', 'DankContractMethod', 'DankContractTx', 'DankOverloadedMethod') - r18 = 'dank_mids.brownie_patch.types' - r19 = dank_mids.brownie_patch.globals :: static - r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) - if is_error(r20) goto L56 (error at :6) else goto L7 + r3 = load_address PyBool_Type + r4 = PyObject_IsInstance(primitive, r3) + r5 = r4 >= 0 :: signed + if not r5 goto L54 (error at to_bytes:112) else goto L7 :: bool L7: - dank_mids.brownie_patch.types = r20 :: module - dec_ref r20 - r21 = 'DankContractCall' - r22 = 'DankContractMethod' - r23 = 'DankContractTx' - r24 = 'DankOverloadedMethod' - r25 = PyList_New(4) - if is_error(r25) goto L56 (error at :13) else goto L8 + r6 = truncate r4: i32 to builtins.bool + if r6 goto L55 else goto L13 :: bool L8: - r26 = get_element_ptr r25 ob_item :: PyListObject - r27 = load_mem r26 :: ptr* - inc_ref r21 - set_mem r27, r21 :: builtins.object* - inc_ref r22 - r28 = r27 + 8 - set_mem r28, r22 :: builtins.object* - inc_ref r23 - r29 = r27 + 16 - set_mem r29, r23 :: builtins.object* - inc_ref r24 - r30 = r27 + 24 - set_mem r30, r24 :: builtins.object* - r31 = dank_mids.brownie_patch.globals :: static - r32 = '__all__' - r33 = CPyDict_SetItem(r31, r32, r25) - dec_ref r25 - r34 = r33 >= 0 :: signed - if not r34 goto L56 (error at :13) else goto L9 :: bool + r7 = unbox(bool, primitive) + dec_ref primitive + if is_error(r7) goto L50 (error at to_bytes:113) else goto L9 L9: - r35 = ('DankEth',) - r36 = 'dank_mids.eth' - r37 = dank_mids.brownie_patch.globals :: static - r38 = CPyImport_ImportFromMany(r36, r35, r35, r37) - if is_error(r38) goto L56 (error at :15) else goto L10 + if r7 goto L10 else goto L11 :: bool L10: - dank_mids.eth = r38 :: module - dec_ref r38 - r39 = ('DankWeb3',) - r40 = 'dank_mids.helpers._helpers' - r41 = dank_mids.brownie_patch.globals :: static - r42 = CPyImport_ImportFromMany(r40, r39, r39, r41) - if is_error(r42) goto L56 (error at :16) else goto L11 + r8 = b'\x01' + inc_ref r8 + r9 = r8 + goto L12 L11: - dank_mids.helpers._helpers = r42 :: module - dec_ref r42 - r43 = dank_mids.brownie_patch.globals :: static - r44 = 'dank_web3' - r45 = dank_mids.brownie_patch.globals :: static - r46 = 'dank_eth' - r47 = builtins :: module - r48 = 'ImportError' - r49 = CPyObject_GetAttr(r47, r48) - if is_error(r49) goto L56 (error at :33) else goto L12 -L12: - r50 = dank_mids.brownie_patch.globals :: static - r51 = 'suppress' - r52 = CPyDict_GetItem(r50, r51) - if is_error(r52) goto L57 (error at :33) else goto L13 + r10 = b'\x00' + inc_ref r10 + r9 = r10 +L12: + return r9 L13: - r53 = [r49] - r54 = load_address r53 - r55 = _PyObject_Vectorcall(r52, r54, 1, 0) - dec_ref r52 - if is_error(r55) goto L57 (error at :33) else goto L14 + r11 = builtins :: module + r12 = 'bytearray' + r13 = CPyObject_GetAttr(r11, r12) + if is_error(r13) goto L54 (error at to_bytes:114) else goto L14 L14: - dec_ref r49 - r56 = PyObject_Type(r55) - r57 = '__exit__' - r58 = CPyObject_GetAttr(r56, r57) - if is_error(r58) goto L58 (error at :33) else goto L15 + r14 = builtins :: module + r15 = 'memoryview' + r16 = CPyObject_GetAttr(r14, r15) + if is_error(r16) goto L56 (error at to_bytes:114) else goto L15 L15: - r59 = '__enter__' - r60 = CPyObject_GetAttr(r56, r59) - dec_ref r56 - if is_error(r60) goto L59 (error at :33) else goto L16 + r17 = (r13, r16) + r18 = box(tuple[object, object], r17) + r19 = PyObject_IsInstance(primitive, r18) + dec_ref r18 + r20 = r19 >= 0 :: signed + if not r20 goto L54 (error at to_bytes:114) else goto L16 :: bool L16: - r61 = [r55] - r62 = load_address r61 - r63 = _PyObject_Vectorcall(r60, r62, 1, 0) - dec_ref r60 - if is_error(r63) goto L59 (error at :33) else goto L60 + r21 = truncate r19: i32 to builtins.bool + if r21 goto L57 else goto L20 :: bool L17: - r64 = 1 + r22 = load_address PyBytes_Type + r23 = [primitive] + r24 = load_address r23 + r25 = _PyObject_Vectorcall(r22, r24, 1, 0) + if is_error(r25) goto L58 (error at to_bytes:115) else goto L18 L18: - r65 = ('network', 'web3') - r66 = 'brownie' - r67 = dank_mids.brownie_patch.globals :: static - r68 = CPyImport_ImportFromMany(r66, r65, r65, r67) - if is_error(r68) goto L35 (error at :34) else goto L19 + dec_ref primitive + r26 = cast(bytes, r25) + if is_error(r26) goto L50 (error at to_bytes:115) else goto L19 L19: - brownie = r68 :: module - dec_ref r68 - r69 = dank_mids.brownie_patch.globals :: static - r70 = 'network' - r71 = CPyDict_GetItem(r69, r70) - if is_error(r71) goto L35 (error at :36) else goto L20 + return r26 L20: - r72 = 'is_connected' - r73 = [r71] - r74 = load_address r73 - r75 = PyObject_VectorcallMethod(r72, r74, 9223372036854775809, 0) - if is_error(r75) goto L61 (error at :36) else goto L21 + r27 = load_address PyBytes_Type + r28 = PyObject_IsInstance(primitive, r27) + r29 = r28 >= 0 :: signed + if not r29 goto L54 (error at to_bytes:116) else goto L21 :: bool L21: - dec_ref r71 - r76 = PyObject_IsTrue(r75) - dec_ref r75 - r77 = r76 >= 0 :: signed - if not r77 goto L35 (error at :36) else goto L22 :: bool + r30 = truncate r28: i32 to builtins.bool + if r30 goto L59 else goto L24 :: bool L22: - r78 = truncate r76: i32 to builtins.bool - if r78 goto L23 else goto L43 :: bool + r31 = cast(bytes, primitive) + if is_error(r31) goto L50 (error at to_bytes:117) else goto L23 L23: - r79 = ('Contract', 'patch_contract') - r80 = 'dank_mids.brownie_patch.contract' - r81 = dank_mids.brownie_patch.globals :: static - r82 = CPyImport_ImportFromMany(r80, r79, r79, r81) - if is_error(r82) goto L35 (error at :37) else goto L24 + return r31 L24: - dank_mids.brownie_patch.contract = r82 :: module - dec_ref r82 - r83 = dank_mids.brownie_patch.globals :: static - r84 = 'web3' - r85 = CPyDict_GetItem(r83, r84) - if is_error(r85) goto L35 (error at :39) else goto L25 + r32 = load_address PyLong_Type + r33 = PyObject_IsInstance(primitive, r32) + r34 = r33 >= 0 :: signed + if not r34 goto L54 (error at to_bytes:118) else goto L25 :: bool L25: - r86 = dank_mids.brownie_patch.globals :: static - r87 = 'setup_dank_w3_from_sync' - r88 = CPyDict_GetItem(r86, r87) - if is_error(r88) goto L62 (error at :39) else goto L26 + r35 = truncate r33: i32 to builtins.bool + if r35 goto L60 else goto L61 :: bool L26: - r89 = [r85] - r90 = load_address r89 - r91 = _PyObject_Vectorcall(r88, r90, 1, 0) - dec_ref r88 - if is_error(r91) goto L62 (error at :39) else goto L27 + r36 = unbox(int, primitive) + dec_ref primitive + if is_error(r36) goto L50 (error at to_bytes:119) else goto L27 L27: - dec_ref r85 - r92 = dank_mids.brownie_patch.globals :: static - r93 = 'dank_web3' - r94 = CPyDict_SetItem(r92, r93, r91) - dec_ref r91 - r95 = r94 >= 0 :: signed - if not r95 goto L35 (error at :39) else goto L28 :: bool + r37 = box(int, r36) + r38 = :: union[object, None] + r39 = :: union[str, None] + r40 = to_hex(r37, r38, r39) + dec_ref r37 + if is_error(r40) goto L50 (error at to_bytes:119) else goto L28 L28: - r96 = dank_mids.brownie_patch.globals :: static - r97 = 'dank_web3' - r98 = CPyDict_GetItem(r96, r97) - if is_error(r98) goto L35 (error at :40) else goto L29 + r41 = :: union[object, None] + r42 = :: union[str, None] + r43 = to_bytes(r41, r40, r42) + dec_ref r40 + if is_error(r43) goto L50 (error at to_bytes:119) else goto L29 L29: - r99 = 'eth' - r100 = CPyObject_GetAttr(r98, r99) - dec_ref r98 - if is_error(r100) goto L35 (error at :40) else goto L30 + return r43 L30: - r101 = dank_mids.brownie_patch.globals :: static - r102 = 'dank_eth' - r103 = CPyDict_SetItem(r101, r102, r100) - dec_ref r100 - r104 = r103 >= 0 :: signed - if not r104 goto L35 (error at :40) else goto L31 :: bool + r44 = load_address _Py_NoneStruct + r45 = hexstr != r44 + if r45 goto L62 else goto L63 :: bool L31: - r105 = dank_mids.brownie_patch.globals :: static - r106 = '__all__' - r107 = CPyDict_GetItem(r105, r106) - if is_error(r107) goto L35 (error at :41) else goto L32 + r46 = CPyObject_Size(hexstr) + if is_error(r46) goto L64 (error at to_bytes:121) else goto L32 L32: - r108 = 'Contract' - r109 = 'patch_contract' - r110 = 'dank_web3' - r111 = 'dank_eth' - r112 = PyList_New(4) - if is_error(r112) goto L63 (error at :41) else goto L33 + r47 = CPyTagged_Remainder(r46, 4) + dec_ref r46 :: int + if is_error(r47) goto L64 (error at to_bytes:121) else goto L33 L33: - r113 = get_element_ptr r112 ob_item :: PyListObject - r114 = load_mem r113 :: ptr* - inc_ref r108 - set_mem r114, r108 :: builtins.object* - inc_ref r109 - r115 = r114 + 8 - set_mem r115, r109 :: builtins.object* - inc_ref r110 - r116 = r114 + 16 - set_mem r116, r110 :: builtins.object* - inc_ref r111 - r117 = r114 + 24 - set_mem r117, r111 :: builtins.object* - r118 = PyNumber_InPlaceAdd(r107, r112) - dec_ref r107 - dec_ref r112 - if is_error(r118) goto L35 (error at :41) else goto L34 + r48 = r47 != 0 + dec_ref r47 :: int + if r48 goto L34 else goto L38 :: bool L34: - r119 = CPyDict_SetItem(r105, r106, r118) - dec_ref r118 - r120 = r119 >= 0 :: signed - if not r120 goto L35 (error at :41) else goto L43 :: bool + r49 = '0x0' + r50 = remove_0x_prefix(hexstr) + dec_ref hexstr + if is_error(r50) goto L50 (error at to_bytes:121) else goto L35 L35: - r121 = CPy_CatchError() - r64 = 0 - r122 = CPy_GetExcInfo() - r123 = r122[0] - r124 = r122[1] - r125 = r122[2] - dec_ref r122 - r126 = [r55, r123, r124, r125] - r127 = load_address r126 - r128 = _PyObject_Vectorcall(r58, r127, 4, 0) - if is_error(r128) goto L64 (error at :33) else goto L36 + r51 = PyObject_Str(r50) + dec_ref r50 + if is_error(r51) goto L50 (error at to_bytes:121) else goto L36 L36: - dec_ref r123 - dec_ref r124 - dec_ref r125 - r129 = PyObject_IsTrue(r128) - dec_ref r128 - r130 = r129 >= 0 :: signed - if not r130 goto L41 (error at :33) else goto L37 :: bool + r52 = CPyStr_Build(2, r49, r51) + dec_ref r51 + if is_error(r52) goto L50 (error at to_bytes:121) else goto L37 L37: - r131 = truncate r129: i32 to builtins.bool - if r131 goto L40 else goto L38 :: bool + r53 = r52 + goto L39 L38: - CPy_Reraise() - if not 0 goto L41 else goto L65 :: bool + r53 = hexstr L39: - unreachable + r54 = cast(str, r53) + if is_error(r54) goto L50 (error at to_bytes:121) else goto L40 L40: - CPy_RestoreExcInfo(r121) - dec_ref r121 - goto L43 + r55 = decode_hex(r54) + dec_ref r54 + if is_error(r55) goto L50 (error at to_bytes:121) else goto L41 L41: - CPy_RestoreExcInfo(r121) - dec_ref r121 - r132 = CPy_KeepPropagating() - if not r132 goto L44 else goto L66 :: bool + return r55 L42: - unreachable + r56 = load_address _Py_NoneStruct + r57 = text != r56 + if r57 goto L43 else goto L65 :: bool L43: - r133 = :: tuple[object, object, object] - r134 = r133 - goto L45 + r58 = cast(str, text) + if is_error(r58) goto L50 (error at to_bytes:123) else goto L44 L44: - r135 = CPy_CatchError() - r134 = r135 + r59 = PyUnicode_AsUTF8String(r58) + dec_ref r58 + if is_error(r59) goto L50 (error at to_bytes:123) else goto L45 L45: - if r64 goto L46 else goto L67 :: bool + return r59 L46: - r136 = load_address _Py_NoneStruct - r137 = [r55, r136, r136, r136] - r138 = load_address r137 - r139 = _PyObject_Vectorcall(r58, r138, 4, 0) - dec_ref r58 - if is_error(r139) goto L68 (error at :33) else goto L69 + r60 = 'expected a bool, int, byte or bytearray in first arg, or keyword of hexstr or text' + r61 = builtins :: module + r62 = 'TypeError' + r63 = CPyObject_GetAttr(r61, r62) + if is_error(r63) goto L50 (error at to_bytes:124) else goto L47 L47: - dec_ref r55 + r64 = [r60] + r65 = load_address r64 + r66 = _PyObject_Vectorcall(r63, r65, 1, 0) + dec_ref r63 + if is_error(r66) goto L50 (error at to_bytes:124) else goto L48 L48: - if is_error(r134) goto L55 else goto L49 + CPy_Raise(r66) + dec_ref r66 + if not 0 goto L50 (error at to_bytes:124) else goto L49 :: bool L49: - CPy_Reraise() - if not 0 goto L51 else goto L70 :: bool -L50: unreachable +L50: + r67 = :: bytes + return r67 L51: - if is_error(r134) goto L53 else goto L52 + inc_ref primitive + goto L2 L52: - CPy_RestoreExcInfo(r134) - xdec_ref r134 + inc_ref hexstr + goto L4 L53: - r140 = CPy_KeepPropagating() - if not r140 goto L56 else goto L54 :: bool + inc_ref text + goto L6 L54: - unreachable + dec_ref primitive + dec_ref hexstr + dec_ref text + goto L50 L55: - return 1 + dec_ref hexstr + dec_ref text + goto L8 L56: - r141 = :: None - return r141 + dec_ref primitive + dec_ref hexstr + dec_ref text + dec_ref r13 + goto L50 L57: - dec_ref r49 - goto L56 + dec_ref hexstr + dec_ref text + goto L17 L58: - dec_ref r55 - dec_ref r56 - goto L56 + dec_ref primitive + goto L50 L59: - dec_ref r55 - dec_ref r58 - goto L56 + dec_ref hexstr + dec_ref text + goto L22 L60: - dec_ref r63 - goto L17 + dec_ref hexstr + dec_ref text + goto L26 L61: - dec_ref r71 - goto L35 + dec_ref primitive + goto L30 L62: - dec_ref r85 - goto L35 + dec_ref text + goto L31 L63: - dec_ref r107 - goto L35 -L64: - dec_ref r123 - dec_ref r124 - dec_ref r125 - goto L41 -L65: - dec_ref r55 - dec_ref r58 - dec_ref r121 - goto L39 -L66: - dec_ref r55 - dec_ref r58 + dec_ref hexstr goto L42 -L67: - dec_ref r55 - dec_ref r58 - goto L48 -L68: - dec_ref r55 - goto L51 -L69: - dec_ref r139 - goto L47 -L70: - xdec_ref r134 +L64: + dec_ref hexstr goto L50 +L65: + dec_ref text + goto L46 -def WeakList.__init__(self, data): - self :: dank_mids.helpers._weaklist.WeakList - data :: union[object, None] +def decode_hex(value): + value :: str r0 :: object - r1 :: dict - r2 :: bool + r1 :: i32 + r2 :: bit + r3 :: bool + r4 :: str + r5 :: object + r6 :: str + r7 :: object + r8 :: object[1] + r9 :: object_ptr + r10, r11 :: object + r12, r13 :: str + r14 :: object[2] + r15 :: object_ptr + r16, r17 :: object + r18 :: bool + r19 :: object[1] + r20 :: object_ptr + r21 :: object + r22, r23 :: bytes +L0: + r0 = load_address PyUnicode_Type + r1 = PyObject_IsInstance(value, r0) + r2 = r1 >= 0 :: signed + if not r2 goto L14 (error at decode_hex:130) else goto L1 :: bool +L1: + r3 = truncate r1: i32 to builtins.bool + if r3 goto L6 else goto L2 :: bool +L2: + r4 = 'Value must be an instance of str' + r5 = builtins :: module + r6 = 'TypeError' + r7 = CPyObject_GetAttr(r5, r6) + if is_error(r7) goto L14 (error at decode_hex:131) else goto L3 +L3: + r8 = [r4] + r9 = load_address r8 + r10 = _PyObject_Vectorcall(r7, r9, 1, 0) + dec_ref r7 + if is_error(r10) goto L14 (error at decode_hex:131) else goto L4 +L4: + CPy_Raise(r10) + dec_ref r10 + if not 0 goto L14 (error at decode_hex:131) else goto L5 :: bool +L5: + unreachable +L6: + r11 = remove_0x_prefix(value) + if is_error(r11) goto L14 (error at decode_hex:132) else goto L7 +L7: + r12 = 'ascii' + r13 = 'encode' + r14 = [r11, r12] + r15 = load_address r14 + r16 = PyObject_VectorcallMethod(r13, r15, 9223372036854775810, 0) + if is_error(r16) goto L15 (error at decode_hex:134) else goto L8 +L8: + dec_ref r11 + r17 = dank_mids._eth_utils.unhexlify :: static + if is_error(r17) goto L16 else goto L11 +L9: + r18 = raise NameError('value for final name "unhexlify" was not set') + if not r18 goto L14 (error at decode_hex:135) else goto L10 :: bool +L10: + unreachable +L11: + r19 = [r16] + r20 = load_address r19 + r21 = _PyObject_Vectorcall(r17, r20, 1, 0) + if is_error(r21) goto L17 (error at decode_hex:135) else goto L12 +L12: + dec_ref r16 + r22 = cast(bytes, r21) + if is_error(r22) goto L14 (error at decode_hex:135) else goto L13 +L13: + return r22 +L14: + r23 = :: bytes + return r23 +L15: + dec_ref r11 + goto L14 +L16: + dec_ref r16 + goto L9 +L17: + dec_ref r16 + goto L14 + +def encode_hex(value): + value, r0, r1 :: object + r2 :: str r3 :: object - r4 :: bit - r5, r6 :: None + r4 :: tuple[object, object] + r5 :: object + r6 :: i32 + r7 :: bit + r8 :: bool + ascii_bytes :: union[bytes, object] + r9 :: object + r10 :: i32 + r11 :: bit + r12 :: bool + r13 :: str + r14 :: bytes + r15 :: str + r16 :: object + r17 :: str + r18 :: object + r19 :: object[1] + r20 :: object_ptr + r21, r22 :: object + r23 :: bool + r24 :: object[1] + r25 :: object_ptr + r26 :: object + r27 :: bytes + r28, r29 :: str + r30, r31 :: object L0: - if is_error(data) goto L1 else goto L8 + r0 = load_address PyBytes_Type + r1 = builtins :: module + r2 = 'bytearray' + r3 = CPyObject_GetAttr(r1, r2) + if is_error(r3) goto L21 (error at encode_hex:139) else goto L1 L1: - r0 = box(None, 1) inc_ref r0 - data = r0 + r4 = (r0, r3) + r5 = box(tuple[object, object], r4) + r6 = PyObject_IsInstance(value, r5) + dec_ref r5 + r7 = r6 >= 0 :: signed + if not r7 goto L21 (error at encode_hex:139) else goto L2 :: bool L2: - r1 = PyDict_New() - if is_error(r1) goto L9 (error at __init__:18) else goto L3 -L3: - self._refs = r1; r2 = is_error - if not r2 goto L9 (error at __init__:18) else goto L4 :: bool + r8 = truncate r6: i32 to builtins.bool + if r8 goto L3 else goto L4 :: bool +L3: + inc_ref value + ascii_bytes = value + goto L13 L4: - r3 = load_address _Py_NoneStruct - r4 = data != r3 - if r4 goto L5 else goto L10 :: bool + r9 = load_address PyUnicode_Type + r10 = PyObject_IsInstance(value, r9) + r11 = r10 >= 0 :: signed + if not r11 goto L21 (error at encode_hex:141) else goto L5 :: bool L5: - r5 = self.extend(data) - dec_ref data - if is_error(r5) goto L7 (error at __init__:20) else goto L6 + r12 = truncate r10: i32 to builtins.bool + if r12 goto L6 else goto L9 :: bool L6: - return 1 + inc_ref value + r13 = cast(str, value) + if is_error(r13) goto L21 (error at encode_hex:142) else goto L7 L7: - r6 = :: None - return r6 + r14 = PyUnicode_AsASCIIString(r13) + dec_ref r13 + if is_error(r14) goto L21 (error at encode_hex:142) else goto L8 L8: - inc_ref data - goto L2 + ascii_bytes = r14 + goto L13 L9: - dec_ref data - goto L7 + r15 = 'Value must be an instance of str or unicode' + r16 = builtins :: module + r17 = 'TypeError' + r18 = CPyObject_GetAttr(r16, r17) + if is_error(r18) goto L21 (error at encode_hex:144) else goto L10 L10: - dec_ref data - goto L6 + r19 = [r15] + r20 = load_address r19 + r21 = _PyObject_Vectorcall(r18, r20, 1, 0) + dec_ref r18 + if is_error(r21) goto L21 (error at encode_hex:144) else goto L11 +L11: + CPy_Raise(r21) + dec_ref r21 + if not 0 goto L21 (error at encode_hex:144) else goto L12 :: bool +L12: + unreachable +L13: + r22 = dank_mids._eth_utils.hexlify :: static + if is_error(r22) goto L22 else goto L16 +L14: + r23 = raise NameError('value for final name "hexlify" was not set') + if not r23 goto L21 (error at encode_hex:145) else goto L15 :: bool +L15: + unreachable +L16: + r24 = [ascii_bytes] + r25 = load_address r24 + r26 = _PyObject_Vectorcall(r22, r25, 1, 0) + if is_error(r26) goto L23 (error at encode_hex:145) else goto L17 +L17: + dec_ref ascii_bytes + r27 = cast(bytes, r26) + if is_error(r27) goto L21 (error at encode_hex:145) else goto L18 +L18: + r28 = 'ascii' + r29 = CPy_Decode(r27, r28, 0) + dec_ref r27 + if is_error(r29) goto L21 (error at encode_hex:145) else goto L19 +L19: + r30 = add_0x_prefix(r29) + dec_ref r29 + if is_error(r30) goto L21 (error at encode_hex:146) else goto L20 +L20: + return r30 +L21: + r31 = :: object + return r31 +L22: + dec_ref ascii_bytes + goto L14 +L23: + dec_ref ascii_bytes + goto L21 -def WeakList.__repr__(self): - self :: dank_mids.helpers._weaklist.WeakList +def is_0x_prefixed(value): + value :: str r0 :: object - r1 :: str - r2 :: object - r3, r4, r5 :: str - r6 :: object - r7 :: str - r8, r9 :: object - r10 :: str - r11 :: object - r12 :: object[2] - r13 :: object_ptr - r14 :: object - r15, r16, r17, r18 :: str + r1 :: i32 + r2 :: bit + r3 :: bool + r4, r5, r6 :: str + r7 :: object + r8 :: str + r9 :: object + r10 :: object[1] + r11 :: object_ptr + r12 :: object + r13, r14 :: str + r15 :: object[3] + r16 :: object_ptr + r17 :: object + r18 :: list + r19, r20, r21 :: ptr + r22 :: str + r23 :: object + r24 :: str + r25 :: object + r26 :: object[1] + r27 :: object_ptr + r28 :: object + r29, r30 :: str + r31 :: tuple[str, str] + r32 :: str + r33 :: object + r34 :: object[2] + r35 :: object_ptr + r36 :: object + r37, r38 :: bool L0: - r0 = PyObject_Type(self) - r1 = '__name__' - r2 = CPyObject_GetAttr(r0, r1) - dec_ref r0 - if is_error(r2) goto L8 (error at __repr__:24) else goto L1 + r0 = load_address PyUnicode_Type + r1 = PyObject_IsInstance(value, r0) + r2 = r1 >= 0 :: signed + if not r2 goto L14 (error at is_0x_prefixed:150) else goto L1 :: bool L1: - r3 = cast(str, r2) - if is_error(r3) goto L8 (error at __repr__:24) else goto L2 + r3 = truncate r1: i32 to builtins.bool + if r3 goto L11 else goto L2 :: bool L2: - r4 = '([' - r5 = ', ' - r6 = builtins :: module - r7 = 'repr' - r8 = CPyObject_GetAttr(r6, r7) - if is_error(r8) goto L9 (error at __repr__:24) else goto L3 + r4 = '' + r5 = 'is_0x_prefixed requires text typed arguments. Got: ' + r6 = '{:{}}' + r7 = builtins :: module + r8 = 'repr' + r9 = CPyObject_GetAttr(r7, r8) + if is_error(r9) goto L14 (error at is_0x_prefixed:151) else goto L3 L3: - r9 = builtins :: module - r10 = 'map' - r11 = CPyObject_GetAttr(r9, r10) - if is_error(r11) goto L10 (error at __repr__:24) else goto L4 + r10 = [value] + r11 = load_address r10 + r12 = _PyObject_Vectorcall(r9, r11, 1, 0) + dec_ref r9 + if is_error(r12) goto L14 (error at is_0x_prefixed:151) else goto L4 L4: - r12 = [r8, self] - r13 = load_address r12 - r14 = _PyObject_Vectorcall(r11, r13, 2, 0) - dec_ref r11 - if is_error(r14) goto L10 (error at __repr__:24) else goto L5 + r13 = '' + r14 = 'format' + r15 = [r6, r12, r13] + r16 = load_address r15 + r17 = PyObject_VectorcallMethod(r14, r16, 9223372036854775811, 0) + if is_error(r17) goto L15 (error at is_0x_prefixed:151) else goto L5 L5: - dec_ref r8 - r15 = PyUnicode_Join(r5, r14) - dec_ref r14 - if is_error(r15) goto L9 (error at __repr__:24) else goto L6 + dec_ref r12 + r18 = PyList_New(2) + if is_error(r18) goto L16 (error at is_0x_prefixed:151) else goto L6 L6: - r16 = '])' - r17 = CPyStr_Build(4, r3, r4, r15, r16) - dec_ref r3 - dec_ref r15 - if is_error(r17) goto L8 (error at __repr__:24) else goto L7 + r19 = get_element_ptr r18 ob_item :: PyListObject + r20 = load_mem r19 :: ptr* + inc_ref r5 + set_mem r20, r5 :: builtins.object* + r21 = r20 + 8 + set_mem r21, r17 :: builtins.object* + r22 = PyUnicode_Join(r4, r18) + dec_ref r18 + if is_error(r22) goto L14 (error at is_0x_prefixed:151) else goto L7 L7: - return r17 + r23 = builtins :: module + r24 = 'TypeError' + r25 = CPyObject_GetAttr(r23, r24) + if is_error(r25) goto L17 (error at is_0x_prefixed:151) else goto L8 L8: - r18 = :: str - return r18 + r26 = [r22] + r27 = load_address r26 + r28 = _PyObject_Vectorcall(r25, r27, 1, 0) + dec_ref r25 + if is_error(r28) goto L17 (error at is_0x_prefixed:151) else goto L9 L9: - dec_ref r3 - goto L8 + dec_ref r22 + CPy_Raise(r28) + dec_ref r28 + if not 0 goto L14 (error at is_0x_prefixed:151) else goto L10 :: bool L10: - dec_ref r3 - dec_ref r8 - goto L8 + unreachable +L11: + r29 = '0x' + r30 = '0X' + inc_ref r29 + inc_ref r30 + r31 = (r29, r30) + r32 = 'startswith' + r33 = box(tuple[str, str], r31) + r34 = [value, r33] + r35 = load_address r34 + r36 = PyObject_VectorcallMethod(r32, r35, 9223372036854775810, 0) + if is_error(r36) goto L18 (error at is_0x_prefixed:152) else goto L12 +L12: + dec_ref r33 + r37 = unbox(bool, r36) + dec_ref r36 + if is_error(r37) goto L14 (error at is_0x_prefixed:152) else goto L13 +L13: + return r37 +L14: + r38 = :: bool + return r38 +L15: + dec_ref r12 + goto L14 +L16: + dec_ref r17 + goto L14 +L17: + dec_ref r22 + goto L14 +L18: + dec_ref r33 + goto L14 -def WeakList.__len__(self): - self :: dank_mids.helpers._weaklist.WeakList - r0 :: dict - r1 :: native_int - r2 :: short_int - r3 :: int +def remove_0x_prefix(value): + value :: object + r0 :: str + r1 :: bool + r2, r3, r4, r5, r6, r7 :: object L0: - r0 = self._refs - if is_error(r0) goto L2 (error at __len__:27) else goto L1 + inc_ref value + r0 = cast(str, value) + if is_error(r0) goto L7 (error at remove_0x_prefix:157) else goto L1 L1: - r1 = PyDict_Size(r0) + r1 = is_0x_prefixed(r0) dec_ref r0 - r2 = r1 << 1 - return r2 + if is_error(r1) goto L7 (error at remove_0x_prefix:157) else goto L2 L2: - r3 = :: int - return r3 + if r1 goto L3 else goto L6 :: bool +L3: + r2 = load_address _Py_NoneStruct + r3 = load_address _Py_NoneStruct + r4 = object 2 + r5 = PySlice_New(r4, r2, r3) + if is_error(r5) goto L7 (error at remove_0x_prefix:158) else goto L4 +L4: + r6 = PyObject_GetItem(value, r5) + dec_ref r5 + if is_error(r6) goto L7 (error at remove_0x_prefix:158) else goto L5 +L5: + return r6 +L6: + inc_ref value + return value +L7: + r7 = :: object + return r7 -def WeakList.__bool__(self): - self :: dank_mids.helpers._weaklist.WeakList - r0 :: dict - r1 :: native_int - r2 :: short_int - r3 :: bit - r4 :: bool +def add_0x_prefix(value): + value :: object + r0 :: str + r1 :: bool + r2, r3, r4 :: str + r5 :: object L0: - r0 = self._refs - if is_error(r0) goto L2 (error at __bool__:30) else goto L1 + inc_ref value + r0 = cast(str, value) + if is_error(r0) goto L7 (error at add_0x_prefix:164) else goto L1 L1: - r1 = PyDict_Size(r0) + r1 = is_0x_prefixed(r0) dec_ref r0 - r2 = r1 << 1 - r3 = r2 != 0 - return r3 + if is_error(r1) goto L7 (error at add_0x_prefix:164) else goto L2 L2: - r4 = :: bool + if r1 goto L3 else goto L4 :: bool +L3: + inc_ref value + return value +L4: + r2 = '0x' + r3 = PyObject_Str(value) + if is_error(r3) goto L7 (error at add_0x_prefix:166) else goto L5 +L5: + r4 = CPyStr_Build(2, r2, r3) + dec_ref r3 + if is_error(r4) goto L7 (error at add_0x_prefix:166) else goto L6 +L6: return r4 +L7: + r5 = :: object + return r5 -def WeakList.__contains__(self, item): - self :: dank_mids.helpers._weaklist.WeakList - item :: object - r0 :: dict - r1 :: int - r2, r3 :: object - ref :: union[object, None] +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str r4 :: object - r5 :: bit - r6 :: bool - r7 :: object - r8 :: bit - r9 :: bool + r5 :: object_ptr + r6 :: object_ptr[1] + r7 :: c_ptr + r8 :: native_int[1] + r9 :: c_ptr + r10 :: object + r11 :: dict + r12, r13 :: str + r14 :: bit + r15 :: object + r16 :: str + r17 :: dict + r18, r19 :: object + r20 :: str + r21 :: dict + r22, r23 :: object + r24 :: str + r25 :: object + r26 :: dict + r27 :: str + r28 :: i32 + r29 :: bit + r30 :: object + r31 :: str + r32 :: object + r33 :: dict + r34 :: str + r35 :: i32 + r36 :: bit + r37 :: None L0: - r0 = self._refs - if is_error(r0) goto L7 (error at __contains__:33) else goto L1 + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool L1: - r1 = CPyTagged_Id(item) - r2 = box(int, r1) - r3 = CPyDict_GetWithNone(r0, r2) - dec_ref r0 - dec_ref r2 - if is_error(r3) goto L7 (error at __contains__:33) else goto L2 + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L11 (error at :-1) else goto L2 L2: - ref = r3 - r4 = load_address _Py_NoneStruct - r5 = ref == r4 - if r5 goto L8 else goto L4 :: bool + builtins = r4 :: module + dec_ref r4 L3: - r6 = 0 - goto L6 + r5 = load_address binascii :: module + r6 = [r5] + r7 = load_address r6 + r8 = [8] + r9 = load_address r8 + r10 = (('binascii', 'binascii', 'binascii'),) + r11 = dank_mids._eth_utils.globals :: static + r12 = 'dank_mids\\_eth_utils.py' + r13 = '' + r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) + if not r14 goto L11 else goto L4 :: bool L4: - r7 = _PyObject_Vectorcall(ref, 0, 0, 0) - dec_ref ref - if is_error(r7) goto L7 (error at __contains__:34) else goto L5 + r15 = ('Any', 'AnyStr', 'Final', 'Optional') + r16 = 'typing' + r17 = dank_mids._eth_utils.globals :: static + r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) + if is_error(r18) goto L11 (error at :9) else goto L5 L5: - r8 = r7 == item - dec_ref r7 - r6 = r8 + typing = r18 :: module + dec_ref r18 + r19 = ('HexStr',) + r20 = 'eth_typing' + r21 = dank_mids._eth_utils.globals :: static + r22 = CPyImport_ImportFromMany(r20, r19, r19, r21) + if is_error(r22) goto L11 (error at :11) else goto L6 L6: - return r6 + eth_typing = r22 :: module + dec_ref r22 + r23 = binascii :: module + r24 = 'hexlify' + r25 = CPyObject_GetAttr(r23, r24) + if is_error(r25) goto L11 (error at :14) else goto L7 L7: - r9 = :: bool - return r9 + dank_mids._eth_utils.hexlify = r25 :: static + r26 = dank_mids._eth_utils.globals :: static + r27 = 'hexlify' + r28 = CPyDict_SetItem(r26, r27, r25) + dec_ref r25 + r29 = r28 >= 0 :: signed + if not r29 goto L11 (error at :14) else goto L8 :: bool L8: - dec_ref ref - goto L3 + r30 = binascii :: module + r31 = 'unhexlify' + r32 = CPyObject_GetAttr(r30, r31) + if is_error(r32) goto L11 (error at :15) else goto L9 +L9: + dank_mids._eth_utils.unhexlify = r32 :: static + r33 = dank_mids._eth_utils.globals :: static + r34 = 'unhexlify' + r35 = CPyDict_SetItem(r33, r34, r32) + dec_ref r32 + r36 = r35 >= 0 :: signed + if not r36 goto L11 (error at :15) else goto L10 :: bool +L10: + return 1 +L11: + r37 = :: None + return r37 -def __iter___WeakList_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg): - __mypyc_self__ :: dank_mids.helpers._weaklist.__iter___WeakList_gen - type, value, traceback, arg :: object - r0 :: dank_mids.helpers._weaklist.__iter___WeakList_env - r1 :: int - r2 :: object - r3 :: bit - r4 :: dank_mids.helpers._weaklist.WeakList - r5 :: dict - r6, r7 :: bool - r8 :: dict - r9 :: native_int - r10 :: short_int - r11 :: bool - r12 :: object - r13 :: bool +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str + r4, r5 :: object + r6 :: str + r7 :: dict + r8 :: object + r9 :: object_ptr + r10 :: object_ptr[1] + r11 :: c_ptr + r12 :: native_int[1] + r13 :: c_ptr r14 :: object - r15 :: short_int - r16 :: tuple[bool, short_int, object] - r17 :: short_int - r18, r19 :: bool - r20 :: object - r21 :: bool + r15 :: dict + r16, r17 :: str + r18 :: bit + r19 :: object + r20 :: str + r21 :: dict r22, r23 :: object - r24 :: bit - r25, r26 :: object - r27 :: bool - r28 :: object[1] - r29 :: object_ptr - r30 :: object - r31 :: bool - r32 :: union[object, None] - r33 :: object - r34 :: bit - r35 :: union[object, None] - r36 :: bool - r37 :: object - r38 :: bit - r39 :: dict - r40 :: short_int - r41, r42 :: bit - r43 :: object - r44 :: bool - r45, r46 :: bit - r47 :: bool - r48 :: object + r24 :: str + r25 :: dict + r26 :: object + r27, r28, r29, r30 :: str + r31 :: set + r32 :: i32 + r33 :: bit + r34 :: i32 + r35 :: bit + r36 :: i32 + r37 :: bit + r38 :: i32 + r39 :: bit + r40 :: dict + r41 :: str + r42 :: i32 + r43 :: bit + r44, r45, r46, r47, r48, r49 :: str + r50 :: set + r51 :: i32 + r52 :: bit + r53 :: i32 + r54 :: bit + r55 :: i32 + r56 :: bit + r57 :: i32 + r58 :: bit + r59 :: i32 + r60 :: bit + r61 :: i32 + r62 :: bit + r63 :: dict + r64 :: str + r65 :: i32 + r66 :: bit + r67 :: dict + r68 :: str + r69 :: object + r70 :: str + r71 :: object + r72 :: str + r73 :: object + r74 :: dict + r75 :: str + r76 :: i32 + r77 :: bit + r78 :: dict + r79 :: str + r80 :: object + r81 :: str + r82 :: object + r83 :: str + r84 :: object + r85 :: dict + r86 :: str + r87 :: i32 + r88 :: bit + r89 :: dict + r90 :: str + r91 :: object + r92 :: str + r93 :: object + r94 :: str + r95 :: object + r96 :: dict + r97 :: str + r98 :: i32 + r99 :: bit + r100 :: tuple[object, object, object] + r101 :: object + r102 :: str + r103 :: object + r104 :: bit + r105 :: dict + r106 :: str + r107 :: object + r108 :: str + r109 :: object + r110 :: str + r111 :: object + r112 :: dict + r113 :: str + r114 :: i32 + r115, r116 :: bit + r117, r118, r119 :: tuple[object, object, object] + r120 :: dict + r121 :: str + r122 :: object + r123 :: dict + r124 :: str + r125 :: i32 + r126, r127 :: bit + r128 :: dict + r129 :: str + r130 :: object + r131 :: str + r132 :: object + r133 :: dict + r134 :: str + r135 :: object + r136 :: str + r137 :: object + r138 :: dict + r139 :: str + r140 :: object + r141 :: str + r142 :: object + r143 :: dict + r144 :: str + r145 :: object + r146 :: str + r147, r148, r149, r150, r151 :: object + r152, r153 :: dict + r154 :: str + r155 :: i32 + r156 :: bit + r157 :: dict + r158 :: str + r159 :: object + r160 :: str + r161 :: object + r162 :: dict + r163 :: str + r164 :: object + r165 :: str + r166 :: object + r167 :: dict + r168 :: str + r169 :: object + r170 :: str + r171 :: object + r172 :: dict + r173 :: str + r174 :: object + r175 :: str + r176 :: object + r177 :: dict + r178 :: str + r179 :: object + r180 :: str + r181, r182, r183, r184, r185, r186 :: object + r187, r188 :: dict + r189 :: str + r190 :: i32 + r191 :: bit + r192, r193, r194, r195, r196, r197, r198, r199, r200, r201 :: str + r202 :: tuple[str, str, str, str, str, str, str, str, str, str] + r203 :: dict + r204 :: str + r205 :: object + r206 :: i32 + r207 :: bit + r208, r209 :: bytes + r210 :: tuple[bytes, bytes] + r211 :: dict + r212 :: str + r213 :: object + r214 :: i32 + r215 :: bit + r216 :: None L0: - r0 = __mypyc_self__.__mypyc_env__ - if is_error(r0) goto L45 (error at __iter__:36) else goto L1 + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool L1: - r1 = r0.__mypyc_next_label__ - if is_error(r1) goto L46 (error at __iter__:36) else goto L41 + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L80 (error at :-1) else goto L2 L2: - r2 = load_address _Py_NoneStruct - r3 = type != r2 - if r3 goto L47 else goto L5 :: bool + builtins = r4 :: module + dec_ref r4 L3: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L45 (error at __iter__:36) else goto L4 :: bool + r5 = ('Dict', 'Final') + r6 = 'typing' + r7 = dank_mids.constants.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L80 (error at :2) else goto L4 L4: - unreachable + typing = r8 :: module + dec_ref r8 + r9 = load_address multicall.constants :: module + r10 = [r9] + r11 = load_address r10 + r12 = [4] + r13 = load_address r12 + r14 = (('multicall.constants', 'multicall', 'multicall'),) + r15 = dank_mids.constants.globals :: static + r16 = 'dank_mids\\constants.py' + r17 = '' + r18 = CPyImport_ImportMany(r14, r11, r15, r16, r17, r13) + if not r18 goto L80 else goto L5 :: bool L5: - r4 = r0.self - if is_error(r4) goto L46 (error at __iter__:37) else goto L6 + r19 = ('BlockNumber',) + r20 = 'eth_typing' + r21 = dank_mids.constants.globals :: static + r22 = CPyImport_ImportFromMany(r20, r19, r19, r21) + if is_error(r22) goto L80 (error at :5) else goto L6 L6: - r5 = r4._refs - dec_ref r4 - if is_error(r5) goto L46 (error at __iter__:37) else goto L7 + eth_typing = r22 :: module + dec_ref r22 + r23 = ('Network',) + r24 = 'multicall.constants' + r25 = dank_mids.constants.globals :: static + r26 = CPyImport_ImportFromMany(r24, r23, r23, r25) + if is_error(r26) goto L80 (error at :6) else goto L7 L7: - inc_ref r5 - r0.__mypyc_temp__0 = r5; r6 = is_error - if not r6 goto L48 (error at __iter__:-1) else goto L8 :: bool + multicall.constants = r26 :: module + dec_ref r26 + r27 = 'payload too large' + r28 = 'content length too large' + r29 = 'request entity too large' + r30 = 'batch limit exceeded' + r31 = PySet_New(0) + if is_error(r31) goto L80 (error at :8) else goto L8 L8: - r0.__mypyc_temp__1 = 0; r7 = is_error - if not r7 goto L48 (error at __iter__:-1) else goto L9 :: bool + r32 = PySet_Add(r31, r27) + r33 = r32 >= 0 :: signed + if not r33 goto L81 (error at :8) else goto L9 :: bool L9: - r8 = r0.__mypyc_temp__0 - if is_error(r8) goto L48 (error at __iter__:37) else goto L10 + r34 = PySet_Add(r31, r28) + r35 = r34 >= 0 :: signed + if not r35 goto L81 (error at :8) else goto L10 :: bool L10: - r9 = PyDict_Size(r8) - dec_ref r8 - r10 = r9 << 1 - r0.__mypyc_temp__2 = r10; r11 = is_error - if not r11 goto L48 (error at __iter__:-1) else goto L11 :: bool + r36 = PySet_Add(r31, r29) + r37 = r36 >= 0 :: signed + if not r37 goto L81 (error at :8) else goto L11 :: bool L11: - r12 = CPyDict_GetValuesIter(r5) - dec_ref r5 - if is_error(r12) goto L46 (error at __iter__:37) else goto L12 + r38 = PySet_Add(r31, r30) + r39 = r38 >= 0 :: signed + if not r39 goto L81 (error at :8) else goto L12 :: bool L12: - r0.__mypyc_temp__3 = r12; r13 = is_error - if not r13 goto L46 (error at __iter__:-1) else goto L13 :: bool + dank_mids.constants.TOO_MUCH_DATA_ERRS = r31 :: static + r40 = dank_mids.constants.globals :: static + r41 = 'TOO_MUCH_DATA_ERRS' + r42 = CPyDict_SetItem(r40, r41, r31) + dec_ref r31 + r43 = r42 >= 0 :: signed + if not r43 goto L80 (error at :8) else goto L13 :: bool L13: - r14 = r0.__mypyc_temp__3 - if is_error(r14) goto L46 (error at __iter__:37) else goto L14 + r44 = 'connection reset by peer' + r45 = 'server disconnected' + r46 = 'execution aborted (timeout =' + r47 = 'batch limit exceeded' + r48 = 'request timed out' + r49 = 'evm timeout' + r50 = PySet_New(0) + if is_error(r50) goto L80 (error at :19) else goto L14 L14: - r15 = r0.__mypyc_temp__1 - if is_error(r15) goto L49 (error at __iter__:37) else goto L15 + r51 = PySet_Add(r50, r44) + r52 = r51 >= 0 :: signed + if not r52 goto L82 (error at :19) else goto L15 :: bool L15: - r16 = CPyDict_NextValue(r14, r15) - dec_ref r14 - r17 = r16[1] - r0.__mypyc_temp__1 = r17; r18 = is_error - if not r18 goto L50 (error at __iter__:37) else goto L16 :: bool + r53 = PySet_Add(r50, r45) + r54 = r53 >= 0 :: signed + if not r54 goto L82 (error at :19) else goto L16 :: bool L16: - r19 = r16[0] - if r19 goto L17 else goto L51 :: bool + r55 = PySet_Add(r50, r46) + r56 = r55 >= 0 :: signed + if not r56 goto L82 (error at :19) else goto L17 :: bool L17: - r20 = r16[2] - dec_ref r16 - r0.r = r20; r21 = is_error - if not r21 goto L46 (error at __iter__:37) else goto L18 :: bool + r57 = PySet_Add(r50, r47) + r58 = r57 >= 0 :: signed + if not r58 goto L82 (error at :19) else goto L18 :: bool L18: - r22 = r0.r - if is_error(r22) goto L46 (error at __iter__:38) else goto L19 + r59 = PySet_Add(r50, r48) + r60 = r59 >= 0 :: signed + if not r60 goto L82 (error at :19) else goto L19 :: bool L19: - r23 = load_address _Py_NoneStruct - r24 = r22 != r23 - dec_ref r22 - if r24 goto L20 else goto L34 :: bool + r61 = PySet_Add(r50, r49) + r62 = r61 >= 0 :: signed + if not r62 goto L82 (error at :19) else goto L20 :: bool L20: - r25 = r0.r - if is_error(r25) goto L46 (error at __iter__:39) else goto L21 + dank_mids.constants.RETRY_ERRS = r50 :: static + r63 = dank_mids.constants.globals :: static + r64 = 'RETRY_ERRS' + r65 = CPyDict_SetItem(r63, r64, r50) + dec_ref r50 + r66 = r65 >= 0 :: signed + if not r66 goto L80 (error at :19) else goto L21 :: bool L21: - r26 = dank_mids.helpers._weaklist._call_ref :: static - if is_error(r26) goto L52 else goto L24 + r67 = dank_mids.constants.globals :: static + r68 = 'multicall' + r69 = CPyDict_GetItem(r67, r68) + if is_error(r69) goto L80 (error at :32) else goto L22 L22: - r27 = raise NameError('value for final name "_call_ref" was not set') - if not r27 goto L45 (error at __iter__:39) else goto L23 :: bool + r70 = 'constants' + r71 = CPyObject_GetAttr(r69, r70) + dec_ref r69 + if is_error(r71) goto L80 (error at :32) else goto L23 L23: - unreachable + r72 = 'GAS_LIMIT' + r73 = CPyObject_GetAttr(r71, r72) + dec_ref r71 + if is_error(r73) goto L80 (error at :32) else goto L24 L24: - r28 = [r25] - r29 = load_address r28 - r30 = _PyObject_Vectorcall(r26, r29, 1, 0) - if is_error(r30) goto L53 (error at __iter__:39) else goto L25 + dank_mids.constants.GAS_LIMIT = r73 :: static + r74 = dank_mids.constants.globals :: static + r75 = 'GAS_LIMIT' + r76 = CPyDict_SetItem(r74, r75, r73) + dec_ref r73 + r77 = r76 >= 0 :: signed + if not r77 goto L80 (error at :32) else goto L25 :: bool L25: - dec_ref r25 - r0.obj = r30; r31 = is_error - if not r31 goto L46 (error at __iter__:39) else goto L26 :: bool + r78 = dank_mids.constants.globals :: static + r79 = 'multicall' + r80 = CPyDict_GetItem(r78, r79) + if is_error(r80) goto L80 (error at :38) else goto L26 L26: - r32 = r0.obj - if is_error(r32) goto L46 (error at __iter__:40) else goto L27 + r81 = 'constants' + r82 = CPyObject_GetAttr(r80, r81) + dec_ref r80 + if is_error(r82) goto L80 (error at :38) else goto L27 L27: - r33 = load_address _Py_NoneStruct - r34 = r32 != r33 - dec_ref r32 - if r34 goto L28 else goto L34 :: bool + r83 = 'MULTICALL2_BYTECODE' + r84 = CPyObject_GetAttr(r82, r83) + dec_ref r82 + if is_error(r84) goto L80 (error at :38) else goto L28 L28: - r35 = r0.obj - if is_error(r35) goto L46 (error at __iter__:41) else goto L29 + dank_mids.constants.MULTICALL2_OVERRIDE_CODE = r84 :: static + r85 = dank_mids.constants.globals :: static + r86 = 'MULTICALL2_OVERRIDE_CODE' + r87 = CPyDict_SetItem(r85, r86, r84) + dec_ref r84 + r88 = r87 >= 0 :: signed + if not r88 goto L80 (error at :38) else goto L29 :: bool L29: - r0.__mypyc_next_label__ = 2; r36 = is_error - dec_ref r0 - if not r36 goto L54 (error at __iter__:41) else goto L30 :: bool + r89 = dank_mids.constants.globals :: static + r90 = 'multicall' + r91 = CPyDict_GetItem(r89, r90) + if is_error(r91) goto L33 (error at :45) else goto L30 L30: - return r35 + r92 = 'constants' + r93 = CPyObject_GetAttr(r91, r92) + dec_ref r91 + if is_error(r93) goto L33 (error at :45) else goto L31 L31: - r37 = load_address _Py_NoneStruct - r38 = type != r37 - if r38 goto L55 else goto L34 :: bool + r94 = 'MULTICALL3_BYTECODE' + r95 = CPyObject_GetAttr(r93, r94) + dec_ref r93 + if is_error(r95) goto L33 (error at :45) else goto L32 L32: - CPyErr_SetObjectAndTraceback(type, value, traceback) - if not 0 goto L45 (error at __iter__:41) else goto L33 :: bool + r96 = dank_mids.constants.globals :: static + r97 = '__MULTICALL3_OVERRIDE_CODE' + r98 = CPyDict_SetItem(r96, r97, r95) + dec_ref r95 + r99 = r98 >= 0 :: signed + if not r99 goto L33 (error at :45) else goto L44 :: bool L33: - unreachable + r100 = CPy_CatchError() + r101 = builtins :: module + r102 = 'AttributeError' + r103 = CPyObject_GetAttr(r101, r102) + if is_error(r103) goto L42 (error at :50) else goto L34 L34: - r39 = r0.__mypyc_temp__0 - if is_error(r39) goto L46 (error at __iter__:37) else goto L35 + r104 = CPy_ExceptionMatches(r103) + dec_ref r103 + if r104 goto L35 else goto L39 :: bool L35: - r40 = r0.__mypyc_temp__2 - if is_error(r40) goto L56 (error at __iter__:37) else goto L36 + r105 = dank_mids.constants.globals :: static + r106 = 'multicall' + r107 = CPyDict_GetItem(r105, r106) + if is_error(r107) goto L42 (error at :51) else goto L36 L36: - r41 = CPyDict_CheckSize(r39, r40) - dec_ref r39 - if not r41 goto L46 (error at __iter__:37) else goto L13 :: bool + r108 = 'constants' + r109 = CPyObject_GetAttr(r107, r108) + dec_ref r107 + if is_error(r109) goto L42 (error at :51) else goto L37 L37: - r42 = CPy_NoErrOccurred() - if not r42 goto L46 (error at __iter__:37) else goto L38 :: bool + r110 = 'MULTICALL2_BYTECODE' + r111 = CPyObject_GetAttr(r109, r110) + dec_ref r109 + if is_error(r111) goto L42 (error at :51) else goto L38 L38: - r43 = box(None, 1) - r0.__mypyc_next_label__ = -2; r44 = is_error - dec_ref r0 - if not r44 goto L45 (error at __iter__:36) else goto L39 :: bool + r112 = dank_mids.constants.globals :: static + r113 = '__MULTICALL3_OVERRIDE_CODE' + r114 = CPyDict_SetItem(r112, r113, r111) + dec_ref r111 + r115 = r114 >= 0 :: signed + if not r115 goto L42 (error at :51) else goto L41 :: bool L39: - CPyGen_SetStopIterationValue(r43) - if not 0 goto L45 else goto L40 :: bool + CPy_Reraise() + if not 0 goto L42 else goto L83 :: bool L40: unreachable L41: - r45 = r1 == 0 - if r45 goto L57 else goto L42 :: bool + CPy_RestoreExcInfo(r100) + dec_ref r100 + goto L44 L42: - r46 = r1 == 2 - dec_ref r1 :: int - if r46 goto L31 else goto L58 :: bool + CPy_RestoreExcInfo(r100) + dec_ref r100 + r116 = CPy_KeepPropagating() + if not r116 goto L45 else goto L43 :: bool L43: - r47 = raise StopIteration - if not r47 goto L45 (error at __iter__:36) else goto L44 :: bool -L44: unreachable +L44: + r117 = :: tuple[object, object, object] + r118 = r117 + goto L46 L45: - r48 = :: object - return r48 + r119 = CPy_CatchError() + r118 = r119 L46: - dec_ref r0 - goto L45 + r120 = dank_mids.constants.globals :: static + r121 = '__MULTICALL3_OVERRIDE_CODE' + r122 = CPyDict_GetItem(r120, r121) + if is_error(r122) goto L51 (error at :53) else goto L47 L47: - dec_ref r0 - goto L3 + dank_mids.constants.MULTICALL3_OVERRIDE_CODE = r122 :: static + r123 = dank_mids.constants.globals :: static + r124 = 'MULTICALL3_OVERRIDE_CODE' + r125 = CPyDict_SetItem(r123, r124, r122) + dec_ref r122 + r126 = r125 >= 0 :: signed + if not r126 goto L51 (error at :53) else goto L48 :: bool L48: - dec_ref r0 - dec_ref r5 - goto L45 + if is_error(r118) goto L55 else goto L49 L49: - dec_ref r0 - dec_ref r14 - goto L45 + CPy_Reraise() + if not 0 goto L51 else goto L84 :: bool L50: - dec_ref r0 - dec_ref r16 - goto L45 + unreachable L51: - dec_ref r16 - goto L37 + if is_error(r118) goto L53 else goto L52 L52: - dec_ref r0 - dec_ref r25 - goto L22 + CPy_RestoreExcInfo(r118) + xdec_ref r118 L53: - dec_ref r0 - dec_ref r25 - goto L45 + r127 = CPy_KeepPropagating() + if not r127 goto L80 else goto L54 :: bool L54: - dec_ref r35 - goto L45 + unreachable L55: - dec_ref r0 - goto L32 + r128 = dank_mids.constants.globals :: static + r129 = 'Network' + r130 = CPyDict_GetItem(r128, r129) + if is_error(r130) goto L80 (error at :56) else goto L56 L56: - dec_ref r0 - dec_ref r39 - goto L45 + r131 = 'Mainnet' + r132 = CPyObject_GetAttr(r130, r131) + dec_ref r130 + if is_error(r132) goto L80 (error at :56) else goto L57 L57: - dec_ref r1 :: int - goto L2 + r133 = dank_mids.constants.globals :: static + r134 = 'Network' + r135 = CPyDict_GetItem(r133, r134) + if is_error(r135) goto L85 (error at :57) else goto L58 L58: - dec_ref r0 - goto L43 - -def __iter___WeakList_gen.__next__(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._weaklist.__iter___WeakList_gen - r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = __iter___WeakList_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def __iter___WeakList_gen.send(__mypyc_self__, arg): - __mypyc_self__ :: dank_mids.helpers._weaklist.__iter___WeakList_gen - arg, r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - r1 = __iter___WeakList_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg) - if is_error(r1) goto L2 else goto L1 -L1: - return r1 -L2: - r2 = :: object - return r2 - -def __iter___WeakList_gen.__iter__(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._weaklist.__iter___WeakList_gen -L0: - inc_ref __mypyc_self__ - return __mypyc_self__ - -def __iter___WeakList_gen.throw(__mypyc_self__, type, value, traceback): - __mypyc_self__ :: dank_mids.helpers._weaklist.__iter___WeakList_gen - type, value, traceback, r0, r1, r2 :: object -L0: - r0 = load_address _Py_NoneStruct - if is_error(value) goto L1 else goto L7 -L1: - inc_ref r0 - value = r0 -L2: - if is_error(traceback) goto L3 else goto L8 -L3: - inc_ref r0 - traceback = r0 -L4: - r1 = __iter___WeakList_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0) - dec_ref value - dec_ref traceback - if is_error(r1) goto L6 else goto L5 -L5: - return r1 -L6: - r2 = :: object - return r2 -L7: - inc_ref value - goto L2 -L8: - inc_ref traceback - goto L4 - -def __iter___WeakList_gen.close(__mypyc_self__): - __mypyc_self__ :: dank_mids.helpers._weaklist.__iter___WeakList_gen - r0 :: object - r1 :: str - r2, r3, r4, r5 :: object - r6 :: tuple[object, object, object] - r7 :: object - r8 :: str - r9 :: object - r10 :: tuple[object, object] - r11 :: object - r12 :: bit - r13 :: object - r14 :: bool - r15 :: object -L0: -L1: - r0 = builtins :: module - r1 = 'GeneratorExit' - r2 = CPyObject_GetAttr(r0, r1) - if is_error(r2) goto L3 else goto L2 -L2: - r3 = load_address _Py_NoneStruct - r4 = load_address _Py_NoneStruct - r5 = __mypyc_self__.throw(r2, r3, r4) - if is_error(r5) goto L3 else goto L11 -L3: - r6 = CPy_CatchError() - r7 = builtins :: module - r8 = 'StopIteration' - r9 = CPyObject_GetAttr(r7, r8) - if is_error(r9) goto L12 else goto L4 -L4: - r10 = (r2, r9) - r11 = box(tuple[object, object], r10) - r12 = CPy_ExceptionMatches(r11) - dec_ref r11 - if r12 goto L5 else goto L13 :: bool -L5: - CPy_RestoreExcInfo(r6) - dec_ref r6 - r13 = load_address _Py_NoneStruct - inc_ref r13 - return r13 -L6: - CPy_Reraise() - if not 0 goto L10 else goto L7 :: bool -L7: - unreachable -L8: - r14 = raise RuntimeError('generator ignored GeneratorExit') - if not r14 goto L10 else goto L9 :: bool -L9: - unreachable -L10: - r15 = :: object - return r15 -L11: - dec_ref r2 - dec_ref r5 - goto L8 -L12: - dec_ref r2 - dec_ref r6 - goto L10 -L13: - dec_ref r6 - goto L6 - -def WeakList.__iter__(self): - self :: dank_mids.helpers._weaklist.WeakList - r0 :: dank_mids.helpers._weaklist.__iter___WeakList_env - r1 :: bool - r2 :: dank_mids.helpers._weaklist.__iter___WeakList_gen - r3, r4 :: bool - r5 :: object -L0: - r0 = __iter___WeakList_env() - if is_error(r0) goto L6 (error at __iter__:36) else goto L1 -L1: - inc_ref self - r0.self = self; r1 = is_error - if not r1 goto L7 (error at __iter__:36) else goto L2 :: bool -L2: - r2 = __iter___WeakList_gen() - if is_error(r2) goto L7 (error at __iter__:36) else goto L3 -L3: - inc_ref r0 - r2.__mypyc_env__ = r0; r3 = is_error - if not r3 goto L8 (error at __iter__:36) else goto L4 :: bool -L4: - r0.__mypyc_next_label__ = 0; r4 = is_error - dec_ref r0 - if not r4 goto L9 (error at __iter__:36) else goto L5 :: bool -L5: - return r2 -L6: - r5 = :: object - return r5 -L7: - dec_ref r0 - goto L6 -L8: - dec_ref r0 - dec_ref r2 - goto L6 -L9: - dec_ref r2 - goto L6 + r136 = 'Fantom' + r137 = CPyObject_GetAttr(r135, r136) + dec_ref r135 + if is_error(r137) goto L85 (error at :57) else goto L59 +L59: + r138 = dank_mids.constants.globals :: static + r139 = 'Network' + r140 = CPyDict_GetItem(r138, r139) + if is_error(r140) goto L86 (error at :58) else goto L60 +L60: + r141 = 'Arbitrum' + r142 = CPyObject_GetAttr(r140, r141) + dec_ref r140 + if is_error(r142) goto L86 (error at :58) else goto L61 +L61: + r143 = dank_mids.constants.globals :: static + r144 = 'Network' + r145 = CPyDict_GetItem(r143, r144) + if is_error(r145) goto L87 (error at :59) else goto L62 +L62: + r146 = 'Optimism' + r147 = CPyObject_GetAttr(r145, r146) + dec_ref r145 + if is_error(r147) goto L87 (error at :59) else goto L63 +L63: + r148 = object 12336033 + r149 = object 16572242 + r150 = object 821923 + r151 = object 722566 + r152 = CPyDict_Build(4, r132, r148, r137, r149, r142, r150, r147, r151) + dec_ref r132 + dec_ref r137 + dec_ref r142 + dec_ref r147 + if is_error(r152) goto L80 (error at :55) else goto L64 +L64: + dank_mids.constants.MULTICALL2_DEPLOY_BLOCKS = r152 :: static + r153 = dank_mids.constants.globals :: static + r154 = 'MULTICALL2_DEPLOY_BLOCKS' + r155 = CPyDict_SetItem(r153, r154, r152) + dec_ref r152 + r156 = r155 >= 0 :: signed + if not r156 goto L80 (error at :55) else goto L65 :: bool +L65: + r157 = dank_mids.constants.globals :: static + r158 = 'Network' + r159 = CPyDict_GetItem(r157, r158) + if is_error(r159) goto L80 (error at :64) else goto L66 +L66: + r160 = 'Mainnet' + r161 = CPyObject_GetAttr(r159, r160) + dec_ref r159 + if is_error(r161) goto L80 (error at :64) else goto L67 +L67: + r162 = dank_mids.constants.globals :: static + r163 = 'Network' + r164 = CPyDict_GetItem(r162, r163) + if is_error(r164) goto L88 (error at :65) else goto L68 +L68: + r165 = 'Fantom' + r166 = CPyObject_GetAttr(r164, r165) + dec_ref r164 + if is_error(r166) goto L88 (error at :65) else goto L69 +L69: + r167 = dank_mids.constants.globals :: static + r168 = 'Network' + r169 = CPyDict_GetItem(r167, r168) + if is_error(r169) goto L89 (error at :66) else goto L70 +L70: + r170 = 'Arbitrum' + r171 = CPyObject_GetAttr(r169, r170) + dec_ref r169 + if is_error(r171) goto L89 (error at :66) else goto L71 +L71: + r172 = dank_mids.constants.globals :: static + r173 = 'Network' + r174 = CPyDict_GetItem(r172, r173) + if is_error(r174) goto L90 (error at :67) else goto L72 +L72: + r175 = 'Optimism' + r176 = CPyObject_GetAttr(r174, r175) + dec_ref r174 + if is_error(r176) goto L90 (error at :67) else goto L73 +L73: + r177 = dank_mids.constants.globals :: static + r178 = 'Network' + r179 = CPyDict_GetItem(r177, r178) + if is_error(r179) goto L91 (error at :68) else goto L74 +L74: + r180 = 'Base' + r181 = CPyObject_GetAttr(r179, r180) + dec_ref r179 + if is_error(r181) goto L91 (error at :68) else goto L75 +L75: + r182 = object 14353601 + r183 = object 33001987 + r184 = object 7654707 + r185 = object 4286263 + r186 = object 5022 + r187 = CPyDict_Build(5, r161, r182, r166, r183, r171, r184, r176, r185, r181, r186) + dec_ref r161 + dec_ref r166 + dec_ref r171 + dec_ref r176 + dec_ref r181 + if is_error(r187) goto L80 (error at :63) else goto L76 +L76: + dank_mids.constants.MULTICALL3_DEPLOY_BLOCKS = r187 :: static + r188 = dank_mids.constants.globals :: static + r189 = 'MULTICALL3_DEPLOY_BLOCKS' + r190 = CPyDict_SetItem(r188, r189, r187) + dec_ref r187 + r191 = r190 >= 0 :: signed + if not r191 goto L80 (error at :63) else goto L77 :: bool +L77: + r192 = '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000094e6f206163636573730000000000000000000000000000000000000000000000' + r193 = '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e6d696e7420697320706175736564000000000000000000000000000000000000' + r194 = '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000016496e76616c6964206574686572207472616e7366657200000000000000000000' + r195 = '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e4e4f4e5f454d5054595f44415441000000000000000000000000000000000000' + r196 = '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000246d73672e736967206973206e6f742061737369676e656420746f207375626d6f64756c6500000000000000000000000000000000000000000000000000000000' + r197 = '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000346f6e6c792077726170706564206e617469766520636f6e747261637420636f756c642073656e64206e617469766520746f6b656e000000000000000000000000' + r198 = '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000013434f4e54524f4c4c45525f52454a454354454400000000000000000000000000' + r199 = '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000204469616d6f6e643a2046756e6374696f6e20646f6573206e6f74206578697374' + r200 = '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a66756e6374696f6e2073686f756c6420626520616c6c6f776564000000000000' + r201 = '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001846756e6374696f6e20646f6573206e6f742065786973742e0000000000000000' + inc_ref r192 + inc_ref r193 + inc_ref r194 + inc_ref r195 + inc_ref r196 + inc_ref r197 + inc_ref r198 + inc_ref r199 + inc_ref r200 + inc_ref r201 + r202 = (r192, r193, r194, r195, r196, r197, r198, r199, r200, r201) + dank_mids.constants.BAD_HEXES = r202 :: static + r203 = dank_mids.constants.globals :: static + r204 = 'BAD_HEXES' + r205 = box(tuple[str, str, str, str, str, str, str, str, str, str], r202) + r206 = CPyDict_SetItem(r203, r204, r205) + dec_ref r205 + r207 = r206 >= 0 :: signed + if not r207 goto L80 (error at :75) else goto L78 :: bool +L78: + r208 = b'\x08\xc3y\xa0' + r209 = b'4e487b71' + inc_ref r208 + inc_ref r209 + r210 = (r208, r209) + dank_mids.constants.REVERT_SELECTORS = r210 :: static + r211 = dank_mids.constants.globals :: static + r212 = 'REVERT_SELECTORS' + r213 = box(tuple[bytes, bytes], r210) + r214 = CPyDict_SetItem(r211, r212, r213) + dec_ref r213 + r215 = r214 >= 0 :: signed + if not r215 goto L80 (error at :101) else goto L79 :: bool +L79: + return 1 +L80: + r216 = :: None + return r216 +L81: + dec_ref r31 + goto L80 +L82: + dec_ref r50 + goto L80 +L83: + dec_ref r100 + goto L40 +L84: + xdec_ref r118 + goto L50 +L85: + dec_ref r132 + goto L80 +L86: + dec_ref r132 + dec_ref r137 + goto L80 +L87: + dec_ref r132 + dec_ref r137 + dec_ref r142 + goto L80 +L88: + dec_ref r161 + goto L80 +L89: + dec_ref r161 + dec_ref r166 + goto L80 +L90: + dec_ref r161 + dec_ref r166 + dec_ref r171 + goto L80 +L91: + dec_ref r161 + dec_ref r166 + dec_ref r171 + dec_ref r176 + goto L80 -def WeakList.append(self, item): - self :: dank_mids.helpers._weaklist.WeakList - item :: object +def UIDGenerator.__init__(self): + self :: dank_mids._uid.UIDGenerator r0 :: str - r1, r2 :: object - r3 :: bool - r4 :: object[2] + r1 :: dict + r2 :: str + r3 :: object + r4 :: object[1] r5 :: object_ptr - r6 :: object - r7 :: dict - r8 :: int - r9 :: object - r10 :: i32 - r11 :: bit - r12 :: None + r6, r7 :: object + r8 :: None L0: - r0 = '_gc_callback' - r1 = CPyObject_GetAttr(self, r0) - if is_error(r1) goto L8 (error at append:45) else goto L1 + self._value = -2 + r0 = 'uid' + r1 = dank_mids._uid.globals :: static + r2 = 'AlertingRLock' + r3 = CPyDict_GetItem(r1, r2) + if is_error(r3) goto L3 (error at __init__:24) else goto L1 L1: - r2 = dank_mids.helpers._weaklist.ref :: static - if is_error(r2) goto L9 else goto L4 -L2: - r3 = raise NameError('value for final name "ref" was not set') - if not r3 goto L8 (error at append:45) else goto L3 :: bool -L3: - unreachable -L4: - r4 = [item, r1] + r4 = [r0] r5 = load_address r4 - r6 = _PyObject_Vectorcall(r2, r5, 2, 0) - if is_error(r6) goto L10 (error at append:45) else goto L5 -L5: - dec_ref r1 - r7 = self._refs - if is_error(r7) goto L11 (error at append:45) else goto L6 -L6: - r8 = CPyTagged_Id(item) - r9 = box(int, r8) - r10 = CPyDict_SetItem(r7, r9, r6) - dec_ref r7 - dec_ref r9 - dec_ref r6 - r11 = r10 >= 0 :: signed - if not r11 goto L8 (error at append:45) else goto L7 :: bool -L7: - return 1 -L8: - r12 = :: None - return r12 -L9: - dec_ref r1 - goto L2 -L10: - dec_ref r1 - goto L8 -L11: - dec_ref r6 - goto L8 - -def WeakList.extend(self, items): - self :: dank_mids.helpers._weaklist.WeakList - items :: object - r0 :: str - r1 :: object - r2 :: dict - r3 :: list - r4, r5 :: object - r6 :: int - r7 :: object - r8 :: bool - r9 :: object[2] - r10 :: object_ptr - r11 :: object - r12 :: tuple[int, object] - r13 :: object - r14 :: i32 - r15, r16 :: bit - r17 :: i32 + r6 = ('name',) + r7 = _PyObject_Vectorcall(r3, r5, 0, r6) + dec_ref r3 + if is_error(r7) goto L3 (error at __init__:24) else goto L2 +L2: + self._lock = r7 + return 1 +L3: + r8 = :: None + return r8 + +def UIDGenerator.latest(self): + self :: dank_mids._uid.UIDGenerator + r0 :: int +L0: + r0 = self._value + return r0 + +def UIDGenerator.next(self): + self :: dank_mids._uid.UIDGenerator + r0, r1 :: object + r2 :: str + r3 :: object + r4 :: str + r5 :: object + r6 :: object[1] + r7 :: object_ptr + r8 :: object + r9, r10 :: int + r11 :: bool + r12, r13 :: tuple[object, object, object] + r14 :: object + r15 :: object[4] + r16 :: object_ptr + r17 :: object r18 :: bit - r19 :: None + r19 :: int L0: - r0 = '_gc_callback' - r1 = CPyObject_GetAttr(self, r0) - if is_error(r1) goto L13 (error at extend:48) else goto L1 + r0 = self._lock + r1 = PyObject_Type(r0) + r2 = '__exit__' + r3 = CPyObject_GetAttr(r1, r2) + if is_error(r3) goto L20 (error at next:48) else goto L1 L1: - r2 = self._refs - if is_error(r2) goto L14 (error at extend:49) else goto L2 + r4 = '__enter__' + r5 = CPyObject_GetAttr(r1, r4) + dec_ref r1 + if is_error(r5) goto L21 (error at next:48) else goto L2 L2: - r3 = PyList_New(0) - if is_error(r3) goto L15 (error at extend:49) else goto L3 + r6 = [r0] + r7 = load_address r6 + r8 = _PyObject_Vectorcall(r5, r7, 1, 0) + dec_ref r5 + if is_error(r8) goto L21 (error at next:48) else goto L22 L3: - r4 = PyObject_GetIter(items) - if is_error(r4) goto L16 (error at extend:49) else goto L4 L4: - r5 = PyIter_Next(r4) - if is_error(r5) goto L17 else goto L5 + r9 = borrow self._value + r10 = CPyTagged_Add(r9, 2) + inc_ref r10 :: int + self._value = r10 L5: - r6 = CPyTagged_Id(r5) - r7 = dank_mids.helpers._weaklist.ref :: static - if is_error(r7) goto L18 else goto L8 + r12 = :: tuple[object, object, object] + r13 = r12 L6: - r8 = raise NameError('value for final name "ref" was not set') - if not r8 goto L13 (error at extend:49) else goto L7 :: bool + if 1 goto L7 else goto L23 :: bool L7: - unreachable + r14 = load_address _Py_NoneStruct + r15 = [r0, r14, r14, r14] + r16 = load_address r15 + r17 = _PyObject_Vectorcall(r3, r16, 4, 0) + dec_ref r3 + if is_error(r17) goto L24 (error at next:48) else goto L25 L8: - r9 = [r5, r1] - r10 = load_address r9 - r11 = _PyObject_Vectorcall(r7, r10, 2, 0) - if is_error(r11) goto L19 (error at extend:49) else goto L9 + dec_ref r0 L9: - dec_ref r5 - r12 = (r6, r11) - r13 = box(tuple[int, object], r12) - r14 = PyList_Append(r3, r13) - dec_ref r13 - r15 = r14 >= 0 :: signed - if not r15 goto L20 (error at extend:49) else goto L4 :: bool + if is_error(r13) goto L12 else goto L26 L10: - r16 = CPy_NoErrOccurred() - if not r16 goto L21 (error at extend:49) else goto L11 :: bool + CPy_Reraise() + if not 0 goto L14 else goto L27 :: bool L11: - r17 = CPyDict_UpdateFromAny(r2, r3) - dec_ref r2 - dec_ref r3 - r18 = r17 >= 0 :: signed - if not r18 goto L13 (error at extend:49) else goto L12 :: bool + unreachable L12: - return 1 + if is_error(r10) goto L18 else goto L13 L13: - r19 = :: None - return r19 + return r10 L14: - dec_ref r1 - goto L13 + if is_error(r13) goto L16 else goto L15 L15: - dec_ref r1 - dec_ref r2 - goto L13 + CPy_RestoreExcInfo(r13) + xdec_ref r13 L16: - dec_ref r1 - dec_ref r2 - dec_ref r3 - goto L13 + r18 = CPy_KeepPropagating() + if not r18 goto L19 else goto L17 :: bool L17: - dec_ref r1 - dec_ref r4 - goto L10 + unreachable L18: - dec_ref r1 - dec_ref r2 - dec_ref r3 - dec_ref r4 - dec_ref r5 - dec_ref r6 :: int - goto L6 + unreachable L19: - dec_ref r1 - dec_ref r2 - dec_ref r3 - dec_ref r4 - dec_ref r5 - dec_ref r6 :: int - goto L13 + r19 = :: int + return r19 L20: + dec_ref r0 dec_ref r1 - dec_ref r2 - dec_ref r3 - dec_ref r4 - goto L13 + goto L19 L21: - dec_ref r2 + dec_ref r0 dec_ref r3 - goto L13 + goto L19 +L22: + dec_ref r8 + goto L3 +L23: + dec_ref r0 + dec_ref r3 + goto L9 +L24: + dec_ref r0 + xdec_ref r10 :: int + goto L14 +L25: + dec_ref r17 + goto L8 +L26: + xdec_ref r10 :: int + goto L10 +L27: + xdec_ref r13 + goto L11 -def WeakList.remove(self, item): - self :: dank_mids.helpers._weaklist.WeakList - item :: object - r0 :: int - r1 :: dict - r2, r3 :: object - ref :: union[object, None] - r4 :: object - r5 :: bit - r6 :: object - r7, r8 :: bit - r9 :: str - r10 :: object - r11 :: str - r12 :: object - r13 :: object[1] - r14 :: object_ptr - r15 :: object - r16 :: dict - r17 :: object +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str + r4, r5 :: object + r6 :: str + r7 :: dict + r8, r9 :: object + r10 :: str + r11, r12 :: object + r13 :: bool + r14, r15, r16 :: str + r17 :: tuple r18 :: i32 r19 :: bit - r20 :: None + r20 :: dict + r21 :: str + r22 :: i32 + r23 :: bit + r24 :: None L0: - r0 = CPyTagged_Id(item) - r1 = self._refs - if is_error(r1) goto L13 (error at remove:53) else goto L1 + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool L1: - inc_ref r0 :: int - r2 = box(int, r0) - r3 = CPyDict_GetWithNone(r1, r2) - dec_ref r1 - dec_ref r2 - if is_error(r3) goto L13 (error at remove:53) else goto L2 + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L10 (error at :-1) else goto L2 L2: - ref = r3 - r4 = load_address _Py_NoneStruct - r5 = ref == r4 - if r5 goto L14 else goto L3 :: bool + builtins = r4 :: module + dec_ref r4 L3: - r6 = _PyObject_Vectorcall(ref, 0, 0, 0) - dec_ref ref - if is_error(r6) goto L13 (error at remove:54) else goto L4 + r5 = ('AlertingRLock',) + r6 = 'dank_mids.helpers._lock' + r7 = dank_mids._uid.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L10 (error at :1) else goto L4 L4: - r7 = r6 == item - dec_ref r6 - r8 = r7 ^ 1 - if r8 goto L15 else goto L9 :: bool + dank_mids.helpers._lock = r8 :: module + dec_ref r8 + r9 = :: object + r10 = 'dank_mids._uid' + r11 = dank_mids._uid.UIDGenerator_template :: type + r12 = CPyType_FromTemplate(r11, r9, r10) + if is_error(r12) goto L10 (error at :4) else goto L5 L5: - r9 = 'list.remove(x): x not in list' - r10 = builtins :: module - r11 = 'ValueError' - r12 = CPyObject_GetAttr(r10, r11) - if is_error(r12) goto L12 (error at remove:55) else goto L6 + r13 = UIDGenerator_trait_vtable_setup() + if is_error(r13) goto L11 (error at :-1) else goto L6 L6: - r13 = [r9] - r14 = load_address r13 - r15 = _PyObject_Vectorcall(r12, r14, 1, 0) - dec_ref r12 - if is_error(r15) goto L12 (error at remove:55) else goto L7 + r14 = '__mypyc_attrs__' + r15 = '_value' + r16 = '_lock' + r17 = PyTuple_Pack(2, r15, r16) + if is_error(r17) goto L11 (error at :4) else goto L7 L7: - CPy_Raise(r15) - dec_ref r15 - if not 0 goto L12 (error at remove:55) else goto L8 :: bool + r18 = PyObject_SetAttr(r12, r14, r17) + dec_ref r17 + r19 = r18 >= 0 :: signed + if not r19 goto L11 (error at :4) else goto L8 :: bool L8: - unreachable + dank_mids._uid.UIDGenerator = r12 :: type + r20 = dank_mids._uid.globals :: static + r21 = 'UIDGenerator' + r22 = CPyDict_SetItem(r20, r21, r12) + dec_ref r12 + r23 = r22 >= 0 :: signed + if not r23 goto L10 (error at :4) else goto L9 :: bool L9: - r16 = self._refs - if is_error(r16) goto L13 (error at remove:56) else goto L10 + return 1 L10: - r17 = box(int, r0) - r18 = PyObject_DelItem(r16, r17) - dec_ref r16 - dec_ref r17 - r19 = r18 >= 0 :: signed - if not r19 goto L12 (error at remove:56) else goto L11 :: bool + r24 = :: None + return r24 L11: - return 1 -L12: - r20 = :: None - return r20 -L13: - dec_ref r0 :: int - goto L12 -L14: - dec_ref r0 :: int - dec_ref ref - goto L5 -L15: - dec_ref r0 :: int - goto L5 + dec_ref r12 + goto L10 -def WeakList._gc_callback(self, item): - self :: dank_mids.helpers._weaklist.WeakList - item :: object - r0 :: dict - r1 :: int - r2 :: str - r3, r4 :: object - r5 :: object[3] - r6 :: object_ptr - r7 :: object - r8 :: None +def FunctionABI.__init__(self, abi): + self :: dank_mids.brownie_patch._abi.FunctionABI + abi, r0 :: dict + r1 :: str + r2 :: object + r3 :: object[1] + r4 :: object_ptr + r5 :: object + r6 :: dict + r7 :: str + r8 :: object + r9 :: object[1] + r10 :: object_ptr + r11 :: object + r12 :: None L0: - r0 = self._refs - if is_error(r0) goto L3 (error at _gc_callback:60) else goto L1 + inc_ref abi + self.abi = abi + r0 = dank_mids.brownie_patch._abi.globals :: static + r1 = 'build_function_signature' + r2 = CPyDict_GetItem(r0, r1) + if is_error(r2) goto L5 (error at __init__:30) else goto L1 L1: - r1 = CPyTagged_Id(item) - r2 = 'pop' - r3 = box(int, r1) - r4 = box(None, 1) - r5 = [r0, r3, r4] - r6 = load_address r5 - r7 = PyObject_VectorcallMethod(r2, r6, 9223372036854775811, 0) - if is_error(r7) goto L4 (error at _gc_callback:60) else goto L5 + r3 = [abi] + r4 = load_address r3 + r5 = _PyObject_Vectorcall(r2, r4, 1, 0) + dec_ref r2 + if is_error(r5) goto L5 (error at __init__:30) else goto L2 L2: - dec_ref r0 - dec_ref r3 + self.input_sig = r5 + r6 = dank_mids.brownie_patch._abi.globals :: static + r7 = 'build_function_selector' + r8 = CPyDict_GetItem(r6, r7) + if is_error(r8) goto L5 (error at __init__:36) else goto L3 +L3: + r9 = [abi] + r10 = load_address r9 + r11 = _PyObject_Vectorcall(r8, r10, 1, 0) + dec_ref r8 + if is_error(r11) goto L5 (error at __init__:36) else goto L4 +L4: + self.signature = r11 return 1 +L5: + r12 = :: None + return r12 + +def FunctionABI.singleton(abi): + abi :: dict + r0 :: object + r1 :: dict + r2 :: i32 + r3 :: bit + r4 :: tuple + r5 :: object + r6, r7 :: dank_mids.brownie_patch._abi.FunctionABI +L0: + r0 = dank_mids.brownie_patch._abi.FunctionABI :: type + r1 = PyDict_New() + if is_error(r1) goto L6 (error at singleton:51) else goto L1 +L1: + r2 = CPyDict_UpdateInDisplay(r1, abi) + r3 = r2 >= 0 :: signed + if not r3 goto L7 (error at singleton:51) else goto L2 :: bool +L2: + r4 = PyTuple_Pack(0) + if is_error(r4) goto L7 (error at singleton:51) else goto L3 L3: - r8 = :: None - return r8 + r5 = PyObject_Call(r0, r4, r1) + dec_ref r4 + dec_ref r1 + if is_error(r5) goto L6 (error at singleton:51) else goto L4 L4: - dec_ref r0 - dec_ref r3 - goto L3 + r6 = cast(dank_mids.brownie_patch._abi.FunctionABI, r5) + if is_error(r6) goto L6 (error at singleton:51) else goto L5 L5: - dec_ref r7 - goto L2 + return r6 +L6: + r7 = :: dank_mids.brownie_patch._abi.FunctionABI + return r7 +L7: + dec_ref r1 + goto L6 def __top_level__(): r0, r1 :: object @@ -24984,75 +23016,36 @@ def __top_level__(): r15 :: object r16 :: str r17 :: dict - r18 :: object - r19 :: str - r20 :: dict - r21 :: str - r22 :: object - r23 :: object[1] - r24 :: object_ptr - r25 :: object - r26 :: dict - r27 :: str - r28 :: i32 - r29 :: bit - r30 :: object - r31 :: str - r32 :: object - r33 :: dict - r34 :: str - r35 :: i32 - r36 :: bit - r37 :: dict - r38 :: str + r18, r19 :: object + r20 :: str + r21 :: dict + r22, r23 :: object + r24 :: str + r25, r26 :: object + r27 :: bool + r28, r29, r30, r31 :: str + r32 :: tuple + r33 :: i32 + r34 :: bit + r35 :: dict + r36 :: str + r37 :: i32 + r38 :: bit r39 :: object - r40 :: dict - r41 :: str - r42 :: object - r43 :: list - r44, r45 :: ptr - r46 :: object - r47 :: tuple[list, object] + r40 :: str + r41, r42 :: object + r43 :: str + r44, r45 :: object + r46 :: object[1] + r47 :: object_ptr r48, r49 :: object - r50 :: dict - r51 :: str - r52 :: i32 - r53 :: bit - r54 :: object - r55 :: str - r56 :: object - r57 :: dict - r58 :: str - r59 :: i32 - r60 :: bit - r61 :: object - r62 :: str - r63 :: object - r64 :: str - r65 :: object - r66 :: dict - r67 :: str - r68 :: i32 - r69 :: bit - r70 :: dict - r71 :: str - r72 :: object - r73 :: dict - r74 :: str - r75, r76 :: object - r77 :: tuple - r78 :: str - r79, r80 :: object - r81 :: bool - r82, r83, r84 :: str - r85 :: tuple - r86 :: i32 - r87 :: bit - r88 :: dict - r89 :: str - r90 :: i32 - r91 :: bit - r92 :: None + r50 :: object[1] + r51 :: object_ptr + r52 :: object + r53 :: str + r54 :: i32 + r55 :: bit + r56 :: None L0: r0 = builtins :: module r1 = load_address _Py_NoneStruct @@ -25061,1292 +23054,1059 @@ L0: L1: r3 = 'builtins' r4 = PyImport_Import(r3) - if is_error(r4) goto L30 (error at :-1) else goto L2 + if is_error(r4) goto L17 (error at :-1) else goto L2 L2: builtins = r4 :: module dec_ref r4 L3: - r5 = load_address weakref :: module + r5 = load_address functools :: module r6 = [r5] r7 = load_address r6 r8 = [1] r9 = load_address r8 - r10 = (('weakref', 'weakref', 'weakref'),) - r11 = dank_mids.helpers._weaklist.globals :: static - r12 = 'dank_mids\\helpers\\_weaklist.py' + r10 = (('functools', 'functools', 'functools'),) + r11 = dank_mids.brownie_patch._abi.globals :: static + r12 = 'dank_mids\\brownie_patch\\_abi.py' r13 = '' r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) - if not r14 goto L30 else goto L4 :: bool + if not r14 goto L17 else goto L4 :: bool L4: - r15 = ('Any', 'Callable', 'Dict', 'Final', 'Generic', 'Iterable', 'Iterator', 'Optional', 'TypeVar', 'final') + r15 = ('Any', 'final') r16 = 'typing' - r17 = dank_mids.helpers._weaklist.globals :: static + r17 = dank_mids.brownie_patch._abi.globals :: static r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) - if is_error(r18) goto L30 (error at :2) else goto L5 + if is_error(r18) goto L17 (error at :2) else goto L5 L5: typing = r18 :: module dec_ref r18 - r19 = '_T' - r20 = dank_mids.helpers._weaklist.globals :: static - r21 = 'TypeVar' - r22 = CPyDict_GetItem(r20, r21) - if is_error(r22) goto L30 (error at :5) else goto L6 + r19 = ('build_function_selector', 'build_function_signature') + r20 = 'brownie.convert.utils' + r21 = dank_mids.brownie_patch._abi.globals :: static + r22 = CPyImport_ImportFromMany(r20, r19, r19, r21) + if is_error(r22) goto L17 (error at :4) else goto L6 L6: - r23 = [r19] - r24 = load_address r23 - r25 = _PyObject_Vectorcall(r22, r24, 1, 0) + brownie.convert.utils = r22 :: module dec_ref r22 - if is_error(r25) goto L30 (error at :5) else goto L7 + r23 = :: object + r24 = 'dank_mids.brownie_patch._abi' + r25 = dank_mids.brownie_patch._abi.FunctionABI_template :: type + r26 = CPyType_FromTemplate(r25, r23, r24) + if is_error(r26) goto L17 (error at :8) else goto L7 L7: - r26 = dank_mids.helpers._weaklist.globals :: static - r27 = '_T' - r28 = CPyDict_SetItem(r26, r27, r25) - dec_ref r25 - r29 = r28 >= 0 :: signed - if not r29 goto L30 (error at :5) else goto L8 :: bool + r27 = FunctionABI_trait_vtable_setup() + if is_error(r27) goto L18 (error at :-1) else goto L8 L8: - r30 = weakref :: module - r31 = 'ReferenceType' - r32 = CPyObject_GetAttr(r30, r31) - if is_error(r32) goto L30 (error at :7) else goto L9 + r28 = '__mypyc_attrs__' + r29 = 'abi' + r30 = 'input_sig' + r31 = 'signature' + r32 = PyTuple_Pack(3, r29, r30, r31) + if is_error(r32) goto L18 (error at :8) else goto L9 L9: - r33 = dank_mids.helpers._weaklist.globals :: static - r34 = 'Ref' - r35 = CPyDict_SetItem(r33, r34, r32) + r33 = PyObject_SetAttr(r26, r28, r32) dec_ref r32 - r36 = r35 >= 0 :: signed - if not r36 goto L30 (error at :7) else goto L10 :: bool + r34 = r33 >= 0 :: signed + if not r34 goto L18 (error at :8) else goto L10 :: bool L10: - r37 = dank_mids.helpers._weaklist.globals :: static - r38 = 'Callable' - r39 = CPyDict_GetItem(r37, r38) - if is_error(r39) goto L30 (error at :8) else goto L11 + dank_mids.brownie_patch._abi.FunctionABI = r26 :: type + r35 = dank_mids.brownie_patch._abi.globals :: static + r36 = 'FunctionABI' + r37 = CPyDict_SetItem(r35, r36, r26) + dec_ref r26 + r38 = r37 >= 0 :: signed + if not r38 goto L17 (error at :8) else goto L11 :: bool L11: - r40 = dank_mids.helpers._weaklist.globals :: static - r41 = 'Any' - r42 = CPyDict_GetItem(r40, r41) - if is_error(r42) goto L31 (error at :8) else goto L12 + r39 = dank_mids.brownie_patch._abi.FunctionABI :: type + r40 = 'singleton' + r41 = CPyObject_GetAttr(r39, r40) + if is_error(r41) goto L17 (error at :44) else goto L12 L12: - r43 = PyList_New(1) - if is_error(r43) goto L32 (error at :8) else goto L13 + r42 = functools :: module + r43 = 'lru_cache' + r44 = CPyObject_GetAttr(r42, r43) + if is_error(r44) goto L19 (error at :43) else goto L13 L13: - r44 = get_element_ptr r43 ob_item :: PyListObject - r45 = load_mem r44 :: ptr* - set_mem r45, r42 :: builtins.object* - r46 = box(None, 1) - inc_ref r46 - r47 = (r43, r46) - r48 = box(tuple[list, object], r47) - r49 = PyObject_GetItem(r39, r48) - dec_ref r39 - dec_ref r48 - if is_error(r49) goto L30 (error at :8) else goto L14 + r45 = box(None, 1) + r46 = [r45] + r47 = load_address r46 + r48 = ('maxsize',) + r49 = _PyObject_Vectorcall(r44, r47, 0, r48) + dec_ref r44 + if is_error(r49) goto L19 (error at :43) else goto L14 L14: - r50 = dank_mids.helpers._weaklist.globals :: static - r51 = 'GCCallback' - r52 = CPyDict_SetItem(r50, r51, r49) + r50 = [r41] + r51 = load_address r50 + r52 = _PyObject_Vectorcall(r49, r51, 1, 0) dec_ref r49 - r53 = r52 >= 0 :: signed - if not r53 goto L30 (error at :8) else goto L15 :: bool + if is_error(r52) goto L19 (error at :44) else goto L15 L15: - r54 = weakref :: module - r55 = 'ref' - r56 = CPyObject_GetAttr(r54, r55) - if is_error(r56) goto L30 (error at :10) else goto L16 + dec_ref r41 + r53 = 'singleton' + r54 = PyObject_SetAttr(r39, r53, r52) + dec_ref r52 + r55 = r54 >= 0 :: signed + if not r55 goto L17 (error at :44) else goto L16 :: bool L16: - dank_mids.helpers._weaklist.ref = r56 :: static - r57 = dank_mids.helpers._weaklist.globals :: static - r58 = 'ref' - r59 = CPyDict_SetItem(r57, r58, r56) - dec_ref r56 - r60 = r59 >= 0 :: signed - if not r60 goto L30 (error at :10) else goto L17 :: bool + return 1 L17: - r61 = weakref :: module - r62 = 'ref' - r63 = CPyObject_GetAttr(r61, r62) - if is_error(r63) goto L30 (error at :11) else goto L18 + r56 = :: None + return r56 L18: - r64 = '__call__' - r65 = CPyObject_GetAttr(r63, r64) - dec_ref r63 - if is_error(r65) goto L30 (error at :11) else goto L19 + dec_ref r26 + goto L17 L19: - dank_mids.helpers._weaklist._call_ref = r65 :: static - r66 = dank_mids.helpers._weaklist.globals :: static - r67 = '_call_ref' - r68 = CPyDict_SetItem(r66, r67, r65) - dec_ref r65 - r69 = r68 >= 0 :: signed - if not r69 goto L30 (error at :11) else goto L20 :: bool -L20: - r70 = dank_mids.helpers._weaklist.globals :: static - r71 = 'Generic' - r72 = CPyDict_GetItem(r70, r71) - if is_error(r72) goto L30 (error at :15) else goto L21 -L21: - r73 = dank_mids.helpers._weaklist.globals :: static - r74 = '_T' - r75 = CPyDict_GetItem(r73, r74) - if is_error(r75) goto L33 (error at :15) else goto L22 -L22: - r76 = PyObject_GetItem(r72, r75) - dec_ref r72 - dec_ref r75 - if is_error(r76) goto L30 (error at :15) else goto L23 -L23: - r77 = PyTuple_Pack(1, r76) - dec_ref r76 - if is_error(r77) goto L30 (error at :15) else goto L24 -L24: - r78 = 'dank_mids.helpers._weaklist' - r79 = dank_mids.helpers._weaklist.WeakList_template :: type - r80 = CPyType_FromTemplate(r79, r77, r78) - dec_ref r77 - if is_error(r80) goto L30 (error at :15) else goto L25 -L25: - r81 = WeakList_trait_vtable_setup() - if is_error(r81) goto L34 (error at :-1) else goto L26 -L26: - r82 = '__mypyc_attrs__' - r83 = '_refs' - r84 = '__dict__' - r85 = PyTuple_Pack(2, r83, r84) - if is_error(r85) goto L34 (error at :15) else goto L27 -L27: - r86 = PyObject_SetAttr(r80, r82, r85) - dec_ref r85 - r87 = r86 >= 0 :: signed - if not r87 goto L34 (error at :15) else goto L28 :: bool -L28: - dank_mids.helpers._weaklist.WeakList = r80 :: type - r88 = dank_mids.helpers._weaklist.globals :: static - r89 = 'WeakList' - r90 = CPyDict_SetItem(r88, r89, r80) - dec_ref r80 - r91 = r90 >= 0 :: signed - if not r91 goto L30 (error at :15) else goto L29 :: bool -L29: - return 1 -L30: - r92 = :: None - return r92 -L31: - dec_ref r39 - goto L30 -L32: - dec_ref r39 - dec_ref r42 - goto L30 -L33: - dec_ref r72 - goto L30 -L34: - dec_ref r80 - goto L30 + dec_ref r41 + goto L17 -def decode_raw(data): - data, r0 :: object - r1 :: bool - r2 :: object - r3 :: bool - r4 :: object[2] - r5 :: object_ptr - r6, r7, r8 :: object - r9 :: bool - r10 :: object[1] - r11 :: object_ptr - r12 :: object - r13 :: tuple[object, object, object] - r14 :: object - r15 :: bool - r16 :: bit - r17 :: object - r18 :: str - r19 :: object - r20 :: list - r21 :: object - r22 :: i32 - r23 :: bit - r24 :: tuple - r25 :: str - r26 :: i32 - r27, r28 :: bit - r29 :: object +def coroutine_DankOverloadedMethod_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, arg): + __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen + type, value, traceback, arg, r0, r1 :: object + r2 :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_env + r3 :: int + r4 :: object + r5 :: bit + r6 :: dank_mids.brownie_patch.types.DankOverloadedMethod + r7 :: tuple + r8 :: str + r9 :: object[2] + r10 :: object_ptr + r11 :: object + r12 :: union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx] + r13 :: bool + r14 :: union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx] + r15 :: tuple + r16, r17 :: union[int, None] + r18 :: union[dict, None] + r19 :: str + r20 :: object + r21 :: list + r22 :: object + r23, r24, r25 :: str + r26 :: tuple + r27 :: dict + r28, r29 :: object + r30 :: bool + r31, r32, r33, r34, r35 :: object + r36 :: bool + r37 :: object + r38 :: bit + r39 :: tuple[object, object, object] + r40 :: bool + r41 :: object_ptr + r42 :: object + r43, r44 :: bool + r45 :: tuple[object, object, object] + r46 :: bool + r47, r48 :: tuple[object, object, object] + r49 :: bit + r50, r51, r52 :: object + r53 :: bool + r54, r55 :: bit + r56 :: bool + r57 :: object L0: + r0 = :: object + r1 = r0 + r2 = __mypyc_self__.__mypyc_env__ + if is_error(r2) goto L64 (error at coroutine:56) else goto L1 L1: - r0 = dank_mids.helpers._codec.Raw :: static - if is_error(r0) goto L2 else goto L4 + r3 = r2.__mypyc_next_label__ + if is_error(r3) goto L65 (error at coroutine:56) else goto L59 L2: - r1 = raise NameError('value for final name "Raw" was not set') - if not r1 goto L13 (error at decode_raw:45) else goto L3 :: bool + r4 = load_address _Py_NoneStruct + r5 = type != r4 + if r5 goto L66 else goto L5 :: bool L3: - unreachable + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L63 (error at coroutine:56) else goto L4 :: bool L4: - r2 = dank_mids.helpers._codec.json_decode :: static - if is_error(r2) goto L5 else goto L7 + unreachable L5: - r3 = raise NameError('value for final name "json_decode" was not set') - if not r3 goto L13 (error at decode_raw:45) else goto L6 :: bool + r6 = r2.self + if is_error(r6) goto L65 (error at coroutine:74) else goto L6 L6: - unreachable + r7 = r2.args + if is_error(r7) goto L67 (error at coroutine:74) else goto L7 L7: - r4 = [data, r0] - r5 = load_address r4 - r6 = ('type',) - r7 = _PyObject_Vectorcall(r2, r5, 1, r6) - if is_error(r7) goto L13 (error at decode_raw:45) else goto L8 + r8 = '_get_fn_from_args' + r9 = [r6, r7] + r10 = load_address r9 + r11 = PyObject_VectorcallMethod(r8, r10, 9223372036854775810, 0) + if is_error(r11) goto L68 (error at coroutine:74) else goto L8 L8: - r8 = dank_mids.helpers._codec.RawResponse :: static - if is_error(r8) goto L30 else goto L11 + dec_ref r6 + dec_ref r7 + r12 = cast(union[dank_mids.brownie_patch.types.DankContractCall, dank_mids.brownie_patch.types.DankContractTx], r11) + if is_error(r12) goto L65 (error at coroutine:74) else goto L9 L9: - r9 = raise NameError('value for final name "RawResponse" was not set') - if not r9 goto L13 (error at decode_raw:45) else goto L10 :: bool + r2.call = r12; r13 = is_error + if not r13 goto L65 (error at coroutine:74) else goto L10 :: bool L10: - unreachable + r14 = r2.call + if is_error(r14) goto L65 (error at coroutine:75) else goto L11 L11: - r10 = [r7] - r11 = load_address r10 - r12 = _PyObject_Vectorcall(r8, r11, 1, 0) - if is_error(r12) goto L31 (error at decode_raw:45) else goto L12 + r15 = r2.args + if is_error(r15) goto L69 (error at coroutine:76) else goto L12 L12: - dec_ref r7 - return r12 + r16 = r2.block_identifier + if is_error(r16) goto L70 (error at coroutine:76) else goto L13 L13: - r13 = CPy_CatchError() - r14 = dank_mids.helpers._codec.DecodeError :: static - if is_error(r14) goto L14 else goto L16 + r17 = r2.decimals + if is_error(r17) goto L71 (error at coroutine:76) else goto L14 L14: - r15 = raise NameError('value for final name "DecodeError" was not set') - if not r15 goto L27 (error at decode_raw:46) else goto L32 :: bool + r18 = r2.override + if is_error(r18) goto L72 (error at coroutine:76) else goto L15 L15: - unreachable + r19 = 'coroutine' + r20 = CPyObject_GetAttr(r14, r19) + dec_ref r14 + if is_error(r20) goto L73 (error at coroutine:75) else goto L16 L16: - r16 = CPy_ExceptionMatches(r14) - if r16 goto L17 else goto L25 :: bool + r21 = PyList_New(0) + if is_error(r21) goto L74 (error at coroutine:75) else goto L17 L17: - r17 = CPy_GetExcValue() - r18 = 'args' - r19 = CPyObject_GetAttr(r17, r18) - if is_error(r19) goto L33 (error at decode_raw:47) else goto L18 + r22 = CPyList_Extend(r21, r15) + dec_ref r15 + if is_error(r22) goto L75 (error at coroutine:75) else goto L76 L18: - r20 = PyList_New(0) - if is_error(r20) goto L34 (error at decode_raw:47) else goto L19 + r23 = 'block_identifier' + r24 = 'decimals' + r25 = 'override' + r26 = PyList_AsTuple(r21) + dec_ref r21 + if is_error(r26) goto L77 (error at coroutine:75) else goto L19 L19: - r21 = CPyList_Extend(r20, r19) - dec_ref r19 - if is_error(r21) goto L35 (error at decode_raw:47) else goto L36 + r27 = CPyDict_Build(3, r23, r16, r24, r17, r25, r18) + dec_ref r16 + dec_ref r17 + dec_ref r18 + if is_error(r27) goto L78 (error at coroutine:75) else goto L20 L20: - r22 = PyList_Append(r20, data) - r23 = r22 >= 0 :: signed - if not r23 goto L35 (error at decode_raw:47) else goto L21 :: bool -L21: - r24 = PyList_AsTuple(r20) + r28 = PyObject_Call(r20, r26, r27) dec_ref r20 - if is_error(r24) goto L33 (error at decode_raw:47) else goto L22 + dec_ref r26 + dec_ref r27 + if is_error(r28) goto L65 (error at coroutine:75) else goto L21 +L21: + r29 = CPy_GetCoro(r28) + dec_ref r28 + if is_error(r29) goto L65 (error at coroutine:75) else goto L22 L22: - r25 = 'args' - r26 = PyObject_SetAttr(r17, r25, r24) - dec_ref r17 - dec_ref r24 - r27 = r26 >= 0 :: signed - if not r27 goto L27 (error at decode_raw:47) else goto L23 :: bool + r2.__mypyc_temp__0 = r29; r30 = is_error + if not r30 goto L65 (error at coroutine:-1) else goto L23 :: bool L23: - CPy_Reraise() - if not 0 goto L27 else goto L37 :: bool + r31 = r2.__mypyc_temp__0 + if is_error(r31) goto L65 (error at coroutine:-1) else goto L24 L24: - unreachable + r32 = CPyIter_Next(r31) + dec_ref r31 + if is_error(r32) goto L79 else goto L27 L25: - CPy_Reraise() - if not 0 goto L27 else goto L38 :: bool + r33 = CPy_FetchStopIterationValue() + if is_error(r33) goto L80 (error at coroutine:75) else goto L26 L26: + r34 = r33 + goto L56 +L27: + r35 = r32 +L28: + r2.__mypyc_next_label__ = 2; r36 = is_error + if not r36 goto L81 (error at coroutine:75) else goto L82 :: bool +L29: + return r35 +L30: + r37 = load_address _Py_NoneStruct + r38 = type != r37 + if r38 goto L31 else goto L33 :: bool +L31: + CPyErr_SetObjectAndTraceback(type, value, traceback) + if not 0 goto L34 (error at coroutine:75) else goto L83 :: bool +L32: + unreachable +L33: + inc_ref arg + goto L51 +L34: + r39 = CPy_CatchError() + r2.__mypyc_temp__1 = r39; r40 = is_error + if not r40 goto L84 (error at coroutine:-1) else goto L35 :: bool +L35: + r41 = load_address r1 + r42 = r2.__mypyc_temp__0 + if is_error(r42) goto L84 (error at coroutine:-1) else goto L36 +L36: + r43 = CPy_YieldFromErrorHandle(r42, r41) + dec_ref r42 + if is_error(r43) goto L84 (error at coroutine:75) else goto L37 +L37: + if r43 goto L43 else goto L38 :: bool +L38: + if is_error(r1) goto L39 else goto L41 +L39: + r44 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r44 goto L48 (error at coroutine:-1) else goto L85 :: bool +L40: + unreachable +L41: + inc_ref r1 + r35 = r1 + r45 = r2.__mypyc_temp__1 + if is_error(r45) goto L86 (error at coroutine:-1) else goto L42 +L42: + CPy_RestoreExcInfo(r45) + dec_ref r45 + goto L28 +L43: + if is_error(r1) goto L44 else goto L46 +L44: + r46 = raise UnboundLocalError('local variable "" referenced before assignment') + if not r46 goto L48 (error at coroutine:-1) else goto L87 :: bool +L45: + unreachable +L46: + r34 = r1 + r47 = r2.__mypyc_temp__1 + if is_error(r47) goto L88 (error at coroutine:-1) else goto L47 +L47: + CPy_RestoreExcInfo(r47) + dec_ref r47 + goto L56 +L48: + r48 = r2.__mypyc_temp__1 + dec_ref r2 + if is_error(r48) goto L63 (error at coroutine:-1) else goto L49 +L49: + CPy_RestoreExcInfo(r48) + dec_ref r48 + r49 = CPy_KeepPropagating() + if not r49 goto L63 else goto L50 :: bool +L50: + unreachable +L51: + r50 = r2.__mypyc_temp__0 + if is_error(r50) goto L89 (error at coroutine:-1) else goto L52 +L52: + r51 = CPyIter_Send(r50, arg) + dec_ref r50 + dec_ref arg + if is_error(r51) goto L90 else goto L53 +L53: + r35 = r51 + goto L28 +L54: + r52 = CPy_FetchStopIterationValue() + if is_error(r52) goto L80 (error at coroutine:75) else goto L55 +L55: + r34 = r52 +L56: + r2.__mypyc_next_label__ = -2; r53 = is_error + dec_ref r2 + if not r53 goto L91 (error at coroutine:75) else goto L57 :: bool +L57: + CPyGen_SetStopIterationValue(r34) + dec_ref r34 + if not 0 goto L63 else goto L58 :: bool +L58: unreachable -L27: - CPy_RestoreExcInfo(r13) - dec_ref r13 - r28 = CPy_KeepPropagating() - if not r28 goto L29 else goto L28 :: bool -L28: +L59: + r54 = r3 == 0 + if r54 goto L92 else goto L60 :: bool +L60: + r55 = r3 == 2 + dec_ref r3 :: int + if r55 goto L30 else goto L93 :: bool +L61: + r56 = raise StopIteration + if not r56 goto L63 (error at coroutine:56) else goto L62 :: bool +L62: unreachable -L29: - r29 = :: object - return r29 -L30: - dec_ref r7 - goto L9 -L31: +L63: + r57 = :: object + return r57 +L64: + xdec_ref r1 + goto L63 +L65: + xdec_ref r1 + dec_ref r2 + goto L63 +L66: + xdec_ref r1 + dec_ref r2 + goto L3 +L67: + xdec_ref r1 + dec_ref r2 + dec_ref r6 + goto L63 +L68: + xdec_ref r1 + dec_ref r2 + dec_ref r6 dec_ref r7 - goto L13 -L32: - dec_ref r13 - goto L15 -L33: + goto L63 +L69: + xdec_ref r1 + dec_ref r2 + dec_ref r14 + goto L63 +L70: + xdec_ref r1 + dec_ref r2 + dec_ref r14 + dec_ref r15 + goto L63 +L71: + xdec_ref r1 + dec_ref r2 + dec_ref r14 + dec_ref r15 + dec_ref r16 + goto L63 +L72: + xdec_ref r1 + dec_ref r2 + dec_ref r14 + dec_ref r15 + dec_ref r16 dec_ref r17 - goto L27 -L34: + goto L63 +L73: + xdec_ref r1 + dec_ref r2 + dec_ref r15 + dec_ref r16 dec_ref r17 - dec_ref r19 - goto L27 -L35: + dec_ref r18 + goto L63 +L74: + xdec_ref r1 + dec_ref r2 + dec_ref r15 + dec_ref r16 dec_ref r17 + dec_ref r18 + dec_ref r20 + goto L63 +L75: + xdec_ref r1 + dec_ref r2 + dec_ref r16 + dec_ref r17 + dec_ref r18 dec_ref r20 - goto L27 -L36: dec_ref r21 - goto L20 -L37: - dec_ref r13 - goto L24 -L38: - dec_ref r13 - goto L26 - -def decode_jsonrpc_batch(data): - data :: object - r0 :: dict - r1 :: str - r2, r3 :: object - r4 :: bool - r5 :: object[2] - r6 :: object_ptr - r7, r8, r9 :: object - r10 :: i32 - r11 :: bit - r12 :: bool - r13 :: list - r14 :: ptr - r15 :: native_int - r16 :: list - r17 :: short_int - r18 :: ptr - r19 :: native_int - r20 :: short_int - r21 :: bit - r22 :: native_int - r23, r24 :: ptr - r25 :: native_int - r26 :: ptr - r27, r28 :: object - r29 :: bool - r30 :: object[1] - r31 :: object_ptr - r32 :: object - r33 :: bit - r34 :: short_int - r35, r36 :: union[list, object] -L0: - r0 = dank_mids.helpers._codec.globals :: static - r1 = 'JSONRPCBatchResponseRaw' - r2 = CPyDict_GetItem(r0, r1) - if is_error(r2) goto L20 (error at decode_jsonrpc_batch:61) else goto L1 -L1: - r3 = dank_mids.helpers._codec.json_decode :: static - if is_error(r3) goto L21 else goto L4 -L2: - r4 = raise NameError('value for final name "json_decode" was not set') - if not r4 goto L20 (error at decode_jsonrpc_batch:61) else goto L3 :: bool -L3: - unreachable -L4: - r5 = [data, r2] - r6 = load_address r5 - r7 = ('type',) - r8 = _PyObject_Vectorcall(r3, r6, 1, r7) - if is_error(r8) goto L22 (error at decode_jsonrpc_batch:61) else goto L5 -L5: + goto L63 +L76: + dec_ref r22 + goto L18 +L77: + xdec_ref r1 dec_ref r2 - r9 = load_address PyList_Type - r10 = PyObject_IsInstance(r8, r9) - r11 = r10 >= 0 :: signed - if not r11 goto L23 (error at decode_jsonrpc_batch:62) else goto L6 :: bool -L6: - r12 = truncate r10: i32 to builtins.bool - if r12 goto L7 else goto L18 :: bool -L7: - r13 = cast(list, r8) - if is_error(r13) goto L20 (error at decode_jsonrpc_batch:62) else goto L8 -L8: - r14 = get_element_ptr r13 ob_size :: PyVarObject - r15 = load_mem r14 :: native_int* - r16 = PyList_New(r15) - if is_error(r16) goto L24 (error at decode_jsonrpc_batch:62) else goto L9 -L9: - r17 = 0 -L10: - r18 = get_element_ptr r13 ob_size :: PyVarObject - r19 = load_mem r18 :: native_int* - r20 = r19 << 1 - r21 = r17 < r20 :: signed - if r21 goto L11 else goto L25 :: bool -L11: - r22 = r17 >> 1 - r23 = get_element_ptr r13 ob_item :: PyListObject - r24 = load_mem r23 :: ptr* - r25 = r22 * 8 - r26 = r24 + r25 - r27 = load_mem r26 :: builtins.object* - inc_ref r27 - r28 = dank_mids.helpers._codec.RawResponse :: static - if is_error(r28) goto L26 else goto L14 -L12: - r29 = raise NameError('value for final name "RawResponse" was not set') - if not r29 goto L20 (error at decode_jsonrpc_batch:62) else goto L13 :: bool -L13: - unreachable -L14: - r30 = [r27] - r31 = load_address r30 - r32 = _PyObject_Vectorcall(r28, r31, 1, 0) - if is_error(r32) goto L27 (error at decode_jsonrpc_batch:62) else goto L15 -L15: - dec_ref r27 - r33 = CPyList_SetItemUnsafe(r16, r17, r32) - if not r33 goto L28 (error at decode_jsonrpc_batch:62) else goto L16 :: bool -L16: - r34 = r17 + 2 - r17 = r34 - goto L10 -L17: - r35 = r16 - goto L19 -L18: - r35 = r8 -L19: - return r35 -L20: - r36 = :: union[object, list] - return r36 -L21: + dec_ref r16 + dec_ref r17 + dec_ref r18 + dec_ref r20 + goto L63 +L78: + xdec_ref r1 + dec_ref r2 + dec_ref r20 + dec_ref r26 + goto L63 +L79: + xdec_ref r1 + goto L25 +L80: + dec_ref r2 + goto L63 +L81: + dec_ref r35 + goto L34 +L82: + xdec_ref r1 + dec_ref r2 + goto L29 +L83: + xdec_ref r1 + dec_ref r2 + goto L32 +L84: + xdec_ref r1 + goto L48 +L85: + dec_ref r2 + goto L40 +L86: + xdec_ref r1 + dec_ref r35 + goto L48 +L87: + dec_ref r2 + goto L45 +L88: + dec_ref r34 + goto L48 +L89: + xdec_ref r1 dec_ref r2 + dec_ref arg + goto L63 +L90: + xdec_ref r1 + goto L54 +L91: + dec_ref r34 + goto L63 +L92: + dec_ref r3 :: int goto L2 -L22: +L93: + xdec_ref r1 dec_ref r2 - goto L20 -L23: - dec_ref r8 - goto L20 -L24: - dec_ref r13 - goto L20 -L25: - dec_ref r13 - goto L17 -L26: - dec_ref r13 - dec_ref r16 - dec_ref r27 - goto L12 -L27: - dec_ref r13 - dec_ref r16 - dec_ref r27 - goto L20 -L28: - dec_ref r13 - dec_ref r16 - goto L20 + goto L61 -def encode(obj): - obj, r0 :: object - r1 :: bool - r2 :: object - r3 :: bool - r4 :: object[2] - r5 :: object_ptr - r6, r7 :: object - r8, r9 :: bytes +def coroutine_DankOverloadedMethod_gen.__next__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen + r0, r1, r2 :: object L0: - r0 = dank_mids.helpers._codec._encode_hook :: static - if is_error(r0) goto L1 else goto L3 + r0 = load_address _Py_NoneStruct + r1 = coroutine_DankOverloadedMethod_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, r0) + if is_error(r1) goto L2 else goto L1 L1: - r1 = raise NameError('value for final name "_encode_hook" was not set') - if not r1 goto L9 (error at encode:80) else goto L2 :: bool + return r1 L2: - unreachable -L3: - r2 = dank_mids.helpers._codec.json_encode :: static - if is_error(r2) goto L4 else goto L6 -L4: - r3 = raise NameError('value for final name "json_encode" was not set') - if not r3 goto L9 (error at encode:80) else goto L5 :: bool -L5: - unreachable -L6: - r4 = [obj, r0] - r5 = load_address r4 - r6 = ('enc_hook',) - r7 = _PyObject_Vectorcall(r2, r5, 1, r6) - if is_error(r7) goto L9 (error at encode:80) else goto L7 -L7: - r8 = cast(bytes, r7) - if is_error(r8) goto L9 (error at encode:80) else goto L8 -L8: - return r8 -L9: - r9 = :: bytes - return r9 + r2 = :: object + return r2 -def __mypyc_lambda__0_obj.__get__(__mypyc_self__, instance, owner): - __mypyc_self__, instance, owner, r0 :: object - r1 :: bit - r2, r3 :: object +def coroutine_DankOverloadedMethod_gen.send(__mypyc_self__, arg): + __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen + arg, r0, r1, r2 :: object L0: r0 = load_address _Py_NoneStruct - r1 = instance == r0 - if r1 goto L1 else goto L2 :: bool + r1 = coroutine_DankOverloadedMethod_gen.__mypyc_generator_helper__(__mypyc_self__, r0, r0, r0, arg) + if is_error(r1) goto L2 else goto L1 L1: - inc_ref __mypyc_self__ - return __mypyc_self__ + return r1 L2: - r2 = PyMethod_New(__mypyc_self__, instance) - if is_error(r2) goto L4 else goto L3 -L3: + r2 = :: object return r2 -L4: - r3 = :: object - return r3 -def __mypyc_lambda__0_obj.__call__(__mypyc_self__, _): - __mypyc_self__ :: dank_mids.helpers._codec.__mypyc_lambda__0_obj - _, r0 :: object +def coroutine_DankOverloadedMethod_gen.__iter__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen L0: - r0 = load_address _Py_EllipsisObject + inc_ref __mypyc_self__ + return __mypyc_self__ + +def coroutine_DankOverloadedMethod_gen.throw(__mypyc_self__, type, value, traceback): + __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen + type, value, traceback, r0, r1, r2 :: object +L0: + r0 = load_address _Py_NoneStruct + if is_error(value) goto L1 else goto L7 +L1: inc_ref r0 - return r0 + value = r0 +L2: + if is_error(traceback) goto L3 else goto L8 +L3: + inc_ref r0 + traceback = r0 +L4: + r1 = coroutine_DankOverloadedMethod_gen.__mypyc_generator_helper__(__mypyc_self__, type, value, traceback, r0) + dec_ref value + dec_ref traceback + if is_error(r1) goto L6 else goto L5 +L5: + return r1 +L6: + r2 = :: object + return r2 +L7: + inc_ref value + goto L2 +L8: + inc_ref traceback + goto L4 -def __encode_new(values): - values :: object - r0 :: tuple[bytes, int] - r1, r2 :: bytes - r3, r4 :: int - r5 :: object - r6 :: bool +def coroutine_DankOverloadedMethod_gen.close(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen + r0 :: object + r1 :: str + r2, r3, r4, r5 :: object + r6 :: tuple[object, object, object] r7 :: object - r8 :: object[1] - r9 :: object_ptr - r10, r11 :: object - r12, r13 :: bytes + r8 :: str + r9 :: object + r10 :: tuple[object, object] + r11 :: object + r12 :: bit + r13 :: object + r14 :: bool + r15 :: object L0: - r0 = __encode_elements_new(values) - if is_error(r0) goto L8 (error at __encode_new:96) else goto L1 L1: - r1 = borrow r0[0] - r2 = unborrow r1 - r3 = borrow r0[1] - r4 = unborrow r3 - r5 = dank_mids.helpers._codec.encode_uint_256 :: static - if is_error(r5) goto L9 else goto L4 + r0 = builtins :: module + r1 = 'GeneratorExit' + r2 = CPyObject_GetAttr(r0, r1) + if is_error(r2) goto L3 else goto L2 L2: - r6 = raise NameError('value for final name "encode_uint_256" was not set') - if not r6 goto L8 (error at __encode_new:97) else goto L3 :: bool + r3 = load_address _Py_NoneStruct + r4 = load_address _Py_NoneStruct + r5 = __mypyc_self__.throw(r2, r3, r4) + if is_error(r5) goto L3 else goto L11 L3: - unreachable + r6 = CPy_CatchError() + r7 = builtins :: module + r8 = 'StopIteration' + r9 = CPyObject_GetAttr(r7, r8) + if is_error(r9) goto L12 else goto L4 L4: - r7 = box(int, r4) - r8 = [r7] - r9 = load_address r8 - r10 = _PyObject_Vectorcall(r5, r9, 1, 0) - if is_error(r10) goto L10 (error at __encode_new:97) else goto L5 + r10 = (r2, r9) + r11 = box(tuple[object, object], r10) + r12 = CPy_ExceptionMatches(r11) + dec_ref r11 + if r12 goto L5 else goto L13 :: bool L5: - dec_ref r7 - r11 = PyNumber_Add(r10, r2) - dec_ref r10 - dec_ref r2 - if is_error(r11) goto L8 (error at __encode_new:97) else goto L6 + CPy_RestoreExcInfo(r6) + dec_ref r6 + r13 = load_address _Py_NoneStruct + inc_ref r13 + return r13 L6: - r12 = cast(bytes, r11) - if is_error(r12) goto L8 (error at __encode_new:97) else goto L7 + CPy_Reraise() + if not 0 goto L10 else goto L7 :: bool L7: - return r12 + unreachable L8: - r13 = :: bytes - return r13 + r14 = raise RuntimeError('generator ignored GeneratorExit') + if not r14 goto L10 else goto L9 :: bool L9: - dec_ref r2 - dec_ref r4 :: int - goto L2 + unreachable L10: + r15 = :: object + return r15 +L11: dec_ref r2 - dec_ref r7 + dec_ref r5 goto L8 +L12: + dec_ref r2 + dec_ref r6 + goto L10 +L13: + dec_ref r6 + goto L6 -def __encode_elements_new(values): - values :: object - r0 :: list - r1, r2 :: object - r3 :: tuple[object, object] - r4 :: object - r5 :: bool - r6 :: object - r7 :: object[1] - r8 :: object_ptr - r9 :: object - r10 :: i32 - r11, r12 :: bit - r13 :: ptr - r14 :: native_int - r15 :: short_int - count, r16 :: int - r17 :: tuple[int] - r18 :: object - r19 :: list - r20 :: ptr - r21 :: native_int - r22 :: list - r23 :: short_int - r24 :: ptr - r25 :: native_int - r26 :: short_int - r27 :: bit - r28 :: native_int - r29, r30 :: ptr - r31 :: native_int - r32 :: ptr - r33 :: object - r34 :: int - r35 :: object - r36 :: bit - r37 :: short_int - r38 :: object - r39 :: dict - r40 :: str - r41 :: object - r42 :: object[1] - r43 :: object_ptr - r44 :: object - r45 :: dict - r46 :: str - r47, r48 :: object - r49 :: object[2] - r50 :: object_ptr - r51 :: object - r52 :: list - r53, r54 :: object - r55, r56 :: int - r57 :: object - r58 :: bool - r59 :: object - r60 :: object[1] - r61 :: object_ptr - r62 :: object - r63 :: i32 - r64, r65 :: bit - r66 :: object - r67 :: bytes - r68 :: dict - r69 :: str - r70 :: object - r71 :: object[2] - r72 :: object_ptr - r73 :: object - r74 :: bytes - r75, r76 :: tuple[bytes, int] +def coroutine_DankOverloadedMethod_gen.__await__(__mypyc_self__): + __mypyc_self__ :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen L0: - r0 = PyList_New(0) - if is_error(r0) goto L38 (error at __encode_elements_new:101) else goto L1 + inc_ref __mypyc_self__ + return __mypyc_self__ + +def DankOverloadedMethod.coroutine(self, args, block_identifier, decimals, override): + self :: dank_mids.brownie_patch.types.DankOverloadedMethod + args :: tuple + block_identifier, decimals :: union[int, None] + override :: union[dict, None] + r0, r1, r2 :: object + r3 :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_env + r4, r5, r6, r7, r8 :: bool + r9 :: dank_mids.brownie_patch.types.coroutine_DankOverloadedMethod_gen + r10, r11 :: bool + r12 :: object +L0: + if is_error(block_identifier) goto L1 else goto L17 L1: - r1 = PyObject_GetIter(values) - if is_error(r1) goto L39 (error at __encode_elements_new:101) else goto L2 + r0 = box(None, 1) + inc_ref r0 + block_identifier = r0 L2: - r2 = PyIter_Next(r1) - if is_error(r2) goto L40 else goto L3 + if is_error(decimals) goto L3 else goto L18 L3: - r3 = unbox(tuple[object, object], r2) - dec_ref r2 - if is_error(r3) goto L41 (error at __encode_elements_new:101) else goto L4 + r1 = box(None, 1) + inc_ref r1 + decimals = r1 L4: - r4 = dank_mids.helpers._codec._item_encoder :: static - if is_error(r4) goto L42 else goto L7 + if is_error(override) goto L5 else goto L19 L5: - r5 = raise NameError('value for final name "_item_encoder" was not set') - if not r5 goto L38 (error at __encode_elements_new:101) else goto L6 :: bool + r2 = box(None, 1) + inc_ref r2 + override = r2 L6: - unreachable + r3 = coroutine_DankOverloadedMethod_env() + if is_error(r3) goto L20 (error at coroutine:56) else goto L7 L7: - r6 = box(tuple[object, object], r3) - r7 = [r6] - r8 = load_address r7 - r9 = _PyObject_Vectorcall(r4, r8, 1, 0) - if is_error(r9) goto L43 (error at __encode_elements_new:101) else goto L8 + inc_ref self + r3.self = self; r4 = is_error + if not r4 goto L21 (error at coroutine:56) else goto L8 :: bool L8: - dec_ref r6 - r10 = PyList_Append(r0, r9) - dec_ref r9 - r11 = r10 >= 0 :: signed - if not r11 goto L41 (error at __encode_elements_new:101) else goto L2 :: bool + inc_ref args + r3.args = args; r5 = is_error + if not r5 goto L21 (error at coroutine:56) else goto L9 :: bool L9: - r12 = CPy_NoErrOccurred() - if not r12 goto L39 (error at __encode_elements_new:101) else goto L10 :: bool + r3.block_identifier = block_identifier; r6 = is_error + if not r6 goto L22 (error at coroutine:56) else goto L10 :: bool L10: - r13 = get_element_ptr r0 ob_size :: PyVarObject - r14 = load_mem r13 :: native_int* - r15 = r14 << 1 - count = r15 - r16 = CPyTagged_Multiply(64, count) - r17 = (0) - r18 = CPyList_GetSlice(r0, 0, -2) - if is_error(r18) goto L44 (error at __encode_elements_new:104) else goto L11 + r3.decimals = decimals; r7 = is_error + if not r7 goto L23 (error at coroutine:56) else goto L11 :: bool L11: - r19 = cast(list, r18) - if is_error(r19) goto L44 (error at __encode_elements_new:104) else goto L12 + r3.override = override; r8 = is_error + if not r8 goto L24 (error at coroutine:56) else goto L12 :: bool L12: - r20 = get_element_ptr r19 ob_size :: PyVarObject - r21 = load_mem r20 :: native_int* - r22 = PyList_New(r21) - if is_error(r22) goto L45 (error at __encode_elements_new:104) else goto L13 + r9 = coroutine_DankOverloadedMethod_gen() + if is_error(r9) goto L24 (error at coroutine:56) else goto L13 L13: - r23 = 0 + inc_ref r3 + r9.__mypyc_env__ = r3; r10 = is_error + if not r10 goto L25 (error at coroutine:56) else goto L14 :: bool L14: - r24 = get_element_ptr r19 ob_size :: PyVarObject - r25 = load_mem r24 :: native_int* - r26 = r25 << 1 - r27 = r23 < r26 :: signed - if r27 goto L15 else goto L46 :: bool + r3.__mypyc_next_label__ = 0; r11 = is_error + dec_ref r3 + if not r11 goto L26 (error at coroutine:56) else goto L15 :: bool L15: - r28 = r23 >> 1 - r29 = get_element_ptr r19 ob_item :: PyListObject - r30 = load_mem r29 :: ptr* - r31 = r28 * 8 - r32 = r30 + r31 - r33 = load_mem r32 :: builtins.object* - inc_ref r33 - r34 = CPyObject_Size(r33) - dec_ref r33 - if is_error(r34) goto L47 (error at __encode_elements_new:104) else goto L16 + return r9 L16: - r35 = box(int, r34) - r36 = CPyList_SetItemUnsafe(r22, r23, r35) - if not r36 goto L47 (error at __encode_elements_new:104) else goto L17 :: bool + r12 = :: object + return r12 L17: - r37 = r23 + 2 - r23 = r37 - goto L14 + inc_ref block_identifier + goto L2 L18: - r38 = PyObject_GetIter(r22) - dec_ref r22 - if is_error(r38) goto L44 (error at __encode_elements_new:104) else goto L19 + inc_ref decimals + goto L4 L19: - r39 = dank_mids.helpers._codec.globals :: static - r40 = 'accumulate' - r41 = CPyDict_GetItem(r39, r40) - if is_error(r41) goto L48 (error at __encode_elements_new:104) else goto L20 + inc_ref override + goto L6 L20: - r42 = [r38] - r43 = load_address r42 - r44 = _PyObject_Vectorcall(r41, r43, 1, 0) - dec_ref r41 - if is_error(r44) goto L48 (error at __encode_elements_new:104) else goto L21 + dec_ref block_identifier + dec_ref decimals + dec_ref override + goto L16 L21: - dec_ref r38 - r45 = dank_mids.helpers._codec.globals :: static - r46 = 'chain' - r47 = CPyDict_GetItem(r45, r46) - if is_error(r47) goto L49 (error at __encode_elements_new:104) else goto L22 + dec_ref block_identifier + dec_ref decimals + dec_ref override + dec_ref r3 + goto L16 L22: - r48 = box(tuple[int], r17) - r49 = [r48, r44] - r50 = load_address r49 - r51 = _PyObject_Vectorcall(r47, r50, 2, 0) - dec_ref r47 - if is_error(r51) goto L50 (error at __encode_elements_new:104) else goto L23 -L23: - dec_ref r48 - dec_ref r44 - r52 = PyList_New(0) - if is_error(r52) goto L51 (error at __encode_elements_new:105) else goto L24 + dec_ref decimals + dec_ref override + dec_ref r3 + goto L16 +L23: + dec_ref override + dec_ref r3 + goto L16 L24: - r53 = PyObject_GetIter(r51) - dec_ref r51 - if is_error(r53) goto L52 (error at __encode_elements_new:105) else goto L25 + dec_ref r3 + goto L16 L25: - r54 = PyIter_Next(r53) - if is_error(r54) goto L53 else goto L26 -L26: - r55 = unbox(int, r54) - dec_ref r54 - if is_error(r55) goto L54 (error at __encode_elements_new:105) else goto L27 -L27: - r56 = CPyTagged_Add(r16, r55) - dec_ref r55 :: int - r57 = dank_mids.helpers._codec.encode_uint_256 :: static - if is_error(r57) goto L55 else goto L30 -L28: - r58 = raise NameError('value for final name "encode_uint_256" was not set') - if not r58 goto L38 (error at __encode_elements_new:105) else goto L29 :: bool -L29: - unreachable -L30: - r59 = box(int, r56) - r60 = [r59] - r61 = load_address r60 - r62 = _PyObject_Vectorcall(r57, r61, 1, 0) - if is_error(r62) goto L56 (error at __encode_elements_new:105) else goto L31 -L31: - dec_ref r59 - r63 = PyList_Append(r52, r62) - dec_ref r62 - r64 = r63 >= 0 :: signed - if not r64 goto L54 (error at __encode_elements_new:105) else goto L25 :: bool -L32: - r65 = CPy_NoErrOccurred() - if not r65 goto L57 (error at __encode_elements_new:105) else goto L33 :: bool -L33: - r66 = PyObject_GetIter(r52) - dec_ref r52 - if is_error(r66) goto L58 (error at __encode_elements_new:105) else goto L34 -L34: - r67 = b'' - r68 = dank_mids.helpers._codec.globals :: static - r69 = 'chain' - r70 = CPyDict_GetItem(r68, r69) - if is_error(r70) goto L59 (error at __encode_elements_new:106) else goto L35 -L35: - r71 = [r66, r0] - r72 = load_address r71 - r73 = _PyObject_Vectorcall(r70, r72, 2, 0) - dec_ref r70 - if is_error(r73) goto L59 (error at __encode_elements_new:106) else goto L36 -L36: - dec_ref r66 - dec_ref r0 - r74 = CPyBytes_Join(r67, r73) - dec_ref r73 - if is_error(r74) goto L60 (error at __encode_elements_new:106) else goto L37 -L37: - r75 = (r74, count) - return r75 -L38: - r76 = :: tuple[bytes, int] - return r76 -L39: - dec_ref r0 - goto L38 -L40: - dec_ref r1 - goto L9 -L41: - dec_ref r0 - dec_ref r1 - goto L38 -L42: - dec_ref r0 - dec_ref r1 dec_ref r3 - goto L5 -L43: - dec_ref r0 - dec_ref r1 - dec_ref r6 - goto L38 -L44: - dec_ref r0 - dec_ref count :: int - dec_ref r16 :: int - dec_ref r17 - goto L38 -L45: - dec_ref r0 - dec_ref count :: int - dec_ref r16 :: int - dec_ref r17 - dec_ref r19 - goto L38 -L46: - dec_ref r19 - goto L18 -L47: - dec_ref r0 - dec_ref count :: int - dec_ref r16 :: int - dec_ref r17 - dec_ref r19 - dec_ref r22 - goto L38 -L48: - dec_ref r0 - dec_ref count :: int - dec_ref r16 :: int - dec_ref r17 - dec_ref r38 - goto L38 -L49: - dec_ref r0 - dec_ref count :: int - dec_ref r16 :: int - dec_ref r17 - dec_ref r44 - goto L38 -L50: - dec_ref r0 - dec_ref count :: int - dec_ref r16 :: int - dec_ref r44 - dec_ref r48 - goto L38 -L51: - dec_ref r0 - dec_ref count :: int - dec_ref r16 :: int - dec_ref r51 - goto L38 -L52: - dec_ref r0 - dec_ref count :: int - dec_ref r16 :: int - dec_ref r52 - goto L38 -L53: - dec_ref r16 :: int - dec_ref r53 - goto L32 -L54: - dec_ref r0 - dec_ref count :: int - dec_ref r16 :: int - dec_ref r52 - dec_ref r53 - goto L38 -L55: - dec_ref r0 - dec_ref count :: int - dec_ref r16 :: int - dec_ref r52 - dec_ref r53 - dec_ref r56 :: int - goto L28 -L56: - dec_ref r0 - dec_ref count :: int - dec_ref r16 :: int - dec_ref r52 - dec_ref r53 - dec_ref r59 - goto L38 -L57: - dec_ref r0 - dec_ref count :: int - dec_ref r52 - goto L38 -L58: - dec_ref r0 - dec_ref count :: int - goto L38 -L59: - dec_ref r0 - dec_ref count :: int - dec_ref r66 - goto L38 -L60: - dec_ref count :: int - goto L38 + dec_ref r9 + goto L16 +L26: + dec_ref r9 + goto L16 -def mcall_encode(data): - data :: object - r0 :: tuple[bool, object] +def DankOverloadedMethod._add_fn(self, abi, natspec): + self :: dank_mids.brownie_patch.types.DankOverloadedMethod + abi, natspec :: dict + r0 :: str r1 :: object - r2 :: bool + r2 :: str r3 :: object - r4 :: object[1] - r5 :: object_ptr - r6 :: object - r7, r8 :: bytes + r4 :: str + r5 :: object + r6, r7 :: str + r8 :: object + r9 :: list + r10 :: str + r11, r12, r13 :: object + r14 :: str + r15 :: object + r16, r17, r18 :: str + r19 :: object[3] + r20 :: object_ptr + r21 :: object + r22 :: i32 + r23, r24 :: bit + r25 :: tuple + r26 :: dict + r27 :: i32 + r28 :: bit + r29 :: str + r30 :: object + r31 :: str + r32 :: object[2] + r33 :: object_ptr + r34 :: object + r35 :: None L0: - inc_ref data - r0 = (0, data) - r1 = dank_mids.helpers._codec._mcall_encoder :: static - if is_error(r1) goto L7 else goto L3 + r0 = '_address' + r1 = CPyObject_GetAttr(self, r0) + if is_error(r1) goto L20 (error at _add_fn:90) else goto L1 L1: - r2 = raise NameError('value for final name "_mcall_encoder" was not set') - if not r2 goto L6 (error at mcall_encode:119) else goto L2 :: bool + r2 = '_name' + r3 = CPyObject_GetAttr(self, r2) + if is_error(r3) goto L21 (error at _add_fn:90) else goto L2 L2: - unreachable + r4 = '_owner' + r5 = CPyObject_GetAttr(self, r4) + if is_error(r5) goto L22 (error at _add_fn:90) else goto L3 L3: - r3 = box(tuple[bool, object], r0) - r4 = [r3] - r5 = load_address r4 - r6 = _PyObject_Vectorcall(r1, r5, 1, 0) - if is_error(r6) goto L8 (error at mcall_encode:119) else goto L4 + r6 = cast(str, r1) + if is_error(r6) goto L23 (error at _add_fn:90) else goto L4 L4: - dec_ref r3 - r7 = cast(bytes, r6) - if is_error(r7) goto L6 (error at mcall_encode:119) else goto L5 + r7 = cast(str, r3) + if is_error(r7) goto L24 (error at _add_fn:90) else goto L5 L5: - return r7 + r8 = _get_method_object(r6, abi, r7, r5, natspec) + dec_ref r6 + dec_ref r7 + dec_ref r5 + if is_error(r8) goto L20 (error at _add_fn:90) else goto L6 L6: - r8 = :: bytes - return r8 + r9 = PyList_New(0) + if is_error(r9) goto L25 (error at _add_fn:91) else goto L7 L7: - dec_ref r0 - goto L1 + r10 = 'inputs' + r11 = CPyDict_GetItem(abi, r10) + if is_error(r11) goto L26 (error at _add_fn:91) else goto L8 L8: + r12 = PyObject_GetIter(r11) + dec_ref r11 + if is_error(r12) goto L26 (error at _add_fn:91) else goto L9 +L9: + r13 = PyIter_Next(r12) + if is_error(r13) goto L27 else goto L10 +L10: + r14 = 'type' + r15 = PyObject_GetItem(r13, r14) + dec_ref r13 + if is_error(r15) goto L28 (error at _add_fn:91) else goto L11 +L11: + r16 = '256' + r17 = '' + r18 = 'replace' + r19 = [r15, r16, r17] + r20 = load_address r19 + r21 = PyObject_VectorcallMethod(r18, r20, 9223372036854775811, 0) + if is_error(r21) goto L29 (error at _add_fn:91) else goto L12 +L12: + dec_ref r15 + r22 = PyList_Append(r9, r21) + dec_ref r21 + r23 = r22 >= 0 :: signed + if not r23 goto L28 (error at _add_fn:91) else goto L9 :: bool +L13: + r24 = CPy_NoErrOccurred() + if not r24 goto L26 (error at _add_fn:91) else goto L14 :: bool +L14: + r25 = PyList_AsTuple(r9) + dec_ref r9 + if is_error(r25) goto L25 (error at _add_fn:91) else goto L15 +L15: + r26 = self.methods + if is_error(r26) goto L30 (error at _add_fn:92) else goto L16 +L16: + r27 = CPyDict_SetItem(r26, r25, r8) + dec_ref r26 + dec_ref r25 + dec_ref r8 + r28 = r27 >= 0 :: signed + if not r28 goto L20 (error at _add_fn:92) else goto L17 :: bool +L17: + r29 = 'natspec' + r30 = CPyObject_GetAttr(self, r29) + if is_error(r30) goto L20 (error at _add_fn:93) else goto L18 +L18: + r31 = 'update' + r32 = [r30, natspec] + r33 = load_address r32 + r34 = PyObject_VectorcallMethod(r31, r33, 9223372036854775810, 0) + if is_error(r34) goto L31 (error at _add_fn:93) else goto L32 +L19: + dec_ref r30 + return 1 +L20: + r35 = :: None + return r35 +L21: + dec_ref r1 + goto L20 +L22: + dec_ref r1 dec_ref r3 - goto L6 + goto L20 +L23: + dec_ref r3 + dec_ref r5 + goto L20 +L24: + dec_ref r5 + dec_ref r6 + goto L20 +L25: + dec_ref r8 + goto L20 +L26: + dec_ref r8 + dec_ref r9 + goto L20 +L27: + dec_ref r12 + goto L13 +L28: + dec_ref r8 + dec_ref r9 + dec_ref r12 + goto L20 +L29: + dec_ref r8 + dec_ref r9 + dec_ref r12 + dec_ref r15 + goto L20 +L30: + dec_ref r8 + dec_ref r25 + goto L20 +L31: + dec_ref r30 + goto L20 +L32: + dec_ref r34 + goto L19 -def mcall_decode(data): - data :: object - r0, r1 :: str - r2 :: object[2] - r3 :: object_ptr - r4, r5 :: object - r6 :: bool - r7 :: object[1] - r8 :: object_ptr - r9, r10 :: object - r11 :: bool - r12 :: object[1] - r13 :: object_ptr - r14 :: object - r15 :: tuple[int, int, tuple] - r16 :: tuple - r17 :: tuple[object, object, object] - r18 :: object - r19 :: str - r20 :: object - r21 :: bit - r22 :: object - r23 :: str - r24 :: object - r25 :: tuple - r26 :: dict - r27 :: str - r28 :: object - r29 :: i32 - r30 :: bit - r31 :: bool - r32 :: str - r33 :: object[1] - r34 :: object_ptr - r35, r36 :: object - r37 :: list - r38 :: object - r39 :: i32 - r40 :: bit - r41 :: tuple - r42 :: str - r43 :: i32 - r44, r45 :: bit - r46 :: ptr - r47 :: native_int - r48 :: list - r49 :: short_int - r50 :: ptr - r51 :: native_int - r52 :: short_int - r53 :: bit - r54 :: object - r55 :: tuple[bool, bytes] - r56 :: bytes - r57 :: bit - r58 :: short_int - r59 :: union[list, object] +def _get_method_object(address, abi, name, owner, natspec): + address :: str + abi :: dict + name :: str + owner :: union[object, None] + natspec :: dict + r0 :: str + r1 :: i32 + r2 :: bit + r3 :: bool + r4 :: str + r5, constant :: object + r6 :: str + r7 :: object + r8 :: str + r9 :: object + r10, r11 :: bool + r12 :: str + r13 :: object + r14 :: str + r15 :: object + r16 :: bool + r17 :: object + r18 :: i32 + r19 :: bit + r20 :: bool + r21 :: tuple + r22 :: dict + r23 :: dank_mids.brownie_patch.types.DankContractCall + r24 :: tuple + r25 :: dict + r26 :: dank_mids.brownie_patch.types.DankContractTx + r27 :: object L0: + r0 = 'constant' + r1 = PyDict_Contains(abi, r0) + r2 = r1 >= 0 :: signed + if not r2 goto L24 (error at _get_method_object:125) else goto L1 :: bool L1: - r0 = 'eth_call' - r1 = 'decode_result' - r2 = [data, r0] - r3 = load_address r2 - r4 = PyObject_VectorcallMethod(r1, r3, 9223372036854775810, 0) - if is_error(r4) goto L12 (error at mcall_decode:128) else goto L2 + r3 = truncate r1: i32 to builtins.bool + if r3 goto L2 else goto L4 :: bool L2: - r5 = dank_mids.helpers._codec.ContextFramesBytesIO :: static - if is_error(r5) goto L41 else goto L5 + r4 = 'constant' + r5 = CPyDict_GetItem(abi, r4) + if is_error(r5) goto L24 (error at _get_method_object:126) else goto L3 L3: - r6 = raise NameError('value for final name "ContextFramesBytesIO" was not set') - if not r6 goto L12 (error at mcall_decode:128) else goto L4 :: bool + constant = r5 + goto L14 L4: - unreachable + r6 = 'stateMutability' + r7 = CPyDict_GetItem(abi, r6) + if is_error(r7) goto L24 (error at _get_method_object:128) else goto L5 L5: - r7 = [r4] - r8 = load_address r7 - r9 = _PyObject_Vectorcall(r5, r8, 1, 0) - if is_error(r9) goto L42 (error at mcall_decode:128) else goto L6 + r8 = 'view' + r9 = PyObject_RichCompare(r7, r8, 2) + dec_ref r7 + if is_error(r9) goto L24 (error at _get_method_object:-1) else goto L6 L6: - dec_ref r4 - r10 = dank_mids.helpers._codec._mcall_decoder :: static - if is_error(r10) goto L43 else goto L9 + r10 = unbox(bool, r9) + dec_ref r9 + if is_error(r10) goto L24 (error at _get_method_object:-1) else goto L7 L7: - r11 = raise NameError('value for final name "_mcall_decoder" was not set') - if not r11 goto L12 (error at mcall_decode:128) else goto L8 :: bool + if r10 goto L8 else goto L9 :: bool L8: - unreachable + r11 = r10 + goto L13 L9: - r12 = [r9] - r13 = load_address r12 - r14 = _PyObject_Vectorcall(r10, r13, 1, 0) - if is_error(r14) goto L44 (error at mcall_decode:128) else goto L10 + r12 = 'stateMutability' + r13 = CPyDict_GetItem(abi, r12) + if is_error(r13) goto L24 (error at _get_method_object:128) else goto L10 L10: - dec_ref r9 - r15 = unbox(tuple[int, int, tuple], r14) - dec_ref r14 - if is_error(r15) goto L12 (error at mcall_decode:128) else goto L11 + r14 = 'pure' + r15 = PyObject_RichCompare(r13, r14, 2) + dec_ref r13 + if is_error(r15) goto L24 (error at _get_method_object:-1) else goto L11 L11: - r16 = r15[2] + r16 = unbox(bool, r15) dec_ref r15 - goto L32 + if is_error(r16) goto L24 (error at _get_method_object:-1) else goto L12 L12: - r17 = CPy_CatchError() - r18 = builtins :: module - r19 = 'Exception' - r20 = CPyObject_GetAttr(r18, r19) - if is_error(r20) goto L30 (error at mcall_decode:129) else goto L13 + r11 = r16 L13: - r21 = CPy_ExceptionMatches(r20) - dec_ref r20 - if r21 goto L14 else goto L28 :: bool + r17 = box(bool, r11) + inc_ref r17 + constant = r17 L14: - r22 = CPy_GetExcValue() - r23 = 'args' - r24 = CPyObject_GetAttr(r22, r23) - if is_error(r24) goto L45 (error at mcall_decode:131) else goto L15 + r18 = PyObject_IsTrue(constant) + dec_ref constant + r19 = r18 >= 0 :: signed + if not r19 goto L24 (error at _get_method_object:126) else goto L15 :: bool L15: - r25 = cast(tuple, r24) - if is_error(r25) goto L45 (error at mcall_decode:131) else goto L16 + r20 = truncate r18: i32 to builtins.bool + if r20 goto L16 else goto L20 :: bool L16: - r26 = dank_mids.helpers._codec.globals :: static - r27 = 'PartialResponse' - r28 = CPyDict_GetItem(r26, r27) - if is_error(r28) goto L46 (error at mcall_decode:131) else goto L17 + r21 = PyTuple_Pack(5, address, abi, name, owner, natspec) + if is_error(r21) goto L24 (error at _get_method_object:131) else goto L17 L17: - r29 = PyObject_IsInstance(data, r28) - dec_ref r28 - r30 = r29 >= 0 :: signed - if not r30 goto L46 (error at mcall_decode:131) else goto L18 :: bool + r22 = PyDict_New() + if is_error(r22) goto L25 (error at _get_method_object:131) else goto L18 L18: - r31 = truncate r29: i32 to builtins.bool - if r31 goto L19 else goto L21 :: bool + r23 = DankContractCall(r21, r22) + dec_ref r21 + dec_ref r22 + if is_error(r23) goto L24 (error at _get_method_object:131) else goto L19 L19: - r32 = 'decode_result' - r33 = [data] - r34 = load_address r33 - r35 = PyObject_VectorcallMethod(r32, r34, 9223372036854775809, 0) - if is_error(r35) goto L46 (error at mcall_decode:131) else goto L20 + return r23 L20: - r36 = r35 - goto L22 + r24 = PyTuple_Pack(5, address, abi, name, owner, natspec) + if is_error(r24) goto L24 (error at _get_method_object:132) else goto L21 L21: - inc_ref data - r36 = data + r25 = PyDict_New() + if is_error(r25) goto L26 (error at _get_method_object:132) else goto L22 L22: - r37 = PyList_New(0) - if is_error(r37) goto L47 (error at mcall_decode:131) else goto L23 -L23: - r38 = CPyList_Extend(r37, r25) + r26 = DankContractTx(r24, r25) + dec_ref r24 dec_ref r25 - if is_error(r38) goto L48 (error at mcall_decode:131) else goto L49 + if is_error(r26) goto L24 (error at _get_method_object:132) else goto L23 +L23: + return r26 L24: - r39 = PyList_Append(r37, r36) - dec_ref r36 - r40 = r39 >= 0 :: signed - if not r40 goto L50 (error at mcall_decode:131) else goto L25 :: bool + r27 = :: object + return r27 L25: - r41 = PyList_AsTuple(r37) - dec_ref r37 - if is_error(r41) goto L45 (error at mcall_decode:131) else goto L26 + dec_ref r21 + goto L24 L26: - r42 = 'args' - r43 = PyObject_SetAttr(r22, r42, r41) - dec_ref r41 - r44 = r43 >= 0 :: signed - if not r44 goto L45 (error at mcall_decode:131) else goto L27 :: bool -L27: - CPy_RestoreExcInfo(r17) - dec_ref r17 - return r22 -L28: - CPy_Reraise() - if not 0 goto L30 else goto L51 :: bool -L29: - unreachable -L30: - CPy_RestoreExcInfo(r17) - dec_ref r17 - r45 = CPy_KeepPropagating() - if not r45 goto L40 else goto L31 :: bool -L31: - unreachable -L32: - r46 = get_element_ptr r16 ob_size :: PyVarObject - r47 = load_mem r46 :: native_int* - r48 = PyList_New(r47) - if is_error(r48) goto L52 (error at mcall_decode:134) else goto L33 -L33: - r49 = 0 -L34: - r50 = get_element_ptr r16 ob_size :: PyVarObject - r51 = load_mem r50 :: native_int* - r52 = r51 << 1 - r53 = r49 < r52 :: signed - if r53 goto L35 else goto L53 :: bool -L35: - r54 = CPySequenceTuple_GetItem(r16, r49) - if is_error(r54) goto L54 (error at mcall_decode:134) else goto L36 -L36: - r55 = unbox(tuple[bool, bytes], r54) - dec_ref r54 - if is_error(r55) goto L54 (error at mcall_decode:134) else goto L37 -L37: - r56 = r55[1] - dec_ref r55 - r57 = CPyList_SetItemUnsafe(r48, r49, r56) - if not r57 goto L54 (error at mcall_decode:134) else goto L38 :: bool -L38: - r58 = r49 + 2 - r49 = r58 - goto L34 -L39: - return r48 -L40: - r59 = :: union[list, object] - return r59 -L41: - dec_ref r4 - goto L3 -L42: - dec_ref r4 - goto L12 -L43: - dec_ref r9 - goto L7 -L44: - dec_ref r9 - goto L12 -L45: - dec_ref r22 - goto L30 -L46: - dec_ref r22 - dec_ref r25 - goto L30 -L47: - dec_ref r22 - dec_ref r25 - dec_ref r36 - goto L30 -L48: - dec_ref r22 - dec_ref r36 - dec_ref r37 - goto L30 -L49: - dec_ref r38 + dec_ref r24 goto L24 -L50: - dec_ref r22 - dec_ref r37 - goto L30 -L51: - dec_ref r17 - goto L29 -L52: - dec_ref r16 - goto L40 -L53: - dec_ref r16 - goto L39 -L54: - dec_ref r16 - dec_ref r48 - goto L40 def __top_level__(): r0, r1 :: object @@ -26358,1101 +24118,1722 @@ def __top_level__(): r8, r9 :: object r10 :: str r11 :: dict - r12 :: object - r13, r14 :: object_ptr - r15 :: object_ptr[2] - r16 :: c_ptr - r17 :: native_int[2] - r18 :: c_ptr - r19 :: object - r20 :: dict - r21, r22 :: str - r23 :: bit + r12, r13 :: object + r14 :: str + r15 :: dict + r16, r17 :: object + r18 :: str + r19 :: dict + r20 :: object + r21 :: str + r22 :: dict + r23 :: str r24 :: object - r25 :: str - r26 :: dict - r27, r28 :: object + r25 :: object[1] + r26 :: object_ptr + r27 :: object + r28 :: dict r29 :: str - r30 :: dict - r31, r32 :: object + r30 :: i32 + r31 :: bit + r32 :: dict r33 :: str - r34 :: dict - r35, r36 :: object - r37 :: str + r34 :: object + r35 :: dict + r36 :: str + r37 :: object r38 :: dict - r39, r40 :: object - r41 :: str - r42 :: dict - r43 :: object - r44 :: str - r45 :: dict - r46 :: str - r47 :: object - r48 :: object[1] - r49 :: object_ptr - r50 :: object + r39 :: str + r40 :: object + r41 :: dict + r42 :: str + r43 :: object + r44 :: tuple[object, object, object] + r45, r46 :: object + r47 :: dict + r48 :: str + r49 :: i32 + r50 :: bit r51 :: dict r52 :: str - r53 :: i32 - r54 :: bit - r55 :: dict - r56 :: str - r57 :: object - r58 :: dict - r59 :: str - r60, r61 :: object - r62 :: dict - r63 :: str - r64 :: object - r65 :: dict - r66 :: str - r67, r68 :: object - r69 :: tuple[object, object] - r70, r71 :: object - r72 :: list - r73, r74 :: ptr - r75 :: object - r76 :: tuple[list, object] - r77, r78 :: object - r79 :: dict - r80 :: str - r81 :: i32 - r82 :: bit - r83 :: dict - r84 :: str - r85, r86, r87 :: object - r88 :: dict - r89 :: str - r90 :: object + r53 :: object + r54 :: dict + r55 :: str + r56 :: object + r57 :: tuple + r58 :: str + r59, r60 :: object + r61 :: bool + r62, r63 :: str + r64 :: tuple + r65 :: i32 + r66 :: bit + r67 :: dict + r68 :: str + r69 :: i32 + r70 :: bit + r71 :: dict + r72 :: str + r73 :: object + r74 :: dict + r75 :: str + r76 :: object + r77 :: tuple + r78 :: str + r79, r80 :: object + r81 :: bool + r82, r83 :: str + r84 :: tuple + r85 :: i32 + r86 :: bit + r87 :: dict + r88 :: str + r89 :: i32 + r90 :: bit r91 :: dict r92 :: str - r93 :: object - r94 :: str - r95 :: object - r96 :: tuple[str, object] - r97, r98, r99 :: object - r100 :: tuple[object, object] - r101, r102 :: object - r103 :: tuple[object, object, object] - r104, r105 :: object - r106 :: dict - r107 :: str - r108 :: i32 - r109 :: bit - r110 :: dict - r111 :: str - r112, r113 :: object - r114 :: dict - r115 :: str - r116 :: object - r117 :: tuple[object, object] - r118, r119 :: object - r120 :: dict - r121 :: str - r122 :: i32 - r123 :: bit - r124 :: dict - r125 :: str - r126 :: object - r127 :: str - r128 :: object - r129 :: dict - r130 :: str - r131 :: i32 - r132 :: bit - r133 :: object - r134 :: str - r135 :: object - r136 :: dict - r137 :: str - r138 :: i32 - r139 :: bit - r140 :: dict - r141 :: str - r142 :: object - r143 :: str - r144 :: object - r145 :: dict - r146 :: str - r147 :: i32 - r148 :: bit - r149 :: dict - r150 :: str - r151 :: object - r152 :: str - r153 :: object - r154 :: dict - r155 :: str - r156 :: i32 - r157 :: bit - r158 :: dict - r159 :: str - r160 :: object - r161 :: str - r162 :: object - r163 :: str - r164 :: object - r165 :: dict - r166 :: str - r167 :: i32 - r168 :: bit - r169 :: dict - r170 :: str - r171 :: object - r172 :: str - r173 :: object - r174 :: str - r175 :: object - r176 :: dict - r177 :: str - r178 :: i32 - r179 :: bit - r180 :: dict - r181 :: str - r182 :: object - r183 :: str - r184 :: object - r185 :: dict - r186 :: str - r187 :: i32 - r188 :: bit - r189 :: object - r190 :: str - r191 :: object - r192 :: dict - r193 :: str - r194 :: i32 - r195 :: bit - r196 :: dict - r197 :: str - r198 :: object - r199 :: str - r200 :: object - r201, r202 :: str - r203 :: object[2] - r204 :: object_ptr - r205 :: object - r206 :: dict - r207 :: str - r208 :: i32 - r209 :: bit - r210 :: object - r211 :: bool - r212 :: str - r213, r214, r215 :: object - r216 :: dict - r217 :: str - r218 :: i32 - r219 :: bit - r220 :: object - r221 :: bool - r222 :: str - r223 :: object - r224 :: dict - r225 :: str - r226 :: i32 - r227 :: bit - r228 :: dank_mids.helpers._codec.__mypyc_lambda__0_obj - r229 :: object - r230 :: bool - r231 :: str - r232 :: i32 - r233 :: bit - r234 :: object - r235 :: bool - r236 :: str - r237 :: i32 - r238 :: bit - r239 :: object - r240 :: bool - r241 :: str - r242 :: i32 - r243 :: bit - r244 :: dict - r245 :: str - r246, r247 :: object - r248 :: bool - r249 :: str - r250 :: i32 - r251 :: bit - r252 :: dict - r253 :: str - r254, r255 :: object - r256 :: bool - r257 :: str - r258 :: i32 - r259 :: bit - r260 :: dict - r261 :: str - r262 :: object - r263 :: str - r264 :: object - r265, r266 :: str - r267 :: object[2] - r268 :: object_ptr - r269 :: object - r270 :: str - r271 :: object - r272 :: dict - r273 :: str - r274 :: i32 - r275 :: bit - r276 :: object - r277 :: dict - r278 :: str - r279 :: i32 - r280 :: bit - r281 :: None + r93, r94, r95 :: object + r96 :: tuple[object, object] + r97, r98 :: object + r99 :: dict + r100 :: str + r101 :: i32 + r102 :: bit + r103 :: dict + r104 :: str + r105 :: object + r106 :: dict + r107 :: str + r108 :: object + r109 :: dict + r110 :: str + r111, r112 :: object + r113 :: tuple + r114 :: str + r115, r116 :: object + r117 :: bool + r118, r119, r120 :: str + r121 :: tuple + r122 :: i32 + r123 :: bit + r124 :: dict + r125 :: str + r126 :: i32 + r127 :: bit + r128 :: dict + r129 :: str + r130, r131, r132, r133 :: object + r134 :: tuple[object, object, object] + r135, r136 :: object + r137 :: dict + r138 :: str + r139 :: i32 + r140 :: bit + r141 :: None +L0: + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool +L1: + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L49 (error at :-1) else goto L2 +L2: + builtins = r4 :: module + dec_ref r4 +L3: + r5 = ('Any', 'Dict', 'Optional', 'Tuple', 'TypeVar', 'Union', 'final') + r6 = 'typing' + r7 = dank_mids.brownie_patch.types.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L49 (error at :1) else goto L4 +L4: + typing = r8 :: module + dec_ref r8 + r9 = ('ContractCall', 'ContractTx', 'OverloadedMethod') + r10 = 'brownie.network.contract' + r11 = dank_mids.brownie_patch.types.globals :: static + r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) + if is_error(r12) goto L49 (error at :3) else goto L5 +L5: + brownie.network.contract = r12 :: module + dec_ref r12 + r13 = ('AccountsType',) + r14 = 'brownie.typing' + r15 = dank_mids.brownie_patch.types.globals :: static + r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) + if is_error(r16) goto L49 (error at :4) else goto L6 +L6: + brownie.typing = r16 :: module + dec_ref r16 + r17 = ('_DankMethod', '_DankMethodMixin', '_EVMType') + r18 = 'dank_mids.brownie_patch._method' + r19 = dank_mids.brownie_patch.types.globals :: static + r20 = CPyImport_ImportFromMany(r18, r17, r17, r19) + if is_error(r20) goto L49 (error at :6) else goto L7 +L7: + dank_mids.brownie_patch._method = r20 :: module + dec_ref r20 + r21 = '_T' + r22 = dank_mids.brownie_patch.types.globals :: static + r23 = 'TypeVar' + r24 = CPyDict_GetItem(r22, r23) + if is_error(r24) goto L49 (error at :9) else goto L8 +L8: + r25 = [r21] + r26 = load_address r25 + r27 = _PyObject_Vectorcall(r24, r26, 1, 0) + dec_ref r24 + if is_error(r27) goto L49 (error at :9) else goto L9 +L9: + r28 = dank_mids.brownie_patch.types.globals :: static + r29 = '_T' + r30 = CPyDict_SetItem(r28, r29, r27) + dec_ref r27 + r31 = r30 >= 0 :: signed + if not r31 goto L49 (error at :9) else goto L10 :: bool +L10: + r32 = dank_mids.brownie_patch.types.globals :: static + r33 = 'Union' + r34 = CPyDict_GetItem(r32, r33) + if is_error(r34) goto L49 (error at :11) else goto L11 +L11: + r35 = dank_mids.brownie_patch.types.globals :: static + r36 = 'ContractCall' + r37 = CPyDict_GetItem(r35, r36) + if is_error(r37) goto L50 (error at :11) else goto L12 +L12: + r38 = dank_mids.brownie_patch.types.globals :: static + r39 = 'ContractTx' + r40 = CPyDict_GetItem(r38, r39) + if is_error(r40) goto L51 (error at :11) else goto L13 +L13: + r41 = dank_mids.brownie_patch.types.globals :: static + r42 = 'OverloadedMethod' + r43 = CPyDict_GetItem(r41, r42) + if is_error(r43) goto L52 (error at :11) else goto L14 +L14: + r44 = (r37, r40, r43) + r45 = box(tuple[object, object, object], r44) + r46 = PyObject_GetItem(r34, r45) + dec_ref r34 + dec_ref r45 + if is_error(r46) goto L49 (error at :11) else goto L15 +L15: + r47 = dank_mids.brownie_patch.types.globals :: static + r48 = 'ContractMethod' + r49 = CPyDict_SetItem(r47, r48, r46) + dec_ref r46 + r50 = r49 >= 0 :: signed + if not r50 goto L49 (error at :11) else goto L16 :: bool +L16: + r51 = dank_mids.brownie_patch.types.globals :: static + r52 = '_DankMethod' + r53 = CPyDict_GetItem(r51, r52) + if is_error(r53) goto L49 (error at :16) else goto L17 +L17: + r54 = dank_mids.brownie_patch.types.globals :: static + r55 = 'ContractCall' + r56 = CPyDict_GetItem(r54, r55) + if is_error(r56) goto L53 (error at :16) else goto L18 +L18: + r57 = PyTuple_Pack(2, r53, r56) + dec_ref r53 + dec_ref r56 + if is_error(r57) goto L49 (error at :16) else goto L19 +L19: + r58 = 'dank_mids.brownie_patch.types' + r59 = dank_mids.brownie_patch.types.DankContractCall_template :: type + r60 = CPyType_FromTemplate(r59, r57, r58) + dec_ref r57 + if is_error(r60) goto L49 (error at :16) else goto L20 +L20: + r61 = DankContractCall_trait_vtable_setup() + if is_error(r61) goto L54 (error at :-1) else goto L21 +L21: + r62 = '__mypyc_attrs__' + r63 = '__dict__' + r64 = PyTuple_Pack(1, r63) + if is_error(r64) goto L54 (error at :16) else goto L22 +L22: + r65 = PyObject_SetAttr(r60, r62, r64) + dec_ref r64 + r66 = r65 >= 0 :: signed + if not r66 goto L54 (error at :16) else goto L23 :: bool +L23: + dank_mids.brownie_patch.types.DankContractCall = r60 :: type + r67 = dank_mids.brownie_patch.types.globals :: static + r68 = 'DankContractCall' + r69 = CPyDict_SetItem(r67, r68, r60) + dec_ref r60 + r70 = r69 >= 0 :: signed + if not r70 goto L49 (error at :16) else goto L24 :: bool +L24: + r71 = dank_mids.brownie_patch.types.globals :: static + r72 = '_DankMethod' + r73 = CPyDict_GetItem(r71, r72) + if is_error(r73) goto L49 (error at :28) else goto L25 +L25: + r74 = dank_mids.brownie_patch.types.globals :: static + r75 = 'ContractTx' + r76 = CPyDict_GetItem(r74, r75) + if is_error(r76) goto L55 (error at :28) else goto L26 +L26: + r77 = PyTuple_Pack(2, r73, r76) + dec_ref r73 + dec_ref r76 + if is_error(r77) goto L49 (error at :28) else goto L27 +L27: + r78 = 'dank_mids.brownie_patch.types' + r79 = dank_mids.brownie_patch.types.DankContractTx_template :: type + r80 = CPyType_FromTemplate(r79, r77, r78) + dec_ref r77 + if is_error(r80) goto L49 (error at :28) else goto L28 +L28: + r81 = DankContractTx_trait_vtable_setup() + if is_error(r81) goto L56 (error at :-1) else goto L29 +L29: + r82 = '__mypyc_attrs__' + r83 = '__dict__' + r84 = PyTuple_Pack(1, r83) + if is_error(r84) goto L56 (error at :28) else goto L30 +L30: + r85 = PyObject_SetAttr(r80, r82, r84) + dec_ref r84 + r86 = r85 >= 0 :: signed + if not r86 goto L56 (error at :28) else goto L31 :: bool +L31: + dank_mids.brownie_patch.types.DankContractTx = r80 :: type + r87 = dank_mids.brownie_patch.types.globals :: static + r88 = 'DankContractTx' + r89 = CPyDict_SetItem(r87, r88, r80) + dec_ref r80 + r90 = r89 >= 0 :: signed + if not r90 goto L49 (error at :28) else goto L32 :: bool +L32: + r91 = dank_mids.brownie_patch.types.globals :: static + r92 = 'Union' + r93 = CPyDict_GetItem(r91, r92) + if is_error(r93) goto L49 (error at :39) else goto L33 +L33: + r94 = dank_mids.brownie_patch.types.DankContractCall :: type + r95 = dank_mids.brownie_patch.types.DankContractTx :: type + inc_ref r94 + inc_ref r95 + r96 = (r94, r95) + r97 = box(tuple[object, object], r96) + r98 = PyObject_GetItem(r93, r97) + dec_ref r93 + dec_ref r97 + if is_error(r98) goto L49 (error at :39) else goto L34 +L34: + r99 = dank_mids.brownie_patch.types.globals :: static + r100 = '_NonOverloaded' + r101 = CPyDict_SetItem(r99, r100, r98) + dec_ref r98 + r102 = r101 >= 0 :: signed + if not r102 goto L49 (error at :39) else goto L35 :: bool +L35: + r103 = dank_mids.brownie_patch.types.globals :: static + r104 = 'OverloadedMethod' + r105 = CPyDict_GetItem(r103, r104) + if is_error(r105) goto L49 (error at :44) else goto L36 +L36: + r106 = dank_mids.brownie_patch.types.globals :: static + r107 = '_DankMethodMixin' + r108 = CPyDict_GetItem(r106, r107) + if is_error(r108) goto L57 (error at :44) else goto L37 +L37: + r109 = dank_mids.brownie_patch.types.globals :: static + r110 = '_T' + r111 = CPyDict_GetItem(r109, r110) + if is_error(r111) goto L58 (error at :44) else goto L38 +L38: + r112 = PyObject_GetItem(r108, r111) + dec_ref r108 + dec_ref r111 + if is_error(r112) goto L57 (error at :44) else goto L39 +L39: + r113 = PyTuple_Pack(2, r105, r112) + dec_ref r105 + dec_ref r112 + if is_error(r113) goto L49 (error at :44) else goto L40 +L40: + r114 = 'dank_mids.brownie_patch.types' + r115 = dank_mids.brownie_patch.types.DankOverloadedMethod_template :: type + r116 = CPyType_FromTemplate(r115, r113, r114) + dec_ref r113 + if is_error(r116) goto L49 (error at :44) else goto L41 +L41: + r117 = DankOverloadedMethod_trait_vtable_setup() + if is_error(r117) goto L59 (error at :-1) else goto L42 +L42: + r118 = '__mypyc_attrs__' + r119 = 'methods' + r120 = '__dict__' + r121 = PyTuple_Pack(2, r119, r120) + if is_error(r121) goto L59 (error at :44) else goto L43 +L43: + r122 = PyObject_SetAttr(r116, r118, r121) + dec_ref r121 + r123 = r122 >= 0 :: signed + if not r123 goto L59 (error at :44) else goto L44 :: bool +L44: + dank_mids.brownie_patch.types.DankOverloadedMethod = r116 :: type + r124 = dank_mids.brownie_patch.types.globals :: static + r125 = 'DankOverloadedMethod' + r126 = CPyDict_SetItem(r124, r125, r116) + dec_ref r116 + r127 = r126 >= 0 :: signed + if not r127 goto L49 (error at :44) else goto L45 :: bool +L45: + r128 = dank_mids.brownie_patch.types.globals :: static + r129 = 'Union' + r130 = CPyDict_GetItem(r128, r129) + if is_error(r130) goto L49 (error at :96) else goto L46 +L46: + r131 = dank_mids.brownie_patch.types.DankContractCall :: type + r132 = dank_mids.brownie_patch.types.DankContractTx :: type + r133 = dank_mids.brownie_patch.types.DankOverloadedMethod :: type + inc_ref r131 + inc_ref r132 + inc_ref r133 + r134 = (r131, r132, r133) + r135 = box(tuple[object, object, object], r134) + r136 = PyObject_GetItem(r130, r135) + dec_ref r130 + dec_ref r135 + if is_error(r136) goto L49 (error at :96) else goto L47 +L47: + r137 = dank_mids.brownie_patch.types.globals :: static + r138 = 'DankContractMethod' + r139 = CPyDict_SetItem(r137, r138, r136) + dec_ref r136 + r140 = r139 >= 0 :: signed + if not r140 goto L49 (error at :96) else goto L48 :: bool +L48: + return 1 +L49: + r141 = :: None + return r141 +L50: + dec_ref r34 + goto L49 +L51: + dec_ref r34 + dec_ref r37 + goto L49 +L52: + dec_ref r34 + dec_ref r37 + dec_ref r40 + goto L49 +L53: + dec_ref r53 + goto L49 +L54: + dec_ref r60 + goto L49 +L55: + dec_ref r73 + goto L49 +L56: + dec_ref r80 + goto L49 +L57: + dec_ref r105 + goto L49 +L58: + dec_ref r105 + dec_ref r108 + goto L49 +L59: + dec_ref r116 + goto L49 + +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str + r4 :: object + r5 :: object_ptr + r6 :: object_ptr[1] + r7 :: c_ptr + r8 :: native_int[1] + r9 :: c_ptr + r10 :: object + r11 :: dict + r12, r13 :: str + r14 :: bit + r15 :: object + r16 :: str + r17 :: dict + r18, r19 :: object + r20 :: str + r21 :: object + r22 :: dict + r23 :: str + r24 :: i32 + r25 :: bit + r26 :: dict + r27 :: str + r28 :: object + r29 :: i32 + r30 :: bit + r31 :: dict + r32 :: str + r33 :: object + r34 :: i32 + r35 :: bit + r36 :: dict + r37 :: str + r38 :: object + r39 :: i32 + r40 :: bit + r41 :: dict + r42 :: str + r43 :: object + r44 :: i32 + r45 :: bit + r46 :: dict + r47 :: str + r48 :: object + r49 :: i32 + r50 :: bit + r51 :: dict + r52 :: str + r53 :: object + r54 :: i32 + r55 :: bit + r56 :: dict + r57 :: str + r58 :: object + r59 :: i32 + r60 :: bit + r61 :: dict + r62 :: str + r63 :: object + r64 :: i32 + r65 :: bit + r66 :: None +L0: + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool +L1: + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L16 (error at :-1) else goto L2 +L2: + builtins = r4 :: module + dec_ref r4 +L3: + r5 = load_address logging :: module + r6 = [r5] + r7 = load_address r6 + r8 = [1] + r9 = load_address r8 + r10 = (('logging', 'logging', 'logging'),) + r11 = dank_mids._logging.globals :: static + r12 = 'dank_mids\\_logging.py' + r13 = '' + r14 = CPyImport_ImportMany(r10, r7, r11, r12, r13, r9) + if not r14 goto L16 else goto L4 :: bool +L4: + r15 = ('Final',) + r16 = 'typing' + r17 = dank_mids._logging.globals :: static + r18 = CPyImport_ImportFromMany(r16, r15, r15, r17) + if is_error(r18) goto L16 (error at :2) else goto L5 +L5: + typing = r18 :: module + dec_ref r18 + r19 = logging :: module + r20 = 'getLogger' + r21 = CPyObject_GetAttr(r19, r20) + if is_error(r21) goto L16 (error at :5) else goto L6 +L6: + dank_mids._logging.getLogger = r21 :: static + r22 = dank_mids._logging.globals :: static + r23 = 'getLogger' + r24 = CPyDict_SetItem(r22, r23, r21) + dec_ref r21 + r25 = r24 >= 0 :: signed + if not r25 goto L16 (error at :5) else goto L7 :: bool +L7: + dank_mids._logging.CRITICAL = 100 :: static + r26 = dank_mids._logging.globals :: static + r27 = 'CRITICAL' + r28 = object 50 + r29 = CPyDict_SetItem(r26, r27, r28) + r30 = r29 >= 0 :: signed + if not r30 goto L16 (error at :6) else goto L8 :: bool +L8: + dank_mids._logging.FATAL = 100 :: static + r31 = dank_mids._logging.globals :: static + r32 = 'FATAL' + r33 = object 50 + r34 = CPyDict_SetItem(r31, r32, r33) + r35 = r34 >= 0 :: signed + if not r35 goto L16 (error at :7) else goto L9 :: bool +L9: + dank_mids._logging.ERROR = 80 :: static + r36 = dank_mids._logging.globals :: static + r37 = 'ERROR' + r38 = object 40 + r39 = CPyDict_SetItem(r36, r37, r38) + r40 = r39 >= 0 :: signed + if not r40 goto L16 (error at :8) else goto L10 :: bool +L10: + dank_mids._logging.WARN = 60 :: static + r41 = dank_mids._logging.globals :: static + r42 = 'WARN' + r43 = object 30 + r44 = CPyDict_SetItem(r41, r42, r43) + r45 = r44 >= 0 :: signed + if not r45 goto L16 (error at :9) else goto L11 :: bool +L11: + dank_mids._logging.WARNING = 60 :: static + r46 = dank_mids._logging.globals :: static + r47 = 'WARNING' + r48 = object 30 + r49 = CPyDict_SetItem(r46, r47, r48) + r50 = r49 >= 0 :: signed + if not r50 goto L16 (error at :10) else goto L12 :: bool +L12: + dank_mids._logging.INFO = 40 :: static + r51 = dank_mids._logging.globals :: static + r52 = 'INFO' + r53 = object 20 + r54 = CPyDict_SetItem(r51, r52, r53) + r55 = r54 >= 0 :: signed + if not r55 goto L16 (error at :11) else goto L13 :: bool +L13: + dank_mids._logging.DEBUG = 20 :: static + r56 = dank_mids._logging.globals :: static + r57 = 'DEBUG' + r58 = object 10 + r59 = CPyDict_SetItem(r56, r57, r58) + r60 = r59 >= 0 :: signed + if not r60 goto L16 (error at :12) else goto L14 :: bool +L14: + dank_mids._logging.NOTSET = 0 :: static + r61 = dank_mids._logging.globals :: static + r62 = 'NOTSET' + r63 = object 0 + r64 = CPyDict_SetItem(r61, r62, r63) + r65 = r64 >= 0 :: signed + if not r65 goto L16 (error at :13) else goto L15 :: bool +L15: + return 1 +L16: + r66 = :: None + return r66 + +def decode_raw(data): + data, r0 :: object + r1 :: bool + r2 :: object + r3 :: bool + r4 :: object[2] + r5 :: object_ptr + r6, r7, r8 :: object + r9 :: bool + r10 :: object[1] + r11 :: object_ptr + r12 :: object + r13 :: tuple[object, object, object] + r14 :: object + r15 :: bool + r16 :: bit + r17 :: object + r18 :: str + r19 :: object + r20 :: list + r21 :: object + r22 :: i32 + r23 :: bit + r24 :: tuple + r25 :: str + r26 :: i32 + r27, r28 :: bit + r29 :: object L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L103 (error at :-1) else goto L2 + r0 = dank_mids.helpers._codec.Raw :: static + if is_error(r0) goto L2 else goto L4 L2: - builtins = r4 :: module - dec_ref r4 + r1 = raise NameError('value for final name "Raw" was not set') + if not r1 goto L13 (error at decode_raw:45) else goto L3 :: bool L3: - r5 = ('accumulate', 'chain') - r6 = 'itertools' - r7 = dank_mids.helpers._codec.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L103 (error at :1) else goto L4 + unreachable L4: - itertools = r8 :: module - dec_ref r8 - r9 = ('Any', 'AnyStr', 'Callable', 'Final', 'Iterable', 'List', 'Union', 'Tuple', 'TypeVar') - r10 = 'typing' - r11 = dank_mids.helpers._codec.globals :: static - r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) - if is_error(r12) goto L103 (error at :2) else goto L5 + r2 = dank_mids.helpers._codec.json_decode :: static + if is_error(r2) goto L5 else goto L7 L5: - typing = r12 :: module - dec_ref r12 - r13 = load_address msgspec :: module - r14 = load_address msgspec.json :: module - r15 = [r13, r14] - r16 = load_address r15 - r17 = [4, 5] - r18 = load_address r17 - r19 = (('msgspec', 'msgspec', 'msgspec'), ('msgspec.json', 'msgspec', 'msgspec')) - r20 = dank_mids.helpers._codec.globals :: static - r21 = 'dank_mids\\helpers\\_codec.py' - r22 = '' - r23 = CPyImport_ImportMany(r19, r16, r20, r21, r22, r18) - if not r23 goto L103 else goto L6 :: bool + r3 = raise NameError('value for final name "json_decode" was not set') + if not r3 goto L13 (error at decode_raw:45) else goto L6 :: bool L6: - r24 = ('decoding', 'encoding') - r25 = 'eth_abi' - r26 = dank_mids.helpers._codec.globals :: static - r27 = CPyImport_ImportFromMany(r25, r24, r24, r26) - if is_error(r27) goto L103 (error at :6) else goto L7 + unreachable L7: - eth_abi = r27 :: module - dec_ref r27 - r28 = ('default_codec',) - r29 = 'eth_abi.abi' - r30 = dank_mids.helpers._codec.globals :: static - r31 = CPyImport_ImportFromMany(r29, r28, r28, r30) - if is_error(r31) goto L103 (error at :7) else goto L8 + r4 = [data, r0] + r5 = load_address r4 + r6 = ('type',) + r7 = _PyObject_Vectorcall(r2, r5, 1, r6) + if is_error(r7) goto L13 (error at decode_raw:45) else goto L8 L8: - eth_abi.abi = r31 :: module - dec_ref r31 - r32 = ('DynamicArrayEncoder', 'TupleEncoder') - r33 = 'eth_abi.encoding' - r34 = dank_mids.helpers._codec.globals :: static - r35 = CPyImport_ImportFromMany(r33, r32, r32, r34) - if is_error(r35) goto L103 (error at :8) else goto L9 + r8 = dank_mids.helpers._codec.RawResponse :: static + if is_error(r8) goto L30 else goto L11 L9: - eth_abi.encoding = r35 :: module - dec_ref r35 - r36 = ('types',) - r37 = 'dank_mids' - r38 = dank_mids.helpers._codec.globals :: static - r39 = CPyImport_ImportFromMany(r37, r36, r36, r38) - if is_error(r39) goto L103 (error at :10) else goto L10 + r9 = raise NameError('value for final name "RawResponse" was not set') + if not r9 goto L13 (error at decode_raw:45) else goto L10 :: bool L10: - dank_mids = r39 :: module - dec_ref r39 - r40 = ('JSONRPCBatchResponseRaw', 'MulticallChunk', 'PartialResponse') - r41 = 'dank_mids.types' - r42 = dank_mids.helpers._codec.globals :: static - r43 = CPyImport_ImportFromMany(r41, r40, r40, r42) - if is_error(r43) goto L103 (error at :11) else goto L11 + unreachable L11: - dank_mids.types = r43 :: module - dec_ref r43 - r44 = '__T' - r45 = dank_mids.helpers._codec.globals :: static - r46 = 'TypeVar' - r47 = CPyDict_GetItem(r45, r46) - if is_error(r47) goto L103 (error at :14) else goto L12 + r10 = [r7] + r11 = load_address r10 + r12 = _PyObject_Vectorcall(r8, r11, 1, 0) + if is_error(r12) goto L31 (error at decode_raw:45) else goto L12 L12: - r48 = [r44] - r49 = load_address r48 - r50 = _PyObject_Vectorcall(r47, r49, 1, 0) - dec_ref r47 - if is_error(r50) goto L103 (error at :14) else goto L13 + dec_ref r7 + return r12 L13: - r51 = dank_mids.helpers._codec.globals :: static - r52 = '__T' - r53 = CPyDict_SetItem(r51, r52, r50) - dec_ref r50 - r54 = r53 >= 0 :: signed - if not r54 goto L103 (error at :14) else goto L14 :: bool + r13 = CPy_CatchError() + r14 = dank_mids.helpers._codec.DecodeError :: static + if is_error(r14) goto L14 else goto L16 L14: - r55 = dank_mids.helpers._codec.globals :: static - r56 = 'Callable' - r57 = CPyDict_GetItem(r55, r56) - if is_error(r57) goto L103 (error at :16) else goto L15 + r15 = raise NameError('value for final name "DecodeError" was not set') + if not r15 goto L27 (error at decode_raw:46) else goto L32 :: bool L15: - r58 = dank_mids.helpers._codec.globals :: static - r59 = 'Tuple' - r60 = CPyDict_GetItem(r58, r59) - if is_error(r60) goto L104 (error at :16) else goto L16 + unreachable L16: - r61 = load_address PyBool_Type - r62 = dank_mids.helpers._codec.globals :: static - r63 = 'Iterable' - r64 = CPyDict_GetItem(r62, r63) - if is_error(r64) goto L105 (error at :16) else goto L17 + r16 = CPy_ExceptionMatches(r14) + if r16 goto L17 else goto L25 :: bool L17: - r65 = dank_mids.helpers._codec.globals :: static - r66 = 'MulticallChunk' - r67 = CPyDict_GetItem(r65, r66) - if is_error(r67) goto L106 (error at :16) else goto L18 + r17 = CPy_GetExcValue() + r18 = 'args' + r19 = CPyObject_GetAttr(r17, r18) + if is_error(r19) goto L33 (error at decode_raw:47) else goto L18 L18: - r68 = PyObject_GetItem(r64, r67) - dec_ref r64 - dec_ref r67 - if is_error(r68) goto L105 (error at :16) else goto L19 + r20 = PyList_New(0) + if is_error(r20) goto L34 (error at decode_raw:47) else goto L19 L19: - inc_ref r61 - r69 = (r61, r68) - r70 = box(tuple[object, object], r69) - r71 = PyObject_GetItem(r60, r70) - dec_ref r60 - dec_ref r70 - if is_error(r71) goto L104 (error at :16) else goto L20 + r21 = CPyList_Extend(r20, r19) + dec_ref r19 + if is_error(r21) goto L35 (error at decode_raw:47) else goto L36 L20: - r72 = PyList_New(1) - if is_error(r72) goto L107 (error at :16) else goto L21 + r22 = PyList_Append(r20, data) + r23 = r22 >= 0 :: signed + if not r23 goto L35 (error at decode_raw:47) else goto L21 :: bool L21: - r73 = get_element_ptr r72 ob_item :: PyListObject - r74 = load_mem r73 :: ptr* - set_mem r74, r71 :: builtins.object* - r75 = load_address PyBytes_Type - inc_ref r75 - r76 = (r72, r75) - r77 = box(tuple[list, object], r76) - r78 = PyObject_GetItem(r57, r77) - dec_ref r57 - dec_ref r77 - if is_error(r78) goto L103 (error at :16) else goto L22 + r24 = PyList_AsTuple(r20) + dec_ref r20 + if is_error(r24) goto L33 (error at decode_raw:47) else goto L22 L22: - r79 = dank_mids.helpers._codec.globals :: static - r80 = 'MulticallEncoder' - r81 = CPyDict_SetItem(r79, r80, r78) - dec_ref r78 - r82 = r81 >= 0 :: signed - if not r82 goto L103 (error at :16) else goto L23 :: bool + r25 = 'args' + r26 = PyObject_SetAttr(r17, r25, r24) + dec_ref r17 + dec_ref r24 + r27 = r26 >= 0 :: signed + if not r27 goto L27 (error at decode_raw:47) else goto L23 :: bool L23: - r83 = dank_mids.helpers._codec.globals :: static - r84 = 'Tuple' - r85 = CPyDict_GetItem(r83, r84) - if is_error(r85) goto L103 (error at :18) else goto L24 + CPy_Reraise() + if not 0 goto L27 else goto L37 :: bool L24: - r86 = load_address PyLong_Type - r87 = load_address PyLong_Type - r88 = dank_mids.helpers._codec.globals :: static - r89 = 'Tuple' - r90 = CPyDict_GetItem(r88, r89) - if is_error(r90) goto L108 (error at :18) else goto L25 -L25: - r91 = dank_mids.helpers._codec.globals :: static - r92 = 'Tuple' - r93 = CPyDict_GetItem(r91, r92) - if is_error(r93) goto L109 (error at :18) else goto L26 + unreachable +L25: + CPy_Reraise() + if not 0 goto L27 else goto L38 :: bool L26: - r94 = 'Success' - r95 = load_address PyBytes_Type - inc_ref r94 - inc_ref r95 - r96 = (r94, r95) - r97 = box(tuple[str, object], r96) - r98 = PyObject_GetItem(r93, r97) - dec_ref r93 - dec_ref r97 - if is_error(r98) goto L109 (error at :18) else goto L27 + unreachable L27: - r99 = load_address _Py_EllipsisObject - inc_ref r99 - r100 = (r98, r99) - r101 = box(tuple[object, object], r100) - r102 = PyObject_GetItem(r90, r101) - dec_ref r90 - dec_ref r101 - if is_error(r102) goto L108 (error at :18) else goto L28 + CPy_RestoreExcInfo(r13) + dec_ref r13 + r28 = CPy_KeepPropagating() + if not r28 goto L29 else goto L28 :: bool L28: - inc_ref r86 - inc_ref r87 - r103 = (r86, r87, r102) - r104 = box(tuple[object, object, object], r103) - r105 = PyObject_GetItem(r85, r104) - dec_ref r85 - dec_ref r104 - if is_error(r105) goto L103 (error at :18) else goto L29 + unreachable L29: - r106 = dank_mids.helpers._codec.globals :: static - r107 = 'DecodedMulticall' - r108 = CPyDict_SetItem(r106, r107, r105) - dec_ref r105 - r109 = r108 >= 0 :: signed - if not r109 goto L103 (error at :18) else goto L30 :: bool + r29 = :: object + return r29 L30: - r110 = dank_mids.helpers._codec.globals :: static - r111 = 'Callable' - r112 = CPyDict_GetItem(r110, r111) - if is_error(r112) goto L103 (error at :19) else goto L31 + dec_ref r7 + goto L9 L31: - r113 = load_address _Py_EllipsisObject - r114 = dank_mids.helpers._codec.globals :: static - r115 = 'DecodedMulticall' - r116 = CPyDict_GetItem(r114, r115) - if is_error(r116) goto L110 (error at :19) else goto L32 + dec_ref r7 + goto L13 L32: - inc_ref r113 - r117 = (r113, r116) - r118 = box(tuple[object, object], r117) - r119 = PyObject_GetItem(r112, r118) - dec_ref r112 - dec_ref r118 - if is_error(r119) goto L103 (error at :19) else goto L33 + dec_ref r13 + goto L15 L33: - r120 = dank_mids.helpers._codec.globals :: static - r121 = 'MulticallDecoder' - r122 = CPyDict_SetItem(r120, r121, r119) - dec_ref r119 - r123 = r122 >= 0 :: signed - if not r123 goto L103 (error at :19) else goto L34 :: bool + dec_ref r17 + goto L27 L34: - r124 = dank_mids.helpers._codec.globals :: static - r125 = 'msgspec' - r126 = CPyDict_GetItem(r124, r125) - if is_error(r126) goto L103 (error at :23) else goto L35 + dec_ref r17 + dec_ref r19 + goto L27 L35: - r127 = 'Raw' - r128 = CPyObject_GetAttr(r126, r127) - dec_ref r126 - if is_error(r128) goto L103 (error at :23) else goto L36 + dec_ref r17 + dec_ref r20 + goto L27 L36: - dank_mids.helpers._codec.Raw = r128 :: static - r129 = dank_mids.helpers._codec.globals :: static - r130 = 'Raw' - r131 = CPyDict_SetItem(r129, r130, r128) - dec_ref r128 - r132 = r131 >= 0 :: signed - if not r132 goto L103 (error at :23) else goto L37 :: bool -L37: - r133 = dank_mids.types :: module - r134 = 'RawResponse' - r135 = CPyObject_GetAttr(r133, r134) - if is_error(r135) goto L103 (error at :24) else goto L38 -L38: - dank_mids.helpers._codec.RawResponse = r135 :: static - r136 = dank_mids.helpers._codec.globals :: static - r137 = 'RawResponse' - r138 = CPyDict_SetItem(r136, r137, r135) - dec_ref r135 - r139 = r138 >= 0 :: signed - if not r139 goto L103 (error at :24) else goto L39 :: bool -L39: - r140 = dank_mids.helpers._codec.globals :: static - r141 = 'decoding' - r142 = CPyDict_GetItem(r140, r141) - if is_error(r142) goto L103 (error at :25) else goto L40 -L40: - r143 = 'ContextFramesBytesIO' - r144 = CPyObject_GetAttr(r142, r143) - dec_ref r142 - if is_error(r144) goto L103 (error at :25) else goto L41 -L41: - dank_mids.helpers._codec.ContextFramesBytesIO = r144 :: static - r145 = dank_mids.helpers._codec.globals :: static - r146 = 'ContextFramesBytesIO' - r147 = CPyDict_SetItem(r145, r146, r144) - dec_ref r144 - r148 = r147 >= 0 :: signed - if not r148 goto L103 (error at :25) else goto L42 :: bool -L42: - r149 = dank_mids.helpers._codec.globals :: static - r150 = 'msgspec' - r151 = CPyDict_GetItem(r149, r150) - if is_error(r151) goto L103 (error at :26) else goto L43 -L43: - r152 = 'DecodeError' - r153 = CPyObject_GetAttr(r151, r152) - dec_ref r151 - if is_error(r153) goto L103 (error at :26) else goto L44 -L44: - dank_mids.helpers._codec.DecodeError = r153 :: static - r154 = dank_mids.helpers._codec.globals :: static - r155 = 'DecodeError' - r156 = CPyDict_SetItem(r154, r155, r153) - dec_ref r153 - r157 = r156 >= 0 :: signed - if not r157 goto L103 (error at :26) else goto L45 :: bool -L45: - r158 = dank_mids.helpers._codec.globals :: static - r159 = 'msgspec' - r160 = CPyDict_GetItem(r158, r159) - if is_error(r160) goto L103 (error at :28) else goto L46 -L46: - r161 = 'json' - r162 = CPyObject_GetAttr(r160, r161) - dec_ref r160 - if is_error(r162) goto L103 (error at :28) else goto L47 -L47: - r163 = 'encode' - r164 = CPyObject_GetAttr(r162, r163) - dec_ref r162 - if is_error(r164) goto L103 (error at :28) else goto L48 -L48: - dank_mids.helpers._codec.json_encode = r164 :: static - r165 = dank_mids.helpers._codec.globals :: static - r166 = 'json_encode' - r167 = CPyDict_SetItem(r165, r166, r164) - dec_ref r164 - r168 = r167 >= 0 :: signed - if not r168 goto L103 (error at :28) else goto L49 :: bool -L49: - r169 = dank_mids.helpers._codec.globals :: static - r170 = 'msgspec' - r171 = CPyDict_GetItem(r169, r170) - if is_error(r171) goto L103 (error at :29) else goto L50 -L50: - r172 = 'json' - r173 = CPyObject_GetAttr(r171, r172) - dec_ref r171 - if is_error(r173) goto L103 (error at :29) else goto L51 -L51: - r174 = 'decode' - r175 = CPyObject_GetAttr(r173, r174) - dec_ref r173 - if is_error(r175) goto L103 (error at :29) else goto L52 -L52: - dank_mids.helpers._codec.json_decode = r175 :: static - r176 = dank_mids.helpers._codec.globals :: static - r177 = 'json_decode' - r178 = CPyDict_SetItem(r176, r177, r175) - dec_ref r175 - r179 = r178 >= 0 :: signed - if not r179 goto L103 (error at :29) else goto L53 :: bool -L53: - r180 = dank_mids.helpers._codec.globals :: static - r181 = 'encoding' - r182 = CPyDict_GetItem(r180, r181) - if is_error(r182) goto L103 (error at :30) else goto L54 -L54: - r183 = 'encode_uint_256' - r184 = CPyObject_GetAttr(r182, r183) - dec_ref r182 - if is_error(r184) goto L103 (error at :30) else goto L55 -L55: - dank_mids.helpers._codec.encode_uint_256 = r184 :: static - r185 = dank_mids.helpers._codec.globals :: static - r186 = 'encode_uint_256' - r187 = CPyDict_SetItem(r185, r186, r184) - dec_ref r184 - r188 = r187 >= 0 :: signed - if not r188 goto L103 (error at :30) else goto L56 :: bool -L56: - r189 = dank_mids.types :: module - r190 = '_encode_hook' - r191 = CPyObject_GetAttr(r189, r190) - if is_error(r191) goto L103 (error at :31) else goto L57 -L57: - dank_mids.helpers._codec._encode_hook = r191 :: static - r192 = dank_mids.helpers._codec.globals :: static - r193 = '_encode_hook' - r194 = CPyDict_SetItem(r192, r193, r191) - dec_ref r191 - r195 = r194 >= 0 :: signed - if not r195 goto L103 (error at :31) else goto L58 :: bool -L58: - r196 = dank_mids.helpers._codec.globals :: static - r197 = 'default_codec' - r198 = CPyDict_GetItem(r196, r197) - if is_error(r198) goto L103 (error at :85) else goto L59 -L59: - r199 = '_registry' - r200 = CPyObject_GetAttr(r198, r199) - dec_ref r198 - if is_error(r200) goto L103 (error at :85) else goto L60 -L60: - r201 = '(bool,(address,bytes)[])' - r202 = 'get_encoder' - r203 = [r200, r201] - r204 = load_address r203 - r205 = PyObject_VectorcallMethod(r202, r204, 9223372036854775810, 0) - if is_error(r205) goto L111 (error at :85) else goto L61 -L61: - dec_ref r200 - dank_mids.helpers._codec._mcall_encoder = r205 :: static - r206 = dank_mids.helpers._codec.globals :: static - r207 = '_mcall_encoder' - r208 = CPyDict_SetItem(r206, r207, r205) - dec_ref r205 - r209 = r208 >= 0 :: signed - if not r209 goto L103 (error at :85) else goto L62 :: bool -L62: - r210 = dank_mids.helpers._codec._mcall_encoder :: static - if is_error(r210) goto L63 else goto L65 -L63: - r211 = raise NameError('value for final name "_mcall_encoder" was not set') - if not r211 goto L103 (error at :88) else goto L64 :: bool -L64: + dec_ref r21 + goto L20 +L37: + dec_ref r13 + goto L24 +L38: + dec_ref r13 + goto L26 + +def decode_jsonrpc_batch(data): + data :: object + r0 :: dict + r1 :: str + r2, r3 :: object + r4 :: bool + r5 :: object[2] + r6 :: object_ptr + r7, r8, r9 :: object + r10 :: i32 + r11 :: bit + r12 :: bool + r13 :: list + r14 :: ptr + r15 :: native_int + r16 :: list + r17 :: short_int + r18 :: ptr + r19 :: native_int + r20 :: short_int + r21 :: bit + r22 :: native_int + r23, r24 :: ptr + r25 :: native_int + r26 :: ptr + r27, r28 :: object + r29 :: bool + r30 :: object[1] + r31 :: object_ptr + r32 :: object + r33 :: bit + r34 :: short_int + r35, r36 :: union[list, object] +L0: + r0 = dank_mids.helpers._codec.globals :: static + r1 = 'JSONRPCBatchResponseRaw' + r2 = CPyDict_GetItem(r0, r1) + if is_error(r2) goto L20 (error at decode_jsonrpc_batch:61) else goto L1 +L1: + r3 = dank_mids.helpers._codec.json_decode :: static + if is_error(r3) goto L21 else goto L4 +L2: + r4 = raise NameError('value for final name "json_decode" was not set') + if not r4 goto L20 (error at decode_jsonrpc_batch:61) else goto L3 :: bool +L3: unreachable -L65: - r212 = 'encoders' - r213 = CPyObject_GetAttr(r210, r212) - if is_error(r213) goto L103 (error at :88) else goto L66 -L66: - r214 = object -1 - r215 = PyObject_GetItem(r213, r214) - dec_ref r213 - if is_error(r215) goto L103 (error at :88) else goto L67 -L67: - dank_mids.helpers._codec._array_encoder = r215 :: static - r216 = dank_mids.helpers._codec.globals :: static - r217 = '_array_encoder' - r218 = CPyDict_SetItem(r216, r217, r215) - dec_ref r215 - r219 = r218 >= 0 :: signed - if not r219 goto L103 (error at :88) else goto L68 :: bool -L68: - r220 = dank_mids.helpers._codec._array_encoder :: static - if is_error(r220) goto L69 else goto L71 -L69: - r221 = raise NameError('value for final name "_array_encoder" was not set') - if not r221 goto L103 (error at :89) else goto L70 :: bool -L70: +L4: + r5 = [data, r2] + r6 = load_address r5 + r7 = ('type',) + r8 = _PyObject_Vectorcall(r3, r6, 1, r7) + if is_error(r8) goto L22 (error at decode_jsonrpc_batch:61) else goto L5 +L5: + dec_ref r2 + r9 = load_address PyList_Type + r10 = PyObject_IsInstance(r8, r9) + r11 = r10 >= 0 :: signed + if not r11 goto L23 (error at decode_jsonrpc_batch:62) else goto L6 :: bool +L6: + r12 = truncate r10: i32 to builtins.bool + if r12 goto L7 else goto L18 :: bool +L7: + r13 = cast(list, r8) + if is_error(r13) goto L20 (error at decode_jsonrpc_batch:62) else goto L8 +L8: + r14 = get_element_ptr r13 ob_size :: PyVarObject + r15 = load_mem r14 :: native_int* + r16 = PyList_New(r15) + if is_error(r16) goto L24 (error at decode_jsonrpc_batch:62) else goto L9 +L9: + r17 = 0 +L10: + r18 = get_element_ptr r13 ob_size :: PyVarObject + r19 = load_mem r18 :: native_int* + r20 = r19 << 1 + r21 = r17 < r20 :: signed + if r21 goto L11 else goto L25 :: bool +L11: + r22 = r17 >> 1 + r23 = get_element_ptr r13 ob_item :: PyListObject + r24 = load_mem r23 :: ptr* + r25 = r22 * 8 + r26 = r24 + r25 + r27 = load_mem r26 :: builtins.object* + inc_ref r27 + r28 = dank_mids.helpers._codec.RawResponse :: static + if is_error(r28) goto L26 else goto L14 +L12: + r29 = raise NameError('value for final name "RawResponse" was not set') + if not r29 goto L20 (error at decode_jsonrpc_batch:62) else goto L13 :: bool +L13: unreachable -L71: - r222 = 'item_encoder' - r223 = CPyObject_GetAttr(r220, r222) - if is_error(r223) goto L103 (error at :89) else goto L72 -L72: - dank_mids.helpers._codec._item_encoder = r223 :: static - r224 = dank_mids.helpers._codec.globals :: static - r225 = '_item_encoder' - r226 = CPyDict_SetItem(r224, r225, r223) - dec_ref r223 - r227 = r226 >= 0 :: signed - if not r227 goto L103 (error at :89) else goto L73 :: bool -L73: - r228 = __mypyc_lambda__0_obj() - if is_error(r228) goto L103 (error at :92) else goto L74 -L74: - r229 = dank_mids.helpers._codec._mcall_encoder :: static - if is_error(r229) goto L112 else goto L77 -L75: - r230 = raise NameError('value for final name "_mcall_encoder" was not set') - if not r230 goto L103 (error at :92) else goto L76 :: bool -L76: +L14: + r30 = [r27] + r31 = load_address r30 + r32 = _PyObject_Vectorcall(r28, r31, 1, 0) + if is_error(r32) goto L27 (error at decode_jsonrpc_batch:62) else goto L15 +L15: + dec_ref r27 + r33 = CPyList_SetItemUnsafe(r16, r17, r32) + if not r33 goto L28 (error at decode_jsonrpc_batch:62) else goto L16 :: bool +L16: + r34 = r17 + 2 + r17 = r34 + goto L10 +L17: + r35 = r16 + goto L19 +L18: + r35 = r8 +L19: + return r35 +L20: + r36 = :: union[object, list] + return r36 +L21: + dec_ref r2 + goto L2 +L22: + dec_ref r2 + goto L20 +L23: + dec_ref r8 + goto L20 +L24: + dec_ref r13 + goto L20 +L25: + dec_ref r13 + goto L17 +L26: + dec_ref r13 + dec_ref r16 + dec_ref r27 + goto L12 +L27: + dec_ref r13 + dec_ref r16 + dec_ref r27 + goto L20 +L28: + dec_ref r13 + dec_ref r16 + goto L20 + +def encode(obj): + obj, r0 :: object + r1 :: bool + r2 :: object + r3 :: bool + r4 :: object[2] + r5 :: object_ptr + r6, r7 :: object + r8, r9 :: bytes +L0: + r0 = dank_mids.helpers._codec._encode_hook :: static + if is_error(r0) goto L1 else goto L3 +L1: + r1 = raise NameError('value for final name "_encode_hook" was not set') + if not r1 goto L9 (error at encode:80) else goto L2 :: bool +L2: unreachable -L77: - r231 = 'validate_value' - r232 = PyObject_SetAttr(r229, r231, r228) - r233 = r232 >= 0 :: signed - if not r233 goto L113 (error at :92) else goto L78 :: bool -L78: - r234 = dank_mids.helpers._codec._array_encoder :: static - if is_error(r234) goto L114 else goto L81 -L79: - r235 = raise NameError('value for final name "_array_encoder" was not set') - if not r235 goto L103 (error at :92) else goto L80 :: bool -L80: +L3: + r2 = dank_mids.helpers._codec.json_encode :: static + if is_error(r2) goto L4 else goto L6 +L4: + r3 = raise NameError('value for final name "json_encode" was not set') + if not r3 goto L9 (error at encode:80) else goto L5 :: bool +L5: unreachable -L81: - r236 = 'validate_value' - r237 = PyObject_SetAttr(r234, r236, r228) - r238 = r237 >= 0 :: signed - if not r238 goto L113 (error at :92) else goto L82 :: bool -L82: - r239 = dank_mids.helpers._codec._item_encoder :: static - if is_error(r239) goto L115 else goto L85 -L83: - r240 = raise NameError('value for final name "_item_encoder" was not set') - if not r240 goto L103 (error at :92) else goto L84 :: bool -L84: +L6: + r4 = [obj, r0] + r5 = load_address r4 + r6 = ('enc_hook',) + r7 = _PyObject_Vectorcall(r2, r5, 1, r6) + if is_error(r7) goto L9 (error at encode:80) else goto L7 +L7: + r8 = cast(bytes, r7) + if is_error(r8) goto L9 (error at encode:80) else goto L8 +L8: + return r8 +L9: + r9 = :: bytes + return r9 + +def __mypyc_lambda__0_obj.__get__(__mypyc_self__, instance, owner): + __mypyc_self__, instance, owner, r0 :: object + r1 :: bit + r2, r3 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = instance == r0 + if r1 goto L1 else goto L2 :: bool +L1: + inc_ref __mypyc_self__ + return __mypyc_self__ +L2: + r2 = PyMethod_New(__mypyc_self__, instance) + if is_error(r2) goto L4 else goto L3 +L3: + return r2 +L4: + r3 = :: object + return r3 + +def __mypyc_lambda__0_obj.__call__(__mypyc_self__, _): + __mypyc_self__ :: dank_mids.helpers._codec.__mypyc_lambda__0_obj + _, r0 :: object +L0: + r0 = load_address _Py_EllipsisObject + inc_ref r0 + return r0 + +def __encode_new(values): + values :: object + r0 :: tuple[bytes, int] + r1, r2 :: bytes + r3, r4 :: int + r5 :: object + r6 :: bool + r7 :: object + r8 :: object[1] + r9 :: object_ptr + r10, r11 :: object + r12, r13 :: bytes +L0: + r0 = __encode_elements_new(values) + if is_error(r0) goto L8 (error at __encode_new:96) else goto L1 +L1: + r1 = borrow r0[0] + r2 = unborrow r1 + r3 = borrow r0[1] + r4 = unborrow r3 + r5 = dank_mids.helpers._codec.encode_uint_256 :: static + if is_error(r5) goto L9 else goto L4 +L2: + r6 = raise NameError('value for final name "encode_uint_256" was not set') + if not r6 goto L8 (error at __encode_new:97) else goto L3 :: bool +L3: unreachable -L85: - r241 = 'validate_value' - r242 = PyObject_SetAttr(r239, r241, r228) - dec_ref r228 - r243 = r242 >= 0 :: signed - if not r243 goto L103 (error at :92) else goto L86 :: bool -L86: - r244 = dank_mids.helpers._codec.globals :: static - r245 = '__encode_new' - r246 = CPyDict_GetItem(r244, r245) - if is_error(r246) goto L103 (error at :109) else goto L87 -L87: - r247 = dank_mids.helpers._codec._array_encoder :: static - if is_error(r247) goto L116 else goto L90 -L88: - r248 = raise NameError('value for final name "_array_encoder" was not set') - if not r248 goto L103 (error at :109) else goto L89 :: bool -L89: +L4: + r7 = box(int, r4) + r8 = [r7] + r9 = load_address r8 + r10 = _PyObject_Vectorcall(r5, r9, 1, 0) + if is_error(r10) goto L10 (error at __encode_new:97) else goto L5 +L5: + dec_ref r7 + r11 = PyNumber_Add(r10, r2) + dec_ref r10 + dec_ref r2 + if is_error(r11) goto L8 (error at __encode_new:97) else goto L6 +L6: + r12 = cast(bytes, r11) + if is_error(r12) goto L8 (error at __encode_new:97) else goto L7 +L7: + return r12 +L8: + r13 = :: bytes + return r13 +L9: + dec_ref r2 + dec_ref r4 :: int + goto L2 +L10: + dec_ref r2 + dec_ref r7 + goto L8 + +def __encode_elements_new(values): + values :: object + r0 :: list + r1, r2 :: object + r3 :: tuple[object, object] + r4 :: object + r5 :: bool + r6 :: object + r7 :: object[1] + r8 :: object_ptr + r9 :: object + r10 :: i32 + r11, r12 :: bit + r13 :: ptr + r14 :: native_int + r15 :: short_int + count, r16 :: int + r17 :: tuple[int] + r18 :: object + r19 :: list + r20 :: ptr + r21 :: native_int + r22 :: list + r23 :: short_int + r24 :: ptr + r25 :: native_int + r26 :: short_int + r27 :: bit + r28 :: native_int + r29, r30 :: ptr + r31 :: native_int + r32 :: ptr + r33 :: object + r34 :: int + r35 :: object + r36 :: bit + r37 :: short_int + r38 :: object + r39 :: dict + r40 :: str + r41 :: object + r42 :: object[1] + r43 :: object_ptr + r44 :: object + r45 :: dict + r46 :: str + r47, r48 :: object + r49 :: object[2] + r50 :: object_ptr + r51 :: object + r52 :: list + r53, r54 :: object + r55, r56 :: int + r57 :: object + r58 :: bool + r59 :: object + r60 :: object[1] + r61 :: object_ptr + r62 :: object + r63 :: i32 + r64, r65 :: bit + r66 :: object + r67 :: bytes + r68 :: dict + r69 :: str + r70 :: object + r71 :: object[2] + r72 :: object_ptr + r73 :: object + r74 :: bytes + r75, r76 :: tuple[bytes, int] +L0: + r0 = PyList_New(0) + if is_error(r0) goto L38 (error at __encode_elements_new:101) else goto L1 +L1: + r1 = PyObject_GetIter(values) + if is_error(r1) goto L39 (error at __encode_elements_new:101) else goto L2 +L2: + r2 = PyIter_Next(r1) + if is_error(r2) goto L40 else goto L3 +L3: + r3 = unbox(tuple[object, object], r2) + dec_ref r2 + if is_error(r3) goto L41 (error at __encode_elements_new:101) else goto L4 +L4: + r4 = dank_mids.helpers._codec._item_encoder :: static + if is_error(r4) goto L42 else goto L7 +L5: + r5 = raise NameError('value for final name "_item_encoder" was not set') + if not r5 goto L38 (error at __encode_elements_new:101) else goto L6 :: bool +L6: unreachable -L90: - r249 = 'encode' - r250 = PyObject_SetAttr(r247, r249, r246) - dec_ref r246 - r251 = r250 >= 0 :: signed - if not r251 goto L103 (error at :109) else goto L91 :: bool -L91: - r252 = dank_mids.helpers._codec.globals :: static - r253 = '__encode_elements_new' - r254 = CPyDict_GetItem(r252, r253) - if is_error(r254) goto L103 (error at :110) else goto L92 -L92: - r255 = dank_mids.helpers._codec._array_encoder :: static - if is_error(r255) goto L117 else goto L95 -L93: - r256 = raise NameError('value for final name "_array_encoder" was not set') - if not r256 goto L103 (error at :110) else goto L94 :: bool -L94: +L7: + r6 = box(tuple[object, object], r3) + r7 = [r6] + r8 = load_address r7 + r9 = _PyObject_Vectorcall(r4, r8, 1, 0) + if is_error(r9) goto L43 (error at __encode_elements_new:101) else goto L8 +L8: + dec_ref r6 + r10 = PyList_Append(r0, r9) + dec_ref r9 + r11 = r10 >= 0 :: signed + if not r11 goto L41 (error at __encode_elements_new:101) else goto L2 :: bool +L9: + r12 = CPy_NoErrOccurred() + if not r12 goto L39 (error at __encode_elements_new:101) else goto L10 :: bool +L10: + r13 = get_element_ptr r0 ob_size :: PyVarObject + r14 = load_mem r13 :: native_int* + r15 = r14 << 1 + count = r15 + r16 = CPyTagged_Multiply(64, count) + r17 = (0) + r18 = CPyList_GetSlice(r0, 0, -2) + if is_error(r18) goto L44 (error at __encode_elements_new:104) else goto L11 +L11: + r19 = cast(list, r18) + if is_error(r19) goto L44 (error at __encode_elements_new:104) else goto L12 +L12: + r20 = get_element_ptr r19 ob_size :: PyVarObject + r21 = load_mem r20 :: native_int* + r22 = PyList_New(r21) + if is_error(r22) goto L45 (error at __encode_elements_new:104) else goto L13 +L13: + r23 = 0 +L14: + r24 = get_element_ptr r19 ob_size :: PyVarObject + r25 = load_mem r24 :: native_int* + r26 = r25 << 1 + r27 = r23 < r26 :: signed + if r27 goto L15 else goto L46 :: bool +L15: + r28 = r23 >> 1 + r29 = get_element_ptr r19 ob_item :: PyListObject + r30 = load_mem r29 :: ptr* + r31 = r28 * 8 + r32 = r30 + r31 + r33 = load_mem r32 :: builtins.object* + inc_ref r33 + r34 = CPyObject_Size(r33) + dec_ref r33 + if is_error(r34) goto L47 (error at __encode_elements_new:104) else goto L16 +L16: + r35 = box(int, r34) + r36 = CPyList_SetItemUnsafe(r22, r23, r35) + if not r36 goto L47 (error at __encode_elements_new:104) else goto L17 :: bool +L17: + r37 = r23 + 2 + r23 = r37 + goto L14 +L18: + r38 = PyObject_GetIter(r22) + dec_ref r22 + if is_error(r38) goto L44 (error at __encode_elements_new:104) else goto L19 +L19: + r39 = dank_mids.helpers._codec.globals :: static + r40 = 'accumulate' + r41 = CPyDict_GetItem(r39, r40) + if is_error(r41) goto L48 (error at __encode_elements_new:104) else goto L20 +L20: + r42 = [r38] + r43 = load_address r42 + r44 = _PyObject_Vectorcall(r41, r43, 1, 0) + dec_ref r41 + if is_error(r44) goto L48 (error at __encode_elements_new:104) else goto L21 +L21: + dec_ref r38 + r45 = dank_mids.helpers._codec.globals :: static + r46 = 'chain' + r47 = CPyDict_GetItem(r45, r46) + if is_error(r47) goto L49 (error at __encode_elements_new:104) else goto L22 +L22: + r48 = box(tuple[int], r17) + r49 = [r48, r44] + r50 = load_address r49 + r51 = _PyObject_Vectorcall(r47, r50, 2, 0) + dec_ref r47 + if is_error(r51) goto L50 (error at __encode_elements_new:104) else goto L23 +L23: + dec_ref r48 + dec_ref r44 + r52 = PyList_New(0) + if is_error(r52) goto L51 (error at __encode_elements_new:105) else goto L24 +L24: + r53 = PyObject_GetIter(r51) + dec_ref r51 + if is_error(r53) goto L52 (error at __encode_elements_new:105) else goto L25 +L25: + r54 = PyIter_Next(r53) + if is_error(r54) goto L53 else goto L26 +L26: + r55 = unbox(int, r54) + dec_ref r54 + if is_error(r55) goto L54 (error at __encode_elements_new:105) else goto L27 +L27: + r56 = CPyTagged_Add(r16, r55) + dec_ref r55 :: int + r57 = dank_mids.helpers._codec.encode_uint_256 :: static + if is_error(r57) goto L55 else goto L30 +L28: + r58 = raise NameError('value for final name "encode_uint_256" was not set') + if not r58 goto L38 (error at __encode_elements_new:105) else goto L29 :: bool +L29: unreachable -L95: - r257 = 'encode_elements' - r258 = PyObject_SetAttr(r255, r257, r254) - dec_ref r254 - r259 = r258 >= 0 :: signed - if not r259 goto L103 (error at :110) else goto L96 :: bool -L96: - r260 = dank_mids.helpers._codec.globals :: static - r261 = 'default_codec' - r262 = CPyDict_GetItem(r260, r261) - if is_error(r262) goto L103 (error at :113) else goto L97 -L97: - r263 = '_registry' - r264 = CPyObject_GetAttr(r262, r263) - dec_ref r262 - if is_error(r264) goto L103 (error at :113) else goto L98 -L98: - r265 = '(uint256,uint256,(bool,bytes)[])' - r266 = 'get_decoder' - r267 = [r264, r265] - r268 = load_address r267 - r269 = PyObject_VectorcallMethod(r266, r268, 9223372036854775810, 0) - if is_error(r269) goto L118 (error at :113) else goto L99 -L99: - dec_ref r264 - r270 = 'decode' - r271 = CPyObject_GetAttr(r269, r270) - dec_ref r269 - if is_error(r271) goto L103 (error at :113) else goto L100 -L100: - dank_mids.helpers._codec._mcall_decoder = r271 :: static - r272 = dank_mids.helpers._codec.globals :: static - r273 = '_mcall_decoder' - r274 = CPyDict_SetItem(r272, r273, r271) - dec_ref r271 - r275 = r274 >= 0 :: signed - if not r275 goto L103 (error at :113) else goto L101 :: bool -L101: - r276 = load_address PyBool_Type - r277 = dank_mids.helpers._codec.globals :: static - r278 = 'Success' - r279 = CPyDict_SetItem(r277, r278, r276) - r280 = r279 >= 0 :: signed - if not r280 goto L103 (error at :123) else goto L102 :: bool -L102: - return 1 -L103: - r281 = :: None - return r281 -L104: - dec_ref r57 - goto L103 -L105: - dec_ref r57 - dec_ref r60 - goto L103 -L106: - dec_ref r57 - dec_ref r60 - dec_ref r64 - goto L103 -L107: - dec_ref r57 - dec_ref r71 - goto L103 -L108: - dec_ref r85 - goto L103 -L109: - dec_ref r85 - dec_ref r90 - goto L103 -L110: - dec_ref r112 - goto L103 -L111: - dec_ref r200 - goto L103 -L112: - dec_ref r228 - goto L75 -L113: - dec_ref r228 - goto L103 -L114: - dec_ref r228 - goto L79 -L115: - dec_ref r228 - goto L83 -L116: - dec_ref r246 - goto L88 -L117: - dec_ref r254 - goto L93 -L118: - dec_ref r264 - goto L103 +L30: + r59 = box(int, r56) + r60 = [r59] + r61 = load_address r60 + r62 = _PyObject_Vectorcall(r57, r61, 1, 0) + if is_error(r62) goto L56 (error at __encode_elements_new:105) else goto L31 +L31: + dec_ref r59 + r63 = PyList_Append(r52, r62) + dec_ref r62 + r64 = r63 >= 0 :: signed + if not r64 goto L54 (error at __encode_elements_new:105) else goto L25 :: bool +L32: + r65 = CPy_NoErrOccurred() + if not r65 goto L57 (error at __encode_elements_new:105) else goto L33 :: bool +L33: + r66 = PyObject_GetIter(r52) + dec_ref r52 + if is_error(r66) goto L58 (error at __encode_elements_new:105) else goto L34 +L34: + r67 = b'' + r68 = dank_mids.helpers._codec.globals :: static + r69 = 'chain' + r70 = CPyDict_GetItem(r68, r69) + if is_error(r70) goto L59 (error at __encode_elements_new:106) else goto L35 +L35: + r71 = [r66, r0] + r72 = load_address r71 + r73 = _PyObject_Vectorcall(r70, r72, 2, 0) + dec_ref r70 + if is_error(r73) goto L59 (error at __encode_elements_new:106) else goto L36 +L36: + dec_ref r66 + dec_ref r0 + r74 = CPyBytes_Join(r67, r73) + dec_ref r73 + if is_error(r74) goto L60 (error at __encode_elements_new:106) else goto L37 +L37: + r75 = (r74, count) + return r75 +L38: + r76 = :: tuple[bytes, int] + return r76 +L39: + dec_ref r0 + goto L38 +L40: + dec_ref r1 + goto L9 +L41: + dec_ref r0 + dec_ref r1 + goto L38 +L42: + dec_ref r0 + dec_ref r1 + dec_ref r3 + goto L5 +L43: + dec_ref r0 + dec_ref r1 + dec_ref r6 + goto L38 +L44: + dec_ref r0 + dec_ref count :: int + dec_ref r16 :: int + dec_ref r17 + goto L38 +L45: + dec_ref r0 + dec_ref count :: int + dec_ref r16 :: int + dec_ref r17 + dec_ref r19 + goto L38 +L46: + dec_ref r19 + goto L18 +L47: + dec_ref r0 + dec_ref count :: int + dec_ref r16 :: int + dec_ref r17 + dec_ref r19 + dec_ref r22 + goto L38 +L48: + dec_ref r0 + dec_ref count :: int + dec_ref r16 :: int + dec_ref r17 + dec_ref r38 + goto L38 +L49: + dec_ref r0 + dec_ref count :: int + dec_ref r16 :: int + dec_ref r17 + dec_ref r44 + goto L38 +L50: + dec_ref r0 + dec_ref count :: int + dec_ref r16 :: int + dec_ref r44 + dec_ref r48 + goto L38 +L51: + dec_ref r0 + dec_ref count :: int + dec_ref r16 :: int + dec_ref r51 + goto L38 +L52: + dec_ref r0 + dec_ref count :: int + dec_ref r16 :: int + dec_ref r52 + goto L38 +L53: + dec_ref r16 :: int + dec_ref r53 + goto L32 +L54: + dec_ref r0 + dec_ref count :: int + dec_ref r16 :: int + dec_ref r52 + dec_ref r53 + goto L38 +L55: + dec_ref r0 + dec_ref count :: int + dec_ref r16 :: int + dec_ref r52 + dec_ref r53 + dec_ref r56 :: int + goto L28 +L56: + dec_ref r0 + dec_ref count :: int + dec_ref r16 :: int + dec_ref r52 + dec_ref r53 + dec_ref r59 + goto L38 +L57: + dec_ref r0 + dec_ref count :: int + dec_ref r52 + goto L38 +L58: + dec_ref r0 + dec_ref count :: int + goto L38 +L59: + dec_ref r0 + dec_ref count :: int + dec_ref r66 + goto L38 +L60: + dec_ref count :: int + goto L38 -def UIDGenerator.__init__(self): - self :: dank_mids._uid.UIDGenerator - r0 :: str - r1 :: dict - r2 :: str +def mcall_encode(data): + data :: object + r0 :: tuple[bool, object] + r1 :: object + r2 :: bool r3 :: object r4 :: object[1] r5 :: object_ptr - r6, r7 :: object - r8 :: None + r6 :: object + r7, r8 :: bytes L0: - self._value = -2 - r0 = 'uid' - r1 = dank_mids._uid.globals :: static - r2 = 'AlertingRLock' - r3 = CPyDict_GetItem(r1, r2) - if is_error(r3) goto L3 (error at __init__:24) else goto L1 + inc_ref data + r0 = (0, data) + r1 = dank_mids.helpers._codec._mcall_encoder :: static + if is_error(r1) goto L7 else goto L3 L1: - r4 = [r0] - r5 = load_address r4 - r6 = ('name',) - r7 = _PyObject_Vectorcall(r3, r5, 0, r6) - dec_ref r3 - if is_error(r7) goto L3 (error at __init__:24) else goto L2 + r2 = raise NameError('value for final name "_mcall_encoder" was not set') + if not r2 goto L6 (error at mcall_encode:119) else goto L2 :: bool L2: - self._lock = r7 - return 1 + unreachable L3: - r8 = :: None + r3 = box(tuple[bool, object], r0) + r4 = [r3] + r5 = load_address r4 + r6 = _PyObject_Vectorcall(r1, r5, 1, 0) + if is_error(r6) goto L8 (error at mcall_encode:119) else goto L4 +L4: + dec_ref r3 + r7 = cast(bytes, r6) + if is_error(r7) goto L6 (error at mcall_encode:119) else goto L5 +L5: + return r7 +L6: + r8 = :: bytes return r8 +L7: + dec_ref r0 + goto L1 +L8: + dec_ref r3 + goto L6 -def UIDGenerator.latest(self): - self :: dank_mids._uid.UIDGenerator - r0 :: int -L0: - r0 = self._value - return r0 - -def UIDGenerator.next(self): - self :: dank_mids._uid.UIDGenerator - r0, r1 :: object - r2 :: str - r3 :: object - r4 :: str - r5 :: object - r6 :: object[1] - r7 :: object_ptr - r8 :: object - r9, r10 :: int +def mcall_decode(data): + data :: object + r0, r1 :: str + r2 :: object[2] + r3 :: object_ptr + r4, r5 :: object + r6 :: bool + r7 :: object[1] + r8 :: object_ptr + r9, r10 :: object r11 :: bool - r12, r13 :: tuple[object, object, object] + r12 :: object[1] + r13 :: object_ptr r14 :: object - r15 :: object[4] - r16 :: object_ptr - r17 :: object - r18 :: bit - r19 :: int + r15 :: tuple[int, int, tuple] + r16 :: tuple + r17 :: tuple[object, object, object] + r18 :: object + r19 :: str + r20 :: object + r21 :: bit + r22 :: object + r23 :: str + r24 :: object + r25 :: tuple + r26 :: dict + r27 :: str + r28 :: object + r29 :: i32 + r30 :: bit + r31 :: bool + r32 :: str + r33 :: object[1] + r34 :: object_ptr + r35, r36 :: object + r37 :: list + r38 :: object + r39 :: i32 + r40 :: bit + r41 :: tuple + r42 :: str + r43 :: i32 + r44, r45 :: bit + r46 :: ptr + r47 :: native_int + r48 :: list + r49 :: short_int + r50 :: ptr + r51 :: native_int + r52 :: short_int + r53 :: bit + r54 :: object + r55 :: tuple[bool, bytes] + r56 :: bytes + r57 :: bit + r58 :: short_int + r59 :: union[list, object] L0: - r0 = self._lock - r1 = PyObject_Type(r0) - r2 = '__exit__' - r3 = CPyObject_GetAttr(r1, r2) - if is_error(r3) goto L20 (error at next:48) else goto L1 L1: - r4 = '__enter__' - r5 = CPyObject_GetAttr(r1, r4) - dec_ref r1 - if is_error(r5) goto L21 (error at next:48) else goto L2 + r0 = 'eth_call' + r1 = 'decode_result' + r2 = [data, r0] + r3 = load_address r2 + r4 = PyObject_VectorcallMethod(r1, r3, 9223372036854775810, 0) + if is_error(r4) goto L12 (error at mcall_decode:128) else goto L2 L2: - r6 = [r0] - r7 = load_address r6 - r8 = _PyObject_Vectorcall(r5, r7, 1, 0) - dec_ref r5 - if is_error(r8) goto L21 (error at next:48) else goto L22 + r5 = dank_mids.helpers._codec.ContextFramesBytesIO :: static + if is_error(r5) goto L41 else goto L5 L3: + r6 = raise NameError('value for final name "ContextFramesBytesIO" was not set') + if not r6 goto L12 (error at mcall_decode:128) else goto L4 :: bool L4: - r9 = borrow self._value - r10 = CPyTagged_Add(r9, 2) - inc_ref r10 :: int - self._value = r10 + unreachable L5: - r12 = :: tuple[object, object, object] - r13 = r12 + r7 = [r4] + r8 = load_address r7 + r9 = _PyObject_Vectorcall(r5, r8, 1, 0) + if is_error(r9) goto L42 (error at mcall_decode:128) else goto L6 L6: - if 1 goto L7 else goto L23 :: bool + dec_ref r4 + r10 = dank_mids.helpers._codec._mcall_decoder :: static + if is_error(r10) goto L43 else goto L9 L7: - r14 = load_address _Py_NoneStruct - r15 = [r0, r14, r14, r14] - r16 = load_address r15 - r17 = _PyObject_Vectorcall(r3, r16, 4, 0) - dec_ref r3 - if is_error(r17) goto L24 (error at next:48) else goto L25 + r11 = raise NameError('value for final name "_mcall_decoder" was not set') + if not r11 goto L12 (error at mcall_decode:128) else goto L8 :: bool L8: - dec_ref r0 + unreachable L9: - if is_error(r13) goto L12 else goto L26 + r12 = [r9] + r13 = load_address r12 + r14 = _PyObject_Vectorcall(r10, r13, 1, 0) + if is_error(r14) goto L44 (error at mcall_decode:128) else goto L10 L10: - CPy_Reraise() - if not 0 goto L14 else goto L27 :: bool + dec_ref r9 + r15 = unbox(tuple[int, int, tuple], r14) + dec_ref r14 + if is_error(r15) goto L12 (error at mcall_decode:128) else goto L11 L11: - unreachable + r16 = r15[2] + dec_ref r15 + goto L32 L12: - if is_error(r10) goto L18 else goto L13 + r17 = CPy_CatchError() + r18 = builtins :: module + r19 = 'Exception' + r20 = CPyObject_GetAttr(r18, r19) + if is_error(r20) goto L30 (error at mcall_decode:129) else goto L13 L13: - return r10 + r21 = CPy_ExceptionMatches(r20) + dec_ref r20 + if r21 goto L14 else goto L28 :: bool L14: - if is_error(r13) goto L16 else goto L15 + r22 = CPy_GetExcValue() + r23 = 'args' + r24 = CPyObject_GetAttr(r22, r23) + if is_error(r24) goto L45 (error at mcall_decode:131) else goto L15 L15: - CPy_RestoreExcInfo(r13) - xdec_ref r13 + r25 = cast(tuple, r24) + if is_error(r25) goto L45 (error at mcall_decode:131) else goto L16 L16: - r18 = CPy_KeepPropagating() - if not r18 goto L19 else goto L17 :: bool + r26 = dank_mids.helpers._codec.globals :: static + r27 = 'PartialResponse' + r28 = CPyDict_GetItem(r26, r27) + if is_error(r28) goto L46 (error at mcall_decode:131) else goto L17 L17: - unreachable + r29 = PyObject_IsInstance(data, r28) + dec_ref r28 + r30 = r29 >= 0 :: signed + if not r30 goto L46 (error at mcall_decode:131) else goto L18 :: bool L18: - unreachable + r31 = truncate r29: i32 to builtins.bool + if r31 goto L19 else goto L21 :: bool L19: - r19 = :: int - return r19 + r32 = 'decode_result' + r33 = [data] + r34 = load_address r33 + r35 = PyObject_VectorcallMethod(r32, r34, 9223372036854775809, 0) + if is_error(r35) goto L46 (error at mcall_decode:131) else goto L20 L20: - dec_ref r0 - dec_ref r1 - goto L19 + r36 = r35 + goto L22 L21: - dec_ref r0 - dec_ref r3 - goto L19 + inc_ref data + r36 = data L22: - dec_ref r8 - goto L3 + r37 = PyList_New(0) + if is_error(r37) goto L47 (error at mcall_decode:131) else goto L23 L23: - dec_ref r0 - dec_ref r3 - goto L9 + r38 = CPyList_Extend(r37, r25) + dec_ref r25 + if is_error(r38) goto L48 (error at mcall_decode:131) else goto L49 L24: - dec_ref r0 - xdec_ref r10 :: int - goto L14 + r39 = PyList_Append(r37, r36) + dec_ref r36 + r40 = r39 >= 0 :: signed + if not r40 goto L50 (error at mcall_decode:131) else goto L25 :: bool L25: - dec_ref r17 - goto L8 + r41 = PyList_AsTuple(r37) + dec_ref r37 + if is_error(r41) goto L45 (error at mcall_decode:131) else goto L26 L26: - xdec_ref r10 :: int - goto L10 + r42 = 'args' + r43 = PyObject_SetAttr(r22, r42, r41) + dec_ref r41 + r44 = r43 >= 0 :: signed + if not r44 goto L45 (error at mcall_decode:131) else goto L27 :: bool L27: - xdec_ref r13 - goto L11 - -def __top_level__(): - r0, r1 :: object - r2 :: bit - r3 :: str - r4, r5 :: object - r6 :: str - r7 :: dict - r8, r9 :: object - r10 :: str - r11, r12 :: object - r13 :: bool - r14, r15, r16 :: str - r17 :: tuple - r18 :: i32 - r19 :: bit - r20 :: dict - r21 :: str - r22 :: i32 - r23 :: bit - r24 :: None -L0: - r0 = builtins :: module - r1 = load_address _Py_NoneStruct - r2 = r0 != r1 - if r2 goto L3 else goto L1 :: bool -L1: - r3 = 'builtins' - r4 = PyImport_Import(r3) - if is_error(r4) goto L10 (error at :-1) else goto L2 -L2: - builtins = r4 :: module - dec_ref r4 -L3: - r5 = ('AlertingRLock',) - r6 = 'dank_mids.helpers._lock' - r7 = dank_mids._uid.globals :: static - r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L10 (error at :1) else goto L4 -L4: - dank_mids.helpers._lock = r8 :: module - dec_ref r8 - r9 = :: object - r10 = 'dank_mids._uid' - r11 = dank_mids._uid.UIDGenerator_template :: type - r12 = CPyType_FromTemplate(r11, r9, r10) - if is_error(r12) goto L10 (error at :4) else goto L5 -L5: - r13 = UIDGenerator_trait_vtable_setup() - if is_error(r13) goto L11 (error at :-1) else goto L6 -L6: - r14 = '__mypyc_attrs__' - r15 = '_value' - r16 = '_lock' - r17 = PyTuple_Pack(2, r15, r16) - if is_error(r17) goto L11 (error at :4) else goto L7 -L7: - r18 = PyObject_SetAttr(r12, r14, r17) + CPy_RestoreExcInfo(r17) dec_ref r17 - r19 = r18 >= 0 :: signed - if not r19 goto L11 (error at :4) else goto L8 :: bool -L8: - dank_mids._uid.UIDGenerator = r12 :: type - r20 = dank_mids._uid.globals :: static - r21 = 'UIDGenerator' - r22 = CPyDict_SetItem(r20, r21, r12) - dec_ref r12 - r23 = r22 >= 0 :: signed - if not r23 goto L10 (error at :4) else goto L9 :: bool -L9: - return 1 -L10: - r24 = :: None - return r24 -L11: - dec_ref r12 - goto L10 + return r22 +L28: + CPy_Reraise() + if not 0 goto L30 else goto L51 :: bool +L29: + unreachable +L30: + CPy_RestoreExcInfo(r17) + dec_ref r17 + r45 = CPy_KeepPropagating() + if not r45 goto L40 else goto L31 :: bool +L31: + unreachable +L32: + r46 = get_element_ptr r16 ob_size :: PyVarObject + r47 = load_mem r46 :: native_int* + r48 = PyList_New(r47) + if is_error(r48) goto L52 (error at mcall_decode:134) else goto L33 +L33: + r49 = 0 +L34: + r50 = get_element_ptr r16 ob_size :: PyVarObject + r51 = load_mem r50 :: native_int* + r52 = r51 << 1 + r53 = r49 < r52 :: signed + if r53 goto L35 else goto L53 :: bool +L35: + r54 = CPySequenceTuple_GetItem(r16, r49) + if is_error(r54) goto L54 (error at mcall_decode:134) else goto L36 +L36: + r55 = unbox(tuple[bool, bytes], r54) + dec_ref r54 + if is_error(r55) goto L54 (error at mcall_decode:134) else goto L37 +L37: + r56 = r55[1] + dec_ref r55 + r57 = CPyList_SetItemUnsafe(r48, r49, r56) + if not r57 goto L54 (error at mcall_decode:134) else goto L38 :: bool +L38: + r58 = r49 + 2 + r49 = r58 + goto L34 +L39: + return r48 +L40: + r59 = :: union[list, object] + return r59 +L41: + dec_ref r4 + goto L3 +L42: + dec_ref r4 + goto L12 +L43: + dec_ref r9 + goto L7 +L44: + dec_ref r9 + goto L12 +L45: + dec_ref r22 + goto L30 +L46: + dec_ref r22 + dec_ref r25 + goto L30 +L47: + dec_ref r22 + dec_ref r25 + dec_ref r36 + goto L30 +L48: + dec_ref r22 + dec_ref r36 + dec_ref r37 + goto L30 +L49: + dec_ref r38 + goto L24 +L50: + dec_ref r22 + dec_ref r37 + goto L30 +L51: + dec_ref r17 + goto L29 +L52: + dec_ref r16 + goto L40 +L53: + dec_ref r16 + goto L39 +L54: + dec_ref r16 + dec_ref r48 + goto L40 def __top_level__(): r0, r1 :: object @@ -27461,180 +25842,254 @@ def __top_level__(): r4, r5 :: object r6 :: str r7 :: dict - r8 :: object - r9 :: object_ptr - r10 :: object_ptr[1] - r11 :: c_ptr - r12 :: native_int[1] - r13 :: c_ptr - r14 :: object - r15 :: dict - r16, r17 :: str - r18 :: bit + r8, r9 :: object + r10 :: str + r11 :: dict + r12 :: object + r13, r14 :: object_ptr + r15 :: object_ptr[2] + r16 :: c_ptr + r17 :: native_int[2] + r18 :: c_ptr r19 :: object - r20 :: str - r21 :: dict - r22, r23 :: object - r24 :: str - r25 :: dict - r26 :: object - r27, r28, r29, r30 :: str - r31 :: set - r32 :: i32 - r33 :: bit - r34 :: i32 - r35 :: bit - r36 :: i32 - r37 :: bit - r38 :: i32 - r39 :: bit - r40 :: dict + r20 :: dict + r21, r22 :: str + r23 :: bit + r24 :: object + r25 :: str + r26 :: dict + r27, r28 :: object + r29 :: str + r30 :: dict + r31, r32 :: object + r33 :: str + r34 :: dict + r35, r36 :: object + r37 :: str + r38 :: dict + r39, r40 :: object r41 :: str - r42 :: i32 - r43 :: bit - r44, r45, r46, r47, r48, r49 :: str - r50 :: set - r51 :: i32 - r52 :: bit + r42 :: dict + r43 :: object + r44 :: str + r45 :: dict + r46 :: str + r47 :: object + r48 :: object[1] + r49 :: object_ptr + r50 :: object + r51 :: dict + r52 :: str r53 :: i32 r54 :: bit - r55 :: i32 - r56 :: bit - r57 :: i32 - r58 :: bit - r59 :: i32 - r60 :: bit - r61 :: i32 - r62 :: bit - r63 :: dict - r64 :: str - r65 :: i32 - r66 :: bit - r67 :: dict - r68 :: str - r69 :: object - r70 :: str - r71 :: object - r72 :: str - r73 :: object - r74 :: dict - r75 :: str - r76 :: i32 - r77 :: bit - r78 :: dict - r79 :: str - r80 :: object - r81 :: str - r82 :: object - r83 :: str - r84 :: object - r85 :: dict - r86 :: str - r87 :: i32 - r88 :: bit - r89 :: dict - r90 :: str - r91 :: object + r55 :: dict + r56 :: str + r57 :: object + r58 :: dict + r59 :: str + r60, r61 :: object + r62 :: dict + r63 :: str + r64 :: object + r65 :: dict + r66 :: str + r67, r68 :: object + r69 :: tuple[object, object] + r70, r71 :: object + r72 :: list + r73, r74 :: ptr + r75 :: object + r76 :: tuple[list, object] + r77, r78 :: object + r79 :: dict + r80 :: str + r81 :: i32 + r82 :: bit + r83 :: dict + r84 :: str + r85, r86, r87 :: object + r88 :: dict + r89 :: str + r90 :: object + r91 :: dict r92 :: str r93 :: object r94 :: str r95 :: object - r96 :: dict - r97 :: str - r98 :: i32 - r99 :: bit - r100 :: tuple[object, object, object] - r101 :: object - r102 :: str - r103 :: object - r104 :: bit - r105 :: dict - r106 :: str - r107 :: object - r108 :: str - r109 :: object - r110 :: str - r111 :: object - r112 :: dict - r113 :: str - r114 :: i32 - r115, r116 :: bit - r117, r118, r119 :: tuple[object, object, object] + r96 :: tuple[str, object] + r97, r98, r99 :: object + r100 :: tuple[object, object] + r101, r102 :: object + r103 :: tuple[object, object, object] + r104, r105 :: object + r106 :: dict + r107 :: str + r108 :: i32 + r109 :: bit + r110 :: dict + r111 :: str + r112, r113 :: object + r114 :: dict + r115 :: str + r116 :: object + r117 :: tuple[object, object] + r118, r119 :: object r120 :: dict r121 :: str - r122 :: object - r123 :: dict - r124 :: str - r125 :: i32 - r126, r127 :: bit - r128 :: dict - r129 :: str - r130 :: object - r131 :: str - r132 :: object - r133 :: dict + r122 :: i32 + r123 :: bit + r124 :: dict + r125 :: str + r126 :: object + r127 :: str + r128 :: object + r129 :: dict + r130 :: str + r131 :: i32 + r132 :: bit + r133 :: object r134 :: str r135 :: object - r136 :: str - r137 :: object - r138 :: dict - r139 :: str - r140 :: object + r136 :: dict + r137 :: str + r138 :: i32 + r139 :: bit + r140 :: dict r141 :: str r142 :: object - r143 :: dict - r144 :: str - r145 :: object + r143 :: str + r144 :: object + r145 :: dict r146 :: str - r147, r148, r149, r150, r151 :: object - r152, r153 :: dict - r154 :: str - r155 :: i32 - r156 :: bit - r157 :: dict - r158 :: str - r159 :: object - r160 :: str - r161 :: object - r162 :: dict + r147 :: i32 + r148 :: bit + r149 :: dict + r150 :: str + r151 :: object + r152 :: str + r153 :: object + r154 :: dict + r155 :: str + r156 :: i32 + r157 :: bit + r158 :: dict + r159 :: str + r160 :: object + r161 :: str + r162 :: object r163 :: str r164 :: object - r165 :: str - r166 :: object - r167 :: dict - r168 :: str - r169 :: object + r165 :: dict + r166 :: str + r167 :: i32 + r168 :: bit + r169 :: dict r170 :: str r171 :: object - r172 :: dict - r173 :: str - r174 :: object - r175 :: str - r176 :: object - r177 :: dict - r178 :: str - r179 :: object - r180 :: str - r181, r182, r183, r184, r185, r186 :: object - r187, r188 :: dict - r189 :: str - r190 :: i32 - r191 :: bit - r192, r193, r194, r195, r196, r197, r198, r199, r200, r201 :: str - r202 :: tuple[str, str, str, str, str, str, str, str, str, str] - r203 :: dict - r204 :: str + r172 :: str + r173 :: object + r174 :: str + r175 :: object + r176 :: dict + r177 :: str + r178 :: i32 + r179 :: bit + r180 :: dict + r181 :: str + r182 :: object + r183 :: str + r184 :: object + r185 :: dict + r186 :: str + r187 :: i32 + r188 :: bit + r189 :: object + r190 :: str + r191 :: object + r192 :: dict + r193 :: str + r194 :: i32 + r195 :: bit + r196 :: dict + r197 :: str + r198 :: object + r199 :: str + r200 :: object + r201, r202 :: str + r203 :: object[2] + r204 :: object_ptr r205 :: object - r206 :: i32 - r207 :: bit - r208, r209 :: bytes - r210 :: tuple[bytes, bytes] - r211 :: dict + r206 :: dict + r207 :: str + r208 :: i32 + r209 :: bit + r210 :: object + r211 :: bool r212 :: str - r213 :: object - r214 :: i32 - r215 :: bit - r216 :: None + r213, r214, r215 :: object + r216 :: dict + r217 :: str + r218 :: i32 + r219 :: bit + r220 :: object + r221 :: bool + r222 :: str + r223 :: object + r224 :: dict + r225 :: str + r226 :: i32 + r227 :: bit + r228 :: dank_mids.helpers._codec.__mypyc_lambda__0_obj + r229 :: object + r230 :: bool + r231 :: str + r232 :: i32 + r233 :: bit + r234 :: object + r235 :: bool + r236 :: str + r237 :: i32 + r238 :: bit + r239 :: object + r240 :: bool + r241 :: str + r242 :: i32 + r243 :: bit + r244 :: dict + r245 :: str + r246, r247 :: object + r248 :: bool + r249 :: str + r250 :: i32 + r251 :: bit + r252 :: dict + r253 :: str + r254, r255 :: object + r256 :: bool + r257 :: str + r258 :: i32 + r259 :: bit + r260 :: dict + r261 :: str + r262 :: object + r263 :: str + r264 :: object + r265, r266 :: str + r267 :: object[2] + r268 :: object_ptr + r269 :: object + r270 :: str + r271 :: object + r272 :: dict + r273 :: str + r274 :: i32 + r275 :: bit + r276 :: object + r277 :: dict + r278 :: str + r279 :: i32 + r280 :: bit + r281 :: None L0: r0 = builtins :: module r1 = load_address _Py_NoneStruct @@ -27643,1524 +26098,1835 @@ L0: L1: r3 = 'builtins' r4 = PyImport_Import(r3) - if is_error(r4) goto L80 (error at :-1) else goto L2 + if is_error(r4) goto L103 (error at :-1) else goto L2 L2: builtins = r4 :: module dec_ref r4 L3: - r5 = ('Dict', 'Final') - r6 = 'typing' - r7 = dank_mids.constants.globals :: static + r5 = ('accumulate', 'chain') + r6 = 'itertools' + r7 = dank_mids.helpers._codec.globals :: static r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) - if is_error(r8) goto L80 (error at :2) else goto L4 + if is_error(r8) goto L103 (error at :1) else goto L4 L4: - typing = r8 :: module + itertools = r8 :: module dec_ref r8 - r9 = load_address multicall.constants :: module - r10 = [r9] - r11 = load_address r10 - r12 = [4] - r13 = load_address r12 - r14 = (('multicall.constants', 'multicall', 'multicall'),) - r15 = dank_mids.constants.globals :: static - r16 = 'dank_mids\\constants.py' - r17 = '' - r18 = CPyImport_ImportMany(r14, r11, r15, r16, r17, r13) - if not r18 goto L80 else goto L5 :: bool + r9 = ('Any', 'AnyStr', 'Callable', 'Final', 'Iterable', 'List', 'Union', 'Tuple', 'TypeVar') + r10 = 'typing' + r11 = dank_mids.helpers._codec.globals :: static + r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) + if is_error(r12) goto L103 (error at :2) else goto L5 L5: - r19 = ('BlockNumber',) - r20 = 'eth_typing' - r21 = dank_mids.constants.globals :: static - r22 = CPyImport_ImportFromMany(r20, r19, r19, r21) - if is_error(r22) goto L80 (error at :5) else goto L6 + typing = r12 :: module + dec_ref r12 + r13 = load_address msgspec :: module + r14 = load_address msgspec.json :: module + r15 = [r13, r14] + r16 = load_address r15 + r17 = [4, 5] + r18 = load_address r17 + r19 = (('msgspec', 'msgspec', 'msgspec'), ('msgspec.json', 'msgspec', 'msgspec')) + r20 = dank_mids.helpers._codec.globals :: static + r21 = 'dank_mids\\helpers\\_codec.py' + r22 = '' + r23 = CPyImport_ImportMany(r19, r16, r20, r21, r22, r18) + if not r23 goto L103 else goto L6 :: bool L6: - eth_typing = r22 :: module - dec_ref r22 - r23 = ('Network',) - r24 = 'multicall.constants' - r25 = dank_mids.constants.globals :: static - r26 = CPyImport_ImportFromMany(r24, r23, r23, r25) - if is_error(r26) goto L80 (error at :6) else goto L7 + r24 = ('decoding', 'encoding') + r25 = 'eth_abi' + r26 = dank_mids.helpers._codec.globals :: static + r27 = CPyImport_ImportFromMany(r25, r24, r24, r26) + if is_error(r27) goto L103 (error at :6) else goto L7 L7: - multicall.constants = r26 :: module - dec_ref r26 - r27 = 'payload too large' - r28 = 'content length too large' - r29 = 'request entity too large' - r30 = 'batch limit exceeded' - r31 = PySet_New(0) - if is_error(r31) goto L80 (error at :8) else goto L8 + eth_abi = r27 :: module + dec_ref r27 + r28 = ('default_codec',) + r29 = 'eth_abi.abi' + r30 = dank_mids.helpers._codec.globals :: static + r31 = CPyImport_ImportFromMany(r29, r28, r28, r30) + if is_error(r31) goto L103 (error at :7) else goto L8 L8: - r32 = PySet_Add(r31, r27) - r33 = r32 >= 0 :: signed - if not r33 goto L81 (error at :8) else goto L9 :: bool + eth_abi.abi = r31 :: module + dec_ref r31 + r32 = ('DynamicArrayEncoder', 'TupleEncoder') + r33 = 'eth_abi.encoding' + r34 = dank_mids.helpers._codec.globals :: static + r35 = CPyImport_ImportFromMany(r33, r32, r32, r34) + if is_error(r35) goto L103 (error at :8) else goto L9 L9: - r34 = PySet_Add(r31, r28) - r35 = r34 >= 0 :: signed - if not r35 goto L81 (error at :8) else goto L10 :: bool + eth_abi.encoding = r35 :: module + dec_ref r35 + r36 = ('types',) + r37 = 'dank_mids' + r38 = dank_mids.helpers._codec.globals :: static + r39 = CPyImport_ImportFromMany(r37, r36, r36, r38) + if is_error(r39) goto L103 (error at :10) else goto L10 L10: - r36 = PySet_Add(r31, r29) - r37 = r36 >= 0 :: signed - if not r37 goto L81 (error at :8) else goto L11 :: bool + dank_mids = r39 :: module + dec_ref r39 + r40 = ('JSONRPCBatchResponseRaw', 'MulticallChunk', 'PartialResponse') + r41 = 'dank_mids.types' + r42 = dank_mids.helpers._codec.globals :: static + r43 = CPyImport_ImportFromMany(r41, r40, r40, r42) + if is_error(r43) goto L103 (error at :11) else goto L11 L11: - r38 = PySet_Add(r31, r30) - r39 = r38 >= 0 :: signed - if not r39 goto L81 (error at :8) else goto L12 :: bool -L12: - dank_mids.constants.TOO_MUCH_DATA_ERRS = r31 :: static - r40 = dank_mids.constants.globals :: static - r41 = 'TOO_MUCH_DATA_ERRS' - r42 = CPyDict_SetItem(r40, r41, r31) - dec_ref r31 - r43 = r42 >= 0 :: signed - if not r43 goto L80 (error at :8) else goto L13 :: bool + dank_mids.types = r43 :: module + dec_ref r43 + r44 = '__T' + r45 = dank_mids.helpers._codec.globals :: static + r46 = 'TypeVar' + r47 = CPyDict_GetItem(r45, r46) + if is_error(r47) goto L103 (error at :14) else goto L12 +L12: + r48 = [r44] + r49 = load_address r48 + r50 = _PyObject_Vectorcall(r47, r49, 1, 0) + dec_ref r47 + if is_error(r50) goto L103 (error at :14) else goto L13 L13: - r44 = 'connection reset by peer' - r45 = 'server disconnected' - r46 = 'execution aborted (timeout =' - r47 = 'batch limit exceeded' - r48 = 'request timed out' - r49 = 'evm timeout' - r50 = PySet_New(0) - if is_error(r50) goto L80 (error at :19) else goto L14 + r51 = dank_mids.helpers._codec.globals :: static + r52 = '__T' + r53 = CPyDict_SetItem(r51, r52, r50) + dec_ref r50 + r54 = r53 >= 0 :: signed + if not r54 goto L103 (error at :14) else goto L14 :: bool L14: - r51 = PySet_Add(r50, r44) - r52 = r51 >= 0 :: signed - if not r52 goto L82 (error at :19) else goto L15 :: bool + r55 = dank_mids.helpers._codec.globals :: static + r56 = 'Callable' + r57 = CPyDict_GetItem(r55, r56) + if is_error(r57) goto L103 (error at :16) else goto L15 L15: - r53 = PySet_Add(r50, r45) - r54 = r53 >= 0 :: signed - if not r54 goto L82 (error at :19) else goto L16 :: bool + r58 = dank_mids.helpers._codec.globals :: static + r59 = 'Tuple' + r60 = CPyDict_GetItem(r58, r59) + if is_error(r60) goto L104 (error at :16) else goto L16 L16: - r55 = PySet_Add(r50, r46) - r56 = r55 >= 0 :: signed - if not r56 goto L82 (error at :19) else goto L17 :: bool + r61 = load_address PyBool_Type + r62 = dank_mids.helpers._codec.globals :: static + r63 = 'Iterable' + r64 = CPyDict_GetItem(r62, r63) + if is_error(r64) goto L105 (error at :16) else goto L17 L17: - r57 = PySet_Add(r50, r47) - r58 = r57 >= 0 :: signed - if not r58 goto L82 (error at :19) else goto L18 :: bool + r65 = dank_mids.helpers._codec.globals :: static + r66 = 'MulticallChunk' + r67 = CPyDict_GetItem(r65, r66) + if is_error(r67) goto L106 (error at :16) else goto L18 L18: - r59 = PySet_Add(r50, r48) - r60 = r59 >= 0 :: signed - if not r60 goto L82 (error at :19) else goto L19 :: bool + r68 = PyObject_GetItem(r64, r67) + dec_ref r64 + dec_ref r67 + if is_error(r68) goto L105 (error at :16) else goto L19 L19: - r61 = PySet_Add(r50, r49) - r62 = r61 >= 0 :: signed - if not r62 goto L82 (error at :19) else goto L20 :: bool + inc_ref r61 + r69 = (r61, r68) + r70 = box(tuple[object, object], r69) + r71 = PyObject_GetItem(r60, r70) + dec_ref r60 + dec_ref r70 + if is_error(r71) goto L104 (error at :16) else goto L20 L20: - dank_mids.constants.RETRY_ERRS = r50 :: static - r63 = dank_mids.constants.globals :: static - r64 = 'RETRY_ERRS' - r65 = CPyDict_SetItem(r63, r64, r50) - dec_ref r50 - r66 = r65 >= 0 :: signed - if not r66 goto L80 (error at :19) else goto L21 :: bool + r72 = PyList_New(1) + if is_error(r72) goto L107 (error at :16) else goto L21 L21: - r67 = dank_mids.constants.globals :: static - r68 = 'multicall' - r69 = CPyDict_GetItem(r67, r68) - if is_error(r69) goto L80 (error at :32) else goto L22 + r73 = get_element_ptr r72 ob_item :: PyListObject + r74 = load_mem r73 :: ptr* + set_mem r74, r71 :: builtins.object* + r75 = load_address PyBytes_Type + inc_ref r75 + r76 = (r72, r75) + r77 = box(tuple[list, object], r76) + r78 = PyObject_GetItem(r57, r77) + dec_ref r57 + dec_ref r77 + if is_error(r78) goto L103 (error at :16) else goto L22 L22: - r70 = 'constants' - r71 = CPyObject_GetAttr(r69, r70) - dec_ref r69 - if is_error(r71) goto L80 (error at :32) else goto L23 + r79 = dank_mids.helpers._codec.globals :: static + r80 = 'MulticallEncoder' + r81 = CPyDict_SetItem(r79, r80, r78) + dec_ref r78 + r82 = r81 >= 0 :: signed + if not r82 goto L103 (error at :16) else goto L23 :: bool L23: - r72 = 'GAS_LIMIT' - r73 = CPyObject_GetAttr(r71, r72) - dec_ref r71 - if is_error(r73) goto L80 (error at :32) else goto L24 + r83 = dank_mids.helpers._codec.globals :: static + r84 = 'Tuple' + r85 = CPyDict_GetItem(r83, r84) + if is_error(r85) goto L103 (error at :18) else goto L24 L24: - dank_mids.constants.GAS_LIMIT = r73 :: static - r74 = dank_mids.constants.globals :: static - r75 = 'GAS_LIMIT' - r76 = CPyDict_SetItem(r74, r75, r73) - dec_ref r73 - r77 = r76 >= 0 :: signed - if not r77 goto L80 (error at :32) else goto L25 :: bool + r86 = load_address PyLong_Type + r87 = load_address PyLong_Type + r88 = dank_mids.helpers._codec.globals :: static + r89 = 'Tuple' + r90 = CPyDict_GetItem(r88, r89) + if is_error(r90) goto L108 (error at :18) else goto L25 L25: - r78 = dank_mids.constants.globals :: static - r79 = 'multicall' - r80 = CPyDict_GetItem(r78, r79) - if is_error(r80) goto L80 (error at :38) else goto L26 + r91 = dank_mids.helpers._codec.globals :: static + r92 = 'Tuple' + r93 = CPyDict_GetItem(r91, r92) + if is_error(r93) goto L109 (error at :18) else goto L26 L26: - r81 = 'constants' - r82 = CPyObject_GetAttr(r80, r81) - dec_ref r80 - if is_error(r82) goto L80 (error at :38) else goto L27 + r94 = 'Success' + r95 = load_address PyBytes_Type + inc_ref r94 + inc_ref r95 + r96 = (r94, r95) + r97 = box(tuple[str, object], r96) + r98 = PyObject_GetItem(r93, r97) + dec_ref r93 + dec_ref r97 + if is_error(r98) goto L109 (error at :18) else goto L27 L27: - r83 = 'MULTICALL2_BYTECODE' - r84 = CPyObject_GetAttr(r82, r83) - dec_ref r82 - if is_error(r84) goto L80 (error at :38) else goto L28 + r99 = load_address _Py_EllipsisObject + inc_ref r99 + r100 = (r98, r99) + r101 = box(tuple[object, object], r100) + r102 = PyObject_GetItem(r90, r101) + dec_ref r90 + dec_ref r101 + if is_error(r102) goto L108 (error at :18) else goto L28 L28: - dank_mids.constants.MULTICALL2_OVERRIDE_CODE = r84 :: static - r85 = dank_mids.constants.globals :: static - r86 = 'MULTICALL2_OVERRIDE_CODE' - r87 = CPyDict_SetItem(r85, r86, r84) - dec_ref r84 - r88 = r87 >= 0 :: signed - if not r88 goto L80 (error at :38) else goto L29 :: bool + inc_ref r86 + inc_ref r87 + r103 = (r86, r87, r102) + r104 = box(tuple[object, object, object], r103) + r105 = PyObject_GetItem(r85, r104) + dec_ref r85 + dec_ref r104 + if is_error(r105) goto L103 (error at :18) else goto L29 L29: - r89 = dank_mids.constants.globals :: static - r90 = 'multicall' - r91 = CPyDict_GetItem(r89, r90) - if is_error(r91) goto L33 (error at :45) else goto L30 + r106 = dank_mids.helpers._codec.globals :: static + r107 = 'DecodedMulticall' + r108 = CPyDict_SetItem(r106, r107, r105) + dec_ref r105 + r109 = r108 >= 0 :: signed + if not r109 goto L103 (error at :18) else goto L30 :: bool L30: - r92 = 'constants' - r93 = CPyObject_GetAttr(r91, r92) - dec_ref r91 - if is_error(r93) goto L33 (error at :45) else goto L31 + r110 = dank_mids.helpers._codec.globals :: static + r111 = 'Callable' + r112 = CPyDict_GetItem(r110, r111) + if is_error(r112) goto L103 (error at :19) else goto L31 L31: - r94 = 'MULTICALL3_BYTECODE' - r95 = CPyObject_GetAttr(r93, r94) - dec_ref r93 - if is_error(r95) goto L33 (error at :45) else goto L32 + r113 = load_address _Py_EllipsisObject + r114 = dank_mids.helpers._codec.globals :: static + r115 = 'DecodedMulticall' + r116 = CPyDict_GetItem(r114, r115) + if is_error(r116) goto L110 (error at :19) else goto L32 L32: - r96 = dank_mids.constants.globals :: static - r97 = '__MULTICALL3_OVERRIDE_CODE' - r98 = CPyDict_SetItem(r96, r97, r95) - dec_ref r95 - r99 = r98 >= 0 :: signed - if not r99 goto L33 (error at :45) else goto L44 :: bool + inc_ref r113 + r117 = (r113, r116) + r118 = box(tuple[object, object], r117) + r119 = PyObject_GetItem(r112, r118) + dec_ref r112 + dec_ref r118 + if is_error(r119) goto L103 (error at :19) else goto L33 L33: - r100 = CPy_CatchError() - r101 = builtins :: module - r102 = 'AttributeError' - r103 = CPyObject_GetAttr(r101, r102) - if is_error(r103) goto L42 (error at :50) else goto L34 + r120 = dank_mids.helpers._codec.globals :: static + r121 = 'MulticallDecoder' + r122 = CPyDict_SetItem(r120, r121, r119) + dec_ref r119 + r123 = r122 >= 0 :: signed + if not r123 goto L103 (error at :19) else goto L34 :: bool L34: - r104 = CPy_ExceptionMatches(r103) - dec_ref r103 - if r104 goto L35 else goto L39 :: bool + r124 = dank_mids.helpers._codec.globals :: static + r125 = 'msgspec' + r126 = CPyDict_GetItem(r124, r125) + if is_error(r126) goto L103 (error at :23) else goto L35 L35: - r105 = dank_mids.constants.globals :: static - r106 = 'multicall' - r107 = CPyDict_GetItem(r105, r106) - if is_error(r107) goto L42 (error at :51) else goto L36 + r127 = 'Raw' + r128 = CPyObject_GetAttr(r126, r127) + dec_ref r126 + if is_error(r128) goto L103 (error at :23) else goto L36 L36: - r108 = 'constants' - r109 = CPyObject_GetAttr(r107, r108) - dec_ref r107 - if is_error(r109) goto L42 (error at :51) else goto L37 -L37: - r110 = 'MULTICALL2_BYTECODE' - r111 = CPyObject_GetAttr(r109, r110) - dec_ref r109 - if is_error(r111) goto L42 (error at :51) else goto L38 + dank_mids.helpers._codec.Raw = r128 :: static + r129 = dank_mids.helpers._codec.globals :: static + r130 = 'Raw' + r131 = CPyDict_SetItem(r129, r130, r128) + dec_ref r128 + r132 = r131 >= 0 :: signed + if not r132 goto L103 (error at :23) else goto L37 :: bool +L37: + r133 = dank_mids.types :: module + r134 = 'RawResponse' + r135 = CPyObject_GetAttr(r133, r134) + if is_error(r135) goto L103 (error at :24) else goto L38 L38: - r112 = dank_mids.constants.globals :: static - r113 = '__MULTICALL3_OVERRIDE_CODE' - r114 = CPyDict_SetItem(r112, r113, r111) - dec_ref r111 - r115 = r114 >= 0 :: signed - if not r115 goto L42 (error at :51) else goto L41 :: bool + dank_mids.helpers._codec.RawResponse = r135 :: static + r136 = dank_mids.helpers._codec.globals :: static + r137 = 'RawResponse' + r138 = CPyDict_SetItem(r136, r137, r135) + dec_ref r135 + r139 = r138 >= 0 :: signed + if not r139 goto L103 (error at :24) else goto L39 :: bool L39: - CPy_Reraise() - if not 0 goto L42 else goto L83 :: bool + r140 = dank_mids.helpers._codec.globals :: static + r141 = 'decoding' + r142 = CPyDict_GetItem(r140, r141) + if is_error(r142) goto L103 (error at :25) else goto L40 L40: - unreachable + r143 = 'ContextFramesBytesIO' + r144 = CPyObject_GetAttr(r142, r143) + dec_ref r142 + if is_error(r144) goto L103 (error at :25) else goto L41 L41: - CPy_RestoreExcInfo(r100) - dec_ref r100 - goto L44 + dank_mids.helpers._codec.ContextFramesBytesIO = r144 :: static + r145 = dank_mids.helpers._codec.globals :: static + r146 = 'ContextFramesBytesIO' + r147 = CPyDict_SetItem(r145, r146, r144) + dec_ref r144 + r148 = r147 >= 0 :: signed + if not r148 goto L103 (error at :25) else goto L42 :: bool L42: - CPy_RestoreExcInfo(r100) - dec_ref r100 - r116 = CPy_KeepPropagating() - if not r116 goto L45 else goto L43 :: bool + r149 = dank_mids.helpers._codec.globals :: static + r150 = 'msgspec' + r151 = CPyDict_GetItem(r149, r150) + if is_error(r151) goto L103 (error at :26) else goto L43 L43: - unreachable + r152 = 'DecodeError' + r153 = CPyObject_GetAttr(r151, r152) + dec_ref r151 + if is_error(r153) goto L103 (error at :26) else goto L44 L44: - r117 = :: tuple[object, object, object] - r118 = r117 - goto L46 + dank_mids.helpers._codec.DecodeError = r153 :: static + r154 = dank_mids.helpers._codec.globals :: static + r155 = 'DecodeError' + r156 = CPyDict_SetItem(r154, r155, r153) + dec_ref r153 + r157 = r156 >= 0 :: signed + if not r157 goto L103 (error at :26) else goto L45 :: bool L45: - r119 = CPy_CatchError() - r118 = r119 + r158 = dank_mids.helpers._codec.globals :: static + r159 = 'msgspec' + r160 = CPyDict_GetItem(r158, r159) + if is_error(r160) goto L103 (error at :28) else goto L46 L46: - r120 = dank_mids.constants.globals :: static - r121 = '__MULTICALL3_OVERRIDE_CODE' - r122 = CPyDict_GetItem(r120, r121) - if is_error(r122) goto L51 (error at :53) else goto L47 + r161 = 'json' + r162 = CPyObject_GetAttr(r160, r161) + dec_ref r160 + if is_error(r162) goto L103 (error at :28) else goto L47 L47: - dank_mids.constants.MULTICALL3_OVERRIDE_CODE = r122 :: static - r123 = dank_mids.constants.globals :: static - r124 = 'MULTICALL3_OVERRIDE_CODE' - r125 = CPyDict_SetItem(r123, r124, r122) - dec_ref r122 - r126 = r125 >= 0 :: signed - if not r126 goto L51 (error at :53) else goto L48 :: bool + r163 = 'encode' + r164 = CPyObject_GetAttr(r162, r163) + dec_ref r162 + if is_error(r164) goto L103 (error at :28) else goto L48 L48: - if is_error(r118) goto L55 else goto L49 + dank_mids.helpers._codec.json_encode = r164 :: static + r165 = dank_mids.helpers._codec.globals :: static + r166 = 'json_encode' + r167 = CPyDict_SetItem(r165, r166, r164) + dec_ref r164 + r168 = r167 >= 0 :: signed + if not r168 goto L103 (error at :28) else goto L49 :: bool L49: - CPy_Reraise() - if not 0 goto L51 else goto L84 :: bool + r169 = dank_mids.helpers._codec.globals :: static + r170 = 'msgspec' + r171 = CPyDict_GetItem(r169, r170) + if is_error(r171) goto L103 (error at :29) else goto L50 L50: - unreachable + r172 = 'json' + r173 = CPyObject_GetAttr(r171, r172) + dec_ref r171 + if is_error(r173) goto L103 (error at :29) else goto L51 L51: - if is_error(r118) goto L53 else goto L52 + r174 = 'decode' + r175 = CPyObject_GetAttr(r173, r174) + dec_ref r173 + if is_error(r175) goto L103 (error at :29) else goto L52 L52: - CPy_RestoreExcInfo(r118) - xdec_ref r118 + dank_mids.helpers._codec.json_decode = r175 :: static + r176 = dank_mids.helpers._codec.globals :: static + r177 = 'json_decode' + r178 = CPyDict_SetItem(r176, r177, r175) + dec_ref r175 + r179 = r178 >= 0 :: signed + if not r179 goto L103 (error at :29) else goto L53 :: bool L53: - r127 = CPy_KeepPropagating() - if not r127 goto L80 else goto L54 :: bool + r180 = dank_mids.helpers._codec.globals :: static + r181 = 'encoding' + r182 = CPyDict_GetItem(r180, r181) + if is_error(r182) goto L103 (error at :30) else goto L54 L54: - unreachable + r183 = 'encode_uint_256' + r184 = CPyObject_GetAttr(r182, r183) + dec_ref r182 + if is_error(r184) goto L103 (error at :30) else goto L55 L55: - r128 = dank_mids.constants.globals :: static - r129 = 'Network' - r130 = CPyDict_GetItem(r128, r129) - if is_error(r130) goto L80 (error at :56) else goto L56 + dank_mids.helpers._codec.encode_uint_256 = r184 :: static + r185 = dank_mids.helpers._codec.globals :: static + r186 = 'encode_uint_256' + r187 = CPyDict_SetItem(r185, r186, r184) + dec_ref r184 + r188 = r187 >= 0 :: signed + if not r188 goto L103 (error at :30) else goto L56 :: bool L56: - r131 = 'Mainnet' - r132 = CPyObject_GetAttr(r130, r131) - dec_ref r130 - if is_error(r132) goto L80 (error at :56) else goto L57 + r189 = dank_mids.types :: module + r190 = '_encode_hook' + r191 = CPyObject_GetAttr(r189, r190) + if is_error(r191) goto L103 (error at :31) else goto L57 L57: - r133 = dank_mids.constants.globals :: static - r134 = 'Network' - r135 = CPyDict_GetItem(r133, r134) - if is_error(r135) goto L85 (error at :57) else goto L58 + dank_mids.helpers._codec._encode_hook = r191 :: static + r192 = dank_mids.helpers._codec.globals :: static + r193 = '_encode_hook' + r194 = CPyDict_SetItem(r192, r193, r191) + dec_ref r191 + r195 = r194 >= 0 :: signed + if not r195 goto L103 (error at :31) else goto L58 :: bool L58: - r136 = 'Fantom' - r137 = CPyObject_GetAttr(r135, r136) - dec_ref r135 - if is_error(r137) goto L85 (error at :57) else goto L59 + r196 = dank_mids.helpers._codec.globals :: static + r197 = 'default_codec' + r198 = CPyDict_GetItem(r196, r197) + if is_error(r198) goto L103 (error at :85) else goto L59 L59: - r138 = dank_mids.constants.globals :: static - r139 = 'Network' - r140 = CPyDict_GetItem(r138, r139) - if is_error(r140) goto L86 (error at :58) else goto L60 + r199 = '_registry' + r200 = CPyObject_GetAttr(r198, r199) + dec_ref r198 + if is_error(r200) goto L103 (error at :85) else goto L60 L60: - r141 = 'Arbitrum' - r142 = CPyObject_GetAttr(r140, r141) - dec_ref r140 - if is_error(r142) goto L86 (error at :58) else goto L61 + r201 = '(bool,(address,bytes)[])' + r202 = 'get_encoder' + r203 = [r200, r201] + r204 = load_address r203 + r205 = PyObject_VectorcallMethod(r202, r204, 9223372036854775810, 0) + if is_error(r205) goto L111 (error at :85) else goto L61 L61: - r143 = dank_mids.constants.globals :: static - r144 = 'Network' - r145 = CPyDict_GetItem(r143, r144) - if is_error(r145) goto L87 (error at :59) else goto L62 + dec_ref r200 + dank_mids.helpers._codec._mcall_encoder = r205 :: static + r206 = dank_mids.helpers._codec.globals :: static + r207 = '_mcall_encoder' + r208 = CPyDict_SetItem(r206, r207, r205) + dec_ref r205 + r209 = r208 >= 0 :: signed + if not r209 goto L103 (error at :85) else goto L62 :: bool L62: - r146 = 'Optimism' - r147 = CPyObject_GetAttr(r145, r146) - dec_ref r145 - if is_error(r147) goto L87 (error at :59) else goto L63 + r210 = dank_mids.helpers._codec._mcall_encoder :: static + if is_error(r210) goto L63 else goto L65 L63: - r148 = object 12336033 - r149 = object 16572242 - r150 = object 821923 - r151 = object 722566 - r152 = CPyDict_Build(4, r132, r148, r137, r149, r142, r150, r147, r151) - dec_ref r132 - dec_ref r137 - dec_ref r142 - dec_ref r147 - if is_error(r152) goto L80 (error at :55) else goto L64 + r211 = raise NameError('value for final name "_mcall_encoder" was not set') + if not r211 goto L103 (error at :88) else goto L64 :: bool L64: - dank_mids.constants.MULTICALL2_DEPLOY_BLOCKS = r152 :: static - r153 = dank_mids.constants.globals :: static - r154 = 'MULTICALL2_DEPLOY_BLOCKS' - r155 = CPyDict_SetItem(r153, r154, r152) - dec_ref r152 - r156 = r155 >= 0 :: signed - if not r156 goto L80 (error at :55) else goto L65 :: bool + unreachable L65: - r157 = dank_mids.constants.globals :: static - r158 = 'Network' - r159 = CPyDict_GetItem(r157, r158) - if is_error(r159) goto L80 (error at :64) else goto L66 + r212 = 'encoders' + r213 = CPyObject_GetAttr(r210, r212) + if is_error(r213) goto L103 (error at :88) else goto L66 L66: - r160 = 'Mainnet' - r161 = CPyObject_GetAttr(r159, r160) - dec_ref r159 - if is_error(r161) goto L80 (error at :64) else goto L67 + r214 = object -1 + r215 = PyObject_GetItem(r213, r214) + dec_ref r213 + if is_error(r215) goto L103 (error at :88) else goto L67 L67: - r162 = dank_mids.constants.globals :: static - r163 = 'Network' - r164 = CPyDict_GetItem(r162, r163) - if is_error(r164) goto L88 (error at :65) else goto L68 -L68: - r165 = 'Fantom' - r166 = CPyObject_GetAttr(r164, r165) - dec_ref r164 - if is_error(r166) goto L88 (error at :65) else goto L69 + dank_mids.helpers._codec._array_encoder = r215 :: static + r216 = dank_mids.helpers._codec.globals :: static + r217 = '_array_encoder' + r218 = CPyDict_SetItem(r216, r217, r215) + dec_ref r215 + r219 = r218 >= 0 :: signed + if not r219 goto L103 (error at :88) else goto L68 :: bool +L68: + r220 = dank_mids.helpers._codec._array_encoder :: static + if is_error(r220) goto L69 else goto L71 L69: - r167 = dank_mids.constants.globals :: static - r168 = 'Network' - r169 = CPyDict_GetItem(r167, r168) - if is_error(r169) goto L89 (error at :66) else goto L70 + r221 = raise NameError('value for final name "_array_encoder" was not set') + if not r221 goto L103 (error at :89) else goto L70 :: bool L70: - r170 = 'Arbitrum' - r171 = CPyObject_GetAttr(r169, r170) - dec_ref r169 - if is_error(r171) goto L89 (error at :66) else goto L71 + unreachable L71: - r172 = dank_mids.constants.globals :: static - r173 = 'Network' - r174 = CPyDict_GetItem(r172, r173) - if is_error(r174) goto L90 (error at :67) else goto L72 + r222 = 'item_encoder' + r223 = CPyObject_GetAttr(r220, r222) + if is_error(r223) goto L103 (error at :89) else goto L72 L72: - r175 = 'Optimism' - r176 = CPyObject_GetAttr(r174, r175) - dec_ref r174 - if is_error(r176) goto L90 (error at :67) else goto L73 + dank_mids.helpers._codec._item_encoder = r223 :: static + r224 = dank_mids.helpers._codec.globals :: static + r225 = '_item_encoder' + r226 = CPyDict_SetItem(r224, r225, r223) + dec_ref r223 + r227 = r226 >= 0 :: signed + if not r227 goto L103 (error at :89) else goto L73 :: bool L73: - r177 = dank_mids.constants.globals :: static - r178 = 'Network' - r179 = CPyDict_GetItem(r177, r178) - if is_error(r179) goto L91 (error at :68) else goto L74 + r228 = __mypyc_lambda__0_obj() + if is_error(r228) goto L103 (error at :92) else goto L74 L74: - r180 = 'Base' - r181 = CPyObject_GetAttr(r179, r180) - dec_ref r179 - if is_error(r181) goto L91 (error at :68) else goto L75 + r229 = dank_mids.helpers._codec._mcall_encoder :: static + if is_error(r229) goto L112 else goto L77 L75: - r182 = object 14353601 - r183 = object 33001987 - r184 = object 7654707 - r185 = object 4286263 - r186 = object 5022 - r187 = CPyDict_Build(5, r161, r182, r166, r183, r171, r184, r176, r185, r181, r186) - dec_ref r161 - dec_ref r166 - dec_ref r171 - dec_ref r176 - dec_ref r181 - if is_error(r187) goto L80 (error at :63) else goto L76 + r230 = raise NameError('value for final name "_mcall_encoder" was not set') + if not r230 goto L103 (error at :92) else goto L76 :: bool L76: - dank_mids.constants.MULTICALL3_DEPLOY_BLOCKS = r187 :: static - r188 = dank_mids.constants.globals :: static - r189 = 'MULTICALL3_DEPLOY_BLOCKS' - r190 = CPyDict_SetItem(r188, r189, r187) - dec_ref r187 - r191 = r190 >= 0 :: signed - if not r191 goto L80 (error at :63) else goto L77 :: bool + unreachable L77: - r192 = '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000094e6f206163636573730000000000000000000000000000000000000000000000' - r193 = '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e6d696e7420697320706175736564000000000000000000000000000000000000' - r194 = '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000016496e76616c6964206574686572207472616e7366657200000000000000000000' - r195 = '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000e4e4f4e5f454d5054595f44415441000000000000000000000000000000000000' - r196 = '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000246d73672e736967206973206e6f742061737369676e656420746f207375626d6f64756c6500000000000000000000000000000000000000000000000000000000' - r197 = '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000346f6e6c792077726170706564206e617469766520636f6e747261637420636f756c642073656e64206e617469766520746f6b656e000000000000000000000000' - r198 = '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000013434f4e54524f4c4c45525f52454a454354454400000000000000000000000000' - r199 = '0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000204469616d6f6e643a2046756e6374696f6e20646f6573206e6f74206578697374' - r200 = '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a66756e6374696f6e2073686f756c6420626520616c6c6f776564000000000000' - r201 = '0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001846756e6374696f6e20646f6573206e6f742065786973742e0000000000000000' - inc_ref r192 - inc_ref r193 - inc_ref r194 - inc_ref r195 - inc_ref r196 - inc_ref r197 - inc_ref r198 - inc_ref r199 - inc_ref r200 - inc_ref r201 - r202 = (r192, r193, r194, r195, r196, r197, r198, r199, r200, r201) - dank_mids.constants.BAD_HEXES = r202 :: static - r203 = dank_mids.constants.globals :: static - r204 = 'BAD_HEXES' - r205 = box(tuple[str, str, str, str, str, str, str, str, str, str], r202) - r206 = CPyDict_SetItem(r203, r204, r205) - dec_ref r205 - r207 = r206 >= 0 :: signed - if not r207 goto L80 (error at :75) else goto L78 :: bool + r231 = 'validate_value' + r232 = PyObject_SetAttr(r229, r231, r228) + r233 = r232 >= 0 :: signed + if not r233 goto L113 (error at :92) else goto L78 :: bool L78: - r208 = b'\x08\xc3y\xa0' - r209 = b'4e487b71' - inc_ref r208 - inc_ref r209 - r210 = (r208, r209) - dank_mids.constants.REVERT_SELECTORS = r210 :: static - r211 = dank_mids.constants.globals :: static - r212 = 'REVERT_SELECTORS' - r213 = box(tuple[bytes, bytes], r210) - r214 = CPyDict_SetItem(r211, r212, r213) - dec_ref r213 - r215 = r214 >= 0 :: signed - if not r215 goto L80 (error at :101) else goto L79 :: bool + r234 = dank_mids.helpers._codec._array_encoder :: static + if is_error(r234) goto L114 else goto L81 L79: - return 1 + r235 = raise NameError('value for final name "_array_encoder" was not set') + if not r235 goto L103 (error at :92) else goto L80 :: bool L80: - r216 = :: None - return r216 + unreachable L81: - dec_ref r31 - goto L80 + r236 = 'validate_value' + r237 = PyObject_SetAttr(r234, r236, r228) + r238 = r237 >= 0 :: signed + if not r238 goto L113 (error at :92) else goto L82 :: bool L82: - dec_ref r50 - goto L80 + r239 = dank_mids.helpers._codec._item_encoder :: static + if is_error(r239) goto L115 else goto L85 L83: - dec_ref r100 - goto L40 + r240 = raise NameError('value for final name "_item_encoder" was not set') + if not r240 goto L103 (error at :92) else goto L84 :: bool L84: - xdec_ref r118 - goto L50 + unreachable L85: - dec_ref r132 - goto L80 + r241 = 'validate_value' + r242 = PyObject_SetAttr(r239, r241, r228) + dec_ref r228 + r243 = r242 >= 0 :: signed + if not r243 goto L103 (error at :92) else goto L86 :: bool L86: - dec_ref r132 - dec_ref r137 - goto L80 + r244 = dank_mids.helpers._codec.globals :: static + r245 = '__encode_new' + r246 = CPyDict_GetItem(r244, r245) + if is_error(r246) goto L103 (error at :109) else goto L87 L87: - dec_ref r132 - dec_ref r137 - dec_ref r142 - goto L80 + r247 = dank_mids.helpers._codec._array_encoder :: static + if is_error(r247) goto L116 else goto L90 L88: - dec_ref r161 - goto L80 + r248 = raise NameError('value for final name "_array_encoder" was not set') + if not r248 goto L103 (error at :109) else goto L89 :: bool L89: - dec_ref r161 - dec_ref r166 - goto L80 + unreachable L90: - dec_ref r161 - dec_ref r166 - dec_ref r171 - goto L80 + r249 = 'encode' + r250 = PyObject_SetAttr(r247, r249, r246) + dec_ref r246 + r251 = r250 >= 0 :: signed + if not r251 goto L103 (error at :109) else goto L91 :: bool L91: - dec_ref r161 - dec_ref r166 - dec_ref r171 - dec_ref r176 - goto L80 + r252 = dank_mids.helpers._codec.globals :: static + r253 = '__encode_elements_new' + r254 = CPyDict_GetItem(r252, r253) + if is_error(r254) goto L103 (error at :110) else goto L92 +L92: + r255 = dank_mids.helpers._codec._array_encoder :: static + if is_error(r255) goto L117 else goto L95 +L93: + r256 = raise NameError('value for final name "_array_encoder" was not set') + if not r256 goto L103 (error at :110) else goto L94 :: bool +L94: + unreachable +L95: + r257 = 'encode_elements' + r258 = PyObject_SetAttr(r255, r257, r254) + dec_ref r254 + r259 = r258 >= 0 :: signed + if not r259 goto L103 (error at :110) else goto L96 :: bool +L96: + r260 = dank_mids.helpers._codec.globals :: static + r261 = 'default_codec' + r262 = CPyDict_GetItem(r260, r261) + if is_error(r262) goto L103 (error at :113) else goto L97 +L97: + r263 = '_registry' + r264 = CPyObject_GetAttr(r262, r263) + dec_ref r262 + if is_error(r264) goto L103 (error at :113) else goto L98 +L98: + r265 = '(uint256,uint256,(bool,bytes)[])' + r266 = 'get_decoder' + r267 = [r264, r265] + r268 = load_address r267 + r269 = PyObject_VectorcallMethod(r266, r268, 9223372036854775810, 0) + if is_error(r269) goto L118 (error at :113) else goto L99 +L99: + dec_ref r264 + r270 = 'decode' + r271 = CPyObject_GetAttr(r269, r270) + dec_ref r269 + if is_error(r271) goto L103 (error at :113) else goto L100 +L100: + dank_mids.helpers._codec._mcall_decoder = r271 :: static + r272 = dank_mids.helpers._codec.globals :: static + r273 = '_mcall_decoder' + r274 = CPyDict_SetItem(r272, r273, r271) + dec_ref r271 + r275 = r274 >= 0 :: signed + if not r275 goto L103 (error at :113) else goto L101 :: bool +L101: + r276 = load_address PyBool_Type + r277 = dank_mids.helpers._codec.globals :: static + r278 = 'Success' + r279 = CPyDict_SetItem(r277, r278, r276) + r280 = r279 >= 0 :: signed + if not r280 goto L103 (error at :123) else goto L102 :: bool +L102: + return 1 +L103: + r281 = :: None + return r281 +L104: + dec_ref r57 + goto L103 +L105: + dec_ref r57 + dec_ref r60 + goto L103 +L106: + dec_ref r57 + dec_ref r60 + dec_ref r64 + goto L103 +L107: + dec_ref r57 + dec_ref r71 + goto L103 +L108: + dec_ref r85 + goto L103 +L109: + dec_ref r85 + dec_ref r90 + goto L103 +L110: + dec_ref r112 + goto L103 +L111: + dec_ref r200 + goto L103 +L112: + dec_ref r228 + goto L75 +L113: + dec_ref r228 + goto L103 +L114: + dec_ref r228 + goto L79 +L115: + dec_ref r228 + goto L83 +L116: + dec_ref r246 + goto L88 +L117: + dec_ref r254 + goto L93 +L118: + dec_ref r264 + goto L103 -def BadResponse.__init__(self, response): - self :: dank_mids._exceptions.BadResponse - response :: object - r0 :: str - r1 :: i32 - r2 :: bit - r3 :: object - r4 :: str - r5 :: object - r6 :: str - r7 :: object - r8 :: str - r9 :: object[1] - r10 :: object_ptr - r11 :: object - r12 :: str - r13 :: object[3] - r14 :: object_ptr - r15 :: object - r16 :: None +def lru_cache_lite_wrap_lru_cache_lite_obj.__get__(__mypyc_self__, instance, owner): + __mypyc_self__, instance, owner, r0 :: object + r1 :: bit + r2, r3 :: object L0: - r0 = 'response' - r1 = PyObject_SetAttr(self, r0, response) - r2 = r1 >= 0 :: signed - if not r2 goto L6 (error at __init__:20) else goto L1 :: bool + r0 = load_address _Py_NoneStruct + r1 = instance == r0 + if r1 goto L1 else goto L2 :: bool L1: - r3 = builtins :: module - r4 = 'BaseException' - r5 = CPyObject_GetAttr(r3, r4) - if is_error(r5) goto L6 (error at __init__:21) else goto L2 + inc_ref __mypyc_self__ + return __mypyc_self__ L2: - r6 = 'error' - r7 = CPyObject_GetAttr(response, r6) - if is_error(r7) goto L7 (error at __init__:21) else goto L3 + r2 = PyMethod_New(__mypyc_self__, instance) + if is_error(r2) goto L4 else goto L3 L3: - r8 = 'to_dict' - r9 = [r7] - r10 = load_address r9 - r11 = PyObject_VectorcallMethod(r8, r10, 9223372036854775809, 0) - if is_error(r11) goto L8 (error at __init__:21) else goto L4 + return r2 L4: - dec_ref r7 - r12 = '__init__' - r13 = [r5, self, r11] - r14 = load_address r13 - r15 = PyObject_VectorcallMethod(r12, r14, 9223372036854775811, 0) - if is_error(r15) goto L9 (error at __init__:21) else goto L10 -L5: - dec_ref r5 - dec_ref r11 - return 1 -L6: - r16 = :: None - return r16 -L7: - dec_ref r5 - goto L6 -L8: - dec_ref r5 - dec_ref r7 - goto L6 -L9: - dec_ref r5 - dec_ref r11 - goto L6 -L10: - dec_ref r15 - goto L5 + r3 = :: object + return r3 -def ExecutionReverted.__init__(self, response): - self :: dank_mids._exceptions.ExecutionReverted - response :: object - r0 :: str - r1 :: i32 - r2 :: bit - r3 :: str - r4 :: object - r5 :: str +def lru_cache_lite_wrap_lru_cache_lite_obj.__call__(__mypyc_self__, args): + __mypyc_self__ :: dank_mids.helpers.lru_cache.lru_cache_lite_wrap_lru_cache_lite_obj + args :: tuple + r0 :: dank_mids.helpers.lru_cache.lru_cache_lite_env + r1 :: dict + r2, r3, retval, r4 :: object + r5 :: bit r6 :: object - r7, message, r8, r9 :: str - r10 :: object[2] - r11 :: object_ptr - r12 :: object - r13 :: int + r7 :: list + r8 :: object + r9 :: tuple + r10 :: dict + r11 :: object + r12 :: dict + r13 :: i32 r14 :: bit - r15 :: str - r16 :: list - r17 :: object - r18 :: str - r19 :: object - r20 :: str - r21 :: object - r22 :: str - r23 :: object[3] - r24 :: object_ptr - r25 :: object - r26 :: None -L0: - r0 = 'response' - r1 = PyObject_SetAttr(self, r0, response) - r2 = r1 >= 0 :: signed - if not r2 goto L14 (error at __init__:34) else goto L1 :: bool -L1: - r3 = 'error' - r4 = CPyObject_GetAttr(response, r3) - if is_error(r4) goto L14 (error at __init__:35) else goto L2 -L2: - r5 = 'message' - r6 = CPyObject_GetAttr(r4, r5) - dec_ref r4 - if is_error(r6) goto L14 (error at __init__:35) else goto L3 -L3: - r7 = cast(str, r6) - if is_error(r7) goto L14 (error at __init__:35) else goto L4 -L4: - message = r7 - r8 = ':' - r9 = 'count' - r10 = [message, r8] - r11 = load_address r10 - r12 = PyObject_VectorcallMethod(r9, r11, 9223372036854775810, 0) - if is_error(r12) goto L15 (error at __init__:36) else goto L5 -L5: - r13 = unbox(int, r12) - dec_ref r12 - if is_error(r13) goto L15 (error at __init__:36) else goto L6 -L6: - r14 = r13 == 2 - dec_ref r13 :: int - if r14 goto L7 else goto L11 :: bool -L7: - r15 = ':' - r16 = PyUnicode_Split(message, r15, -1) - dec_ref message - if is_error(r16) goto L14 (error at __init__:37) else goto L8 -L8: - r17 = CPyList_GetItemShort(r16, 2) - dec_ref r16 - if is_error(r17) goto L14 (error at __init__:37) else goto L9 -L9: - r18 = cast(str, r17) - if is_error(r18) goto L14 (error at __init__:37) else goto L10 -L10: - message = r18 -L11: - r19 = builtins :: module - r20 = 'BaseException' - r21 = CPyObject_GetAttr(r19, r20) - if is_error(r21) goto L15 (error at __init__:38) else goto L12 -L12: - r22 = '__init__' - r23 = [r21, self, message] - r24 = load_address r23 - r25 = PyObject_VectorcallMethod(r22, r24, 9223372036854775811, 0) - if is_error(r25) goto L16 (error at __init__:38) else goto L17 -L13: - dec_ref r21 - dec_ref message - return 1 -L14: - r26 = :: None - return r26 -L15: - dec_ref message - goto L14 -L16: - dec_ref message - dec_ref r21 - goto L14 -L17: - dec_ref r25 - goto L13 - -def ExceedsMaxBatchSize.limit(self): - self :: dank_mids._exceptions.ExceedsMaxBatchSize - r0, r1 :: str - r2 :: object - r3 :: str - r4 :: object - r5 :: str - r6, r7 :: object - r8 :: str - r9 :: object - r10 :: object[2] - r11 :: object_ptr - r12, r13, r14, r15 :: object - r16 :: object[1] - r17 :: object_ptr - r18 :: object - r19, r20 :: int + r15 :: object L0: - r0 = 'batch limit (\\d+) exceeded' - r1 = 'response' - r2 = CPyObject_GetAttr(self, r1) - if is_error(r2) goto L9 (error at limit:58) else goto L1 -L1: - r3 = 'error' - r4 = CPyObject_GetAttr(r2, r3) - dec_ref r2 - if is_error(r4) goto L9 (error at limit:58) else goto L2 + r0 = __mypyc_self__.__mypyc_env__ + if is_error(r0) goto L15 (error at lru_cache_lite_wrap:41) else goto L1 +L1: + r1 = r0.cache + if is_error(r1) goto L16 (error at lru_cache_lite_wrap:42) else goto L2 L2: - r5 = 'message' - r6 = CPyObject_GetAttr(r4, r5) - dec_ref r4 - if is_error(r6) goto L9 (error at limit:58) else goto L3 + r2 = r0.cache_miss + if is_error(r2) goto L17 (error at lru_cache_lite_wrap:42) else goto L3 L3: - r7 = re :: module - r8 = 'search' - r9 = CPyObject_GetAttr(r7, r8) - if is_error(r9) goto L10 (error at limit:58) else goto L4 + r3 = CPyDict_Get(r1, args, r2) + dec_ref r1 + dec_ref r2 + if is_error(r3) goto L16 (error at lru_cache_lite_wrap:42) else goto L4 L4: - r10 = [r0, r6] - r11 = load_address r10 - r12 = _PyObject_Vectorcall(r9, r11, 2, 0) - dec_ref r9 - if is_error(r12) goto L10 (error at limit:58) else goto L5 + retval = r3 + r4 = r0.cache_miss + if is_error(r4) goto L18 (error at lru_cache_lite_wrap:43) else goto L5 L5: - dec_ref r6 - r13 = object 1 - r14 = PyObject_GetItem(r12, r13) - dec_ref r12 - if is_error(r14) goto L9 (error at limit:58) else goto L6 + r5 = retval == r4 + dec_ref r4 + if r5 goto L19 else goto L20 :: bool L6: - r15 = load_address PyLong_Type - r16 = [r14] - r17 = load_address r16 - r18 = _PyObject_Vectorcall(r15, r17, 1, 0) - if is_error(r18) goto L11 (error at limit:58) else goto L7 + r6 = r0.func + if is_error(r6) goto L16 (error at lru_cache_lite_wrap:44) else goto L7 L7: - dec_ref r14 - r19 = unbox(int, r18) - dec_ref r18 - if is_error(r19) goto L9 (error at limit:58) else goto L8 + r7 = PyList_New(0) + if is_error(r7) goto L21 (error at lru_cache_lite_wrap:44) else goto L8 L8: - return r19 + r8 = CPyList_Extend(r7, args) + if is_error(r8) goto L22 (error at lru_cache_lite_wrap:44) else goto L23 L9: - r20 = :: int - return r20 + r9 = PyList_AsTuple(r7) + dec_ref r7 + if is_error(r9) goto L21 (error at lru_cache_lite_wrap:44) else goto L10 L10: - dec_ref r6 - goto L9 + r10 = PyDict_New() + if is_error(r10) goto L24 (error at lru_cache_lite_wrap:44) else goto L11 L11: - dec_ref r14 + r11 = PyObject_Call(r6, r9, r10) + dec_ref r6 + dec_ref r9 + dec_ref r10 + if is_error(r11) goto L16 (error at lru_cache_lite_wrap:44) else goto L12 +L12: + retval = r11 + r12 = r0.cache + dec_ref r0 + if is_error(r12) goto L25 (error at lru_cache_lite_wrap:45) else goto L13 +L13: + r13 = CPyDict_SetItem(r12, args, retval) + dec_ref r12 + r14 = r13 >= 0 :: signed + if not r14 goto L25 (error at lru_cache_lite_wrap:45) else goto L14 :: bool +L14: + return retval +L15: + r15 = :: object + return r15 +L16: + dec_ref r0 + goto L15 +L17: + dec_ref r0 + dec_ref r1 + goto L15 +L18: + dec_ref r0 + dec_ref retval + goto L15 +L19: + dec_ref retval + goto L6 +L20: + dec_ref r0 + goto L14 +L21: + dec_ref r0 + dec_ref r6 + goto L15 +L22: + dec_ref r0 + dec_ref r6 + dec_ref r7 + goto L15 +L23: + dec_ref r8 goto L9 +L24: + dec_ref r0 + dec_ref r6 + dec_ref r9 + goto L15 +L25: + dec_ref retval + goto L15 -def DankMidsClientResponseError.__init__(self, exc, request): - self :: dank_mids._exceptions.DankMidsClientResponseError - exc, request :: object - r0 :: tuple - r1 :: list - r2 :: object - r3 :: i32 - r4 :: bit - r5 :: tuple - r6 :: object - r7 :: str - r8, r9 :: object - r10 :: object[2] - r11 :: object_ptr - r12 :: object +def lru_cache_lite(func): + func :: object + r0 :: dank_mids.helpers.lru_cache.lru_cache_lite_env + r1 :: bool + r2 :: dict + r3 :: bool + r4 :: object + r5 :: str + r6, r7 :: object + r8 :: bool + r9 :: dank_mids.helpers.lru_cache.lru_cache_lite_wrap_lru_cache_lite_obj + r10 :: bool + r11 :: object + r12 :: dict r13 :: str r14 :: object - r15 :: str - r16 :: object - r17 :: str - r18 :: object - r19 :: str + r15 :: object[1] + r16 :: object_ptr + r17 :: object + r18 :: object[1] + r19 :: object_ptr r20 :: object - r21 :: str - r22 :: object - r23 :: str - r24 :: object - r25 :: object[5] - r26 :: object_ptr - r27, r28 :: object - r29 :: None + r21 :: dict + r22 :: str + r23 :: i32 + r24 :: bit + r25 :: dict + r26 :: str + r27 :: i32 + r28 :: bit + r29 :: object L0: - inc_ref request - self.request = request - r0 = self.args - if is_error(r0) goto L15 (error at __init__:76) else goto L1 + r0 = lru_cache_lite_env() + if is_error(r0) goto L17 (error at lru_cache_lite:11) else goto L1 L1: - r1 = PyList_New(0) - if is_error(r1) goto L16 (error at __init__:76) else goto L2 + inc_ref func + r0.func = func; r1 = is_error + if not r1 goto L18 (error at lru_cache_lite:11) else goto L2 :: bool L2: - r2 = CPyList_Extend(r1, r0) - dec_ref r0 - if is_error(r2) goto L17 (error at __init__:76) else goto L18 + r2 = PyDict_New() + if is_error(r2) goto L18 (error at lru_cache_lite:37) else goto L3 L3: - r3 = PyList_Append(r1, request) - r4 = r3 >= 0 :: signed - if not r4 goto L17 (error at __init__:76) else goto L4 :: bool + r0.cache = r2; r3 = is_error + if not r3 goto L18 (error at lru_cache_lite:37) else goto L4 :: bool L4: - r5 = PyList_AsTuple(r1) - dec_ref r1 - if is_error(r5) goto L15 (error at __init__:76) else goto L5 + r4 = builtins :: module + r5 = 'object' + r6 = CPyObject_GetAttr(r4, r5) + if is_error(r6) goto L18 (error at lru_cache_lite:38) else goto L5 L5: - self.args = r5 - inc_ref exc - self._exception = exc - r6 = builtins :: module - r7 = 'super' - r8 = CPyObject_GetAttr(r6, r7) - if is_error(r8) goto L15 (error at __init__:84) else goto L6 + r7 = _PyObject_Vectorcall(r6, 0, 0, 0) + dec_ref r6 + if is_error(r7) goto L18 (error at lru_cache_lite:38) else goto L6 L6: - r9 = dank_mids._exceptions.DankMidsClientResponseError :: type - r10 = [r9, self] - r11 = load_address r10 - r12 = _PyObject_Vectorcall(r8, r11, 2, 0) - dec_ref r8 - if is_error(r12) goto L15 (error at __init__:84) else goto L7 + r0.cache_miss = r7; r8 = is_error + if not r8 goto L18 (error at lru_cache_lite:38) else goto L7 :: bool L7: - r13 = '__init__' - r14 = CPyObject_GetAttr(r12, r13) - dec_ref r12 - if is_error(r14) goto L15 (error at __init__:84) else goto L8 + r9 = lru_cache_lite_wrap_lru_cache_lite_obj() + if is_error(r9) goto L18 (error at lru_cache_lite:41) else goto L8 L8: - r15 = 'request_info' - r16 = CPyObject_GetAttr(exc, r15) - if is_error(r16) goto L19 (error at __init__:85) else goto L9 + inc_ref r0 + r9.__mypyc_env__ = r0; r10 = is_error + if not r10 goto L19 (error at lru_cache_lite:41) else goto L9 :: bool L9: - r17 = 'history' - r18 = CPyObject_GetAttr(exc, r17) - if is_error(r18) goto L20 (error at __init__:86) else goto L10 + r11 = r0.func + if is_error(r11) goto L19 (error at lru_cache_lite:40) else goto L10 L10: - r19 = 'status' - r20 = CPyObject_GetAttr(exc, r19) - if is_error(r20) goto L21 (error at __init__:87) else goto L11 + r12 = dank_mids.helpers.lru_cache.globals :: static + r13 = 'wraps' + r14 = CPyDict_GetItem(r12, r13) + if is_error(r14) goto L20 (error at lru_cache_lite:40) else goto L11 L11: - r21 = 'message' - r22 = CPyObject_GetAttr(exc, r21) - if is_error(r22) goto L22 (error at __init__:88) else goto L12 -L12: - r23 = 'headers' - r24 = CPyObject_GetAttr(exc, r23) - if is_error(r24) goto L23 (error at __init__:89) else goto L13 -L13: - r25 = [r16, r18, r20, r22, r24] - r26 = load_address r25 - r27 = ('status', 'message', 'headers') - r28 = _PyObject_Vectorcall(r14, r26, 2, r27) + r15 = [r11] + r16 = load_address r15 + r17 = _PyObject_Vectorcall(r14, r16, 1, 0) dec_ref r14 - if is_error(r28) goto L24 (error at __init__:84) else goto L25 -L14: - dec_ref r16 - dec_ref r18 + if is_error(r17) goto L20 (error at lru_cache_lite:40) else goto L12 +L12: + dec_ref r11 + r18 = [r9] + r19 = load_address r18 + r20 = _PyObject_Vectorcall(r17, r19, 1, 0) + dec_ref r17 + if is_error(r20) goto L19 (error at lru_cache_lite:41) else goto L13 +L13: + dec_ref r9 + inc_ref r20 + r21 = dank_mids.helpers.lru_cache.globals :: static + r22 = 'lru_cache_lite_wrap' + r23 = CPyDict_SetItem(r21, r22, r20) dec_ref r20 - dec_ref r22 - dec_ref r24 - return 1 + r24 = r23 >= 0 :: signed + if not r24 goto L21 (error at lru_cache_lite:41) else goto L14 :: bool +L14: + r25 = r0.cache + dec_ref r0 + if is_error(r25) goto L22 (error at lru_cache_lite:48) else goto L15 L15: - r29 = :: None - return r29 + r26 = 'cache' + r27 = PyObject_SetAttr(r20, r26, r25) + dec_ref r25 + r28 = r27 >= 0 :: signed + if not r28 goto L22 (error at lru_cache_lite:48) else goto L16 :: bool L16: - dec_ref r0 - goto L15 + return r20 L17: - dec_ref r1 - goto L15 + r29 = :: object + return r29 L18: - dec_ref r2 - goto L3 + dec_ref r0 + goto L17 L19: - dec_ref r14 - goto L15 + dec_ref r0 + dec_ref r9 + goto L17 L20: - dec_ref r14 - dec_ref r16 - goto L15 + dec_ref r0 + dec_ref r9 + dec_ref r11 + goto L17 L21: - dec_ref r14 - dec_ref r16 - dec_ref r18 - goto L15 -L22: - dec_ref r14 - dec_ref r16 - dec_ref r18 - dec_ref r20 - goto L15 -L23: - dec_ref r14 - dec_ref r16 - dec_ref r18 + dec_ref r0 dec_ref r20 - dec_ref r22 - goto L15 -L24: - dec_ref r16 - dec_ref r18 + goto L17 +L22: dec_ref r20 - dec_ref r22 - dec_ref r24 - goto L15 -L25: - dec_ref r28 - goto L14 + goto L17 -def DankMidsInternalError.__init__(self, exc): - self :: dank_mids._exceptions.DankMidsInternalError - exc, r0 :: object - r1 :: bool - r2, r3, r4, r5 :: str - r6 :: object - r7 :: object[3] - r8 :: object_ptr - r9, r10 :: object - r11 :: str +def lru_cache_lite_wrap_lru_cache_lite_nonull_obj.__get__(__mypyc_self__, instance, owner): + __mypyc_self__, instance, owner, r0 :: object + r1 :: bit + r2, r3 :: object +L0: + r0 = load_address _Py_NoneStruct + r1 = instance == r0 + if r1 goto L1 else goto L2 :: bool +L1: + inc_ref __mypyc_self__ + return __mypyc_self__ +L2: + r2 = PyMethod_New(__mypyc_self__, instance) + if is_error(r2) goto L4 else goto L3 +L3: + return r2 +L4: + r3 = :: object + return r3 + +def lru_cache_lite_wrap_lru_cache_lite_nonull_obj.__call__(__mypyc_self__, args): + __mypyc_self__ :: dank_mids.helpers.lru_cache.lru_cache_lite_wrap_lru_cache_lite_nonull_obj + args :: tuple + r0 :: dank_mids.helpers.lru_cache.lru_cache_lite_nonull_env + r1 :: dict + r2 :: object + retval :: union[object, None] + r3 :: object + r4 :: bit + r5 :: object + r6 :: list + r7 :: object + r8 :: tuple + r9 :: dict + r10 :: object + r11 :: dict r12 :: i32 r13 :: bit r14 :: object - r15 :: str - r16, r17 :: object - r18 :: object[2] - r19 :: object_ptr - r20 :: object - r21 :: str - r22, r23 :: object - r24 :: str - r25 :: object - r26 :: object[1] - r27 :: object_ptr - r28 :: object - r29 :: str - r30 :: object[1] - r31 :: object_ptr - r32 :: object - r33 :: None L0: - r0 = dank_mids._exceptions.logger :: static - if is_error(r0) goto L1 else goto L3 + r0 = __mypyc_self__.__mypyc_env__ + if is_error(r0) goto L13 (error at lru_cache_lite_wrap:89) else goto L1 L1: - r1 = raise NameError('value for final name "logger" was not set') - if not r1 goto L15 (error at __init__:103) else goto L2 :: bool + r1 = r0.cache + if is_error(r1) goto L14 (error at lru_cache_lite_wrap:90) else goto L2 L2: - unreachable + r2 = CPyDict_GetWithNone(r1, args) + dec_ref r1 + if is_error(r2) goto L14 (error at lru_cache_lite_wrap:90) else goto L3 L3: - r2 = 'unhandled exception inside dank mids internals: ' - r3 = PyObject_Str(exc) - if is_error(r3) goto L15 (error at __init__:103) else goto L4 + retval = r2 + r3 = load_address _Py_NoneStruct + r4 = retval == r3 + if r4 goto L15 else goto L16 :: bool L4: - r4 = CPyStr_Build(2, r2, r3) - dec_ref r3 - if is_error(r4) goto L15 (error at __init__:103) else goto L5 + r5 = r0.func + if is_error(r5) goto L14 (error at lru_cache_lite_wrap:92) else goto L5 L5: - r5 = 'warning' - r6 = box(bool, 1) - r7 = [r0, r4, r6] - r8 = load_address r7 - r9 = ('exc_info',) - r10 = PyObject_VectorcallMethod(r5, r8, 9223372036854775810, r9) - if is_error(r10) goto L16 (error at __init__:103) else goto L17 + r6 = PyList_New(0) + if is_error(r6) goto L17 (error at lru_cache_lite_wrap:92) else goto L6 L6: - dec_ref r4 - r11 = '_original_exception' - r12 = PyObject_SetAttr(self, r11, exc) - r13 = r12 >= 0 :: signed - if not r13 goto L15 (error at __init__:105) else goto L7 :: bool + r7 = CPyList_Extend(r6, args) + if is_error(r7) goto L18 (error at lru_cache_lite_wrap:92) else goto L19 L7: - r14 = builtins :: module - r15 = 'super' - r16 = CPyObject_GetAttr(r14, r15) - if is_error(r16) goto L15 (error at __init__:111) else goto L8 + r8 = PyList_AsTuple(r6) + dec_ref r6 + if is_error(r8) goto L17 (error at lru_cache_lite_wrap:92) else goto L8 L8: - r17 = dank_mids._exceptions.DankMidsInternalError :: type - r18 = [r17, self] - r19 = load_address r18 - r20 = _PyObject_Vectorcall(r16, r19, 2, 0) - dec_ref r16 - if is_error(r20) goto L15 (error at __init__:111) else goto L9 + r9 = PyDict_New() + if is_error(r9) goto L20 (error at lru_cache_lite_wrap:92) else goto L9 L9: - r21 = '__init__' - r22 = CPyObject_GetAttr(r20, r21) - dec_ref r20 - if is_error(r22) goto L15 (error at __init__:111) else goto L10 + r10 = PyObject_Call(r5, r8, r9) + dec_ref r5 + dec_ref r8 + dec_ref r9 + if is_error(r10) goto L14 (error at lru_cache_lite_wrap:92) else goto L10 L10: - r23 = builtins :: module - r24 = 'repr' - r25 = CPyObject_GetAttr(r23, r24) - if is_error(r25) goto L18 (error at __init__:111) else goto L11 + retval = r10 + r11 = r0.cache + dec_ref r0 + if is_error(r11) goto L21 (error at lru_cache_lite_wrap:93) else goto L11 L11: - r26 = [exc] - r27 = load_address r26 - r28 = _PyObject_Vectorcall(r25, r27, 1, 0) - dec_ref r25 - if is_error(r28) goto L18 (error at __init__:111) else goto L12 + r12 = CPyDict_SetItem(r11, args, retval) + dec_ref r11 + r13 = r12 >= 0 :: signed + if not r13 goto L21 (error at lru_cache_lite_wrap:93) else goto L12 :: bool L12: - r29 = cast(str, r28) - if is_error(r29) goto L18 (error at __init__:111) else goto L13 + return retval L13: - r30 = [r29] - r31 = load_address r30 - r32 = _PyObject_Vectorcall(r22, r31, 1, 0) - dec_ref r22 - if is_error(r32) goto L19 (error at __init__:111) else goto L20 + r14 = :: object + return r14 L14: - dec_ref r29 - return 1 + dec_ref r0 + goto L13 L15: - r33 = :: None - return r33 + dec_ref retval + goto L4 L16: - dec_ref r4 - goto L15 -L17: - dec_ref r10 - goto L6 + dec_ref r0 + goto L12 +L17: + dec_ref r0 + dec_ref r5 + goto L13 L18: - dec_ref r22 - goto L15 + dec_ref r0 + dec_ref r5 + dec_ref r6 + goto L13 L19: - dec_ref r29 - goto L15 + dec_ref r7 + goto L7 L20: - dec_ref r32 - goto L14 + dec_ref r0 + dec_ref r5 + dec_ref r8 + goto L13 +L21: + dec_ref retval + goto L13 -def BatchResponseSortError.__init__(self, controller, calls, response): - self :: dank_mids._exceptions.BatchResponseSortError - controller :: object - calls, response :: list - r0 :: str - r1 :: i32 - r2 :: bit - r3 :: ptr - r4 :: native_int - r5 :: list - r6 :: short_int - r7 :: ptr - r8 :: native_int - r9 :: short_int - r10 :: bit - r11 :: native_int - r12, r13 :: ptr - r14 :: native_int - r15 :: ptr - r16 :: object +def lru_cache_lite_nonull(func): + func :: object + r0 :: dank_mids.helpers.lru_cache.lru_cache_lite_nonull_env + r1 :: bool + r2 :: dict + r3 :: bool + r4 :: dank_mids.helpers.lru_cache.lru_cache_lite_wrap_lru_cache_lite_nonull_obj + r5 :: bool + r6 :: object + r7 :: dict + r8 :: str + r9 :: object + r10 :: object[1] + r11 :: object_ptr + r12 :: object + r13 :: object[1] + r14 :: object_ptr + r15 :: object + r16 :: dict r17 :: str - r18 :: object[1] - r19 :: object_ptr - r20 :: object - r21 :: bit - r22 :: short_int - r23 :: str - r24 :: i32 - r25 :: bit - r26 :: object - r27 :: str - r28, r29 :: object - r30 :: object[2] - r31 :: object_ptr - r32 :: object - r33 :: str - r34 :: object - r35, r36 :: str - r37 :: object - r38, r39, r40 :: str - r41 :: object - r42, r43 :: str - r44 :: ptr - r45 :: native_int - r46 :: list - r47 :: short_int - r48 :: ptr - r49 :: native_int - r50 :: short_int - r51 :: bit - r52 :: native_int - r53, r54 :: ptr - r55 :: native_int - r56 :: ptr - r57 :: object - r58 :: str - r59 :: object - r60 :: bit - r61 :: short_int - r62, r63, r64 :: str - r65 :: object - r66 :: list - r67, r68 :: str - r69 :: object[1] - r70 :: object_ptr - r71 :: object - r72 :: None + r18 :: i32 + r19 :: bit + r20 :: dict + r21 :: str + r22 :: i32 + r23 :: bit + r24 :: object L0: - r0 = 'calls' - r1 = PyObject_SetAttr(self, r0, calls) - r2 = r1 >= 0 :: signed - if not r2 goto L28 (error at __init__:127) else goto L1 :: bool + r0 = lru_cache_lite_nonull_env() + if is_error(r0) goto L14 (error at lru_cache_lite_nonull:52) else goto L1 L1: - r3 = get_element_ptr response ob_size :: PyVarObject - r4 = load_mem r3 :: native_int* - r5 = PyList_New(r4) - if is_error(r5) goto L28 (error at __init__:133) else goto L2 + inc_ref func + r0.func = func; r1 = is_error + if not r1 goto L15 (error at lru_cache_lite_nonull:52) else goto L2 :: bool L2: - r6 = 0 + r2 = PyDict_New() + if is_error(r2) goto L15 (error at lru_cache_lite_nonull:86) else goto L3 L3: - r7 = get_element_ptr response ob_size :: PyVarObject - r8 = load_mem r7 :: native_int* - r9 = r8 << 1 - r10 = r6 < r9 :: signed - if r10 goto L4 else goto L7 :: bool + r0.cache = r2; r3 = is_error + if not r3 goto L15 (error at lru_cache_lite_nonull:86) else goto L4 :: bool L4: - r11 = r6 >> 1 - r12 = get_element_ptr response ob_item :: PyListObject - r13 = load_mem r12 :: ptr* - r14 = r11 * 8 - r15 = r13 + r14 - r16 = load_mem r15 :: builtins.object* - inc_ref r16 - r17 = 'decode' - r18 = [r16] - r19 = load_address r18 - r20 = PyObject_VectorcallMethod(r17, r19, 9223372036854775809, 0) - if is_error(r20) goto L29 (error at __init__:133) else goto L5 + r4 = lru_cache_lite_wrap_lru_cache_lite_nonull_obj() + if is_error(r4) goto L15 (error at lru_cache_lite_nonull:89) else goto L5 L5: - dec_ref r16 - r21 = CPyList_SetItemUnsafe(r5, r6, r20) - if not r21 goto L30 (error at __init__:133) else goto L6 :: bool + inc_ref r0 + r4.__mypyc_env__ = r0; r5 = is_error + if not r5 goto L16 (error at lru_cache_lite_nonull:89) else goto L6 :: bool L6: - r22 = r6 + 2 - r6 = r22 - goto L3 + r6 = r0.func + if is_error(r6) goto L16 (error at lru_cache_lite_nonull:88) else goto L7 L7: - r23 = 'results' - r24 = PyObject_SetAttr(self, r23, r5) - dec_ref r5 - r25 = r24 >= 0 :: signed - if not r25 goto L28 (error at __init__:133) else goto L8 :: bool + r7 = dank_mids.helpers.lru_cache.globals :: static + r8 = 'wraps' + r9 = CPyDict_GetItem(r7, r8) + if is_error(r9) goto L17 (error at lru_cache_lite_nonull:88) else goto L8 L8: - r26 = builtins :: module - r27 = 'super' - r28 = CPyObject_GetAttr(r26, r27) - if is_error(r28) goto L28 (error at __init__:139) else goto L9 + r10 = [r6] + r11 = load_address r10 + r12 = _PyObject_Vectorcall(r9, r11, 1, 0) + dec_ref r9 + if is_error(r12) goto L17 (error at lru_cache_lite_nonull:88) else goto L9 L9: - r29 = dank_mids._exceptions.BatchResponseSortError :: type - r30 = [r29, self] - r31 = load_address r30 - r32 = _PyObject_Vectorcall(r28, r31, 2, 0) - dec_ref r28 - if is_error(r32) goto L28 (error at __init__:139) else goto L10 + dec_ref r6 + r13 = [r4] + r14 = load_address r13 + r15 = _PyObject_Vectorcall(r12, r14, 1, 0) + dec_ref r12 + if is_error(r15) goto L16 (error at lru_cache_lite_nonull:89) else goto L10 L10: - r33 = '__init__' - r34 = CPyObject_GetAttr(r32, r33) - dec_ref r32 - if is_error(r34) goto L28 (error at __init__:139) else goto L11 + dec_ref r4 + inc_ref r15 + r16 = dank_mids.helpers.lru_cache.globals :: static + r17 = 'lru_cache_lite_wrap' + r18 = CPyDict_SetItem(r16, r17, r15) + dec_ref r15 + r19 = r18 >= 0 :: signed + if not r19 goto L18 (error at lru_cache_lite_nonull:89) else goto L11 :: bool L11: - r35 = 'This will not mess up your run but will make things needlessly slow. Please show this to Bob.\nendpoint=' - r36 = 'endpoint' - r37 = CPyObject_GetAttr(controller, r36) - if is_error(r37) goto L31 (error at __init__:141) else goto L12 + r20 = r0.cache + dec_ref r0 + if is_error(r20) goto L19 (error at lru_cache_lite_nonull:96) else goto L12 L12: - r38 = cast(str, r37) - if is_error(r38) goto L31 (error at __init__:141) else goto L13 + r21 = 'cache' + r22 = PyObject_SetAttr(r15, r21, r20) + dec_ref r20 + r23 = r22 >= 0 :: signed + if not r23 goto L19 (error at lru_cache_lite_nonull:96) else goto L13 :: bool L13: - r39 = '\nclient_version=' - r40 = 'client_version' - r41 = CPyObject_GetAttr(controller, r40) - if is_error(r41) goto L32 (error at __init__:142) else goto L14 + return r15 L14: - r42 = cast(str, r41) - if is_error(r42) goto L32 (error at __init__:142) else goto L15 + r24 = :: object + return r24 L15: - r43 = '\ncalls=' - r44 = get_element_ptr calls ob_size :: PyVarObject - r45 = load_mem r44 :: native_int* - r46 = PyList_New(r45) - if is_error(r46) goto L33 (error at __init__:143) else goto L16 + dec_ref r0 + goto L14 L16: - r47 = 0 + dec_ref r0 + dec_ref r4 + goto L14 L17: - r48 = get_element_ptr calls ob_size :: PyVarObject - r49 = load_mem r48 :: native_int* - r50 = r49 << 1 - r51 = r47 < r50 :: signed - if r51 goto L18 else goto L21 :: bool -L18: - r52 = r47 >> 1 - r53 = get_element_ptr calls ob_item :: PyListObject - r54 = load_mem r53 :: ptr* - r55 = r52 * 8 - r56 = r54 + r55 - r57 = load_mem r56 :: builtins.object* - inc_ref r57 - r58 = 'uid' - r59 = CPyObject_GetAttr(r57, r58) - dec_ref r57 - if is_error(r59) goto L34 (error at __init__:143) else goto L19 + dec_ref r0 + dec_ref r4 + dec_ref r6 + goto L14 +L18: + dec_ref r0 + dec_ref r15 + goto L14 L19: - r60 = CPyList_SetItemUnsafe(r46, r47, r59) - if not r60 goto L34 (error at __init__:143) else goto L20 :: bool -L20: - r61 = r47 + 2 - r47 = r61 - goto L17 -L21: - r62 = PyObject_Str(r46) - dec_ref r46 - if is_error(r62) goto L33 (error at __init__:140) else goto L22 -L22: - r63 = '\nresponse=' - r64 = 'results' - r65 = CPyObject_GetAttr(self, r64) - if is_error(r65) goto L35 (error at __init__:144) else goto L23 -L23: - r66 = cast(list, r65) - if is_error(r66) goto L35 (error at __init__:144) else goto L24 -L24: - r67 = PyObject_Str(r66) - dec_ref r66 - if is_error(r67) goto L35 (error at __init__:140) else goto L25 -L25: - r68 = CPyStr_Build(8, r35, r38, r39, r42, r43, r62, r63, r67) - dec_ref r38 - dec_ref r42 - dec_ref r62 - dec_ref r67 - if is_error(r68) goto L31 (error at __init__:140) else goto L26 -L26: - r69 = [r68] - r70 = load_address r69 - r71 = _PyObject_Vectorcall(r34, r70, 1, 0) - dec_ref r34 - if is_error(r71) goto L36 (error at __init__:139) else goto L37 -L27: - dec_ref r68 - return 1 -L28: - r72 = :: None - return r72 -L29: - dec_ref r5 - dec_ref r16 - goto L28 -L30: - dec_ref r5 - goto L28 -L31: - dec_ref r34 - goto L28 -L32: - dec_ref r34 - dec_ref r38 - goto L28 -L33: - dec_ref r34 - dec_ref r38 - dec_ref r42 - goto L28 -L34: - dec_ref r34 - dec_ref r38 - dec_ref r42 - dec_ref r46 - goto L28 -L35: - dec_ref r34 - dec_ref r38 - dec_ref r42 - dec_ref r62 - goto L28 -L36: - dec_ref r68 - goto L28 -L37: - dec_ref r71 - goto L27 + dec_ref r15 + goto L14 -def ChainstackRateLimitError.try_again_in(self): - self :: dank_mids._exceptions.ChainstackRateLimitError - r0 :: str - r1 :: object - r2 :: str - r3 :: object - r4 :: str - r5 :: object +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str + r4, r5 :: object r6 :: str - r7 :: object - r8 :: float - r9 :: bit - r10 :: object - r11 :: float + r7 :: dict + r8, r9 :: object + r10 :: str + r11 :: dict + r12, r13 :: object + r14 :: str + r15 :: dict + r16 :: object + r17 :: str + r18 :: dict + r19 :: str + r20 :: object + r21 :: object[1] + r22 :: object_ptr + r23 :: object + r24 :: dict + r25 :: str + r26 :: i32 + r27 :: bit + r28 :: str + r29 :: dict + r30 :: str + r31 :: object + r32 :: object[1] + r33 :: object_ptr + r34 :: object + r35 :: dict + r36 :: str + r37 :: i32 + r38 :: bit + r39, r40 :: str + r41 :: list + r42, r43, r44 :: ptr + r45 :: dict + r46 :: str + r47 :: i32 + r48 :: bit + r49 :: None L0: - r0 = 'response' - r1 = CPyObject_GetAttr(self, r0) - if is_error(r1) goto L7 (error at try_again_in:167) else goto L1 + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool L1: - r2 = 'error' - r3 = CPyObject_GetAttr(r1, r2) - dec_ref r1 - if is_error(r3) goto L7 (error at try_again_in:167) else goto L2 + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L15 (error at :-1) else goto L2 L2: - r4 = 'data' - r5 = CPyObject_GetAttr(r3, r4) - dec_ref r3 - if is_error(r5) goto L7 (error at try_again_in:167) else goto L3 + builtins = r4 :: module + dec_ref r4 L3: - r6 = 'try_again_in' - r7 = CPyObject_GetAttr(r5, r6) - dec_ref r5 - if is_error(r7) goto L7 (error at try_again_in:167) else goto L4 + r5 = ('wraps',) + r6 = 'functools' + r7 = dank_mids.helpers.lru_cache.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L15 (error at :1) else goto L4 L4: - r8 = unbox(float, r7) - dec_ref r7 - r9 = r8 == -113.0 - if r9 goto L6 else goto L5 :: bool + functools = r8 :: module + dec_ref r8 + r9 = ('Callable', 'Dict', 'TypeVar') + r10 = 'typing' + r11 = dank_mids.helpers.lru_cache.globals :: static + r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) + if is_error(r12) goto L15 (error at :2) else goto L5 L5: - return r8 + typing = r12 :: module + dec_ref r12 + r13 = ('ParamSpec',) + r14 = 'typing_extensions' + r15 = dank_mids.helpers.lru_cache.globals :: static + r16 = CPyImport_ImportFromMany(r14, r13, r13, r15) + if is_error(r16) goto L15 (error at :4) else goto L6 L6: - r10 = PyErr_Occurred() - if not is_error(r10) goto L7 (error at try_again_in:167) else goto L5 + typing_extensions = r16 :: module + dec_ref r16 + r17 = '__P' + r18 = dank_mids.helpers.lru_cache.globals :: static + r19 = 'ParamSpec' + r20 = CPyDict_GetItem(r18, r19) + if is_error(r20) goto L15 (error at :7) else goto L7 L7: - r11 = :: float - return r11 + r21 = [r17] + r22 = load_address r21 + r23 = _PyObject_Vectorcall(r20, r22, 1, 0) + dec_ref r20 + if is_error(r23) goto L15 (error at :7) else goto L8 +L8: + r24 = dank_mids.helpers.lru_cache.globals :: static + r25 = '__P' + r26 = CPyDict_SetItem(r24, r25, r23) + dec_ref r23 + r27 = r26 >= 0 :: signed + if not r27 goto L15 (error at :7) else goto L9 :: bool +L9: + r28 = '__T' + r29 = dank_mids.helpers.lru_cache.globals :: static + r30 = 'TypeVar' + r31 = CPyDict_GetItem(r29, r30) + if is_error(r31) goto L15 (error at :8) else goto L10 +L10: + r32 = [r28] + r33 = load_address r32 + r34 = _PyObject_Vectorcall(r31, r33, 1, 0) + dec_ref r31 + if is_error(r34) goto L15 (error at :8) else goto L11 +L11: + r35 = dank_mids.helpers.lru_cache.globals :: static + r36 = '__T' + r37 = CPyDict_SetItem(r35, r36, r34) + dec_ref r34 + r38 = r37 >= 0 :: signed + if not r38 goto L15 (error at :8) else goto L12 :: bool +L12: + r39 = 'lru_cache_lite' + r40 = 'lru_cache_lite_nonull' + r41 = PyList_New(2) + if is_error(r41) goto L15 (error at :100) else goto L13 +L13: + r42 = get_element_ptr r41 ob_item :: PyListObject + r43 = load_mem r42 :: ptr* + inc_ref r39 + set_mem r43, r39 :: builtins.object* + inc_ref r40 + r44 = r43 + 8 + set_mem r44, r40 :: builtins.object* + r45 = dank_mids.helpers.lru_cache.globals :: static + r46 = '__all__' + r47 = CPyDict_SetItem(r45, r46, r41) + dec_ref r41 + r48 = r47 >= 0 :: signed + if not r48 goto L15 (error at :100) else goto L14 :: bool +L14: + return 1 +L15: + r49 = :: None + return r49 def __top_level__(): r0, r1 :: object r2 :: bit r3 :: str - r4 :: object - r5, r6 :: object_ptr - r7 :: object_ptr[2] - r8 :: c_ptr - r9 :: native_int[2] - r10 :: c_ptr - r11 :: object - r12 :: dict - r13, r14 :: str - r15 :: bit - r16 :: object - r17 :: str - r18 :: dict - r19, r20 :: object - r21 :: str - r22 :: dict - r23 :: object - r24 :: str - r25 :: object - r26 :: str - r27 :: object - r28 :: object[1] - r29 :: object_ptr - r30 :: object - r31 :: dict - r32 :: str - r33 :: i32 - r34 :: bit - r35 :: object - r36 :: str - r37 :: object - r38 :: tuple - r39 :: str - r40, r41 :: object - r42, r43 :: str - r44 :: tuple - r45 :: i32 - r46 :: bit - r47 :: dict - r48 :: str - r49 :: i32 - r50 :: bit - r51 :: object - r52 :: str - r53 :: object - r54 :: tuple + r4, r5 :: object + r6 :: str + r7 :: dict + r8, r9 :: object + r10 :: str + r11 :: dict + r12 :: object + r13, r14 :: object_ptr + r15 :: object_ptr[2] + r16 :: c_ptr + r17 :: native_int[2] + r18 :: c_ptr + r19 :: object + r20 :: dict + r21, r22 :: str + r23 :: bit + r24 :: object + r25 :: str + r26 :: dict + r27, r28 :: object + r29 :: str + r30 :: dict + r31, r32 :: object + r33 :: str + r34 :: dict + r35, r36 :: object + r37 :: str + r38 :: dict + r39, r40 :: object + r41 :: str + r42 :: dict + r43 :: object + r44 :: str + r45 :: object + r46 :: bool + r47 :: object[1] + r48 :: object_ptr + r49 :: object + r50 :: dict + r51 :: str + r52 :: i32 + r53 :: bit + r54 :: dict r55 :: str - r56, r57 :: object - r58, r59 :: str - r60 :: tuple + r56 :: object + r57 :: str + r58 :: object + r59 :: str + r60 :: object r61 :: i32 r62 :: bit - r63 :: dict - r64 :: str - r65 :: i32 - r66 :: bit - r67 :: object - r68 :: tuple - r69 :: str - r70, r71 :: object - r72, r73 :: str - r74 :: tuple - r75 :: i32 - r76 :: bit - r77 :: dict - r78 :: str - r79 :: i32 - r80 :: bit - r81 :: object - r82 :: tuple - r83 :: str - r84, r85 :: object - r86, r87 :: str - r88 :: tuple - r89 :: i32 - r90 :: bit - r91 :: dict - r92 :: str - r93 :: i32 - r94 :: bit - r95 :: object - r96 :: tuple - r97 :: str - r98, r99 :: object - r100, r101 :: str - r102 :: tuple - r103 :: i32 - r104 :: bit - r105 :: dict - r106 :: str - r107 :: i32 - r108 :: bit - r109 :: object - r110 :: tuple + r63 :: bool + r64 :: object + r65 :: bool + r66 :: str + r67 :: object[1] + r68 :: object_ptr + r69 :: object + r70 :: bool + r71 :: object + r72 :: bool + r73 :: dict + r74 :: str + r75, r76 :: object + r77 :: str + r78 :: object[2] + r79 :: object_ptr + r80, r81 :: object + r82 :: bool + r83 :: int + r84 :: bool + r85 :: str + r86 :: object + r87 :: object[2] + r88 :: object_ptr + r89 :: object + r90 :: bool + r91 :: object + r92 :: bool + r93 :: int + r94 :: bool + r95 :: str + r96 :: object + r97 :: object[2] + r98 :: object_ptr + r99, r100 :: object + r101 :: bool + r102, r103 :: str + r104 :: object[2] + r105 :: object_ptr + r106 :: object + r107 :: str + r108 :: dict + r109 :: str + r110 :: object r111 :: str - r112, r113 :: object - r114, r115 :: str - r116 :: tuple - r117 :: i32 - r118 :: bit + r112 :: object + r113 :: bool + r114 :: object + r115 :: object[4] + r116 :: object_ptr + r117, r118 :: object r119 :: dict r120 :: str r121 :: i32 r122 :: bit - r123 :: dict - r124 :: str - r125 :: object - r126 :: tuple - r127 :: str - r128, r129 :: object - r130 :: bool - r131, r132, r133, r134 :: str - r135 :: tuple - r136 :: i32 - r137 :: bit - r138 :: dict - r139 :: str - r140 :: i32 - r141 :: bit - r142 :: dict - r143 :: str - r144, r145 :: object - r146 :: str - r147, r148 :: object - r149 :: str - r150, r151 :: object - r152 :: str - r153, r154 :: object - r155 :: str - r156, r157 :: object - r158 :: str - r159, r160 :: object - r161 :: str - r162 :: object - r163 :: tuple[object, object, object, object, object, object] - r164, r165 :: object - r166 :: dict - r167 :: str - r168 :: i32 - r169 :: bit - r170 :: dict - r171 :: str - r172 :: object - r173 :: dict - r174 :: str - r175 :: i32 - r176 :: bit - r177 :: object - r178 :: str - r179 :: object - r180 :: tuple - r181 :: str - r182, r183 :: object - r184, r185 :: str - r186 :: tuple - r187 :: i32 - r188 :: bit - r189 :: dict + r123 :: str + r124, r125 :: object + r126 :: bool + r127 :: object + r128 :: object[3] + r129 :: object_ptr + r130, r131 :: object + r132 :: dict + r133 :: str + r134 :: i32 + r135 :: bit + r136 :: str + r137, r138 :: object + r139 :: bool + r140 :: object + r141 :: object[3] + r142 :: object_ptr + r143, r144 :: object + r145 :: dict + r146 :: str + r147 :: i32 + r148 :: bit + r149 :: str + r150, r151 :: object + r152 :: bool + r153 :: object + r154 :: object[3] + r155 :: object_ptr + r156, r157 :: object + r158 :: dict + r159 :: str + r160 :: i32 + r161 :: bit + r162 :: str + r163, r164 :: object + r165 :: bool + r166 :: object + r167 :: object[3] + r168 :: object_ptr + r169, r170 :: object + r171 :: dict + r172 :: str + r173 :: i32 + r174 :: bit + r175 :: object + r176 :: bool + r177 :: str + r178 :: object + r179 :: str + r180, r181 :: object + r182 :: object[5] + r183 :: object_ptr + r184, r185 :: object + r186 :: dict + r187 :: str + r188 :: i32 + r189 :: bit r190 :: str - r191 :: i32 - r192 :: bit - r193 :: object - r194 :: str - r195 :: object - r196 :: tuple - r197 :: str - r198, r199 :: object - r200, r201 :: str - r202 :: tuple - r203 :: i32 - r204 :: bit + r191, r192 :: object + r193 :: bool + r194 :: i32 + r195 :: bit + r196 :: bool + r197 :: object + r198 :: bool + r199, r200 :: object + r201 :: object[4] + r202 :: object_ptr + r203, r204 :: object r205 :: dict r206 :: str r207 :: i32 r208 :: bit r209 :: object - r210 :: tuple + r210 :: bool r211 :: str - r212, r213 :: object - r214, r215 :: str - r216 :: tuple - r217 :: i32 - r218 :: bit - r219 :: dict - r220 :: str - r221 :: i32 - r222 :: bit - r223 :: object - r224 :: tuple - r225 :: str - r226, r227 :: object - r228, r229 :: str - r230 :: tuple - r231 :: i32 - r232 :: bit - r233 :: dict - r234 :: str - r235 :: i32 - r236 :: bit - r237 :: object - r238 :: tuple + r212 :: object + r213 :: str + r214, r215 :: object + r216 :: object[5] + r217 :: object_ptr + r218, r219 :: object + r220 :: dict + r221 :: str + r222 :: i32 + r223 :: bit + r224 :: str + r225, r226 :: object + r227 :: bool + r228 :: i32 + r229 :: bit + r230 :: bool + r231 :: object + r232 :: bool + r233 :: object + r234 :: object[3] + r235 :: object_ptr + r236, r237 :: object + r238 :: dict r239 :: str - r240, r241 :: object - r242, r243 :: str - r244 :: tuple - r245 :: i32 - r246 :: bit - r247 :: dict - r248 :: str - r249 :: i32 - r250 :: bit - r251 :: None + r240 :: i32 + r241 :: bit + r242 :: str + r243, r244 :: object + r245 :: bool + r246 :: object + r247 :: object[3] + r248 :: object_ptr + r249, r250 :: object + r251 :: dict + r252 :: str + r253 :: i32 + r254 :: bit + r255 :: object + r256 :: bool + r257 :: str + r258 :: object + r259 :: str + r260, r261 :: object + r262 :: object[5] + r263 :: object_ptr + r264, r265 :: object + r266 :: dict + r267 :: str + r268 :: i32 + r269 :: bit + r270 :: str + r271 :: dict + r272 :: str + r273, r274 :: object + r275 :: bool + r276 :: object + r277 :: bool + r278 :: str + r279 :: object + r280 :: i32 + r281 :: bit + r282 :: bool + r283 :: object + r284 :: bool + r285 :: object + r286 :: object[4] + r287 :: object_ptr + r288, r289 :: object + r290 :: dict + r291 :: str + r292 :: i32 + r293 :: bit + r294 :: str + r295 :: dict + r296 :: str + r297, r298 :: object + r299 :: bool + r300 :: str + r301, r302, r303, r304 :: object + r305 :: bool + r306 :: str + r307 :: object + r308 :: i32 + r309 :: bit + r310 :: bool + r311 :: object + r312 :: bool + r313 :: object + r314 :: object[4] + r315 :: object_ptr + r316, r317 :: object + r318 :: dict + r319 :: str + r320 :: i32 + r321 :: bit + r322 :: str + r323 :: dict + r324 :: str + r325, r326 :: object + r327 :: bool + r328 :: str + r329 :: object + r330 :: i32 + r331 :: bit + r332 :: bool + r333 :: int + r334 :: object + r335 :: bool + r336 :: str + r337 :: object + r338 :: i32 + r339 :: bit + r340 :: bool + r341 :: object + r342 :: bool + r343, r344 :: object + r345 :: object[4] + r346 :: object_ptr + r347, r348 :: object + r349 :: dict + r350 :: str + r351 :: i32 + r352 :: bit + r353 :: str + r354 :: dict + r355 :: str + r356, r357 :: object + r358 :: bool + r359 :: str + r360 :: object + r361 :: i32 + r362 :: bit + r363 :: bool + r364 :: int + r365 :: object + r366 :: bool + r367 :: str + r368 :: object + r369 :: i32 + r370 :: bit + r371 :: bool + r372 :: object + r373 :: bool + r374, r375 :: object + r376 :: object[4] + r377 :: object_ptr + r378, r379 :: object + r380 :: dict + r381 :: str + r382 :: i32 + r383 :: bit + r384 :: str + r385 :: dict + r386 :: str + r387, r388 :: object + r389 :: bool + r390 :: str + r391 :: object + r392 :: i32 + r393 :: bit + r394 :: bool + r395 :: int + r396 :: object + r397 :: bool + r398 :: str + r399 :: object + r400 :: i32 + r401 :: bit + r402 :: bool + r403 :: object + r404 :: bool + r405, r406 :: object + r407 :: object[4] + r408 :: object_ptr + r409, r410 :: object + r411 :: dict + r412 :: str + r413 :: i32 + r414 :: bit + r415 :: str + r416, r417 :: object + r418 :: bool + r419 :: str + r420 :: object + r421 :: i32 + r422 :: bit + r423 :: bool + r424 :: int + r425 :: object + r426 :: bool + r427 :: str + r428 :: object + r429 :: i32 + r430 :: bit + r431 :: bool + r432 :: object + r433 :: bool + r434, r435 :: object + r436 :: object[4] + r437 :: object_ptr + r438, r439 :: object + r440 :: dict + r441 :: str + r442 :: i32 + r443 :: bit + r444 :: str + r445, r446 :: object + r447 :: bool + r448, r449 :: object + r450 :: object[4] + r451 :: object_ptr + r452, r453 :: object + r454 :: dict + r455 :: str + r456 :: i32 + r457 :: bit + r458 :: str + r459, r460 :: object + r461 :: bool + r462, r463 :: object + r464 :: object[4] + r465 :: object_ptr + r466, r467 :: object + r468 :: dict + r469 :: str + r470 :: i32 + r471 :: bit + r472 :: str + r473, r474 :: object + r475 :: bool + r476, r477 :: object + r478 :: object[4] + r479 :: object_ptr + r480, r481 :: object + r482 :: dict + r483 :: str + r484 :: i32 + r485 :: bit + r486 :: str + r487, r488 :: object + r489 :: bool + r490 :: object + r491 :: bool + r492 :: i32 + r493 :: bit + r494 :: bool + r495 :: object + r496 :: bool + r497 :: object + r498 :: object[4] + r499 :: object_ptr + r500, r501 :: object + r502 :: dict + r503 :: str + r504 :: i32 + r505 :: bit + r506 :: str + r507, r508 :: object + r509 :: bool + r510 :: object + r511 :: object[3] + r512 :: object_ptr + r513, r514 :: object + r515 :: dict + r516 :: str + r517 :: i32 + r518 :: bit + r519, r520 :: str + r521 :: dict + r522 :: str + r523, r524 :: object + r525 :: bool + r526 :: str + r527, r528 :: object + r529 :: bool + r530 :: object + r531 :: object[4] + r532 :: object_ptr + r533, r534 :: object + r535, r536 :: str + r537 :: dict + r538 :: str + r539 :: object + r540 :: str + r541, r542 :: object + r543 :: bool + r544, r545 :: object + r546 :: object[4] + r547 :: object_ptr + r548, r549 :: object + r550, r551 :: str + r552 :: dict + r553 :: str + r554 :: object + r555 :: str + r556, r557 :: object + r558 :: bool + r559, r560 :: object + r561 :: object[4] + r562 :: object_ptr + r563, r564 :: object + r565, r566 :: dict + r567 :: str + r568 :: i32 + r569 :: bit + r570 :: dict + r571 :: str + r572 :: object + r573 :: str + r574 :: object + r575 :: str + r576 :: object + r577 :: i32 + r578 :: bit + r579 :: bool + r580 :: object + r581 :: bool + r582, r583 :: str + r584 :: object[2] + r585 :: object_ptr + r586, r587 :: object + r588 :: bool + r589, r590 :: str + r591 :: object[2] + r592 :: object_ptr + r593, r594 :: object + r595 :: bool + r596 :: str + r597 :: object + r598 :: i32 + r599 :: bit + r600 :: bool + r601 :: object + r602 :: bool + r603, r604 :: str + r605 :: object[2] + r606 :: object_ptr + r607, r608 :: object + r609 :: bool + r610 :: str + r611 :: object + r612 :: i32 + r613 :: bit + r614 :: bool + r615 :: dict + r616 :: str + r617 :: object + r618 :: dict + r619 :: str + r620 :: object + r621 :: dict + r622 :: str + r623 :: object + r624 :: set + r625 :: i32 + r626 :: bit + r627 :: i32 + r628 :: bit + r629 :: i32 + r630 :: bit + r631, r632 :: object + r633 :: dict + r634 :: str + r635 :: i32 + r636 :: bit + r637 :: dict + r638 :: str + r639 :: object + r640 :: str + r641 :: object + r642 :: i32 + r643 :: bit + r644 :: bool + r645 :: str + r646 :: dict + r647 :: str + r648 :: object + r649 :: str + r650 :: object + r651, r652, r653 :: str + r654 :: object + r655 :: str + r656 :: object + r657 :: object[1] + r658 :: object_ptr + r659 :: object + r660 :: bit + r661 :: None L0: r0 = builtins :: module r1 = load_address _Py_NoneStruct @@ -29169,560 +27935,1946 @@ L0: L1: r3 = 'builtins' r4 = PyImport_Import(r3) - if is_error(r4) goto L88 (error at :-1) else goto L2 + if is_error(r4) goto L332 (error at :-1) else goto L2 L2: builtins = r4 :: module dec_ref r4 L3: - r5 = load_address logging :: module - r6 = load_address re :: module - r7 = [r5, r6] - r8 = load_address r7 - r9 = [1, 2] - r10 = load_address r9 - r11 = (('logging', 'logging', 'logging'), ('re', 're', 're')) - r12 = dank_mids._exceptions.globals :: static - r13 = 'dank_mids\\_exceptions.py' - r14 = '' - r15 = CPyImport_ImportMany(r11, r8, r12, r13, r14, r10) - if not r15 goto L88 else goto L4 :: bool + r5 = ('StreamHandler',) + r6 = 'logging' + r7 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L332 (error at :2) else goto L4 L4: - r16 = ('TYPE_CHECKING', 'Final', 'List', 'Union', 'final') - r17 = 'typing' - r18 = dank_mids._exceptions.globals :: static - r19 = CPyImport_ImportFromMany(r17, r16, r16, r18) - if is_error(r19) goto L88 (error at :3) else goto L5 + logging = r8 :: module + dec_ref r8 + r9 = ('Dict', 'Final') + r10 = 'typing' + r11 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r12 = CPyImport_ImportFromMany(r10, r9, r9, r11) + if is_error(r12) goto L332 (error at :3) else goto L5 L5: - typing = r19 :: module - dec_ref r19 - r20 = ('ClientResponseError',) - r21 = 'aiohttp.client_exceptions' - r22 = dank_mids._exceptions.globals :: static - r23 = CPyImport_ImportFromMany(r21, r20, r20, r22) - if is_error(r23) goto L88 (error at :5) else goto L6 + typing = r12 :: module + dec_ref r12 + r13 = load_address a_sync :: module + r14 = load_address typed_envs :: module + r15 = [r13, r14] + r16 = load_address r15 + r17 = [5, 6] + r18 = load_address r17 + r19 = (('a_sync', 'a_sync', 'a_sync'), ('typed_envs', 'typed_envs', 'typed_envs')) + r20 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r21 = 'dank_mids\\ENVIRONMENT_VARIABLES.py' + r22 = '' + r23 = CPyImport_ImportMany(r19, r16, r20, r21, r22, r18) + if not r23 goto L332 else goto L6 :: bool L6: - aiohttp.client_exceptions = r23 :: module - dec_ref r23 - if 0 goto L7 else goto L7 :: bool + r24 = ('AsyncProcessPoolExecutor',) + r25 = 'a_sync' + r26 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r27 = CPyImport_ImportFromMany(r25, r24, r24, r26) + if is_error(r27) goto L332 (error at :7) else goto L7 L7: - r24 = 'dank_mids.exceptions' - r25 = logging :: module - r26 = 'getLogger' - r27 = CPyObject_GetAttr(r25, r26) - if is_error(r27) goto L88 (error at :13) else goto L8 -L8: - r28 = [r24] - r29 = load_address r28 - r30 = _PyObject_Vectorcall(r27, r29, 1, 0) + a_sync = r27 :: module dec_ref r27 - if is_error(r30) goto L88 (error at :13) else goto L9 + r28 = ('_envs',) + r29 = 'dank_mids' + r30 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r31 = CPyImport_ImportFromMany(r29, r28, r28, r30) + if is_error(r31) goto L332 (error at :9) else goto L8 +L8: + dank_mids = r31 :: module + dec_ref r31 + r32 = ('INFO', 'getLogger') + r33 = 'dank_mids._logging' + r34 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r35 = CPyImport_ImportFromMany(r33, r32, r32, r34) + if is_error(r35) goto L332 (error at :10) else goto L9 L9: - dank_mids._exceptions.logger = r30 :: static - r31 = dank_mids._exceptions.globals :: static - r32 = 'logger' - r33 = CPyDict_SetItem(r31, r32, r30) - dec_ref r30 - r34 = r33 >= 0 :: signed - if not r34 goto L88 (error at :13) else goto L10 :: bool + dank_mids._logging = r35 :: module + dec_ref r35 + r36 = ('OperationMode',) + r37 = 'dank_mids._mode' + r38 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r39 = CPyImport_ImportFromMany(r37, r36, r36, r38) + if is_error(r39) goto L332 (error at :11) else goto L10 L10: - r35 = builtins :: module - r36 = 'ValueError' - r37 = CPyObject_GetAttr(r35, r36) - if is_error(r37) goto L88 (error at :16) else goto L11 + dank_mids._mode = r39 :: module + dec_ref r39 + r40 = ('BlockSemaphore',) + r41 = 'dank_mids.semaphores' + r42 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r43 = CPyImport_ImportFromMany(r41, r40, r40, r42) + if is_error(r43) goto L332 (error at :12) else goto L11 L11: - r38 = PyTuple_Pack(1, r37) - dec_ref r37 - if is_error(r38) goto L88 (error at :16) else goto L12 + dank_mids.semaphores = r43 :: module + dec_ref r43 + r44 = 'dank_mids.envs' + r45 = dank_mids._logging.getLogger :: static + if is_error(r45) goto L12 else goto L14 L12: - r39 = 'dank_mids._exceptions' - r40 = dank_mids._exceptions.BadResponse_template :: type - r41 = CPyType_FromTemplate(r40, r38, r39) - dec_ref r38 - if is_error(r41) goto L88 (error at :16) else goto L13 + r46 = raise NameError('value for final name "getLogger" was not set') + if not r46 goto L332 (error at :15) else goto L13 :: bool L13: - r42 = '__mypyc_attrs__' - r43 = '__dict__' - r44 = PyTuple_Pack(1, r43) - if is_error(r44) goto L89 (error at :16) else goto L14 + unreachable L14: - r45 = PyObject_SetAttr(r41, r42, r44) - dec_ref r44 - r46 = r45 >= 0 :: signed - if not r46 goto L89 (error at :16) else goto L15 :: bool + r47 = [r44] + r48 = load_address r47 + r49 = _PyObject_Vectorcall(r45, r48, 1, 0) + if is_error(r49) goto L332 (error at :15) else goto L15 L15: - dank_mids._exceptions.BadResponse = r41 :: type - r47 = dank_mids._exceptions.globals :: static - r48 = 'BadResponse' - r49 = CPyDict_SetItem(r47, r48, r41) - dec_ref r41 - r50 = r49 >= 0 :: signed - if not r50 goto L88 (error at :16) else goto L16 :: bool + dank_mids.ENVIRONMENT_VARIABLES.logger = r49 :: static + r50 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r51 = 'logger' + r52 = CPyDict_SetItem(r50, r51, r49) + dec_ref r49 + r53 = r52 >= 0 :: signed + if not r53 goto L332 (error at :15) else goto L16 :: bool L16: - r51 = builtins :: module - r52 = 'ValueError' - r53 = CPyObject_GetAttr(r51, r52) - if is_error(r53) goto L88 (error at :25) else goto L17 + r54 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r55 = 'typed_envs' + r56 = CPyDict_GetItem(r54, r55) + if is_error(r56) goto L332 (error at :17) else goto L17 L17: - r54 = PyTuple_Pack(1, r53) - dec_ref r53 - if is_error(r54) goto L88 (error at :25) else goto L18 + r57 = 'logger' + r58 = CPyObject_GetAttr(r56, r57) + dec_ref r56 + if is_error(r58) goto L332 (error at :17) else goto L18 L18: - r55 = 'dank_mids._exceptions' - r56 = dank_mids._exceptions.EmptyBatch_template :: type - r57 = CPyType_FromTemplate(r56, r54, r55) - dec_ref r54 - if is_error(r57) goto L88 (error at :25) else goto L19 + r59 = 'disabled' + r60 = CPyObject_GetAttr(r58, r59) + dec_ref r58 + if is_error(r60) goto L332 (error at :17) else goto L19 L19: - r58 = '__mypyc_attrs__' - r59 = '__dict__' - r60 = PyTuple_Pack(1, r59) - if is_error(r60) goto L90 (error at :25) else goto L20 -L20: - r61 = PyObject_SetAttr(r57, r58, r60) + r61 = PyObject_IsTrue(r60) dec_ref r60 r62 = r61 >= 0 :: signed - if not r62 goto L90 (error at :25) else goto L21 :: bool + if not r62 goto L332 (error at :17) else goto L20 :: bool +L20: + r63 = truncate r61: i32 to builtins.bool + if r63 goto L55 else goto L21 :: bool L21: - dank_mids._exceptions.EmptyBatch = r57 :: type - r63 = dank_mids._exceptions.globals :: static - r64 = 'EmptyBatch' - r65 = CPyDict_SetItem(r63, r64, r57) - dec_ref r57 - r66 = r65 >= 0 :: signed - if not r66 goto L88 (error at :25) else goto L22 :: bool + r64 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static + if is_error(r64) goto L22 else goto L24 L22: - r67 = dank_mids._exceptions.BadResponse :: type - r68 = PyTuple_Pack(1, r67) - if is_error(r68) goto L88 (error at :30) else goto L23 + r65 = raise NameError('value for final name "logger" was not set') + if not r65 goto L332 (error at :18) else goto L23 :: bool L23: - r69 = 'dank_mids._exceptions' - r70 = dank_mids._exceptions.ExecutionReverted_template :: type - r71 = CPyType_FromTemplate(r70, r68, r69) - dec_ref r68 - if is_error(r71) goto L88 (error at :30) else goto L24 + unreachable L24: - r72 = '__mypyc_attrs__' - r73 = '__dict__' - r74 = PyTuple_Pack(1, r73) - if is_error(r74) goto L91 (error at :30) else goto L25 + r66 = 'hasHandlers' + r67 = [r64] + r68 = load_address r67 + r69 = PyObject_VectorcallMethod(r66, r68, 9223372036854775809, 0) + if is_error(r69) goto L332 (error at :18) else goto L25 L25: - r75 = PyObject_SetAttr(r71, r72, r74) - dec_ref r74 - r76 = r75 >= 0 :: signed - if not r76 goto L91 (error at :30) else goto L26 :: bool + r70 = unbox(bool, r69) + dec_ref r69 + if is_error(r70) goto L332 (error at :18) else goto L26 L26: - dank_mids._exceptions.ExecutionReverted = r71 :: type - r77 = dank_mids._exceptions.globals :: static - r78 = 'ExecutionReverted' - r79 = CPyDict_SetItem(r77, r78, r71) - dec_ref r71 - r80 = r79 >= 0 :: signed - if not r80 goto L88 (error at :30) else goto L27 :: bool + if r70 goto L34 else goto L27 :: bool L27: - r81 = dank_mids._exceptions.BadResponse :: type - r82 = PyTuple_Pack(1, r81) - if is_error(r82) goto L88 (error at :42) else goto L28 + r71 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static + if is_error(r71) goto L28 else goto L30 L28: - r83 = 'dank_mids._exceptions' - r84 = dank_mids._exceptions.OutOfGas_template :: type - r85 = CPyType_FromTemplate(r84, r82, r83) - dec_ref r82 - if is_error(r85) goto L88 (error at :42) else goto L29 + r72 = raise NameError('value for final name "logger" was not set') + if not r72 goto L332 (error at :19) else goto L29 :: bool L29: - r86 = '__mypyc_attrs__' - r87 = '__dict__' - r88 = PyTuple_Pack(1, r87) - if is_error(r88) goto L92 (error at :42) else goto L30 + unreachable L30: - r89 = PyObject_SetAttr(r85, r86, r88) - dec_ref r88 - r90 = r89 >= 0 :: signed - if not r90 goto L92 (error at :42) else goto L31 :: bool + r73 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r74 = 'StreamHandler' + r75 = CPyDict_GetItem(r73, r74) + if is_error(r75) goto L332 (error at :19) else goto L31 L31: - dank_mids._exceptions.OutOfGas = r85 :: type - r91 = dank_mids._exceptions.globals :: static - r92 = 'OutOfGas' - r93 = CPyDict_SetItem(r91, r92, r85) - dec_ref r85 - r94 = r93 >= 0 :: signed - if not r94 goto L88 (error at :42) else goto L32 :: bool + r76 = _PyObject_Vectorcall(r75, 0, 0, 0) + dec_ref r75 + if is_error(r76) goto L332 (error at :19) else goto L32 L32: - r95 = dank_mids._exceptions.BadResponse :: type - r96 = PyTuple_Pack(1, r95) - if is_error(r96) goto L88 (error at :47) else goto L33 + r77 = 'addHandler' + r78 = [r71, r76] + r79 = load_address r78 + r80 = PyObject_VectorcallMethod(r77, r79, 9223372036854775810, 0) + if is_error(r80) goto L333 (error at :19) else goto L334 L33: - r97 = 'dank_mids._exceptions' - r98 = dank_mids._exceptions.PayloadTooLarge_template :: type - r99 = CPyType_FromTemplate(r98, r96, r97) - dec_ref r96 - if is_error(r99) goto L88 (error at :47) else goto L34 + dec_ref r76 L34: - r100 = '__mypyc_attrs__' - r101 = '__dict__' - r102 = PyTuple_Pack(1, r101) - if is_error(r102) goto L93 (error at :47) else goto L35 + r81 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static + if is_error(r81) goto L35 else goto L37 L35: - r103 = PyObject_SetAttr(r99, r100, r102) - dec_ref r102 - r104 = r103 >= 0 :: signed - if not r104 goto L93 (error at :47) else goto L36 :: bool + r82 = raise NameError('value for final name "logger" was not set') + if not r82 goto L332 (error at :20) else goto L36 :: bool L36: - dank_mids._exceptions.PayloadTooLarge = r99 :: type - r105 = dank_mids._exceptions.globals :: static - r106 = 'PayloadTooLarge' - r107 = CPyDict_SetItem(r105, r106, r99) - dec_ref r99 - r108 = r107 >= 0 :: signed - if not r108 goto L88 (error at :47) else goto L37 :: bool + unreachable L37: - r109 = dank_mids._exceptions.BadResponse :: type - r110 = PyTuple_Pack(1, r109) - if is_error(r110) goto L88 (error at :52) else goto L38 + r83 = dank_mids._logging.INFO :: static + if is_error(r83) goto L38 else goto L40 L38: - r111 = 'dank_mids._exceptions' - r112 = dank_mids._exceptions.ExceedsMaxBatchSize_template :: type - r113 = CPyType_FromTemplate(r112, r110, r111) - dec_ref r110 - if is_error(r113) goto L88 (error at :52) else goto L39 + r84 = raise NameError('value for final name "INFO" was not set') + if not r84 goto L332 (error at :20) else goto L39 :: bool L39: - r114 = '__mypyc_attrs__' - r115 = '__dict__' - r116 = PyTuple_Pack(1, r115) - if is_error(r116) goto L94 (error at :52) else goto L40 + unreachable L40: - r117 = PyObject_SetAttr(r113, r114, r116) - dec_ref r116 - r118 = r117 >= 0 :: signed - if not r118 goto L94 (error at :52) else goto L41 :: bool + r85 = 'isEnabledFor' + inc_ref r83 :: int + r86 = box(int, r83) + r87 = [r81, r86] + r88 = load_address r87 + r89 = PyObject_VectorcallMethod(r85, r88, 9223372036854775810, 0) + if is_error(r89) goto L335 (error at :20) else goto L41 L41: - dank_mids._exceptions.ExceedsMaxBatchSize = r113 :: type - r119 = dank_mids._exceptions.globals :: static - r120 = 'ExceedsMaxBatchSize' - r121 = CPyDict_SetItem(r119, r120, r113) - dec_ref r113 - r122 = r121 >= 0 :: signed - if not r122 goto L88 (error at :52) else goto L42 :: bool + dec_ref r86 + r90 = unbox(bool, r89) + dec_ref r89 + if is_error(r90) goto L332 (error at :20) else goto L42 L42: - r123 = dank_mids._exceptions.globals :: static - r124 = 'ClientResponseError' - r125 = CPyDict_GetItem(r123, r124) - if is_error(r125) goto L88 (error at :62) else goto L43 + if r90 goto L51 else goto L43 :: bool L43: - r126 = PyTuple_Pack(1, r125) - dec_ref r125 - if is_error(r126) goto L88 (error at :62) else goto L44 + r91 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static + if is_error(r91) goto L44 else goto L46 L44: - r127 = 'dank_mids._exceptions' - r128 = dank_mids._exceptions.DankMidsClientResponseError_template :: type - r129 = CPyType_FromTemplate(r128, r126, r127) - dec_ref r126 - if is_error(r129) goto L88 (error at :62) else goto L45 + r92 = raise NameError('value for final name "logger" was not set') + if not r92 goto L332 (error at :21) else goto L45 :: bool L45: - r130 = DankMidsClientResponseError_trait_vtable_setup() - if is_error(r130) goto L95 (error at :-1) else goto L46 + unreachable L46: - r131 = '__mypyc_attrs__' - r132 = 'request' - r133 = 'args' - r134 = '_exception' - r135 = PyTuple_Pack(3, r132, r133, r134) - if is_error(r135) goto L95 (error at :62) else goto L47 + r93 = dank_mids._logging.INFO :: static + if is_error(r93) goto L47 else goto L49 L47: - r136 = PyObject_SetAttr(r129, r131, r135) - dec_ref r135 - r137 = r136 >= 0 :: signed - if not r137 goto L95 (error at :62) else goto L48 :: bool + r94 = raise NameError('value for final name "INFO" was not set') + if not r94 goto L332 (error at :21) else goto L48 :: bool L48: - dank_mids._exceptions.DankMidsClientResponseError = r129 :: type - r138 = dank_mids._exceptions.globals :: static - r139 = 'DankMidsClientResponseError' - r140 = CPyDict_SetItem(r138, r139, r129) - dec_ref r129 - r141 = r140 >= 0 :: signed - if not r141 goto L88 (error at :62) else goto L49 :: bool + unreachable L49: - r142 = dank_mids._exceptions.globals :: static - r143 = 'Union' - r144 = CPyDict_GetItem(r142, r143) - if is_error(r144) goto L88 (error at :93) else goto L50 + r95 = 'setLevel' + inc_ref r93 :: int + r96 = box(int, r93) + r97 = [r91, r96] + r98 = load_address r97 + r99 = PyObject_VectorcallMethod(r95, r98, 9223372036854775810, 0) + if is_error(r99) goto L336 (error at :21) else goto L337 L50: - r145 = builtins :: module - r146 = 'AttributeError' - r147 = CPyObject_GetAttr(r145, r146) - if is_error(r147) goto L96 (error at :94) else goto L51 + dec_ref r96 L51: - r148 = builtins :: module - r149 = 'TypeError' - r150 = CPyObject_GetAttr(r148, r149) - if is_error(r150) goto L97 (error at :94) else goto L52 + r100 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static + if is_error(r100) goto L52 else goto L54 L52: - r151 = builtins :: module - r152 = 'UnboundLocalError' - r153 = CPyObject_GetAttr(r151, r152) - if is_error(r153) goto L98 (error at :94) else goto L53 + r101 = raise NameError('value for final name "logger" was not set') + if not r101 goto L332 (error at :22) else goto L53 :: bool L53: - r154 = builtins :: module - r155 = 'NotImplementedError' - r156 = CPyObject_GetAttr(r154, r155) - if is_error(r156) goto L99 (error at :94) else goto L54 + unreachable L54: - r157 = builtins :: module - r158 = 'RuntimeError' - r159 = CPyObject_GetAttr(r157, r158) - if is_error(r159) goto L100 (error at :94) else goto L55 + r102 = 'For your information, you can tweak your configuration for optimal performance using any of the envs below:' + r103 = 'info' + r104 = [r100, r102] + r105 = load_address r104 + r106 = PyObject_VectorcallMethod(r103, r105, 9223372036854775810, 0) + if is_error(r106) goto L332 (error at :22) else goto L338 L55: - r160 = builtins :: module - r161 = 'SyntaxError' - r162 = CPyObject_GetAttr(r160, r161) - if is_error(r162) goto L101 (error at :94) else goto L56 + r107 = 'OPERATION_MODE' + r108 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r109 = 'OperationMode' + r110 = CPyDict_GetItem(r108, r109) + if is_error(r110) goto L332 (error at :35) else goto L56 L56: - r163 = (r147, r150, r153, r156, r159, r162) - r164 = box(tuple[object, object, object, object, object, object], r163) - r165 = PyObject_GetItem(r144, r164) - dec_ref r144 - dec_ref r164 - if is_error(r165) goto L88 (error at :93) else goto L57 + r111 = 'infura' + r112 = dank_mids._envs.create_env :: static + if is_error(r112) goto L339 else goto L59 L57: - r166 = dank_mids._exceptions.globals :: static - r167 = '_internal_err_types' - r168 = CPyDict_SetItem(r166, r167, r165) - dec_ref r165 - r169 = r168 >= 0 :: signed - if not r169 goto L88 (error at :93) else goto L58 :: bool + r113 = raise NameError('value for final name "create_env" was not set') + if not r113 goto L332 (error at :34) else goto L58 :: bool L58: - r170 = dank_mids._exceptions.globals :: static - r171 = '_internal_err_types' - r172 = CPyDict_GetItem(r170, r171) - if is_error(r172) goto L88 (error at :96) else goto L59 + unreachable L59: - dank_mids._exceptions.internal_err_types = r172 :: static - r173 = dank_mids._exceptions.globals :: static - r174 = 'internal_err_types' - r175 = CPyDict_SetItem(r173, r174, r172) - dec_ref r172 - r176 = r175 >= 0 :: signed - if not r176 goto L88 (error at :96) else goto L60 :: bool + r114 = box(bool, 0) + r115 = [r107, r110, r111, r114] + r116 = load_address r115 + r117 = ('default', 'verbose') + r118 = _PyObject_Vectorcall(r112, r116, 2, r117) + if is_error(r118) goto L340 (error at :34) else goto L60 L60: - r177 = builtins :: module - r178 = 'Exception' - r179 = CPyObject_GetAttr(r177, r178) - if is_error(r179) goto L88 (error at :99) else goto L61 + dec_ref r110 + dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE = r118 :: static + r119 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r120 = 'OPERATION_MODE' + r121 = CPyDict_SetItem(r119, r120, r118) + dec_ref r118 + r122 = r121 >= 0 :: signed + if not r122 goto L332 (error at :34) else goto L61 :: bool L61: - r180 = PyTuple_Pack(1, r179) - dec_ref r179 - if is_error(r180) goto L88 (error at :99) else goto L62 + r123 = 'MAX_MULTICALL_SIZE' + r124 = load_address PyLong_Type + r125 = dank_mids._envs.create_env :: static + if is_error(r125) goto L62 else goto L64 L62: - r181 = 'dank_mids._exceptions' - r182 = dank_mids._exceptions.DankMidsInternalError_template :: type - r183 = CPyType_FromTemplate(r182, r180, r181) - dec_ref r180 - if is_error(r183) goto L88 (error at :99) else goto L63 + r126 = raise NameError('value for final name "create_env" was not set') + if not r126 goto L332 (error at :39) else goto L63 :: bool L63: - r184 = '__mypyc_attrs__' - r185 = '__dict__' - r186 = PyTuple_Pack(1, r185) - if is_error(r186) goto L102 (error at :99) else goto L64 + unreachable L64: - r187 = PyObject_SetAttr(r183, r184, r186) - dec_ref r186 - r188 = r187 >= 0 :: signed - if not r188 goto L102 (error at :99) else goto L65 :: bool + r127 = object 10000 + r128 = [r123, r124, r127] + r129 = load_address r128 + r130 = ('default',) + r131 = _PyObject_Vectorcall(r125, r129, 2, r130) + if is_error(r131) goto L332 (error at :39) else goto L65 L65: - dank_mids._exceptions.DankMidsInternalError = r183 :: type - r189 = dank_mids._exceptions.globals :: static - r190 = 'DankMidsInternalError' - r191 = CPyDict_SetItem(r189, r190, r183) - dec_ref r183 - r192 = r191 >= 0 :: signed - if not r192 goto L88 (error at :99) else goto L66 :: bool -L66: - r193 = builtins :: module - r194 = 'Exception' - r195 = CPyObject_GetAttr(r193, r194) - if is_error(r195) goto L88 (error at :115) else goto L67 + dank_mids.ENVIRONMENT_VARIABLES.MAX_MULTICALL_SIZE = r131 :: static + r132 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r133 = 'MAX_MULTICALL_SIZE' + r134 = CPyDict_SetItem(r132, r133, r131) + dec_ref r131 + r135 = r134 >= 0 :: signed + if not r135 goto L332 (error at :39) else goto L66 :: bool +L66: + r136 = 'MAX_JSONRPC_BATCH_SIZE' + r137 = load_address PyLong_Type + r138 = dank_mids._envs.create_env :: static + if is_error(r138) goto L67 else goto L69 L67: - r196 = PyTuple_Pack(1, r195) - dec_ref r195 - if is_error(r196) goto L88 (error at :115) else goto L68 + r139 = raise NameError('value for final name "create_env" was not set') + if not r139 goto L332 (error at :41) else goto L68 :: bool L68: - r197 = 'dank_mids._exceptions' - r198 = dank_mids._exceptions.BatchResponseSortError_template :: type - r199 = CPyType_FromTemplate(r198, r196, r197) - dec_ref r196 - if is_error(r199) goto L88 (error at :115) else goto L69 + unreachable L69: - r200 = '__mypyc_attrs__' - r201 = '__dict__' - r202 = PyTuple_Pack(1, r201) - if is_error(r202) goto L103 (error at :115) else goto L70 + r140 = object 500 + r141 = [r136, r137, r140] + r142 = load_address r141 + r143 = ('default',) + r144 = _PyObject_Vectorcall(r138, r142, 2, r143) + if is_error(r144) goto L332 (error at :41) else goto L70 L70: - r203 = PyObject_SetAttr(r199, r200, r202) - dec_ref r202 - r204 = r203 >= 0 :: signed - if not r204 goto L103 (error at :115) else goto L71 :: bool + dank_mids.ENVIRONMENT_VARIABLES.MAX_JSONRPC_BATCH_SIZE = r144 :: static + r145 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r146 = 'MAX_JSONRPC_BATCH_SIZE' + r147 = CPyDict_SetItem(r145, r146, r144) + dec_ref r144 + r148 = r147 >= 0 :: signed + if not r148 goto L332 (error at :41) else goto L71 :: bool L71: - dank_mids._exceptions.BatchResponseSortError = r199 :: type - r205 = dank_mids._exceptions.globals :: static - r206 = 'BatchResponseSortError' - r207 = CPyDict_SetItem(r205, r206, r199) - dec_ref r199 - r208 = r207 >= 0 :: signed - if not r208 goto L88 (error at :115) else goto L72 :: bool + r149 = 'REQUESTS_PER_SECOND' + r150 = load_address PyLong_Type + r151 = dank_mids._envs.create_env :: static + if is_error(r151) goto L72 else goto L74 L72: - r209 = dank_mids._exceptions.BadResponse :: type - r210 = PyTuple_Pack(1, r209) - if is_error(r210) goto L88 (error at :148) else goto L73 + r152 = raise NameError('value for final name "create_env" was not set') + if not r152 goto L332 (error at :43) else goto L73 :: bool L73: - r211 = 'dank_mids._exceptions' - r212 = dank_mids._exceptions.RateLimitError_template :: type - r213 = CPyType_FromTemplate(r212, r210, r211) - dec_ref r210 - if is_error(r213) goto L88 (error at :148) else goto L74 + unreachable L74: - r214 = '__mypyc_attrs__' - r215 = '__dict__' - r216 = PyTuple_Pack(1, r215) - if is_error(r216) goto L104 (error at :148) else goto L75 + r153 = object 50 + r154 = [r149, r150, r153] + r155 = load_address r154 + r156 = ('default',) + r157 = _PyObject_Vectorcall(r151, r155, 2, r156) + if is_error(r157) goto L332 (error at :43) else goto L75 L75: - r217 = PyObject_SetAttr(r213, r214, r216) - dec_ref r216 - r218 = r217 >= 0 :: signed - if not r218 goto L104 (error at :148) else goto L76 :: bool + dank_mids.ENVIRONMENT_VARIABLES.REQUESTS_PER_SECOND = r157 :: static + r158 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r159 = 'REQUESTS_PER_SECOND' + r160 = CPyDict_SetItem(r158, r159, r157) + dec_ref r157 + r161 = r160 >= 0 :: signed + if not r161 goto L332 (error at :43) else goto L76 :: bool L76: - dank_mids._exceptions.RateLimitError = r213 :: type - r219 = dank_mids._exceptions.globals :: static - r220 = 'RateLimitError' - r221 = CPyDict_SetItem(r219, r220, r213) - dec_ref r213 - r222 = r221 >= 0 :: signed - if not r222 goto L88 (error at :148) else goto L77 :: bool + r162 = 'MIN_REQUESTS_PER_SECOND' + r163 = load_address PyLong_Type + r164 = dank_mids._envs.create_env :: static + if is_error(r164) goto L77 else goto L79 L77: - r223 = dank_mids._exceptions.RateLimitError :: type - r224 = PyTuple_Pack(1, r223) - if is_error(r224) goto L88 (error at :152) else goto L78 + r165 = raise NameError('value for final name "create_env" was not set') + if not r165 goto L332 (error at :45) else goto L78 :: bool L78: - r225 = 'dank_mids._exceptions' - r226 = dank_mids._exceptions.ChainstackRateLimitError_template :: type - r227 = CPyType_FromTemplate(r226, r224, r225) - dec_ref r224 - if is_error(r227) goto L88 (error at :152) else goto L79 + unreachable L79: - r228 = '__mypyc_attrs__' - r229 = '__dict__' - r230 = PyTuple_Pack(1, r229) - if is_error(r230) goto L105 (error at :152) else goto L80 + r166 = object 10 + r167 = [r162, r163, r166] + r168 = load_address r167 + r169 = ('default',) + r170 = _PyObject_Vectorcall(r164, r168, 2, r169) + if is_error(r170) goto L332 (error at :45) else goto L80 L80: - r231 = PyObject_SetAttr(r227, r228, r230) - dec_ref r230 - r232 = r231 >= 0 :: signed - if not r232 goto L105 (error at :152) else goto L81 :: bool + dank_mids.ENVIRONMENT_VARIABLES.MIN_REQUESTS_PER_SECOND = r170 :: static + r171 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r172 = 'MIN_REQUESTS_PER_SECOND' + r173 = CPyDict_SetItem(r171, r172, r170) + dec_ref r170 + r174 = r173 >= 0 :: signed + if not r174 goto L332 (error at :45) else goto L81 :: bool L81: - dank_mids._exceptions.ChainstackRateLimitError = r227 :: type - r233 = dank_mids._exceptions.globals :: static - r234 = 'ChainstackRateLimitError' - r235 = CPyDict_SetItem(r233, r234, r227) - dec_ref r227 - r236 = r235 >= 0 :: signed - if not r236 goto L88 (error at :152) else goto L82 :: bool + r175 = dank_mids._envs._deprecated_format :: static + if is_error(r175) goto L82 else goto L84 L82: - r237 = dank_mids._exceptions.RateLimitError :: type - r238 = PyTuple_Pack(1, r237) - if is_error(r238) goto L88 (error at :171) else goto L83 + r176 = raise NameError('value for final name "_deprecated_format" was not set') + if not r176 goto L332 (error at :48) else goto L83 :: bool L83: - r239 = 'dank_mids._exceptions' - r240 = dank_mids._exceptions.QuiknodeRateLimitError_template :: type - r241 = CPyType_FromTemplate(r240, r238, r239) - dec_ref r238 - if is_error(r241) goto L88 (error at :171) else goto L84 + unreachable L84: - r242 = '__mypyc_attrs__' - r243 = '__dict__' - r244 = PyTuple_Pack(1, r243) - if is_error(r244) goto L106 (error at :171) else goto L85 + r177 = 'DEMO_MODE' + r178 = load_address PyBool_Type + r179 = 'create_env' + r180 = box(bool, 0) + r181 = box(bool, 0) + r182 = [r175, r177, r178, r180, r181] + r183 = load_address r182 + r184 = ('default', 'verbose') + r185 = PyObject_VectorcallMethod(r179, r183, 9223372036854775811, r184) + if is_error(r185) goto L332 (error at :48) else goto L85 L85: - r245 = PyObject_SetAttr(r241, r242, r244) - dec_ref r244 - r246 = r245 >= 0 :: signed - if not r246 goto L106 (error at :171) else goto L86 :: bool + dank_mids.ENVIRONMENT_VARIABLES.demo_mode = r185 :: static + r186 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r187 = 'demo_mode' + r188 = CPyDict_SetItem(r186, r187, r185) + dec_ref r185 + r189 = r188 >= 0 :: signed + if not r189 goto L332 (error at :48) else goto L86 :: bool L86: - dank_mids._exceptions.QuiknodeRateLimitError = r241 :: type - r247 = dank_mids._exceptions.globals :: static - r248 = 'QuiknodeRateLimitError' - r249 = CPyDict_SetItem(r247, r248, r241) - dec_ref r241 - r250 = r249 >= 0 :: signed - if not r250 goto L88 (error at :171) else goto L87 :: bool + r190 = 'DEMO_MODE' + r191 = load_address PyBool_Type + r192 = dank_mids.ENVIRONMENT_VARIABLES.demo_mode :: static + if is_error(r192) goto L87 else goto L89 L87: + r193 = raise NameError('value for final name "demo_mode" was not set') + if not r193 goto L332 (error at :51) else goto L88 :: bool +L88: + unreachable +L89: + r194 = PyObject_IsTrue(r192) + r195 = r194 >= 0 :: signed + if not r195 goto L332 (error at :51) else goto L90 :: bool +L90: + r196 = truncate r194: i32 to builtins.bool + r197 = dank_mids._envs.create_env :: static + if is_error(r197) goto L91 else goto L93 +L91: + r198 = raise NameError('value for final name "create_env" was not set') + if not r198 goto L332 (error at :51) else goto L92 :: bool +L92: + unreachable +L93: + r199 = box(bool, r196) + r200 = box(bool, 0) + r201 = [r190, r191, r199, r200] + r202 = load_address r201 + r203 = ('default', 'verbose') + r204 = _PyObject_Vectorcall(r197, r202, 2, r203) + if is_error(r204) goto L332 (error at :51) else goto L94 +L94: + dank_mids.ENVIRONMENT_VARIABLES.DEMO_MODE = r204 :: static + r205 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r206 = 'DEMO_MODE' + r207 = CPyDict_SetItem(r205, r206, r204) + dec_ref r204 + r208 = r207 >= 0 :: signed + if not r208 goto L332 (error at :51) else goto L95 :: bool +L95: + r209 = dank_mids._envs._deprecated_format :: static + if is_error(r209) goto L96 else goto L98 +L96: + r210 = raise NameError('value for final name "_deprecated_format" was not set') + if not r210 goto L332 (error at :54) else goto L97 :: bool +L97: + unreachable +L98: + r211 = 'GANACHE_FORK' + r212 = load_address PyBool_Type + r213 = 'create_env' + r214 = box(bool, 0) + r215 = box(bool, 0) + r216 = [r209, r211, r212, r214, r215] + r217 = load_address r216 + r218 = ('default', 'verbose') + r219 = PyObject_VectorcallMethod(r213, r217, 9223372036854775811, r218) + if is_error(r219) goto L332 (error at :54) else goto L99 +L99: + dank_mids.ENVIRONMENT_VARIABLES.ganache_fork = r219 :: static + r220 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r221 = 'ganache_fork' + r222 = CPyDict_SetItem(r220, r221, r219) + dec_ref r219 + r223 = r222 >= 0 :: signed + if not r223 goto L332 (error at :54) else goto L100 :: bool +L100: + r224 = 'GANACHE_FORK' + r225 = load_address PyBool_Type + r226 = dank_mids.ENVIRONMENT_VARIABLES.ganache_fork :: static + if is_error(r226) goto L101 else goto L103 +L101: + r227 = raise NameError('value for final name "ganache_fork" was not set') + if not r227 goto L332 (error at :57) else goto L102 :: bool +L102: + unreachable +L103: + r228 = PyObject_IsTrue(r226) + r229 = r228 >= 0 :: signed + if not r229 goto L332 (error at :57) else goto L104 :: bool +L104: + r230 = truncate r228: i32 to builtins.bool + r231 = dank_mids._envs.create_env :: static + if is_error(r231) goto L105 else goto L107 +L105: + r232 = raise NameError('value for final name "create_env" was not set') + if not r232 goto L332 (error at :57) else goto L106 :: bool +L106: + unreachable +L107: + r233 = box(bool, r230) + r234 = [r224, r225, r233] + r235 = load_address r234 + r236 = ('default',) + r237 = _PyObject_Vectorcall(r231, r235, 2, r236) + if is_error(r237) goto L332 (error at :57) else goto L108 +L108: + dank_mids.ENVIRONMENT_VARIABLES.GANACHE_FORK = r237 :: static + r238 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r239 = 'GANACHE_FORK' + r240 = CPyDict_SetItem(r238, r239, r237) + dec_ref r237 + r241 = r240 >= 0 :: signed + if not r241 goto L332 (error at :57) else goto L109 :: bool +L109: + r242 = 'AIOHTTP_TIMEOUT' + r243 = load_address PyLong_Type + r244 = dank_mids._envs.create_env :: static + if is_error(r244) goto L110 else goto L112 +L110: + r245 = raise NameError('value for final name "create_env" was not set') + if not r245 goto L332 (error at :61) else goto L111 :: bool +L111: + unreachable +L112: + r246 = object 1200 + r247 = [r242, r243, r246] + r248 = load_address r247 + r249 = ('default',) + r250 = _PyObject_Vectorcall(r244, r248, 2, r249) + if is_error(r250) goto L332 (error at :61) else goto L113 +L113: + dank_mids.ENVIRONMENT_VARIABLES.AIOHTTP_TIMEOUT = r250 :: static + r251 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r252 = 'AIOHTTP_TIMEOUT' + r253 = CPyDict_SetItem(r251, r252, r250) + dec_ref r250 + r254 = r253 >= 0 :: signed + if not r254 goto L332 (error at :61) else goto L114 :: bool +L114: + r255 = dank_mids._envs._deprecated_format :: static + if is_error(r255) goto L115 else goto L117 +L115: + r256 = raise NameError('value for final name "_deprecated_format" was not set') + if not r256 goto L332 (error at :67) else goto L116 :: bool +L116: + unreachable +L117: + r257 = 'BROWNIE_CALL_SEMAPHORE' + r258 = load_address PyLong_Type + r259 = 'create_env' + r260 = object 100000 + r261 = box(bool, 0) + r262 = [r255, r257, r258, r260, r261] + r263 = load_address r262 + r264 = ('default', 'verbose') + r265 = PyObject_VectorcallMethod(r259, r263, 9223372036854775811, r264) + if is_error(r265) goto L332 (error at :67) else goto L118 +L118: + dank_mids.ENVIRONMENT_VARIABLES.brownie_semaphore = r265 :: static + r266 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r267 = 'brownie_semaphore' + r268 = CPyDict_SetItem(r266, r267, r265) + dec_ref r265 + r269 = r268 >= 0 :: signed + if not r269 goto L332 (error at :67) else goto L119 :: bool +L119: + r270 = 'BROWNIE_CALL_SEMAPHORE' + r271 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r272 = 'BlockSemaphore' + r273 = CPyDict_GetItem(r271, r272) + if is_error(r273) goto L332 (error at :72) else goto L120 +L120: + r274 = dank_mids.ENVIRONMENT_VARIABLES.brownie_semaphore :: static + if is_error(r274) goto L341 else goto L123 +L121: + r275 = raise NameError('value for final name "brownie_semaphore" was not set') + if not r275 goto L332 (error at :73) else goto L122 :: bool +L122: + unreachable +L123: + r276 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static + if is_error(r276) goto L342 else goto L126 +L124: + r277 = raise NameError('value for final name "OPERATION_MODE" was not set') + if not r277 goto L332 (error at :74) else goto L125 :: bool +L125: + unreachable +L126: + r278 = 'infura' + r279 = CPyObject_GetAttr(r276, r278) + if is_error(r279) goto L343 (error at :74) else goto L127 +L127: + r280 = PyObject_Not(r279) + dec_ref r279 + r281 = r280 >= 0 :: signed + if not r281 goto L343 (error at :74) else goto L128 :: bool +L128: + r282 = truncate r280: i32 to builtins.bool + r283 = dank_mids._envs.create_env :: static + if is_error(r283) goto L344 else goto L131 +L129: + r284 = raise NameError('value for final name "create_env" was not set') + if not r284 goto L332 (error at :70) else goto L130 :: bool +L130: + unreachable +L131: + r285 = box(bool, r282) + r286 = [r270, r273, r274, r285] + r287 = load_address r286 + r288 = ('default', 'verbose') + r289 = _PyObject_Vectorcall(r283, r287, 2, r288) + if is_error(r289) goto L343 (error at :70) else goto L132 +L132: + dec_ref r273 + dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_CALL_SEMAPHORE = r289 :: static + r290 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r291 = 'BROWNIE_CALL_SEMAPHORE' + r292 = CPyDict_SetItem(r290, r291, r289) + dec_ref r289 + r293 = r292 >= 0 :: signed + if not r293 goto L332 (error at :70) else goto L133 :: bool +L133: + r294 = 'BROWNIE_ENCODER_SEMAPHORE' + r295 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r296 = 'BlockSemaphore' + r297 = CPyDict_GetItem(r295, r296) + if is_error(r297) goto L332 (error at :85) else goto L134 +L134: + r298 = dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_CALL_SEMAPHORE :: static + if is_error(r298) goto L345 else goto L137 +L135: + r299 = raise NameError('value for final name "BROWNIE_CALL_SEMAPHORE" was not set') + if not r299 goto L332 (error at :86) else goto L136 :: bool +L136: + unreachable +L137: + r300 = '_default_value' + r301 = CPyObject_GetAttr(r298, r300) + if is_error(r301) goto L346 (error at :86) else goto L138 +L138: + r302 = object 2 + r303 = PyNumber_Multiply(r301, r302) + dec_ref r301 + if is_error(r303) goto L346 (error at :86) else goto L139 +L139: + r304 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static + if is_error(r304) goto L347 else goto L142 +L140: + r305 = raise NameError('value for final name "OPERATION_MODE" was not set') + if not r305 goto L332 (error at :87) else goto L141 :: bool +L141: + unreachable +L142: + r306 = 'infura' + r307 = CPyObject_GetAttr(r304, r306) + if is_error(r307) goto L348 (error at :87) else goto L143 +L143: + r308 = PyObject_Not(r307) + dec_ref r307 + r309 = r308 >= 0 :: signed + if not r309 goto L348 (error at :87) else goto L144 :: bool +L144: + r310 = truncate r308: i32 to builtins.bool + r311 = dank_mids._envs.create_env :: static + if is_error(r311) goto L349 else goto L147 +L145: + r312 = raise NameError('value for final name "create_env" was not set') + if not r312 goto L332 (error at :83) else goto L146 :: bool +L146: + unreachable +L147: + r313 = box(bool, r310) + r314 = [r294, r297, r303, r313] + r315 = load_address r314 + r316 = ('default', 'verbose') + r317 = _PyObject_Vectorcall(r311, r315, 2, r316) + if is_error(r317) goto L348 (error at :83) else goto L148 +L148: + dec_ref r297 + dec_ref r303 + dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_ENCODER_SEMAPHORE = r317 :: static + r318 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r319 = 'BROWNIE_ENCODER_SEMAPHORE' + r320 = CPyDict_SetItem(r318, r319, r317) + dec_ref r317 + r321 = r320 >= 0 :: signed + if not r321 goto L332 (error at :83) else goto L149 :: bool +L149: + r322 = 'BROWNIE_ENCODER_PROCESSES' + r323 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r324 = 'AsyncProcessPoolExecutor' + r325 = CPyDict_GetItem(r323, r324) + if is_error(r325) goto L332 (error at :101) else goto L150 +L150: + r326 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static + if is_error(r326) goto L350 else goto L153 +L151: + r327 = raise NameError('value for final name "OPERATION_MODE" was not set') + if not r327 goto L332 (error at :102) else goto L152 :: bool +L152: + unreachable +L153: + r328 = 'infura' + r329 = CPyObject_GetAttr(r326, r328) + if is_error(r329) goto L351 (error at :102) else goto L154 +L154: + r330 = PyObject_IsTrue(r329) + dec_ref r329 + r331 = r330 >= 0 :: signed + if not r331 goto L351 (error at :102) else goto L155 :: bool +L155: + r332 = truncate r330: i32 to builtins.bool + if r332 goto L156 else goto L157 :: bool +L156: + r333 = 0 + goto L158 +L157: + r333 = 2 +L158: + r334 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static + if is_error(r334) goto L352 else goto L161 +L159: + r335 = raise NameError('value for final name "OPERATION_MODE" was not set') + if not r335 goto L332 (error at :103) else goto L160 :: bool +L160: + unreachable +L161: + r336 = 'infura' + r337 = CPyObject_GetAttr(r334, r336) + if is_error(r337) goto L353 (error at :103) else goto L162 +L162: + r338 = PyObject_Not(r337) + dec_ref r337 + r339 = r338 >= 0 :: signed + if not r339 goto L353 (error at :103) else goto L163 :: bool +L163: + r340 = truncate r338: i32 to builtins.bool + r341 = dank_mids._envs.create_env :: static + if is_error(r341) goto L354 else goto L166 +L164: + r342 = raise NameError('value for final name "create_env" was not set') + if not r342 goto L332 (error at :99) else goto L165 :: bool +L165: + unreachable +L166: + r343 = box(int, r333) + r344 = box(bool, r340) + r345 = [r322, r325, r343, r344] + r346 = load_address r345 + r347 = ('default', 'verbose') + r348 = _PyObject_Vectorcall(r341, r346, 2, r347) + if is_error(r348) goto L355 (error at :99) else goto L167 +L167: + dec_ref r325 + dec_ref r343 + r349 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r350 = 'BROWNIE_ENCODER_PROCESSES' + r351 = CPyDict_SetItem(r349, r350, r348) + dec_ref r348 + r352 = r351 >= 0 :: signed + if not r352 goto L332 (error at :99) else goto L168 :: bool +L168: + r353 = 'BROWNIE_DECODER_PROCESSES' + r354 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r355 = 'AsyncProcessPoolExecutor' + r356 = CPyDict_GetItem(r354, r355) + if is_error(r356) goto L332 (error at :114) else goto L169 +L169: + r357 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static + if is_error(r357) goto L356 else goto L172 +L170: + r358 = raise NameError('value for final name "OPERATION_MODE" was not set') + if not r358 goto L332 (error at :115) else goto L171 :: bool +L171: + unreachable +L172: + r359 = 'infura' + r360 = CPyObject_GetAttr(r357, r359) + if is_error(r360) goto L357 (error at :115) else goto L173 +L173: + r361 = PyObject_IsTrue(r360) + dec_ref r360 + r362 = r361 >= 0 :: signed + if not r362 goto L357 (error at :115) else goto L174 :: bool +L174: + r363 = truncate r361: i32 to builtins.bool + if r363 goto L175 else goto L176 :: bool +L175: + r364 = 0 + goto L177 +L176: + r364 = 2 +L177: + r365 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static + if is_error(r365) goto L358 else goto L180 +L178: + r366 = raise NameError('value for final name "OPERATION_MODE" was not set') + if not r366 goto L332 (error at :116) else goto L179 :: bool +L179: + unreachable +L180: + r367 = 'infura' + r368 = CPyObject_GetAttr(r365, r367) + if is_error(r368) goto L359 (error at :116) else goto L181 +L181: + r369 = PyObject_Not(r368) + dec_ref r368 + r370 = r369 >= 0 :: signed + if not r370 goto L359 (error at :116) else goto L182 :: bool +L182: + r371 = truncate r369: i32 to builtins.bool + r372 = dank_mids._envs.create_env :: static + if is_error(r372) goto L360 else goto L185 +L183: + r373 = raise NameError('value for final name "create_env" was not set') + if not r373 goto L332 (error at :112) else goto L184 :: bool +L184: + unreachable +L185: + r374 = box(int, r364) + r375 = box(bool, r371) + r376 = [r353, r356, r374, r375] + r377 = load_address r376 + r378 = ('default', 'verbose') + r379 = _PyObject_Vectorcall(r372, r377, 2, r378) + if is_error(r379) goto L361 (error at :112) else goto L186 +L186: + dec_ref r356 + dec_ref r374 + r380 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r381 = 'BROWNIE_DECODER_PROCESSES' + r382 = CPyDict_SetItem(r380, r381, r379) + dec_ref r379 + r383 = r382 >= 0 :: signed + if not r383 goto L332 (error at :112) else goto L187 :: bool +L187: + r384 = 'MULTICALL_DECODER_PROCESSES' + r385 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r386 = 'AsyncProcessPoolExecutor' + r387 = CPyDict_GetItem(r385, r386) + if is_error(r387) goto L332 (error at :127) else goto L188 +L188: + r388 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static + if is_error(r388) goto L362 else goto L191 +L189: + r389 = raise NameError('value for final name "OPERATION_MODE" was not set') + if not r389 goto L332 (error at :128) else goto L190 :: bool +L190: + unreachable +L191: + r390 = 'infura' + r391 = CPyObject_GetAttr(r388, r390) + if is_error(r391) goto L363 (error at :128) else goto L192 +L192: + r392 = PyObject_IsTrue(r391) + dec_ref r391 + r393 = r392 >= 0 :: signed + if not r393 goto L363 (error at :128) else goto L193 :: bool +L193: + r394 = truncate r392: i32 to builtins.bool + if r394 goto L194 else goto L195 :: bool +L194: + r395 = 0 + goto L196 +L195: + r395 = 2 +L196: + r396 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static + if is_error(r396) goto L364 else goto L199 +L197: + r397 = raise NameError('value for final name "OPERATION_MODE" was not set') + if not r397 goto L332 (error at :129) else goto L198 :: bool +L198: + unreachable +L199: + r398 = 'infura' + r399 = CPyObject_GetAttr(r396, r398) + if is_error(r399) goto L365 (error at :129) else goto L200 +L200: + r400 = PyObject_Not(r399) + dec_ref r399 + r401 = r400 >= 0 :: signed + if not r401 goto L365 (error at :129) else goto L201 :: bool +L201: + r402 = truncate r400: i32 to builtins.bool + r403 = dank_mids._envs.create_env :: static + if is_error(r403) goto L366 else goto L204 +L202: + r404 = raise NameError('value for final name "create_env" was not set') + if not r404 goto L332 (error at :125) else goto L203 :: bool +L203: + unreachable +L204: + r405 = box(int, r395) + r406 = box(bool, r402) + r407 = [r384, r387, r405, r406] + r408 = load_address r407 + r409 = ('default', 'verbose') + r410 = _PyObject_Vectorcall(r403, r408, 2, r409) + if is_error(r410) goto L367 (error at :125) else goto L205 +L205: + dec_ref r387 + dec_ref r405 + r411 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r412 = 'MULTICALL_DECODER_PROCESSES' + r413 = CPyDict_SetItem(r411, r412, r410) + dec_ref r410 + r414 = r413 >= 0 :: signed + if not r414 goto L332 (error at :125) else goto L206 :: bool +L206: + r415 = 'COLLECTION_FACTOR' + r416 = load_address PyLong_Type + r417 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static + if is_error(r417) goto L207 else goto L209 +L207: + r418 = raise NameError('value for final name "OPERATION_MODE" was not set') + if not r418 goto L332 (error at :141) else goto L208 :: bool +L208: + unreachable +L209: + r419 = 'infura' + r420 = CPyObject_GetAttr(r417, r419) + if is_error(r420) goto L332 (error at :141) else goto L210 +L210: + r421 = PyObject_IsTrue(r420) + dec_ref r420 + r422 = r421 >= 0 :: signed + if not r422 goto L332 (error at :141) else goto L211 :: bool +L211: + r423 = truncate r421: i32 to builtins.bool + if r423 goto L212 else goto L213 :: bool +L212: + r424 = 20 + goto L214 +L213: + r424 = 2 +L214: + r425 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static + if is_error(r425) goto L368 else goto L217 +L215: + r426 = raise NameError('value for final name "OPERATION_MODE" was not set') + if not r426 goto L332 (error at :142) else goto L216 :: bool +L216: + unreachable +L217: + r427 = 'infura' + r428 = CPyObject_GetAttr(r425, r427) + if is_error(r428) goto L369 (error at :142) else goto L218 +L218: + r429 = PyObject_Not(r428) + dec_ref r428 + r430 = r429 >= 0 :: signed + if not r430 goto L369 (error at :142) else goto L219 :: bool +L219: + r431 = truncate r429: i32 to builtins.bool + r432 = dank_mids._envs.create_env :: static + if is_error(r432) goto L370 else goto L222 +L220: + r433 = raise NameError('value for final name "create_env" was not set') + if not r433 goto L332 (error at :138) else goto L221 :: bool +L221: + unreachable +L222: + r434 = box(int, r424) + r435 = box(bool, r431) + r436 = [r415, r416, r434, r435] + r437 = load_address r436 + r438 = ('default', 'verbose') + r439 = _PyObject_Vectorcall(r432, r437, 2, r438) + if is_error(r439) goto L371 (error at :138) else goto L223 +L223: + dec_ref r434 + dank_mids.ENVIRONMENT_VARIABLES.COLLECTION_FACTOR = r439 :: static + r440 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r441 = 'COLLECTION_FACTOR' + r442 = CPyDict_SetItem(r440, r441, r439) + dec_ref r439 + r443 = r442 >= 0 :: signed + if not r443 goto L332 (error at :138) else goto L224 :: bool +L224: + r444 = 'USE_FULL_REQUEST' + r445 = load_address PyBool_Type + r446 = dank_mids._envs.create_env :: static + if is_error(r446) goto L225 else goto L227 +L225: + r447 = raise NameError('value for final name "create_env" was not set') + if not r447 goto L332 (error at :148) else goto L226 :: bool +L226: + unreachable +L227: + r448 = box(bool, 0) + r449 = box(bool, 0) + r450 = [r444, r445, r448, r449] + r451 = load_address r450 + r452 = ('default', 'verbose') + r453 = _PyObject_Vectorcall(r446, r451, 2, r452) + if is_error(r453) goto L332 (error at :148) else goto L228 +L228: + dank_mids.ENVIRONMENT_VARIABLES.USE_FULL_REQUEST = r453 :: static + r454 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r455 = 'USE_FULL_REQUEST' + r456 = CPyDict_SetItem(r454, r455, r453) + dec_ref r453 + r457 = r456 >= 0 :: signed + if not r457 goto L332 (error at :148) else goto L229 :: bool +L229: + r458 = 'DEBUG' + r459 = load_address PyBool_Type + r460 = dank_mids._envs.create_env :: static + if is_error(r460) goto L230 else goto L232 +L230: + r461 = raise NameError('value for final name "create_env" was not set') + if not r461 goto L332 (error at :151) else goto L231 :: bool +L231: + unreachable +L232: + r462 = box(bool, 0) + r463 = box(bool, 0) + r464 = [r458, r459, r462, r463] + r465 = load_address r464 + r466 = ('default', 'verbose') + r467 = _PyObject_Vectorcall(r460, r465, 2, r466) + if is_error(r467) goto L332 (error at :151) else goto L233 +L233: + dank_mids.ENVIRONMENT_VARIABLES.DEBUG = r467 :: static + r468 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r469 = 'DEBUG' + r470 = CPyDict_SetItem(r468, r469, r467) + dec_ref r467 + r471 = r470 >= 0 :: signed + if not r471 goto L332 (error at :151) else goto L234 :: bool +L234: + r472 = 'EXPORT_STATS' + r473 = load_address PyBool_Type + r474 = dank_mids._envs.create_env :: static + if is_error(r474) goto L235 else goto L237 +L235: + r475 = raise NameError('value for final name "create_env" was not set') + if not r475 goto L332 (error at :154) else goto L236 :: bool +L236: + unreachable +L237: + r476 = box(bool, 0) + r477 = box(bool, 0) + r478 = [r472, r473, r476, r477] + r479 = load_address r478 + r480 = ('default', 'verbose') + r481 = _PyObject_Vectorcall(r474, r479, 2, r480) + if is_error(r481) goto L332 (error at :154) else goto L238 +L238: + dank_mids.ENVIRONMENT_VARIABLES.EXPORT_STATS = r481 :: static + r482 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r483 = 'EXPORT_STATS' + r484 = CPyDict_SetItem(r482, r483, r481) + dec_ref r481 + r485 = r484 >= 0 :: signed + if not r485 goto L332 (error at :154) else goto L239 :: bool +L239: + r486 = 'COLLECT_STATS' + r487 = load_address PyBool_Type + r488 = dank_mids.ENVIRONMENT_VARIABLES.EXPORT_STATS :: static + if is_error(r488) goto L240 else goto L242 +L240: + r489 = raise NameError('value for final name "EXPORT_STATS" was not set') + if not r489 goto L332 (error at :157) else goto L241 :: bool +L241: + unreachable +L242: + r490 = dank_mids.ENVIRONMENT_VARIABLES.EXPORT_STATS :: static + if is_error(r490) goto L243 else goto L245 +L243: + r491 = raise NameError('value for final name "EXPORT_STATS" was not set') + if not r491 goto L332 (error at :157) else goto L244 :: bool +L244: + unreachable +L245: + r492 = PyObject_Not(r490) + r493 = r492 >= 0 :: signed + if not r493 goto L332 (error at :157) else goto L246 :: bool +L246: + r494 = truncate r492: i32 to builtins.bool + r495 = dank_mids._envs.create_env :: static + if is_error(r495) goto L247 else goto L249 +L247: + r496 = raise NameError('value for final name "create_env" was not set') + if not r496 goto L332 (error at :156) else goto L248 :: bool +L248: + unreachable +L249: + r497 = box(bool, r494) + r498 = [r486, r487, r488, r497] + r499 = load_address r498 + r500 = ('default', 'verbose') + r501 = _PyObject_Vectorcall(r495, r499, 2, r500) + if is_error(r501) goto L332 (error at :156) else goto L250 +L250: + dank_mids.ENVIRONMENT_VARIABLES.COLLECT_STATS = r501 :: static + r502 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r503 = 'COLLECT_STATS' + r504 = CPyDict_SetItem(r502, r503, r501) + dec_ref r501 + r505 = r504 >= 0 :: signed + if not r505 goto L332 (error at :156) else goto L251 :: bool +L251: + r506 = 'STUCK_CALL_TIMEOUT' + r507 = load_address PyLong_Type + r508 = dank_mids._envs.create_env :: static + if is_error(r508) goto L252 else goto L254 +L252: + r509 = raise NameError('value for final name "create_env" was not set') + if not r509 goto L332 (error at :161) else goto L253 :: bool +L253: + unreachable +L254: + r510 = object 120 + r511 = [r506, r507, r510] + r512 = load_address r511 + r513 = ('default',) + r514 = _PyObject_Vectorcall(r508, r512, 2, r513) + if is_error(r514) goto L332 (error at :161) else goto L255 +L255: + dank_mids.ENVIRONMENT_VARIABLES.STUCK_CALL_TIMEOUT = r514 :: static + r515 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r516 = 'STUCK_CALL_TIMEOUT' + r517 = CPyDict_SetItem(r515, r516, r514) + dec_ref r514 + r518 = r517 >= 0 :: signed + if not r518 goto L332 (error at :161) else goto L256 :: bool +L256: + r519 = 'eth_call' + r520 = 'ETH_CALL_SEMAPHORE' + r521 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r522 = 'BlockSemaphore' + r523 = CPyDict_GetItem(r521, r522) + if is_error(r523) goto L332 (error at :167) else goto L257 +L257: + r524 = dank_mids.ENVIRONMENT_VARIABLES.BROWNIE_CALL_SEMAPHORE :: static + if is_error(r524) goto L372 else goto L260 +L258: + r525 = raise NameError('value for final name "BROWNIE_CALL_SEMAPHORE" was not set') + if not r525 goto L332 (error at :168) else goto L259 :: bool +L259: + unreachable +L260: + r526 = '_value' + r527 = CPyObject_GetAttr(r524, r526) + if is_error(r527) goto L373 (error at :168) else goto L261 +L261: + r528 = dank_mids._envs.create_env :: static + if is_error(r528) goto L374 else goto L264 +L262: + r529 = raise NameError('value for final name "create_env" was not set') + if not r529 goto L332 (error at :165) else goto L263 :: bool +L263: + unreachable +L264: + r530 = box(bool, 0) + r531 = [r520, r523, r527, r530] + r532 = load_address r531 + r533 = ('default', 'verbose') + r534 = _PyObject_Vectorcall(r528, r532, 2, r533) + if is_error(r534) goto L375 (error at :165) else goto L265 +L265: + dec_ref r523 + dec_ref r527 + r535 = 'eth_getBlock' + r536 = 'ETH_GETBLOCK_SEMAPHORE' + r537 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r538 = 'a_sync' + r539 = CPyDict_GetItem(r537, r538) + if is_error(r539) goto L376 (error at :173) else goto L266 +L266: + r540 = 'Semaphore' + r541 = CPyObject_GetAttr(r539, r540) + dec_ref r539 + if is_error(r541) goto L376 (error at :173) else goto L267 +L267: + r542 = dank_mids._envs.create_env :: static + if is_error(r542) goto L377 else goto L270 +L268: + r543 = raise NameError('value for final name "create_env" was not set') + if not r543 goto L332 (error at :171) else goto L269 :: bool +L269: + unreachable +L270: + r544 = object 1000 + r545 = box(bool, 0) + r546 = [r536, r541, r544, r545] + r547 = load_address r546 + r548 = ('default', 'verbose') + r549 = _PyObject_Vectorcall(r542, r547, 2, r548) + if is_error(r549) goto L378 (error at :171) else goto L271 +L271: + dec_ref r541 + r550 = 'eth_getCode' + r551 = 'ETH_GETCODE_SEMAPHORE' + r552 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r553 = 'a_sync' + r554 = CPyDict_GetItem(r552, r553) + if is_error(r554) goto L379 (error at :179) else goto L272 +L272: + r555 = 'Semaphore' + r556 = CPyObject_GetAttr(r554, r555) + dec_ref r554 + if is_error(r556) goto L379 (error at :179) else goto L273 +L273: + r557 = dank_mids._envs.create_env :: static + if is_error(r557) goto L380 else goto L276 +L274: + r558 = raise NameError('value for final name "create_env" was not set') + if not r558 goto L332 (error at :177) else goto L275 :: bool +L275: + unreachable +L276: + r559 = object 5000 + r560 = box(bool, 0) + r561 = [r551, r556, r559, r560] + r562 = load_address r561 + r563 = ('default', 'verbose') + r564 = _PyObject_Vectorcall(r557, r562, 2, r563) + if is_error(r564) goto L381 (error at :177) else goto L277 +L277: + dec_ref r556 + r565 = CPyDict_Build(3, r519, r534, r535, r549, r550, r564) + dec_ref r534 + dec_ref r549 + dec_ref r564 + if is_error(r565) goto L332 (error at :164) else goto L278 +L278: + dank_mids.ENVIRONMENT_VARIABLES.method_semaphores = r565 :: static + r566 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r567 = 'method_semaphores' + r568 = CPyDict_SetItem(r566, r567, r565) + dec_ref r565 + r569 = r568 >= 0 :: signed + if not r569 goto L332 (error at :164) else goto L279 :: bool +L279: + r570 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r571 = 'typed_envs' + r572 = CPyDict_GetItem(r570, r571) + if is_error(r572) goto L332 (error at :185) else goto L280 +L280: + r573 = 'logger' + r574 = CPyObject_GetAttr(r572, r573) + dec_ref r572 + if is_error(r574) goto L332 (error at :185) else goto L281 +L281: + r575 = 'disabled' + r576 = CPyObject_GetAttr(r574, r575) + dec_ref r574 + if is_error(r576) goto L332 (error at :185) else goto L282 +L282: + r577 = PyObject_IsTrue(r576) + dec_ref r576 + r578 = r577 >= 0 :: signed + if not r578 goto L332 (error at :185) else goto L283 :: bool +L283: + r579 = truncate r577: i32 to builtins.bool + if r579 goto L292 else goto L284 :: bool +L284: + r580 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static + if is_error(r580) goto L285 else goto L287 +L285: + r581 = raise NameError('value for final name "logger" was not set') + if not r581 goto L332 (error at :186) else goto L286 :: bool +L286: + unreachable +L287: + r582 = 'More details can be found in dank_mids/ENVIRONMENT_VARIABLES.py' + r583 = 'info' + r584 = [r580, r582] + r585 = load_address r584 + r586 = PyObject_VectorcallMethod(r583, r585, 9223372036854775810, 0) + if is_error(r586) goto L332 (error at :186) else goto L382 +L288: + r587 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static + if is_error(r587) goto L289 else goto L291 +L289: + r588 = raise NameError('value for final name "logger" was not set') + if not r588 goto L332 (error at :187) else goto L290 :: bool +L290: + unreachable +L291: + r589 = 'NOTE: You can disable these logs by setting the `TYPEDENVS_SHUTUP` env var to any value.' + r590 = 'info' + r591 = [r587, r589] + r592 = load_address r591 + r593 = PyObject_VectorcallMethod(r590, r592, 9223372036854775810, 0) + if is_error(r593) goto L332 (error at :187) else goto L383 +L292: + r594 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static + if is_error(r594) goto L293 else goto L295 +L293: + r595 = raise NameError('value for final name "OPERATION_MODE" was not set') + if not r595 goto L332 (error at :195) else goto L294 :: bool +L294: + unreachable +L295: + r596 = 'infura' + r597 = CPyObject_GetAttr(r594, r596) + if is_error(r597) goto L332 (error at :195) else goto L296 +L296: + r598 = PyObject_IsTrue(r597) + dec_ref r597 + r599 = r598 >= 0 :: signed + if not r599 goto L332 (error at :195) else goto L297 :: bool +L297: + r600 = truncate r598: i32 to builtins.bool + if r600 goto L302 else goto L298 :: bool +L298: + r601 = dank_mids.ENVIRONMENT_VARIABLES.logger :: static + if is_error(r601) goto L299 else goto L301 +L299: + r602 = raise NameError('value for final name "logger" was not set') + if not r602 goto L332 (error at :196) else goto L300 :: bool +L300: + unreachable +L301: + r603 = "Unless you know what you're doing, dank mids should be run in infura mode for now" + r604 = 'warning' + r605 = [r601, r603] + r606 = load_address r605 + r607 = PyObject_VectorcallMethod(r604, r606, 9223372036854775810, 0) + if is_error(r607) goto L332 (error at :196) else goto L384 +L302: + r608 = dank_mids.ENVIRONMENT_VARIABLES.OPERATION_MODE :: static + if is_error(r608) goto L303 else goto L305 +L303: + r609 = raise NameError('value for final name "OPERATION_MODE" was not set') + if not r609 goto L332 (error at :200) else goto L304 :: bool +L304: + unreachable +L305: + r610 = 'infura' + r611 = CPyObject_GetAttr(r608, r610) + if is_error(r611) goto L332 (error at :200) else goto L306 +L306: + r612 = PyObject_IsTrue(r611) + dec_ref r611 + r613 = r612 >= 0 :: signed + if not r613 goto L332 (error at :200) else goto L307 :: bool +L307: + r614 = truncate r612: i32 to builtins.bool + if r614 goto L308 else goto L331 :: bool +L308: + r615 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r616 = 'MULTICALL_DECODER_PROCESSES' + r617 = CPyDict_GetItem(r615, r616) + if is_error(r617) goto L332 (error at :202) else goto L309 +L309: + r618 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r619 = 'BROWNIE_DECODER_PROCESSES' + r620 = CPyDict_GetItem(r618, r619) + if is_error(r620) goto L385 (error at :203) else goto L310 +L310: + r621 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r622 = 'BROWNIE_ENCODER_PROCESSES' + r623 = CPyDict_GetItem(r621, r622) + if is_error(r623) goto L386 (error at :204) else goto L311 +L311: + r624 = PySet_New(0) + if is_error(r624) goto L387 (error at :201) else goto L312 +L312: + r625 = PySet_Add(r624, r617) + dec_ref r617 + r626 = r625 >= 0 :: signed + if not r626 goto L388 (error at :201) else goto L313 :: bool +L313: + r627 = PySet_Add(r624, r620) + dec_ref r620 + r628 = r627 >= 0 :: signed + if not r628 goto L389 (error at :201) else goto L314 :: bool +L314: + r629 = PySet_Add(r624, r623) + dec_ref r623 + r630 = r629 >= 0 :: signed + if not r630 goto L390 (error at :201) else goto L315 :: bool +L315: + r631 = PyObject_GetIter(r624) + dec_ref r624 + if is_error(r631) goto L332 (error at :201) else goto L316 +L316: + r632 = PyIter_Next(r631) + if is_error(r632) goto L391 else goto L317 +L317: + r633 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r634 = 'process_pool' + r635 = CPyDict_SetItem(r633, r634, r632) + dec_ref r632 + r636 = r635 >= 0 :: signed + if not r636 goto L392 (error at :201) else goto L318 :: bool +L318: + r637 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r638 = 'process_pool' + r639 = CPyDict_GetItem(r637, r638) + if is_error(r639) goto L392 (error at :206) else goto L319 +L319: + r640 = '_max_workers' + r641 = CPyObject_GetAttr(r639, r640) + dec_ref r639 + if is_error(r641) goto L392 (error at :206) else goto L320 +L320: + r642 = PyObject_IsTrue(r641) + dec_ref r641 + r643 = r642 >= 0 :: signed + if not r643 goto L392 (error at :206) else goto L321 :: bool +L321: + r644 = truncate r642: i32 to builtins.bool + if r644 goto L393 else goto L316 :: bool +L322: + r645 = 'You cannot set env var ' + r646 = dank_mids.ENVIRONMENT_VARIABLES.globals :: static + r647 = 'process_pool' + r648 = CPyDict_GetItem(r646, r647) + if is_error(r648) goto L332 (error at :208) else goto L323 +L323: + r649 = 'name' + r650 = CPyObject_GetAttr(r648, r649) + dec_ref r648 + if is_error(r650) goto L332 (error at :208) else goto L324 +L324: + r651 = PyObject_Str(r650) + dec_ref r650 + if is_error(r651) goto L332 (error at :208) else goto L325 +L325: + r652 = ' while running dank in infura mode.' + r653 = CPyStr_Build(3, r645, r651, r652) + dec_ref r651 + if is_error(r653) goto L332 (error at :208) else goto L326 +L326: + r654 = builtins :: module + r655 = 'ValueError' + r656 = CPyObject_GetAttr(r654, r655) + if is_error(r656) goto L394 (error at :207) else goto L327 +L327: + r657 = [r653] + r658 = load_address r657 + r659 = _PyObject_Vectorcall(r656, r658, 1, 0) + dec_ref r656 + if is_error(r659) goto L394 (error at :207) else goto L328 +L328: + dec_ref r653 + CPy_Raise(r659) + dec_ref r659 + if not 0 goto L332 (error at :207) else goto L329 :: bool +L329: + unreachable +L330: + r660 = CPy_NoErrOccurred() + if not r660 goto L332 (error at :201) else goto L331 :: bool +L331: + return 1 +L332: + r661 = :: None + return r661 +L333: + dec_ref r76 + goto L332 +L334: + dec_ref r80 + goto L33 +L335: + dec_ref r86 + goto L332 +L336: + dec_ref r96 + goto L332 +L337: + dec_ref r99 + goto L50 +L338: + dec_ref r106 + goto L55 +L339: + dec_ref r110 + goto L57 +L340: + dec_ref r110 + goto L332 +L341: + dec_ref r273 + goto L121 +L342: + dec_ref r273 + goto L124 +L343: + dec_ref r273 + goto L332 +L344: + dec_ref r273 + goto L129 +L345: + dec_ref r297 + goto L135 +L346: + dec_ref r297 + goto L332 +L347: + dec_ref r297 + dec_ref r303 + goto L140 +L348: + dec_ref r297 + dec_ref r303 + goto L332 +L349: + dec_ref r297 + dec_ref r303 + goto L145 +L350: + dec_ref r325 + goto L151 +L351: + dec_ref r325 + goto L332 +L352: + dec_ref r325 + dec_ref r333 :: int + goto L159 +L353: + dec_ref r325 + dec_ref r333 :: int + goto L332 +L354: + dec_ref r325 + dec_ref r333 :: int + goto L164 +L355: + dec_ref r325 + dec_ref r343 + goto L332 +L356: + dec_ref r356 + goto L170 +L357: + dec_ref r356 + goto L332 +L358: + dec_ref r356 + dec_ref r364 :: int + goto L178 +L359: + dec_ref r356 + dec_ref r364 :: int + goto L332 +L360: + dec_ref r356 + dec_ref r364 :: int + goto L183 +L361: + dec_ref r356 + dec_ref r374 + goto L332 +L362: + dec_ref r387 + goto L189 +L363: + dec_ref r387 + goto L332 +L364: + dec_ref r387 + dec_ref r395 :: int + goto L197 +L365: + dec_ref r387 + dec_ref r395 :: int + goto L332 +L366: + dec_ref r387 + dec_ref r395 :: int + goto L202 +L367: + dec_ref r387 + dec_ref r405 + goto L332 +L368: + dec_ref r424 :: int + goto L215 +L369: + dec_ref r424 :: int + goto L332 +L370: + dec_ref r424 :: int + goto L220 +L371: + dec_ref r434 + goto L332 +L372: + dec_ref r523 + goto L258 +L373: + dec_ref r523 + goto L332 +L374: + dec_ref r523 + dec_ref r527 + goto L262 +L375: + dec_ref r523 + dec_ref r527 + goto L332 +L376: + dec_ref r534 + goto L332 +L377: + dec_ref r534 + dec_ref r541 + goto L268 +L378: + dec_ref r534 + dec_ref r541 + goto L332 +L379: + dec_ref r534 + dec_ref r549 + goto L332 +L380: + dec_ref r534 + dec_ref r549 + dec_ref r556 + goto L274 +L381: + dec_ref r534 + dec_ref r549 + dec_ref r556 + goto L332 +L382: + dec_ref r586 + goto L288 +L383: + dec_ref r593 + goto L292 +L384: + dec_ref r607 + goto L302 +L385: + dec_ref r617 + goto L332 +L386: + dec_ref r617 + dec_ref r620 + goto L332 +L387: + dec_ref r617 + dec_ref r620 + dec_ref r623 + goto L332 +L388: + dec_ref r620 + dec_ref r623 + dec_ref r624 + goto L332 +L389: + dec_ref r623 + dec_ref r624 + goto L332 +L390: + dec_ref r624 + goto L332 +L391: + dec_ref r631 + goto L330 +L392: + dec_ref r631 + goto L332 +L393: + dec_ref r631 + goto L322 +L394: + dec_ref r653 + goto L332 + +def __top_level__(): + r0, r1 :: object + r2 :: bit + r3 :: str + r4, r5 :: object + r6 :: str + r7 :: dict + r8 :: object + r9 :: object_ptr + r10 :: object_ptr[1] + r11 :: c_ptr + r12 :: native_int[1] + r13 :: c_ptr + r14 :: object + r15 :: dict + r16, r17 :: str + r18 :: bit + r19 :: object + r20 :: str + r21 :: dict + r22, r23 :: object + r24 :: str + r25 :: dict + r26 :: object + r27 :: str + r28 :: dict + r29 :: str + r30 :: object + r31 :: object[1] + r32 :: object_ptr + r33 :: object + r34 :: dict + r35 :: str + r36 :: i32 + r37 :: bit + r38 :: object + r39 :: bool + r40 :: dict + r41 :: str + r42 :: object + r43 :: str + r44, r45 :: object + r46 :: str + r47 :: object[3] + r48 :: object_ptr + r49, r50 :: object + r51 :: bool + r52 :: dict + r53 :: str + r54 :: object + r55 :: str + r56, r57 :: object + r58 :: str + r59 :: object[3] + r60 :: object_ptr + r61, r62 :: object + r63 :: bool + r64 :: dict + r65 :: str + r66, r67 :: object + r68 :: str + r69 :: object[3] + r70 :: object_ptr + r71, r72 :: object + r73 :: bool + r74 :: str + r75 :: object + r76 :: dict + r77 :: str + r78 :: i32 + r79 :: bit + r80 :: str + r81 :: dict + r82 :: str + r83 :: object + r84 :: object[1] + r85 :: object_ptr + r86 :: object + r87 :: dict + r88 :: str + r89 :: i32 + r90 :: bit + r91 :: None +L0: + r0 = builtins :: module + r1 = load_address _Py_NoneStruct + r2 = r0 != r1 + if r2 goto L3 else goto L1 :: bool +L1: + r3 = 'builtins' + r4 = PyImport_Import(r3) + if is_error(r4) goto L36 (error at :-1) else goto L2 +L2: + builtins = r4 :: module + dec_ref r4 +L3: + r5 = ('Final',) + r6 = 'typing' + r7 = dank_mids._envs.globals :: static + r8 = CPyImport_ImportFromMany(r6, r5, r5, r7) + if is_error(r8) goto L36 (error at :1) else goto L4 +L4: + typing = r8 :: module + dec_ref r8 + r9 = load_address a_sync :: module + r10 = [r9] + r11 = load_address r10 + r12 = [3] + r13 = load_address r12 + r14 = (('a_sync', 'a_sync', 'a_sync'),) + r15 = dank_mids._envs.globals :: static + r16 = 'dank_mids\\_envs.py' + r17 = '' + r18 = CPyImport_ImportMany(r14, r11, r15, r16, r17, r13) + if not r18 goto L36 else goto L5 :: bool +L5: + r19 = ('EnvVarFactory',) + r20 = 'typed_envs' + r21 = dank_mids._envs.globals :: static + r22 = CPyImport_ImportFromMany(r20, r19, r19, r21) + if is_error(r22) goto L36 (error at :4) else goto L6 +L6: + typed_envs = r22 :: module + dec_ref r22 + r23 = ('BlockSemaphore',) + r24 = 'dank_mids.semaphores' + r25 = dank_mids._envs.globals :: static + r26 = CPyImport_ImportFromMany(r24, r23, r23, r25) + if is_error(r26) goto L36 (error at :6) else goto L7 +L7: + dank_mids.semaphores = r26 :: module + dec_ref r26 + r27 = 'DANKMIDS' + r28 = dank_mids._envs.globals :: static + r29 = 'EnvVarFactory' + r30 = CPyDict_GetItem(r28, r29) + if is_error(r30) goto L36 (error at :9) else goto L8 +L8: + r31 = [r27] + r32 = load_address r31 + r33 = _PyObject_Vectorcall(r30, r32, 1, 0) + dec_ref r30 + if is_error(r33) goto L36 (error at :9) else goto L9 +L9: + dank_mids._envs._factory = r33 :: static + r34 = dank_mids._envs.globals :: static + r35 = '_factory' + r36 = CPyDict_SetItem(r34, r35, r33) + dec_ref r33 + r37 = r36 >= 0 :: signed + if not r37 goto L36 (error at :9) else goto L10 :: bool +L10: + r38 = dank_mids._envs._factory :: static + if is_error(r38) goto L11 else goto L13 +L11: + r39 = raise NameError('value for final name "_factory" was not set') + if not r39 goto L36 (error at :13) else goto L12 :: bool +L12: + unreachable +L13: + r40 = dank_mids._envs.globals :: static + r41 = 'a_sync' + r42 = CPyDict_GetItem(r40, r41) + if is_error(r42) goto L36 (error at :13) else goto L14 +L14: + r43 = 'Semaphore' + r44 = CPyObject_GetAttr(r42, r43) + dec_ref r42 + if is_error(r44) goto L36 (error at :13) else goto L15 +L15: + r45 = load_address PyLong_Type + r46 = 'register_string_converter' + r47 = [r38, r44, r45] + r48 = load_address r47 + r49 = PyObject_VectorcallMethod(r46, r48, 9223372036854775811, 0) + if is_error(r49) goto L37 (error at :13) else goto L38 +L16: + dec_ref r44 + r50 = dank_mids._envs._factory :: static + if is_error(r50) goto L17 else goto L19 +L17: + r51 = raise NameError('value for final name "_factory" was not set') + if not r51 goto L36 (error at :14) else goto L18 :: bool +L18: + unreachable +L19: + r52 = dank_mids._envs.globals :: static + r53 = 'a_sync' + r54 = CPyDict_GetItem(r52, r53) + if is_error(r54) goto L36 (error at :14) else goto L20 +L20: + r55 = 'ProcessPoolExecutor' + r56 = CPyObject_GetAttr(r54, r55) + dec_ref r54 + if is_error(r56) goto L36 (error at :14) else goto L21 +L21: + r57 = load_address PyLong_Type + r58 = 'register_string_converter' + r59 = [r50, r56, r57] + r60 = load_address r59 + r61 = PyObject_VectorcallMethod(r58, r60, 9223372036854775811, 0) + if is_error(r61) goto L39 (error at :14) else goto L40 +L22: + dec_ref r56 + r62 = dank_mids._envs._factory :: static + if is_error(r62) goto L23 else goto L25 +L23: + r63 = raise NameError('value for final name "_factory" was not set') + if not r63 goto L36 (error at :15) else goto L24 :: bool +L24: + unreachable +L25: + r64 = dank_mids._envs.globals :: static + r65 = 'BlockSemaphore' + r66 = CPyDict_GetItem(r64, r65) + if is_error(r66) goto L36 (error at :15) else goto L26 +L26: + r67 = load_address PyLong_Type + r68 = 'register_string_converter' + r69 = [r62, r66, r67] + r70 = load_address r69 + r71 = PyObject_VectorcallMethod(r68, r70, 9223372036854775811, 0) + if is_error(r71) goto L41 (error at :15) else goto L42 +L27: + dec_ref r66 + r72 = dank_mids._envs._factory :: static + if is_error(r72) goto L28 else goto L30 +L28: + r73 = raise NameError('value for final name "_factory" was not set') + if not r73 goto L36 (error at :17) else goto L29 :: bool +L29: + unreachable +L30: + r74 = 'create_env' + r75 = CPyObject_GetAttr(r72, r74) + if is_error(r75) goto L36 (error at :17) else goto L31 +L31: + dank_mids._envs.create_env = r75 :: static + r76 = dank_mids._envs.globals :: static + r77 = 'create_env' + r78 = CPyDict_SetItem(r76, r77, r75) + dec_ref r75 + r79 = r78 >= 0 :: signed + if not r79 goto L36 (error at :17) else goto L32 :: bool +L32: + r80 = 'DANK_MIDS' + r81 = dank_mids._envs.globals :: static + r82 = 'EnvVarFactory' + r83 = CPyDict_GetItem(r81, r82) + if is_error(r83) goto L36 (error at :20) else goto L33 +L33: + r84 = [r80] + r85 = load_address r84 + r86 = _PyObject_Vectorcall(r83, r85, 1, 0) + dec_ref r83 + if is_error(r86) goto L36 (error at :20) else goto L34 +L34: + dank_mids._envs._deprecated_format = r86 :: static + r87 = dank_mids._envs.globals :: static + r88 = '_deprecated_format' + r89 = CPyDict_SetItem(r87, r88, r86) + dec_ref r86 + r90 = r89 >= 0 :: signed + if not r90 goto L36 (error at :20) else goto L35 :: bool +L35: return 1 -L88: - r251 = :: None - return r251 -L89: - dec_ref r41 - goto L88 -L90: - dec_ref r57 - goto L88 -L91: +L36: + r91 = :: None + return r91 +L37: + dec_ref r44 + goto L36 +L38: + dec_ref r49 + goto L16 +L39: + dec_ref r56 + goto L36 +L40: + dec_ref r61 + goto L22 +L41: + dec_ref r66 + goto L36 +L42: dec_ref r71 - goto L88 -L92: - dec_ref r85 - goto L88 -L93: - dec_ref r99 - goto L88 -L94: - dec_ref r113 - goto L88 -L95: - dec_ref r129 - goto L88 -L96: - dec_ref r144 - goto L88 -L97: - dec_ref r144 - dec_ref r147 - goto L88 -L98: - dec_ref r144 - dec_ref r147 - dec_ref r150 - goto L88 -L99: - dec_ref r144 - dec_ref r147 - dec_ref r150 - dec_ref r153 - goto L88 -L100: - dec_ref r144 - dec_ref r147 - dec_ref r150 - dec_ref r153 - dec_ref r156 - goto L88 -L101: - dec_ref r144 - dec_ref r147 - dec_ref r150 - dec_ref r153 - dec_ref r156 - dec_ref r159 - goto L88 -L102: - dec_ref r183 - goto L88 -L103: - dec_ref r199 - goto L88 -L104: - dec_ref r213 - goto L88 -L105: - dec_ref r227 - goto L88 -L106: - dec_ref r241 - goto L88 + goto L27 diff --git a/d65c1fb6f7cf4e30fde8__mypyc.cp310-win_amd64.pyd b/d65c1fb6f7cf4e30fde8__mypyc.cp310-win_amd64.pyd index f4ffc05d16..909c5cbc39 100644 Binary files a/d65c1fb6f7cf4e30fde8__mypyc.cp310-win_amd64.pyd and b/d65c1fb6f7cf4e30fde8__mypyc.cp310-win_amd64.pyd differ diff --git a/d65c1fb6f7cf4e30fde8__mypyc.cp311-win_amd64.pyd b/d65c1fb6f7cf4e30fde8__mypyc.cp311-win_amd64.pyd index 09ae579f2c..d9a3092f08 100644 Binary files a/d65c1fb6f7cf4e30fde8__mypyc.cp311-win_amd64.pyd and b/d65c1fb6f7cf4e30fde8__mypyc.cp311-win_amd64.pyd differ diff --git a/d65c1fb6f7cf4e30fde8__mypyc.cp312-win_amd64.pyd b/d65c1fb6f7cf4e30fde8__mypyc.cp312-win_amd64.pyd index d601f99d4a..16150c5adb 100644 Binary files a/d65c1fb6f7cf4e30fde8__mypyc.cp312-win_amd64.pyd and b/d65c1fb6f7cf4e30fde8__mypyc.cp312-win_amd64.pyd differ diff --git a/d65c1fb6f7cf4e30fde8__mypyc.cp39-win_amd64.pyd b/d65c1fb6f7cf4e30fde8__mypyc.cp39-win_amd64.pyd index 529acea73c..823435a954 100644 Binary files a/d65c1fb6f7cf4e30fde8__mypyc.cp39-win_amd64.pyd and b/d65c1fb6f7cf4e30fde8__mypyc.cp39-win_amd64.pyd differ diff --git a/d65c1fb6f7cf4e30fde8__mypyc.cpython-310-darwin.so b/d65c1fb6f7cf4e30fde8__mypyc.cpython-310-darwin.so index 9bda2b56f5..9c3e36a3e9 100755 Binary files a/d65c1fb6f7cf4e30fde8__mypyc.cpython-310-darwin.so and b/d65c1fb6f7cf4e30fde8__mypyc.cpython-310-darwin.so differ diff --git a/d65c1fb6f7cf4e30fde8__mypyc.cpython-310-x86_64-linux-gnu.so b/d65c1fb6f7cf4e30fde8__mypyc.cpython-310-x86_64-linux-gnu.so index 9330d1fef8..d209e99c63 100755 Binary files a/d65c1fb6f7cf4e30fde8__mypyc.cpython-310-x86_64-linux-gnu.so and b/d65c1fb6f7cf4e30fde8__mypyc.cpython-310-x86_64-linux-gnu.so differ diff --git a/d65c1fb6f7cf4e30fde8__mypyc.cpython-311-darwin.so b/d65c1fb6f7cf4e30fde8__mypyc.cpython-311-darwin.so index 2745c1cbb6..939571d801 100755 Binary files a/d65c1fb6f7cf4e30fde8__mypyc.cpython-311-darwin.so and b/d65c1fb6f7cf4e30fde8__mypyc.cpython-311-darwin.so differ diff --git a/d65c1fb6f7cf4e30fde8__mypyc.cpython-311-x86_64-linux-gnu.so b/d65c1fb6f7cf4e30fde8__mypyc.cpython-311-x86_64-linux-gnu.so index aebc0dacda..525fa1ae48 100755 Binary files a/d65c1fb6f7cf4e30fde8__mypyc.cpython-311-x86_64-linux-gnu.so and b/d65c1fb6f7cf4e30fde8__mypyc.cpython-311-x86_64-linux-gnu.so differ diff --git a/d65c1fb6f7cf4e30fde8__mypyc.cpython-312-darwin.so b/d65c1fb6f7cf4e30fde8__mypyc.cpython-312-darwin.so index 253cfc02c1..027de83448 100755 Binary files a/d65c1fb6f7cf4e30fde8__mypyc.cpython-312-darwin.so and b/d65c1fb6f7cf4e30fde8__mypyc.cpython-312-darwin.so differ diff --git a/d65c1fb6f7cf4e30fde8__mypyc.cpython-312-x86_64-linux-gnu.so b/d65c1fb6f7cf4e30fde8__mypyc.cpython-312-x86_64-linux-gnu.so index 21dbec2612..9a95bb185e 100755 Binary files a/d65c1fb6f7cf4e30fde8__mypyc.cpython-312-x86_64-linux-gnu.so and b/d65c1fb6f7cf4e30fde8__mypyc.cpython-312-x86_64-linux-gnu.so differ diff --git a/d65c1fb6f7cf4e30fde8__mypyc.cpython-39-darwin.so b/d65c1fb6f7cf4e30fde8__mypyc.cpython-39-darwin.so index 29bf8b7724..d9e3c69f5e 100755 Binary files a/d65c1fb6f7cf4e30fde8__mypyc.cpython-39-darwin.so and b/d65c1fb6f7cf4e30fde8__mypyc.cpython-39-darwin.so differ diff --git a/d65c1fb6f7cf4e30fde8__mypyc.cpython-39-x86_64-linux-gnu.so b/d65c1fb6f7cf4e30fde8__mypyc.cpython-39-x86_64-linux-gnu.so index 37f693dd28..b5f029a03d 100755 Binary files a/d65c1fb6f7cf4e30fde8__mypyc.cpython-39-x86_64-linux-gnu.so and b/d65c1fb6f7cf4e30fde8__mypyc.cpython-39-x86_64-linux-gnu.so differ diff --git a/dank_mids/ENVIRONMENT_VARIABLES.cp310-win_amd64.pyd b/dank_mids/ENVIRONMENT_VARIABLES.cp310-win_amd64.pyd index 0b1aaff4e4..5760fd8f70 100644 Binary files a/dank_mids/ENVIRONMENT_VARIABLES.cp310-win_amd64.pyd and b/dank_mids/ENVIRONMENT_VARIABLES.cp310-win_amd64.pyd differ diff --git a/dank_mids/ENVIRONMENT_VARIABLES.cp311-win_amd64.pyd b/dank_mids/ENVIRONMENT_VARIABLES.cp311-win_amd64.pyd index a5c6a92a96..c52b1d529a 100644 Binary files a/dank_mids/ENVIRONMENT_VARIABLES.cp311-win_amd64.pyd and b/dank_mids/ENVIRONMENT_VARIABLES.cp311-win_amd64.pyd differ diff --git a/dank_mids/ENVIRONMENT_VARIABLES.cp312-win_amd64.pyd b/dank_mids/ENVIRONMENT_VARIABLES.cp312-win_amd64.pyd index 63071125b5..cd20dda4d8 100644 Binary files a/dank_mids/ENVIRONMENT_VARIABLES.cp312-win_amd64.pyd and b/dank_mids/ENVIRONMENT_VARIABLES.cp312-win_amd64.pyd differ diff --git a/dank_mids/ENVIRONMENT_VARIABLES.cp38-win_amd64.pyd b/dank_mids/ENVIRONMENT_VARIABLES.cp38-win_amd64.pyd index 603ee7c7ed..e1b712c974 100644 Binary files a/dank_mids/ENVIRONMENT_VARIABLES.cp38-win_amd64.pyd and b/dank_mids/ENVIRONMENT_VARIABLES.cp38-win_amd64.pyd differ diff --git a/dank_mids/ENVIRONMENT_VARIABLES.cp39-win_amd64.pyd b/dank_mids/ENVIRONMENT_VARIABLES.cp39-win_amd64.pyd index 618d2a992c..e74ff5fe88 100644 Binary files a/dank_mids/ENVIRONMENT_VARIABLES.cp39-win_amd64.pyd and b/dank_mids/ENVIRONMENT_VARIABLES.cp39-win_amd64.pyd differ diff --git a/dank_mids/ENVIRONMENT_VARIABLES.cpython-310-darwin.so b/dank_mids/ENVIRONMENT_VARIABLES.cpython-310-darwin.so index 5fb24e77d5..4b76a77af0 100755 Binary files a/dank_mids/ENVIRONMENT_VARIABLES.cpython-310-darwin.so and b/dank_mids/ENVIRONMENT_VARIABLES.cpython-310-darwin.so differ diff --git a/dank_mids/ENVIRONMENT_VARIABLES.cpython-311-darwin.so b/dank_mids/ENVIRONMENT_VARIABLES.cpython-311-darwin.so index a8eea1e07e..9a724fbdac 100755 Binary files a/dank_mids/ENVIRONMENT_VARIABLES.cpython-311-darwin.so and b/dank_mids/ENVIRONMENT_VARIABLES.cpython-311-darwin.so differ diff --git a/dank_mids/ENVIRONMENT_VARIABLES.cpython-312-darwin.so b/dank_mids/ENVIRONMENT_VARIABLES.cpython-312-darwin.so index 8ead627445..55f88e22bc 100755 Binary files a/dank_mids/ENVIRONMENT_VARIABLES.cpython-312-darwin.so and b/dank_mids/ENVIRONMENT_VARIABLES.cpython-312-darwin.so differ diff --git a/dank_mids/ENVIRONMENT_VARIABLES.cpython-38-darwin.so b/dank_mids/ENVIRONMENT_VARIABLES.cpython-38-darwin.so index acff068375..e798b0ecd9 100755 Binary files a/dank_mids/ENVIRONMENT_VARIABLES.cpython-38-darwin.so and b/dank_mids/ENVIRONMENT_VARIABLES.cpython-38-darwin.so differ diff --git a/dank_mids/ENVIRONMENT_VARIABLES.cpython-39-darwin.so b/dank_mids/ENVIRONMENT_VARIABLES.cpython-39-darwin.so index 94b27ea459..bba95b6901 100755 Binary files a/dank_mids/ENVIRONMENT_VARIABLES.cpython-39-darwin.so and b/dank_mids/ENVIRONMENT_VARIABLES.cpython-39-darwin.so differ diff --git a/dank_mids/_demo_mode.cp310-win_amd64.pyd b/dank_mids/_demo_mode.cp310-win_amd64.pyd index 45f8c18609..b8b8a17a18 100644 Binary files a/dank_mids/_demo_mode.cp310-win_amd64.pyd and b/dank_mids/_demo_mode.cp310-win_amd64.pyd differ diff --git a/dank_mids/_demo_mode.cp311-win_amd64.pyd b/dank_mids/_demo_mode.cp311-win_amd64.pyd index aa99f7a36a..7d5951f2fb 100644 Binary files a/dank_mids/_demo_mode.cp311-win_amd64.pyd and b/dank_mids/_demo_mode.cp311-win_amd64.pyd differ diff --git a/dank_mids/_demo_mode.cp312-win_amd64.pyd b/dank_mids/_demo_mode.cp312-win_amd64.pyd index 93081a7a3f..0c7aa78e60 100644 Binary files a/dank_mids/_demo_mode.cp312-win_amd64.pyd and b/dank_mids/_demo_mode.cp312-win_amd64.pyd differ diff --git a/dank_mids/_demo_mode.cp38-win_amd64.pyd b/dank_mids/_demo_mode.cp38-win_amd64.pyd index 9dfd9b8e0d..63b7529188 100644 Binary files a/dank_mids/_demo_mode.cp38-win_amd64.pyd and b/dank_mids/_demo_mode.cp38-win_amd64.pyd differ diff --git a/dank_mids/_demo_mode.cp39-win_amd64.pyd b/dank_mids/_demo_mode.cp39-win_amd64.pyd index f8d1bb39ca..9aa923d835 100644 Binary files a/dank_mids/_demo_mode.cp39-win_amd64.pyd and b/dank_mids/_demo_mode.cp39-win_amd64.pyd differ diff --git a/dank_mids/_demo_mode.cpython-310-darwin.so b/dank_mids/_demo_mode.cpython-310-darwin.so index 20fba54932..53813ef7d4 100755 Binary files a/dank_mids/_demo_mode.cpython-310-darwin.so and b/dank_mids/_demo_mode.cpython-310-darwin.so differ diff --git a/dank_mids/_demo_mode.cpython-311-darwin.so b/dank_mids/_demo_mode.cpython-311-darwin.so index 2909e38fe4..645877138e 100755 Binary files a/dank_mids/_demo_mode.cpython-311-darwin.so and b/dank_mids/_demo_mode.cpython-311-darwin.so differ diff --git a/dank_mids/_demo_mode.cpython-312-darwin.so b/dank_mids/_demo_mode.cpython-312-darwin.so index 7536449d77..e0fa6a58f7 100755 Binary files a/dank_mids/_demo_mode.cpython-312-darwin.so and b/dank_mids/_demo_mode.cpython-312-darwin.so differ diff --git a/dank_mids/_demo_mode.cpython-38-darwin.so b/dank_mids/_demo_mode.cpython-38-darwin.so index 059f13fc68..ea93a4178e 100755 Binary files a/dank_mids/_demo_mode.cpython-38-darwin.so and b/dank_mids/_demo_mode.cpython-38-darwin.so differ diff --git a/dank_mids/_demo_mode.cpython-39-darwin.so b/dank_mids/_demo_mode.cpython-39-darwin.so index 63e2e8439d..f4a92fcb79 100755 Binary files a/dank_mids/_demo_mode.cpython-39-darwin.so and b/dank_mids/_demo_mode.cpython-39-darwin.so differ diff --git a/dank_mids/_envs.cp310-win_amd64.pyd b/dank_mids/_envs.cp310-win_amd64.pyd index 9cf4fa62fa..72c903d9dd 100644 Binary files a/dank_mids/_envs.cp310-win_amd64.pyd and b/dank_mids/_envs.cp310-win_amd64.pyd differ diff --git a/dank_mids/_envs.cp311-win_amd64.pyd b/dank_mids/_envs.cp311-win_amd64.pyd index a787cf8803..e6ca24d303 100644 Binary files a/dank_mids/_envs.cp311-win_amd64.pyd and b/dank_mids/_envs.cp311-win_amd64.pyd differ diff --git a/dank_mids/_envs.cp312-win_amd64.pyd b/dank_mids/_envs.cp312-win_amd64.pyd index c1225027f2..e816c04cec 100644 Binary files a/dank_mids/_envs.cp312-win_amd64.pyd and b/dank_mids/_envs.cp312-win_amd64.pyd differ diff --git a/dank_mids/_envs.cp38-win_amd64.pyd b/dank_mids/_envs.cp38-win_amd64.pyd index 9bba6ecac2..985e1f4911 100644 Binary files a/dank_mids/_envs.cp38-win_amd64.pyd and b/dank_mids/_envs.cp38-win_amd64.pyd differ diff --git a/dank_mids/_envs.cp39-win_amd64.pyd b/dank_mids/_envs.cp39-win_amd64.pyd index 90d44e0acb..c251b5ef7d 100644 Binary files a/dank_mids/_envs.cp39-win_amd64.pyd and b/dank_mids/_envs.cp39-win_amd64.pyd differ diff --git a/dank_mids/_envs.cpython-310-darwin.so b/dank_mids/_envs.cpython-310-darwin.so index 4f75c082c0..e687c18be4 100755 Binary files a/dank_mids/_envs.cpython-310-darwin.so and b/dank_mids/_envs.cpython-310-darwin.so differ diff --git a/dank_mids/_envs.cpython-311-darwin.so b/dank_mids/_envs.cpython-311-darwin.so index b2ebea491d..df1ea808f9 100755 Binary files a/dank_mids/_envs.cpython-311-darwin.so and b/dank_mids/_envs.cpython-311-darwin.so differ diff --git a/dank_mids/_envs.cpython-312-darwin.so b/dank_mids/_envs.cpython-312-darwin.so index d7a854769b..181f8b2745 100755 Binary files a/dank_mids/_envs.cpython-312-darwin.so and b/dank_mids/_envs.cpython-312-darwin.so differ diff --git a/dank_mids/_envs.cpython-38-darwin.so b/dank_mids/_envs.cpython-38-darwin.so index 6cc37bded5..dbe2d4ec55 100755 Binary files a/dank_mids/_envs.cpython-38-darwin.so and b/dank_mids/_envs.cpython-38-darwin.so differ diff --git a/dank_mids/_envs.cpython-39-darwin.so b/dank_mids/_envs.cpython-39-darwin.so index 9c53f79830..f6303e2624 100755 Binary files a/dank_mids/_envs.cpython-39-darwin.so and b/dank_mids/_envs.cpython-39-darwin.so differ diff --git a/dank_mids/_eth_utils.cp310-win_amd64.pyd b/dank_mids/_eth_utils.cp310-win_amd64.pyd index 634cf04e80..725990f4b0 100644 Binary files a/dank_mids/_eth_utils.cp310-win_amd64.pyd and b/dank_mids/_eth_utils.cp310-win_amd64.pyd differ diff --git a/dank_mids/_eth_utils.cp311-win_amd64.pyd b/dank_mids/_eth_utils.cp311-win_amd64.pyd index 9b717fa56c..18cb2e3a6f 100644 Binary files a/dank_mids/_eth_utils.cp311-win_amd64.pyd and b/dank_mids/_eth_utils.cp311-win_amd64.pyd differ diff --git a/dank_mids/_eth_utils.cp312-win_amd64.pyd b/dank_mids/_eth_utils.cp312-win_amd64.pyd index 197c46cce7..2a717accd1 100644 Binary files a/dank_mids/_eth_utils.cp312-win_amd64.pyd and b/dank_mids/_eth_utils.cp312-win_amd64.pyd differ diff --git a/dank_mids/_eth_utils.cp38-win_amd64.pyd b/dank_mids/_eth_utils.cp38-win_amd64.pyd index e1456dfe18..c2105cf1ba 100644 Binary files a/dank_mids/_eth_utils.cp38-win_amd64.pyd and b/dank_mids/_eth_utils.cp38-win_amd64.pyd differ diff --git a/dank_mids/_eth_utils.cp39-win_amd64.pyd b/dank_mids/_eth_utils.cp39-win_amd64.pyd index 709e325f42..432885aa94 100644 Binary files a/dank_mids/_eth_utils.cp39-win_amd64.pyd and b/dank_mids/_eth_utils.cp39-win_amd64.pyd differ diff --git a/dank_mids/_eth_utils.cpython-310-darwin.so b/dank_mids/_eth_utils.cpython-310-darwin.so index c582415eb7..5e51e599ae 100755 Binary files a/dank_mids/_eth_utils.cpython-310-darwin.so and b/dank_mids/_eth_utils.cpython-310-darwin.so differ diff --git a/dank_mids/_eth_utils.cpython-311-darwin.so b/dank_mids/_eth_utils.cpython-311-darwin.so index 21d027ef5f..7f34255229 100755 Binary files a/dank_mids/_eth_utils.cpython-311-darwin.so and b/dank_mids/_eth_utils.cpython-311-darwin.so differ diff --git a/dank_mids/_eth_utils.cpython-312-darwin.so b/dank_mids/_eth_utils.cpython-312-darwin.so index da28bba08d..1a58f3ba72 100755 Binary files a/dank_mids/_eth_utils.cpython-312-darwin.so and b/dank_mids/_eth_utils.cpython-312-darwin.so differ diff --git a/dank_mids/_eth_utils.cpython-38-darwin.so b/dank_mids/_eth_utils.cpython-38-darwin.so index 5d78429b1a..1e30a042c2 100755 Binary files a/dank_mids/_eth_utils.cpython-38-darwin.so and b/dank_mids/_eth_utils.cpython-38-darwin.so differ diff --git a/dank_mids/_eth_utils.cpython-39-darwin.so b/dank_mids/_eth_utils.cpython-39-darwin.so index 89180d1f2a..9edf3e641e 100755 Binary files a/dank_mids/_eth_utils.cpython-39-darwin.so and b/dank_mids/_eth_utils.cpython-39-darwin.so differ diff --git a/dank_mids/_exceptions.cp310-win_amd64.pyd b/dank_mids/_exceptions.cp310-win_amd64.pyd index 9b418daa1f..9f5876f81f 100644 Binary files a/dank_mids/_exceptions.cp310-win_amd64.pyd and b/dank_mids/_exceptions.cp310-win_amd64.pyd differ diff --git a/dank_mids/_exceptions.cp311-win_amd64.pyd b/dank_mids/_exceptions.cp311-win_amd64.pyd index 3c3e8b5c1f..e20a5a204a 100644 Binary files a/dank_mids/_exceptions.cp311-win_amd64.pyd and b/dank_mids/_exceptions.cp311-win_amd64.pyd differ diff --git a/dank_mids/_exceptions.cp312-win_amd64.pyd b/dank_mids/_exceptions.cp312-win_amd64.pyd index 5551522037..51c78702b4 100644 Binary files a/dank_mids/_exceptions.cp312-win_amd64.pyd and b/dank_mids/_exceptions.cp312-win_amd64.pyd differ diff --git a/dank_mids/_exceptions.cp38-win_amd64.pyd b/dank_mids/_exceptions.cp38-win_amd64.pyd index cd64e6c637..eaad01fac0 100644 Binary files a/dank_mids/_exceptions.cp38-win_amd64.pyd and b/dank_mids/_exceptions.cp38-win_amd64.pyd differ diff --git a/dank_mids/_exceptions.cp39-win_amd64.pyd b/dank_mids/_exceptions.cp39-win_amd64.pyd index d5f6f79471..b11492b5b5 100644 Binary files a/dank_mids/_exceptions.cp39-win_amd64.pyd and b/dank_mids/_exceptions.cp39-win_amd64.pyd differ diff --git a/dank_mids/_exceptions.cpython-310-darwin.so b/dank_mids/_exceptions.cpython-310-darwin.so index bcd1494163..7879553564 100755 Binary files a/dank_mids/_exceptions.cpython-310-darwin.so and b/dank_mids/_exceptions.cpython-310-darwin.so differ diff --git a/dank_mids/_exceptions.cpython-311-darwin.so b/dank_mids/_exceptions.cpython-311-darwin.so index e70e0803e0..480605f4bf 100755 Binary files a/dank_mids/_exceptions.cpython-311-darwin.so and b/dank_mids/_exceptions.cpython-311-darwin.so differ diff --git a/dank_mids/_exceptions.cpython-312-darwin.so b/dank_mids/_exceptions.cpython-312-darwin.so index 74316fa2f0..ae1e35f79a 100755 Binary files a/dank_mids/_exceptions.cpython-312-darwin.so and b/dank_mids/_exceptions.cpython-312-darwin.so differ diff --git a/dank_mids/_exceptions.cpython-38-darwin.so b/dank_mids/_exceptions.cpython-38-darwin.so index eb80a52e19..27b7085f02 100755 Binary files a/dank_mids/_exceptions.cpython-38-darwin.so and b/dank_mids/_exceptions.cpython-38-darwin.so differ diff --git a/dank_mids/_exceptions.cpython-39-darwin.so b/dank_mids/_exceptions.cpython-39-darwin.so index 62e7b44a2e..b04c7e2d99 100755 Binary files a/dank_mids/_exceptions.cpython-39-darwin.so and b/dank_mids/_exceptions.cpython-39-darwin.so differ diff --git a/dank_mids/_logging.cp310-win_amd64.pyd b/dank_mids/_logging.cp310-win_amd64.pyd index a96210bf29..1d7cdc099e 100644 Binary files a/dank_mids/_logging.cp310-win_amd64.pyd and b/dank_mids/_logging.cp310-win_amd64.pyd differ diff --git a/dank_mids/_logging.cp311-win_amd64.pyd b/dank_mids/_logging.cp311-win_amd64.pyd index 24952374e4..8700207c40 100644 Binary files a/dank_mids/_logging.cp311-win_amd64.pyd and b/dank_mids/_logging.cp311-win_amd64.pyd differ diff --git a/dank_mids/_logging.cp312-win_amd64.pyd b/dank_mids/_logging.cp312-win_amd64.pyd index 626494114a..c23d1bd04c 100644 Binary files a/dank_mids/_logging.cp312-win_amd64.pyd and b/dank_mids/_logging.cp312-win_amd64.pyd differ diff --git a/dank_mids/_logging.cp38-win_amd64.pyd b/dank_mids/_logging.cp38-win_amd64.pyd index ecb010457f..4f9f98cc2b 100644 Binary files a/dank_mids/_logging.cp38-win_amd64.pyd and b/dank_mids/_logging.cp38-win_amd64.pyd differ diff --git a/dank_mids/_logging.cp39-win_amd64.pyd b/dank_mids/_logging.cp39-win_amd64.pyd index e2f2b0e00d..d5c0c2dc98 100644 Binary files a/dank_mids/_logging.cp39-win_amd64.pyd and b/dank_mids/_logging.cp39-win_amd64.pyd differ diff --git a/dank_mids/_logging.cpython-310-darwin.so b/dank_mids/_logging.cpython-310-darwin.so index a3788a8911..566a87cac6 100755 Binary files a/dank_mids/_logging.cpython-310-darwin.so and b/dank_mids/_logging.cpython-310-darwin.so differ diff --git a/dank_mids/_logging.cpython-311-darwin.so b/dank_mids/_logging.cpython-311-darwin.so index 70e761eac4..693d0dfca4 100755 Binary files a/dank_mids/_logging.cpython-311-darwin.so and b/dank_mids/_logging.cpython-311-darwin.so differ diff --git a/dank_mids/_logging.cpython-312-darwin.so b/dank_mids/_logging.cpython-312-darwin.so index 9ab6aebb80..95c9a11b46 100755 Binary files a/dank_mids/_logging.cpython-312-darwin.so and b/dank_mids/_logging.cpython-312-darwin.so differ diff --git a/dank_mids/_logging.cpython-38-darwin.so b/dank_mids/_logging.cpython-38-darwin.so index 43031d8451..56c0510509 100755 Binary files a/dank_mids/_logging.cpython-38-darwin.so and b/dank_mids/_logging.cpython-38-darwin.so differ diff --git a/dank_mids/_logging.cpython-39-darwin.so b/dank_mids/_logging.cpython-39-darwin.so index 628efc652b..4735d9de4e 100755 Binary files a/dank_mids/_logging.cpython-39-darwin.so and b/dank_mids/_logging.cpython-39-darwin.so differ diff --git a/dank_mids/_uid.cp310-win_amd64.pyd b/dank_mids/_uid.cp310-win_amd64.pyd index 9ba4f92aeb..bb7c751514 100644 Binary files a/dank_mids/_uid.cp310-win_amd64.pyd and b/dank_mids/_uid.cp310-win_amd64.pyd differ diff --git a/dank_mids/_uid.cp311-win_amd64.pyd b/dank_mids/_uid.cp311-win_amd64.pyd index 2ae65dedb0..fdd4237437 100644 Binary files a/dank_mids/_uid.cp311-win_amd64.pyd and b/dank_mids/_uid.cp311-win_amd64.pyd differ diff --git a/dank_mids/_uid.cp312-win_amd64.pyd b/dank_mids/_uid.cp312-win_amd64.pyd index ba4a5a9bc5..cb005026b8 100644 Binary files a/dank_mids/_uid.cp312-win_amd64.pyd and b/dank_mids/_uid.cp312-win_amd64.pyd differ diff --git a/dank_mids/_uid.cp38-win_amd64.pyd b/dank_mids/_uid.cp38-win_amd64.pyd index 63ecf57f45..4f2d2a1086 100644 Binary files a/dank_mids/_uid.cp38-win_amd64.pyd and b/dank_mids/_uid.cp38-win_amd64.pyd differ diff --git a/dank_mids/_uid.cp39-win_amd64.pyd b/dank_mids/_uid.cp39-win_amd64.pyd index df6e8d1b7e..f9e907c18d 100644 Binary files a/dank_mids/_uid.cp39-win_amd64.pyd and b/dank_mids/_uid.cp39-win_amd64.pyd differ diff --git a/dank_mids/_uid.cpython-310-darwin.so b/dank_mids/_uid.cpython-310-darwin.so index da496b82f9..43ce54b31e 100755 Binary files a/dank_mids/_uid.cpython-310-darwin.so and b/dank_mids/_uid.cpython-310-darwin.so differ diff --git a/dank_mids/_uid.cpython-311-darwin.so b/dank_mids/_uid.cpython-311-darwin.so index 9ce8c4944a..f7dd02b1e5 100755 Binary files a/dank_mids/_uid.cpython-311-darwin.so and b/dank_mids/_uid.cpython-311-darwin.so differ diff --git a/dank_mids/_uid.cpython-312-darwin.so b/dank_mids/_uid.cpython-312-darwin.so index d665a1a3c6..a011e967b2 100755 Binary files a/dank_mids/_uid.cpython-312-darwin.so and b/dank_mids/_uid.cpython-312-darwin.so differ diff --git a/dank_mids/_uid.cpython-38-darwin.so b/dank_mids/_uid.cpython-38-darwin.so index 5725284871..0da737e73e 100755 Binary files a/dank_mids/_uid.cpython-38-darwin.so and b/dank_mids/_uid.cpython-38-darwin.so differ diff --git a/dank_mids/_uid.cpython-39-darwin.so b/dank_mids/_uid.cpython-39-darwin.so index 9235a0ca14..52ac74afa8 100755 Binary files a/dank_mids/_uid.cpython-39-darwin.so and b/dank_mids/_uid.cpython-39-darwin.so differ diff --git a/dank_mids/brownie_patch/__init__.cp310-win_amd64.pyd b/dank_mids/brownie_patch/__init__.cp310-win_amd64.pyd index 0f785406bb..2dda251e47 100644 Binary files a/dank_mids/brownie_patch/__init__.cp310-win_amd64.pyd and b/dank_mids/brownie_patch/__init__.cp310-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/__init__.cp311-win_amd64.pyd b/dank_mids/brownie_patch/__init__.cp311-win_amd64.pyd index 04c242bc76..9250c590b6 100644 Binary files a/dank_mids/brownie_patch/__init__.cp311-win_amd64.pyd and b/dank_mids/brownie_patch/__init__.cp311-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/__init__.cp312-win_amd64.pyd b/dank_mids/brownie_patch/__init__.cp312-win_amd64.pyd index 8e8d8c17a3..c08987b175 100644 Binary files a/dank_mids/brownie_patch/__init__.cp312-win_amd64.pyd and b/dank_mids/brownie_patch/__init__.cp312-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/__init__.cp38-win_amd64.pyd b/dank_mids/brownie_patch/__init__.cp38-win_amd64.pyd index 256b7c0a5f..9f8e6d1d9c 100644 Binary files a/dank_mids/brownie_patch/__init__.cp38-win_amd64.pyd and b/dank_mids/brownie_patch/__init__.cp38-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/__init__.cp39-win_amd64.pyd b/dank_mids/brownie_patch/__init__.cp39-win_amd64.pyd index cdbbe952c2..e09fe3bea3 100644 Binary files a/dank_mids/brownie_patch/__init__.cp39-win_amd64.pyd and b/dank_mids/brownie_patch/__init__.cp39-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/__init__.cpython-310-darwin.so b/dank_mids/brownie_patch/__init__.cpython-310-darwin.so index a4f6d25520..d5de06544b 100755 Binary files a/dank_mids/brownie_patch/__init__.cpython-310-darwin.so and b/dank_mids/brownie_patch/__init__.cpython-310-darwin.so differ diff --git a/dank_mids/brownie_patch/__init__.cpython-311-darwin.so b/dank_mids/brownie_patch/__init__.cpython-311-darwin.so index 85834ee7a1..3ec678849b 100755 Binary files a/dank_mids/brownie_patch/__init__.cpython-311-darwin.so and b/dank_mids/brownie_patch/__init__.cpython-311-darwin.so differ diff --git a/dank_mids/brownie_patch/__init__.cpython-312-darwin.so b/dank_mids/brownie_patch/__init__.cpython-312-darwin.so index a0db71ecb9..36be78da21 100755 Binary files a/dank_mids/brownie_patch/__init__.cpython-312-darwin.so and b/dank_mids/brownie_patch/__init__.cpython-312-darwin.so differ diff --git a/dank_mids/brownie_patch/__init__.cpython-38-darwin.so b/dank_mids/brownie_patch/__init__.cpython-38-darwin.so index dabf523485..9a2b799560 100755 Binary files a/dank_mids/brownie_patch/__init__.cpython-38-darwin.so and b/dank_mids/brownie_patch/__init__.cpython-38-darwin.so differ diff --git a/dank_mids/brownie_patch/__init__.cpython-39-darwin.so b/dank_mids/brownie_patch/__init__.cpython-39-darwin.so index cbe5b2f34c..7183ef41a0 100755 Binary files a/dank_mids/brownie_patch/__init__.cpython-39-darwin.so and b/dank_mids/brownie_patch/__init__.cpython-39-darwin.so differ diff --git a/dank_mids/brownie_patch/_abi.cp310-win_amd64.pyd b/dank_mids/brownie_patch/_abi.cp310-win_amd64.pyd index d6e3c05c3e..2467184e30 100644 Binary files a/dank_mids/brownie_patch/_abi.cp310-win_amd64.pyd and b/dank_mids/brownie_patch/_abi.cp310-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/_abi.cp311-win_amd64.pyd b/dank_mids/brownie_patch/_abi.cp311-win_amd64.pyd index 13e34c337a..2b74a1713d 100644 Binary files a/dank_mids/brownie_patch/_abi.cp311-win_amd64.pyd and b/dank_mids/brownie_patch/_abi.cp311-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/_abi.cp312-win_amd64.pyd b/dank_mids/brownie_patch/_abi.cp312-win_amd64.pyd index 6a7153d5d3..7f83d407ea 100644 Binary files a/dank_mids/brownie_patch/_abi.cp312-win_amd64.pyd and b/dank_mids/brownie_patch/_abi.cp312-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/_abi.cp38-win_amd64.pyd b/dank_mids/brownie_patch/_abi.cp38-win_amd64.pyd index c9f4506b45..8703a2ddd3 100644 Binary files a/dank_mids/brownie_patch/_abi.cp38-win_amd64.pyd and b/dank_mids/brownie_patch/_abi.cp38-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/_abi.cp39-win_amd64.pyd b/dank_mids/brownie_patch/_abi.cp39-win_amd64.pyd index 31e6fd20a5..5ef0611921 100644 Binary files a/dank_mids/brownie_patch/_abi.cp39-win_amd64.pyd and b/dank_mids/brownie_patch/_abi.cp39-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/_abi.cpython-310-darwin.so b/dank_mids/brownie_patch/_abi.cpython-310-darwin.so index 611c4358fe..fb8b838c79 100755 Binary files a/dank_mids/brownie_patch/_abi.cpython-310-darwin.so and b/dank_mids/brownie_patch/_abi.cpython-310-darwin.so differ diff --git a/dank_mids/brownie_patch/_abi.cpython-311-darwin.so b/dank_mids/brownie_patch/_abi.cpython-311-darwin.so index c98b591ae5..77467a7011 100755 Binary files a/dank_mids/brownie_patch/_abi.cpython-311-darwin.so and b/dank_mids/brownie_patch/_abi.cpython-311-darwin.so differ diff --git a/dank_mids/brownie_patch/_abi.cpython-312-darwin.so b/dank_mids/brownie_patch/_abi.cpython-312-darwin.so index 758f4855d0..50c39ab110 100755 Binary files a/dank_mids/brownie_patch/_abi.cpython-312-darwin.so and b/dank_mids/brownie_patch/_abi.cpython-312-darwin.so differ diff --git a/dank_mids/brownie_patch/_abi.cpython-38-darwin.so b/dank_mids/brownie_patch/_abi.cpython-38-darwin.so index ba7b1f26d3..7587ae26ed 100755 Binary files a/dank_mids/brownie_patch/_abi.cpython-38-darwin.so and b/dank_mids/brownie_patch/_abi.cpython-38-darwin.so differ diff --git a/dank_mids/brownie_patch/_abi.cpython-39-darwin.so b/dank_mids/brownie_patch/_abi.cpython-39-darwin.so index a4b5c8ffab..95d7fcb273 100755 Binary files a/dank_mids/brownie_patch/_abi.cpython-39-darwin.so and b/dank_mids/brownie_patch/_abi.cpython-39-darwin.so differ diff --git a/dank_mids/brownie_patch/call.cp310-win_amd64.pyd b/dank_mids/brownie_patch/call.cp310-win_amd64.pyd index fe1eb92629..574630db7c 100644 Binary files a/dank_mids/brownie_patch/call.cp310-win_amd64.pyd and b/dank_mids/brownie_patch/call.cp310-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/call.cp311-win_amd64.pyd b/dank_mids/brownie_patch/call.cp311-win_amd64.pyd index 1a4f51df79..b84e7c7fc0 100644 Binary files a/dank_mids/brownie_patch/call.cp311-win_amd64.pyd and b/dank_mids/brownie_patch/call.cp311-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/call.cp312-win_amd64.pyd b/dank_mids/brownie_patch/call.cp312-win_amd64.pyd index 46f426f156..55fa702c82 100644 Binary files a/dank_mids/brownie_patch/call.cp312-win_amd64.pyd and b/dank_mids/brownie_patch/call.cp312-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/call.cp38-win_amd64.pyd b/dank_mids/brownie_patch/call.cp38-win_amd64.pyd index 51532fc6e8..46bccd9e09 100644 Binary files a/dank_mids/brownie_patch/call.cp38-win_amd64.pyd and b/dank_mids/brownie_patch/call.cp38-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/call.cp39-win_amd64.pyd b/dank_mids/brownie_patch/call.cp39-win_amd64.pyd index b8bb6a9832..51aaef61d7 100644 Binary files a/dank_mids/brownie_patch/call.cp39-win_amd64.pyd and b/dank_mids/brownie_patch/call.cp39-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/call.cpython-310-darwin.so b/dank_mids/brownie_patch/call.cpython-310-darwin.so index 3b2a8a9ff7..d097cf546a 100755 Binary files a/dank_mids/brownie_patch/call.cpython-310-darwin.so and b/dank_mids/brownie_patch/call.cpython-310-darwin.so differ diff --git a/dank_mids/brownie_patch/call.cpython-311-darwin.so b/dank_mids/brownie_patch/call.cpython-311-darwin.so index c9269be0fc..e96e295cb8 100755 Binary files a/dank_mids/brownie_patch/call.cpython-311-darwin.so and b/dank_mids/brownie_patch/call.cpython-311-darwin.so differ diff --git a/dank_mids/brownie_patch/call.cpython-312-darwin.so b/dank_mids/brownie_patch/call.cpython-312-darwin.so index f70cb86e5e..5c51c9745b 100755 Binary files a/dank_mids/brownie_patch/call.cpython-312-darwin.so and b/dank_mids/brownie_patch/call.cpython-312-darwin.so differ diff --git a/dank_mids/brownie_patch/call.cpython-38-darwin.so b/dank_mids/brownie_patch/call.cpython-38-darwin.so index 7b551a0683..3bf9db8589 100755 Binary files a/dank_mids/brownie_patch/call.cpython-38-darwin.so and b/dank_mids/brownie_patch/call.cpython-38-darwin.so differ diff --git a/dank_mids/brownie_patch/call.cpython-39-darwin.so b/dank_mids/brownie_patch/call.cpython-39-darwin.so index 9ee900292c..e1d4a09060 100755 Binary files a/dank_mids/brownie_patch/call.cpython-39-darwin.so and b/dank_mids/brownie_patch/call.cpython-39-darwin.so differ diff --git a/dank_mids/brownie_patch/overloaded.cp310-win_amd64.pyd b/dank_mids/brownie_patch/overloaded.cp310-win_amd64.pyd index 047f141879..91519c5b44 100644 Binary files a/dank_mids/brownie_patch/overloaded.cp310-win_amd64.pyd and b/dank_mids/brownie_patch/overloaded.cp310-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/overloaded.cp311-win_amd64.pyd b/dank_mids/brownie_patch/overloaded.cp311-win_amd64.pyd index da495338fd..8be2f08170 100644 Binary files a/dank_mids/brownie_patch/overloaded.cp311-win_amd64.pyd and b/dank_mids/brownie_patch/overloaded.cp311-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/overloaded.cp312-win_amd64.pyd b/dank_mids/brownie_patch/overloaded.cp312-win_amd64.pyd index d80f331baf..3328399d8d 100644 Binary files a/dank_mids/brownie_patch/overloaded.cp312-win_amd64.pyd and b/dank_mids/brownie_patch/overloaded.cp312-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/overloaded.cp38-win_amd64.pyd b/dank_mids/brownie_patch/overloaded.cp38-win_amd64.pyd index 14654e3eec..b55ec67bdb 100644 Binary files a/dank_mids/brownie_patch/overloaded.cp38-win_amd64.pyd and b/dank_mids/brownie_patch/overloaded.cp38-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/overloaded.cp39-win_amd64.pyd b/dank_mids/brownie_patch/overloaded.cp39-win_amd64.pyd index 6b49b1ad2c..ece60c388a 100644 Binary files a/dank_mids/brownie_patch/overloaded.cp39-win_amd64.pyd and b/dank_mids/brownie_patch/overloaded.cp39-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/overloaded.cpython-310-darwin.so b/dank_mids/brownie_patch/overloaded.cpython-310-darwin.so index 40028ec577..672282b2cf 100755 Binary files a/dank_mids/brownie_patch/overloaded.cpython-310-darwin.so and b/dank_mids/brownie_patch/overloaded.cpython-310-darwin.so differ diff --git a/dank_mids/brownie_patch/overloaded.cpython-311-darwin.so b/dank_mids/brownie_patch/overloaded.cpython-311-darwin.so index 9aaa969af0..d72a715715 100755 Binary files a/dank_mids/brownie_patch/overloaded.cpython-311-darwin.so and b/dank_mids/brownie_patch/overloaded.cpython-311-darwin.so differ diff --git a/dank_mids/brownie_patch/overloaded.cpython-312-darwin.so b/dank_mids/brownie_patch/overloaded.cpython-312-darwin.so index 66c31cbf18..09c1e26385 100755 Binary files a/dank_mids/brownie_patch/overloaded.cpython-312-darwin.so and b/dank_mids/brownie_patch/overloaded.cpython-312-darwin.so differ diff --git a/dank_mids/brownie_patch/overloaded.cpython-38-darwin.so b/dank_mids/brownie_patch/overloaded.cpython-38-darwin.so index 184f1993be..e2d30a176a 100755 Binary files a/dank_mids/brownie_patch/overloaded.cpython-38-darwin.so and b/dank_mids/brownie_patch/overloaded.cpython-38-darwin.so differ diff --git a/dank_mids/brownie_patch/overloaded.cpython-39-darwin.so b/dank_mids/brownie_patch/overloaded.cpython-39-darwin.so index c5443c6af4..b917e7eaf0 100755 Binary files a/dank_mids/brownie_patch/overloaded.cpython-39-darwin.so and b/dank_mids/brownie_patch/overloaded.cpython-39-darwin.so differ diff --git a/dank_mids/brownie_patch/types.cp310-win_amd64.pyd b/dank_mids/brownie_patch/types.cp310-win_amd64.pyd index 7af7e021ea..f1b4e25f8b 100644 Binary files a/dank_mids/brownie_patch/types.cp310-win_amd64.pyd and b/dank_mids/brownie_patch/types.cp310-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/types.cp311-win_amd64.pyd b/dank_mids/brownie_patch/types.cp311-win_amd64.pyd index 9f085645f1..7b5a9cc08c 100644 Binary files a/dank_mids/brownie_patch/types.cp311-win_amd64.pyd and b/dank_mids/brownie_patch/types.cp311-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/types.cp312-win_amd64.pyd b/dank_mids/brownie_patch/types.cp312-win_amd64.pyd index 84c3b547b6..cd2236f592 100644 Binary files a/dank_mids/brownie_patch/types.cp312-win_amd64.pyd and b/dank_mids/brownie_patch/types.cp312-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/types.cp38-win_amd64.pyd b/dank_mids/brownie_patch/types.cp38-win_amd64.pyd index 1917503ba1..ca555e6a54 100644 Binary files a/dank_mids/brownie_patch/types.cp38-win_amd64.pyd and b/dank_mids/brownie_patch/types.cp38-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/types.cp39-win_amd64.pyd b/dank_mids/brownie_patch/types.cp39-win_amd64.pyd index f98b799054..ce58889439 100644 Binary files a/dank_mids/brownie_patch/types.cp39-win_amd64.pyd and b/dank_mids/brownie_patch/types.cp39-win_amd64.pyd differ diff --git a/dank_mids/brownie_patch/types.cpython-310-darwin.so b/dank_mids/brownie_patch/types.cpython-310-darwin.so index 9865676734..9086702806 100755 Binary files a/dank_mids/brownie_patch/types.cpython-310-darwin.so and b/dank_mids/brownie_patch/types.cpython-310-darwin.so differ diff --git a/dank_mids/brownie_patch/types.cpython-311-darwin.so b/dank_mids/brownie_patch/types.cpython-311-darwin.so index b53a6597f7..d52c00555d 100755 Binary files a/dank_mids/brownie_patch/types.cpython-311-darwin.so and b/dank_mids/brownie_patch/types.cpython-311-darwin.so differ diff --git a/dank_mids/brownie_patch/types.cpython-312-darwin.so b/dank_mids/brownie_patch/types.cpython-312-darwin.so index 32bc07bd5b..075f97281b 100755 Binary files a/dank_mids/brownie_patch/types.cpython-312-darwin.so and b/dank_mids/brownie_patch/types.cpython-312-darwin.so differ diff --git a/dank_mids/brownie_patch/types.cpython-38-darwin.so b/dank_mids/brownie_patch/types.cpython-38-darwin.so index fbfedef69a..545b8c6bb0 100755 Binary files a/dank_mids/brownie_patch/types.cpython-38-darwin.so and b/dank_mids/brownie_patch/types.cpython-38-darwin.so differ diff --git a/dank_mids/brownie_patch/types.cpython-39-darwin.so b/dank_mids/brownie_patch/types.cpython-39-darwin.so index f97e3c12a7..c5df59def0 100755 Binary files a/dank_mids/brownie_patch/types.cpython-39-darwin.so and b/dank_mids/brownie_patch/types.cpython-39-darwin.so differ diff --git a/dank_mids/constants.cp310-win_amd64.pyd b/dank_mids/constants.cp310-win_amd64.pyd index 9c089c7e21..f8e9dc659f 100644 Binary files a/dank_mids/constants.cp310-win_amd64.pyd and b/dank_mids/constants.cp310-win_amd64.pyd differ diff --git a/dank_mids/constants.cp311-win_amd64.pyd b/dank_mids/constants.cp311-win_amd64.pyd index 2ed32b0649..97d31af9da 100644 Binary files a/dank_mids/constants.cp311-win_amd64.pyd and b/dank_mids/constants.cp311-win_amd64.pyd differ diff --git a/dank_mids/constants.cp312-win_amd64.pyd b/dank_mids/constants.cp312-win_amd64.pyd index 8ae25d23c7..1eff71206b 100644 Binary files a/dank_mids/constants.cp312-win_amd64.pyd and b/dank_mids/constants.cp312-win_amd64.pyd differ diff --git a/dank_mids/constants.cp38-win_amd64.pyd b/dank_mids/constants.cp38-win_amd64.pyd index 69319724d4..e4ae62a2fa 100644 Binary files a/dank_mids/constants.cp38-win_amd64.pyd and b/dank_mids/constants.cp38-win_amd64.pyd differ diff --git a/dank_mids/constants.cp39-win_amd64.pyd b/dank_mids/constants.cp39-win_amd64.pyd index d8062fdbac..119b7768c2 100644 Binary files a/dank_mids/constants.cp39-win_amd64.pyd and b/dank_mids/constants.cp39-win_amd64.pyd differ diff --git a/dank_mids/constants.cpython-310-darwin.so b/dank_mids/constants.cpython-310-darwin.so index aa686be200..05bbc70e26 100755 Binary files a/dank_mids/constants.cpython-310-darwin.so and b/dank_mids/constants.cpython-310-darwin.so differ diff --git a/dank_mids/constants.cpython-311-darwin.so b/dank_mids/constants.cpython-311-darwin.so index e4341cd05e..a3e1e7d162 100755 Binary files a/dank_mids/constants.cpython-311-darwin.so and b/dank_mids/constants.cpython-311-darwin.so differ diff --git a/dank_mids/constants.cpython-312-darwin.so b/dank_mids/constants.cpython-312-darwin.so index 75044cca77..5b54d86f3a 100755 Binary files a/dank_mids/constants.cpython-312-darwin.so and b/dank_mids/constants.cpython-312-darwin.so differ diff --git a/dank_mids/constants.cpython-38-darwin.so b/dank_mids/constants.cpython-38-darwin.so index 56efc28bbe..851e1956fb 100755 Binary files a/dank_mids/constants.cpython-38-darwin.so and b/dank_mids/constants.cpython-38-darwin.so differ diff --git a/dank_mids/constants.cpython-39-darwin.so b/dank_mids/constants.cpython-39-darwin.so index 4b9c872ed6..dddbc8b92a 100755 Binary files a/dank_mids/constants.cpython-39-darwin.so and b/dank_mids/constants.cpython-39-darwin.so differ diff --git a/dank_mids/helpers/_codec.cp310-win_amd64.pyd b/dank_mids/helpers/_codec.cp310-win_amd64.pyd index 6f1e553f7d..c85889497b 100644 Binary files a/dank_mids/helpers/_codec.cp310-win_amd64.pyd and b/dank_mids/helpers/_codec.cp310-win_amd64.pyd differ diff --git a/dank_mids/helpers/_codec.cp311-win_amd64.pyd b/dank_mids/helpers/_codec.cp311-win_amd64.pyd index 852e27712d..2fa0008db1 100644 Binary files a/dank_mids/helpers/_codec.cp311-win_amd64.pyd and b/dank_mids/helpers/_codec.cp311-win_amd64.pyd differ diff --git a/dank_mids/helpers/_codec.cp312-win_amd64.pyd b/dank_mids/helpers/_codec.cp312-win_amd64.pyd index fa9f86fefd..98223286dd 100644 Binary files a/dank_mids/helpers/_codec.cp312-win_amd64.pyd and b/dank_mids/helpers/_codec.cp312-win_amd64.pyd differ diff --git a/dank_mids/helpers/_codec.cp38-win_amd64.pyd b/dank_mids/helpers/_codec.cp38-win_amd64.pyd index 0b28d91f28..2d994f7ed2 100644 Binary files a/dank_mids/helpers/_codec.cp38-win_amd64.pyd and b/dank_mids/helpers/_codec.cp38-win_amd64.pyd differ diff --git a/dank_mids/helpers/_codec.cp39-win_amd64.pyd b/dank_mids/helpers/_codec.cp39-win_amd64.pyd index 678890ea86..7bebcf9ce7 100644 Binary files a/dank_mids/helpers/_codec.cp39-win_amd64.pyd and b/dank_mids/helpers/_codec.cp39-win_amd64.pyd differ diff --git a/dank_mids/helpers/_codec.cpython-310-darwin.so b/dank_mids/helpers/_codec.cpython-310-darwin.so index b9ec9dd34a..2087c0f5ca 100755 Binary files a/dank_mids/helpers/_codec.cpython-310-darwin.so and b/dank_mids/helpers/_codec.cpython-310-darwin.so differ diff --git a/dank_mids/helpers/_codec.cpython-311-darwin.so b/dank_mids/helpers/_codec.cpython-311-darwin.so index 1ef9d47e22..b261855be3 100755 Binary files a/dank_mids/helpers/_codec.cpython-311-darwin.so and b/dank_mids/helpers/_codec.cpython-311-darwin.so differ diff --git a/dank_mids/helpers/_codec.cpython-312-darwin.so b/dank_mids/helpers/_codec.cpython-312-darwin.so index a5580b8354..c93d8901e8 100755 Binary files a/dank_mids/helpers/_codec.cpython-312-darwin.so and b/dank_mids/helpers/_codec.cpython-312-darwin.so differ diff --git a/dank_mids/helpers/_codec.cpython-38-darwin.so b/dank_mids/helpers/_codec.cpython-38-darwin.so index 1f3538e7ec..5569eadf42 100755 Binary files a/dank_mids/helpers/_codec.cpython-38-darwin.so and b/dank_mids/helpers/_codec.cpython-38-darwin.so differ diff --git a/dank_mids/helpers/_codec.cpython-39-darwin.so b/dank_mids/helpers/_codec.cpython-39-darwin.so index be64b20e07..c9c09b23a5 100755 Binary files a/dank_mids/helpers/_codec.cpython-39-darwin.so and b/dank_mids/helpers/_codec.cpython-39-darwin.so differ diff --git a/dank_mids/helpers/_errors.cp310-win_amd64.pyd b/dank_mids/helpers/_errors.cp310-win_amd64.pyd index 2515aacb99..6073f8341a 100644 Binary files a/dank_mids/helpers/_errors.cp310-win_amd64.pyd and b/dank_mids/helpers/_errors.cp310-win_amd64.pyd differ diff --git a/dank_mids/helpers/_errors.cp311-win_amd64.pyd b/dank_mids/helpers/_errors.cp311-win_amd64.pyd index e16f298667..4537fcc46e 100644 Binary files a/dank_mids/helpers/_errors.cp311-win_amd64.pyd and b/dank_mids/helpers/_errors.cp311-win_amd64.pyd differ diff --git a/dank_mids/helpers/_errors.cp312-win_amd64.pyd b/dank_mids/helpers/_errors.cp312-win_amd64.pyd index 7e4ed824d7..007831a26d 100644 Binary files a/dank_mids/helpers/_errors.cp312-win_amd64.pyd and b/dank_mids/helpers/_errors.cp312-win_amd64.pyd differ diff --git a/dank_mids/helpers/_errors.cp38-win_amd64.pyd b/dank_mids/helpers/_errors.cp38-win_amd64.pyd index 80d359585b..dc13c88387 100644 Binary files a/dank_mids/helpers/_errors.cp38-win_amd64.pyd and b/dank_mids/helpers/_errors.cp38-win_amd64.pyd differ diff --git a/dank_mids/helpers/_errors.cp39-win_amd64.pyd b/dank_mids/helpers/_errors.cp39-win_amd64.pyd index 7324c33c28..210838f9e9 100644 Binary files a/dank_mids/helpers/_errors.cp39-win_amd64.pyd and b/dank_mids/helpers/_errors.cp39-win_amd64.pyd differ diff --git a/dank_mids/helpers/_errors.cpython-310-darwin.so b/dank_mids/helpers/_errors.cpython-310-darwin.so index 258cab9017..e9a1c21092 100755 Binary files a/dank_mids/helpers/_errors.cpython-310-darwin.so and b/dank_mids/helpers/_errors.cpython-310-darwin.so differ diff --git a/dank_mids/helpers/_errors.cpython-311-darwin.so b/dank_mids/helpers/_errors.cpython-311-darwin.so index 604edfef53..a5451b6ffc 100755 Binary files a/dank_mids/helpers/_errors.cpython-311-darwin.so and b/dank_mids/helpers/_errors.cpython-311-darwin.so differ diff --git a/dank_mids/helpers/_errors.cpython-312-darwin.so b/dank_mids/helpers/_errors.cpython-312-darwin.so index 0dcfbf0aad..38ab362891 100755 Binary files a/dank_mids/helpers/_errors.cpython-312-darwin.so and b/dank_mids/helpers/_errors.cpython-312-darwin.so differ diff --git a/dank_mids/helpers/_errors.cpython-38-darwin.so b/dank_mids/helpers/_errors.cpython-38-darwin.so index de3a3db33e..5b91c33006 100755 Binary files a/dank_mids/helpers/_errors.cpython-38-darwin.so and b/dank_mids/helpers/_errors.cpython-38-darwin.so differ diff --git a/dank_mids/helpers/_errors.cpython-39-darwin.so b/dank_mids/helpers/_errors.cpython-39-darwin.so index ec8b472bee..be93bc5fe8 100755 Binary files a/dank_mids/helpers/_errors.cpython-39-darwin.so and b/dank_mids/helpers/_errors.cpython-39-darwin.so differ diff --git a/dank_mids/helpers/_gather.cp310-win_amd64.pyd b/dank_mids/helpers/_gather.cp310-win_amd64.pyd index ac894e3da0..0301906d11 100644 Binary files a/dank_mids/helpers/_gather.cp310-win_amd64.pyd and b/dank_mids/helpers/_gather.cp310-win_amd64.pyd differ diff --git a/dank_mids/helpers/_gather.cp311-win_amd64.pyd b/dank_mids/helpers/_gather.cp311-win_amd64.pyd index b88fedc4d9..216f6ec606 100644 Binary files a/dank_mids/helpers/_gather.cp311-win_amd64.pyd and b/dank_mids/helpers/_gather.cp311-win_amd64.pyd differ diff --git a/dank_mids/helpers/_gather.cp312-win_amd64.pyd b/dank_mids/helpers/_gather.cp312-win_amd64.pyd index cf6ca3cff5..ace94842dc 100644 Binary files a/dank_mids/helpers/_gather.cp312-win_amd64.pyd and b/dank_mids/helpers/_gather.cp312-win_amd64.pyd differ diff --git a/dank_mids/helpers/_gather.cp38-win_amd64.pyd b/dank_mids/helpers/_gather.cp38-win_amd64.pyd index 03cc7030c4..8bb022851c 100644 Binary files a/dank_mids/helpers/_gather.cp38-win_amd64.pyd and b/dank_mids/helpers/_gather.cp38-win_amd64.pyd differ diff --git a/dank_mids/helpers/_gather.cp39-win_amd64.pyd b/dank_mids/helpers/_gather.cp39-win_amd64.pyd index 75af1685d1..1b3fb8392c 100644 Binary files a/dank_mids/helpers/_gather.cp39-win_amd64.pyd and b/dank_mids/helpers/_gather.cp39-win_amd64.pyd differ diff --git a/dank_mids/helpers/_gather.cpython-310-darwin.so b/dank_mids/helpers/_gather.cpython-310-darwin.so index 5c4e99f982..d37f20fe4a 100755 Binary files a/dank_mids/helpers/_gather.cpython-310-darwin.so and b/dank_mids/helpers/_gather.cpython-310-darwin.so differ diff --git a/dank_mids/helpers/_gather.cpython-311-darwin.so b/dank_mids/helpers/_gather.cpython-311-darwin.so index 107095b571..df85523b9a 100755 Binary files a/dank_mids/helpers/_gather.cpython-311-darwin.so and b/dank_mids/helpers/_gather.cpython-311-darwin.so differ diff --git a/dank_mids/helpers/_gather.cpython-312-darwin.so b/dank_mids/helpers/_gather.cpython-312-darwin.so index fe26d47719..3dd9561d89 100755 Binary files a/dank_mids/helpers/_gather.cpython-312-darwin.so and b/dank_mids/helpers/_gather.cpython-312-darwin.so differ diff --git a/dank_mids/helpers/_gather.cpython-38-darwin.so b/dank_mids/helpers/_gather.cpython-38-darwin.so index eeb5bd216d..1b2b0f0c0f 100755 Binary files a/dank_mids/helpers/_gather.cpython-38-darwin.so and b/dank_mids/helpers/_gather.cpython-38-darwin.so differ diff --git a/dank_mids/helpers/_gather.cpython-39-darwin.so b/dank_mids/helpers/_gather.cpython-39-darwin.so index 71b1224460..0286601d99 100755 Binary files a/dank_mids/helpers/_gather.cpython-39-darwin.so and b/dank_mids/helpers/_gather.cpython-39-darwin.so differ diff --git a/dank_mids/helpers/_gather.py b/dank_mids/helpers/_gather.py index 58d07d0eb7..741f792c6d 100644 --- a/dank_mids/helpers/_gather.py +++ b/dank_mids/helpers/_gather.py @@ -22,6 +22,7 @@ # These compile to C constants +CancelledError: Final = asyncio.CancelledError Task: Final = asyncio.Task get_running_loop: Final = asyncio.get_running_loop wait: Final = asyncio.wait @@ -76,7 +77,12 @@ async def first_completed( ) -> Union[FinishedTasks[__T], Tuple[FinishedTasks[__T], PendingTasks[__T]]]: if not cancel: return await wait(fs, return_when="FIRST_COMPLETED") - done, pending = await wait(fs, return_when="FIRST_COMPLETED") + try: + done, pending = await wait(fs, return_when="FIRST_COMPLETED") + except CancelledError: + for f in fs: + f.cancel() + raise for p in pending: p.cancel() return done diff --git a/dank_mids/helpers/_weaklist.cp310-win_amd64.pyd b/dank_mids/helpers/_weaklist.cp310-win_amd64.pyd index 662d288988..523b8a98d7 100644 Binary files a/dank_mids/helpers/_weaklist.cp310-win_amd64.pyd and b/dank_mids/helpers/_weaklist.cp310-win_amd64.pyd differ diff --git a/dank_mids/helpers/_weaklist.cp311-win_amd64.pyd b/dank_mids/helpers/_weaklist.cp311-win_amd64.pyd index 6966deb83e..01a8a86d69 100644 Binary files a/dank_mids/helpers/_weaklist.cp311-win_amd64.pyd and b/dank_mids/helpers/_weaklist.cp311-win_amd64.pyd differ diff --git a/dank_mids/helpers/_weaklist.cp312-win_amd64.pyd b/dank_mids/helpers/_weaklist.cp312-win_amd64.pyd index d16fc45a3f..5679f19c50 100644 Binary files a/dank_mids/helpers/_weaklist.cp312-win_amd64.pyd and b/dank_mids/helpers/_weaklist.cp312-win_amd64.pyd differ diff --git a/dank_mids/helpers/_weaklist.cp38-win_amd64.pyd b/dank_mids/helpers/_weaklist.cp38-win_amd64.pyd index 57aa612e33..75a2295393 100644 Binary files a/dank_mids/helpers/_weaklist.cp38-win_amd64.pyd and b/dank_mids/helpers/_weaklist.cp38-win_amd64.pyd differ diff --git a/dank_mids/helpers/_weaklist.cp39-win_amd64.pyd b/dank_mids/helpers/_weaklist.cp39-win_amd64.pyd index 67378596b4..685873c0b1 100644 Binary files a/dank_mids/helpers/_weaklist.cp39-win_amd64.pyd and b/dank_mids/helpers/_weaklist.cp39-win_amd64.pyd differ diff --git a/dank_mids/helpers/_weaklist.cpython-310-darwin.so b/dank_mids/helpers/_weaklist.cpython-310-darwin.so index 6e6c6fd97a..6524c5db89 100755 Binary files a/dank_mids/helpers/_weaklist.cpython-310-darwin.so and b/dank_mids/helpers/_weaklist.cpython-310-darwin.so differ diff --git a/dank_mids/helpers/_weaklist.cpython-311-darwin.so b/dank_mids/helpers/_weaklist.cpython-311-darwin.so index ab7f7037bc..ce61183055 100755 Binary files a/dank_mids/helpers/_weaklist.cpython-311-darwin.so and b/dank_mids/helpers/_weaklist.cpython-311-darwin.so differ diff --git a/dank_mids/helpers/_weaklist.cpython-312-darwin.so b/dank_mids/helpers/_weaklist.cpython-312-darwin.so index 0ad0bd73dc..1e032d5b4c 100755 Binary files a/dank_mids/helpers/_weaklist.cpython-312-darwin.so and b/dank_mids/helpers/_weaklist.cpython-312-darwin.so differ diff --git a/dank_mids/helpers/_weaklist.cpython-38-darwin.so b/dank_mids/helpers/_weaklist.cpython-38-darwin.so index 7e62147469..a3606d26d1 100755 Binary files a/dank_mids/helpers/_weaklist.cpython-38-darwin.so and b/dank_mids/helpers/_weaklist.cpython-38-darwin.so differ diff --git a/dank_mids/helpers/_weaklist.cpython-39-darwin.so b/dank_mids/helpers/_weaklist.cpython-39-darwin.so index c86c54a1df..fab05ac037 100755 Binary files a/dank_mids/helpers/_weaklist.cpython-39-darwin.so and b/dank_mids/helpers/_weaklist.cpython-39-darwin.so differ diff --git a/dank_mids/helpers/lru_cache.cp310-win_amd64.pyd b/dank_mids/helpers/lru_cache.cp310-win_amd64.pyd index f190bc63ae..0f1d688955 100644 Binary files a/dank_mids/helpers/lru_cache.cp310-win_amd64.pyd and b/dank_mids/helpers/lru_cache.cp310-win_amd64.pyd differ diff --git a/dank_mids/helpers/lru_cache.cp311-win_amd64.pyd b/dank_mids/helpers/lru_cache.cp311-win_amd64.pyd index 471cb09edc..e0e7e4a7b2 100644 Binary files a/dank_mids/helpers/lru_cache.cp311-win_amd64.pyd and b/dank_mids/helpers/lru_cache.cp311-win_amd64.pyd differ diff --git a/dank_mids/helpers/lru_cache.cp312-win_amd64.pyd b/dank_mids/helpers/lru_cache.cp312-win_amd64.pyd index 94e04a2d7b..d2d7aad0c7 100644 Binary files a/dank_mids/helpers/lru_cache.cp312-win_amd64.pyd and b/dank_mids/helpers/lru_cache.cp312-win_amd64.pyd differ diff --git a/dank_mids/helpers/lru_cache.cp39-win_amd64.pyd b/dank_mids/helpers/lru_cache.cp39-win_amd64.pyd index fa7ce49b58..88709eb904 100644 Binary files a/dank_mids/helpers/lru_cache.cp39-win_amd64.pyd and b/dank_mids/helpers/lru_cache.cp39-win_amd64.pyd differ diff --git a/dank_mids/helpers/lru_cache.cpython-310-darwin.so b/dank_mids/helpers/lru_cache.cpython-310-darwin.so index 36efd3097c..e8b5ae4a16 100755 Binary files a/dank_mids/helpers/lru_cache.cpython-310-darwin.so and b/dank_mids/helpers/lru_cache.cpython-310-darwin.so differ diff --git a/dank_mids/helpers/lru_cache.cpython-311-darwin.so b/dank_mids/helpers/lru_cache.cpython-311-darwin.so index b6f2cc76ec..1cf99bf757 100755 Binary files a/dank_mids/helpers/lru_cache.cpython-311-darwin.so and b/dank_mids/helpers/lru_cache.cpython-311-darwin.so differ diff --git a/dank_mids/helpers/lru_cache.cpython-312-darwin.so b/dank_mids/helpers/lru_cache.cpython-312-darwin.so index b45511d0cb..bdf8172cd1 100755 Binary files a/dank_mids/helpers/lru_cache.cpython-312-darwin.so and b/dank_mids/helpers/lru_cache.cpython-312-darwin.so differ diff --git a/dank_mids/helpers/lru_cache.cpython-39-darwin.so b/dank_mids/helpers/lru_cache.cpython-39-darwin.so index 60353a8e5f..12a002ecb6 100755 Binary files a/dank_mids/helpers/lru_cache.cpython-39-darwin.so and b/dank_mids/helpers/lru_cache.cpython-39-darwin.so differ